1 2015-03-22 Martin Rudalics <rudalics@gmx.at>
3 * emacs-lisp/debug.el (debug): Don't try using "previous" window
4 when its not live or on an invisible frame (Bug#17170).
6 2015-03-21 Mario Lang <mlang@delysid.org>
8 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9 `recenter' if `current-buffer' is equal to `window-buffer'.
11 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
13 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect
14 regexps after `!'. (Bug#19285)
16 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
18 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use
19 `font-lock-constant-face' for nil, true and false. Highlight
20 `self' as a keyword. (Bug#17733)
22 2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
24 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect
25 beginning of regexp also after open brace or vertical bar.
28 2015-03-07 Michael Albinus <michael.albinus@gmx.de>
30 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
31 defcustom. (Bug#20015)
33 2015-03-07 Eli Zaretskii <eliz@gnu.org>
35 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
37 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
39 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
40 .dat files for aspell dicts are also searched for in location
41 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
44 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
46 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
47 (ispell-hunspell-fill-dictionary-entry)
48 (ispell-find-hunspell-dictionaries)
49 (ispell-set-spellchecker-params): New generic name for
50 `ispell-hunspell-dictionary-equivs-alist'.
51 (ispell-aspell-add-aliases): Also use
52 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
55 2015-02-24 Glenn Morris <rgm@gnu.org>
57 * net/browse-url.el (browse-url-firefox-startup-arguments):
59 (browse-url-firefox): Doc fix. Remove -remote, which no longer
60 exists in Firefox 36. (Bug#19921)
61 (browse-url-firefox-sentinel): Remove function.
63 2015-02-23 Eli Zaretskii <eliz@gnu.org>
65 * frame.el (blink-cursor-timer-function): Don't increment
66 blink-cursor-blinks-done counter when a menu is active on a w32
69 2015-02-19 Juri Linkov <juri@linkov.net>
71 * comint.el (comint-line-beginning-position): Revert searching for
72 the prompt when comint-use-prompt-regexp is non-nil because it
73 doesn't distinguish input from output. Check the field property
74 `output' for the case when comint-use-prompt-regexp is nil.
77 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
79 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
80 with PAGER=cat. (Bug#19870)
82 2015-02-13 Glenn Morris <rgm@gnu.org>
84 * textmodes/flyspell.el (flyspell-duplicate-distance):
87 2015-02-13 Eli Zaretskii <eliz@gnu.org>
89 * textmodes/text-mode.el (text-mode-syntax-table): Make some
90 punctuation character behave as word-constituent, for more
91 compatibility with Unicode.
93 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
95 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
97 Improve string search in `flyspell-word-search-*`. (Bug#16800)
98 * textmodes/flyspell.el (flyspell-duplicate-distance): Limit
99 default search distance for duplicated words to 40000.
100 (flyspell-word-search-backward, flyspell-word-search-forward):
101 Search as full word with defined casechars, not as substring.
103 2015-02-10 Juri Linkov <juri@linkov.net>
105 Better support for the case of typing RET on the prompt in comint.
106 * comint.el (comint-get-old-input-default): Go to the field end
107 when comint-use-prompt-regexp is nil.
108 (comint-line-beginning-position): Check if point is already
109 on the prompt before searching for the prompt when
110 comint-use-prompt-regexp is non-nil. (Bug#19710)
112 2015-02-08 Eli Zaretskii <eliz@gnu.org>
114 * frame.el (frame-notice-user-settings): Refresh the value of
115 frame parameters after calling tty-handle-reverse-video. Call
116 face-set-after-frame-default with the actual parameters, to avoid
117 resetting colors back to unspecified.
118 (set-background-color, set-foreground-color): Pass the foreground
119 and background colors to face-set-after-frame-default. (Bug#19802)
121 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
123 * net/network-stream.el (network-stream-open-tls): Respect the
124 :end-of-capability setting.
126 2015-02-05 Juri Linkov <juri@linkov.net>
128 Revert the previous change of comint-line-beginning-position callers,
129 and modify comint-line-beginning-position instead.
131 * comint.el (comint-history-isearch-search)
132 (comint-history-isearch-message, comint-history-isearch-wrap):
133 Use comint-line-beginning-position instead of field-beginning.
134 (comint-send-input): Use either end-of-line or field-end
135 depending on comint-use-prompt-regexp.
136 (comint-line-beginning-position): Search backward
137 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
138 Use field-beginning instead of line-beginning-position
139 if comint-use-prompt-regexp is nil. (Bug#19710)
141 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
143 * calendar/todo-mode.el (todo-item-done): When done items are
144 hidden, restore point to its location prior to invoking this
147 2015-02-04 Eli Zaretskii <eliz@gnu.org>
149 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
150 mapcar, not mapc, to create the other half of fill-info.
153 2015-02-04 Nicolas Petton <nicolas@petton.fr>
155 * emacs-lisp/authors.el (authors-ignored-files)
156 (authors-renamed-files-alist): Additions.
158 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
160 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
161 tempfile for ControlPath. (Bug#19702)
163 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
165 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
166 ControlPath if possible. (Bug#19702)
168 2015-02-02 Glenn Morris <rgm@gnu.org>
170 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
171 (authors-valid-file-names, authors-renamed-files-alist): Additions.
173 2015-02-01 Alan Mackenzie <acm@muc.de>
175 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
178 * progmodes/cc-mode.el (c-font-lock-init): Setq
179 font-lock-extend-region-functions to nil.
181 2015-01-31 Alan Mackenzie <acm@muc.de>
183 Handle "#" operator properly inside macro. Fix coding bug.
185 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
186 finding a "#" which looks like the start of a macro, check it
187 isn't already inside a macro.
189 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
190 "safe" position into the list of them when this is beyond our
193 2015-01-31 Martin Rudalics <rudalics@gmx.at>
195 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
196 the menu frame is dead. (Bug#19728)
198 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
200 python.el: Handle tabs in python-indent-dedent-line.
202 * progmodes/python.el (python-indent-dedent-line): Fixes for
203 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
205 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
207 * progmodes/python.el (python-indent-context): Respect user
208 indentation after comment.
210 2015-01-29 Tassilo Horn <tsdh@gnu.org>
212 * textmodes/reftex-vars.el (featurep): Conditionalize value of
213 reftex-label-regexps in order to stay compatible with XEmacs 21.5
214 which has no explicitly numbered groups in regexps (bug#19714).
216 2015-01-28 Tassilo Horn <tsdh@gnu.org>
218 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
219 punctuation syntax since to allow bibtex fields with values such
220 as {Test 1) and 2)} (bug#19205, bug#19707).
221 (reftex--prepare-syntax-tables): New function.
222 (reftex-mode): Use it.
224 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
226 python.el: New non-global state dependent indentation engine.
227 (Bug#18319, Bug#19595)
229 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
231 (python-syntax-closing-paren-p): New function.
232 (python-indent-current-level)
233 (python-indent-levels): Mark obsolete.
234 (python-indent-context): Return more context cases.
235 (python-indent--calculate-indentation)
236 (python-indent--calculate-levels): New functions.
237 (python-indent-calculate-levels): Use them.
238 (python-indent-calculate-indentation, python-indent-line):
239 (python-indent-line-function): Rewritten to use new API.
240 (python-indent-dedent-line): Simplify logic.
241 (python-indent-dedent-line-backspace): Use `unless`.
242 (python-indent-toggle-levels): Delete function.
244 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
246 * calc/calc-units.el (math-units-in-expr-p)
247 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
248 (math-extract-units): Handle the `neg' operator. (Bug#19582)
251 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
253 * subr.el (posnp): Correct docstring of `posnp'.
254 (posn-col-row): Make it work with all mouse position objects.
255 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
256 timers if an error occurs during continuous drawing. (Bug#6130)
258 2015-01-20 Eli Zaretskii <eliz@gnu.org>
260 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
262 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
264 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
265 regardless of pcomplete-cycle-completions's value. (Bug#18950)
267 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
269 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
271 (file-notify--descriptor): New defun.
272 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
273 Adapt docstring. Handle multiple values for
274 `file-notify-descriptors' entries. (Bug#18880)
276 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
277 `file-notify-descriptors', the implementation has been changed.
279 2015-01-13 Juri Linkov <juri@linkov.net>
281 * comint.el (comint-history-isearch-search)
282 (comint-history-isearch-wrap): Use field-beginning instead of
283 comint-line-beginning-position.
284 (comint-send-input): Go to the end of the field instead of the end
285 of the line to accept whole multi-line input.
286 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
287 (comint-history-isearch-message): Use field-beginning
288 instead of comint-line-beginning-position - that's more fixes for
289 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
290 (comint-history-isearch-message): Fix args of isearch-message-prefix.
294 2015-01-09 Eli Zaretskii <eliz@gnu.org>
296 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
297 On MS-Windows, bind coding-system-for-read to the console output
298 codepage. (Bug#19458)
300 2015-01-08 Eli Zaretskii <eliz@gnu.org>
302 * simple.el (line-move-visual): When converting X pixel coordinate
303 to temporary-goal-column, adjust the value for right-to-left
304 screen lines. This fixes vertical-motion, next/prev-line, etc.
306 2015-01-06 Glenn Morris <rgm@gnu.org>
308 * progmodes/sh-script.el (sh-mode): Doc fix.
309 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
311 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
313 * emacs-lisp/package.el (package-menu-mode): Use an extra column
314 for the "Version" column, to accomodate date-and-time-based versions.
316 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
318 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
319 * files.el (shell-quote-wildcard-pattern): Also quote "`".
321 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
323 Unbreak `mouse-action' property in text buttons.
324 * button.el (push-button): Fix regression from 2012-12-06.
326 2015-01-01 Eli Zaretskii <eliz@gnu.org>
328 * tool-bar.el (tool-bar-local-item)
329 (tool-bar-local-item-from-menu): Call force-mode-line-update to
330 make sure the tool-bar changes show on display.
332 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
334 Sync with Tramp 2.2.11.
336 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
337 Make an alias for `default-toplevel-value' if it doesn't exist.
339 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
340 Use `tramp-compat-delete-directory'.
342 * net/trampver.el: Update release number.
344 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
346 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
347 for remote files. (Bug#19449)
349 2014-12-28 Eli Zaretskii <eliz@gnu.org>
351 * international/mule.el (define-coding-system): Fix typos in the
354 2014-12-28 Kenichi Handa <handa@gnu.org>
356 * international/mule.el (define-coding-system): Improve the doc
359 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
361 * progmodes/python.el (python-shell-buffer-substring): Handle
362 cornercase when region sent starts at point-min.
364 2014-12-27 Eli Zaretskii <eliz@gnu.org>
366 * language/misc-lang.el (composition-function-table): Add Syriac
367 characters and also ZWJ/ZWNJ. See
368 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
371 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
373 python.el: Fix message when sending region.
375 * progmodes/python.el (python-shell-send-region): Rename argument
376 send-main from nomain. Fix message.
377 (python-shell-send-buffer): Rename argument send-main from arg.
379 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
381 python.el: Cleanup temp files even with eval errors.
383 * progmodes/python.el (python-shell-send-file): Make file-name
384 mandatory. Fix temp file removal in the majority of cases.
386 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
388 python.el: Handle file encoding for shell.
390 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
391 (python-shell--save-temp-file): Write file with proper encoding.
392 (python-shell-buffer-substring): Add coding cookie for detected
393 encoding to generated content. Fix blank lines when removing
395 (python-shell-send-file): Handle file encoding.
396 (python-info-encoding-from-cookie)
397 (python-info-encoding): New functions.
399 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
401 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
402 Use `tramp-rsh-end-of-line', it ought to be more robust.
404 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
406 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
409 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
411 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
414 as end-of-line delimeter for passwords, when running on MS Windows.
416 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
418 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
419 of indent-line-function (bug#19433).
421 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
423 Fix line numbers on Python shell.
424 * progmodes/python.el (python-shell--save-temp-file): Do not
425 append coding cookie.
426 (python-shell-send-string): Generalize for
427 python-shell-send-region.
428 (python--use-fake-loc): Delete var.
429 (python-shell-buffer-substring): Cleanup fake-loc logic.
430 (python-shell-send-region): Remove fake-loc logic, simplify.
432 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
434 * progmodes/python.el (python-indent-post-self-insert-function):
435 Make colon to re-indent only for dedenters, handling
436 multiline-statements gracefully.
438 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
440 * net/tramp.el (tramp-handle-insert-file-contents):
441 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
443 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
445 * net/tramp-sh.el (tramp-send-command-and-read): New optional
447 (tramp-get-remote-path): Use it.
449 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
451 * subr.el (redisplay-dont-pause): Mark as obsolete.
453 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
455 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
456 (tramp-accept-process-output): Use nil as argument for
457 `accept-process-output', when there is a gateway prepended.
459 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
461 (tramp-gw-open-connection): Set process coding system 'binary.
462 (tramp-gw-open-network-stream): Handle HTTP error 403.
464 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
466 (tramp-maybe-open-connection): Set connection property "gateway".
468 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
470 * subr.el (sit-for): Tweak docstring (bug#19381).
472 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
474 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
475 stage to after `diff-index' (bug#19386).
477 2014-12-14 João Távora <joaotavora@gmail.com>
479 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
480 `electric-pair-mode' (bug#19356).
482 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
484 * simple.el (password-word-equivalents): Add "passcode", used for
485 numeric secrets like PINs or RSA tokens.
487 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
489 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
490 order to determine `tramp-own-remote-path'.
492 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
494 * progmodes/python.el (python-shell-parse-command):
495 Quote `python-shell-interpreter`. (Bug#19289)
497 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
499 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
500 of the whole pipe when indenting an opening keyword after a |.
501 Generalize this treatment to opening keywords like "while" (bug#18031).
503 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
505 * simple.el (newline): Place the hook buffer-locally,
506 to make sure it's first.
508 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
509 Fix handling of symbols with different syntax at beginning/end or with
510 symbol rather than word syntax.
512 2014-11-30 Eli Zaretskii <eliz@gnu.org>
514 * simple.el (line-move): If noninteractive, call line-move-1, not
515 forward-line, since the former is compatible with line-move-visual
516 both in terms of the column to which it moves and the return
519 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
520 Stefan Monnier <monnier@iro.umontreal.ca>
522 * outline.el (outline-move-subtree-down): Make sure we can move
523 forward to find the end of the subtree and the insertion point
526 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
528 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
529 for comment lines non-greedy and stopping at newlines to fix stack
530 overflows with large files. [Backport]
532 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
534 * progmodes/python.el (python-shell-completion-setup-code):
535 Use __builtin__ module (or builtins in Python 3) and catch all errors
536 when importing readline and rlcompleter.
538 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
540 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
541 (todo-revert-buffer): New function.
542 (todo-modes-set-1): Use it as the buffer-local value of
543 revert-buffer-function.
545 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
547 * calendar/todo-mode.el (todo-mode): If called interactively, just
548 display a message saying to call todo-show to enter Todo mode
551 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
553 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
556 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
559 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
561 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
562 remote `buffer-file-name'.
564 2014-11-23 Leo Liu <sdl.web@gmail.com>
566 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
568 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
570 Set PYTHONUNBUFFERED on shell startup.
572 * progmodes/python.el (python-shell-unbuffered): New var.
573 (python-shell-calculate-process-environment): Use it.
575 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
577 * net/tramp.el (tramp-action-password): Clean password on subsequent
578 attempts even if there was no wrong password indication. (Bug#19047)
580 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
582 (tramp-open-connection-setup-interactive-shell): No need to check
583 for nil as `tramp-get-remote-locale' return value.
585 2014-11-21 Eli Zaretskii <eliz@gnu.org>
587 * vc/vc-git.el (vc-git-command, vc-git--call):
588 Bind coding-system-for-read and coding-system-for-write to
589 vc-git-commits-coding-system.
590 (vc-git-previous-revision): Use "~1" instead of "^", since the
591 latter is a special character for MS-Windows system shells.
593 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
595 Improve XEmacs compatibility.
597 * net/tramp.el (tramp-autoload-file-name-handler):
598 Wrap `temporary-file-directory' by `symbol-value', it doesn't
600 (tramp-read-passwd): Don't use `with-timeout-suspend' and
601 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
602 (tramp-time-less-p, tramp-time-subtract): Remove functions.
603 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
604 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
605 * net/tramp-cache.el (tramp-get-file-property):
606 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
607 Use `time-less-p' and `time-subtract, respectively.
609 * net/tramp-adb.el (top): Do not require time-date.el.
611 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
613 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
614 Check, whether `utf-8' is a valid coding system.
616 2014-11-19 Eli Zaretskii <eliz@gnu.org>
618 * vc/vc.el (vc-retrieve-tag): Doc fix.
620 2014-11-17 Eli Zaretskii <eliz@gnu.org>
622 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
623 Don't assume --long is the default for "bzr log", always specify
624 it explicitly, in case the user defined an alias for 'log' that
625 uses some other format.
627 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
629 * progmodes/python.el (python-eldoc--get-doc-at-point):
630 Strip shell output before returning. (bug#18794)
632 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
634 Fix indentation before `!=' and after `+='. Originally reported
635 in https://github.com/mooz/js2-mode/issues/174.
636 * progmodes/js.el (js--indent-operator-re): Make assignments and
637 (in)equality operator a separate case.
638 (js--continued-expression-p): Escape the second `+' in the regexp.
640 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
642 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
644 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
646 * version.el (emacs-repository-get-version): Use git rev-parse
649 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
651 * progmodes/python.el (python-indent-calculate-levels):
652 Fix indentation behavior multiline dedenter statement. (Bug#18432)
654 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
656 * progmodes/python.el (python-indent-region):
657 Use python-indent-line and skip special cases. (Bug#18843)
659 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
661 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
663 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
665 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
666 envelope-from when reporting through sendmail (bug#19054).
668 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
670 * progmodes/python.el (python-ffap-module-path):
671 Use `derived-mode-p' instead of equality test on `major-mode'.
673 2014-11-13 Ulrich Müller <ulm@gentoo.org>
675 * version.el (emacs-repository-get-version): Call `git log'
676 command with proper format argument (bug#19049).
678 2014-11-10 Glenn Morris <rgm@gnu.org>
680 * startup.el (command-line): Handle nil elements in load-path.
682 2014-11-08 Glenn Morris <rgm@gnu.org>
684 * emacs-lisp/bytecomp.el (byte-compile-report-error):
685 Allow the argument to be a string. Due to the vague doc,
686 it was already being used this way.
688 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
690 * net/tramp.el (tramp-check-cached-permissions): Include hop in
691 the constructed Tramp file name. (Bug#18943)
693 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
695 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
697 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
698 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
700 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
702 * files.el (file-name-non-special): Wrap the call of
703 `insert-file-contents' by `unwind-protect', in order to set the
704 buffer's file name anyway. (Bug#18891)
706 2014-11-07 Daiki Ueno <ueno@gnu.org>
708 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
709 (bug#18979). Reported by Hideki Saito.
711 2014-10-18 Alan Mackenzie <acm@muc.de>
713 Check that a "macro" found near point-min isn't a ## operator.
714 Fixes bug #18749. Backported from trunk, 2014-11-05.
715 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
716 (c-beginning-of-macro): Use the above new function.
718 2014-11-05 Alan Mackenzie <acm@muc.de>
720 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
721 * progmodes/cc-fonts.el (c-font-lock-declarations):
722 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
723 the buffer is sometimes narrowed to less than "limit" (e.g., in
724 the presence of macros).
726 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
728 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
729 only when message appeared in minibuffer. (Bug#18891)
731 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
732 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
733 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
736 2014-11-04 Eli Zaretskii <eliz@gnu.org>
738 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
739 returned by load-average.
741 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
743 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
744 a local copy; setting `inhibit-file-name-handlers' proper might be
745 more performant. (Bug#18751)
747 2014-11-04 Glenn Morris <rgm@gnu.org>
749 * mail/emacsbug.el (report-emacs-bug): No longer include
750 recent-keys in the report. (Bug#18900)
752 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
754 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
755 local copy of FILENAME, when it is remote. (Bug#18751)
757 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
759 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
760 an error when the command fails; the return code must indicate.
761 (tramp-adb-send-command-and-check): Fix docstring.
763 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
765 * net/tramp-cache.el (tramp-get-file-property)
766 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
767 and `tramp-cache-set-count-*' are bound. Otherwise, there might
768 be compiler warnings.
770 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
771 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
773 2014-11-01 Eli Zaretskii <eliz@gnu.org>
775 * progmodes/compile.el (compilation-mode): Turn off deferred
776 fontifications locally. (Bug#18856)
778 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
780 * net/tramp-sh.el (tramp-send-command): Fix the case where the
781 remote-echo connection property is non-nil (bug#18858).
783 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
785 Backport Tramp changes from trunk.
787 * net/tramp.el (tramp-methods): Tweak docstring.
788 (tramp-file-name-handler): Apply `cons' where appropriate.
789 (tramp-handle-file-accessible-directory-p): Check for
790 `file-readable-p' instead of `file-executable-p'.
791 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
792 (tramp-handle-unhandled-file-name-directory): Return "/".
793 (tramp-check-cached-permissions):
794 Use `tramp-compat-file-attributes'.
795 (tramp-call-process): Add new argument VEC. Adapt callees in all
798 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
799 (tramp-adb-handle-write-region): Improve messages.
800 (tramp-adb-maybe-open-connection): Don't set
801 `tramp-current-*' variables.
803 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
804 Suppress debug messages.
806 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
807 (tramp-ftp-file-name-handler):
809 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
810 (tramp-gvfs-methods-mounttracker)
811 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
812 during initialization. (Bug#18774)
813 (tramp-gvfs-handle-delete-file): Flush file properties, not
814 directory properties.
815 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
816 reading "unix::mode".
817 (tramp-gvfs-handle-file-name-all-completions):
818 Use "-h" option for "gvfs-ls".
819 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
820 `user' and `localname' could be nil.
821 (tramp-gvfs-send-command): Simplify traces.
823 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
824 (vc-git-program, vc-hg-program): Declare.
825 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
826 (tramp-methods) <nc>: Add new method.
827 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
828 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
830 (tramp-default-user-alist): Add "nc".
831 (top): Remove completion function for "sftp". Add completion
832 functions for "nc" and "psftp".
833 (tramp-sh-handle-set-visited-file-modtime):
834 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
835 (tramp-do-copy-or-rename-file-out-of-band):
836 Use cached "remote-copy-args" value, if available. (Bug#18199)
837 Tweak docstring. Implement support for "nc" method.
838 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
839 (tramp-remote-coding-commands, tramp-call-local-coding-command):
841 (tramp-sh-handle-start-file-process): Expand `default-directory'.
842 (tramp-sh-handle-write-region): Tweak error message.
843 (tramp-sh-handle-vc-registered): Remove backends when the remote
844 binary does not exist.
845 (tramp-open-connection-setup-interactive-shell):
846 Prefer utf-8 coding. (Bug#17859)
847 (tramp-find-inline-encoding): Do not raise an error.
848 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
849 the "nc" case. Quote result also locally.
850 (tramp-get-remote-id): Check also for "gid".
851 (tramp-get-remote-python):
853 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
854 (tramp-smb-handle-set-file-acl): Use `start-process'.
855 (tramp-smb-handle-insert-directory): Use progress reporter.
856 (tramp-smb-handle-rename-file): Flush also file properties of
859 * net/trampver.el: Update release number.
861 2014-11-01 Reuben Thomas <rrt@sc3d.org>
863 * net/tramp.el (tramp-handle-file-symlink-p):
864 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
865 about VMS, which we no longer support.
867 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
869 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
870 the global vc-handled-backends (bug#18535).
872 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
873 Michael Albinus <michael.albinus@gmx.de>
875 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
876 Reduce the amount of set environment variable commands.
878 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
880 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
883 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
885 * net/tramp-sh.el (tramp-get-remote-python): Also search for
886 executables named "python2" or "python3".
887 (tramp-get-remote-uid-with-python): Use parentheses around
888 arguments to `print' to make it compatible with Python 3.
889 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
891 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
893 * simple.el (newline): Add assertions to try and help catch bug#18913.
895 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
897 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
899 2014-10-31 Eli Zaretskii <eliz@gnu.org>
901 * Makefile.in (repo-update): Fix a typo and slightly reword
904 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
906 * Makefile.in: Change some production names so they're neutral
907 about the repository type.
909 2014-10-30 Kim F. Storm <storm@cua.dk>
911 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
912 * delsel.el (delete-selection-save-to-register)
913 (delsel--replace-text-or-position): New vars.
914 (delete-active-region): Use them.
915 (delete-selection-repeat-replace-region): New command, moved from
917 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
918 (cua-repeat-replace-region): Move command to delsel.el.
919 (cua--init-keymaps): Update binding accordingly.
920 (cua-mode): Set delete-selection-save-to-register.
922 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
924 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
926 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
928 2014-10-29 Eli Zaretskii <eliz@gnu.org>
930 * progmodes/compile.el (compilation-start):
931 If compilation-scroll-output is non-nil, don't force window-start of
932 the compilation buffer to be at beginning of buffer. (Bug#18874)
934 2014-10-23 Tassilo Horn <tsdh@gnu.org>
936 * doc-view.el (doc-view-open-text): View the document's plain text
937 in the current buffer instead of a new one.
938 (doc-view-toggle-display): Handle the case where the current
939 buffer contains the plain text contents of the document.
940 (doc-view-initiate-display): Don't switch to fallback mode if the
941 user wants to view the doc's plain text. [Backport]
943 2014-10-23 Eli Zaretskii <eliz@gnu.org>
945 * startup.el (fancy-about-text): Read the entire tutorial, not
946 just its first 256 bytes. (Bug#18760)
948 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
950 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
951 * emacs-lisp/cl-extra.el: Add missing provide.
953 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
955 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
956 all args are copyable (bug#18767).
957 (=, <, >, <=, >=): Re-enable the optimization.
959 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
961 * vc/vc-hg.el (vc-hg-log-graph): New var.
962 (vc-hg-print-log): Use it.
963 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
964 graph output (bug#17515).
966 2014-10-20 Juri Linkov <juri@jurta.org>
968 * vc/diff-mode.el (diff-refine-changed): Rename from
969 `diff-refine-change' for consistency with `diff-changed'.
970 (diff-refine-change): Add obsolete face alias. (Bug#10181)
972 * vc/smerge-mode.el (smerge-refined-changed): Rename from
973 `smerge-refined-change'.
974 (smerge-refined-change): Add obsolete face alias.
976 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
978 * subr.el (call-process-shell-command, process-file-shell-command):
979 Make the `args' obsolete (bug#18409).
980 (start-process-shell-command, start-file-process-shell-command):
983 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
985 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
987 2014-10-20 Glenn Morris <rgm@gnu.org>
989 * dired.el (dired-read-regexp): Make obsolete.
990 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
991 (dired-flag-files-regexp):
992 * dired-aux.el (dired-mark-read-regexp):
993 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
995 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
997 * progmodes/python.el (inferior-python-mode): Use add-hook.
999 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
1001 2014-10-20 Glenn Morris <rgm@gnu.org>
1003 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1004 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1005 * emulation/ws-mode.el: Move to obsolete/. [Backport]
1007 2014-10-20 Glenn Morris <rgm@gnu.org>
1009 * cus-start.el (history-length): Bump :version. [Backport]
1011 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1013 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1015 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1017 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1020 2014-10-20 Glenn Morris <rgm@gnu.org>
1022 * Version 24.4 released.
1024 2014-10-15 Alan Mackenzie <acm@muc.de>
1026 * cus-edit.el (custom-command-apply): Specify the return value in
1028 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1029 custom-command-apply has returned non-nil.
1031 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1034 Backported (bug#18688).
1036 2014-10-14 Eli Zaretskii <eliz@gnu.org>
1038 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1039 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1040 buffer-menu display when the first buffer happens to start with
1043 2014-10-13 Glenn Morris <rgm@gnu.org>
1045 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1046 (authors-obsolete-files-regexps): Additions.
1047 (authors-no-scan-regexps): New constant.
1048 (authors-no-scan-file-p): New function.
1049 (authors): Respect authors-no-scan-file-p.
1051 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1053 Fix import completion. (Bug#18582)
1054 * progmodes/python.el (python-shell-completion-get-completions):
1055 Fix import case regexp.
1057 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1059 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1060 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1061 * progmodes/prolog.el (prolog-electric--underscore): Same.
1063 2014-10-09 Glenn Morris <rgm@gnu.org>
1065 * frame.el (display-monitor-attributes-list): Doc tweaks.
1067 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1069 * faces.el (display-grayscale-p): Mention in the doc string that
1070 the argument can be either a display name or a frame.
1072 * frame.el (display-pixel-height, display-pixel-width)
1073 (display-mm-height, display-mm-width, display-backing-store)
1074 (display-save-under, display-planes, display-color-cells)
1075 (display-visual-class, display-monitor-attributes-list)
1076 (display-screens): Mention in the doc string that the argument can
1077 be either a display name or a frame. Improve the docs of the
1078 monitor attributes. (Bug#18636)
1080 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1082 * term.el (term-window-width): Subtract 1 from the width when
1083 any fringe has zero width, not just the right fringe. (Bug#18601)
1085 2014-10-05 Leo Liu <sdl.web@gmail.com>
1087 * imenu.el (imenu-default-goto-function): Fix typo.
1089 2014-10-04 Glenn Morris <rgm@gnu.org>
1091 * frame.el (frame-monitor-attributes)
1092 (display-monitor-attributes-list): Doc fixes.
1094 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1096 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1097 (vc-svn-ignore): Use it. (Bug#18619)
1099 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1101 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1102 In doc-string mention need to set `frame-resize-pixelwise'.
1104 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1106 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1107 similarly to Rogers's 2010-06-16 change for the remote case
1110 2014-10-01 Glenn Morris <rgm@gnu.org>
1112 * emacs-lisp/package.el (package-import-keyring):
1113 Create gnupg directory private. (Bug#17625#155)
1115 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1117 * progmodes/python.el (python-shell-completion-get-completions):
1118 Use python-shell--prompt-calculated-input-regexp from the
1119 process buffer (bug#18582).
1120 Don't assume that `line' comes from the process buffer.
1122 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1124 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1127 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * emacs-lisp/package.el (package-check-signature): Default to nil if
1130 GPG is not available.
1131 (package-refresh-contents): Don't mess with the keyring if we won't
1132 check the signatures anyway.
1134 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1136 * window.el (fit-window-to-buffer): When counting buffer width,
1137 count the whole visible buffer. Correctly convert the body-height
1138 to pixel size for window-text-pixel-size (Bug#18498).
1140 2014-09-14 Glenn Morris <rgm@gnu.org>
1142 * image.el (image-multi-frame-p): Fix thinko - do not force
1143 a delay if none was specified. (Bug#18334)
1145 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1147 * window.el (fit-window-to-buffer): Doc fix.
1149 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1151 * desktop.el (desktop-create-buffer): Check that buffers are still live
1152 before burying them (bug#18373).
1154 2014-09-09 Glenn Morris <rgm@gnu.org>
1156 * calendar/diary-lib.el (diary-list-entries):
1157 Restore 24.3 display behavior. (Bug#18381)
1159 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1161 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1162 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1163 discrepancy between window-pixel-edges and mouse events, and
1164 avoids moving mode line up when the mouse click is on the modeline
1165 and no drag is attempted.
1167 2014-09-08 Glenn Morris <rgm@gnu.org>
1169 * calendar/calendar.el (calendar-basic-setup):
1170 Avoid clobbering calendar with diary. (Bug#18381)
1172 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1176 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1178 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1179 as well (bug#18400).
1181 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1183 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1185 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1187 * emacs-lisp/package.el (package-generate-description-file):
1188 Properly quote the arguments (bug#18332). Change second arg.
1189 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1191 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1192 the *-pkg.el file. Adjust to new calling convention of
1193 package-generate-description-file.
1195 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1196 (gud-gdb-completions): Remove obsolete workaround.
1198 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1200 * subr.el (posn-col-row): Revert the change from commit
1201 2010-11-13T21:07:58Z!eliz@gnu.org, which
1202 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1203 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1204 introduced an off-by-one error in the reported row when there is a
1205 header line. (Bug#18384)
1207 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1209 * progmodes/python.el (python-indent-post-self-insert-function):
1210 Avoid electric colon at beginning-of-defun. (Bug#18228)
1212 2014-09-01 Glenn Morris <rgm@gnu.org>
1214 * tutorial.el (tutorial--display-changes):
1215 Fix 2014-07-29 change. (Bug#18382)
1217 2014-08-29 Ken Brown <kbrown@cornell.edu>
1219 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1220 the Cygwin-w32 build. (Bug#18347)
1222 2014-08-28 Glenn Morris <rgm@gnu.org>
1224 * tar-mode.el (tar--extract, tar-extract):
1225 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1227 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1229 * emacs-lisp/authors.el (authors-aliases): Addition.
1231 * net/tramp-adb.el: Spell author name correctly.
1233 2014-08-27 João Távora <joaotavora@gmail.com>
1235 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1236 use url-expand-file-name. (Bug#18310)
1238 2014-08-25 Glenn Morris <rgm@gnu.org>
1240 * emulation/cua-rect.el (cua--highlight-rectangle):
1241 Avoid error at point-min. (Bug#18309)
1243 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1245 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1246 executable-find (bug#18244).
1248 * simple.el (self-insert-uses-region-functions): Defvar.
1250 2014-08-13 Leo Liu <sdl.web@gmail.com>
1252 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1253 elements from imenu.
1255 2014-08-11 Glenn Morris <rgm@gnu.org>
1257 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1259 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1260 chose coding system for writing before backing up, since it causes
1261 a more serious problem than the one it solves. (Closes Bug#18141,
1264 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1266 * window.el (window-total-size): Make doc-string more
1269 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1271 * window.el (display-buffer-below-selected): Restore original
1272 behavior if buffer is already displayed in the window below the
1273 selected one (Bug#18181).
1275 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1280 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1282 * info.el (info): Doc fix.
1284 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1289 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1291 * simple.el (default-line-height): A floating-point value of
1292 line-spacing means a fraction of the default frame font's height,
1293 not of the font currently used by the 'default' face.
1294 Truncate the pixel value, like the display engine does.
1295 (window-screen-lines): Use window-inside-pixel-edges for
1296 determining the window height in pixels. (Bug#18195)
1298 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1300 * tutorial.el (tutorial--display-changes): Accept punctuation
1301 characters before the key binding. (Bug#18146)
1303 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1305 * doc-view.el (doc-view-open-text): Don't require that the
1306 document is saved in a file (e.g., email attachment).
1308 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1310 * window.el (window--pixel-to-total): Use FRAME's root window, not
1311 that of the selected frame. (Bug#18112, Bug#16674)
1313 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1315 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1318 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1320 * progmodes/python.el (inferior-python-mode): Doc fix.
1322 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1324 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1325 not a character, ignore it instead of raising an error.
1327 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1329 * calendar/todo-mode.el: Fix handling of marked items and make
1330 minor code improvements.
1331 (todo-edit-item): If there are marked items, ensure user can only
1332 invoke editing commands that work with marked items.
1333 (todo-edit-item--text): When there are marked items, make it a
1334 noop if invoked with point not on an item; otherwise, ensure it
1335 applies only to item at point.
1336 (todo-item-undone): If there are marked not-done items, return
1337 point to its original position before signaling user error.
1338 (todo--user-error-if-marked-done-item): New function.
1339 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1340 (todo-item-done): Use it.
1342 2014-07-25 Glenn Morris <rgm@gnu.org>
1344 * files.el (toggle-read-only): Re-add basic doc-string.
1345 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1347 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1348 Replace missing `switch-to-prolog' with `run-prolog'.
1349 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1351 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1353 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1354 of file-wide setting when changing category-wide setting.
1356 2014-07-21 Glenn Morris <rgm@gnu.org>
1358 * progmodes/hideif.el (hide-ifdef-mode-submap):
1359 Also substitute read-only-mode.
1360 * bindings.el (mode-line-toggle-read-only):
1361 * bs.el (bs-toggle-readonly):
1362 * buff-menu.el (Buffer-menu-toggle-read-only):
1363 * dired.el (dired-toggle-read-only):
1364 * files.el (view-read-only, find-file-read-only)
1365 (find-file-read-only-other-window)
1366 (find-file-read-only-other-frame):
1367 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1368 Doc fixes re toggle-read-only.
1370 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1372 * progmodes/python.el: Add comment about pipe buffering and
1373 solutions for missing/delayed output in inferior Python shells.
1376 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1378 * progmodes/python.el (python-mode): Don't set
1379 mode-require-final-newline. (Bug#17990)
1381 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1383 Make python.el work with IPython automatically. (Bug#15510)
1384 * progmodes/python.el:
1385 (python-shell-completion-setup-code): New value supporting iPython.
1386 (python-shell-completion-string-code): New value supporting iPython.
1387 (python-shell-completion-get-completions): Use them.
1388 (python-shell-completion-module-string-code): Make obsolete.
1389 (python-shell-prompt-input-regexps)
1390 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1391 (python-shell-output-filter): Fix comment typo.
1393 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1395 Fix Python shell prompts detection for remote hosts.
1396 * progmodes/python.el (python-shell-prompt-detect):
1397 Replace call-process with process-file and make it more robust.
1399 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1401 Autodetect Python shell prompts. (Bug#17370)
1402 * progmodes/python.el:
1403 (python-shell-interpreter-interactive-arg)
1404 (python-shell-prompt-detect-enabled)
1405 (python-shell-prompt-detect-failure-warning)
1406 (python-shell-prompt-input-regexps)
1407 (python-shell-prompt-output-regexps): New vars.
1408 (python-shell-prompt-calculated-input-regexp)
1409 (python-shell-prompt-calculated-output-regexp): New vars.
1410 (python-shell-get-process-name)
1411 (python-shell-internal-get-process-name)
1412 (python-shell-output-filter)
1413 (python-shell-completion-get-completions): Use them.
1414 (python-shell-prompt-detect)
1415 (python-shell-prompt-validate-regexps): New functions.
1416 (python-shell-prompt-set-calculated-regexps): New function.
1417 (inferior-python-mode): Use it. Also honor overridden
1418 python-shell-interpreter and python-shell-interpreter-args.
1419 (python-shell-make-comint): Honor overridden
1420 python-shell-interpreter and python-shell-interpreter-args.
1421 (python-shell-get-or-create-process): Make it testable by allowing
1422 to call run-python non-interactively.
1423 (python-util-valid-regexp-p): New function.
1424 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1425 (python-shell-prompt-output-regexp)
1426 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1428 2014-07-16 Glenn Morris <rgm@gnu.org>
1430 * desktop.el (after-init-hook): Disable startup frame restoration
1431 in non-graphical situations. (Bug#17693)
1433 2014-07-14 Glenn Morris <rgm@gnu.org>
1435 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1436 if it was "empty", or used for a different set of files. (Bug#17884)
1438 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1440 * bindings.el (mode-line-remote): If default-directory is not a
1441 string, don't call file-remote-p on it; instead state in the
1442 help-echo that it is nil. (Bug#17986)
1444 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1446 Fix bug: C-x v v discarded existing log message (Bug#17884).
1447 * vc/vc-dispatcher.el (vc-log-edit):
1448 Don't clobber an already-existing log message.
1450 2014-07-10 Glenn Morris <rgm@gnu.org>
1452 * vc/log-edit.el (log-edit-changelog-entries):
1453 Check for a visited-but-never-saved ChangeLog.
1455 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1457 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1458 a non-existing file (bug#17970).
1460 * faces.el (face-name): Undo last change.
1461 (x-resolve-font-name): Don't call face-name (bug#17956).
1463 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1465 Fix dedenters and electric colon handling. (Bug#15163)
1467 * progmodes/python.el
1468 (python-rx-constituents): Add dedenter and block-ender.
1469 (python-indent-dedenters, python-indent-block-enders): Delete.
1470 (python-indent-context): Return new case for dedenter-statement.
1471 (python-indent-calculate-indentation): Handle new case.
1472 (python-indent-calculate-levels): Fix levels calculation for
1473 dedenter statements.
1474 (python-indent-post-self-insert-function): Fix colon handling.
1475 (python-info-dedenter-opening-block-message): New function.
1476 (python-indent-line): Use it.
1477 (python-info-closing-block)
1478 (python-info-closing-block-message): Remove.
1479 (python-info-dedenter-opening-block-position)
1480 (python-info-dedenter-opening-block-positions)
1481 (python-info-dedenter-statement-p): New functions.
1483 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1485 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1486 the middle of a line (bug#17896).
1488 2014-07-08 Juri Linkov <juri@jurta.org>
1490 * startup.el (command-line): Append displaying the warning about
1491 the errors in the init file to the end of `after-init-hook'.
1494 2014-07-08 Juri Linkov <juri@jurta.org>
1496 * faces.el (face-name): Return input arg `face' as is
1497 when it's not a symbol.
1498 (x-resolve-font-name): Don't check if the face is a symbol.
1501 2014-07-08 Juri Linkov <juri@jurta.org>
1503 * facemenu.el (list-colors-print): In help-echo format use %.2f
1504 instead of %d because now HSV values are floating-point components
1505 between 0.0 and 1.0.
1507 2014-07-06 Glenn Morris <rgm@gnu.org>
1509 * emulation/cua-rect.el (cua--activate-rectangle):
1510 Avoid setting cua--rectangle to nil. (Bug#17877)
1512 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1514 * calendar/todo-mode.el: Fix wrong-type-argument error when
1515 marking multiple consecutive items.
1516 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1517 end of the todo and done items sections. Note in doc string that
1518 items marked by passing a numeric prefix argument can include the
1519 last todo and first done items.
1520 (todo-mark-category): Don't try to mark the empty line between the
1521 todo and done items sections.
1523 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1525 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1526 proper Lisp quoting (bug#17934).
1528 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1529 require-final-newline since prog-mode already took care of it (bug#17947).
1531 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1533 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1534 refer to the Todo mode Info manual. Update the comment on
1536 (todo-find-filtered-items-file): Add todo-prefix overlays.
1537 (todo-filter-items): Reorder a let-bound variable to avoid a
1538 wrong-type-argument error on canceling the file choice dialog.
1540 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1542 * progmodes/octave.el (inferior-octave-mode):
1543 Set comint-input-ring-size to a number (bug#17912).
1545 2014-07-03 Juri Linkov <juri@jurta.org>
1547 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1548 and `isearch-mode' associated with nil. (Bug#17849)
1550 2014-07-02 Juri Linkov <juri@jurta.org>
1552 * desktop.el (desktop-save): Rename arg `auto-save' to
1553 `only-if-changed'. Doc fix. (Bug#17873)
1555 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1557 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1558 Use insert-for-yank (bug#17271).
1560 2014-07-02 Leo Liu <sdl.web@gmail.com>
1562 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1563 Support lexical-binding.
1565 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * vc/log-edit.el (log-edit-goto-eoh): New function.
1568 (log-edit--match-first-line): Use it (bug#17861).
1570 2014-07-01 Glenn Morris <rgm@gnu.org>
1572 * vc/log-edit.el (log-edit-hook): Add missing :version.
1574 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1576 * progmodes/python.el (python-indent-post-self-insert-function):
1577 Enhancements to electric indentation behavior inside
1580 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1583 buffer-invisibility-spec (bug#17867).
1585 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1587 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1590 2014-06-29 Glenn Morris <rgm@gnu.org>
1592 * cus-edit.el (help):
1593 * finder.el (finder-known-keywords):
1594 * help.el (help-for-help-internal):
1595 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1596 (ediff-redraw-registry-buffer):
1597 * vc/ediff-ptch.el (ediff-patch-file-internal):
1598 Doc fixes re "online" help. (Bug#17803)
1600 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1601 (idlwave-mode): Doc URL update.
1603 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1605 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1606 account for file-wide setting of todo-top-priorities-overrides.
1607 Make code a bit cleaner.
1609 2014-06-27 Leo Liu <sdl.web@gmail.com>
1611 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1613 2014-06-27 Glenn Morris <rgm@gnu.org>
1615 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1617 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1619 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1620 category-wide setting of todo-top-priorities-overrides, check for
1621 a file-wide setting and fontify accordingly.
1623 2014-06-26 Glenn Morris <rgm@gnu.org>
1625 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1627 2014-06-26 Daiki Ueno <ueno@gnu.org>
1629 * emacs-lisp/package.el (package--check-signature):
1630 If package-check-signature is allow-unsigned, don't signal error when
1631 we can't verify signature because of missing public key
1632 (backport for bug#17625).
1634 2014-06-26 Glenn Morris <rgm@gnu.org>
1636 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1637 Remove outdated declaration.
1639 * emacs-lisp/authors.el (authors-valid-file-names)
1640 (authors-renamed-files-alist): Additions.
1642 2014-06-25 Leo Liu <sdl.web@gmail.com>
1644 * textmodes/picture.el (picture-set-tab-stops):
1645 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1646 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1648 * progmodes/asm-mode.el (asm-calculate-indentation):
1649 Use indent-next-tab-stop.
1651 * indent.el (indent-accumulate-tab-stops): New function.
1653 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1655 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1656 (package-desc-status): Obey it.
1658 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1660 * calendar/todo-mode.el: Fix two bugs.
1661 (todo-insert-item--basic): If user cancels item insertion to
1662 another category before setting priority, show original category
1663 whether it is in the same or a different file.
1664 (todo-set-item-priority): After selecting category, instead of
1665 moving point to top, which extends an active region, restore it.
1667 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * help-fns.el (describe-function-1): Check file-name is a string before
1670 calling help-fns--autoloaded-p (bug#17564).
1672 2014-06-24 Juri Linkov <juri@jurta.org>
1674 * desktop.el (desktop-auto-save-enable)
1675 (desktop-auto-save-disable): New functions.
1676 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1677 (desktop-read): Disable the autosave before loading the desktop,
1678 and enable afterwards. (Bug#17351)
1680 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1682 Fix some indentation problem with \; and pipes (bug#17842).
1683 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1684 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1686 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1687 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1688 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1690 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1692 * international/fontset.el (script-representative-chars):
1693 Add representative characters for scripts added in Unicode 7.0.
1694 (otf-script-alist): Synchronize with the latest registry of OTF
1697 * international/characters.el (char-script-table): Update for
1698 scripts added and codepoint ranges changed in Unicode 7.0.
1700 2014-06-23 Leo Liu <sdl.web@gmail.com>
1702 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1703 tab-stop-list to nil. (Bug#16381)
1705 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1706 (indent-rigidly-left-to-tab-stop)
1707 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1708 (move-to-tab-stop): Change callers.
1710 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1712 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1713 wrt behavior of \n as the first/last element of a skeleton.
1715 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1717 * net/tramp-adb.el (tramp-adb-handle-process-file):
1718 * net/tramp-sh.el (tramp-sh-handle-process-file):
1719 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1720 the output buffer when DISPLAY is non-nil. (Bug#17815)
1722 2014-06-21 Glenn Morris <rgm@gnu.org>
1724 * play/landmark.el (landmark-move-down, landmark-move-up):
1725 Fix 2007-10-20 change - preserve horizontal position.
1727 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1729 Fix completion retrieval parsing (bug#17209).
1730 * progmodes/python.el (python-mode):
1731 (python-util-strip-string): New function.
1732 (python-shell-completion-get-completions): Use it.
1734 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1736 * skeleton.el (skeleton-insert): Fix last change.
1738 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1740 Enhancements for outline integration (bug#17796).
1741 * progmodes/python.el (python-mode): Properly set
1742 outline-heading-end-regexp so that comments after colons for
1743 defuns are supported.
1745 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1747 * skeleton.el (skeleton-insert): Doc fix.
1749 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1751 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1752 (smie-config-guess): Use smie-config-local so the rules are obeyed
1755 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1756 since it's already done inside the loop (bug#17819).
1758 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1760 * mouse.el (mouse-drag-line): Re-remove code initially removed
1761 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1764 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1766 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1767 align with the surrounding parent (bug#17721).
1769 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1771 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1773 (texinfo-insert-block, texinfo-insert-@end)
1774 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1775 local setting of skeleton-end-newline by adding an explicit \n to
1776 the skeletons where appropriate. (Bug#17801)
1778 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1781 (smie-indent--hanging-p): Use it.
1782 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1784 2014-06-20 Leo Liu <sdl.web@gmail.com>
1786 * simple.el (read-quoted-char): Don't let help chars pop up help
1789 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1794 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1796 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1797 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1800 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1802 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1803 and later. (Bug#17790)
1805 2014-06-18 Juri Linkov <juri@jurta.org>
1807 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1808 to `soft'. (Bug#17554)
1810 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1812 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1815 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1818 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1820 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1822 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1823 `unread-command-events'.
1825 2014-06-14 Glenn Morris <rgm@gnu.org>
1827 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1828 Replace delete-duplicates and mapcan by cl- versions throughout.
1829 And cl-macroexpand-all by macroexpand-all.
1830 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1832 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1834 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1836 2014-06-14 Juri Linkov <juri@jurta.org>
1838 * bindings.el: Put `ascii-character' property on keypad keys
1839 mapped to characters. (Bug#17759)
1841 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1843 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1844 bumping forward into a closing paren (bug#17761).
1846 * term/xterm.el (xterm--version-handler): Work around for OSX
1847 Terminal.app (bug#17607).
1849 2014-06-08 Glenn Morris <rgm@gnu.org>
1851 * startup.el (initial-buffer-choice): Doc fix.
1852 Reset :version (adding an option does not merit a :version bump).
1854 * bookmark.el (bookmark-load):
1855 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1857 2014-06-06 Juri Linkov <juri@jurta.org>
1859 * desktop.el: Activate auto-saving on window configuration changes.
1860 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1861 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1862 (desktop-auto-save-set-timer): Change REPEAT arg of
1863 `run-with-idle-timer' from t to nil.
1864 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1866 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1868 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1869 vc-hg-command (bug#17570).
1871 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1873 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1876 2014-06-06 Glenn Morris <rgm@gnu.org>
1878 * startup.el (window-setup-hook): Doc fix.
1880 2014-06-05 Glenn Morris <rgm@gnu.org>
1882 * emacs-lisp/package.el (package-check-signature)
1883 (package-unsigned-archives): Doc fixes.
1885 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1887 * window.el (display-buffer-use-some-window): Don't make window
1888 used smaller than it was before (Bug#17671).
1890 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1892 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1893 'redisplay' instead of '(sit-for 0)'.
1895 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1897 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1900 2014-06-03 Glenn Morris <rgm@gnu.org>
1902 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1904 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1906 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1908 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1910 * simple.el (keyboard-quit): Force update of mode lines, to remove
1911 the "Def" indicator, if we were defining a macro. (Bug#17615)
1913 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1915 * minibuffer.el (minibuffer-force-complete-and-exit):
1916 Obey minibuffer-default (bug#17545).
1918 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1921 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * subr.el (set-transient-map): Don't wait for some "nested"
1924 transient-map to finish if we're only supposed to be active for
1925 the next command (bug#17642).
1927 2014-05-31 Leo Liu <sdl.web@gmail.com>
1929 * emacs-lisp/gv.el (window-buffer, window-display-table)
1930 (window-dedicated-p, window-hscroll, window-point, window-start):
1931 Fix gv-expander. (Bug#17630)
1933 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1938 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1939 for the single comma, since ", " is *very* common in normal French text
1942 2014-05-30 Glenn Morris <rgm@gnu.org>
1944 * emacs-lisp/package.el (package-check-signature)
1945 (package-unsigned-archives): Fix :version.
1947 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * subr.el (sit-for): Don't run input-methods (bug#15614).
1951 2014-05-28 Glenn Morris <rgm@gnu.org>
1953 * cus-start.el: Fix some :version numbers.
1955 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * simple.el (deactivate-mark): Set mark-active to nil even if
1958 deactivation is done via setting transient-mark-mode to nil,
1959 since one is buffer-local and the other is global.
1961 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1962 there can't be more than 2 arguments (bug#17584).
1964 2014-05-27 Glenn Morris <rgm@gnu.org>
1966 * simple.el (filter-buffer-substring-functions)
1967 (filter-buffer-substring-function, buffer-substring-filters)
1968 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1970 * minibuffer.el (completion-in-region-functions, completion-in-region)
1971 (completion--in-region): Doc fixes.
1973 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1974 (expand-abbrev, abbrev--default-expand): Doc fixes.
1976 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1978 Include sources used to create macuvs.h.
1979 * international/README: Refer to the Unicode Terms of Use rather
1980 than copying it bodily here, as that simplifies maintenance.
1982 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1984 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1986 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1988 * window.el (window--dump-frame): Remove interactive
1991 2014-05-23 Glenn Morris <rgm@gnu.org>
1993 * hippie-exp.el (he-line-search-regexp):
1994 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1996 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1998 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1999 to avoid errors when trying to create or visit a file foo.todo
2000 located outside to todo-directory, and to allow having such files
2001 without them being tied to Todo mode (bug#17482).
2002 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2003 (todo-archive-done-item, todo-find-filtered-items-file)
2004 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2005 (todo-category-completions, todo-read-category): When visiting a
2006 Todo file, make sure we're in the right mode and the buffer local
2008 (todo-make-categories-list, todo-reset-nondiary-marker)
2009 (todo-reset-done-string, todo-reset-comment-string):
2010 After processing all Todo files, kill the buffers of those files that
2011 weren't being visited before the processing.
2012 (todo-display-as-todo-file, todo-add-to-buffer-list)
2013 (todo-visit-files-commands): Comment out.
2014 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2015 (auto-mode-alist): Remove add-to-list calls making Todo file
2016 extensions unrestrictedly tied to Todo modes.
2018 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2021 (advice-function-member-p): Tell it to check both names and functions
2023 (advice--add-function): Adjust call accordingly.
2025 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2027 * calendar/todo-mode.el: Miscellaneous bug fixes.
2028 (todo-delete-file): When deleting an archive but not its todo
2029 file, make sure to update the todo file's category sexp.
2030 (todo-move-category): Keep the moved category's name unless the
2031 file moved to already has a category with that name. If the
2032 numerically last category of the source file was moved, make the
2033 first category current to avoid selecting a nonexisting category.
2034 (todo-merge-category): Fix implementation to make merging to a
2035 category in another file work as documented. Eliminate now
2036 insufficient and unnecessary renaming of archive category, correct
2037 document string accordingly, and clarify it. If the numerically
2038 last category of the source file was merged, make the first
2039 category current to avoid selecting a nonexisting category.
2040 (todo-archive-done-item): When there are marked items and point
2041 happens to be on an unmarked item, ignore the latter. Don't leave
2042 point below last item after archiving marked items.
2043 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2044 from an archive with only one category deletes the archive only
2045 when the category is empty after unarchiving. Make sure the todo
2046 file's category sexp is updated.
2047 (todo-read-file-name): Allow an existing file name even when it is
2048 not required (todo-move-category needs this to work as documented).
2049 (todo-add-file): Call todo-validate-name to reject the name of an
2050 existing todo file (needed due to fix in todo-read-file-name).
2051 (todo-reset-nondiary-marker): Also reset in filtered items files.
2052 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2053 regexp filtered items files.
2054 (todo-reset-highlight-item): Also reset in filtered items files.
2055 Fix incorrect variable reference in document string.
2057 2014-05-22 Glenn Morris <rgm@gnu.org>
2059 * window.el (window--dump-frame): Avoid error in --without-x builds.
2061 2014-05-21 Glenn Morris <rgm@gnu.org>
2063 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2065 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2067 * frame.el (set-frame-font): Doc fix.
2069 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2071 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2073 * emacs-lisp/package.el (package--download-one-archive):
2074 Use `write-region' instead of `save-buffer' to avoid running various
2076 (describe-package-1): Same. Insert newline at the end of the
2077 buffer if appropriate.
2079 2014-05-20 Juri Linkov <juri@jurta.org>
2081 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2082 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2083 Add more modifiers: meta, control, shift, hyper, super, alt.
2086 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2087 to allow changing its value with `set-variable'.
2089 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2091 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2093 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2095 (scheme-mode-variables): Set syntax-propertize-function instead of
2096 font-lock-syntactic-face-function.
2097 (scheme-font-lock-syntactic-face-function): Delete.
2099 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2101 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2106 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2108 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2109 for a temporary file name.
2111 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2113 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2115 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2117 * net/dbus.el (dbus-init-bus, dbus-call-method)
2118 (dbus-call-method-asynchronously, dbus-send-signal)
2119 (dbus-method-return-internal, dbus-method-error-internal):
2120 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2122 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2124 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2125 methods which do not have a doc string. (Bug#17490)
2127 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2128 Stefan Monnier <monnier@iro.umontreal.ca>
2130 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2133 2014-05-14 Glenn Morris <rgm@gnu.org>
2135 * vc/emerge.el (emerge-temp-file-prefix):
2136 Make pointless option obsolete.
2137 (emerge-temp-file-mode): Make non-functional option obsolete.
2139 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2141 * net/browse-url.el (browse-url):
2142 Use `unhandled-file-name-directory' when setting `default-directory',
2143 in order to circumvent stalled remote connections. (Bug#17425)
2145 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2147 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2148 into autoloading just because of a silly indirection.
2150 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2152 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2154 2014-05-11 Glenn Morris <rgm@gnu.org>
2156 * emacs-lisp/find-gc.el: Move to ../admin.
2158 2014-05-10 Glenn Morris <rgm@gnu.org>
2160 * printing.el (pr-version):
2161 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2163 * net/browse-url.el (browse-url-mosaic):
2164 Create /tmp/Mosaic.PID as a private file.
2166 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2168 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2169 (advice--member-p): If name is given, only compare the name.
2170 (advice--remove-function): Don't stop at the first match.
2171 (advice--normalize-place): New function.
2172 (add-function, remove-function): Use it.
2173 (advice--add-function): Pass the name, if any, to
2174 advice--remove-function.
2176 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2178 * electric.el (electric-indent-post-self-insert-function): Don't use
2179 `pos' after modifying the buffer (bug#17449).
2181 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * subr.el (function-put): Add function.
2185 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2187 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2188 Correct argument list to conform to todo-insert-item--basic.
2190 2014-05-09 Glenn Morris <rgm@gnu.org>
2192 * files.el (cd-absolute): Test if directory is accessible
2193 rather than executable. (Bug#17330)
2195 * progmodes/compile.el (recompile):
2196 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2198 2014-05-08 Juri Linkov <juri@jurta.org>
2200 * dired.el (dired-check-switches, dired-switches-recursive-p):
2201 New functions. (Bug#17218)
2202 (dired-switches-escape-p, dired-move-to-end-of-filename):
2203 Use `dired-check-switches'.
2204 (dired-insert-old-subdirs, dired-build-subdir-alist)
2205 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2207 2014-05-08 Glenn Morris <rgm@gnu.org>
2209 * net/browse-url.el (browse-url-mosaic):
2210 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2211 This is CVE-2014-3423.
2213 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2215 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2216 (xterm-mouse--read-event-sequence-1000): Return nil if something
2218 (xterm-mouse-event): Propagate it.
2219 (xterm-mouse-translate-1): Handle it.
2221 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2223 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2224 four slots of the parameter list are filled, make sure to pass it
2225 to the argument list of todo-insert-item--basic.
2227 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2230 Add optional `seen' argument to detect and break infinite loops.
2232 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2234 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2235 (trace-unsafe, trace-use-tree): Make parentheses style be
2236 according to Emacs style.
2238 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2240 * net/tramp-sh.el (tramp-remote-process-environment):
2241 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2243 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2244 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2245 extra "PSx=..." commands.
2246 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2249 (tramp-uudecode): Replace the hard-coded temporary file name by a
2251 (tramp-remote-coding-commands): Enhance docstring.
2252 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2254 This is CVE-2014-3424.
2256 2014-05-06 Glenn Morris <rgm@gnu.org>
2258 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2259 (find-gc-source-files): Update some names.
2260 (trace-call-tree): Simplify and update.
2261 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2262 This is CVE-2014-3422.
2264 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * minibuffer.el (completion--try-word-completion): Revert fix for
2267 Bug#15980 (bug#17375).
2269 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2270 Always store button numbers in the same way in xterm-mouse-last;
2271 Don't burp is xterm-mouse-last is not set as expected.
2272 Never return negative indices.
2274 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2276 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2277 Backtrack one char if the global/char-literal var matcher hits
2278 inside a string. The next char could be the beginning of an
2279 expression expansion.
2281 2014-05-05 Glenn Morris <rgm@gnu.org>
2283 * help-fns.el (describe-function-1): Test for an autoload before a
2284 macro, since `macrop' works on autoloads. (Bug#17410)
2286 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2288 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2290 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2291 Make sure the new point we return is within the new string (bug#17239).
2293 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2295 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2297 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2300 Use nil rather than `default' for the "default" appearance (bug#17388).
2301 * vc/ediff-util.el (ediff-inferior-compare-regions)
2302 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2303 a misleading `default' value when it's really a boolean.
2304 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2305 overlay is not visible.
2307 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2309 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2310 (todo-menu): Uncomment and update.
2312 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2314 * calendar/todo-mode.el: Reimplement item editing to have the same
2315 basic user interface as item insertion, and make small UI and
2316 larger internal improvements to the latter.
2317 (todo-insert-item): Add reference to the Todo mode user manual to
2318 the documentation string.
2319 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2320 adjust all callers. Change signature to combine diary and
2321 nonmarking arguments. Incorporate functionality of deleted item
2322 copying command and add error checking. Remove detailed
2323 descriptions of the arguments from the documentation string, since
2324 this is treated in the Todo mode user manual.
2325 (todo-copy-item, todo-edit-multiline-item)
2326 (todo-edit-done-item-comment, todo-edit-item-header)
2327 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2328 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2329 (todo-edit-item-date-year, todo-edit-item-date-month)
2330 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2332 (todo-edit-item): Reimplement as wrapper command for
2333 todo-edit-item--next-key and make it distinguish done and not done
2335 (todo-edit-item--text): New function, replacing old command
2336 todo-edit-item and incorporating deleted commands
2337 todo-edit-multiline-item and todo-edit-done-item-comment.
2338 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2339 Use only numeric value of prefix argument. Remove detailed
2340 descriptions of the arguments from the documentation string, since
2341 this is treated in the Todo mode user manual.
2342 (todo-edit-item--diary-inclusion): New function, replacing old
2343 command todo-edit-item-diary-inclusion and incorporating and fixing
2344 functionality of deleted command todo-edit-item-diary-nonmarking,
2345 making sure to remove todo-nondiary-marker when adding
2346 diary-nonmarking-symbol.
2347 (todo-edit-category-diary-inclusion): Make sure to delete
2348 diary-nonmarking-symbol when adding todo-nondiary-marker.
2349 (todo-edit-category-diary-nonmarking): Fix indentation.
2350 (todo-insert-item--parameters): Group diary and nonmarking
2351 parameters together.
2352 (todo-insert-item--apply-args): Adjust to signature of
2353 todo-insert-item--basic and incorporate copy parameter.
2354 Make small code improvements.
2355 (todo-insert-item--next-param): Improve prompt and adjust it to
2356 new parameter grouping. Remove obsolete code.
2357 (todo-edit-item--param-key-alist)
2358 (todo-edit-item--date-param-key-alist)
2359 (todo-edit-done-item--param-key-alist): New defconsts.
2360 (todo-edit-item--prompt): New variable.
2361 (todo-edit-item--next-key): New function.
2362 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2363 Remove bindings of deleted commands.
2365 2014-05-02 Leo Liu <sdl.web@gmail.com>
2367 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2369 2014-05-01 Glenn Morris <rgm@gnu.org>
2371 * allout-widgets.el (allout-widgets-tally)
2372 (allout-decorate-item-guides):
2373 * menu-bar.el (menu-bar-positive-p):
2374 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2375 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2376 * progmodes/js.el (js--inside-param-list-p)
2377 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2378 * progmodes/prolog.el (region-exists-p):
2379 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2380 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2381 Doc fixes (replace `iff').
2383 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2385 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2387 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2389 * dired.el (dired-initial-position-hook, dired-initial-position):
2392 2014-04-29 Glenn Morris <rgm@gnu.org>
2394 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2396 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2398 * faces.el (face-spec-recalc): Apply X resources only after the
2399 defface spec has been applied. Thus, X resources are no longer
2400 overridden by the defface spec which also fixes issues on win32 where
2401 the toolbar coloring was wrong because it is set through X resources
2402 and was (wrongfully) overridden. (Bug#16694)
2404 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * textmodes/rst.el (electric-pair-pairs): Declare.
2407 (rst-mode): Set it (bug#17131).
2409 2014-04-27 Juri Linkov <juri@jurta.org>
2411 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2412 and `print-level' to nil. (Bug#17351)
2414 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2416 * battery.el (battery-update): Handle the case where battery
2417 status is "N/A" (bug#17319).
2419 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2421 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2422 Use equal-including-properties to compare help-echo strings (bug#17331).
2424 2014-04-24 Leo Liu <sdl.web@gmail.com>
2426 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2427 Fix syntax for @. (Bug#17325)
2429 2014-04-24 Daniel Colascione <dancol@dancol.org>
2431 * emacs-lisp/cl.el (gv): Require gv early to break eager
2432 macro-expansion cycles.
2434 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2436 * simple.el (region-active-p): Check there's a mark (bug#17324).
2438 * simple.el (completion-list-mode-map): Use choose-completion for the
2439 mouse binding as well (bug#17302).
2440 (completion-list-mode, completion-setup-function): Adjust docstring and
2441 echo area message accordingly.
2442 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2443 calling convention of choose-completion.
2444 * comint.el (comint-dynamic-list-completions):
2445 * term.el (term-dynamic-list-completions): Accept choose-completion.
2447 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2448 &, |, +, - and * can't be a division (bug#17317).
2450 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2452 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2453 features on gnome-terminal (bug#16988).
2455 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2457 * dired.el (dired-insert-set-properties): Do not consider
2458 subdirectory headings and empty lines to be information that
2459 `dired-hide-details-mode' should hide. (Bug#17228)
2461 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2464 Remove test messages.
2465 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2468 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2470 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2471 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2473 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2475 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2477 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2478 Set "IFS=" when using read builtin, in order to preserve spaces in
2479 the file name. Add test messages for hunting a bug on hydra.
2480 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2482 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2484 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2485 Don't prettify a word within a symbol.
2487 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2489 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2492 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2494 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2495 assignments such as "case=hello" (bug#17297).
2497 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2499 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2501 (tramp-file-name-handler, tramp-completion-file-name-handler):
2502 Revert patch from 2014-04-10, it isn't necessary anymore.
2503 (tramp-autoload-file-name-handler)
2504 (tramp-register-autoload-file-name-handlers): New defuns.
2505 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2506 (tramp-register-file-name-handlers): Remove also
2507 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2508 Do not autoload its invocation, but eval it after loading of 'tramp.
2510 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2512 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2514 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2517 was done (bug#17264).
2518 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2521 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2522 here-documents (bug#17262).
2524 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2526 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2527 Provide doc strings, as required by snarf-documentation.
2529 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2532 arg of overlays-at. Use `invisible-p'.
2534 * obsolete/lucid.el (extent-at):
2535 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2537 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2539 2014-04-14 João Távora <joaotavora@gmail.com>
2541 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2544 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2546 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2547 Use mapc to loop over a vector. (Bug#17257).
2549 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2551 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2552 patch, there are new problems with file names containing spaces.
2553 Get rid of backticks. (Bug#17238)
2555 2014-04-13 João Távora <joaotavora@gmail.com>
2557 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2560 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2562 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2563 (blink-cursor-mode): Mention customization variables and the
2564 effect of 'blink-cursor-blinks'.
2566 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2568 * simple.el (undo): Prevent insertion of identity mapping into
2569 undo-equiv-table so as undo-only does not inf loop in the presence
2570 of consecutive nils in undo list.
2572 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2574 * faces.el (make-face): Deprecate optional argument as it is no
2575 longer needed/used since the conditional X resources handling
2576 has been pushed down to make-face-x-resource-internal itself.
2577 (make-empty-face): Don't pass optional argument to make-face.
2579 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2581 * international/characters.el <standard-case-table>: Add entries
2582 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2583 Set category of Coptic characters be 'g' (Greek).
2585 2014-04-12 Leo Liu <sdl.web@gmail.com>
2587 * progmodes/octave.el (completion-table-with-cache): Define if not
2589 (octave-goto-function-definition)
2590 (octave-sync-function-file-names)
2591 (octave-find-definition-default-filename): Backquote upattern for
2594 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2596 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2597 name twice due to backticks. (Bug#17238)
2599 2014-04-11 Glenn Morris <rgm@gnu.org>
2601 * term/w32-win.el (x-win-suspend-error):
2602 * term/x-win.el (x-win-suspend-error): Sync docs.
2604 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2606 Ediff's overlay priorities cause more trouble than they solve.
2607 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2608 (ediff-highest-priority): Remove function (bug#17234).
2609 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2610 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2611 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2614 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2616 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2617 entry; use symbol boundaries to avoid mis-matches.
2619 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2621 * net/tramp.el (tramp-file-name-handler)
2622 (tramp-completion-file-name-handler): Avoid recursive loading.
2624 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2625 Quote result also locally.
2627 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2629 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2630 Module methods. (Bug#17216)
2632 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2635 (describe-bindings-internal): Mark obsolete.
2637 2014-04-07 João Távora <joaotavora@gmail.com>
2640 (electric-pair--syntax-ppss): When inside comments parse from
2642 (electric-pair--balance-info): Fix typo in comment.
2643 (electric-pair--in-unterminated-string-p): Delete.
2644 (electric-pair--unbalanced-strings-p): New function.
2645 (electric-pair-string-bound-function): New var.
2646 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2647 according to `electric-pair--in-unterminated-string-p'
2649 2014-04-07 João Távora <joaotavora@gmail.com>
2651 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2652 Inhibit quote pairing if point-max is inside an unterminated string.
2653 (electric-pair--looking-at-unterminated-string-p): Delete.
2654 (electric-pair--in-unterminated-string-p): New function.
2656 2014-04-07 Glenn Morris <rgm@gnu.org>
2658 * shell.el (shell-directory-tracker):
2659 Go back to just ignoring failures. (Bug#17159)
2661 2014-04-06 João Távora <joaotavora@gmail.com>
2663 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2664 backspace. (bug#16981)
2665 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2666 (electric-pair-backward-delete-char-untabify): Delete.
2667 (electric-pair-mode-map): Bind backspace to a menu item filtering
2668 a new `electric-pair-delete-pair' command.
2669 (electric-pair-delete-pair): New command.
2671 2014-04-06 João Távora <joaotavora@gmail.com>
2673 * progmodes/python.el (python-electric-pair-string-delimiter):
2674 Fix triple-quoting electricity. (Bug#17192)
2676 2014-04-06 João Távora <joaotavora@gmail.com>
2678 * elec-pair.el (electric-pair-post-self-insert-function):
2679 Don't skip whitespace when `electric-pair-text-pairs' and
2680 `electric-pair-pairs' were used. syntax to
2681 electric-pair--skip-whitespace. (Bug#17183)
2683 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2685 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2688 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2690 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2691 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2693 2014-04-05 Glenn Morris <rgm@gnu.org>
2695 * help.el (view-lossage): Doc tweak.
2697 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2699 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2700 only when inhibit-x-resources is nil, and do that earlier in the
2701 function. Doc fix. (Bug#16694)
2702 (face-spec-choose): Accept additional optional argument, whose
2703 value is returned if no matching attributes are found.
2704 (face-spec-recalc): Use the new optional argument when calling
2705 face-spec-choose. (Bug#16378)
2706 (make-face-x-resource-internal): Do nothing when
2707 inhibit-x-resources is non-nil. Don't touch the default face if
2708 reversed video is given--as was done in previous versions of Emacs.
2709 (face-set-after-frame-default): Don't call
2710 make-face-x-resource-internal here. (Bug#16434)
2712 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2714 * doc-view.el (doc-view-bookmark-jump):
2715 Use `bookmark-after-jump-hook' to jump to the right page after the
2716 buffer is shown in a window. (bug#16090)
2718 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2720 * international/characters.el (mirroring): Fix last change:
2721 instead of loading uni-mirrored.el explicitly, do that implicitly
2722 by creating the 'mirroring' uniprop table. This avoids announcing
2723 the loading of uni-mirrored.el.
2725 2014-04-04 Glenn Morris <rgm@gnu.org>
2727 * files.el (buffer-stale--default-function)
2728 (buffer-stale-function, revert-buffer--default):
2729 * autorevert.el (auto-revert-buffers): Doc tweaks.
2731 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2733 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2735 2014-04-03 Glenn Morris <rgm@gnu.org>
2737 * files.el (make-backup-file-name-function)
2738 (make-backup-file-name, make-backup-file-name--default-function)
2739 (make-backup-file-name-1, find-backup-file-name)
2740 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2741 (buffer-stale--default-function, buffer-stale-function)
2742 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2743 (revert-buffer, revert-buffer--default)
2744 (revert-buffer-insert-file-contents--default-function):
2745 Doc fixes related to defaults no longer being nil.
2746 (make-backup-file-name-function): Bump :version.
2747 Restore nil as a valid but deprecated custom type.
2749 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2751 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2752 used as a variable (bug#17174).
2754 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * progmodes/perl-mode.el (perl-indent-new-calculate):
2757 Handle forward-sexp failure (bug#16985).
2758 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2759 modifiers introducing expressions (bug#17116).
2761 2014-04-02 Glenn Morris <rgm@gnu.org>
2763 * menu-bar.el (menu-bar-file-menu):
2764 * vc/ediff.el (ediff-current-file):
2765 Update for revert-buffer-function no longer being nil by default.
2767 * simple.el (command-execute): Respect nil disabled-command-function.
2769 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2771 * simple.el (command-execute): Do not execute the command when it
2772 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2774 2014-03-29 Juri Linkov <juri@jurta.org>
2776 * dired-aux.el (dired-compress-file): Don't use string-match-p
2777 because its match data is used afterwards.
2779 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2784 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2786 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2787 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2789 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2790 Don't propertize `?' or `!' as symbol constituent when after
2793 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2795 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2796 which is no longer needed and causes trouble in GTK builds (bug#17046).
2798 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2799 Use url-insert-file-contents; package-handle-response no longer exists.
2801 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2803 * emacs-lisp/package.el: Fix bug#16733 (again).
2804 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2805 (url-http-target-url): Remove unused declarations.
2806 (package-handle-response): Remove.
2807 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2808 (package--download-one-archive): Use current-buffer instead of
2809 dynamic binding of `buffer'.
2810 (describe-package-1): Do not decode readme-string.
2812 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2814 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2816 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2818 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2820 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2821 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2822 `remote-file-name-inhibit-cache' to nil in the second pass.
2823 (tramp-find-executable): Do not call "which" on SunOS.
2824 (tramp-send-command-and-check): Fix docstring.
2825 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2826 check whether source directory has set the sticky bit.
2828 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2830 * simple.el (primitive-undo): Only process marker adjustments
2831 validated against their corresponding (TEXT . POS). Issue warning
2832 for lone marker adjustments in undo history. (Bug#16818)
2833 (undo-make-selective-list): Add marker adjustments to selective
2834 undo list based on whether their corresponding (TEXT . POS) is in
2835 the region. Remove variable adjusted-markers, which was unused
2836 and only non nil during undo-make-selective-list.
2837 (undo-elt-in-region): Return nil when passed a marker adjustment
2838 and explain in function doc.
2840 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2842 * emacs-lisp/package.el (package--add-to-archive-contents):
2843 Include already installed and built-in packages in
2844 `package-archive-contents'.
2845 (package-install): Don't include already installed packages in the
2846 options during interactive invocation. (Bug#16762)
2848 2014-03-24 Daniel Colascione <dancol@dancol.org>
2850 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2851 instead of cl-loop search function.
2853 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2855 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2857 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2859 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2861 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2863 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2864 Match special global variables without curlies, too.
2865 (ruby-font-lock-keywords): Simplify the matcher for special global
2866 variables. Don't require a non-word character after the variable.
2869 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2871 * simple.el (redisplay-highlight-region-function): Increase priority of
2872 overlay to make sure boundaries are visible (bug#15899).
2874 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2876 * frameset.el (frameset-restore): Compare display strings with equal.
2878 * frame.el (make-frame): Don't quote display name in error message,
2879 it is already a string.
2881 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2883 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2886 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2888 * emacs-lisp/package.el (package-show-package-list): If the buffer
2889 is already displayed in another window, switch to that window.
2891 2014-03-21 Daniel Colascione <dancol@dancol.org>
2893 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2894 information in bug reports.
2896 2014-03-23 Daniel Colascione <dancol@dancol.org>
2898 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2899 list to look for keyword arguments instead of `memq', fixing
2900 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2901 Please make bootstrap.
2903 2014-03-23 Richard Stallman <rms@gnu.org>
2905 * battery.el (battery-linux-sysfs): Search for each field
2906 from the beginning of the buffer.
2908 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2910 * emacs-lisp/package.el (package-desc): Use the contents of the
2911 quoted form, not its cdr. (Bug#16873)
2913 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2915 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2916 benefit of doc.c; change parameter profile to match the X function.
2918 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2920 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2921 and `tramp-copy-env'.
2923 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2924 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2926 2014-03-21 Glenn Morris <rgm@gnu.org>
2928 * electric.el (electric-indent-post-self-insert-function): Add doc.
2930 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2932 * emacs-lisp/package.el (package-compute-transaction):
2933 Use `version-list-<=' to compare the requirement version against
2934 the version of package already to be installed. Update the error
2935 message. (Bug#16826)
2937 * progmodes/ruby-mode.el (ruby-smie-rules):
2938 Add indentation rule for ` @ '. (Bug#17050)
2940 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2942 * align.el (align-regexp): Remove superfluous backslash.
2944 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2945 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2946 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2947 Fix docstring typos.
2948 (ffap-next): Use C-u in docstring.
2949 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2950 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2951 Remove superfluous backslashes.
2952 (ffap-string-at-point): Reflow docstring.
2954 * server.el (server-host): Reflow docstring.
2955 (server-unload-function): Fix docstring typo.
2956 (server-eval-at): Remove superfluous backslash.
2958 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2959 (skeleton-insert): Doc fix.
2960 (skeleton-insert): Reflow docstring.
2962 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2963 (tty-color-approximate, tty-color-by-index, tty-color-values)
2964 (tty-color-desc): Remove superfluous backslashes.
2966 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * electric.el (electric-newline-and-maybe-indent): New command.
2969 Bind it globally to C-j.
2970 (electric-indent-mode): Don't mess with the global map any more.
2971 Don't drop the post-self-insert-hook is some buffer is still using it
2974 * bindings.el (global-map): Remove C-j binding.
2976 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2977 the docstring of functions advised before dumping (bug#16993).
2979 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2981 * ps-print.el (ps-generate-postscript-with-faces):
2982 Explicitly deactivate the mark (bug#16866).
2983 * simple.el (deactivate-mark): Update region highlight.
2985 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2987 * emacs-lisp/package.el (describe-package-1):
2988 Decode commentary (bug#16733).
2990 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2992 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2993 modification of the value argument of :set (bug#16755).
2995 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2997 * simple.el (newline-and-indent): Do autofill (bug#17031).
2999 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
3001 * newcomment.el (comment-normalize-vars): Only add escaping check
3002 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
3003 (comment-beginning): Use `narrow-to-region' instead of moving back
3005 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3006 (comment-start-skip): Update the docstring.
3008 2014-03-18 Richard Stallman <rms@gnu.org>
3010 * dired.el (dired-display-file): Force use of other window.
3012 2014-03-18 Daniel Colascione <dancol@dancol.org>
3014 * startup.el (tty-handle-args): Remove debug message from 2007.
3016 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3018 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3019 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3020 (advice--make-1, advice-add, advice-remove):
3021 Remove braindead :advice-pending hack.
3023 2014-03-17 Glenn Morris <rgm@gnu.org>
3025 * calendar/calendar.el (calendar-generate-month): Apply weekend
3026 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3028 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3030 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3031 (tramp-call-process): Trace also DESTINATION.
3033 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3034 Quote file names when they are local. Remove superfluous trace.
3036 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3038 * newcomment.el (comment-beginning): If `comment-start-skip'
3039 doesn't match, move back one char and try again. (Bug#16971)
3041 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3042 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3043 Set `comment-start-skip' to a simpler value that doesn't try to
3044 check if the semicolon is escaped (this is handled by
3045 `syntax-ppss' now). (Bug#16971)
3047 * progmodes/scheme.el (scheme-mode-variables): Same.
3049 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3051 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3052 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3053 current (Bug#16816, Bug#17007).
3054 (with-current-buffer-window): New macro doing the same as
3055 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3056 * help.el (help-print-return-message): Warn in doc-string to not
3057 use this in `with-help-window'.
3058 (describe-bindings-internal): Call `describe-buffer-bindings'
3059 from within help buffer. See Juanma's scenario in (Bug#16816).
3060 (with-help-window): Update doc-string.
3061 * dired.el (dired-mark-pop-up):
3062 * files.el (save-buffers-kill-emacs):
3063 * register.el (register-preview): Use `with-current-buffer-window'
3064 instead of `with-temp-buffer-window'.
3066 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3068 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3069 Implement inserting into current buffer, documented in their docstrings.
3070 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3071 (rst-section-tree-point, rst-forward-section, rst-indent)
3072 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3073 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3074 (rst-font-lock-handle-adornment-pre-match-form)
3075 (rst-repeat-last-character): Reflow docstrings.
3076 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3077 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3078 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3079 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3080 Fix docstring typos.
3081 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3082 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3083 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3085 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3087 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3088 for compatibility with other ports.
3089 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3090 from the -xrm command line argument, but in the Nextstep port its value
3091 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3093 * progmodes/python.el (defconst, python-syntax-count-quotes)
3094 (python-indent-region, python-indent-shift-right)
3095 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3096 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3097 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3098 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3099 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3100 (python-shell-buffer-substring, python-shell-send-buffer)
3101 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3102 (python-completion-complete-at-point, python-fill-docstring-style)
3103 (python-eldoc-function, python-imenu-format-item-label)
3104 (python-imenu-format-parent-item-label)
3105 (python-imenu-format-parent-item-jump-label)
3106 (python-imenu--build-tree, python-imenu-create-index)
3107 (python-imenu-create-flat-index): Fix docstring typos.
3108 (python-indent-context, python-shell-prompt-regexp, run-python):
3109 Remove superfluous backslashes.
3110 (python-indent-line, python-nav-beginning-of-defun)
3111 (python-shell-get-buffer, python-shell-get-process)
3112 (python-info-current-defun, python-info-current-line-comment-p)
3113 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3114 (python-indent-post-self-insert-function, python-shell-send-file)
3115 (python-shell-completion-get-completions)
3116 (python-shell-completion-complete-or-indent)
3117 (python-eldoc--get-doc-at-point): Reflow docstrings.
3119 2014-03-14 Glenn Morris <rgm@gnu.org>
3121 * emacs-lisp/package.el (package-menu-mode-map):
3122 Replace use of obsolete function alias. Tweak menu item text.
3124 * info.el (Info-finder-find-node):
3125 Ignore the `emacs' metapackage. (Bug#10813)
3127 * finder.el (finder-list-matches): Include unversioned packages
3128 in the result of a keyword search.
3130 * finder.el (finder--builtins-descriptions): New constant.
3131 (finder-compile-keywords): Use finder--builtins-descriptions.
3133 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3135 * simple.el (blink-matching-paren): Describe the new value,
3136 `jump', enabling the old behavior.
3137 (blink-matching-open): Use that value. (Bug#17008)
3139 2014-03-14 Glenn Morris <rgm@gnu.org>
3141 * finder.el (finder-no-scan-regexp): Add leim-list.
3142 (finder-compile-keywords):
3143 Don't skip files with same basename. (Bug#14010)
3144 * Makefile.in (setwins_finder): New, excluding leim.
3145 (finder-data): Use setwins_finder.
3147 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3148 (help-function-arglist, help-make-usage): Move from here...
3149 * help.el (help-split-fundoc, help-add-fundoc-usage)
3150 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3151 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3153 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3155 * net/socks.el (socks, socks-override-functions)
3156 (socks-find-services-entry):
3157 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3158 (hif-find-ifdef-block):
3159 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3161 * net/tls.el (tls-program): Reflow docstring.
3163 * progmodes/pascal.el (pascal-mode-abbrev-table)
3164 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3165 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3166 (pascal-outline-mode): Fix docstring typos.
3167 (pascal-mode): Let define-derived-mode document mode hook.
3168 (pascal-uncomment-area): Reflow.
3169 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3171 * progmodes/opascal.el (opascal-compound-block-indent)
3172 (opascal-case-label-indent): Fix docstring typos.
3173 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3175 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3177 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3178 Fontify multiple adjacent negation chars. (Bug#17004)
3180 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3182 * emacs-lisp/package.el (package--prepare-dependencies):
3183 Accept requirements without explicit version (bug#14941).
3185 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3187 * register.el (register-separator, copy-to-register): Doc fixes.
3188 (register-preview-default): Remove unnecessary call to concat.
3190 * frameset.el (frameset-restore): When checking for a visible frame,
3191 use the action map instead of calling visible-frame-list.
3193 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3195 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3197 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3199 * window.el (fit-frame-to-buffer): Get maximum width from
3200 display's width instead of height.
3202 2014-03-12 Glenn Morris <rgm@gnu.org>
3204 * desktop.el (desktop-restore-frames)
3205 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3206 (desktop-restore-reuses-frames): Doc tweaks.
3208 * electric.el (electric-indent-mode): Doc fix.
3210 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3212 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3213 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3214 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3215 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3216 (cvs-dired-use-hook): Fix docstring typos.
3217 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3220 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3221 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3222 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3223 (cvs-execute-single-dir): Fix docstring typos.
3225 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3226 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3228 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3230 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3231 Fix docstring typos.
3233 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3235 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3236 called from jump-to-register after unloading the frameset package.
3238 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3240 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3241 (bug#16975). Deactivate the mark before setting it to nil.
3242 (activate-mark): Do nothing if region is already active.
3244 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3246 * frameset.el (frameset--target-display): Remove definition; declare.
3247 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3249 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3252 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3253 when the advice is pending.
3254 (advice-remove): Remove this marker when not needed any more.
3256 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3258 * frameset.el: Separate options for reusing frames and cleaning up.
3259 (frameset--reuse-list): Remove definition; declare.
3260 (frameset--action-map): Declare.
3261 (frameset--find-frame-if): Doc fix.
3262 (frameset--restore-frame): Cache frame action.
3263 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3264 how to clean up the frame list after restoring. Remove cleaning
3265 options from REUSE-FRAMES. Change all keyword values to symbols.
3266 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3268 * desktop.el (desktop-restore-forces-onscreen)
3269 (desktop-restore-reuses-frames): Use non-keyword values.
3270 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3272 2014-03-10 Glenn Morris <rgm@gnu.org>
3274 * files.el (find-file): Doc fix: update info node name.
3276 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3277 Doc fix: remove references to deleted info nodes.
3279 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3282 Do not add `nil' to the environment, when there's no remote `locale'.
3283 (tramp-find-inline-encoding): Check, that the remote host has
3284 installed perl, before sending scripts.
3286 2014-03-10 Leo Liu <sdl.web@gmail.com>
3288 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3289 Clear eldoc-last-message. (Bug#16920)
3291 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3293 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3296 2014-03-09 Juri Linkov <juri@jurta.org>
3298 * ansi-color.el (ansi-color-names-vector): Copy default colors
3299 from `xterm-standard-colors' that look well on the default white
3300 background (and also on the black background) to avoid illegible
3301 color combinations like yellow-on-white and white-on-white.
3302 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3304 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3306 * frameset.el (frameset-restore): When no frame is visible, do not
3307 generate a list of frames, just make visible the selected one.
3309 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3311 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3312 it only contains the repository root. (Bug#16897)
3314 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3316 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3317 only when `remote-file-name-inhibit-cache' is nil.
3318 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3320 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3322 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3324 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3325 fit-frame-to-buffer variable. Fix doc-string.
3326 (fit-window-to-buffer): Set ONLY argument in call of
3327 fit-frame-to-buffer. Fix doc-string.
3329 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3331 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3332 (tramp-action-password): Clear password cache if needed.
3333 (tramp-read-passwd): Do not clear password cache.
3335 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3336 cache unless it is the first password request.
3338 2014-03-06 Glenn Morris <rgm@gnu.org>
3340 * simple.el (newline): Doc tweak.
3342 * emacs-lisp/shadow.el (load-path-shadows-find):
3343 Ignore dir-locals. (Bug#12357)
3345 2014-03-05 Glenn Morris <rgm@gnu.org>
3347 * files.el (interpreter-mode-alist):
3348 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3350 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3352 * frameset.el (frameset--initial-params): Filter out null entries.
3354 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3356 * window.el (window-min-height, window-min-width):
3357 Rewrite doc-strings.
3358 (window-body-size): Add PIXELWISE argument to make it consistent
3361 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3363 * finder.el (finder-mode-map, finder-mode-syntax-table):
3364 Revert part of 2014-02-28 change.
3366 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3368 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3369 (eww-setup-buffer): Clear next/prev/etc more reliably.
3370 (eww-textarea-map): [tab] doesn't work on tty.
3371 Reported by Mario Lang.
3373 * net/shr.el (shr-map): Ditto.
3375 2014-03-04 Glenn Morris <rgm@gnu.org>
3377 * minibuffer.el (completion-hilit-commonality):
3378 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3380 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3382 * hilit-chg.el (hilit-chg-unload-function): New function.
3383 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3384 (hilit-chg-map-changes): Prefer cardinal number to digit.
3385 (hilit-chg-display-changes): Reflow docstring.
3386 (highlight-changes-rotate-faces): Remove superfluous backslash.
3388 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3390 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3391 `tramp-send-command-and-check'.
3393 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3395 * hexl.el (hexl-address-region, hexl-ascii-region)
3396 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3397 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3398 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3399 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3400 (hexl-mode): Doc fix.
3401 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3402 (hexl-mode-ruler): Fix typos in docstrings.
3404 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3405 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3406 Remove superfluous backslashes.
3407 (strokes-last-stroke, strokes-global-map, strokes-mode):
3409 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3410 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3411 (strokes-distance-squared, strokes-global-set-stroke)
3412 (strokes-global-set-stroke-string): Doc fixes.
3413 (strokes-help): Fix typos; reflow docstring.
3415 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3417 * window.el (window-in-direction): Fix doc-string.
3419 2014-03-04 Glenn Morris <rgm@gnu.org>
3421 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3422 Explicit error if no grammar.
3423 (smie-config-save): Doc fix. Fix quote typo.
3425 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3427 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3428 electric-indent-mode-hook if we obey electric-indent-mode.
3429 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3430 decide whether we obey electric-indent-mode.
3431 (c-change-set-fl-decl-start, c-extend-after-change-region):
3433 (c-electric-indent-mode-hook): Assume we do want to obey
3434 electric-indent-mode.
3436 * electric.el (electric-indent-mode-has-been-called): Remove.
3437 (electric-indent-mode): Fix accordingly.
3439 * files.el (hack-local-variables): Mention file name in warning.
3441 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3443 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3445 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3446 * simple.el (delete-forward-char): Mark as interactive-only.
3448 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3450 * icomplete.el (icomplete-completions):
3451 Follow-up to 2014-03-01 change.
3453 * icomplete.el: Miscellaneous doc fixes.
3454 Use Icomplete everywhere instead of icomplete for consistency.
3455 (icomplete-max-delay-chars): Fix typo.
3456 (icomplete-mode): Use \[].
3457 (icomplete-tidy, icomplete-exhibit): Reflow.
3458 (icomplete-minibuffer-setup-hook, icomplete-completions):
3459 Remove superfluous backlashes.
3461 * ido.el: Miscellaneous doc fixes.
3462 Use Ido everywhere instead of ido or `ido' for consistency.
3463 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3464 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3465 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3466 (ido-separator): Extract obsolescence info from docstring and declare
3467 with make-obsolete-variable.
3468 (ido-minibuffer-setup-hook): Simplify example.
3469 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3470 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3471 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3472 (ido-everywhere): Reflow docstring.
3473 (ido-toggle-vc): Doc fix.
3474 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3475 of long list of keybindings.
3477 2014-03-03 Glenn Morris <rgm@gnu.org>
3479 * frame.el (display-pixel-height, display-pixel-width)
3480 (display-mm-dimensions-alist, display-mm-height)
3481 (display-mm-width): Doc tweaks.
3483 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3485 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3486 case of undo in region.
3488 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3490 * window.el (fit-window-to-buffer): Fix argument in window-size
3491 call when window is horizontally combined.
3493 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3495 * icomplete.el (icomplete-completions): Use string-width.
3496 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3498 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3500 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3501 Highlight regexp options. (Bug#16914)
3503 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3505 * window.el (window--max-delta-1): Round down when calculating
3506 how many lines/columns we can get from a window.
3508 2014-03-01 Glenn Morris <rgm@gnu.org>
3510 * isearch.el (search-invisible): Doc fix.
3512 * minibuffer.el (completion-hilit-commonality):
3513 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3514 * comint.el (comint-dynamic-list-completions): Doc fix.
3515 * comint.el (comint-dynamic-list-completions):
3516 * filecache.el (file-cache-minibuffer-complete):
3517 * tempo.el (tempo-display-completions):
3518 * eshell/em-hist.el (eshell-list-history):
3519 Replace use of obsolete argument of display-completion-list.
3521 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3523 * icomplete.el (icomplete-completions):
3524 Revert back to using "..." when ?… cannot be displayed.
3526 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3528 * finder.el (finder-unload-function): New function.
3530 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3532 * dframe.el (dframe-detach):
3533 * find-dired.el (find-dired, find-name-dired):
3534 * finder.el (finder-mode-map, finder-mode-syntax-table)
3535 (finder-headmark, finder-select, finder-mouse-select):
3536 Fix docstring typos.
3538 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3540 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3541 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3542 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3543 Fix doc-string based on a suggestion by Nicolas Richard
3544 <theonewiththeevillook@yahoo.fr>.
3545 * help.el (with-help-window): Fix doc-string.
3547 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3549 * net/shr.el (shr-image-animate): New option.
3550 (shr-put-image): Respect shr-image-animate.
3552 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3554 * net/tramp-adb.el (tramp-adb-parse-device-names):
3555 Use `accept-process-output'.
3556 (tramp-adb-handle-file-truename): Cache the localname only.
3557 (tramp-adb-handle-make-directory)
3558 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3559 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3560 modes cannot be changed.
3562 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3563 file properties of symlinks.
3565 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3567 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3568 required/optional fields to match development biblatex. (Bug#16781)
3570 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3572 * saveplace.el (toggle-save-place):
3573 Fix argument handling. (Bug#16673)
3575 2014-02-28 Glenn Morris <rgm@gnu.org>
3577 * minibuffer.el (completions-first-difference)
3578 (completions-common-part, completion-hilit-commonality): Doc fixes.
3580 2014-02-28 Karl Berry <karl@gnu.org>
3582 * info.el (Info-mode-map): Add H for describe-mode,
3583 to synchronize with standalone Info.
3585 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3587 * progmodes/sql.el (sql-interactive-mode):
3588 Avoid setting global comint-input-ring-separator. (Bug#16814)
3590 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3592 * net/dbus.el (dbus--init-bus): Declare function.
3593 (dbus-path-local, dbus-interface-local): New defconst.
3594 (dbus-init-bus): Use them.
3595 (dbus-return-values-table): Extend doc.
3596 (dbus-handle-bus-disconnect): Extend error message.
3598 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3600 * subr.el (y-or-n-p): Fix double space issue in message.
3602 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3604 * net/tramp.el (tramp-call-process): Improve trace message.
3605 (tramp-handle-insert-file-contents): Trace error case.
3607 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3608 <insert-directory>: Use `tramp-handle-insert-directory'.
3609 (tramp-adb-handle-insert-directory): Remove function.
3610 (tramp-adb-send-command-and-check): New defun, replacing
3611 `tramp-adb-command-exit-status'. Change all callees.
3612 (tramp-adb-handle-file-attributes)
3613 (tramp-adb-handle-directory-files-and-attributes): Use it.
3614 (tramp-adb-ls-output-name-less-p):
3615 Use `directory-listing-before-filename-regexp'.
3616 (tramp-adb-handle-delete-directory): Flush also file properties of
3617 the truename of directory.
3618 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3619 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3620 (tramp-adb-handle-write-region): Implement APPEND.
3621 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3622 properties correctly.
3623 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3624 variables. Check for connected devices only when needed.
3626 2014-02-27 Glenn Morris <rgm@gnu.org>
3628 * minibuffer.el (completion-table-dynamic)
3629 (completion-table-with-cache): Doc fixes.
3631 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3632 (completing-read-multiple): Doc fixes.
3634 2014-02-27 Daniel Colascione <dancol@dancol.org>
3636 * minibuffer.el (completion--nth-completion): Fix indentation.
3638 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3639 explicit tramp path is empty.
3641 2014-02-27 Glenn Morris <rgm@gnu.org>
3643 * emacs-lisp/crm.el (completing-read-multiple):
3644 Empower help-enable-auto-load.
3646 2014-02-26 Glenn Morris <rgm@gnu.org>
3648 * startup.el (command-line): Don't init the tty in daemon mode.
3650 Avoid calling tty-setup-hook twice, eg if a term file
3651 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3652 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3653 (tty-create-frame-with-faces): Use it.
3654 * startup.el (command-line): Pass run-hook argument
3655 to tty-run-terminal-initialization.
3657 * dired.el (dired-restore-desktop-buffer): Demote errors;
3658 eg in case a glob match fails. (Bug#16884)
3660 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3662 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3663 error from `read-from-string'. (Bug#16850)
3665 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3666 result of `completing-read' in the interactive form. (Bug#16854)
3668 2014-02-25 Glenn Morris <rgm@gnu.org>
3670 * image.el (image-animate, image-animate-timeout):
3671 Stop animating images in dead buffers. (Bug#16878)
3673 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3675 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3677 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3678 * term/sun.el (sun-raw-prefix-hooks):
3679 Use tty-setup-hook instead of term-setup-hook.
3680 (terminal-init-sun): Construct message from bytecomp plist.
3681 * term/wyse50.el (enable-arrow-keys): Doc fix.
3683 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3685 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3686 Fix docstring typos.
3688 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3690 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3692 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3694 * minibuffer.el (completion--try-word-completion):
3695 Fix error when completing M-x commands (bug#16808).
3697 2014-02-24 Leo Liu <sdl.web@gmail.com>
3699 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3701 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3703 * apropos.el (apropos-print): Avoid formatting error when
3704 apropos-do-all and apropos-compact-layout are both t.
3706 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3708 * apropos.el (apropos-property, apropos-all-words-regexp)
3709 (apropos-true-hit, apropos-variable, apropos-print):
3710 Fix docstring typos, and remove obsolete comment.
3712 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3714 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3715 Preserve trailing "/". (Bug#16851)
3717 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3719 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3720 after `=>' (bug#16811).
3721 (ruby-smie-rules): Handle the inconsistent second element of the
3722 list returned by `smie-indent--parent'.
3723 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3726 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3728 * elec-pair.el (electric-pair-text-syntax-table)
3729 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3730 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3731 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3732 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3734 2014-02-22 Glenn Morris <rgm@gnu.org>
3736 * imenu.el (imenu--generic-function): Doc fix.
3738 * register.el (frame-configuration-to-register): Make obsolete.
3740 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3742 * desktop.el (desktop-save-buffer-p): Do not fail when
3743 desktop-files-not-to-save is nil. Return t for true result
3746 2014-02-22 Daniel Colascione <dancol@dancol.org>
3748 * net/secrets.el (secrets-create-item, secrets-search-items):
3749 Check that attribute values are strings, avoiding the construction
3750 of invalid dbus messages.
3752 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3754 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3755 defun-declarations-alist.
3757 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3759 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3762 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3764 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3765 (whitespace-newline, whitespace-trailing, whitespace-line)
3766 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3767 (whitespace-space-after-tab): Fix typo in docstrings.
3769 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3771 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3773 * electric.el (electric-indent-functions-without-reindent):
3774 Add `yaml-indent-line'.
3776 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3778 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3779 It has done nothing for years; should be removed after the release.
3781 * simple.el (choose-completion): Fix docstring typo.
3782 (read-quoted-char-radix): Remove unneeded * in docstring.
3783 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3784 Don't escape parentheses unnecessarily in docstrings.
3786 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3788 Fix handling of window-min-height/-width (Bug#16738).
3789 * window.el (window--dump-window, window--dump-frame):
3791 (window--min-size-1): Account for window dividers.
3792 When window-resize-pixelwise is nil, delay rounding till after the
3793 sum of the window components has been calculated.
3794 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3795 nil make sure at least one text line and two text columns remain
3797 (window-resize): Signal an error when window-resize-apply fails.
3798 (window--resize-child-windows): Fix calculation of by how many
3799 pixels a window can still be shrunk via window-new-normal.
3800 (adjust-window-trailing-edge): Call window--resizable with
3801 correct TRAIL argument.
3803 (with-temp-buffer-window): Don't evaluate BODY within
3804 with-current-buffer (Bug#16816).
3806 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3808 * net/tramp.el (tramp-check-cached-permissions):
3809 Call `file-attributes' with `suffix' being a symbol but a string.
3811 2014-02-21 Daniel Colascione <dancol@dancol.org>
3813 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3814 (dbus-init-bus): New function: call into dbus-init-bus-1
3815 and installs a handler for the disconnect signal.
3816 (dbus-call-method): Rewrite to look for result in cons.
3817 (dbus-call-method-handler): Store result in cons.
3818 (dbus-check-event): Recognize events with nil sender as valid.
3819 (dbus-handle-bus-disconnect): New function. React to bus
3820 disconnection signal by synthesizing dbus error for each
3821 pending synchronous or asynchronous call.
3822 (dbus-notice-synchronous-call-errors): New function.
3823 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3824 is true, not all the time.
3826 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3828 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3829 Remove obsolescence declarations, these variables do not exist anymore.
3831 * savehist.el (savehist-save-minibuffer-history)
3832 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3833 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3834 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3835 mostly, refer to "Savehist mode" when talking about the mode,
3836 and not the function.
3838 * saveplace.el (save-place): Remove redundant info in docstring.
3839 (save-place-forget-unreadable-files, toggle-save-place)
3840 (save-place-forget-unreadable-files, save-place-dired-hook):
3841 Fix typos and remove unneeded backslashes.
3843 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3845 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3846 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3848 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3849 <insert-directory>: Use `tramp-handle-insert-directory'.
3850 (tramp-gvfs-handle-insert-directory): Remove function.
3852 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3853 Call `tramp-handle-insert-directory'.
3855 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3857 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3858 before the start of buffer/region (bug#16799).
3860 2014-02-20 Glenn Morris <rgm@gnu.org>
3862 * isearch.el (search-invisible): Doc fix.
3864 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3866 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3869 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3871 * frameset.el (frameset-restore): Delay removing an old frame's
3872 duplicate id until the new frame has been correctly created.
3874 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3876 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3877 (tramp-check-cached-permissions): Call `file-attributes' if the
3880 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3881 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3883 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3884 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3885 (tramp-gvfs-maybe-open-connection): Set always connection
3886 properties, even if target is mounted already.
3888 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3889 Set tramp-autoload cookie.
3890 (tramp-get-remote-touch): New defun.
3891 (tramp-sh-handle-set-file-times): Use it.
3892 (tramp-sh-handle-directory-files-and-attributes):
3893 Use `tramp-handle-directory-files-and-attributes' if neither stat
3894 nor perl are available on the remote host.
3896 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3897 "/". Write long listing only when "l" belongs to the switches.
3899 * net/trampver.el: Update release number.
3901 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3903 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3905 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3907 * window.el (window-state-put): Allow WINDOW to refer to an
3908 internal window (Bug#16793).
3910 2014-02-19 Glenn Morris <rgm@gnu.org>
3912 * textmodes/remember.el: Move provide statement to end.
3913 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3914 (remember-notes): Doc fixes.
3916 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * delsel.el (delete-char): Restore incorrectly erased property
3921 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3923 * frameset.el (frameset--restore-frame): When a frame is being reused
3924 and its root window is not alive, delete all the frame's windows before
3925 restoring the window state. This works around the issue in bug#16793.
3927 2014-02-18 Glenn Morris <rgm@gnu.org>
3929 * textmodes/remember.el (remember-data-directory)
3930 (remember-directory-file-name-format, remember-store-in-files)
3931 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3932 (remember-notes-save-and-bury-buffer)
3933 (remember-notes--kill-buffer-query): Doc fixes.
3935 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3937 2014-02-17 Alan Mackenzie <acm@muc.de>
3939 Connect electric-indent-mode up with CC Mode. Bug #15478.
3940 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3941 to electric-indent-{,local-}-mode.
3942 (c-basic-common-init): Set electric-indent-inhibit.
3943 Initialise c-electric-flag from electric-indent-mode.
3944 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3945 New hook functions which propagate electric-indent-mode to CC mode.
3947 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3948 hit, toggle electric-indent-local-mode.
3950 * electric.el (electric-indent-mode-has-been-called):
3953 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3955 * frameset.el (frameset-cfg-id): New function.
3956 (frameset--reuse-frame, frameset-restore): Use it.
3957 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3959 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3961 * ido.el (ido-file-internal): Remove unused var `d'.
3962 Use \` for to match BoS. Fit within 80n columns.
3964 2014-02-17 Daniel Colascione <dancol@dancol.org>
3966 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3967 dbus-call-method check for completion using a busy-wait loop with
3970 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3972 Sync with Tramp 2.2.9.
3974 * net/trampver.el: Update release number.
3976 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3978 * ido.el (ido-file-internal): Don't add the name of an existing
3979 directory twice. (Bug#16747)
3981 2014-02-16 Glenn Morris <rgm@gnu.org>
3983 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3984 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3986 2014-02-15 Michael R. Mauger <michael@mauger.com>
3988 * progmodes/sql.el: Version 3.4
3989 (sql-oracle-options): New default value ("-L").
3990 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3991 (sql-placeholders-filter): Correct placeholder pattern.
3992 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3993 (sql-login-delay): New variable.
3994 (sql-product-interactive): Use it.
3996 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3998 * frameset.el (frameset--jump-to-register): Check that buffer is live
4001 2014-02-15 Glenn Morris <rgm@gnu.org>
4003 * info.el (info-initialize): Revert 2014-01-10 change.
4005 2014-02-14 Glenn Morris <rgm@gnu.org>
4007 * replace.el (map-query-replace-regexp)
4008 (read-regexp-defaults-function, read-regexp): Doc fixes.
4010 * dired.el (dired-read-regexp):
4011 * faces.el (list-faces-display):
4012 * misearch.el (multi-isearch-read-matching-buffers)
4013 (multi-isearch-read-matching-files):
4014 * play/cookie1.el (cookie-apropos):
4015 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4017 * textmodes/remember.el (remember): Use frameset-to-register
4018 rather than frame-configuration-to-register.
4020 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4022 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4023 incorrect keybinding.
4025 2014-02-13 Daniel Colascione <dancol@dancol.org>
4027 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4028 when adding overlays so that line numbers from compiler match line
4031 2014-02-13 Glenn Morris <rgm@gnu.org>
4033 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4035 * jit-lock.el (jit-lock-mode): Doc fix.
4037 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4039 * apropos.el (apropos-read-pattern): When the user passes an empty
4040 string, give a more helpful error message than "Wrong type
4041 argument: stringp, nil".
4043 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4047 2014-02-13 Glenn Morris <rgm@gnu.org>
4049 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4051 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4054 shift-select commands.
4056 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4058 * progmodes/js.el (js-indent-line): Don't widen.
4059 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4061 2014-02-12 Glenn Morris <rgm@gnu.org>
4063 * icomplete.el (icomplete): Add info-link to defgroup.
4064 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4065 (icomplete-minibuffer-map, icomplete-mode)
4066 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4068 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4069 (package-menu-filter): Rename from package-menu-filter-interactive.
4072 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4074 * frameset.el (frameset--jump-to-register): Select the required
4075 window and buffer before restoring position (bug#16696).
4077 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4079 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4081 2014-02-10 Glenn Morris <rgm@gnu.org>
4083 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4085 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4087 * w32-common-fns.el (x-get-selection): Doc fix.
4088 * select.el (x-get-selection): Doc fix. (Bug#15109)
4090 * face-remap.el (face-remap-add-relative)
4091 (face-remap-remove-relative, face-remap-reset-base)
4092 (face-remap-set-base): Call force-mode-line-update to redisplay
4093 the current buffer due to potential change in faces. (Bug#16709)
4095 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4097 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4098 script more robustly.
4100 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4102 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4104 * simple.el (choose-completion): Doc fix (bug#14160).
4106 * subr.el (event-start): Say what a nil EVENT value means.
4108 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4111 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4113 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4115 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4117 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4118 predicate function (bug#15455).
4120 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4122 * ielm.el (inferior-emacs-lisp-mode): Instead of
4123 `comment-use-global-state', set `comment-use-syntax'.
4125 2014-02-10 Glenn Morris <rgm@gnu.org>
4127 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4129 2014-02-09 Alan Mackenzie <acm@muc.de>
4131 Fix c-invalidate-state-cache on narrowed buffers.
4132 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4133 Widen when setting and clearing the CPP delimiter properties.
4135 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4137 * help.el (describe-bindings): Doc fix (bug#9888).
4139 * files.el (save-buffer): Use ARG as the parameter name for
4140 consistency (bug#10346).
4141 (save-buffer): Clarify the 0 argument (bug#10346).
4143 * cus-edit.el (customize-apropos): Fix error string.
4144 (custom-buffer-create): Doc fix (bug#11122).
4145 (custom-sort-items): Doc fix (bug#11121).
4147 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4149 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4150 (icomplete-simple-completing-p): Mention the previous variable.
4152 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4153 meaning of the parameter (bug#12282).
4155 * files.el (find-file-noselect): Clarify prompt when changing
4156 readedness (bug#13261).
4157 (locate-file): Suffixes aren't returned, so don't say that they
4159 (backup-inhibited): Doc clarification (bug#12525).
4161 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4162 before we actually start to delete things (bug#16331).
4164 * subr.el (event-start): Doc fix (bug#14228).
4167 2014-02-09 Glenn Morris <rgm@gnu.org>
4169 * emacs-lisp/warnings.el (lwarn):
4170 Empower help-enable-auto-load. (Bug#15940)
4172 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4174 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4177 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4179 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4180 Insert output at end of buffer. (Bug#16120)
4182 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4184 * simple.el (choose-completion-string-functions): Document new
4185 calling convention (bug#14153).
4186 (execute-extended-command): Clarify doc string (bug#13373).
4188 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4190 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4191 (find-grep-dired): Doc fix (bug#14288).
4193 2014-02-08 Juri Linkov <juri@jurta.org>
4195 * isearch.el (isearch-quote-char): Check character validity
4196 like in `quoted-insert' (bug#16677).
4198 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4200 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4202 * isearch.el (isearch-hide-immediately): Doc clarification
4205 * simple.el (line-move): Document utility function used many
4206 places in the Emacs sources (bug#14843).
4208 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4209 (dired-prev-marked-file): Doc fix (bug#14855).
4210 (dired-up-directory): Doc fix (bug#14848).
4212 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4214 * files.el (file-relative-name): Doc fix (bug#15159).
4216 * fringe.el (fringe-styles): Doc fix (bug#15239).
4218 * isearch.el (isearch-filter-predicate): Documentation typo fix
4221 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4223 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4225 * replace.el (replace-match-maybe-edit): Doc clarification
4228 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4230 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4232 2014-02-08 Glenn Morris <rgm@gnu.org>
4234 * help-fns.el (describe-variable):
4235 Check {file,dir}-local-variables-alist, and buffer-file-name,
4236 in the correct buffer.
4238 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4240 * help-fns.el (describe-variable): Fix the case where
4241 a value is directory-local with no dir-locals file. (Bug#16635)
4243 2014-02-08 Glenn Morris <rgm@gnu.org>
4245 * abbrev.el (edit-abbrevs-mode):
4246 Derive from fundamental-mode. (Bug#16682)
4248 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4250 * simple.el (quoted-insert): Check character validity (bug#16677).
4252 2014-02-07 Juri Linkov <juri@jurta.org>
4254 * desktop.el (desktop-read): Claim the lock when the owner is not
4255 the current process. (Bug#16157)
4257 2014-02-07 Juri Linkov <juri@jurta.org>
4259 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4260 to "\\` ". (Bug#16651)
4262 2014-02-07 Juri Linkov <juri@jurta.org>
4264 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4265 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4266 (desktop-auto-save-cancel-timer): New function with some code from
4267 `desktop-auto-save-set-timer'.
4268 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4269 Instead of setting `desktop-save-mode' to nil, call
4270 `desktop-save-mode' with arg 0. (Bug#16630)
4272 2014-02-07 Glenn Morris <rgm@gnu.org>
4274 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4275 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4276 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4278 * obsolete/iswitchb.el: Move to obsolete/.
4279 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4280 since obsolete/ is not scanned for autoloads.
4281 * emacs-lisp/authors.el (authors-valid-file-names):
4284 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4285 Disable now non-functional find-file-hook.
4287 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4289 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4290 instead of ";" in order to avoid additional prompts. Let heredoc
4291 scripts read from tty. (Bug#16582)
4292 (tramp-send-command): No special handling of heredocs, it isn't
4295 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4298 with a space (bug#16664). Limit the symbols considered to the ones
4299 that are bound or fbound (bug#16646).
4301 2014-02-06 Glenn Morris <rgm@gnu.org>
4303 * epa.el (epa-mail-aliases): Doc fix.
4305 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4307 * emacs-lisp/lisp.el (lisp-completion-at-point):
4308 Use `completion-table-merge' instead of `completion-table-in-turn'
4311 * minibuffer.el (completion-table-merge): New function.
4313 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4315 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4316 (tramp-sh-handle-set-file-acl)
4317 (tramp-sh-handle-start-file-process)
4318 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4319 (tramp-find-executable, tramp-send-command): Use it.
4321 2014-02-05 Glenn Morris <rgm@gnu.org>
4323 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4325 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4327 * progmodes/python.el (python-shell-send-string)
4328 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4330 2014-02-04 Anders Lindgren <andlind@gmail.com>
4332 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4333 the names (bug#16620).
4335 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4337 * faces.el (window-divider): New default value. Rewrite doc-string.
4338 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4340 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4342 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4343 `protected' and `public' can also be called without arguments.
4345 2014-02-03 Glenn Morris <rgm@gnu.org>
4347 * register.el (window-configuration-to-register)
4348 (frame-configuration-to-register): Unadvertise unused argument.
4349 * frameset.el (frameset-to-register): Remove unused argument.
4351 * frameset.el (frameset-to-register):
4352 * kmacro.el (kmacro-to-register):
4353 * register.el (increment-register):
4354 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4355 (calc-append-to-register, calc-prepend-to-register):
4356 * play/gametree.el (gametree-layout-to-register)
4357 (gametree-apply-register-layout):
4358 * textmodes/picture.el (picture-clear-rectangle-to-register)
4359 (picture-yank-rectangle-from-register):
4360 * vc/emerge.el (emerge-combine-versions-register):
4361 Use register-read-with-preview to read registers.
4363 2014-02-03 João Távora <joaotavora@gmail.com>
4365 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4366 when at beginning of (possibly narrowed) buffer.
4368 2014-02-02 Daniel Colascione <dancol@dancol.org>
4370 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4371 Also try to display local help from just before point.
4373 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4375 c-parse-state. Don't "append-lower-brace-pair" in certain
4376 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4377 recognised as a comment.
4379 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4380 as well as normal comment starter.
4381 (c-parse-state-get-strategy): Extra return possibility
4383 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4384 return value list to indicate replacement of a brace-pair cons
4386 (c-parse-state-1): With 'back-and-forward, only call
4387 c-append-lower-brace-pair-to state-cache when cons-separated.
4389 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4391 * term/ns-win.el (ns-suspend-error): New function.
4392 (ns-initialize-window-system): Add ns-suspend-error to
4393 suspend-hook (Bug#16612).
4395 2014-02-02 Daniel Colascione <dancol@dancol.org>
4397 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4398 Make loading cc-mode silent.
4400 2014-02-02 Daniel Colascione <dancol@dancol.org>
4402 * comint.el (comint-prompt-read-only): Change doc to suggest
4405 2014-02-02 Glenn Morris <rgm@gnu.org>
4407 * register.el (register-read-with-preview, point-to-register)
4408 (window-configuration-to-register, frame-configuration-to-register)
4409 (jump-to-register, number-to-register, view-register, insert-register)
4410 (copy-to-register, append-to-register, prepend-to-register)
4411 (copy-rectangle-to-register): Doc fixes.
4413 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4415 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4416 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4417 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4418 * help-fns.el (describe-function-1): Use it.
4420 2014-02-02 Glenn Morris <rgm@gnu.org>
4422 * register.el (register-preview-default): New function,
4423 split from register-preview.
4424 (register-preview-function): Rename from register-preview-functions,
4426 (register-preview): Use register-preview-function.
4427 (register-read-with-preview): Error on non-character event. (Bug#16595)
4429 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4431 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4432 `:' before binary operators (bug#16609). Don't check for `:'
4433 before `[' and `(', or their syntax status. A percent literal
4434 can't end with either.
4435 (ruby-font-lock-keywords): For built-ins that require arguments,
4436 check that they're followed by something that looks like argument
4439 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4441 * subr.el (butlast): Document what an omitted N means (bug#13437).
4444 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4446 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4447 depth shallower (bug#16587).
4448 (shr-tag-svg): Respect `shr-inhibit-images'.
4449 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4451 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4453 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4454 (ruby-smie-grammar): Make "." right-associative. Make its priority
4455 lower than the ternary and all binary operators.
4456 (ruby-smie-rules): Indent "(" relative to the first non-"."
4457 parent, or the first "." parent at indentation.
4458 Use `ruby-align-chained-calls' for indentation of "." tokens.
4461 2014-01-31 Juri Linkov <juri@jurta.org>
4463 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4464 from `make-hash-table'.
4466 * textmodes/ispell.el (ispell-init-process): Change message format
4467 to be consistent with other messages.
4469 2014-01-31 Glenn Morris <rgm@gnu.org>
4471 * delsel.el (delete-selection-mode): Doc fix.
4473 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4474 (trace-function-background): Doc fixes.
4476 * ido.el (ido-use-virtual-buffers): Doc fix.
4477 Reset :version, since the default value has not changed.
4479 * register.el (register-preview-delay, register-read-with-preview):
4482 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4483 do not mess with mail-buffer position (fixes 2009-11-03 change).
4484 * progmodes/cc-mode.el (c-submit-bug-report):
4485 Check auto-fill-mode is bound. (Bug#16592)
4487 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4489 * startup.el (fancy-splash-image-file): New function,
4490 split from fancy-splash-head.
4491 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4492 so that we are both using the same image. (Bug#16574)
4494 2014-01-30 Glenn Morris <rgm@gnu.org>
4496 * simple.el (eval-expression): Doc fix.
4498 * hexl.el (hexl-mode-hook):
4499 * ielm.el (ielm-mode-hook):
4500 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4501 (lisp-interaction-mode-hook):
4502 * progmodes/cfengine.el (cfengine3-documentation-function):
4503 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4505 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4507 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4508 is a symbol (bug#16584).
4510 2014-01-30 Glenn Morris <rgm@gnu.org>
4512 * help.el (help-for-help-internal): Add "P" to text.
4514 2014-01-29 Glenn Morris <rgm@gnu.org>
4516 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4518 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4520 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4523 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4525 * progmodes/hideif.el: Extend to full CPP expression syntax.
4526 (hif-token-alist): Add missing tokens.
4527 (hif-token-regexp): Add support for float/octal/hex immediates.
4528 (hif-string-literal-regexp): New const.
4529 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4530 (hif-exprlist): New function.
4531 (hif-parse-if-exp): Use it.
4532 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4533 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4534 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4535 (hif-logxor, hif-comma): New functions.
4537 2014-01-28 Glenn Morris <rgm@gnu.org>
4539 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4541 * indent.el (tab-stop-list): Doc fix. Add :version.
4543 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4544 (cvs-append-to-ignore): Add compatibility alias.
4546 2014-01-27 Glenn Morris <rgm@gnu.org>
4548 * dired.el (dired-hide-details-mode): Don't autoload it,
4549 since it cannot be used outside Dired buffers anyway.
4551 * emulation/cua-base.el (cua-mode): Doc fix.
4553 * dired.el (dired-hide-details-hide-symlink-targets)
4554 (dired-hide-details-hide-information-lines)
4555 (dired-hide-details-mode): Doc fixes.
4557 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4558 * strokes.el (strokes-file): Doc fix. Bump :version.
4559 (strokes-help): Doc fix.
4560 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4561 * emulation/viper.el (viper): Doc fix for custom group.
4562 (top-level): Remove oh-so-no-longer-relevant text about vip.
4563 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4565 * ido.el (ido-save-directory-list-file):
4566 * saveplace.el (save-place-file):
4567 * calendar/timeclock.el (timeclock-file):
4568 * net/quickurl.el (quickurl-url-file):
4569 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4570 * progmodes/idlwave.el (idlwave-config-directory):
4571 * textmodes/remember.el (remember-data-file):
4574 2014-01-26 Glenn Morris <rgm@gnu.org>
4576 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4577 Doc fix. Make obsolete.
4578 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4580 * sort.el (delete-duplicate-lines): Doc fix.
4582 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4584 * progmodes/ada-mode.el (ada):
4585 * woman.el (woman): Link to info manual and Commentary section.
4587 * progmodes/flymake.el (flymake):
4588 * nxml/nxml-mode.el (nxml):
4590 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4591 * htmlfontify.el (htmlfontify):
4594 * ido.el (ido): Link to info manual.
4596 2014-01-25 Leo Liu <sdl.web@gmail.com>
4598 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4600 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4602 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4605 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4607 * net/eww.el (eww-download-callback):
4608 Fix reference to eww-download-directory.
4610 * emacs-lisp/bytecomp.el (byte-compile-file):
4611 Remove unused local variable `file-name'.
4613 2014-01-24 Glenn Morris <rgm@gnu.org>
4615 * woman.el (woman-default-faces, woman-monochrome-faces):
4616 Fix obsolescence specification.
4618 * subr.el (with-demoted-errors): Doc fix.
4620 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4622 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4623 (cl--macroexp-fboundp): New function.
4624 (cl--make-type-test): Use it.
4626 2014-01-23 Glenn Morris <rgm@gnu.org>
4628 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4629 * simple.el (eval-expression): Doc fixes.
4631 2014-01-22 Glenn Morris <rgm@gnu.org>
4633 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4635 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4637 * emacs-lisp/package.el: Write files silently.
4638 (package-autoload-ensure-default-file, package--write-file-no-coding)
4639 (package-generate-description-file, package--download-one-archive)
4640 (package-install-from-archive): Tell `write-region' to stay quiet.
4641 (package-menu-mode, package-menu--print-info): Omit the Archive column
4642 if there's only one archive.
4643 (package-all-keywords, package--has-keyword-p): Remove dead code.
4645 2014-01-22 Glenn Morris <rgm@gnu.org>
4647 * version.el (emacs-bzr-version-bzr): Fix typo.
4649 * version.el (emacs-repository-get-version):
4650 Check either .bzr or .git, but not both.
4651 Make the git case actually use the DIR argument, and return nil
4652 rather than the empty string.
4653 Avoid error if .git exists but the git executable is not found.
4655 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4657 Fixes in window size functions around Bug#16430 and Bug#16470.
4658 * window.el (window-total-size, window-size): New argument ROUND.
4659 (window--min-delta-1, window-min-delta, window--max-delta-1):
4660 Be more conservative when calculating the numbers of lines or
4661 columns a window can shrink (Bug#16430).
4662 (fit-window-to-buffer): Simplify code.
4663 * term.el (term-window-width): Call window-body-width again.
4665 2014-01-22 Glenn Morris <rgm@gnu.org>
4667 * image.el (image-format-suffixes): Doc fix.
4669 * international/quail.el (quail-define-package): Doc fix.
4671 * emacs-lisp/authors.el (authors-valid-file-names)
4672 (authors-renamed-files-alist): Additions.
4674 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4675 reverts 2014-01-09 change. (Bug#16422)
4677 * calc/calc-embed.el (thing-at-point-looking-at):
4678 * emacs-lisp/map-ynp.el (x-popup-dialog):
4679 * obsolete/lmenu.el (x-popup-dialog):
4680 * emacs-lisp/package.el (url-recreate-url):
4681 * mail/mailclient.el (clipboard-kill-ring-save):
4682 * subr.el (x-popup-dialog): Update declaration.
4683 * mail/rmail.el (rmail-mime-message-p):
4684 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4686 2014-01-21 Daniel Colascione <dancol@dancol.org>
4688 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4689 Correctly detect when we're inside an arithmetic expansion form
4690 containing nested parenthesis.
4691 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4692 to detect cases where we shouldn't expand "<<" to a heredoc
4695 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4697 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4698 (eldoc--message-command-p): New function.
4699 (eldoc-display-message-p): Use it.
4700 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4701 message is not automatically erased for us.
4702 (eldoc-print-current-symbol-info): Erase previous message, if any.
4704 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4706 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4707 specify it's an interactive function.
4709 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4710 Fix regex used for scanning for citation keys which failed for
4711 citations with optional arguments.
4713 2014-01-21 Leo Liu <sdl.web@gmail.com>
4715 * simple.el (read--expression): Don't enable eldoc-mode.
4717 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * simple.el (move-beginning-of-line): Make sure we don't move forward
4722 2014-01-20 Juri Linkov <juri@jurta.org>
4724 * saveplace.el (toggle-save-place, save-place-to-alist)
4725 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4726 'dired-mode) before checking for dired-directory. (Bug#16477)
4728 2014-01-20 Juri Linkov <juri@jurta.org>
4730 * indent.el (indent-line-to): Use backward-to-indentation
4731 instead of back-to-indentation. (Bug#16461)
4733 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4735 Revert some of the CANNOT_DUMP fix (Bug#16494).
4736 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4737 but fixing this can wait until after the next release.
4738 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4740 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4742 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4743 Use `password-word-equivalents'.
4744 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4745 to t. (Bug#5664, Bug#13124)
4747 2014-01-19 Alan Mackenzie <acm@muc.de>
4749 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4751 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4752 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4753 * progmodes/cc-mode.el (c-before-change, c-after-change)
4754 (c-font-lock-fontify-region): Bind it here.
4756 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4758 * term.el (term-window-width): Call window-text-width instead of
4759 window-width (Bug#16470).
4761 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4763 * simple.el (password-word-equivalents): Remove duplicates.
4764 Sort, to make this easier next time.
4765 Downcase. Omit ": " after "jelszó".
4767 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4769 * term/common-win.el (saved-region-selection): Defvar it.
4770 (x-select-text): Set saved-region-selection (Bug#16382).
4772 2014-01-18 Glenn Morris <rgm@gnu.org>
4774 * emacs-lisp/authors.el (authors-aliases)
4775 (authors-renamed-files-alist): Add some entries.
4777 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4779 * net/tramp.el (tramp-password-prompt-regexp):
4780 Use `password-word-equivalents' if available.
4781 (tramp-action-password, tramp-process-one-action)
4782 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4784 2014-01-17 Chong Yidong <cyd@gnu.org>
4786 * simple.el (password-word-equivalents): New defcustom.
4787 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4789 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4792 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4794 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4795 (ruby-align-to-stmt-keywords): Change the default value.
4796 Use `ruby-alignable-keywords' to generate the possible customization
4798 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4799 keywords, check against the value of `ruby-alignable-keywords'
4800 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4802 2014-01-17 Glenn Morris <rgm@gnu.org>
4804 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4806 Make M-x authors return zero *Authors Errors* from current logs.
4807 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4808 (authors-ignored-files): Add some entries, remove others.
4809 (authors-ambiguous-files, authors-valid-file-names):
4811 (authors-renamed-files-alist): Add, remove, and adjust entries.
4812 (authors-renamed-files-regexps): Add some entries.
4813 Remove some very broad ones. Make some entries `lax'.
4814 (authors-lax-changelogs): New constant.
4815 (authors-disambiguate-file-name): Treat top-level specially.
4816 (authors-lax-changelog-p): New function.
4817 (authors-canonical-file-name): Check file as written against
4818 authors-valid-file-names. Do not special-case etc/.
4819 Handle `lax' logs and authors-renamed-files-regexps elements.
4821 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4823 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4824 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4827 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4830 Assume we're already in the proper buffer.
4831 Inspired by Anders Lindgren <andlind@gmail.com>.
4832 (follow-post-command-hook): Call it from the right buffer.
4833 (follow-comint-scroll-to-bottom): Adjust call.
4834 (follow-all-followers): Use get-buffer-window-list.
4836 2014-01-15 Daniel Colascione <dancol@dancol.org>
4838 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4839 `buffer-file-name' in interactive-form so that we don't leave
4840 pathless file names in `file-name-history'.
4842 2014-01-15 Juri Linkov <juri@jurta.org>
4844 * indent.el (indent-rigidly): Set deactivate-mark to nil
4845 in transient indentation mode. (Bug#16438)
4847 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4849 * emacs-lisp/package.el (package-desc-keywords): New function
4851 (describe-package-1, package-all-keywords)
4852 (package--has-keyword-p): Use it.
4854 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4856 * simple.el (define-alternatives): When creating the
4857 COMMAND-alternatives variable, assign COMMAND as its definition
4858 name so that `describe-variable' can relocate it.
4860 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4862 * font-lock.el (font-lock-keywords): Fix typo in docstring
4865 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4867 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4868 line instead of wrongly reset `add-coment' (bug#13577).
4870 2014-01-14 Daiki Ueno <ueno@gnu.org>
4872 * epa-file.el (epa-file-write-region): Encode the region according
4873 to `buffer-file-format'. Problem reported at:
4874 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4876 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4878 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4879 so it applies in the right buffer (bug#16410).
4881 2014-01-13 Daniel Colascione <dancol@dancol.org>
4883 * textmodes/rst.el (rst-define-key): Provide deprecated
4884 keybindings through named functions instead of anonymous ones so
4885 that "??" doesn't appear in describe-mode output.
4887 2014-01-13 Bastien Guerry <bzg@gnu.org>
4889 * simple.el (define-alternatives): Call the selected command
4890 interactively. When setting `COMMAND--implementation' for the
4891 first time, tell the user how to chose another implementation.
4892 Enhance the docstring.
4894 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4897 (log-edit--match-first-line): New function.
4898 (log-edit-font-lock-keywords): Use it.
4899 (log-edit-mode): Make jit-lock-defer-multiline work.
4901 2014-01-13 Bastien Guerry <bzg@gnu.org>
4903 * rect.el (rectangle-mark-mode): When the region is not active,
4904 display a message saying that the mark as been set and that
4905 rectangle mode is in use.
4906 (rectangle--highlight-for-redisplay): Only put an overlay with a
4907 visible vertical bar when (display-graphic-p) is non-nil.
4908 This partially fixes Bug#16403.
4910 2014-01-13 Juri Linkov <juri@jurta.org>
4912 * info.el (Info-find-file): Go to DIR before displaying the error
4913 about a nonexistent file if no previous Info file is visited.
4914 Use `user-error' instead of `error' for "Info file %s does not exist".
4915 (Info-find-node-2): In case of a nonexistent node in unwind forms
4916 go to the Top node if there is no previous node to revert to.
4919 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4921 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4922 * window.el (fit-frame-to-buffer): Fix doc-string.
4923 Respect window-min-height/-width. Fit pixelwise when
4924 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4925 when avoiding that frame goes partially off-screen.
4926 (fit-window-to-buffer): Respect window-min-height/-width
4929 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4931 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4932 after an empty line.
4934 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4936 * net/shr.el (shr-render-region): Autoload.
4938 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4940 * net/eww.el (eww-download-directory): Rename from
4941 `eww-download-path' (Bug#16419).
4943 2014-01-12 Leo Liu <sdl.web@gmail.com>
4945 * dired-x.el (dired-mode-map): Fix last change.
4947 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4949 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4952 * emacs-lisp/generic.el (generic--normalize-comments):
4953 Rename from generic--normalise-comments. All uses changed.
4954 * play/bubbles.el (bubbles--neighborhood-score)
4955 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4956 (bubbles--neighborhood-available)
4957 (bubbles--update-neighborhood-score):
4958 Rename from names with 'neighbourhood'. All uses changed.
4960 2014-01-12 Leo Liu <sdl.web@gmail.com>
4962 Re-implement the feature of showing eldoc info after editing.
4963 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4964 (eldoc-edit-message-commands): New function.
4965 (eldoc-print-after-edit): New variable.
4966 (eldoc-pre-command-refresh-echo-area): Emit message only by
4967 eldoc-message-commands.
4968 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4969 if eldoc-print-after-edit is set. (Bug#16346)
4970 * simple.el (read--expression): Enable eldoc-mode.
4971 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4973 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4974 Eric S. Raymond <esr@thyrsus.com>
4976 * version.el (emacs-repository-get-version): Enhance so the
4977 function works correctly in either a Bazaar or Git repo.
4979 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4981 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4982 Goes with removal of the joke manpages from /etc.
4984 2014-01-10 Kenichi Handa <handa@gnu.org>
4986 * mail/rmail.el (rmail-get-coding-system):
4987 Check rmail-get-coding-function before "funcall"ing it.
4989 2014-01-10 Glenn Morris <rgm@gnu.org>
4991 * emacs-lisp/authors.el (authors-fixed-entries):
4992 Update for files that no longer exist.
4994 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4996 * version.el (emacs-bzr-get-version): Restore compatibilty with
4999 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
5001 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5004 2014-01-10 Eli Zaretskii <eliz@gnu.org>
5006 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5008 2014-01-10 Chong Yidong <cyd@gnu.org>
5010 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5012 2014-01-10 Anders Lindgren <andlind@gmail.com>
5014 * follow.el (follow-cache-command-list): Include right-char and
5017 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5020 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5021 * woman.el (woman-mark-horizontal-position):
5022 Rename from woman-mark-horizonal-position. Use changed.
5024 2014-01-10 Glenn Morris <rgm@gnu.org>
5026 * info.el (info-initialize): If running uninstalled, ensure our
5027 own info files are always found first, even if INFOPATH is set.
5029 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5031 2014-01-09 David Engster <deng@randomsample.de>
5033 * emacs-lisp/eieio-custom.el:
5034 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5035 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5036 * emacs-lisp/eieio.el: Regenerate autoloads.
5038 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5040 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5041 following renames. (Bug#8756)
5043 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5045 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5047 (activate-mark): Add `no-tmm' argument.
5048 (set-mark, push-mark-command): Use it instead of running
5049 activate-mark-hook by hand.
5051 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5053 In preparation for the move to git, sanitize out some
5054 Bazaar-specific names.
5056 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5058 * version.el (emacs-bzr-version): Name changed to
5059 emacs-repository-version. Obsolete-variable alias made.
5060 * loadup.el: Follow through on this name change.
5061 * mail/emacsbug.el (report-emacs-bug): Factor out any
5062 assumption about the version control system in use.
5064 2014-01-08 David Engster <deng@randomsample.de>
5066 * help-fns.el (help-fns-describe-function-functions):
5067 New variable to call functions for augmenting help buffers.
5068 (describe-function-1): Remove explicit calls to
5069 `help-fns--compiler-macro', `help-fns--parent-mode' and
5070 `help-fns--obsolete'. Put them in above new variable instead, and
5071 call them through `run-hook-with-args'.
5072 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5073 `eieio-describe-class'. Not meant for interactive use anymore,
5074 but to augment existing help buffers. Remove optional second
5075 argument. Create proper button for file location.
5076 Rewrite function to use `insert' instead of `princ' and `prin1' where
5078 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5079 (eieio-method-def, eieio-class-def): Move further up.
5080 (describe-method, describe-generic, eieio-describe-method):
5082 (eieio-help-constructor, eieio-help-generic): Rename from
5083 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5084 Rewrite to use `insert' in the current buffer and use proper help
5086 (eieio-help-find-method-definition)
5087 (eieio-help-find-class-definition): Also accept symbols as
5089 (eieio-help-mode-augmentation-maybee): Remove.
5090 (eieio-describe-class-sb): Use `describe-function'.
5091 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5092 Add `eieio-help-generic' and `eieio-help-constructor'.
5094 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5097 * language/china-util.el (hz-ascii-designation):
5098 Rename from hz-ascii-designnation.
5099 (hz-ascii-designation): Rename from hz-ascii-designnation.
5102 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5104 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5107 2014-01-08 Bastien Guerry <bzg@gnu.org>
5109 * emacs-lisp/package.el (package-delete):
5110 Correctly delete the package from package-alist.
5112 2014-01-08 Daiki Ueno <ueno@gnu.org>
5114 * emacs-lisp/package.el (url-recreate-url): Declare.
5115 (url-http-target-url): Declare.
5116 (package-handle-response): Include requested URL in the error message.
5117 (package--check-signature): Don't re-signal errors from
5118 package--with-work-buffer. Suggested by Stefan Monnier.
5120 2014-01-07 Bastien Guerry <bzg@gnu.org>
5122 * minibuffer.el (completion--try-word-completion): When both a
5123 hyphen and a space are possible candidates for the character
5124 following a word, display both candidates. (Bug#15980)
5126 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5128 * window.el (balance-windows-2): While rounding don't give a
5129 window more than the remainder. Bug#16351, bug#16383.
5131 2014-01-07 Glenn Morris <rgm@gnu.org>
5133 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5134 (menu-bar-help-menu): Use view-external-packages instead.
5136 2014-01-07 Bastien Guerry <bzg@gnu.org>
5138 * emacs-lisp/package.el (package-delete): Also delete the package
5139 name from `package-alist', not its description only.
5141 2014-01-07 Glenn Morris <rgm@gnu.org>
5143 * help.el (view-external-packages):
5144 * menu-bar.el (menu-bar-help-extra-packages):
5145 Visit efaq.info rather than etc/MORE.STUFF.
5147 2014-01-07 Juri Linkov <juri@jurta.org>
5149 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5150 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5152 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5153 that shadows RET. (Bug#16342)
5155 2014-01-07 Chong Yidong <cyd@gnu.org>
5157 * isearch.el (isearch-yank-char, isearch-yank-word)
5158 (isearch-yank-line): Doc fix.
5160 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5163 * emacs-lisp/elint.el (elint-find-builtins):
5164 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5165 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5166 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5167 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5168 * apropos.el (apropos-safe-documentation):
5169 * subr.el (symbol-file): Remove redundant fboundp.
5170 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5172 2014-01-06 Bastien Guerry <bzg@gnu.org>
5174 * hl-line.el (global-hl-line-overlay): Make a local variable.
5175 (global-hl-line-overlays): New variable to store all overlays.
5176 (global-hl-line-mode): Don't delete overlays from the current
5177 buffer when `global-hl-line-sticky-flag' is non-nil.
5178 (global-hl-line-highlight): Add new overlays to
5179 `global-hl-line-overlays'.
5180 (global-hl-line-unhighlight-all): New function to delete all
5181 overlays when turning off `global-hl-line-mode'.
5182 This fixes Bug#16183.
5184 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5186 * subr.el (set-transient-map): Fix nested case and docstring.
5188 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5190 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5193 2014-01-06 Daniel Colascione <dancol@dancol.org>
5195 Fix defun navigation in vc log view.
5197 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5198 like `beginning-of-defun'.
5199 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5200 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5201 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5202 (log-view-extract-comment): Call `log-view-current-entry' directly
5203 instead of relying on broken `log-view-beginning-of-defun' behavior.
5205 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5208 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5209 * emacs-lisp/debug.el (cancel-debug-on-entry):
5210 * epg.el (epg-error-to-string):
5211 * files.el (recover-file):
5212 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5213 * mail/emacsbug.el (report-emacs-bug-hook):
5214 * mail/sendmail.el (mail-recover):
5215 * ses.el (ses-yank-resize):
5216 * term/ns-win.el (ns-print-buffer):
5217 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5218 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5220 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5222 2014-01-06 Leo Liu <sdl.web@gmail.com>
5224 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5225 to avoid shadowing global key. (Bug#16354)
5227 2014-01-06 Daniel Colascione <dancol@dancol.org>
5229 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5232 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5234 * window.el (balance-windows): Add mising t to fix Bug#16351.
5236 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5238 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5240 (shr-insert): If we have a word that's longer than `shr-width',
5241 break after it anyway. Otherwise we'll do no breaking once we get
5244 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5246 * net/eww.el (eww): Support single/double quote for search.
5247 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5248 (eww-history-quit): Delete and use quit-window.
5249 (eww-history-kill): Delete, because it doesn't work well and
5251 (eww-history-mode-map): Delete some keys and add easy-menu.
5253 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5255 Fix misspelling of 'chinese' in rx (Bug#16237).
5256 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5259 Change subword regexps back to vars (Bug#16296).
5260 * progmodes/subword.el (subword-forward-regexp)
5261 (subword-backward-regexp): Change these back to variables.
5263 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5265 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5266 syntax-begin-function (bug#16247).
5268 2014-01-03 Chong Yidong <cyd@gnu.org>
5270 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5271 (advice--docstring): Delete variable.
5272 (advice--make-1): Leave the docstring empty.
5273 (advice-add): Use function-documentation for advised docstring.
5275 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5276 Ignore function-documentation property when getting documentation.
5277 (ad-activate-advised-definition): Use function-documentation
5278 generate the docstring.
5279 (ad-make-advised-definition): Don't call
5280 ad-make-advised-definition-docstring.
5281 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5284 * progmodes/sql.el (sql-help): Use function-documentation instead
5285 of dynamic-docstring-function property. No need to autoload now.
5286 (sql--help-docstring): New variable.
5287 (sql--make-help-docstring): Use it.
5289 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5291 * ielm.el (ielm-tab): Retarget.
5292 (ielm-map): Use ielm-tab for tab.
5293 (ielm-complete-filename): Use comint-filename-completion.
5294 (ielm-complete-symbol): Remove.
5295 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5296 remove ielm-tab from completion-at-point-functions (bug#16224).
5298 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5299 Beware signals raised by predicates (bug#16201).
5301 2014-01-02 Richard Stallman <rms@gnu.org>
5303 * dired-aux.el (dired-do-print): Handle printer-name.
5305 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5306 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5307 (rmail-epa-decrypt): Turn off mime processing.
5309 * mail/rmail.el (rmail-make-in-reply-to-field):
5310 Add parens in message-id.
5312 * mail/rmail.el (rmail-get-coding-function): Variable.
5313 (rmail-get-coding-system): Use it.
5315 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5317 * international/mule-conf.el: Unify the charset indian-is13194.
5318 (indian-is13194): Specify unify-map.
5320 2013-12-31 Leo Liu <sdl.web@gmail.com>
5322 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5324 2013-12-30 Daniel Colascione <dancol@dancol.org>
5326 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5327 of printing a useless when we resume from sleep.
5329 * progmodes/sh-script.el
5330 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5331 in indentation code. (Bug#16233)
5333 2013-12-28 João Távora <joaotavora@gmail.com>
5335 * elec-pair.el (electric-pair-post-self-insert-function):
5336 Don't open extra newlines at beginning of buffer. (Bug#16272)
5338 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5340 * frame.el (window-system-for-display): Don't allow to create a
5341 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5343 2013-12-28 Glenn Morris <rgm@gnu.org>
5345 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5348 * apropos.el (apropos-match-face):
5349 * calculator.el (calculator-displayer):
5350 * dabbrev.el (dabbrev-search-these-buffers-only):
5351 * face-remap.el (buffer-face-mode-face):
5352 * simple.el (yank-handled-properties):
5353 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5354 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5355 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5356 (hashcash-double-spend-database):
5357 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5358 (ruby-deep-indent-paren-style):
5359 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5360 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5361 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5362 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5363 Specify custom types.
5365 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5366 * bookmark.el (bookmark-bmenu-use-header-line):
5367 * doc-view.el (doc-view-scale-internally):
5368 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5369 * register.el (register-preview-delay):
5370 * net/shr.el (shr-bullet):
5371 * progmodes/cfengine.el (cfengine-cf-promises)
5372 (cfengine-parameters-indent):
5373 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5374 * textmodes/reftex-vars.el (reftex-label-regexps):
5375 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5377 * net/tls.el (tls-certtool-program): Fix default value.
5379 * desktop.el (desktop-restore-in-current-display):
5380 * newcomment.el (comment-empty-lines):
5381 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5382 (idlwave-pad-keyword):
5383 * progmodes/tcl.el (tcl-tab-always-indent):
5384 * textmodes/reftex-vars.el (reftex-index-default-tag):
5385 * elec-pair.el (electric-pair-skip-whitespace):
5386 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5388 * emacs-lisp/authors.el (authors-ignored-files)
5389 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5391 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5393 * shell.el (shell-dynamic-complete-command): Doc fix.
5394 (shell--command-completion-data): Shell completion now matches
5395 executable filenames from the current buffer's directory, on
5396 systems in which this behavior is the default (windows-nt, ms-dos).
5398 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5400 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5402 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5404 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5407 * electric.el: Move all electric-pair-* to elec-pair.el.
5408 * elec-pair.el: New file, split from electric.el.
5410 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5412 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5413 indentation level is larger than the width, because that will
5415 (shr-insert): Fill repeatedly long texts, so that Japanese is
5416 formatted correctly (bug#16263).
5417 (shr-find-fill-point): Off by one error in comparison with the
5420 2013-12-26 João Távora <joaotavora@gmail.com>
5422 * electric.el (electric-pair-mode): More flexible engine for skip-
5423 and inhibit predicates, new options for pairing-related functionality.
5424 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5425 if that keeps or improves their balance in buffers.
5426 (electric-pair-delete-adjacent-pairs): Delete the pair when
5427 backspacing over adjacent matched delimiters.
5428 (electric-pair-open-extra-newline): Open extra newline when
5429 inserting newlines between adjacent matched delimiters.
5430 (electric--sort-post-self-insertion-hook):
5431 Sort post-self-insert-hook according to priority values when
5432 minor-modes are activated.
5433 * simple.el (newline-and-indent): Call newline with interactive
5435 (blink-paren-post-self-insert-function): Set priority to 100.
5436 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5437 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5438 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5439 electric-pair-open-newline-between-pairs to nil.
5441 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5443 * progmodes/python.el: Use lexical-binding.
5444 (python-nav-beginning-of-defun): Stop searching ASAP.
5446 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5448 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5449 Fix interactive spec. Doc fix. (Bug#15754)
5451 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5453 * emacs-lisp/byte-run.el (eval-when-compile):
5454 * progmodes/cc-defs.el (cc-eval-when-compile):
5455 Fix edebug spec (bug#16184).
5457 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5459 * net/shr.el (shr-visit-file): Remove debugging function.
5460 (shr-insert): Don't infloop if we can't find a good place to break
5461 the line (bug#16256).
5463 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5465 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5466 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5467 python-nav-lisp-forward-sexp-safe.
5468 (python-nav--forward-sexp): New argument SAFE allows switching
5469 forward sexp movement behavior for parens.
5470 (python-nav-forward-sexp): Throw errors on unterminated parens
5472 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5473 (python-nav-backward-sexp-safe): New functions.
5474 (python-shell-buffer-substring):
5475 Use `python-nav-forward-sexp-safe'.
5477 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5479 * net/shr.el (shr-find-fill-point): Don't break lines before a
5481 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5482 (shr-find-fill-point): Remove the special checks for the quotation
5483 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5485 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5487 * net/eww.el (eww-form-textarea): Use a different face for
5488 textareas than text input since they have different keymaps
5491 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5493 * progmodes/python.el (python-nav-beginning-of-statement):
5494 Speed up (Bug#15295).
5496 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5498 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5499 the window configuration.
5501 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5503 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5504 we run on MS-Windows or MS-DOS.
5506 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5508 * window.el (balance-windows-area): Call window-size instead of
5509 window-height and window-width. Bug#16241.
5511 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5513 * net/eww.el (eww-bookmark-quit): Remove.
5514 (eww-bookmark-browse): Restore the window configuration when you
5515 choose a bookmark (bug#16144).
5517 2013-12-24 Daniel Colascione <dancol@dancol.org>
5519 * icomplete.el: Remove redundant :group arguments to `defcustom'
5521 (icomplete-show-matches-on-no-input): New customizable variable.
5522 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5523 we have something to show.
5524 (icomplete-exhibit): Compute completions even if we have no user input.
5526 2013-12-23 Daniel Colascione <dancol@dancol.org>
5528 * icomplete.el: Move `provide' to end of file.
5530 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5532 * net/gnutls.el (gnutls-verify-error): Add version tag.
5534 2013-12-23 Chong Yidong <cyd@gnu.org>
5536 * subr.el (set-transient-map): Rename from
5537 set-temporary-overlay-map. Doc fix.
5539 * face-remap.el (text-scale-adjust):
5540 * indent.el (indent-rigidly):
5541 * kmacro.el (kmacro-call-macro):
5542 * minibuffer.el (minibuffer-force-complete):
5543 * repeat.el (repeat):
5544 * simple.el (universal-argument--mode):
5545 * calendar/todo-mode.el (todo-insert-item--next-param):
5546 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5548 * indent.el (indent-rigidly): Use substitute-command-keys.
5550 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5552 * net/eww.el (eww-tag-select): Add text-property to jump to next
5554 (eww): Add non-supported ftp error.
5556 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5558 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5559 comments. Handle electric indent after typing `?' and `!'.
5561 2013-12-22 Chong Yidong <cyd@gnu.org>
5563 * faces.el (face-spec-recalc): If the theme specs are not
5564 applicable to a frame, fall back on the defface spec.
5565 This prevents themes from obliterating faces on low-color terminals.
5567 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5569 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5570 after `{'. We need it after block openers, and it doesn't seem
5571 to hurt after hash openers.
5573 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5575 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5576 extracted from `ruby-smie-rules'.
5577 (ruby--electric-indent-chars): New variable.
5578 (ruby--electric-indent-p): New function.
5579 (ruby-mode): Use `electric-indent-functions' instead of
5580 `electric-indent-chars'.
5582 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5584 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5586 (ruby-smie-rules): Indent plus one level after `=>'.
5588 2013-12-21 Richard Stallman <rms@gnu.org>
5590 * simple.el (newline): Doc fix.
5592 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5594 * net/eww.el (eww-list-histories, eww-list-histories)
5595 (eww-history-browse, eww-history-quit, eww-history-kill)
5596 (eww-history-mode-map, eww-history-mode): New command and
5597 functions to list browser histories.
5598 (eww-form-text): Support text form with disabled
5599 and readonly attributes.
5600 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5602 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5604 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5605 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5606 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5607 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5609 (eww-bookmark-mode-map): Add menu.
5610 (eww-render, eww-mode): Use `setq-local'.
5611 (eww-tool-bar-map): New variable.
5612 (eww-mode): Set `tool-bar-map'.
5613 (eww-view-source): Check for `html-mode' with `fboundp'.
5615 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5617 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5618 elements with text inside. Also remove debugging.
5620 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5622 * cus-start.el (all): Add ns-use-srgb-colorspace.
5624 2013-12-21 Chong Yidong <cyd@gnu.org>
5626 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5627 undefined. Thus, theme settings for undefined faces do not take
5628 effect until the faces are defined with defface, the same as with
5631 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5632 (face-spec-reset-face): Don't assign extra properties in temacs.
5633 (face-spec-recalc): Apply X resources too.
5635 2013-12-21 Chong Yidong <cyd@gnu.org>
5637 * faces.el (face-spec-set):
5638 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5639 * custom.el (defface): Doc fixes (Bug#16203).
5641 * indent.el (indent-rigidly-map): Add docstring, and move commands
5642 into named functions.
5643 (indent-rigidly-left, indent-rigidly-right)
5644 (indent-rigidly-left-to-tab-stop)
5645 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5646 indentation direction based on bidi direction, and accumulate
5647 sequential commands in a single undo boundary.
5648 (indent-rigidly--pop-undo): New utility function.
5650 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5652 * faces.el (read-face-name): Require crm.el when using crm-separator.
5654 2013-12-20 Daniel Colascione <dancol@dancol.org>
5656 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5657 so that we don't reflow comments into the shebang line.
5659 2013-12-20 Juri Linkov <juri@jurta.org>
5661 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5662 a position when `dired-directory' is non-nil. Check integer
5663 positions with `integerp'.
5664 (toggle-save-place, save-places-to-alist): Add check for
5666 (save-place-find-file-hook): Check integer positions with
5668 (save-place-dired-hook): Use `dired-goto-file' when
5669 `dired-filename' is found in the assoc list. Check integer
5670 positions with `integerp'.
5671 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5673 * dired.el (dired-initial-position-hook): Rename back from
5674 `dired-initial-point-hook'.
5675 (dired-initial-position): Rename `dired-initial-point-hook' to
5676 `dired-initial-position-hook'.
5677 (dired-file-name-at-point): Doc fix. (Bug#15329)
5679 2013-12-20 Juri Linkov <juri@jurta.org>
5681 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5682 (read-regexp-suggestions): New function.
5683 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5684 Use `read-regexp-suggestions'. Add non-empty default to history
5686 (occur-read-regexp-defaults-function): Remove function.
5687 (occur-read-primary-args): Use `regexp-history-last' instead of
5688 `occur-read-regexp-defaults-function'.
5690 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5691 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5692 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5693 `hi-lock-read-regexp-defaults-function'. Doc fix.
5694 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5695 with `find-tag-default-as-symbol-regexp'. Doc fix.
5696 (hi-lock-read-regexp-defaults): Remove function.
5697 (hi-lock-regexp-okay): Add check for null.
5699 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5700 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5702 * subr.el (find-tag-default-as-symbol-regexp): New function.
5703 (find-tag-default-as-regexp): Move symbol regexp formatting to
5704 `find-tag-default-as-symbol-regexp'.
5706 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5708 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5711 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5713 * calendar/todo-mode.el: New implementation of item insertion
5714 commands and key bindings.
5715 (todo-key-prompt): New face.
5716 (todo-insert-item): New command.
5717 (todo-insert-item--parameters): New defconst, replacing defvar
5718 todo-insertion-commands-args-genlist.
5719 (todo-insert-item--param-key-alist): New defconst, replacing
5720 defvar todo-insertion-commands-arg-key-list.
5721 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5722 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5723 (todo-insert-item--next-param): New functions.
5724 (todo-insert-item--args, todo-insert-item--argleft)
5725 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5727 (todo-key-bindings-t): Change binding of "i" from
5728 todo-insertion-map to todo-insert-item.
5729 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5730 (todo-insertion-command-name, todo-insertion-commands-names)
5731 (todo-define-insertion-command, todo-insertion-commands)
5732 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5734 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5736 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5737 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5739 (todo-move-category): Allow choosing a non-existing todo file to
5740 move the category to, and create that file.
5741 (todo-default-priority): New user option.
5742 (todo-set-item-priority): Use it.
5743 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5744 (desktop-restore-file-buffer): Declare.
5745 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5746 (todo-modes-set-2): Locally set desktop-save-buffer to
5747 todo-desktop-save-buffer.
5748 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5749 (auto-mode-alist): Add autoload cookie.
5751 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5753 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5754 helpers.el was a poor choice of name.
5755 (string-remove-prefix): New function.
5756 (string-remove-suffix): New function.
5758 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5760 Fix assignment for new window total sizes.
5761 * window.el (window--pixel-to-size): Remove function.
5762 (window--pixel-to-total-1, window--pixel-to-total):
5763 Fix calculation of new total sizes.
5765 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5767 * comint.el (comint-output-filter): Fix rear-nonsticky property
5768 placement (Bug#16010).
5770 2013-12-20 Chong Yidong <cyd@gnu.org>
5772 * faces.el (read-color): Minor fix for completion function.
5774 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5776 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5777 New option. (Bug#16182)
5778 (ruby-smie--indent-to-stmt-p): Use it.
5779 (ruby-smie-rules): Revert the logic in the handling of `when'.
5780 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5781 (ruby-deep-arglist, ruby-deep-indent-paren)
5782 (ruby-deep-indent-paren-style): Update docstrings to note that the
5783 vars don't have any effect with SMIE.
5785 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5787 * calc/calc.el (calc-enter, calc-pop): Use the variable
5788 `calc-context-sensitive-enter'.
5790 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5792 * net/shr.el (shr-insert): Protect against infloops in degenerate
5795 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5797 * progmodes/octave.el (octave): Add link to manual and octave
5799 (octave-mode-menu): Link to octave-mode manual.
5801 2013-12-20 Leo Liu <sdl.web@gmail.com>
5803 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5804 insertion using skeleton-end-newline. (Bug#16138)
5806 2013-12-20 Juri Linkov <juri@jurta.org>
5808 * replace.el (occur-engine): Use `add-face-text-property'
5809 to add the face property to matches and titles. (Bug#14645)
5811 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5812 the palette of other hi-lock colors.
5813 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5815 2013-12-19 Juri Linkov <juri@jurta.org>
5817 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5818 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5819 (minibuffer-history-symbol): Move variable declaration closer to
5822 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5825 2013-12-19 Juri Linkov <juri@jurta.org>
5827 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5829 (log-edit-hook): Add it to :options. (Bug#16170)
5831 2013-12-19 Juri Linkov <juri@jurta.org>
5833 * simple.el (eval-expression-print-format): Don't check for
5834 command names and the last command. Always display additional
5835 formats of the integer result in the echo area, and insert them
5836 to the current buffer only with a zero prefix arg.
5837 Display character when char-displayable-p is non-nil.
5838 (eval-expression): With a zero prefix arg, set `print-length' and
5839 `print-level' to nil, and insert the integer values from
5840 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5842 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5843 `eval-last-sexp-arg-internal'. Doc fix.
5844 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5845 `eval-last-sexp-print-value'. Doc fix.
5846 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5847 Set `print-length' and `print-level' to nil when arg is zero.
5848 (eval-last-sexp): Doc fix.
5849 (eval-defun-2): Print the integer values from
5850 `eval-expression-print-format' at the end.
5852 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5853 values from `eval-expression-print-format' at the end.
5855 * ielm.el (ielm-eval-input): Print the integer
5856 values from `eval-expression-print-format' at the end.
5858 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5860 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5861 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5863 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5865 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5866 (hl-line-highlight, global-hl-line-highlight): Use it.
5867 (hl-line-overlay): Use defvar-local.
5869 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5871 * term/ns-win.el: Require dnd.
5872 (global-map): Remove drag items.
5873 (ns-insert-text, ns-set-foreground-at-mouse)
5874 (ns-set-background-at-mouse):
5875 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5876 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5879 2013-12-19 Glenn Morris <rgm@gnu.org>
5881 * emacs-lisp/ert.el (ert-select-tests):
5882 Fix string/symbol mixup. (Bug#16121)
5884 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5886 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5887 keywords to their parent.
5889 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5891 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5892 first arg to be a string (fixed dead code), or an operator symbol.
5893 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5895 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5896 did nothing. Don't respond to `(:after ".")', it will be called
5897 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5898 change anything. Only return indentation for binary operators
5899 when they are hanging. De-dent opening paren when its parent is
5900 `.', otherwise it looks bad when the dot is not at bol or eol
5903 2013-12-19 Juri Linkov <juri@jurta.org>
5905 * replace.el (query-replace-read-args): Split a non-negative arg
5906 and a negative arg into separate elements.
5907 (query-replace, query-replace-regexp, replace-string)
5908 (replace-regexp): Add arg `backward'. Doc fix.
5909 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5910 move point to the beginning of the match.
5911 (replace-search, replace-highlight): Use new arg `backward'
5912 to set the value of `isearch-forward'.
5913 (perform-replace): Add arg `backward' and use it to perform
5914 replacement backward. (Bug#14979)
5916 * isearch.el (isearch-query-replace): Use a negative prefix arg
5917 to call `perform-replace' with a non-nil arg `backward'.
5919 2013-12-18 Juri Linkov <juri@jurta.org>
5921 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5922 to the default list. Move `log-edit-show-files' to the end.
5923 Add more available functions to options.
5924 (log-edit): Move default specific settings to
5925 `log-edit-insert-message-template'. Don't move point.
5926 (log-edit-insert-message-template): New function.
5927 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5930 2013-12-18 Juri Linkov <juri@jurta.org>
5932 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5933 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5935 2013-12-18 Leo Liu <sdl.web@gmail.com>
5937 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5940 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5942 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5943 formats for displaying file sizes when the -s switch is given.
5944 Instead, compute a separate format for displaying the size in
5945 blocks, which is displayed in addition to the "regular" size.
5946 When -h is given in addition to -s, produce size in blocks in
5947 human-readable form as well. (Bug#16179)
5949 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5951 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5952 Reference tables with ~\ref{...} instead of only \ref{...}.
5954 2013-12-18 Chong Yidong <cyd@gnu.org>
5956 * cus-edit.el (custom-magic-alist): Fix "themed" description
5959 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5960 is non-nil, do not create a new entry in the symbol's theme-value
5961 or theme-face property; update theme-settings only (Bug#14664).
5962 (custom-available-themes): Doc fix.
5964 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5967 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5969 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5971 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5974 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5976 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5978 2013-12-18 Glenn Morris <rgm@gnu.org>
5980 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5981 * cus-start.el (load-prefer-newer): New option.
5983 2013-12-18 Le Wang <l26wang@gmail.com>
5985 * comint.el (comint-previous-matching-input-from-input):
5986 Retain point (Bug#13404).
5988 2013-12-18 Chong Yidong <cyd@gnu.org>
5990 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5992 2013-12-18 Glenn Morris <rgm@gnu.org>
5994 * mail/emacsbug.el (report-emacs-bug):
5995 Only mention enable-multibyte-characters if non-standard.
5997 2013-12-17 Juri Linkov <juri@jurta.org>
5999 * arc-mode.el (archive-extract-by-file): Check if directory exists
6000 before deletion to not show irrelevant errors if it doesn't exist.
6002 2013-12-17 Juri Linkov <juri@jurta.org>
6004 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6007 * net/eww.el (browse-web): Add alias to `eww'.
6008 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6009 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6011 * net/browse-url.el (browse-url-browser-function): Move `eww'
6012 closer to similar functions.
6014 * startup.el (fancy-startup-screen, fancy-about-screen):
6015 Set browse-url-browser-function to eww-browse-url locally.
6018 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6020 * window.el (window--pixel-to-total): Remove unused `mini' var.
6021 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6022 (split-window): Remove unused `new' var.
6023 (window--display-buffer): Remove unused `frame' and `delta' vars.
6024 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6027 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6029 * dired.el (dired-mark-pop-up):
6030 * register.el (register-preview): Don't bind
6031 split-height-threshold here since it's now done in
6032 display-buffer-below-selected.
6034 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6036 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6037 xterm-rgb-convert-to-16bit.
6038 (rxvt-register-default-colors): Standardize with
6039 xterm-register-default-colors (Bug#14078).
6041 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6043 * simple.el (kill-region): Pass mark first, then point, so that
6044 kill-append works right (Bug#12819).
6045 (copy-region-as-kill, kill-ring-save): Likewise.
6047 2013-12-17 Leo Liu <sdl.web@gmail.com>
6049 * net/rcirc.el (rcirc-add-face):
6050 * eshell/em-prompt.el (eshell-emit-prompt):
6051 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6054 2013-12-17 Chong Yidong <cyd@gnu.org>
6056 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6057 Suggested by Xue Fuqiao.
6059 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6061 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6063 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6065 * net/shr.el (shr-insert-document): Remove unused var
6066 `shr-preliminary-table-render'.
6067 (shr-rescale-image): Remove unused arg `force'.
6068 (shr-put-image): Update calls accordingly.
6069 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6071 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6073 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6074 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6075 :close-all, to see which indentation method to use (Bug#16116).
6076 (smie-rules-function): Document the method :close-all.
6078 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6082 * net/eww.el (eww-display-html): If we can't find the anchor we're
6083 looking for, then go to point-min.
6085 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6087 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6088 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6089 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6090 Expand dir too, in case it's relative.
6092 2013-12-16 Juri Linkov <juri@jurta.org>
6094 * desktop.el (desktop-auto-save-timeout): Change default to
6095 `auto-save-timeout'. Doc fix.
6096 (desktop-save): Skip the timestamp in desktop-saved-frameset
6097 when checking for auto-save changes.
6098 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6099 `desktop-auto-save' is called repeatedly by the idle timer.
6100 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6101 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6104 2013-12-16 Juri Linkov <juri@jurta.org>
6106 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6108 (isearch-pre-command-hook): Check `this-command' for symbolp.
6110 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6112 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6114 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6116 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6117 (cfengine3--current-function): Bring in the current-function
6118 functionality from `cfengine3--current-word'.
6119 (cfengine3-completion-function): Bring in the
6120 bounds-of-current-word functionality from
6121 `cfengine3--current-word'.
6123 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6125 * window.el (display-buffer-below-selected):
6126 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6128 2013-12-16 Leo Liu <sdl.web@gmail.com>
6130 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6131 Remove NOMSG arg and all uses changed.
6133 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6135 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6136 (cua--deactivate-rectangle): Don't deactivate the mark.
6137 (cua-set-rectangle-mark): Don't set mark-active since
6138 cua--activate-rectangle already does it for us.
6139 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6140 non-rectangular region.
6142 * emulation/cua-base.el (cua-repeat-replace-region):
6143 Use with-current-buffer.
6145 * net/gnutls.el: Use cl-lib.
6146 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6148 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6150 * emacs-lisp/package.el (package-built-in-p): Support both
6151 built-in and the package.el converted package descriptions.
6152 (package-show-package-list): Allow keywords.
6153 (package-keyword-button-action): Use it instead of
6154 `finder-list-matches'.
6155 (package-menu-filter-interactive): Interactive filtering (by
6157 (package-menu--generate): Support keywords and change keymappings
6158 and headers when they are given.
6159 (package--has-keyword-p): Helper function.
6160 (package-menu--refresh): Use it.
6161 (package--mapc): Helper function.
6162 (package-all-keywords): Use it.
6163 (package-menu-mode-map): Set up menu items and keybindings to
6164 provide a filtering UI.
6166 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6168 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6169 the behavior when a certificate fails validation. Defaults to
6170 old behavior: never abort, just warn.
6171 (gnutls-negotiate): Use it.
6173 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6175 * window.el (display-buffer-below-selected): Never split window
6176 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6178 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6180 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6181 (package-buffer-info): Use it (bug#15108).
6183 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * icomplete.el (icomplete-completions): Make sure the prefix is already
6186 displayed elsewhere before hiding it (bug#16219).
6188 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6190 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6191 open-paren tokens when preceded by a open-paren, too.
6192 (ruby-smie-rules): Handle virtual indentation after open-paren
6193 tokens specially. If there is code between it and eol, return the
6194 column where is starts (Bug#16118).
6196 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6198 * progmodes/cfengine.el: Fix `add-hook' doc.
6199 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6200 (cfengine3--current-word): Fix parameters.
6201 (cfengine3-make-syntax-cache): Simplify further.
6202 (cfengine3-completion-function, cfengine3--current-function):
6203 Use `assq' for symbols.
6204 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6206 2013-12-13 Glenn Morris <rgm@gnu.org>
6208 * loadup.el (load-path): Warn if site-load or site-init changes it.
6209 No more need to reset it when bootstrapping.
6211 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6213 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6214 locations for cf-promises.
6215 (cfengine-mode-syntax-functions-regex): New caching variable.
6216 (cfengine3-fallback-syntax): Fallback syntax for cases where
6217 cf-promises doesn't run.
6218 (cfengine3--current-word): Reimplement using
6219 `cfengine-mode-syntax-functions-regex'.
6220 (cfengine3-completion-function, cfengine3--current-function):
6221 Use `cfengine3-make-syntax-cache' directly.
6222 (cfengine3-clear-syntax-cache): New function.
6223 (cfengine3-make-syntax-cache): Simplify and create
6224 `cfengine-mode-syntax-functions-regex' on demand.
6225 (cfengine3-format-function-docstring): Don't call
6226 `cfengine3-make-syntax-cache' explicitly.
6228 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6230 Fix windmove-find-other-window broken after pixelwise resizing
6232 * windmove.el (windmove-other-window-loc): Revert change from
6234 (windmove-find-other-window): Call window-in-direction.
6235 * window.el (window-in-direction): New arguments SIGN, WRAP and
6236 MINI to emulate original windmove-find-other-window behavior.
6238 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6240 * simple.el (blink-matching--overlay): New variable.
6241 (blink-matching-open): Instead of moving point, highlight the
6242 matching paren with an overlay
6243 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6245 * faces.el (paren-showing-faces, show-paren-match)
6246 (show-paren-mismatch): Move from paren.el.
6248 2013-12-13 Leo Liu <sdl.web@gmail.com>
6250 * indent.el (indent-region): Disable progress reporter in
6251 minibuffer. (Bug#16108)
6253 * bindings.el (visual-order-cursor-movement): Fix version.
6255 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6257 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6258 Also match after beginning of line.
6259 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6260 files. Thanks to Russell Sim. (Bug#15378)
6262 2013-12-13 Juri Linkov <juri@jurta.org>
6264 * simple.el <Keypad support>: Remove key bindings duplicated
6265 with bindings.el. (Bug#14397)
6267 2013-12-13 Juri Linkov <juri@jurta.org>
6269 * comint.el (comint-mode-map): Replace `delete-char' with
6270 `delete-forward-char'. (Bug#16109)
6272 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6274 * progmodes/python.el (python-indent-calculate-indentation):
6275 Fix de-denters cornercase. (Bug#15731)
6277 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6279 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6280 (advice--make): Pay attention to `depth'.
6281 (advice--make-1): Don't autoload commands eagerly.
6282 * emacs-lisp/elp.el (elp-instrument-function):
6283 * emacs-lisp/trace.el (trace-function-internal):
6284 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6286 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6288 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6290 * term/w32-win.el (w32-handle-dropped-file):
6291 * startup.el (normal-top-level):
6292 * net/browse-url.el (browse-url-file-url):
6293 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6294 decode file names using 'utf-8' rather than
6295 file-name-coding-system.
6297 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6299 * progmodes/python.el (python-indent-context)
6300 (python-indent-calculate-indentation): Fix auto-identation
6301 behavior for comment blocks. (Bug#15916)
6303 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6305 * progmodes/python.el (python-indent-calculate-indentation):
6306 When determining indentation, don't treat "return", "pass", etc., as
6307 operators when they are just string constituents. (Bug#15812)
6309 2013-12-12 Juri Linkov <juri@jurta.org>
6311 * uniquify.el (uniquify-buffer-name-style): Change default to
6312 `post-forward-angle-brackets'.
6314 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6315 `uniquify'. Change default to `post-forward-angle-brackets'.
6317 2013-12-11 Glenn Morris <rgm@gnu.org>
6319 * emacs-lisp/package.el (finder-list-matches):
6320 Autoload rather than falsely declaring.
6322 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6324 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6325 (eww-mode-map): Use them.
6327 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6329 * window.el (display-buffer-in-side-window): Fix doc-string
6332 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6334 * vc/vc-git.el: Silence byte-compiler warnings.
6335 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6336 (log-edit-set-header): Declare.
6338 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6340 * Makefile.in (custom-deps, finder-data): Run output file names
6341 through unmsys--file-name. (Bug#16099)
6343 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6346 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6348 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6349 instead of deleting the selection "by hand" (bug#16098).
6350 Rely on insert-for-yank to yank rectangles.
6351 (cua-highlight-region-shift-only): Mark obsolete.
6352 (cua-mode): Don't enable/disable transient-mark-mode,
6353 shift-select-mode (cua-mode works both with and without them), and
6354 pc-selection-mode (obsolete).
6355 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6356 (cua--deactivate-rectangle): Deactivate it.
6358 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6359 (delete-selection-helper): Make sure yank starts at the top of the
6361 (minibuffer-keyboard-quit): Use region-active-p.
6363 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6365 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6366 to `delete' (bug#16109).
6368 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6370 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6371 info manual and show keybindings and set `:group' keyword.
6373 2013-12-11 Juri Linkov <juri@jurta.org>
6375 * delsel.el (delete-active-region): Let-bind `this-command'
6376 to prevent `kill-region' from changing its original value.
6377 (delete-selection-helper): Handle `overwrite-mode' for the type
6378 `kill' exactly the same way as for the type `t'.
6379 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6380 Support more commands. (Bug#13312)
6382 2013-12-11 Juri Linkov <juri@jurta.org>
6384 * bindings.el: Map kp keys to non-kp keys systematically
6385 with basic modifiers control, meta and shift. (Bug#14397)
6387 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6389 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6390 "Close browser" menu items. Fix wrong function of "List
6393 2013-12-11 Juri Linkov <juri@jurta.org>
6395 * misearch.el (multi-isearch-buffers): Set the value of
6396 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6397 arg of isearch-forward to t.
6398 (multi-isearch-buffers-regexp): Set the value of
6399 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6400 arg of isearch-forward-regexp to t.
6401 (multi-isearch-files): Set the value of
6402 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6403 arg of isearch-forward to t.
6404 (multi-isearch-files-regexp): Set the value of
6405 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6406 arg of isearch-forward-regexp to t. (Bug#16035)
6408 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6409 arg of isearch-forward to t.
6410 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6411 arg of isearch-forward-regexp to t.
6412 (dired-isearch-filter-filenames): Remove unnecessary check for
6413 `dired-isearch-filenames'.
6415 * comint.el (comint-history-isearch-backward):
6416 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6417 (comint-history-isearch-backward-regexp):
6418 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6420 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6422 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6423 unmsys--file-name. (Bug#16099)
6425 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6427 * emacs-lisp/package.el (package-keyword-button-action):
6428 Remove finder.el require dependency.
6430 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6432 * emacs-lisp/package.el: Require finder.el.
6433 (describe-package-1): Add keyword buttons.
6434 (package-make-button): New convenience function.
6435 (package-keyword-button-action): Keyword button action using
6436 `finder-list-matches'.
6438 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6440 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6443 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6445 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6448 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6450 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6451 after the end of a percent literal.
6453 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6455 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6456 Handle caret-delimited strings (Bug#16079).
6458 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6460 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6461 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6462 `ruby-parse-partial' (Bug#16078).
6464 2013-12-09 Leo Liu <sdl.web@gmail.com>
6466 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6468 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6470 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6471 (js-switch-indent-offset): New option.
6472 (js--proper-indentation): Use it. And handle the case when
6473 "default" is actually a key in an object literal.
6474 (js--same-line): New function.
6475 (js--multi-line-declaration-indentation): Use it.
6476 (js--indent-in-array-comp, js--array-comp-indentation):
6478 (js--proper-indentation): Use them, to handle array comprehension
6481 2013-12-08 Leo Liu <sdl.web@gmail.com>
6483 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6484 (flymake-make-overlay): Remove arg MOUSE-FACE.
6485 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6487 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6491 (redisplay-highlight-region-function): Use it.
6493 * emulation/cua-base.el (cua--explicit-region-start)
6494 (cua--last-region-shifted): Remove.
6495 (cua--deactivate): Use deactivate-mark.
6496 (cua--pre-command-handler-1): Don't handle shift-selection.
6497 (cua--post-command-handler-1): Don't change transient-mark-mode.
6498 (cua--select-keymaps): Use region-active-p rather than
6499 cua--explicit-region-start or cua--last-region-shifted.
6500 (cua-mode): Enable shift-select-mode.
6502 2013-12-08 Leo Liu <sdl.web@gmail.com>
6504 * progmodes/flymake.el (flymake-popup-current-error-menu):
6505 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6506 (flymake-posn-at-point-as-event, flymake-popup-menu)
6507 (flymake-make-emacs-menu): Remove. (Bug#16077)
6509 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6511 * rect.el (rectangle-mark-mode): Activate mark even if
6512 transient-mark-mode is off (bug#16066).
6513 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6514 is > mark and at bolp.
6516 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6517 (region-extract-function): Use it.
6518 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6519 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6521 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6522 kill-ring-save, kill-region, delete-char, delete-forward-char.
6523 Ignore self-insert-iso.
6525 * emulation/cua-gmrk.el (cua--init-global-mark):
6526 Ignore `self-insert-iso'.
6528 * emulation/cua-base.el (cua--prefix-copy-handler)
6529 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6530 checking cua--rectangle.
6531 (cua-delete-region): Use region-extract-function.
6532 (cua-replace-region): Delete function.
6533 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6534 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6535 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6536 (cua--init-keymaps): Don't remap delete-selection commands.
6537 (cua-mode): Use delete-selection-mode instead of rolling our own
6540 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6541 Obey region-extract-function.
6543 Make registers and delete-selection-mode work on rectangles.
6544 * register.el (describe-register-1): Don't modify the register's value.
6545 (copy-to-register): Obey region-extract-function.
6546 * delsel.el (delete-active-region): Obey region-extract-function.
6548 2013-12-08 Leo Liu <sdl.web@gmail.com>
6550 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6551 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6552 (flymake-compilation-prevents-syntax-check)
6553 (flymake-start-syntax-check-on-newline)
6554 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6555 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6556 (flymake-xml-program, flymake-master-file-dirs)
6557 (flymake-master-file-count-limit)
6558 (flymake-allowed-file-name-masks): Relocate.
6559 (flymake-makehash, flymake-float-time)
6560 (flymake-replace-regexp-in-string, flymake-split-string)
6561 (flymake-get-temp-dir): Remove.
6562 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6563 (flymake-current-row, flymake-selected-frame)
6564 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6565 related functions. (Bug#16077)
6567 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6569 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6571 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6573 * help-fns.el (describe-function-1): Use new advice-* functions
6574 rather than old ad-* functions. Fix function type description and
6575 source links for advised functions and subrs.
6577 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6579 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6581 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6583 * progmodes/compile.el (compilation-start):
6584 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6586 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6587 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6589 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6591 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6592 Touch up the last change.
6594 2013-12-06 Leo Liu <sdl.web@gmail.com>
6596 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6597 (inferior-octave-startup): Always use "octave> " for prompt.
6598 (octave-goto-function-definition)
6599 (octave-sync-function-file-names)
6600 (octave-find-definition-default-filename): Remove redundant backquotes.
6602 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6604 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6606 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6607 where appropriate already.
6608 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6609 end of method names (Bug#15874).
6611 2013-12-06 Juri Linkov <juri@jurta.org>
6613 * isearch.el (isearch--saved-overriding-local-map):
6614 New internal variable.
6615 (isearch-mode): Set it to the initial value of
6616 `overriding-terminal-local-map'.
6617 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6618 with `isearch--saved-overriding-local-map'. (Bug#16035)
6620 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6622 * progmodes/octave.el (inferior-octave-completion-table):
6623 Turn back into function, use `completion-table-with-cache'
6624 (Bug#11906). Update all references.
6626 * minibuffer.el (completion-table-with-cache): New function.
6628 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6630 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6632 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6634 * net/eww.el (eww-current-source): New variable to store page
6636 (eww-display-html, eww-mode, eww-save-history)
6637 (eww-restore-history): Use it.
6638 (eww-view-source): New command to view page source.
6639 Opportunistically uses `html-mode' to highlight the buffer.
6640 (eww-mode-map): Install it.
6642 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6644 * net/dbus.el (dbus-unregister-service)
6645 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6647 (dbus-unregister-service): Skip :serial entries in
6648 `dbus-registered-objects-table'.
6649 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6651 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6653 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6654 around keywords with extra `split-string' argument.
6656 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6658 * windmove.el (windmove-other-window-loc): Handle navigation
6659 between windows (excluding the minibuffer window - Bug#16017).
6661 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6663 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6664 in D-Bus type syntax.
6665 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6666 preserve unibyte strings. (Bug#16048)
6668 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6670 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6671 Call force-mode-line-update is the proper buffer (bug#16042).
6673 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6675 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6676 `log-edit-remember-comment', make argument optional. Adjust all
6678 (log-edit-mode): Add `log-edit-remember-comment' to
6679 `kill-buffer-hook' locally.
6680 (log-edit-kill-buffer): Don't remember comment explicitly since
6681 the buffer is killed anyway.
6683 2013-12-04 Juri Linkov <juri@jurta.org>
6685 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6686 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6688 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6690 * notifications.el (notifications-close-notification): Call the
6691 D-Bus method with ID being a `:uint32'. (Bug#16030)
6693 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6695 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6697 2013-12-03 Juri Linkov <juri@jurta.org>
6699 * progmodes/compile.el (compilation-start): Rename window alist
6700 entry `no-display-ok' to `allow-no-window'.
6702 * simple.el (shell-command): Add window alist entry
6703 `allow-no-window' to `display-buffer'.
6704 (async-shell-command): Doc fix.
6706 * window.el (display-buffer-no-window): New action function.
6707 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6709 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6711 * vc/log-edit.el (log-edit-set-header): Extract from
6712 `log-edit-toggle-header'.
6713 (log-edit-extract-headers): Separate the summary, when extracted
6714 from header, from the rest of the message with an empty line.
6716 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6717 line, if present, to the Summary header.
6719 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6722 in current-buffer (bug#16029).
6724 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6726 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6727 (debugger-mode-map): Bind it.
6728 (debugger--backtrace-base): New function.
6729 (debugger-eval-expression): Use it.
6730 (debugger-frame-number): Skip local vars when present.
6731 (debugger--locals-visible-p, debugger--insert-locals)
6732 (debugger--show-locals, debugger--hide-locals): New functions.
6734 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6736 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6738 (tramp-get-remote-locale): New defun.
6739 (tramp-open-connection-setup-interactive-shell): Use it.
6741 2013-12-02 Leo Liu <sdl.web@gmail.com>
6743 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6745 * progmodes/sh-script.el (sh-shell-process):
6746 * progmodes/octave.el (inferior-octave-process-live-p):
6747 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6748 (gdb-inferior-io-sentinel):
6749 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6751 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6753 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6754 `save-selected-window' to `log-edit-hide-buf'. This makes
6755 `log-edit-show-files' idempotent.
6756 (log-edit-show-files): Mark the new window as dedicated.
6758 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6760 * vc/log-edit.el (log-edit-mode-map): Add binding for
6761 `log-edit-kill-biffer'.
6762 (log-edit-hide-buf): Add a FIXME comment.
6763 (log-edit-add-new-comment): New function, extracted from
6765 (log-edit-done, log-edit-add-to-changelog): Use it.
6766 (log-edit-kill-buffer): New command.
6768 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6770 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6771 instead of killing the buffer.
6773 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6777 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6779 * net/eww.el (eww-form-checkbox-selected-symbol)
6780 (eww-form-checkbox-symbol): New customizable variable.
6781 (eww-form-checkbox, eww-toggle-checkbox):
6782 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6784 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6785 (shr--get-media-pref, shr--extract-best-source): New function.
6786 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6787 no :src tag was specified.
6789 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6790 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6791 Use \\` to match beginning of string instead of ^.
6792 (eww-browse-with-external-browser): Provide optional URL parameter.
6793 (eww-render): Set `eww-current-title' back to "".
6795 * net/shr.el (shr-tag-video): Display content for video if no
6796 poster is available.
6797 (shr-tag-audio): Add support for <audio> tag.
6799 * net/eww.el (eww-text-input-types): New const.
6800 (eww-process-text-input): Treat input types in
6801 `eww-text-input-types' as text.
6803 * net/shr.el (shr-tag-table): Fix comment typo.
6805 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6807 * net/eww.el (eww-follow-link): New command to avoid reloading
6808 pages when we follow #target links (bug#15243).
6809 (eww-quit): Special mode buffers shouldn't query before exiting.
6811 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6813 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6816 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6818 * net/eww.el (eww-restore-history): Update the window title after
6819 moving in the history.
6820 (eww-current-dom): New variable used to save the current DOM.
6822 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6824 * vc/log-edit.el (log-edit-mode-map): Add binding for
6825 `log-edit-beginning-of-line'.
6826 (log-edit-setup-add-author): New user option.
6827 (log-edit-beginning-of-line): New command.
6828 (log-edit): Move major mode call above the contents setup so that
6829 the local variable values are already applied.
6830 (log-edit): Only insert "Author: " when
6831 `log-edit-setup-add-author' is non-nil.
6832 (log-edit): When SETUP is non-nil, position point after ": "
6833 instead of point-min.
6835 2013-12-01 Glenn Morris <rgm@gnu.org>
6837 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6839 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6841 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6842 redisplay to make sure the initial frame gets a chance to become
6843 visible. (Bug#16014)
6845 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6847 Support resizing frames and windows pixelwise.
6848 * cus-start.el (frame-resize-pixelwise)
6849 (window-resize-pixelwise): New entries.
6850 * emacs-lisp/debug.el (debug): Use window-total-height instead
6851 of window-total-size.
6852 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6853 * help.el (describe-bindings-internal): Use help-buffer as
6854 argument for with-help-window.
6855 (temp-buffer-max-width): New option.
6856 (resize-temp-buffer-window, help-window-setup)
6857 (with-help-window): Rewrite.
6858 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6860 * window.el (frame-char-size, window-min-pixel-height)
6861 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6862 (window-min-pixel-width, window-safe-min-pixel-size)
6863 (window-combination-p, window-safe-min-size)
6864 (window-resizable-p, window--size-to-pixel)
6865 (window--pixel-to-size, window--resize-apply-p): New functions.
6866 (window-safe-min-height): Fix doc-string.
6867 (window-size, window-min-size, window--min-size-1)
6868 (window-sizable, window-sizable-p, window--min-delta-1)
6869 (window-min-delta, window--max-delta-1, window-max-delta)
6870 (window--resizable, window--resizable-p, window-resizable)
6871 (window-full-height-p, window-full-width-p, window-at-side-p)
6872 (window--in-direction-2, window-in-direction)
6873 (window--resize-reset-1, window--resize-mini-window)
6874 (window-resize, window-resize-no-error)
6875 (window--resize-child-windows-normal)
6876 (window--resize-child-windows, window--resize-siblings)
6877 (window--resize-this-window, window--resize-root-window)
6878 (window--resize-root-window-vertically)
6879 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6880 (maximize-window, minimize-window, delete-window)
6881 (quit-restore-window, window-split-min-size, split-window)
6882 (balance-windows-2, balance-windows)
6883 (balance-windows-area-adjust, balance-windows-area)
6884 (window--state-get-1, window-state-get, window--state-put-1)
6885 (window--state-put-2, window-state-put)
6886 (display-buffer-record-window, window--display-buffer):
6887 Make functions handle pixelwise sizing of windows.
6888 (display-buffer--action-function-custom-type)
6889 (display-buffer-fallback-action):
6890 Add display-buffer-in-previous-window.
6891 (display-buffer-use-some-window): Resize window to height it had
6893 (fit-window-to-buffer-horizontally): New option.
6894 (fit-frame-to-buffer): Describe new values.
6895 (fit-frame-to-buffer-bottom-margin): Replace with
6896 fit-frame-to-buffer-margins.
6897 (window--sanitize-margin): New function.
6898 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6899 using window-text-pixel-size.
6901 2013-11-30 Glenn Morris <rgm@gnu.org>
6903 * emacs-lisp/bytecomp.el (byte-compile-form):
6904 Make the `interactive-only' warning like the `obsolete' one.
6905 * comint.el (comint-run):
6906 * files.el (insert-file-literally, insert-file):
6907 * replace.el (replace-string, replace-regexp):
6908 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6909 (goto-line, insert-buffer, next-line, previous-line):
6910 Tweak `interactive-only' spec.
6912 Stop keeping (most) generated cedet grammar files in the repository.
6913 * Makefile.in (semantic): New.
6914 (compile-main): Depend on semantic.
6916 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6918 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6919 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6921 * uniquify.el (uniquify-buffer-name-style): Change default.
6923 * loadup.el: Preload "uniquify".
6925 * time.el (display-time-update): Update all mode lines (bug#15999).
6927 * electric.el (electric-indent-mode): Enable by default.
6928 * loadup.el: Preload "electric".
6930 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6932 * emacs-lisp/helpers.el (string-empty-p): New function.
6933 (string-blank-p): New function.
6935 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6937 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6940 2013-11-29 Andreas Politz <politza@fh-trier.de>
6941 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6942 allow non-lambda lists as functions.
6943 (imenu--in-alist): Don't recurse into non-subalists.
6944 (imenu): Don't pass function itself as an argument (Bug#14029).
6946 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6948 * progmodes/python.el (python-mode-map): Remove binding for ":".
6949 (python-indent-electric-colon): Remove command.
6950 (python-indent-post-self-insert-function): Integrate the previous code
6951 of python-indent-electric-colon. Make it conditional on
6952 electric-indent-mode.
6953 (python-mode): Add ?: to electric-indent-chars.
6954 Move python-indent-post-self-insert-function to the end of
6955 post-self-insert-hook.
6957 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * doc-view.el (doc-view-goto-page): Update mode-line.
6961 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6963 2013-11-27 Glenn Morris <rgm@gnu.org>
6965 * international/charprop.el, international/uni-bidi.el:
6966 * international/uni-category.el, international/uni-combining.el:
6967 * international/uni-comment.el, international/uni-decimal.el:
6968 * international/uni-decomposition.el, international/uni-digit.el:
6969 * international/uni-lowercase.el, international/uni-mirrored.el:
6970 * international/uni-name.el, international/uni-numeric.el:
6971 * international/uni-old-name.el, international/uni-titlecase.el:
6972 * international/uni-uppercase.el:
6973 Remove generated files from VCS repository.
6975 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6977 * filenotify.el (file-notify-add-watch): Don't special-case
6978 w32notify when computing the directory to watch.
6980 2013-11-27 Glenn Morris <rgm@gnu.org>
6982 Make bootstrap without generated uni-*.el files possible again.
6983 * loadup.el: Update command-line-args checking for unidata-gen.
6984 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6985 * composite.el, international/characters.el:
6986 Handle unicode tables being undefined.
6988 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6989 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6990 (compile-main): Depend on leim rule.
6992 * loadup.el: Move leim-list.el to leim/ subdirectory.
6993 * startup.el (normal-top-level): No more leim directory.
6994 * international/ja-dic-cnv.el (skkdic-convert):
6995 Disable version-control and autoloads in output files.
6996 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6997 Disable version-control and autoloads in output files.
6998 * leim/quail: Move here from ../leim.
6999 * leim/quail/hangul.el (hangul-input-method-activate):
7000 Add autoload cookie.
7001 (generated-autoload-load-name): Set file-local value.
7002 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7003 (generated-autoload-load-name): Set file-local value.
7005 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
7007 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7008 (eww-add-bookmark): Ask confirmation when add to bookmarks.
7009 (eww-quit): Ask confirmation before quitting eww.
7011 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7013 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7014 reading output from Diff on MS-Windows and MS-DOS.
7016 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7018 * emacs-lisp/helpers.el (string-reverse): New function.
7020 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7022 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7023 names on MS Windows, like "/[::1]:".
7025 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7028 2013-11-26 Glenn Morris <rgm@gnu.org>
7030 * progmodes/python.el (python-indent-guess-indent-offset):
7031 Avoid corner-case error. (Bug#15975)
7033 Preload leim-list.el. (Bug#4789)
7034 * loadup.el: Load leim-list.el when found.
7035 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7037 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7039 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7041 * emacs-lisp/helpers.el (string-join): New function.
7043 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7045 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7046 Mark as obsolete and replace it with a symbol property.
7047 (byte-compile-form): Use new 'interactive-only property.
7048 * comint.el, files.el, replace.el, simple.el:
7049 Apply new 'interactive-only properly.
7051 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7053 * window.el (display-buffer-at-bottom): Make sure that
7054 split-window-sensibly creates the new window on bottom
7057 2013-11-23 David Kastrup <dak@gnu.org>
7059 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7060 on the conflict markers when available.
7061 (smerge--get-marker): New function.
7062 (smerge-end-re, smerge-base-re): Add subgroup.
7064 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7066 * frame.el (handle-focus-in, handle-focus-out): Add missing
7069 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7071 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7072 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7074 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7076 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7077 (gomoku--last-pos): New var.
7078 (gomoku--intangible-chars): New const.
7079 (gomoku--intangible): New function.
7080 (gomoku-mode): Use it. Derive from special-mode.
7081 (gomoku-move-up): Adjust line count.
7082 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7083 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7084 Simplify accordingly.
7086 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7087 Remove blink-cursor code.
7088 (blink-cursor-timer-function, blink-cursor-suspend):
7089 Don't special-case GUIs.
7090 (blink-cursor-mode): Use focus-in/out-hook.
7092 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7094 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7095 work when annotation is invisible (Bug#13886).
7097 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7099 * json.el (json-alist-p): Only return non-nil if the alist has
7100 simple keys (Bug#13518).
7102 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7104 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7105 when control-statement is the first statement in a buffer (Bug#15956).
7107 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7109 * imenu.el (imenu-generic-skip-comments-and-strings):
7110 New option (Bug#15560).
7111 (imenu--generic-function): Use it.
7113 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7115 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7118 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7120 * emacs-lisp/helpers.el: Add some string helpers.
7121 (string-trim-left): Removes leading whitespace.
7122 (string-trim-right): Removes trailing whitespace.
7123 (string-trim): Removes leading and trailing whitespace.
7125 * subr.el (string-suffix-p): New function.
7127 2013-11-23 Glenn Morris <rgm@gnu.org>
7129 * progmodes/python.el (python-shell-send-file):
7130 Add option to delete file when done. (Bug#15647)
7131 (python-shell-send-string, python-shell-send-region): Use it.
7133 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7135 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7136 to set buffer-read-only to t, never to nil. (Bug#15938)
7138 * textmodes/tex-mode.el (latex-noindent-environments):
7139 Add safe-local-variable property. (Bug#15936)
7141 2013-11-23 Glenn Morris <rgm@gnu.org>
7143 * textmodes/enriched.el (enriched-mode): Doc fix.
7144 * emacs-lisp/authors.el (authors-renamed-files-alist):
7145 Add enriched.doc -> enriched.txt.
7147 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7149 2013-11-22 Leo Liu <sdl.web@gmail.com>
7151 * progmodes/octave.el (inferior-octave-startup): Spit out error
7154 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7156 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7159 (ruby-encoding-magic-comment-style): Add :version.
7161 2013-11-22 Leo Liu <sdl.web@gmail.com>
7163 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7165 (octave-help-mode): Adapt to change to help-mode-finish to use
7166 derived-mode-p on 2013-09-17.
7167 (inferior-octave-prompt): Also match octave-gui.
7168 (octave-kill-process): Don't ask twice. (Bug#10564)
7170 2013-11-22 Leo Liu <sdl.web@gmail.com>
7172 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7173 (inferior-octave-startup, inferior-octave-check-process)
7174 (inferior-octave-track-window-width-change)
7175 (octave-completion-at-point, octave-eldoc-function): Use it.
7176 (octave-kill-process): Provide confirmation. (Bug#10564)
7178 2013-11-21 Leo Liu <sdl.web@gmail.com>
7180 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7181 Fix obsolete variable comment-use-global-state.
7183 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7185 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7186 Add `octave-source-file'.
7187 (octave-source-file): New function. (Bug#15935)
7189 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7191 * net/eww.el (eww-local-regex): New variable.
7192 (eww): Use it to detect localhost and similar.
7194 2013-11-21 Leo Liu <sdl.web@gmail.com>
7196 Add completion for command `ag'.
7197 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7198 (pcomplete/ag): New function.
7199 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7201 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7205 (make-obsolete): Remove interactive spec.
7207 2013-11-21 Glenn Morris <rgm@gnu.org>
7209 * startup.el (command-line-1): Use path-separator with -L.
7211 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7213 * emacs-lisp/package.el (describe-package-1): Add package archive
7216 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7218 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7219 Change default to "# encoding: %s" to differentiate it from the
7220 default Ruby encoding comment template.
7222 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7224 * ses.el (ses-mode): Doc fix. (Bug#14748)
7226 2013-11-20 Leo Liu <sdl.web@gmail.com>
7228 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7230 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7232 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7233 when rebase or bisect are in progress.
7235 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7237 * filenotify.el (file-notify-add-watch): Doc fix.
7239 2013-11-19 Leo Liu <sdl.web@gmail.com>
7241 * obsolete/rcompile.el: Mark obsolete.
7243 * progmodes/compile.el (compilation-start)
7244 (compilation-goto-locus, compilation-find-file):
7245 Pass no-display-ok and handle nil value from display-buffer.
7248 * window.el (display-buffer-alist, display-buffer): Document the
7249 new parameter no-display-ok. Return either a window or nil
7250 but never a non-window value.
7252 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7254 * electric.el (electric-indent-mode-map): Remove.
7255 (electric-indent-mode): Change the global-map instead (bug#15915).
7257 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7260 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * emacs-lisp/nadvice.el (remove-function): Align with
7263 add-function's behavior.
7265 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7266 (gdb--string-regexp): New constant.
7267 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7268 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7269 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7271 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7272 Adjust use accordingly.
7273 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7275 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7277 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7278 interpolation curlies (Bug#15914).
7280 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7282 * calc/calc.el (calc-context-sensitive-enter): New variable.
7283 (calc-enter): Use `calc-context-sensitive-enter'.
7285 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7287 * progmodes/cfengine.el: Version bump.
7288 (cfengine-cf-promises): New defcustom to locate cf-promises.
7289 (cfengine3-vartypes): Add new "data" type.
7290 (cfengine3--current-word): New function to get current name-like
7292 (cfengine3--current-function): New function to look up a CFEngine
7293 function's definition.
7294 (cfengine3-format-function-docstring): New function.
7295 (cfengine3-make-syntax-cache): New function.
7296 (cfengine3-documentation-function): New function: ElDoc glue.
7297 (cfengine3-completion-function): New function: completion glue.
7298 (cfengine3-mode): Set `compile-command',
7299 `eldoc-documentation-function', and add to
7300 `completion-at-point-functions'.
7302 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7304 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7305 `tramp-current-connection'.
7307 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7309 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7310 nil/self/true/false with "end of symbol".
7312 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7314 * subr.el (version-regexp-alist): Fix a typo.
7316 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7318 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7319 "en_US.utf8" and "LC_CTYPE" to "".
7320 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7321 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7323 2013-11-15 Leo Liu <sdl.web@gmail.com>
7325 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7327 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7329 * progmodes/gud.el (ctl-x-map):
7330 Remove C-x SPC binding. (Bug#12342)
7331 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7333 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7335 * subr.el (version-regexp-alist):
7336 Recognize hg, svn and darcs versions as snapshot versions.
7338 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7339 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7340 (ruby--encoding-comment-required-p): Extract from
7341 `ruby-mode-set-encoding'.
7342 (ruby-mode-set-encoding): Add the ability to always insert an
7343 utf-8 encoding comment. Fix and simplify coding comment update
7346 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7348 * net/tramp-gvfs.el (top): Run init code only when
7349 `tramp-gvfs-enabled' is not nil.
7350 (tramp-gvfs-enabled): Check also :system bus.
7352 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7354 Sync with upstream verilog-mode revision 78e66ba.
7355 * progmodes/verilog-mode.el (verilog-end-of-defun)
7356 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7357 (verilog-get-end-of-defun): Remove unused argument.
7358 (verilog-comment-depth): Remove unused local `e'.
7359 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7360 Don't pass arg to verilog-get-end-of-defun.
7362 2013-11-14 Glenn Morris <rgm@gnu.org>
7364 * obsolete/assoc.el (aget): Prefix dynamic variable.
7366 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7368 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * widget.el, hfy-cmap.el: Remove bogus package version number.
7372 2013-11-13 Glenn Morris <rgm@gnu.org>
7374 * replace.el (replace-eval-replacement):
7375 Try to give more helpful error message. (Bug#15836)
7377 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7378 (archive-7z-update): Avoid custom type mismatches.
7380 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7382 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7384 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7385 address can be empty.
7387 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7388 Accept nil SWITCHES.
7389 (tramp-gvfs-handle-write-region): Implement APPEND.
7391 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7393 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7394 binary "|" operator and closing block args delimiter.
7395 Remove FIXME comment referring to Ruby 1.8-only syntax.
7396 (ruby-smie--implicit-semi-p): Not after "|" operator.
7397 (ruby-smie--closing-pipe-p): New function.
7398 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7399 (ruby-smie-rules): Indent after "|".
7401 2013-11-12 Glenn Morris <rgm@gnu.org>
7403 * ps-print.el (ps-face-attribute-list):
7404 Handle anonymous faces. (Bug#15827)
7406 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7408 * window.el (display-buffer-other-frame): Fix doc-string.
7411 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7413 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7415 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7418 (tramp-sh-handle-file-local-copy): Don't write a message when
7419 saving temporary files.
7421 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7422 both directories are remote.
7423 (tramp-smb-handle-directory-files): Do not return double entries.
7424 Do not expand full file names.
7425 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7426 (tramp-smb-handle-write-region): Implement APPEND.
7427 (tramp-smb-get-stat-capability): Fix a stupid bug.
7429 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7431 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7433 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7435 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7436 throwing error over malformed let/let* (bug#15814).
7438 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7440 * iswitchb.el (iswitchb-mode): Mark obsolete.
7442 2013-11-11 Glenn Morris <rgm@gnu.org>
7444 * international/uni-bidi.el, international/uni-category.el:
7445 * international/uni-name.el, international/uni-numeric.el:
7446 Regenerate for Unicode 6.3.0.
7448 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7450 * net/tramp.el (tramp-methods):
7451 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7452 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7454 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7456 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7457 Force highlighting text after Summary keyword in doc face for rpm.
7459 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7461 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7462 available and the word has no wildcards, append one to the grep pattern.
7463 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7464 (ispell-complete-word): Call `ispell-lookup-words' with the value
7465 independent of `ispell-look-p'.
7467 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7471 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7474 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7477 (ruby-font-lock-keywords): Use backquote.
7479 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7481 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7482 (ruby-smie--backward-token): Only consider full-string matches.
7484 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7486 * faces.el (describe-face): Add distant-foreground.
7488 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7490 * progmodes/ruby-mode.el: Improve encoding comment handling.
7491 (ruby-encoding-magic-comment-style): New option.
7492 (ruby-custom-encoding-magic-comment-template): New option.
7493 (ruby--insert-coding-comment, ruby--detect-encoding):
7494 New functions extracted from `ruby-mode-set-encoding'.
7495 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7496 to control the style of the auto-inserted encoding comment.
7498 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7500 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7501 Use `smie-backward-sexp' with token argument.
7503 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7505 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7506 Remove instrumentation code.
7508 2013-11-08 Glenn Morris <rgm@gnu.org>
7510 * progmodes/autoconf.el (autoconf-mode):
7511 Tweak comment-start-skip. (Bug#15822)
7513 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7515 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7516 at bobp (bug#15826).
7517 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7519 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7521 * man.el (Man-start-calling): New macro, extracted from
7522 Man-getpage-in-background.
7523 (Man-getpage-in-background): Use it.
7524 (Man-update-manpage): New command.
7525 (Man-mode-map): Bind it.
7527 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7529 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7530 of "and", "or", "&&" and "||".
7531 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7532 argument. Prohibit opening curly brace because it could only be a
7533 block opener in that position.
7534 (ruby-smie--forward-token, ruby-smie--backward-token):
7535 Separate "|" from "&" or "*" going after it. That can happen in block
7537 (ruby-smie--indent-to-stmt): New function, seeks the end of
7538 previous statement or beginning of buffer.
7539 (ruby-smie-rules): Use it.
7540 (ruby-smie-rules): Check if there's a ":" before a curly block
7541 opener candidate; if there is, it's a hash.
7543 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7546 (cl--block-wrapper): Fix last accidental change.
7548 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7550 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7551 Instrument, in order to hunt failure on hydra.
7553 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7555 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7556 malformed bindings form (bug#15814).
7558 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7560 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7561 "." compared to " @ ". This incidentally fixes some indentation
7563 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7564 (ruby-smie-grammar): New tokens: "and" and "or".
7565 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7566 Exclude "and" and "or". Remove "do" in order to work around token
7568 (ruby-smie-rules): Add all infix tokens. Handle the case of
7569 beginning-of-buffer.
7571 2013-11-06 Glenn Morris <rgm@gnu.org>
7573 * Makefile.in (setwins_almost, setwins_for_subdirs):
7574 Avoid accidental matches.
7576 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7578 * menu-bar.el (popup-menu): Use key-binding.
7580 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7582 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7583 menus, support also the menus produced by minor modes.
7586 2013-11-06 Leo Liu <sdl.web@gmail.com>
7588 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7589 DISTANCE to bound the search. All uses changed. (Bug#15808)
7591 2013-11-06 Glenn Morris <rgm@gnu.org>
7593 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7594 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7595 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7597 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * electric.el (electric-indent-just-newline): New command.
7600 (electric-indent-mode-map): New keymap.
7601 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7602 Re-add :group which weren't redundant.
7604 * electric.el (electric-indent-local-mode): New minor mode.
7605 (electric-indent-functions-without-reindent): New var.
7606 (electric-indent-post-self-insert-function): Use it.
7607 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7609 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7611 * international/quail.el (quail-help): Be more explicit about the
7612 meaning of the labels shown on the keys. (Bug#15800)
7614 * startup.el (normal-top-level): Load the subdirs.el files before
7615 setting the locale environment. (Bug#15805)
7617 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7620 via arguments so as to get the right ones (bug#15418).
7622 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7624 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7626 Fix problems found while writing a test suite.
7628 * net/tramp-compat.el (tramp-compat-load): New defun.
7629 * net/tramp.el (tramp-handle-load): Use it.
7631 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7632 "(numberp ok-if-already-exists)" correctly.
7634 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7636 * international/characters.el (glyphless-char-display-control):
7639 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7641 * progmodes/python.el (python-mode):
7642 * progmodes/scheme.el (scheme-mode):
7643 * progmodes/prolog.el (prolog-mode):
7644 * progmodes/ruby-mode.el (ruby-mode):
7645 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7646 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7648 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * rect.el (rectangle--highlight-for-redisplay):
7651 * emacs-lisp/smie.el (smie--next-indent-change):
7652 Use buffer-chars-modified-tick.
7654 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7656 * electric.el (electric-indent-post-self-insert-function):
7657 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7659 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7661 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7663 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7665 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7668 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7670 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7672 * progmodes/python.el: Fix up last change.
7673 (python-shell--save-temp-file): New function.
7674 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7675 `string' comes from the current buffer.
7676 (python-shell-send-string-no-output): Remove `msg' arg.
7677 (python--use-fake-loc): New var.
7678 (python-shell-buffer-substring): Obey it. Try to compensate for the
7679 extra coding line added by python-shell--save-temp-file.
7680 (python-shell-send-region): Use python-shell--save-temp-file and
7681 python-shell-send-file directly. Add `nomain' argument.
7682 (python-shell-send-buffer): Use python-shell-send-region.
7683 (python-electric-pair-string-delimiter): New function.
7684 (python-mode): Use it.
7686 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7688 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7689 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7690 environment and decoding all of the default-directory's to here
7692 (command-line): Decode also argv[0].
7694 * loadup.el: Error out if default-directory is a multibyte string
7695 when we are dumping.
7697 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7699 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7701 * emacs-lisp/package.el (package-menu-mode)
7702 (package-menu--print-info, package-menu--archive-predicate):
7703 Add Archive column to package list.
7705 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7707 Fix problems found while writing a test suite.
7709 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7710 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7711 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7712 to nil when running original file name handler. Otherwise,
7713 there are problems with constructs like "$$FOO".
7715 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7718 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7720 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7722 * subr.el (version<, version<=, version=):
7723 Update docstrings with information for snapshot versions.
7725 * helpers.el: New library for misc helper functions.
7726 (hash-table-keys): New function returning a list of hash keys.
7727 (hash-table-values): New function returning a list of hash values.
7729 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7731 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7732 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7734 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7736 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7737 checking whether point is after a 1-letter word.
7739 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7741 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7742 Don't infloop when expanding region over `multiline' syntax-type that
7743 begins a line (bug#15778).
7745 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7747 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7748 Make it into a proper minor mode.
7749 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7750 (rectangle-mark-mode-map): New keymap.
7751 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7753 2013-11-04 Glenn Morris <rgm@gnu.org>
7755 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7757 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7759 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7760 (ruby-smie-rules): Use smie-rule-parent instead.
7762 * emacs-lisp/smie.el (smie-rule-parent): Always call
7763 smie-indent-virtual rather than only for hanging tokens.
7764 (smie--next-indent-change): New helper command.
7766 2013-11-03 Glenn Morris <rgm@gnu.org>
7768 * Makefile.in (abs_srcdir): Remove.
7769 (emacs): Unset EMACSLOADPATH.
7771 2013-11-02 Glenn Morris <rgm@gnu.org>
7773 * Makefile.in (EMACS): Use a relative filename.
7774 (abs_top_builddir): Remove.
7775 (custom-deps, finder-data, autoloads): Use --chdir.
7777 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7779 Use relative filenames in TAGS files.
7780 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7781 (lisptagsfiles4, TAGS): Use relative file names.
7782 (TAGS-LISP): Remove.
7783 (maintainer-clean): No more TAGS-LISP file.
7785 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7786 (lisptagsfiles4): Use absolute filenames again.
7787 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7788 Remove all *loaddefs files, not just the first. Remove esh-groups.
7789 (maintainer-clean): Delete TAGS, TAGS-LISP.
7791 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7793 * emacs-lisp/package.el (package-version-join):
7794 Recognize snapshot versions.
7796 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7798 * subr.el (version-regexp-alist): Add support for snapshot versions.
7800 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7802 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7803 New function, replacement for `smie-rule-parent' for when we want to
7804 skip over our direct parent if it's an assignment token..
7805 (ruby-smie-rules): Use it.
7807 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7809 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7810 unconditionally. Remove now unnecessary forward declarations.
7811 Remove XEmacs-specific setup.
7812 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7813 (ruby-font-lock-syntactic-keywords)
7814 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7815 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7816 (ruby-here-doc-end-syntax): Remove.
7817 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7818 defined as function.
7820 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7822 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7824 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7826 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7827 table and abbrev table, `define-derived-mode' does that for us
7830 2013-11-01 Glenn Morris <rgm@gnu.org>
7832 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7833 files is atomic for some time, so no parallel compilation issues).
7835 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7837 * faces.el (face-x-resources): Add :distant-foreground.
7838 (region): Use :distant-foreground for gtk and ns.
7840 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7842 Allow multiple bibliographies when BibLaTeX is used rather than
7844 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7845 (reftex-locate-bibliography-files): Us it.
7847 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7849 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7850 allow comments in pbm files.
7852 * term/w32-win.el (dynamic-library-alist): Support newer versions
7853 of libjpeg starting with v7: look only for the DLL from the
7854 version against which Emacs was built.
7855 Support versions of libpng beyond 1.4.x.
7856 Support libtiff v4.x.
7858 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7860 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7861 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7863 (ruby-deep-arglist): Add property :type.
7865 2013-10-31 Glenn Morris <rgm@gnu.org>
7867 * Makefile.in (custom-deps, finder-data): No need to setq the target
7868 variables, we are in the right directory and the defaults work fine.
7870 2013-10-30 Glenn Morris <rgm@gnu.org>
7872 * Makefile.in (autoloads): Do not use abs_lisp.
7874 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7875 `newline' does not respect `standard-output', so use `princ'.
7877 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7879 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7880 * buff-menu.el (Buffer-menu--unmark): New function.
7881 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7883 2013-10-30 Glenn Morris <rgm@gnu.org>
7885 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7887 * emacs-lisp/package.el (lm-homepage): Declare.
7889 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7892 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7894 * Makefile.in (finder-data, autoloads, update-subdirs)
7895 (compile-main, compile-clean, compile-always, bootstrap-clean):
7896 Check return value of cd.
7897 (compile-calc): Remove.
7899 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7901 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7903 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7904 (byte-compile-and-folded): New function.
7905 (=, <, >, <=, >=): Use it.
7907 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7908 (path-separator, null-device, buffer-file-coding-system)
7909 (lpr-headers-switches): Check system-type before modifying them.
7910 (find-buffer-file-type-coding-system): Mark obsolete.
7911 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7912 find-file-not-found-set-buffer-file-coding-system.
7913 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7914 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7915 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7916 (w32-direct-print-region-helper, w32-direct-print-region-function)
7917 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7918 * startup.el (normal-top-level-add-subdirs-to-load-path):
7919 * ps-print.el (ps-print-region-function):
7920 * lpr.el (print-region-function): Use new name.
7922 * subr.el (custom-declare-variable-early): Remove function.
7923 (custom-declare-variable-list): Remove var.
7924 (error, user-error): Remove `while' loop.
7925 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7926 (user-emacs-directory-warning, locate-user-emacs-file):
7928 * simple.el (read-quoted-char-radix, read-quoted-char):
7929 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7931 * custom.el (custom-declare-variable-list): Don't process
7932 custom-declare-variable-list.
7934 * progmodes/python.el (python-shell-get-buffer): New function.
7935 (python-shell-get-process): Use it.
7936 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7937 Python which encoding was used. Don't split-string since we only care
7938 about the first line. Return the temp-file, if applicable.
7939 (python-shell-send-region): Tell compile.el how to turn locations in
7940 the temp-file into locations in the source buffer.
7942 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7944 * subr.el (undefined): Add missing behavior from the C code for
7947 * rect.el: Use lexical-binding. Add new rectangular region support.
7948 (rectangle-mark): New command.
7949 (rectangle--region): New var.
7950 (deactivate-mark-hook): Reset rectangle--region.
7951 (rectangle--extract-region, rectangle--insert-for-yank)
7952 (rectangle--highlight-for-redisplay)
7953 (rectangle--unhighlight-for-redisplay): New functions.
7954 (region-extract-function, redisplay-unhighlight-region-function)
7955 (redisplay-highlight-region-function): Use them to handle
7957 * simple.el (region-extract-function): New var.
7958 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7959 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7960 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7961 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7962 (redisplay-unhighlight-region-function)
7963 (redisplay-highlight-region-function): New vars.
7964 (redisplay--update-region-highlight): New function.
7965 (pre-redisplay-function): Use it.
7966 (exchange-point-and-mark): Don't deactivate the mark before
7967 reactivate-it anyway.
7968 * comint.el (comint-kill-region): Remove yank-handler argument.
7969 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7970 (delete-char): Remove property, since it's now part of their
7972 (self-insert-iso): Remove property since this command doesn't exist.
7974 * emacs-lisp/package.el (package--download-one-archive)
7975 (describe-package-1): Don't query the user about final newline.
7977 2013-10-29 Daniel Colascione <dancol@dancol.org>
7979 * net/tramp.el (tramp-methods): Document new functionality.
7980 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7981 tramp-hostname-checker if method provides one instead of scanning
7982 argument list for "%h" to decide hostname acceptability.
7984 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7986 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7987 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7988 Handle COPY-CONTENTS. (Bug#15737)
7990 2013-10-28 Daiki Ueno <ueno@gnu.org>
7993 (epa-file-cache-passphrase-for-symmetric-encryption):
7994 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7996 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7998 * image.el (defimage, image-load-path): Doc fixes.
8000 2013-10-27 Alan Mackenzie <acm@muc.de>
8002 Indent statements in macros following "##" correctly.
8003 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8004 Modify the "#" arm of a cond form to handle "#" and "##" operators.
8006 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8008 * linum.el (linum-update-window): Fix boundary test (bug#13446).
8010 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8012 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8013 after `=' is probably a new expression.
8015 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8017 * man.el (man-imenu-title): New option.
8018 (Man-mode-map): Add menu. (Bug#15722)
8019 (Man-mode): Add imenu to menu.
8021 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8023 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8024 specific in what the first arg can be: a non-keyword word,
8025 string/regexp/percent literal opener, opening paren, or unary
8026 operator followed directly by word.
8028 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8030 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8031 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8032 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8033 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8034 Remove vars, they do not apply any more.
8035 (prolog-mode-abbrev-table): Remove redundant declaration.
8036 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8037 (prolog-use-smie): Remove.
8038 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8039 supported by prolog-electric-if-then-else-flag.
8040 (prolog-mode-variables, prolog-menu): Use setq-local.
8041 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8042 Remove binding to `Backspace' since this key doesn't exist anyway.
8043 Remove bindings for electric self-inserting keys.
8044 (prog-mode): Assume it's defined.
8045 (prolog-post-self-insert): New function.
8046 (prolog-mode): Use it.
8047 (prolog-indent-line, prolog-indent-level)
8048 (prolog-find-indent-of-matching-paren)
8049 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8050 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8051 (prolog-goto-next-paren, prolog-in-string-or-comment)
8052 (prolog-tokenize, prolog-inside-mline-comment)
8053 (prolog-find-start-of-mline-comment): Remove functions.
8054 (prolog-find-unmatched-paren, prolog-clause-end)
8055 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8056 (prolog-electric--if-then-else): Rename from
8057 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8058 (prolog-tokenize-searchkey): Remove const.
8059 (prolog-clause-info): Use forward-sexp.
8060 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8061 (prolog-electric-if-then-else): Remove commands.
8062 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8063 for use in post-self-insert-hook.
8064 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8065 for use in post-self-insert-hook.
8066 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8067 for use in post-self-insert-hook.
8068 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8069 adapt it for use in post-self-insert-hook.
8071 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8073 * emacs-lisp/ert.el (ert-run-tests-interactively):
8074 Use `completing-read'. (Bug#9756)
8076 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8078 * simple.el (line-move): Call line-move-1 instead of
8079 line-move-visual when the current window hscroll is zero, but
8080 temporary-goal-column indicates we will need to hscroll as result
8081 of the movement. (Bug#15712)
8083 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8085 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8086 capitalization. Use :visible instead of :active.
8087 Fix `ruby-indent-exp' reference. Add menu items for the generic
8088 commands that are used with SMIE.
8089 (ruby-do-end-to-brace): Insert space after `{'.
8091 2013-10-25 John Anthony <john@jo.hnanthony.com>
8093 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8095 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8097 2013-10-25 Glenn Morris <rgm@gnu.org>
8099 * vc/vc.el (vc-print-log): Don't use a working revision unless
8100 one was explicitly specified. (Bug#15322)
8102 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * subr.el (add-to-list): Preserve return value in compiler-macro
8107 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8109 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8110 result. Ask user to retry using '-all' flag. (Bug#15701)
8112 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8114 * emacs-lisp/smie.el: New smie-config system.
8115 (smie-config): New defcustom.
8116 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8117 (smie-config-guess, smie-config-save): New commands.
8118 (smie-config--mode-local, smie-config--buffer-local)
8119 (smie-config--trace, smie-config--modefuns): New vars.
8120 (smie-config--advice, smie-config--mode-hook)
8121 (smie-config--setter, smie-config-local, smie-config--get-trace)
8122 (smie-config--guess-value, smie-config--guess): New functions.
8123 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8124 text properties. Treat "string fence" syntax like string syntax.
8126 * progmodes/sh-script.el (sh-use-smie): Change default.
8127 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8128 (sh-var-value): Simplify by CSE.
8129 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8130 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8132 (sh-guess-basic-offset): Use cl-incf.
8133 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8135 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8137 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8140 2013-10-24 Glenn Morris <rgm@gnu.org>
8142 * Makefile.in (abs_top_srcdir): Remove.
8143 (update-subdirs): Use relative path to update-subdirs.
8145 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8147 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8148 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8149 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8150 Call unmsys--file-name before expand-file-name, not after it.
8152 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8154 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8155 (ert-test-skipped): New error.
8156 (ert-skip, ert-stats-skipped): New defuns.
8157 (ert--skip-unless): New macro.
8158 (ert-test-skipped): New struct.
8159 (ert--run-test-debugger, ert-test-result-type-p)
8160 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8161 (ert--stats-set-test-and-result, ert-char-for-test-result)
8162 (ert-string-for-test-result, ert-run-tests-batch)
8163 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8164 Handle skipped tests. (Bug#9803)
8166 2013-10-24 Glenn Morris <rgm@gnu.org>
8168 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8170 * Makefile.in (abs_top_srcdir): New, set by configure.
8171 (update-subdirs): Correct build-aux location.
8173 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8175 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8176 value, whether we could auto-deduce `backend', or not.
8178 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8179 with parameters" example. Simplify the "is it block or is it
8180 hash" check, but also make it more thorough.
8182 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8184 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8186 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8191 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8194 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8196 * progmodes/compile.el (compilation-directory-matcher)
8197 (compilation-page-delimiter):
8198 Support GNU Make-4.0 directory quoting. (Bug#15678)
8200 2013-10-23 Leo Liu <sdl.web@gmail.com>
8202 * ido.el (ido-tidy): Handle read-only text.
8204 2013-10-23 Glenn Morris <rgm@gnu.org>
8206 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8207 (emacs, compile, compile-always):
8208 Quote entities that might contain whitespace.
8209 (custom-deps, finder-data, autoloads): Use abs_lisp.
8210 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8211 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8212 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8214 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8216 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8217 Use `following-char'.
8219 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8222 * progmodes/ruby-mode.el (ruby-smie-rules):
8223 Remove corresponding workaround. Fix indentation rule of ";" so it
8224 also applies when ";" is the parent.
8226 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8228 * frame.el (display-screens, display-pixel-height)
8229 (display-pixel-width, display-mm-width, display-backing-store)
8230 (display-save-under, display-planes, display-color-cells)
8231 (display-visual-class, display-monitor-attributes-list):
8232 Mention the optional ‘display’ argument in doc strings.
8234 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8236 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8237 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8239 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8241 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8242 TODO. Add "." after " @ ".
8243 (ruby-smie--at-dot-call): New function. Checks if point at method
8244 call with explicit target.
8245 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8246 to the method name tokens when it precedes them.
8247 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8248 (ruby-smie-rules): Add rule for indentation before and after "."
8251 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8253 * textmodes/remember.el (remember-diary-extract-entries):
8256 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8259 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8261 * progmodes/ruby-mode.el (ruby-smie-grammar):
8262 Add (almost) all infix operators.
8263 (ruby-smie--implicit-semi-p): Add new operator chars.
8265 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8267 (ruby-smie--args-separator-p): Check that there's no newline
8268 between method call and its arguments.
8270 2013-10-20 Alan Mackenzie <acm@muc.de>
8272 Allow comma separated lists after Java "implements".
8274 * progmodes/cc-engine.el (c-backward-over-enum-header):
8276 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8277 from a "disallowed" list in enum fontification.
8279 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8281 * startup.el (default-frame-background-mode): Remove unused defvar.
8283 * progmodes/verilog-mode.el (verilog-mode): Don't set
8284 comment-indent-function globally.
8286 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8288 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8289 Move Info menu item creation to ns-win.el.
8291 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8294 * menu-bar.el: Move GNUstep specific menus...
8296 * term/ns-win.el (ns-initialize-window-system): ... to here.
8298 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8300 * simple.el (newline): Only run post-self-insert-hook when
8301 called interactively.
8303 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8305 * icomplete.el (icomplete-with-completion-tables): Add :version.
8307 2013-10-19 Alan Mackenzie <acm@muc.de>
8309 Fix fontification bugs with constructors and const.
8311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8312 CASE 2) Remove the check for the absence of a suffix construct
8313 after a function declaration with only types (no identifiers) in
8314 the parentheses. Also, accept a function declaration with just a
8315 type inside the parentheses, if this type can be positively
8316 recognised as such, or if a prefix keyword like "explicit" nails
8317 down the construct as a declaration.
8319 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8321 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8322 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8323 the problem whereby selecting a menu item that leads to a
8324 minibuffer prompt moves the cursor out of the minibuffer window,
8325 making it hard to type at the prompt. Suggested by Stefan Monnier
8326 <monnier@iro.umontreal.ca>.
8328 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8330 * menu-bar.el: Don't make Services menu.
8332 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8334 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8335 (ffap-alist): Use ffap-c++-mode for c++-mode.
8336 (ffap-c++-path): New variable.
8337 (ffap-c++-mode): New function.
8339 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8341 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8343 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8345 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8346 introduced on 2013-09-08, which results in an infinite loop
8347 requesting a password.
8349 2013-10-18 Glenn Morris <rgm@gnu.org>
8351 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8353 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8355 Sync with upstream verilog-mode revision 1a6ecec7.
8356 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8357 (verilog-mode-release-date): Remove.
8358 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8359 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8360 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8361 (verilog-auto-tieoff-ignore-regexp)
8362 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8363 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8364 (verilog-signals-with, verilog-dir-cache-preserving)
8365 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8367 (verilog-case-fold): New option, to control case folding in
8368 regexp searches, bug597.
8369 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8370 (verilog-string-match-fold, verilog-in-paren-count)
8371 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8372 (verilog-at-close-struct-p): New functions.
8373 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8374 (verilog-forward-sexp, verilog-set-auto-endcomments)
8375 (verilog-leap-to-case-head): Handle "unique0" case.
8376 (verilog-in-constraint-re): New constant.
8377 (verilog-keywords, verilog-type-font-keywords):
8378 Add some SystemVerilog 1800-2012 keywords.
8379 (verilog-label-be): Remove unimplemented argument, bug669.
8380 (verilog-batch-execute-func): When batch expanding clear
8381 create-lockfiles to prevent spurious user locks when a file ends
8383 (verilog-calculate-indent, verilog-calc-1)
8384 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8385 (verilog-do-indent): Fix indentation of nested constraints
8387 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8388 (verilog-auto-inst-param): Use verilog-string-match-fold.
8389 (verilog-read-inst-module-matcher):
8390 Fix AUTOINST on gate primitives with #1.
8391 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8392 Reads all user-defined typed variables.
8393 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8394 (verilog-signals-matching-regexp)
8395 (verilog-signals-not-matching-regexp, verilog-auto):
8396 Respect verilog-case-fold.
8397 (verilog-diff-report): Fix line count.
8398 (verilog-auto-assign-modport): Remove unused local `modi'.
8399 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8400 better handle multidimensional arrays.
8401 Fix packed array ports misadding bit index in AUTOINST, bug637.
8402 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8403 to not double-declare existing outputs and inputs, respectively.
8404 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8405 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8406 (verilog-sk-uvm-component): New skeleton.
8407 (verilog-submit-bug-report): Add verilog-case-fold,
8408 remove verilog-mode-release-date.
8410 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8412 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8415 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8417 * textmodes/remember.el (remember): Set buffer-offer-save in
8418 remember buffers (bug#13566).
8420 2013-10-18 Daniel Colascione <dancol@dancol.org>
8422 When evaluating forms in ielm, direct standard output to ielm
8423 buffer. Add new ielm-return-for-effect command. Remove trailing
8424 whitespace throughout.
8426 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8427 (ielm-return-for-effect): New command.
8428 (ielm-send-input): Accept optional `for-effect' parameter.
8429 (ielm-eval-input): Accept optional `for-effect' parameter.
8430 Bind `standard-output' to stream we create using
8431 `ielm-standard-output-impl'. Suppress printing result when
8433 (ielm-standard-output-impl): New function.
8434 (inferior-emacs-lisp-mode): Explain new features in documentation.
8436 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8440 * net/tramp.el (tramp-debug-message): Do not check for connection
8442 (tramp-message): Use "vector" connection property.
8444 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8445 (tramp-equal-remote, tramp-eshell-directory-change)
8446 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8447 (tramp-adb-handle-rename-file)
8448 * net/tramp-cmds.el (tramp-list-remote-buffers)
8449 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8450 * net/tramp-compat.el (tramp-compat-process-running-p)
8451 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8452 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8453 (tramp-gvfs-handle-rename-file)
8454 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8455 (tramp-set-file-uid-gid)
8456 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8457 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8460 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8461 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8462 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8463 (tramp-gw-open-network-stream): Suppress unrelated traces.
8465 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8466 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8467 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8468 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8469 connection property.
8471 * net/tramp-cache.el (top): Suppress traces when reading
8474 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8475 Refactor common code. Improve debug message.
8476 (tramp-maybe-open-connection)
8477 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8478 connection buffer too early.
8480 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8481 from `tramp-smb-actions-with-acl'.
8482 (tramp-smb-actions-set-acl): New defconst.
8483 (tramp-smb-handle-copy-directory)
8484 (tramp-smb-action-get-acl): New defun, renamed from
8485 `tramp-smb-action-with-acl'.
8486 (tramp-smb-action-set-acl): New defun.
8487 (tramp-smb-handle-set-file-acl): Rewrite.
8489 2013-10-17 Glenn Morris <rgm@gnu.org>
8491 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8493 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8495 * skeleton.el (skeleton-newline): Remove.
8496 (skeleton-internal-1): Use (insert "\n") instead.
8498 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8501 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8502 forward-sexp-function while we redo its job (bug#15613).
8504 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8506 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8507 represented by lists.
8509 2013-10-16 Glenn Morris <rgm@gnu.org>
8511 * tmm.el (tmm--history): New dynamic variable.
8512 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8514 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8516 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8517 (tramp-smb-errors): Add error messages.
8518 (tramp-smb-actions-with-acl): New defconst.
8519 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8520 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8521 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8522 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8523 (tramp-smb-get-stat-capability): Fix tests.
8525 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8527 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8530 2013-10-16 Glenn Morris <rgm@gnu.org>
8532 * ansi-color.el (ansi-color-drop-regexp):
8533 Add 1J, 1K, 2K. (Bug#15617)
8535 * files.el (hack-local-variables--warned-lexical): New.
8536 (hack-local-variables):
8537 Warn about misplaced lexical-binding. (Bug#15616)
8539 * net/eww.el (eww-render): Always set eww-current-url,
8540 and update header line. (Bug#15622)
8541 (eww-display-html): ... Rather than just doing it here.
8543 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8545 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8546 menu navigations commands.
8548 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8550 * progmodes/subword.el (subword-capitalize): Be careful when
8551 the search for [[:alpha:]] fails (bug#15580).
8553 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8555 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8556 to commands that scroll the menu.
8558 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8560 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8561 Handle methods ending with `?' and `!'.
8563 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8565 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8566 `japanese-cp932' to `cp932' to fix the problem where saving a
8567 source file written in Shift_JIS twice would end up having
8568 `coding: japanese-cp932' which Ruby could not recognize.
8569 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8570 in `ruby-encoding-map'.
8571 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8572 doesn't need to be explicitly declared in magic comment.
8573 (ruby-encoding-map): Add type declaration for better customize UI.
8575 2013-10-13 Glenn Morris <rgm@gnu.org>
8577 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8578 Occur buffers are read-only. http://bugs.debian.org/720775
8580 * emacs-lisp/authors.el (authors-fixed-entries):
8581 Comment out old alpha stuff.
8583 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8585 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8586 to `after-save-hook' instead of `before-save-hook'.
8587 (ruby-mode-set-encoding): Use the value of coding system used to
8588 write the file. Call `basic-save-buffer-1' after modifying the
8591 2013-10-13 Alan Mackenzie <acm@muc.de>
8593 Fix indentation/fontification of Java enum with
8594 "implements"/generic.
8596 * progmodes/cc-engine.el (c-backward-over-enum-header):
8597 Extracted from the three other places and enhanced to handle generics.
8598 (c-inside-bracelist-p): Uses new function above.
8599 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8601 (c-font-lock-enum-tail): Uses new function above.
8603 2013-10-13 Kenichi Handa <handa@gnu.org>
8605 * international/mule-cmds.el (select-safe-coding-system): Remove a
8606 superfluous condition in chekcing whether a coding system is safe
8609 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8611 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8613 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8615 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8617 2013-10-13 Glenn Morris <rgm@gnu.org>
8619 * menu-bar.el (menu-bar-update-buffers):
8620 Unify Buffers menu prompt string. (Bug#15576)
8622 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8624 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8626 (authors-fixed-entries): Use accented form of name.
8628 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8631 method calls (bug#15594).
8632 (ruby-smie--args-separator-p): New function.
8633 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8634 recognize paren-free method calls.
8636 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8637 internals of universal-argument.
8639 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8641 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8642 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8643 dropped menu on second mouse click on the menu bar.
8645 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8647 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8648 (explicit-shell-file-name): Declare.
8649 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8650 (sh-completion-at-point-function): New function.
8652 (sh-smie--keyword-p): Remove unused argument.
8653 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8655 (sh-set-shell): Always setup SMIE, even if we use the
8656 old indentation code.
8658 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8660 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8662 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8663 predicate would return nil are almost non-existent.
8664 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8666 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8667 cache also after commands that modify the buffer but don't move
8670 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * env.el (substitute-env-in-file-name): New function.
8673 (substitute-env-vars): Extend the meaning of the optional arg.
8675 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8677 * term/w32-win.el (dynamic-library-alist): Define separate lists
8678 of GIF DLLs for versions before and after 5.0.0 of giflib.
8681 2013-10-10 João Távora <joaotavora@gmail.com>
8683 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8684 not locked, use last revision and current source as
8685 defaults. (Bug#15569)
8687 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8689 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8692 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8694 * window.el (pop-to-buffer-same-window): Fix doc-string.
8697 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8699 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8701 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8703 * calendar/icalendar.el (icalendar-import-file):
8704 Fix interactive spec. (Bug#15482)
8706 2013-10-10 Glenn Morris <rgm@gnu.org>
8708 * desktop.el (desktop-save): Default to saving in .emacs.d,
8709 since PWD is no longer in desktop-path by default. (Bug#15319)
8711 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8712 now that text mode has a menu with the same entry.
8713 (menu-bar-text-mode-auto-fill): Remove now unused func.
8714 * textmodes/text-mode.el (text-mode-map):
8715 Use auto-fill help text from menu-bar.el.
8717 2013-10-10 John Anthony <john@jo.hnanthony.com>
8719 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8721 2013-10-09 Juri Linkov <juri@jurta.org>
8723 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8724 instead of this-command-keys. Add universal-argument-more and
8725 universal-argument-minus to the list of prefix commands. (Bug#15568)
8727 2013-10-09 Glenn Morris <rgm@gnu.org>
8729 * vc/vc-svn.el (vc-svn-create-repo):
8730 Expand paths in file://... url. (Bug#15446)
8732 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8734 (authors): Remove unused local variables.
8736 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8738 * profiler.el: Create a more coherent calltree from partial backtraces.
8739 (profiler-format): Hide the tail with `invisible' so that C-s can still
8740 find the hidden elements.
8741 (profiler-calltree-depth): Don't recurse so enthusiastically.
8742 (profiler-function-equal): New hash-table-test.
8743 (profiler-calltree-build-unified): New function.
8744 (profiler-calltree-build): Use it.
8745 (profiler-report-make-name-part): Indent the calltree less.
8746 (profiler-report-mode): Add visibility specs for profiler-format.
8747 (profiler-report-expand-entry, profiler-report-toggle-entry):
8748 Expand the whole subtree when provided with a prefix arg.
8750 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8752 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8754 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8755 hanging iuwu-mod token.
8756 (ruby-smie--forward-token): Do not include a dot after a token in
8758 (ruby-smie--backward-token): Likewise.
8760 2013-10-08 Juri Linkov <juri@jurta.org>
8762 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8763 to isearch-other-control-char.
8764 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8765 and isearch-post-command-hook to post-command-hook.
8766 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8767 and isearch-post-command-hook from post-command-hook.
8768 (isearch-unread-key-sequence)
8769 (isearch-reread-key-sequence-naturally)
8770 (isearch-lookup-scroll-key, isearch-other-control-char)
8771 (isearch-other-meta-char): Remove functions.
8772 (isearch-pre-command-hook, isearch-post-command-hook):
8773 New functions based on isearch-other-meta-char rewritten
8774 relying on the new behavior of overriding-terminal-local-map
8775 that does not replace the local keymaps any more. (Bug#15200)
8777 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8779 Support menus on text-mode terminals.
8780 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8783 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8785 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8786 Move here from mouse.el.
8787 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8789 (tty-menu-navigation-map): New map for TTY menu navigation.
8791 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8793 * frame.el (display-mouse-p): Report text-mode mouse as available
8795 (display-popup-menus-p): Report availability if mouse is
8796 available; don't condition on window-system.
8798 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8799 (tty-menu-selected-face): New faces.
8801 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8804 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8805 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8806 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8808 (lisp-mode-variables): New `elisp' argument.
8809 (emacs-lisp-mode): Use it.
8810 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8811 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8813 * indent.el: Use lexical-binding.
8814 (indent-region): Add progress reporter.
8815 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8817 (indent--next-tab-stop): New function to implement this behavior.
8818 (tab-to-tab-stop, move-to-tab-stop): Use it.
8820 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8822 * indent.el (indent-rigidly--current-indentation): New function.
8823 (indent-rigidly-map): New var.
8824 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8826 2013-10-08 Bastien Guerry <bzg@gnu.org>
8828 * register.el (insert-register): Fix 2013-10-07 change.
8830 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * progmodes/perl-mode.el: Use lexical-binding.
8833 Remove redundant :group args.
8834 (perl-nochange): Change default to be closer to other major modes's
8836 (perl-indent-line): Don't consider text on current line as a
8837 valid beginning of function from which to indent.
8839 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8840 with more than one argument (bug#15538).
8842 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8844 * vc/pcvs.el: Use lexical-binding.
8845 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8846 environment of `eval'.
8847 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8848 than a list of expressions. Adjust callers.
8849 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8851 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8853 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8854 case of the dot in a chained method call being on the following line.
8856 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8858 * electric.el (electric-indent-inhibit): New var.
8859 (electric-indent-post-self-insert-function): Use it.
8860 * progmodes/python.el (python-mode): Set it.
8862 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8865 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8867 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8868 (css-mode): Use electric-indent-chars.
8870 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8871 (font-lock-beg, font-lock-end): Move before first use.
8872 (nxml-mode): Use syntax-propertize-function.
8873 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8874 (nxml-extend-after-change-region): Remove.
8875 * nxml/xmltok.el: Use lexical-binding.
8876 (xmltok-save): Use `declare'.
8877 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8878 * nxml/nxml-util.el: Use lexical-binding.
8879 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8881 * nxml/nxml-ns.el: Use lexical-binding.
8882 (nxml-ns-save): Use `declare'.
8883 (nxml-ns-prefixes-for): Avoid add-to-list.
8884 * nxml/rng-match.el: Use lexical-binding.
8885 (rng--ipattern): Use cl-defstruct.
8886 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8887 (rng-cons-group-after, rng-subst-group-after)
8888 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8889 Use closures instead of `(lambda...).
8891 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8893 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8896 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8897 Use `tramp-handle-insert-file-contents'.
8898 (tramp-gvfs-handle-insert-file-contents): Remove function.
8900 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8901 Use `save-restriction' in order to keep markers.
8903 * net/trampver.el: Update release number.
8905 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8907 * progmodes/compile.el (compilation-parse-errors):
8908 Use compilation--put-prop.
8909 (compilation--ensure-parse): Check compilation-multiline.
8911 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8913 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8916 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8918 * progmodes/ruby-mode.el: Fix recently added tests.
8919 (ruby-smie-grammar): Add - and +.
8920 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8921 (ruby-smie--backward-id): New functions.
8922 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8923 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8926 2013-10-07 Leo Liu <sdl.web@gmail.com>
8928 * register.el (register-preview-delay)
8929 (register-preview-functions): New variables.
8930 (register-read-with-preview, register-preview)
8931 (register-describe-oneline): New functions.
8932 (point-to-register, window-configuration-to-register)
8933 (frame-configuration-to-register, jump-to-register)
8934 (number-to-register, view-register, insert-register)
8935 (copy-to-register, append-to-register, prepend-to-register)
8936 (copy-rectangle-to-register): Use register-read-with-preview to
8937 read register. (Bug#15525)
8939 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8941 * net/network-stream.el (network-stream-open-starttls): Don't add
8942 --insecure if it's already present, because that gnutls-cli
8943 rejects getting that parameter twice.
8945 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8947 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8950 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8952 * newcomment.el (comment-use-global-state): Change default value
8953 to t, mark obsolete (Bug#15251).
8954 (comment-beginning): In addition to `comment-to-syntax', check the
8955 value of `comment-use-global-state'.
8957 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8959 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8960 (ruby-comment-column): Follow the global default, by default.
8961 (ruby-smie-grammar): Add assignment syntax.
8962 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8963 open-paren, a comma, or a \.
8964 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8965 and line continuations.
8966 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8967 followed by implicit semi-colons. Add rule for string concatenation
8968 and for indentation at BOB.
8969 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8971 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8972 calling next-sexp, since next-token may have skipped chars which
8973 next-sexp doesn't know should be skipped!
8975 2013-10-05 Leo Liu <sdl.web@gmail.com>
8977 * progmodes/octave.el (octave-send-region):
8978 Call compilation-forget-errors.
8980 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8982 * vc/vc-svn.el (vc-svn-find-admin-dir):
8983 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8984 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8985 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8986 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8988 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8992 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8994 * subr.el (read-passwd): Hide chars even when called within a context
8995 where after-change-functions is disabled (bug#15501).
8996 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8997 until we removed ourself from overriding-terminal-local-map.
8999 2013-10-04 Leo Liu <sdl.web@gmail.com>
9001 * progmodes/octave.el (inferior-octave-mode):
9002 Call compilation-forget-errors.
9004 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9006 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9008 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
9010 * net/secrets.el (secrets-create-collection): Add optional
9011 argument ALIAS. Use proper Label keyword. Append ALIAS as
9012 dbus-call-method argument. (Bug#15516)
9014 2013-10-04 Leo Liu <sdl.web@gmail.com>
9016 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9017 (inferior-octave-compilation-font-lock-keywords): New variables.
9018 (compilation-error-regexp-alist)
9019 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9020 (inferior-octave-mode): Use compilation-shell-minor-mode.
9022 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9024 * minibuffer.el (completion--replace): Be careful that `end' might be
9027 2013-10-03 Daiki Ueno <ueno@gnu.org>
9029 Add support for package signature checking.
9030 * emacs-lisp/package.el (url-http-file-exists-p)
9031 (epg-make-context, epg-context-set-home-directory)
9032 (epg-verify-string, epg-context-result-for)
9033 (epg-signature-status, epg-signature-to-string)
9034 (epg-check-configuration, epg-configuration)
9035 (epg-import-keys-from-file): Declare.
9036 (package-check-signature): New user option.
9037 (package-unsigned-archives): New user option.
9038 (package-desc): Add `signed' field.
9039 (package-load-descriptor): Set `signed' field if .signed file exists.
9040 (package--archive-file-exists-p): New function.
9041 (package--check-signature): New function.
9042 (package-install-from-archive): Check package signature.
9043 (package--download-one-archive): Check archive signature.
9044 (package-delete): Remove .signed file.
9045 (package-import-keyring): New command.
9046 (package-refresh-contents): Import default keyring.
9047 (package-desc-status): Add "unsigned" status.
9048 (describe-package-1, package-menu--print-info)
9049 (package-menu-mark-delete, package-menu--find-upgrades)
9050 (package-menu--status-predicate): Support "unsigned" status.
9052 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9054 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9055 the new compilation scheme using the new byte-codes.
9057 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9058 (byte-pophandler): New byte codes.
9059 (byte-goto-ops): Adjust accordingly.
9060 (byte-compile--use-old-handlers): New var.
9061 (byte-compile-catch): Use new byte codes depending on
9062 byte-compile--use-old-handlers.
9063 (byte-compile-condition-case--old): Rename from
9064 byte-compile-condition-case.
9065 (byte-compile-condition-case--new): New function.
9066 (byte-compile-condition-case): New function that dispatches depending
9067 on byte-compile--use-old-handlers.
9068 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9071 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9072 Optimize under `condition-case' and `catch' if
9073 byte-compile--use-old-handlers is nil.
9074 (disassemble-offset): Handle new bytecodes.
9076 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * subr.el (error): Use `declare'.
9079 (decode-char, encode-char): Use advertised-calling-convention instead
9080 of the docstring to discourage use of the `restriction' arg.
9082 2013-10-03 Daiki Ueno <ueno@gnu.org>
9084 * epg.el (epg-verify-file): Add a comment saying that it does not
9085 notify verification error as a return value nor a signal.
9086 (epg-verify-string): Ditto.
9088 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9090 * progmodes/compile.el (compilation-start): Try globbing the arg to
9093 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9095 Sync with Tramp 2.2.8.
9097 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9098 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9099 * net/trampver.el: Update release number.
9101 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9103 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9104 and default-process-coding-system for darwin only.
9106 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9108 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9110 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9112 * vc/vc-git.el (vc-git-grep): Disable pager.
9114 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9116 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9117 Use :url instead of :homepage, as per
9118 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9120 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9121 non-nil, use `syntax-ppss' (Bug#15251).
9123 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9125 * progmodes/octave.el (inferior-octave-startup-file):
9126 Prefer ~/.emacs.d/init_octave.m.
9128 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9130 * emacs-lisp/package.el (package-desc-from-define):
9131 Accept additional arguments as plist, convert them to an alist and store
9132 them in the `extras' slot.
9133 (package-generate-description-file): Convert extras alist back to
9134 plist and append to the `define-package' form arguments.
9135 (package--alist-to-plist): New function.
9136 (package--ac-desc): Add `extras' slot.
9137 (package--add-to-archive-contents): Check if the archive-contents
9138 vector is long enough, and if it is, pass its `extras' slot value
9139 to `package-desc-create'.
9140 (package-buffer-info): Call `lm-homepage', pass the returned value
9141 to `package-desc-from-define'.
9142 (describe-package-1): Render the homepage button (Bug#13291).
9144 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9145 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9147 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9149 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9150 and default-process-coding-system to utf-8-unix (Bug#15402).
9152 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9154 * subr.el (looking-back): Do not recommend using looking-back.
9156 2013-09-28 Alan Mackenzie <acm@muc.de>
9158 Fix indentation/fontification of Java enum with "implements".
9160 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9161 regexp which matches "implements", etc., in Java.
9162 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9163 specifier clauses coming after "enum".
9164 * progmodes/cc-fonts.el (c-font-lock-declarations)
9165 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9168 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9170 * faces.el (region): Change ns_selection_color to
9171 ns_selection_fg_color, add ns_selection_bg_color.
9173 2013-09-28 Leo Liu <sdl.web@gmail.com>
9175 * progmodes/octave.el (inferior-octave-completion-table)
9176 (inferior-octave-completion-at-point): Minor tweaks.
9178 * textmodes/ispell.el (ispell-lookup-words): Rename from
9179 lookup-words. (Bug#15460)
9180 (lookup-words): Obsolete.
9181 (ispell-complete-word, ispell-command-loop): All uses changed.
9183 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9185 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9186 (octave-mode-menu): Add octave-send-buffer.
9187 (octave-send-buffer): New function.
9189 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9191 * progmodes/octave.el (octave-mode-map): Add key binding for
9193 (octave-mode-menu): Add octave-lookfor.
9194 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9196 (octave-lookfor): New function.
9198 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9200 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9201 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9203 (cl--loop-set-iterator-function): New function.
9204 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9205 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9206 Bind `it' with `let' instead of substituting it with `cl-subst'.
9207 (cl--unused-var-p): New function.
9208 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9209 Eliminate some unused variable warnings (bug#15326).
9211 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9213 * doc-view.el (doc-view-scale-reset): Rename from
9214 `doc-view-reset-zoom-level'.
9215 (doc-view-scale-adjust): New command.
9216 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9217 `doc-view-scale-adjust'.
9219 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9221 * doc-view.el (doc-view-reset-zoom-level): New command.
9222 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9223 zoom commands (bug#15466).
9225 2013-09-26 Kenichi Handa <handa@gnu.org>
9227 * international/quail.el (quail-help): Make it not a command.
9229 2013-09-26 Leo Liu <sdl.web@gmail.com>
9231 * minibuffer.el (completion-all-sorted-completions): Make args
9232 optional as they are.
9234 2013-09-25 Daniel Colascione <dancol@dancol.org>
9236 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9237 specs are and that they're not evaluated.
9239 2013-09-24 Sam Steingold <sds@gnu.org>
9241 * midnight.el (clean-buffer-list-kill-regexps)
9242 (clean-buffer-list-kill-buffer-names): Update for the new Man
9243 buffer naming which includes the object name.
9245 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9247 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9248 (eshell-parse-command, eshell-parse-pipeline): Use it since
9249 eshell-separate-commands requires a dynamic scoped var.
9250 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9252 2013-09-23 Leo Liu <sdl.web@gmail.com>
9254 * autoinsert.el (auto-insert-alist): Make the value of
9255 lexical-binding match its file setting.
9257 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9259 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9261 * autoarg.el (autoarg-kp-digit-argument):
9262 * electric.el (Electric-command-loop):
9263 * kmacro.el (kmacro-step-edit-insert):
9264 Do not set universal-argument-num-events.
9266 2013-09-22 Leo Liu <sdl.web@gmail.com>
9268 * files.el (interpreter-mode-alist): Add octave.
9270 2013-09-21 Alan Mackenzie <acm@muc.de>
9272 C++: fontify identifier in declaration following "public:" correctly.
9273 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9274 to match "public", etc.
9275 (c-decl-prefix-re): Add ":" into the C++ value.
9276 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9277 bit. Add a check for a ":" preceded by "public", etc.
9279 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9281 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9282 recognized by GDB 7.5 and later.
9284 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9286 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9288 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9290 * subr.el (internal--call-interactively): New const.
9291 (called-interactively-p): Use it (bug#3984).
9293 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9295 * vc/pcvs.el (cvs-mode-ignore):
9296 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9297 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9299 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9301 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9302 (eshell-ls-orig-insert-directory): Remove.
9303 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9304 (eshell-ls-use-in-dired): Use advice-add/remove.
9305 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9306 Add `orig-fun' arg for use in :around advice.
9307 Make it check (redundantly) eshell-ls-use-in-dired.
9309 2013-09-19 Glenn Morris <rgm@gnu.org>
9311 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9313 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9315 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9317 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9319 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9320 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9321 (tramp-get-remote-python): New defuns.
9322 (tramp-get-remote-uid-with-perl)
9323 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9324 contributed by yary <not.com@gmail.com> (tiny change).
9325 (tramp-get-remote-uid-with-python)
9326 (tramp-get-remote-gid-with-python): New defuns. Python code
9327 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9328 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9330 2013-09-19 Glenn Morris <rgm@gnu.org>
9332 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9334 * eshell/em-unix.el (eshell-remove-entries):
9335 Rename argument to avoid name-clash with global `top-level'.
9337 * eshell/esh-proc.el (eshell-kill-process-function):
9338 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9339 (eshell-reset-after-proc): Remove unused arg `proc'.
9341 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9342 (directory-files-and-attributes): Mark unused arg.
9344 * eshell/em-unix.el (eshell-remove-entries):
9345 Remove unused arg `path'. Update callers.
9347 * eshell/em-hist.el (eshell-hist-parse-arguments):
9348 Remove unused arg `silent'. Update callers.
9350 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9351 Fix (f)boundp mix-up.
9353 * eshell/em-smart.el (eshell-smart-scroll-window)
9354 (eshell-disable-after-change):
9355 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9357 2013-09-18 Alan Mackenzie <acm@muc.de>
9359 Fix fontification of type when followed by "const".
9360 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9361 "known" types from fontification.
9363 2013-09-18 Glenn Morris <rgm@gnu.org>
9365 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9366 (chart-face-list): Drop Emacsen without display-color-p.
9368 * net/eww.el (libxml-parse-html-region): Declare.
9369 (eww-display-html): Explicit error if no libxml2 support.
9371 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9373 * image.el (image-type-from-buffer, image-multi-frame-p):
9374 Remove --without-x warning/error.
9376 * mouse.el (mouse-yank-primary):
9377 * term.el (term-mouse-paste):
9378 Reorder to silence --without-x compilation.
9380 * mpc.el (doc-view-mode): Silence --without-x compilation.
9382 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9383 Silence --without-x compilation.
9385 * progmodes/gud.el (gud-find-file, gud-mode):
9386 Silence --without-x compilation.
9387 (tooltip-mode): Declare.
9389 * wdired.el (dired-backup-overwrite): Remove declaration.
9390 (wdired-mode-map): Add doc string.
9392 * custom.el (x-get-resource): Declare.
9394 * eshell/em-glob.el (ange-cache):
9395 * eshell/em-unix.el (ange-cache): Declare.
9397 * faces.el (x-display-list, x-open-connection, x-get-resource):
9400 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9401 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9404 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9406 * net/gnutls.el (gnutls-log-level): Declare.
9408 * net/shr.el (image-size, image-animate): Declare.
9410 * simple.el (font-info): Declare.
9412 * subr.el (x-popup-dialog): Declare.
9414 * term/common-win.el (x-select-enable-primary)
9415 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9418 * term/ns-win.el (x-handle-args): Declare.
9420 * term/x-win.el (x-select-enable-clipboard): Declare.
9422 * term/w32-win.el (create-default-fontset): Declare.
9424 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9427 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9428 (fit-frame-to-buffer): Explicit error if --without-x.
9429 (mouse-autoselect-window-select): Silence compiler.
9431 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9433 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9434 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9435 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9436 * eshell/esh-util.el (eshell-sublist):
9437 Remove unused local variables.
9439 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9441 * textmodes/two-column.el: Make 2C-split work for --without-x.
9442 (scroll-bar-columns): Autoload.
9443 (top-level): Require fringe when compiling.
9445 2013-09-18 Leo Liu <sdl.web@gmail.com>
9447 * subr.el (add-hook): Robustify to handle closure as well.
9449 2013-09-17 Glenn Morris <rgm@gnu.org>
9451 * simple.el (messages-buffer-mode-map): Unbind "g".
9453 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9455 * help-mode.el (help-mode-finish): Use derived-mode-p.
9456 Remove obsolete highlighting.
9458 * play/life.el (life-mode): Use define-derived-mode. Derive from
9460 (life): Let-bind inhibit-read-only.
9461 (life-setup): Avoid `setq'. Use `life-mode'.
9463 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9464 which should not be needed any more.
9465 (package-menu-refresh, package-menu-describe-package): Use user-error.
9467 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9468 (eshell-post-rewrite-command-hook): Make obsolete.
9469 (eshell-parse-command): Simplify.
9470 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9471 (eshell--cmd): Declare.
9472 (eshell-parse-pipeline): Remove unused var `final-p'.
9473 Pass a dynvar to eshell-post-rewrite-command-hook.
9474 Implement the new eshell-post-rewrite-command-function.
9475 (eshell-invoke-directly): Remove unused arg `input'.
9476 * eshell/esh-io.el (eshell-io-initialize):
9477 Use eshell-post-rewrite-command-function (bug#15399).
9478 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9479 adjust to new calling convention.
9480 (eshell-create-handles): Rename args to avoid clashing with dynvar
9483 2013-09-17 Glenn Morris <rgm@gnu.org>
9485 * simple.el (messages-buffer-mode): New major mode.
9486 (messages-buffer): New function.
9487 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9488 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9489 (ert-run-test): Use `messages-buffer' function.
9490 (ert--force-message-log-buffer-truncation): Ignore read-only.
9491 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9492 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9494 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9498 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9500 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9502 * icomplete.el (icomplete-in-buffer): New var.
9503 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9504 vars and replace them with functions.
9505 (icomplete-minibuffer-setup): Adjust accordingly.
9506 (icomplete--completion-table, icomplete--completion-predicate)
9507 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9509 (icomplete-forward-completions, icomplete-backward-completions)
9510 (icomplete-simple-completing-p, icomplete-exhibit)
9511 (icomplete-completions): Use them.
9512 (icomplete--in-region-buffer): New var.
9513 (icomplete--in-region-setup): New function.
9514 (icomplete-mode): Use it.
9516 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9518 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9519 return args and options.
9520 (eshell-eval-using-options): Use the new return value of
9521 eshell--do-opts to set the options's vars in their scope.
9522 (eshell--set-option): Rename from eshell-set-option.
9524 (eshell--process-option): Rename from eshell-process-option.
9526 (eshell--process-args): Use an `opt-vals' alist to store the options's
9527 values during their processing and return them additionally to the
9530 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9532 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9533 continuation character an operator, as far as indentation is
9534 concerned (Bug#15369).
9536 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9538 * window.el (window--state-put-2): Don't process buffer state
9539 when buffer doesn't exist any more (Bug#15382).
9541 2013-09-15 Glenn Morris <rgm@gnu.org>
9543 * eshell/em-unix.el (eshell/rm):
9544 Make -f ignore missing files. (Bug#15373)
9546 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9547 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9548 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9550 2013-09-14 Glenn Morris <rgm@gnu.org>
9552 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9554 2013-09-13 Glenn Morris <rgm@gnu.org>
9556 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9557 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9559 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9561 * frame.el (x-focus-frame): Mark as declared in frame.c.
9563 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9565 * ls-lisp.el: Use advice-add.
9566 (original-insert-directory): Remove.
9567 (ls-lisp--insert-directory): Rename from insert-directory; add
9568 `orig-fun' argument.
9569 (insert-directory): Advise.
9571 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9573 * term.el (term-emulate-terminal): Decode the command string
9574 before passing it to term-command-hook. (Bug#15337)
9576 2013-09-13 Glenn Morris <rgm@gnu.org>
9578 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9580 * eshell/esh-ext.el (eshell-search-path): Declare.
9582 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9583 Otherwise an error occurs if eshell-dirs module not loaded.
9585 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9587 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9589 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9590 `tramp-check-proper-host'. Check for a valid method name.
9592 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9593 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9594 * net/tramp-sh.el (tramp-maybe-open-connection):
9595 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9597 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9598 also for hash values.
9600 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9602 * term/ns-win.el (parameters): Don't declare as dynamic.
9603 (before-make-frame-hook): Don't add ineffective function.
9605 * eshell/*.el: Use lexical-binding (bug#15231).
9607 2013-09-12 Kenichi Handa <handa@gnu.org>
9609 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9611 2013-09-12 Glenn Morris <rgm@gnu.org>
9613 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9614 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9616 * subr.el (do-after-load-evaluation): Also give compiler warnings
9617 when obsolete files are used (except by obsolete files).
9619 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9620 in the status output, assume `filename' is the first. (Bug#15322)
9622 * vc/vc.el (vc-deduce-fileset): Doc fix.
9624 * calc/calc-help.el (Info-goto-node):
9625 * progmodes/cperl-mode.el (Info-find-node):
9626 * vc/ediff.el (Info-goto-node): Update declarations.
9628 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9630 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9631 (vc-bzr-pull): Require vc-dispatcher.
9632 * vc/vc-git.el (vc-compilation-mode): Declare.
9633 (vc-git-pull): Require vc-dispatcher.
9635 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9637 * progmodes/octave.el (help-button-action): Declare.
9639 * shell.el (shell-directory-tracker): Output error as a message
9640 rather than just returning it as a string.
9641 (shell-process-pushd): Remove useless use of message.
9643 * dframe.el (dframe-timer-fn):
9644 * files.el (dir-locals-read-from-file):
9645 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9647 * reveal.el (reveal-post-command):
9648 * saveplace.el (load-save-place-alist-from-file):
9649 * shell.el (shell-resync-dirs):
9650 * w32-common-fns.el (x-get-selection-value):
9651 * emacs-lisp/copyright.el (copyright-find-copyright):
9652 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9653 * emulation/tpu-edt.el (tpu-copy-keyfile):
9654 * play/bubbles.el (bubbles--mark-neighbourhood):
9655 * progmodes/executable.el
9656 (executable-make-buffer-file-executable-if-script-p):
9657 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9659 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9661 Cleanup Eshell to rely less on dynamic scoping.
9662 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9663 last-value, and ext-command here. Bind `args' closer to `body'.
9664 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9665 (eshell--args): Declare new dynamic var.
9666 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9667 last-value, and ext-command. Pass `args' to `body'.
9668 (eshell-process-args): Bind eshell--args.
9669 (eshell-set-option): Use eshell--args.
9670 * eshell/eshell.el (eshell): Use derived-mode-p.
9671 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9672 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9673 (eshell-glob-function): Declare.
9674 * eshell/esh-util.el: Require cl-lib.
9675 (eshell-read-hosts-file): Avoid add-to-list.
9676 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9678 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9680 (eshell/diff): Remove unused var `err'.
9681 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9683 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9684 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9686 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9687 Move declaration before first use.
9688 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9689 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9692 2013-09-12 Glenn Morris <rgm@gnu.org>
9694 * term/ns-win.el (global-map): Remove binding for ispell-next,
9695 deleted 1999-05-29. (Bug#15357)
9697 2013-09-11 Glenn Morris <rgm@gnu.org>
9699 * echistory.el (electric-command-history): Remove call to deleted func.
9701 * play/landmark.el (landmark-mode): Fix typos.
9703 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9704 Check cvs-sort-ignore-file is bound.
9706 * savehist.el: No need for cl when compiling on Emacs.
9708 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9710 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9712 (eshell-self-insert-command, eshell-send-invisible):
9713 Remove unused argument.
9714 (eshell-handle-control-codes): Remove unused var `orig'.
9715 Avoid delete-backward-char.
9717 * files.el (set-auto-mode): Simplify a bit further.
9719 2013-09-11 Glenn Morris <rgm@gnu.org>
9721 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9722 (set-auto-mode): Don't regexp-quote elements.
9723 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9724 * progmodes/cc-mode.el (interpreter-mode-alist):
9725 * progmodes/ruby-mode.el (interpreter-mode-alist):
9726 Revert previous change.
9728 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * play/snake.el (snake-mode):
9731 * play/mpuz.el (mpuz-mode):
9732 * play/landmark.el (lm-mode):
9733 * play/blackbox.el (blackbox-mode):
9734 * play/5x5.el (5x5-mode):
9735 * obsolete/options.el (Edit-options-mode):
9736 * net/quickurl.el (quickurl-list-mode):
9737 * net/newst-treeview.el (newsticker-treeview-mode):
9738 * mail/rmailsum.el (rmail-summary-mode):
9739 * mail/mspools.el (mspools-mode):
9740 * locate.el (locate-mode):
9741 * ibuffer.el (ibuffer-mode):
9742 * emulation/ws-mode.el (wordstar-mode):
9743 * emacs-lisp/debug.el (debugger-mode):
9744 * array.el (array-mode):
9745 * net/eudc.el (eudc-mode): Use define-derived-mode.
9746 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9747 Move initialization into declaration.
9748 (mairix-searches-mode): Use define-derived-mode.
9749 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9750 (eudc-edit-hotlist): Use dolist.
9751 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9752 (Man-mode): Use define-derived-mode.
9753 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9754 (Info-edit-mode): Use define-derived-mode.
9755 (Info-cease-edit): Use Info-mode.
9756 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9758 (eshell-mode): Use define-derived-mode.
9759 * chistory.el (command-history-mode-map): Rename from
9760 command-history-map.
9761 (command-history-mode): Use define-derived-mode.
9762 (Command-history-setup): Remove function.
9763 * calc/calc.el (calc-trail-mode-map): New var.
9764 (calc-trail-mode): Use define-derived-mode.
9765 (calc-trail-buffer): Set calc-main-buffer manually.
9766 * bookmark.el (bookmark-insert-annotation): New function.
9767 (bookmark-edit-annotation): Use it.
9768 (bookmark-edit-annotation-mode): Make it a proper major mode.
9769 (bookmark-send-edited-annotation): Use derived-mode-p.
9770 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9771 closer to its ideal place. Use \' to match EOS.
9773 * profiler.el (profiler-calltree-find): Use function-equal.
9775 2013-09-10 Glenn Morris <rgm@gnu.org>
9777 * files.el (interpreter-mode-alist): Convert to regexps.
9778 (set-auto-mode): Adapt for this. (Bug#15306)
9779 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9780 Comment out unused variable.
9781 * progmodes/cc-mode.el (interpreter-mode-alist):
9782 * progmodes/python.el (interpreter-mode-alist):
9783 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9784 * progmodes/sh-script.el (sh-set-shell):
9785 No longer use interpreter-mode-alist to get list of shells.
9787 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9789 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * simple.el: Use set-temporary-overlay-map for universal-argument.
9792 (universal-argument-map): Don't use default-bindings (bug#15317).
9793 Bind switch-frame explicitly. Replace universal-argument-minus with
9794 a conditional binding.
9795 (universal-argument-num-events, saved-overriding-map): Remove.
9796 (restore-overriding-map): Remove.
9797 (universal-argument--mode): Rename from save&set-overriding-map,
9799 (universal-argument, universal-argument-more, negative-argument)
9800 (digit-argument): Adjust accordingly.
9801 (universal-argument-minus): Remove.
9802 (universal-argument-other-key): Remove.
9804 * subr.el (with-demoted-errors): Add `format' argument.
9806 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9808 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9809 `tramp-cleanup-connection'.
9811 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9812 parameters KEEP-DEBUG and KEEP-PASSWORD.
9814 * net/tramp.el (tramp-file-name-handler):
9815 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9816 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9817 (tramp-maybe-open-connection):
9818 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9819 Use `tramp-cleanup-connection'.
9821 * net/tramp-sh.el (tramp-maybe-open-connection):
9822 Catch 'uname-changed inside the progress reporter.
9824 2013-09-10 Glenn Morris <rgm@gnu.org>
9826 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9828 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9829 returns "alternate access method" in mode (eg "-rw-r--r--.").
9831 2013-09-08 Glenn Morris <rgm@gnu.org>
9833 * saveplace.el (load-save-place-alist-from-file):
9834 Demote errors. (Bug#15305)
9836 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9838 Improve compatibility with older Emacsen, and XEmacs.
9840 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9841 only if it is bound. It isn't for XEmacs.
9842 (with-tramp-progress-reporter): Do not let-bind `result'.
9843 This yields to scoping errors in XEmacs.
9844 (tramp-handle-make-auto-save-file-name): New function, moved from
9847 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9848 for `make-auto-save-file-name'.
9849 (tramp-adb--gnu-switches-to-ash):
9850 Use `tramp-compat-replace-regexp-in-string'.
9852 * net/tramp-cache.el (tramp-cache-print): Call
9853 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9855 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9856 bound. It isn't for XEmacs.
9858 * net/tramp-compat.el (tramp-compat-copy-file):
9859 Catch `wrong-number-of-arguments' error.
9860 (tramp-compat-replace-regexp-in-string): New defun.
9862 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9863 for `make-auto-save-file-name'.
9864 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9866 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9867 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9868 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9870 * net/tramp-gw.el (tramp-gw-open-network-stream):
9871 Use `tramp-compat-replace-regexp-in-string'.
9873 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9874 Call `tramp-handle-make-auto-save-file-name'.
9875 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9876 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9877 (tramp-sh-file-inotifywait-process-filter):
9878 Use `tramp-compat-replace-regexp-in-string'.
9879 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9881 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9882 for `make-auto-save-file-name'.
9883 (tramp-smb-handle-copy-directory):
9884 Call `tramp-compat-replace-regexp-in-string'.
9885 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9886 (tramp-smb-handle-copy-file): Improve error message.
9887 (tramp-smb-handle-rename-file): Rename directly only in case
9888 `newname' does not exist yet. This is a restriction of smbclient.
9889 (tramp-smb-maybe-open-connection): Rerun the function only when
9890 `auth-sources' is non-nil.
9892 2013-09-08 Kenichi Handa <handa@gnu.org>
9894 * international/characters.el: Set category "^" (Combining) for
9897 2013-09-07 Alan Mackenzie <acm@muc.de>
9899 Correctly fontify Java class constructors.
9900 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9902 (c-recognize-typeless-decls): Set the Java value to t.
9903 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9904 While handling a "(", add a check for, effectively, Java, and handle a
9905 "typeless" declaration there.
9907 2013-09-07 Roland Winkler <winkler@gnu.org>
9909 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9910 field subtitle for entry type book.
9912 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * minibuffer.el: Make minibuffer-complete call completion-in-region
9915 rather than other way around.
9916 (completion--some, completion-pcm--find-all-completions):
9917 Don't delay signals when debugging.
9918 (minibuffer-completion-contents): Beware fields within the
9919 minibuffer contents.
9920 (completion-all-sorted-completions): Use defvar-local.
9921 (completion--do-completion, completion--cache-all-sorted-completions)
9922 (completion-all-sorted-completions, minibuffer-force-complete):
9923 Add args `beg' and `end'.
9924 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9925 (minibuffer-complete): Use completion-in-region.
9926 (completion-complete-and-exit): New fun, extracted from
9927 minibuffer-complete-and-exit.
9928 (minibuffer-complete-and-exit): Use it.
9929 (completion--complete-and-exit): Rename from
9930 minibuffer--complete-and-exit.
9931 (completion-in-region--single-word): New function, extracted from
9932 minibuffer-complete-word.
9933 (minibuffer-complete-word): Use it.
9934 (display-completion-list): Make `common-substring' argument obsolete.
9935 (completion--in-region): Call completion--in-region-1 instead of
9936 minibuffer-complete.
9937 (completion-help-at-point): Pass boundaries to
9938 minibuffer-completion-help as args rather than via an overlay.
9939 (completion-pcm--string->pattern): Use `any-delim'.
9940 (completion-pcm--optimize-pattern): New function.
9941 (completion-pcm--pattern->regex): Handle `any-delim'.
9942 * icomplete.el (icomplete-forward-completions)
9943 (icomplete-backward-completions, icomplete-completions):
9944 Adjust calls to completion-all-sorted-completions and
9945 completion--cache-all-sorted-completions.
9946 (icomplete-with-completion-tables): Default to t.
9947 * emacs-lisp/crm.el (crm--current-element): Rename from
9948 crm--select-current-element. Don't put an overlay but return the
9950 (crm--completion-command): Take two new args to bind to the boundaries.
9951 (crm-completion-help): Adjust accordingly.
9952 (crm-complete): Use completion-in-region.
9953 (crm-complete-word): Use completion-in-region--single-word.
9954 (crm-complete-and-exit): Use completion-complete-and-exit.
9956 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9961 2013-09-06 Juri Linkov <juri@jurta.org>
9963 * info.el (Info-display-images-node): When image file doesn't exist
9964 display text version of the image if it's provided in the Info file.
9965 Otherwise, display the location of missing image from SRC attribute.
9966 Add help-echo text property from ALT attribute. (Bug#15279)
9968 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9971 (edit-abbrevs-mode): Use define-derived-mode.
9973 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9974 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9976 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9977 Use define-derived-mode.
9979 * epg.el (epg-start-encrypt): Minor CSE simplification.
9981 2013-09-06 William Xu <william.xwl@gmail.com>
9983 * arc-mode.el: Add support for 7za (bug#15264).
9984 (archive-7z-program): New var.
9985 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9986 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9987 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9989 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9993 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9994 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9995 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9996 (tramp-postfix-host-format, tramp-file-name-regexp)
9997 (tramp-completion-file-name-regexp)
9998 (tramp-completion-dissect-file-name)
9999 (tramp-handle-substitute-in-file-name): Remove 'url case.
10000 (tramp-file-name-regexp-url)
10001 (tramp-completion-file-name-regexp-url): Remove constants.
10003 2013-09-06 Glenn Morris <rgm@gnu.org>
10005 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
10007 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
10009 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10010 keywords" below "here-doc beginnings" (Bug#15270).
10012 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * subr.el (pop): Use `car-safe'.
10015 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10016 to detect unused `pop' return value.
10018 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10019 var `block-regexp'.
10020 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10021 (python-fill-string): Remove unused var `marker'.
10022 (python-skeleton-add-menu-items): Remove unused var `items'.
10024 * international/mule-cmds.el: Require CL.
10025 (find-coding-systems-for-charsets): Avoid add-to-list.
10026 (sanitize-coding-system-list): New function, extracted from
10027 select-safe-coding-system-interactively.
10028 (select-safe-coding-system-interactively): Use it.
10029 (read-input-method-name): Accept symbols for `default'.
10031 * emacs-lisp/advice.el (defadvice): Add indent rule.
10033 2013-09-05 Daniel Hackney <dan@haxney.org>
10037 * net/browse-url.el:
10040 * net/eudcb-ldap.el:
10044 * vc/ediff-diff.el:
10045 * vc/ediff-init.el:
10046 * vc/ediff-merg.el:
10047 * vc/ediff-mult.el:
10048 * vc/ediff-util.el:
10049 * vc/ediff-wind.el:
10053 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10054 byte compiler. Remove some unused let-bound variables.
10056 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10058 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10059 a "ref-cell", since it gets better optimized (bug#14883).
10061 2013-09-05 Glenn Morris <rgm@gnu.org>
10063 * progmodes/cc-awk.el (c-forward-sws): Declare.
10065 2013-09-04 Glenn Morris <rgm@gnu.org>
10067 * generic-x.el [rul-generic-mode]: Require cc-mode.
10068 (c++-mode-syntax-table): Declare.
10069 (rul-generic-mode-syntax-table): Init in the defvar.
10071 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10073 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10074 (vc-do-command, vc-set-async-update):
10075 * vc/vc-mtn.el (vc-mtn-dir-status):
10076 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10077 (vc-hg-pull, vc-hg-merge-branch):
10078 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10079 (vc-git-merge-branch):
10080 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10081 (vc-cvs-dir-status-files):
10082 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10083 (vc-bzr-dir-status-files):
10084 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10085 * vc/vc-annotate.el: Use lexical-binding.
10086 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10087 (vc-sentinel-movepoint): Declare.
10088 (vc-annotate): Don't use `goto-line'.
10089 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10090 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10091 (vc-sentinel-movepoint): Declare.
10092 * vc/vc-svn.el: Use lexical-binding.
10093 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10095 * vc/vc-rcs.el: Use lexical-binding.
10097 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10098 `deleted'. Don't drop errors silently.
10100 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10102 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10104 * vc/vc.el (vc-ignore): Rewrite.
10105 (vc-default-ignore): New function.
10106 (vc-default-ignore-completion-table): Use find-ignore-file.
10108 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10109 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10110 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10111 Remove. Most code moved to vc.el.
10113 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10115 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10116 * net/tramp-smb.el (tramp-smb-get-file-entries):
10117 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10118 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10120 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10122 (eww-change-select): Remove unused var `properties'.
10123 (eww-make-unique-file-name): Remove unused var `base'.
10125 * finder.el (finder-compile-keywords): Don't mess with windows.
10127 * calculator.el (calculator-funcall): Fix typo in last change.
10129 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10131 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10132 <pkg>-autoloads.el file stop us.
10134 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10135 warnings, and factor out common code.
10137 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10139 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10140 two-character operators and whether the character preceding them
10141 changes their meaning (Bug#15208).
10143 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10145 Format code sent to Python shell for robustness.
10146 * progmodes/python.el (python-shell-buffer-substring):
10148 (python-shell-send-region, python-shell-send-buffer): Use it.
10150 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10152 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10153 * net/tramp.el (tramp-user-error): ... here.
10154 (tramp-find-method, tramp-check-proper-host)
10155 (tramp-dissect-file-name, tramp-debug-message)
10156 (tramp-handle-shell-command):
10157 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10160 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10162 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10164 * avoid.el (mouse-avoidance-point-position)
10165 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10168 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10170 * progmodes/python.el (python-shell-completion-get-completions):
10171 Drop use of deleted `comint-last-prompt-overlay'.
10172 (python-nav-if-name-main): New command.
10174 2013-09-01 Glenn Morris <rgm@gnu.org>
10176 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10177 Avoid leading space in $wins. Otherwise the sed command used by
10178 eg compile-main ends up containing "/*.el". (Bug#15170)
10180 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10182 2013-08-30 Glenn Morris <rgm@gnu.org>
10184 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10185 Fix is-this-a-directory logic. (Bug#15220)
10187 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10189 * textmodes/css-mode.el: Use SMIE.
10190 (css-smie-grammar): New var.
10191 (css-smie--forward-token, css-smie--backward-token)
10192 (css-smie-rules): New functions.
10193 (css-mode): Use them.
10194 (css-navigation-syntax-table): Remove var.
10195 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10196 (css-indent-calculate, css-indent-line): Remove functions.
10198 Misc changes to reduce use of `(lambda...); and other cleanups.
10199 * cus-edit.el: Use lexical-binding.
10200 (customize-push-and-save, customize-apropos)
10201 (custom-buffer-create-internal): Use closures.
10202 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10203 * progmodes/ada-xref.el: Use setq.
10204 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10205 * dframe.el: Use lexical-binding.
10206 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10207 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10208 * descr-text.el: Use lexical-binding.
10209 (describe-text-widget, describe-text-sexp, describe-property-list):
10211 * comint.el (comint-history-isearch-push-state): Use a closure.
10212 * calculator.el: Use lexical-binding.
10213 (calculator-number-to-string): Make it work with lexical-binding.
10214 (calculator-funcall): Same and use cl-letf.
10216 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10217 (lisp--company-doc-string, lisp--company-location): New functions.
10218 (lisp-completion-at-point): Use them to improve Company support.
10220 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10221 params of lambda expressions.
10222 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10223 (ruby-smie--opening-pipe-p): New function.
10224 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10225 symbols and matched |...| for formal params.
10226 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10227 from being treated as hanging. Handle "rescue".
10229 2013-08-29 Glenn Morris <rgm@gnu.org>
10231 * progmodes/cc-engine.el (c-pull-open-brace):
10232 Move definition before use.
10234 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10236 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10237 are immutable. Don't use `unsafe' any more.
10238 (cl--defsubst-expand): Don't substitute at the same time as keeping
10239 a residual unused let-binding. Don't use `unsafe' any more.
10241 2013-08-29 Glenn Morris <rgm@gnu.org>
10243 * calendar/cal-china.el (calendar-chinese-year-cache):
10246 * nxml/nxml-util.el (nxml-debug-clear-inside):
10247 Use cl-loop rather than loop.
10249 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10251 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10253 2013-08-28 Glenn Morris <rgm@gnu.org>
10255 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10257 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10259 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10261 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10263 * simple.el (repeat-complex-command--called-interactively-skip):
10265 (repeat-complex-command): Use it (bug#14136).
10267 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10268 (c-define-abbrev-table): Add `doc' argument.
10269 (c-mode-abbrev-table, c++-mode-abbrev-table)
10270 (objc-mode-abbrev-table, java-mode-abbrev-table)
10271 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10272 (awk-mode-abbrev-table): Use it.
10273 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10274 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10275 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10276 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10277 Move initialization into the declaration; and remove any
10280 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10281 and dynamic let binding.
10283 * vc/smerge-mode.el: Remove redundant :group args.
10285 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10288 2013-08-28 Juri Linkov <juri@jurta.org>
10290 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10291 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10292 (isearch-other-meta-char): Handle an undefined shifted printing
10293 character by downshifting it. (Bug#15200)
10295 2013-08-28 Juri Linkov <juri@jurta.org>
10297 * isearch.el (isearch-search): Change regexp error message for
10298 non-regexp searches. (Bug#15166)
10300 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10302 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10303 for portability to hosts where /bin/sh has problems.
10305 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10307 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10309 2013-08-27 Juri Linkov <juri@jurta.org>
10311 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10312 in the keyboard macro. (Bug#15126)
10314 2013-08-27 Juri Linkov <juri@jurta.org>
10316 * isearch.el (isearch-quote-char): Comment out converting unibyte
10317 to multibyte, thus syncing with its `quoted-insert' counterpart.
10320 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10322 * window.el (display-buffer-use-some-window): Add missing
10323 argument in call of get-largest-window (Bug#15185).
10324 Reported by Stephen Leake.
10326 2013-08-27 Glenn Morris <rgm@gnu.org>
10328 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10330 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10332 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10333 from a matcher-function unless there's no more matches (bug#15161).
10335 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10337 * minibuffer.el: Revert change from 2013-08-20.
10339 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10340 with text property `tramp-default', if appropriate.
10341 (tramp-check-proper-host): New defun.
10342 (tramp-dissect-file-name): Do not check hostname. Revert change
10344 (tramp-backtrace): Make VEC-OR-PROC optional.
10346 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10347 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10348 * net/tramp-sh.el (tramp-maybe-open-connection):
10349 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10350 Apply `tramp-check-proper-host'.
10352 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10354 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10355 lambda expression in order to have `describe-variable' display it.
10357 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10359 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10360 BUF can be optional. (Bug#15186)
10362 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10364 * progmodes/flymake.el (flymake-get-real-file-name-function):
10365 Fix broken customization. (Bug#15184)
10367 2013-08-25 Alan Mackenzie <acm@muc.de>
10369 Improve indentation of bracelists defined by macros (without "=").
10371 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10372 expansion begins with "{", regard it as bracelist when it doesn't
10375 Parse C++ inher-intro when there's a template split over 2 lines.
10377 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10378 rigorously the search for "class" etc. followed by ":".
10380 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10381 random languages a regexp which never matches rather than nil.
10383 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10385 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10386 (c-awk-regexp-one-line-possibly-open-char-list-re)
10387 (c-awk-one-line-possibly-open-regexp-re)
10388 (c-awk-one-line-non-syn-ws*-re): Remove.
10389 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10390 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10391 (c-awk-space*-unclosed-regexp-/-re): New constants.
10392 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10393 aren't regexp delimiters.
10395 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10396 handling for a rare situation in AWK Mode involving unterminated
10399 2013-08-23 Glenn Morris <rgm@gnu.org>
10401 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10403 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10405 * files.el (create-file-buffer): If the result would begin with
10406 spaces, prepend a "|" instead of removing them. (Bug#15162)
10408 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10410 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10411 text-properties (bug#15155).
10413 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10415 (calc-keypad-redraw): Remove unused var `pad'.
10416 (calc-keypad-press): Remove unused var `menu'.
10418 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10420 * window.el (display-buffer-pop-up-frame):
10421 Call pop-up-frame-function with BUFFER current so `make-frame' will
10422 use it as the new frame's buffer (Bug#15133).
10424 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * calendar/timeclock.el: Minor cleanups.
10427 (timeclock-ask-before-exiting, timeclock-use-display-time):
10429 (timeclock-modeline-display): Define as alias before the
10431 (timeclock-mode-line-display): Use define-minor-mode.
10432 (timeclock-day-list-template): Make it a function, add an argument.
10433 (timeclock-day-list-required, timeclock-day-list-length)
10434 (timeclock-day-list-debt, timeclock-day-list-span)
10435 (timeclock-day-list-break): Adjust calls accordingly.
10437 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10439 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10440 Use read--expression so that completion works again.
10442 2013-08-21 Sam Steingold <sds@gnu.org>
10444 Add rudimentary inferior shell interaction
10445 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10446 (sh-set-shell): Reset it.
10447 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10448 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10450 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10452 * align.el: Use lexical-binding.
10453 (align-region): Simplify accordingly.
10455 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10457 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10459 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10460 `non-essential' up.
10462 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10465 * net/tramp-adb.el:
10466 * net/tramp-cmds.el:
10467 * net/tramp-ftp.el:
10468 * net/tramp-gvfs.el:
10470 * net/tramp-sh.el: Don't wrap external variable declarations by
10471 `eval-when-compile'.
10473 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10475 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10476 now that Emacs supports ImageMagick animations.
10478 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10480 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10481 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10483 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10485 * window.el (mouse-autoselect-window-select): Do autoselect when
10486 mouse pointer is on margin.
10488 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10490 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10492 2013-08-16 Glenn Morris <rgm@gnu.org>
10494 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10495 Handle "Remote Directory" response of some clients. (Bug#15058)
10497 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10498 Tweak warning. (Bug#14926)
10500 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10501 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10503 * image-mode.el (image-mode-map): Add menu items to reverse,
10504 increase, decrease, reset animation speed.
10505 (image--set-speed, image-increase-speed, image-decrease-speed)
10506 (image-reverse-speed, image-reset-speed): New functions.
10507 (image-mode-map): Add bindings for speed commands.
10509 * image.el (image-animate-get-speed, image-animate-set-speed):
10511 (image-animate-timeout): Respect image :speed property.
10513 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10515 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10516 previous line (bug#15101).
10517 (debugger-eval-expression, debugger-record-expression):
10518 Use read--expression (bug#15102).
10520 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10522 Remove byte compiler warnings, visible when compiling with
10523 `byte-compile-force-lexical-warnings' set to t.
10525 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10526 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10527 (tramp-handle-unhandled-file-name-directory)
10528 (tramp-handle-file-notify-add-watch, tramp-action-login)
10529 (tramp-action-succeed, tramp-action-permission-denied)
10530 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10531 arguments with "_".
10533 * net/tramp-adb.el (tramp-adb-parse-device-names)
10534 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10535 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10536 (tramp-adb-handle-file-truename): Remove unused arguments.
10538 * net/tramp-cache.el (tramp-flush-directory-property)
10539 (tramp-flush-connection-property, tramp-list-connections)
10540 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10542 * net/tramp-compat.el (tramp-compat-make-temp-file):
10543 Rename FILENAME to F.
10545 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10546 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10547 (tramp-zeroconf-parse-workstation-device-names)
10548 (tramp-zeroconf-parse-webdav-device-names)
10549 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10551 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10552 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10554 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10556 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10557 (tramp-sh-handle-insert-file-contents-literally)
10558 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10560 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10561 Remove unused variables.
10563 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10564 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10565 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10567 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10568 Make them a defconst.
10569 (tramp-uuencode-region): Remove unused variable.
10571 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10573 * frameset.el (frameset--prop-setter): New function.
10574 (frameset-prop): Add gv-setter declaration.
10575 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10576 parameter was already set in FILTERED. Doc fix.
10577 (frameset--record-minibuffer-relationships): Allow saving a
10578 minibufferless frame without its corresponding minibuffer frame.
10579 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10580 frame, if the frame id matches.
10581 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10582 frames before orphaned ones.
10583 (frameset-restore): Warn about orphaned windows, instead of error out.
10585 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10587 * window.el (window-make-atom): Don't overwrite parameter
10589 (display-buffer-in-atom-window): Handle special case where we
10590 split an already atomic window.
10591 (window--major-non-side-window, display-buffer-in-side-window)
10592 (window--side-check): Ignore minibuffer window when walking
10594 (window-deletable-p): Return 'frame only if no other frame uses
10595 our minibuffer window.
10596 (record-window-buffer): Run buffer-list-update-hook.
10597 (split-window): Make sure window--check-frame won't destroy an
10598 existing atomic window in case the new window gets nested
10600 (display-buffer-at-bottom): Ignore minibuffer window when
10601 walking window tree. Don't split a side window.
10602 (pop-to-buffer): Don't set-buffer here, the select-window call
10604 (mouse-autoselect-window-select): Autoselect only if we are in the
10605 text portion of the window.
10607 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10609 * net/shr.el (shr-parse-image-data): New function to grab both the
10610 data itself and the Content-Type.
10611 (shr-put-image): Use it.
10613 * net/eww.el (eww-display-image): Ditto.
10615 * image.el (image-content-type-suffixes): New variable.
10617 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10619 * progmodes/python.el (python-imenu--build-tree)
10620 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10622 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10624 * simple.el (backward-word): Mention the optional argument.
10626 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * frameset.el (frameset--make): Rename constructor from make-frameset.
10629 (frameset-p, frameset-valid-p): Don't autoload.
10630 (frameset-valid-p): Use normal accessors.
10632 2013-08-13 Glenn Morris <rgm@gnu.org>
10634 * progmodes/compile.el (compile-command): Tweak example in doc.
10635 * obsolete/scribe.el (scribe-mode):
10636 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10638 * mail/feedmail.el (feedmail-confirm-outgoing)
10639 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10641 * cus-start.el (truncate-partial-width-windows): Fix type.
10643 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10645 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10647 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10649 * emacs-lisp/timer.el (timer--time-setter): New function.
10650 (timer--time): Use it as gv-setter.
10652 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10653 setter is not a symbol.
10655 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10657 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10658 if sending fails. This makes debugging easier.
10660 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10662 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10663 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10664 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10666 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10668 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10670 2013-08-12 Glenn Morris <rgm@gnu.org>
10672 * format.el (format-annotate-function):
10673 Handle read-only text properties in the source. (Bug#14887)
10675 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10677 * net/eww.el (eww-display-html): Ignore coding system errors.
10678 One web site uses "utf-8lias" as the coding system.
10680 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10682 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10684 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10686 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10687 (tutorial--detailed-help): Remove unused local variables.
10688 (tutorial--save-tutorial-to): Use ignore-errors.
10689 (help-with-tutorial): Use looking-at-p.
10691 * view.el (view-buffer-other-window, view-buffer-other-frame):
10692 Mark unused arguments.
10694 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10695 (woman-select-symbol-fonts, woman, woman-find-file)
10696 (woman-insert-file-contents, woman-non-underline-faces):
10697 Use string-match-p.
10698 (woman1-unquote): Move declaration.
10700 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10701 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10702 argument. Remove unused local variable.
10703 (xml-parse-elem-type): Use string-match-p.
10704 (xml-substitute-numeric-entities): Use ignore-errors.
10706 * calculator.el (calculator): Mark unused argument.
10707 (calculator-paste, calculator-quit, calculator-integer-p):
10709 (calculator-string-to-number, calculator-decimal, calculator-exp)
10710 (calculator-op-or-exp): Use string-match-p.
10712 * dired.el (dired-buffer-more-recently-used-p): Declare.
10713 (dired-insert-set-properties, dired-insert-old-subdirs):
10716 * dired-aux.el (dired-compress): Use ignore-errors.
10717 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10718 (dired-do-async-shell-command, dired-do-shell-command)
10719 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10720 (dired-insert-subdir-validate): Use string-match-p.
10721 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10722 (dired-add-entry): Use string-match-p, looking-at-p.
10723 (dired-insert-subdir-newpos): Remove unused local variable.
10725 * filenotify.el (file-notify-callback): Remove unused local variable.
10727 * filesets.el (filesets-error): Mark unused argument.
10728 (filesets-which-command-p, filesets-filter-dir-names)
10729 (filesets-directory-files, filesets-get-external-viewer)
10730 (filesets-ingroup-get-data): Use string-match-p.
10732 * find-file.el (ff-other-file-name, ff-other-file-name)
10733 (ff-find-the-other-file, ff-cc-hh-converter):
10734 Remove unused local variables.
10735 (ff-get-file-name): Use string-match-p.
10736 (ff-all-dirs-under): Use ignore-errors.
10738 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10739 (follow-select-if-visible): Remove unused local variable.
10741 * forms.el (read-file-filter): Move declaration.
10742 (forms--make-format, forms--make-parser, forms-insert-record):
10743 Quote function with #'.
10744 (forms--update): Use string-match-p. Quote function with #'.
10746 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10747 (help-make-xrefs): Use looking-at-p.
10748 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10750 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10751 (ibuffer-confirm-operation-on): Use string-match-p.
10753 * msb.el (msb-item-handler, msb-dired-item-handler):
10754 Mark unused arguments.
10756 * ses.el (ses-decode-cell-symbol)
10757 (ses-kill-override): Remove unused local variable.
10758 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10759 (ses-load): Use ignore-errors, looking-at-p.
10760 (ses-jump-safe): Use ignore-errors.
10761 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10763 * tabify.el (untabify, tabify): Mark unused arguments.
10765 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10766 Mark unused argument.
10767 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10768 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10770 * emacs-lisp/timer.el (timer--time): Define setter with
10771 gv-define-setter to avoid deprecation warning.
10773 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10774 (*record-cmpl-statistics-p*): Remove (was commented out).
10775 (cmpl-statistics-block): Remove (body was commented out).
10776 All callers changed.
10777 (add-completions-from-buffer, load-completions-from-file):
10778 Remove unused variables.
10780 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10782 * filecache.el (file-cache-delete-file-list):
10783 Print message only when told so.
10784 (file-cache-files-matching): Use #' in mapconcat argument.
10786 * ffap.el (ffap-url-at-point): Fix reference to variable
10787 thing-at-point-default-mail-uri-scheme.
10789 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10791 * subr.el (define-error): New function.
10792 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10793 error-file-not-found and define with define-error.
10794 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10795 and define with define-error.
10796 * userlock.el (file-locked, file-supersession):
10797 * simple.el (mark-inactive):
10798 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10799 * progmodes/ada-mode.el (ada-mode-errors):
10800 * play/life.el (life-extinct):
10801 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10802 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10803 * nxml/rng-util.el (rng-error):
10804 * nxml/rng-uri.el (rng-uri-error):
10805 * nxml/rng-match.el (rng-compile-error):
10806 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10807 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10808 * nxml/nxml-rap.el (nxml-scan-error):
10809 * nxml/nxml-outln.el (nxml-outline-error):
10810 * net/soap-client.el (soap-error):
10811 * net/gnutls.el (gnutls-error):
10812 * net/ange-ftp.el (ftp-error):
10813 * mpc.el (mpc-proc-error):
10814 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10815 (json-number-format, json-string-escape, json-string-format)
10816 (json-key-format, json-object-format):
10817 * jka-compr.el (compression-error):
10818 * international/quail.el (quail-error):
10819 * international/kkc.el (kkc-error):
10820 * emacs-lisp/ert.el (ert-test-failed):
10821 * calc/calc.el (calc-error, inexact-result, math-overflow)
10823 * bookmark.el (bookmark-error-no-filename):
10824 * epg.el (epg-error): Define with define-error.
10826 * time.el (display-time-event-handler)
10827 (display-time-next-load-average): Don't call sit-for since it seems
10828 unnecessary (bug#15045).
10830 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10831 Use #' instead of ' to quote functions.
10832 (checkdoc-output-mode): Use setq-local.
10833 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10834 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10835 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10836 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10837 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10838 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10839 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10840 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10842 * ido.el (ido-completion-help): Fix up compiler warning.
10844 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10846 * frameset.el (frameset-p): Add autoload cookie.
10847 (frameset--jump-to-register): New function, based on code moved from
10849 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10851 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10852 (frameset-restore, frameset-save, frameset-session-filter-alist):
10853 Remove declarations.
10854 (register-alist): Doc fix.
10855 (frameset-to-register): Move to frameset.el.
10856 (jump-to-register, describe-register-1): Remove frameset-specific code.
10858 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10860 * allout-widgets.el (allout-widgets-pre-command-business)
10861 (allout-widgets-post-command-business)
10862 (allout-widgets-after-change-handler)
10863 (allout-decorate-item-and-context, allout-set-boundary-marker)
10864 (allout-body-modification-handler)
10865 (allout-graphics-modification-handler): Mark ignored arguments.
10866 (allout-widgets-post-command-business)
10867 (allout-widgets-exposure-change-processor)
10868 (allout-widgets-exposure-undo-processor)
10869 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10870 (allout-parse-item-at-point, allout-decorate-item-guides)
10871 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10872 * allout.el (epa-passphrase-callback-function): Declare.
10873 (allout-overlay-insert-in-front-handler)
10874 (allout-overlay-interior-modification-handler)
10875 (allout-isearch-end-handler, allout-chart-siblings)
10876 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10877 (allout-yank-processing, allout-process-exposed)
10878 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10879 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10880 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10881 (lisp-indent-defform): Mark ignored arguments.
10882 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10883 (calculate-lisp-indent): Remove unused variables.
10884 * international/characters.el (indian-2-column, arabic-2-column)
10885 (tibetan): Mark ignored arguments.
10886 (use-cjk-char-width-table): Mark ignored arguments.
10887 Remove unused variables.
10888 * international/fontset.el (build-default-fontset-data)
10889 (x-compose-font-name, create-fontset-from-fontset-spec):
10890 Mark ignored arguments.
10891 (fontset-plain-name): Remove unused variables.
10892 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10893 (keyboard-coding-system): Mark ignored arguments.
10894 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10895 * help.el (resize-temp-buffer-window):
10896 * window.el (display-buffer-in-major-side-window)
10897 (display-buffer-in-side-window, display-buffer-in-previous-window):
10898 Remove unused variables.
10899 * isearch.el (isearch-forward-symbol):
10900 * version.el (emacs-bzr-version-bzr):
10901 * international/mule-cmds.el (current-language-environment):
10902 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10903 (x-handle-display):
10904 * term/pc-win.el (x-list-fonts, x-display-planes)
10905 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10906 (x-server-version, x-display-screens, x-display-mm-height)
10907 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10908 (x-selection-owner-p, x-own-selection-internal)
10909 (x-disown-selection-internal, x-get-selection-internal)
10910 (msdos-initialize-window-system):
10911 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10912 * term/x-win.el (x-handle-no-bitmap-icon):
10913 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10914 (vc-default-find-file-hook, vc-default-extra-menu):
10915 Mark ignored arguments.
10917 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10919 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10920 break-condition in the context of the debugged code (bug#12685).
10922 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10925 Do not use an overlay to highlight the last prompt. (Bug#14744)
10926 (comint-mode): Make comint-last-prompt buffer local.
10927 (comint-last-prompt): New variable.
10928 (comint-last-prompt-overlay): Remove. Superseded by
10929 comint-last-prompt.
10930 (comint-snapshot-last-prompt, comint-output-filter):
10931 Use comint-last-prompt.
10933 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10935 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10936 (frameset-save): Check validity of the resulting frameset.
10938 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10940 * ido.el (ido-record-command): Add doc string.
10942 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10944 * frameset.el (frameset): Do not disable creation of the default
10945 frameset-p predicate. Doc fix.
10946 (frameset-valid-p): New function, copied from the old predicate-p.
10947 Add additional checks.
10948 (frameset-restore): Check with frameset-valid-p.
10949 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10950 (frameset-name, frameset-description, frameset-properties)
10951 (frameset-states): Add docstring.
10952 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10953 (frameset-filter-alist): Doc fixes.
10955 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10957 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10959 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10962 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10963 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10964 (byte-compile-normal-call): Remove obsolescence check.
10966 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10968 * frameset.el (frameset-restore): Doc fix.
10970 * register.el (frameset-frame-id, frameset-frame-with-id)
10971 (frameset-p, frameset-restore, frameset-save): Declare.
10972 (register-alist): Document framesets.
10973 (frameset-session-filter-alist): Declare.
10974 (frameset-to-register): New function.
10975 (jump-to-register): Implement jumping to framesets. Doc fix.
10976 (describe-register-1): Describe framesets.
10978 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10980 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10982 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10983 Use lexical-binding.
10985 * frameset.el (frameset): Use type vector, not list (incompatible
10986 change). Do not declare a new constructor, use the default one.
10987 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10988 `name' and `description', respectively, and add read-only slot
10989 `timestamp'. Doc fixes.
10990 (frameset-copy, frameset-persistent-filter-alist)
10991 (frameset-filter-alist, frameset-switch-to-gui-p)
10992 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10993 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10994 (frameset-filter-iconified, frameset-keep-original-display-p):
10996 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10997 Rename from frameset-filter-(save|restore)-param. All callers changed.
10999 (frameset-p): Adapt to change to vector and be more thorough.
11000 Change arg name to OBJECT. Doc fix.
11001 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
11002 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11003 All callers changed.
11004 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11005 All callers changed.
11006 (frameset--record-minibuffer-relationships): Rename from
11007 frameset--process-minibuffer-frames. All callers changed.
11008 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11009 Use new default constructor (again). Doc fix.
11010 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11011 All callers changed.
11012 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11013 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11015 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11016 PARAMETERS and WINDOW-STATE, respectively.
11017 (frameset-restore): Add new keyword argument PREDICATE.
11018 Reset frameset--target-display to nil. Doc fix.
11020 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11022 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11023 (bat-mode): Use it.
11024 (bat-mode-syntax-table): Mark \n as end-of-comment.
11025 (bat-font-lock-keywords): Remove comment rule.
11027 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11028 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11030 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11031 (byte-compile-callargs-warn): Use `push'.
11032 (byte-compile-arglist-warn): Ignore higher-order "calls".
11033 (byte-compile-file-form-autoload): Use `pcase'.
11034 (byte-compile-function-form): If quoting a symbol, check that it exists.
11036 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11038 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11039 and add a few popular commands found in batch files.
11040 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11041 (dos-mode): Doc fixes.
11043 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11045 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11046 (dos-mode): Use setq-local. Add space after "rem".
11047 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11048 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11050 2013-08-07 Arni Magnusson <arnima@hafro.is>
11052 * progmodes/dos.el: New file.
11053 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11056 2013-08-06 Glenn Morris <rgm@gnu.org>
11058 * calendar/calendar.el: Add new faces, and day-header-array.
11059 (calendar-weekday-header, calendar-weekend-header)
11060 (calendar-month-header): New faces.
11061 (calendar-day-header-construct): New function.
11062 (calendar-day-header-width): Also :set calendar-day-header-array.
11063 (calendar-american-month-header, calendar-european-month-header)
11064 (calendar-iso-month-header): Use calendar- faces.
11065 (calendar-generate-month):
11066 Use calendar-day-header-array for day headers; apply faces to them.
11067 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11068 (calendar-abbrev-construct): Add optional maxlen argument.
11069 (calendar-day-name-array): Doc fix.
11070 (calendar-day-name-array, calendar-abbrev-length)
11071 (calendar-day-abbrev-array):
11072 Also :set calendar-day-header-array, and maybe redraw.
11073 (calendar-day-header-array): New option. (Bug#15007)
11074 (calendar-font-lock-keywords): Set to nil and make obsolete.
11075 (calendar-day-name): Add option to use header array.
11077 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11079 * net/shr.el (shr-render-td): Remove debugging.
11080 (shr-render-td): Make width computation consistent by defaulting
11081 all zero-width columns to 10 characters. This may not be optimal,
11082 but it's at least consistent.
11083 (shr-make-table-1): Redo last change to fix the real problem in
11086 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11088 * files.el (cache-long-line-scans):
11089 Make obsolete alias to `cache-long-scans'.
11091 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11093 * frameset.el (frameset, frameset-filter-alist)
11094 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11095 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11096 (frameset-compute-pos): Rename from frameset--compute-pos,
11098 (frameset-move-onscreen): Use frameset-compute-pos.
11099 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11101 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11102 Fix typos in docstrings.
11104 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11106 * frame.el (get-other-frame): Tiny cleanup.
11108 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11110 * vc/vc.el (vc-default-ignore-completion-table):
11111 Silence byte-compiler warning.
11113 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11114 slot, which can indeed be nil.
11115 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11116 Move entry for `left' from persistent to live filter alist.
11117 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11119 (frameset-filter-params): When restoring a frame, copy items added to
11120 `filtered', to avoid unwittingly modifying the original parameters.
11121 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11122 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11124 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11125 to use looking-at-p instead of looking-at. (Bug#15028)
11127 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11129 Revert introduction of isearch-filter-predicates (bug#14714).
11130 Rely on add-function instead.
11131 * isearch.el (isearch-filter-predicates): Rename it back to
11132 isearch-filter-predicate.
11133 (isearch-message-prefix): Use advice-function-mapc and advice
11134 properties to get the isearch-message-prefix.
11135 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11136 instead of run-hook-with-args-until-failure.
11137 (isearch-filter-visible): Not obsolete any more.
11138 * loadup.el: Preload nadvice.
11139 * replace.el (perform-replace): Revert to funcall
11140 instead of run-hook-with-args-until-failure.
11141 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11142 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11143 dired-isearch-filenames-toggle; make it into a proper minor mode.
11144 Use add/remove-function.
11145 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11146 Call the minor-mode rather than add/remove-hook.
11147 (dired-isearch-filter-filenames):
11148 Remove isearch-message-prefix property.
11149 * info.el (Info--search-loop): New function, extracted from Info-search.
11150 Funcall isearch-filter-predicate instead of
11151 run-hook-with-args-until-failure isearch-filter-predicates.
11152 (Info-search): Use it.
11153 (Info-mode): Use isearch-filter-predicate instead of
11154 isearch-filter-predicates.
11156 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11158 Do not call to `selected-window' where it is assumed by default.
11159 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11160 `window-hscroll', `window-width', `window-height', `window-buffer',
11161 `window-frame', `window-start', `window-point', `next-window'
11162 and `window-display-table'.
11163 * abbrev.el (abbrev--default-expand):
11164 * bs.el (bs--show-with-configuration):
11165 * buff-menu.el (Buffer-menu-mouse-select):
11166 * calc/calc.el (calc):
11167 * calendar/calendar.el (calendar-generate-window):
11168 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11169 (diary-make-entry):
11170 * comint.el (send-invisible, comint-dynamic-complete-filename)
11171 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11172 * completion.el (complete):
11173 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11174 * disp-table.el (describe-current-display-table):
11175 * doc-view.el (doc-view-insert-image):
11176 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11177 * ehelp.el (with-electric-help):
11178 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11179 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11180 * emacs-lisp/helper.el (Helper-help-scroller):
11181 * emulation/cua-base.el (cua--post-command-handler-1):
11182 * eshell/esh-mode.el (eshell-output-filter):
11183 * ffap.el (ffap-gnus-wrapper):
11184 * help-macro.el (make-help-screen):
11185 * hilit-chg.el (highlight-compare-buffers):
11186 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11187 * hl-line.el (global-hl-line-highlight):
11188 * icomplete.el (icomplete-simple-completing-p):
11189 * isearch.el (isearch-done):
11190 * jit-lock.el (jit-lock-stealth-fontify):
11191 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11192 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11193 * mpc.el (mpc-tagbrowser, mpc):
11194 * net/rcirc.el (rcirc-any-buffer):
11195 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11196 * play/landmark.el (landmark-max-width, landmark-max-height):
11197 * play/zone.el (zone):
11198 * progmodes/compile.el (compilation-goto-locus):
11199 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11200 * progmodes/etags.el (find-tag-other-window):
11201 * progmodes/fortran.el (fortran-column-ruler):
11202 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11203 * progmodes/verilog-mode.el (verilog-point-text):
11204 * reposition.el (reposition-window):
11205 * rot13.el (toggle-rot13-mode):
11206 * server.el (server-switch-buffer):
11207 * shell.el (shell-dynamic-complete-command)
11208 (shell-dynamic-complete-environment-variable):
11209 * simple.el (insert-buffer, set-selective-display)
11210 (delete-completion-window):
11211 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11212 (speedbar-recenter):
11213 * startup.el (fancy-splash-head):
11214 * textmodes/ispell.el (ispell-command-loop):
11215 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11216 * tutorial.el (help-with-tutorial):
11217 * vc/add-log.el (add-change-log-entry):
11218 * vc/compare-w.el (compare-windows):
11219 * vc/ediff-help.el (ediff-indent-help-message):
11220 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11221 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11222 (ediff-setup-control-frame):
11223 * vc/emerge.el (emerge-position-region):
11224 * vc/pcvs-util.el (cvs-bury-buffer):
11225 * window.el (walk-windows, mouse-autoselect-window-select):
11226 * winner.el (winner-set-conf, winner-undo): Related users changed.
11228 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11230 * frameset.el (frameset--set-id): Doc fix.
11231 (frameset-frame-id, frameset-frame-id-equal-p)
11232 (frameset-locate-frame-id): New functions.
11233 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11234 (frameset-restore): Use them.
11236 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11238 Do not call to `selected-frame' where it is assumed by default.
11239 Affected functions are `raise-frame', `redraw-frame',
11240 `frame-first-window', `frame-terminal' and `delete-frame'.
11241 * calendar/appt.el (appt-disp-window):
11242 * epg.el (epg-wait-for-completion):
11243 * follow.el (follow-delete-other-windows-and-split)
11244 (follow-avoid-tail-recenter):
11245 * international/mule.el (set-terminal-coding-system):
11246 * mail/rmail.el (rmail-mail-return):
11247 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11248 * progmodes/f90.el (f90-add-imenu-menu):
11249 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11250 * server.el (server-switch-buffer):
11251 * simple.el (delete-completion-window):
11253 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11254 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11255 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11256 * vc/ediff.el (ediff-documentation): Related users changed.
11257 * frame.el (selected-terminal): Remove the leftover.
11259 2013-08-05 Glenn Morris <rgm@gnu.org>
11261 * calendar/calendar.el (calendar-generate-month):
11262 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11263 (calendar-generate-month, calendar-font-lock-keywords):
11264 Fix for calendar-day-header-width > length of any day name.
11266 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11268 * desktop.el (desktop-clear): Use new name of sort predicate.
11270 * frameset.el (frameset): Add docstring. Move :version property to its
11271 own `version' slot.
11272 (frameset-copy): Rename from copy-frameset.
11273 (frameset-p): Check more thoroughly.
11274 (frameset-prop): Do not check for :version, which is no longer a prop.
11275 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11276 Use new :never value instead of t.
11277 (frameset-filter-alist): Expand and clarify docstring.
11278 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11279 (frameset-filter-minibuffer, frameset-filter-save-param)
11280 (frameset-filter-restore-param, frameset-filter-iconified):
11281 Add pointer to docstring of frameset-filter-alist.
11282 (frameset-filter-params): Rename filter values to be more meaningful:
11283 :never instead of t, and reverse the meanings of :save and :restore.
11284 (frameset--process-minibuffer-frames): Clarify error message.
11285 (frameset-save): Avoid unnecessary and confusing call to framep.
11286 Use new BOA constructor for framesets.
11287 (frameset--reuse-list): Doc fix.
11288 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11289 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11290 (frameset-minibufferless-first-p): Doc fix.
11291 Rename from frameset-sort-frames-for-deletion.
11292 (frameset-restore): Doc fixes. Use new function names.
11293 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11295 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11297 * desktop.el (desktop-restore-forces-onscreen)
11298 (desktop-restore-reuses-frames): Document :keyword constant values.
11299 (desktop-filter-parameters-alist): Remove, now identical to
11300 frameset-filter-alist.
11301 (desktop--filter-tty*): Remove, moved to frameset.el.
11302 (desktop-save-frameset, desktop-restore-frameset):
11303 Do not pass :filters argument.
11305 * frameset.el (frameset-live-filter-alist)
11306 (frameset-persistent-filter-alist): New variables.
11307 (frameset-filter-alist): Use them. Add autoload cookie.
11308 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11309 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11310 `frameset--id' (it's supposed to be internal to frameset.el).
11311 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11312 (frameset--initial-params): New function.
11313 (frameset--get-frame): Use it. Doc fix.
11314 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11315 Accept :all, not 'all.
11316 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11317 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11318 with fbound symbols. Fix frame id matching, and remove matching ids if
11319 the frame being restored is deleted. Obey :delete.
11321 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11323 * subr.el (macrop): New function.
11324 (text-clone--maintaining): New var.
11325 (text-clone--maintain): Rename from text-clone-maintain. Use it
11326 instead of inhibit-modification-hooks.
11328 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11329 a proxy, so as handle autoloads and redefinitions of the target.
11330 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11332 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11333 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11334 (pcase--mutually-exclusive-p): New function.
11335 (pcase--split-consp): Use it.
11336 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11337 mutually exclusive with the current predicate.
11339 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11340 (edebug-macrop): Remove. Use `macrop' instead.
11341 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11343 * eshell/esh-cmd.el (eshell-macrop):
11344 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11346 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11348 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11349 (advice-mapc): New function, using it.
11350 (advice-function-member-p): New function.
11351 (advice--normalize): Store the cdr in advice--saved-rewrite since
11352 that's the part that will be changed.
11353 (advice--symbol-function): New function.
11354 (advice-remove): Handle removal before the function is defined.
11355 Adjust to new advice--saved-rewrite.
11356 (advice-member-p): Use advice-function-member-p and
11357 advice--symbol-function.
11359 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11361 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11362 (frameset-filter-minibuffer): Doc fix.
11363 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11364 (frameset--set-id, frameset--process-minibuffer-frames)
11365 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11366 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11368 * desktop.el (desktop-clear): Only delete frames when called
11369 interactively and desktop-restore-frames is non-nil. Doc fix.
11370 (desktop-read): Set desktop-saved-frameset to nil.
11372 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11374 * vc/vc.el (vc-ignore): Rewrite.
11375 (vc-default-ignore-completion-table, vc--read-lines)
11376 (vc--add-line, vc--remove-regexp): New functions.
11378 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11379 (vc-svn-ignore-completion-table): New function.
11381 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11382 (vc-hg-ignore-completion-table)
11383 (vc-hg-find-ignore-file): New functions.
11385 * vc/vc-git.el (vc-git-ignore): Rewrite.
11386 (vc-git-ignore-completion-table)
11387 (vc-git-find-ignore-file): New functions.
11389 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11391 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11392 (vc-bzr-ignore-completion-table)
11393 (vc-bzr-find-ignore-file): New functions.
11395 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11397 * frameset.el (frameset-prop): New function and setter.
11398 (frameset-save): Do not modify frame list passed by the caller.
11400 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11402 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11404 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11407 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11409 * custom.el (custom-initialize-default, custom-initialize-set)
11410 (custom-initialize-reset, custom-initialize-changed): Affect the
11411 toplevel-default-value (bug#6275, bug#14586).
11412 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11415 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11417 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11418 Add cl-def* expressions.
11420 * frameset.el (frameset-filter-params): Fix order of arguments.
11422 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11424 Move code related to saving frames to frameset.el.
11425 * desktop.el: Require frameset.
11426 (desktop-restore-frames): Doc fix.
11427 (desktop-restore-reuses-frames): Rename from
11428 desktop-restoring-reuses-frames.
11429 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11430 (desktop-clear): Clear frames too.
11431 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11432 (desktop--filter-tty*, desktop-save, desktop-read):
11433 Use frameset functions.
11434 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11435 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11436 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11437 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11438 (desktop--process-minibuffer-frames, desktop-save-frames)
11439 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11440 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11441 (desktop--sort-states, desktop-restoring-frames-p)
11442 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11443 (desktop-restoring-frameset-p, desktop-restore-frameset)
11444 (desktop--check-dont-save, desktop-save-frameset): New functions.
11445 (desktop--app-id): New constant.
11446 (desktop-first-buffer, desktop-buffer-ok-count)
11447 (desktop-buffer-fail-count): Move before first use.
11448 * frameset.el: New file.
11450 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * files.el: Use lexical-binding.
11453 (dir-locals-read-from-file): Remove unused `err' variable.
11454 (hack-dir-local-variables--warned-coding): New var.
11455 (hack-dir-local-variables): Use it to avoid repeated warnings.
11456 (make-backup-file-name--default-function): New function.
11457 (make-backup-file-name-function): Use it as default.
11458 (buffer-stale--default-function): New function.
11459 (buffer-stale-function): Use it as default.
11460 (revert-buffer-insert-file-contents--default-function): New function.
11461 (revert-buffer-insert-file-contents-function): Use it as default.
11462 (insert-directory): Avoid add-to-list.
11464 * autorevert.el (auto-revert-handler): Simplify.
11465 Use buffer-stale--default-function.
11467 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11469 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11471 * whitespace.el (whitespace-ensure-local-variables): New function.
11472 (whitespace-cleanup-region): Call it.
11473 (whitespace-turn-on): Call it.
11475 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11477 Complete file name handlers.
11479 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11480 (tramp-handle-verify-visited-file-modtime)
11481 (tramp-handle-file-notify-rm-watch): New functions.
11482 (tramp-call-process): Do not bind `default-directory'.
11484 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11485 Order alphabetically.
11486 <access-file, add-name-to-file, dired-call-process>:
11487 <dired-compress-file, file-acl, file-notify-rm-watch>:
11488 <file-ownership-preserved-p, file-selinux-context>:
11489 <make-directory-internal, make-symbolic-link, set-file-acl>:
11490 <set-file-selinux-context, set-visited-file-modtime>:
11491 <verify-visited-file-modtime>: Add handler.
11492 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11494 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11495 <file-notify-add-watch, file-notify-rm-watch>:
11496 <set-file-times, set-visited-file-modtime>:
11497 <verify-visited-file-modtime>: Add handler.
11498 (with-tramp-gvfs-error-message)
11499 (tramp-gvfs-handle-set-visited-file-modtime)
11500 (tramp-gvfs-fuse-file-name): Remove.
11501 (tramp-gvfs-handle-file-notify-add-watch)
11502 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11503 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11505 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11506 Order alphabetically.
11507 <file-notify-rm-watch>: Use default Tramp handler.
11508 <executable-find>: Remove private handler.
11509 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11510 `default-directory'.
11511 (tramp-sh-handle-executable-find)
11512 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11513 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11514 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11515 Do not use `format' in `tramp-message'.
11517 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11518 <file-notify-rm-watch, set-visited-file-modtime>:
11519 <verify-visited-file-modtime>: Add handler.
11520 (tramp-smb-call-winexe): Do not bind `default-directory'.
11522 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11524 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11526 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11528 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11530 (log-view-diff-changeset): Same.
11531 (log-view-diff-common): Call backend command `previous-revision'
11532 to find out the previous revision, in both cases. Swap the
11533 variables `to' and `fr', so that `fr' usually refers to the
11534 earlier revision (Bug#14989).
11536 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11538 * ibuf-ext.el (ibuffer-filter-by-filename):
11539 Make it work with dired buffers too.
11541 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11543 * emacs-lisp/re-builder.el (reb-color-display-p):
11544 * files.el (save-buffers-kill-terminal):
11545 * net/browse-url.el (browse-url):
11546 * server.el (server-save-buffers-kill-terminal):
11547 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11548 Prefer nil to selected-frame for the first arg of frame-parameter.
11550 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11552 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11554 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11556 * minibuffer.el (completion--twq-all): Try and preserve each
11557 completion's case choice (bug#14907).
11559 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11561 * net/network-stream.el (open-network-stream): Mention the new
11562 :nogreeting parameter.
11563 (network-stream-open-starttls): Use the :nogreeting parameter
11566 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11568 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11569 more natural than popping.
11571 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11572 (shr-urlify): Highlight under mouse.
11574 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11576 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11578 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11580 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11583 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11584 point-min==1. Fix search string. Fix parentheses missing.
11586 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11587 assume point-min==1. Fix search string. Fix parentheses missing.
11589 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11591 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11594 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11596 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11597 initial frame is minibuffer-less. (Bug#14841)
11599 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11601 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11605 (tramp-maybe-open-connection): Use it.
11607 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11609 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11610 minimal set of parameters passed when creating a frame, because
11611 the minibuffer status of a frame cannot be changed later.
11613 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11615 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11616 replace-regexp-in-string and inadvertent omissions in previous change.
11617 (todo-filter-items): Ensure only file names are comma-separated in
11618 name of filtered items buffer.
11620 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11622 * desktop.el: Optionally force offscreen frames back onscreen.
11623 (desktop-restoring-reuses-frames): New option.
11624 (desktop--compute-pos, desktop--move-onscreen): New functions.
11625 (desktop--make-frame): Use desktop--move-onscreen.
11627 2013-07-27 Alan Mackenzie <acm@muc.de>
11629 Fontify a Java generic method as a function.
11630 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11633 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11635 * calendar/todo-mode.el: Add command to rename todo files.
11636 (todo-rename-file): New command.
11637 (todo-key-bindings-t): Add key binding for it. Change the
11638 bindings of todo-filter-regexp-items(-multifile) to use `x'
11639 instead of `r', since the latter is better suited to the new
11642 2013-07-27 Alan Mackenzie <acm@muc.de>
11644 Make Java try-with-resources statement parse properly.
11645 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11646 (c-block-stmt-1-2-key): New language constants/variables.
11647 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11648 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11649 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11650 with c-block-stmt-1-2-key.
11652 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11654 * desktop.el (desktop--make-frame): Apply most frame parameters after
11655 creating the frame to force (partially or totally) offscreen frames to
11656 be restored as such.
11658 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11660 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11663 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11666 `base' arg of backtrace-frame.
11668 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11670 * simple.el (list-processes): Doc fix.
11672 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11674 * desktop.el (desktop--select-frame):
11675 Try harder to reuse existing frames.
11677 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11679 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11680 (edebug-eval): Use backtrace-eval.
11681 (edebug--display, edebug--recursive-edit): Don't let-bind the
11682 edebug-outer-* vars that keep track of variables we locally let-bind.
11683 (edebug-outside-excursion): Don't restore outside values of locally
11685 (edebug--display): Use user-error.
11686 (cl-lexical-debug, cl-debug-env): Remove.
11688 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11690 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11691 are restored to be sure that they are visible before deleting any
11694 2013-07-26 Matthias Meulien <orontee@gmail.com>
11696 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11697 vc-print-root-log. (Bug#14948)
11699 2013-07-26 Richard Stallman <rms@gnu.org>
11701 Add aliases for encrypting mail.
11702 * epa.el (epa-mail-aliases): New option.
11703 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11704 Bind inhibit-read-only so read-only text doesn't ruin everything.
11705 (epa-mail-default-recipients): New subroutine broken out.
11706 Handle epa-mail-aliases.
11708 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11710 Add support for lexical variables to the debugger's `e' command.
11711 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11712 vars, except for debugger-outer-match-data.
11713 (debugger-frame-number): Move check for "on a function call" from
11714 callers into it. Add `skip-base' argument.
11715 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11716 (debugger-env-macro): Only reset the state stored in non-variables,
11717 i.e. current-buffer and match-data.
11718 (debugger-eval-expression): Rewrite using backtrace-eval.
11719 * subr.el (internal--called-interactively-p--get-frame): Remove.
11720 (called-interactively-p):
11721 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11722 `base' arg of backtrace-frame instead.
11724 2013-07-26 Glenn Morris <rgm@gnu.org>
11726 * align.el (align-regexp): Doc fix. (Bug#14857)
11727 (align-region): Explicit error if subexpression missing/does not match.
11729 * simple.el (global-visual-line-mode):
11730 Do not duplicate the mode lighter. (Bug#14858)
11732 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11734 * window.el (display-buffer): In display-buffer bind
11735 split-window-keep-point to t, bug#14829.
11737 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11739 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11740 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11741 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11742 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11743 Change accordingly.
11744 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11745 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11747 2013-07-25 Glenn Morris <rgm@gnu.org>
11749 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11751 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11753 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11754 parameter to modify-frame-parameters if the value has not changed;
11755 this is a workaround for bug#14949.
11756 (desktop--make-frame): On cl-delete-if call, check parameter name,
11757 not full parameter.
11759 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11761 * vc/vc.el (vc-ignore): New function.
11763 * vc/vc-svn.el (vc-svn-ignore): New function.
11765 * vc/vc-hg.el (vc-hg-ignore): New function.
11767 * vc/vc-git.el (vc-git-ignore): New function.
11769 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11770 (vc-dir-ignore): New function.
11772 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11773 (cvs-append-to-ignore): Move here from pcvs.el.
11775 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11777 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11779 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11781 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11782 (desktop-restore-frames): Warn when deleting an existing frame failed.
11784 2013-07-24 Glenn Morris <rgm@gnu.org>
11786 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11788 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11790 * filenotify.el (file-notify-supported-p):
11791 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11794 * autorevert.el (auto-revert-use-notify)
11795 (auto-revert-notify-add-watch):
11796 * net/tramp.el (tramp-file-name-for-operation):
11797 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11798 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11799 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11801 Remove `file-notify-supported-p' entry.
11803 2013-07-24 Glenn Morris <rgm@gnu.org>
11805 * printing.el: Replace all uses of deleted ps-windows-system,
11806 ps-lp-system, ps-flatten-list with lpr- versions.
11808 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11810 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11811 checked with memq (bug#14935).
11813 * files.el (revert-buffer-function): Use a non-nil default.
11814 (revert-buffer-preserve-modes): Declare var to
11815 provide access to the `preserve-modes' argument.
11816 (revert-buffer): Let-bind it.
11817 (revert-buffer--default): New function, extracted from revert-buffer.
11819 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11821 * lpr.el: Signal print errors more prominently.
11822 (print-region-function): Don't default to nil.
11823 (lpr-print-region): New function, extracted from print-region-1.
11824 Check lpr's return value and signal an error in case of problem.
11825 (print-region-1): Use it.
11826 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11828 (ps-printer-name): Default to nil.
11829 (ps-printer-name-option): Default to lpr-printer-switch.
11830 (ps-print-region-function): Don't default to nil.
11831 (ps-postscript-code-directory): Simplify default.
11832 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11833 (ps-string-list, ps-eval-switch, ps-flatten-list)
11834 (ps-flatten-list-1): Remove.
11835 (ps-multibyte-buffer): Avoid setq.
11836 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11837 (print-region-function, ps-print-region-function): Don't set them here.
11839 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11841 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11842 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11843 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11844 (ido-decorations): Doc fix.
11846 * ansi-color.el: Fix old URL.
11848 2013-07-23 Michael R. Mauger <michael@mauger.com>
11850 * progmodes/sql.el: Version 3.3
11851 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11852 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11853 (sql-interactive-remove-continuation-prompt): Rewrite, use
11854 functions above. Fix continuation prompt and complete output line
11856 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11857 redirected output buffer.
11858 (sql-mode): Restore deleted code (Bug#13591).
11860 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11862 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11864 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11866 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11868 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11870 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11872 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11874 * desktop.el (desktop-clear): Simplify; remove useless checks
11875 against invalid buffer names.
11876 (desktop-list*): Use cl-list*.
11877 (desktop-buffer-info, desktop-create-buffer): Simplify.
11879 2013-07-23 Leo Liu <sdl.web@gmail.com>
11881 * bookmark.el (bookmark-make-record): Restore NAME as a default
11884 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11886 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11887 extracted from autoload--insert-text.
11888 (autoload--insert-text): Remove.
11889 (autoload--print-cookie-text): New function, extracted from
11890 autoload--insert-cookie-text.
11891 (autoload--insert-cookie-text): Remove.
11892 (autoload-generate-file-autoloads): Adjust calls accordingly.
11894 * winner.el (winner-hook-installed-p): Remove.
11895 (winner-mode): Simplify accordingly.
11897 * subr.el (add-to-list): Fix compiler-macro when `append' is
11898 not constant. Don't use `cl-member' for the base case.
11900 * progmodes/subword.el: Fix boundary case (bug#13758).
11901 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11903 (subword-backward-regexp): Make it a constant.
11904 (subword-forward-internal): Don't treat a trailing capital as the
11905 beginning of a word.
11907 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11909 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11910 global value of tabulated-list-revert-hook (bug#14930).
11912 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11914 * desktop.el: Require 'cl-lib.
11915 (desktop-before-saving-frames-functions): New hook.
11916 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11917 for frames being saved. Rename from desktop--save-minibuffer-frames.
11918 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11919 Do not save frames with non-nil `desktop-dont-save' parameter.
11920 Filter out deleted frames.
11921 (desktop--find-frame): Use cl-find-if.
11922 (desktop--select-frame): Use cl-(first|second|third) to access values
11924 (desktop--make-frame): Use cl-delete-if.
11925 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11926 (desktop-restore-frames): Use cl-(first|second|third) to access values
11927 of desktop-mini. Look for visible frame at the end, not while
11930 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11931 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11932 Use string-match-p, looking-at-p (bug#14927).
11934 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11936 * desktop.el (desktop-saved-frame-states):
11937 Rename from desktop--saved-states; all users changed.
11938 (desktop-save-frames): Rename from desktop--save-frames.
11939 Do not save state to desktop file.
11940 (desktop-save): Save desktop-saved-frame-states to desktop file
11942 (desktop-restoring-frames-p): New function.
11943 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11944 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11945 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11947 * desktop.el: Correctly restore iconified frames.
11948 (desktop--filter-iconified-position): New function.
11949 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11951 2013-07-20 Glenn Morris <rgm@gnu.org>
11953 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11954 Let `message' do the formatting.
11955 (def-gdb-preempt-display-buffer): Add explicit format.
11957 * image-dired.el (image-dired-track-original-file):
11958 Use with-current-buffer.
11959 (image-dired-track-thumbnail): Use with-current-buffer.
11960 Avoid changing point of wrong window.
11962 * image-dired.el (image-dired-track-original-file):
11963 Avoid changing point of wrong window. (Bug#14909)
11965 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11967 * progmodes/gdb-mi.el (gdb-done-or-error):
11968 Guard against "%" in gdb output. (Bug#14127)
11970 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11972 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11975 * international/mule.el (coding-system-iso-2022-flags): Fix last
11978 2013-07-20 Kenichi Handa <handa@gnu.org>
11980 * international/mule.el (coding-system-iso-2022-flags):
11981 Add `8-bit-level-4'. (Bug#8522)
11983 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11985 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11988 * net/eww.el (eww-process-text-input): Allow inputting when the
11989 point is at the start of the line, as the properties aren't
11992 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11995 2013-07-19 Richard Stallman <rms@gnu.org>
11997 * epa.el (epa-popup-info-window): Doc fix.
11999 * subr.el (split-string): New arg TRIM.
12001 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
12003 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12004 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12006 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
12008 * filenotify.el (file-notify--library): Rename from
12009 `file-notify-support'. Do not autoload. Adapt all uses.
12010 (file-notify-supported-p): New defun.
12012 * autorevert.el (auto-revert-use-notify):
12013 Use `file-notify-supported-p' instead of `file-notify-support'.
12015 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12017 * net/tramp.el (tramp-file-name-for-operation):
12018 Add `file-notify-supported-p'.
12020 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12022 (tramp-sh-file-name-handler-alist): Add it as handler for
12023 `file-notify-supported-p '.
12025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12027 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12028 Add `ignore' as handler for `file-notify-*' functions.
12030 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12032 * simple.el (line-move-partial, line-move): Don't start vscroll or
12033 scroll-up if the current line is not taller than the window.
12036 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12038 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12039 highlight question marks in the method names as strings.
12040 (ruby-block-beg-keywords): Inline.
12041 (ruby-font-lock-keyword-beg-re): Extract from
12042 `ruby-font-lock-keywords'.
12044 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12046 * frame.el (blink-cursor-blinks): New defcustom.
12047 (blink-cursor-blinks-done): New defvar.
12048 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12049 (blink-cursor-timer-function): Check if number of blinks has been
12051 (blink-cursor-suspend, blink-cursor-check): New defuns.
12053 2013-07-15 Glenn Morris <rgm@gnu.org>
12055 * edmacro.el (edmacro-format-keys): Fix previous change.
12057 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12059 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12060 The hack didn't work outside English locales anyway.
12062 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12064 * simple.el (define-alternatives): Rename from alternatives-define,
12065 per RMS' suggestion.
12067 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12069 * desktop.el (desktop-restore-frames): Change default to t.
12070 (desktop-restore-in-current-display): Now offer more options.
12071 (desktop-restoring-reuses-frames): New customization option.
12072 (desktop--saved-states): Doc fix.
12073 (desktop-filter-parameters-alist): New variable, renamed and expanded
12074 from desktop--excluded-frame-parameters.
12075 (desktop--target-display): New variable.
12076 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12077 (desktop--filter-tty*, desktop--filter-*-color)
12078 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12079 (desktop--filter-save-desktop-parm)
12080 (desktop-restore-in-original-display-p): New functions.
12081 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12082 (desktop--save-minibuffer-frames): New function, inspired by a similar
12083 function from Martin Rudalics.
12084 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12085 (desktop--restore-in-this-display-p): Remove.
12086 (desktop--find-frame): Rename from desktop--find-frame-in-display
12087 and add predicate argument.
12088 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12089 (desktop--reuse-list): New variable.
12090 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12092 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12094 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12096 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12098 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12100 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12101 Highlight conversion methods on Kernel.
12103 2013-07-13 Alan Mackenzie <acm@muc.de>
12105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12106 and comment it out. This out-commenting enables certain C++
12107 declarations to be parsed correctly.
12109 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12111 * international/mule.el (define-coding-system): Doc fix.
12113 * simple.el (default-font-height): Don't call font-info if the
12114 frame's default font didn't change since the frame was created.
12117 2013-07-13 Leo Liu <sdl.web@gmail.com>
12119 * ido.el (ido-read-file-name): Guard against non-symbol value.
12121 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12123 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12126 2013-07-13 Leo Liu <sdl.web@gmail.com>
12128 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12129 ido-set-matches call. (Bug#6852)
12131 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12133 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12134 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12136 (ruby-font-lock-keywords): Distinguish calls to functions with
12137 module-like names from module references. Highlight character
12140 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12142 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12143 (gdb-send): Handle continued commands. (Bug#14847)
12145 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12147 * desktop.el (desktop--v2s): Remove unused local variable.
12148 (desktop-save-buffer): Make defvar-local; adjust docstring.
12149 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12150 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12152 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12154 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12156 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12158 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12161 2013-07-12 Glenn Morris <rgm@gnu.org>
12163 * doc-view.el: Require cl-lib at runtime too.
12164 (doc-view-remove-if): Remove.
12165 (doc-view-search-next-match, doc-view-search-previous-match):
12168 * edmacro.el: Require cl-lib at runtime too.
12169 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12170 (edmacro-mismatch, edmacro-subseq): Remove.
12172 * shadowfile.el: Require cl-lib.
12173 (shadow-remove-if): Remove.
12174 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12177 * wid-edit.el: Require cl-lib.
12178 (widget-choose): Use cl-remove-if.
12179 (widget-remove-if): Remove.
12181 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12182 (ebrowse-delete-if-not): Remove.
12183 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12184 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12185 Use cl-delete-if-not.
12187 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12189 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12190 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12192 2013-07-12 Leo Liu <sdl.web@gmail.com>
12194 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12196 2013-07-11 Glenn Morris <rgm@gnu.org>
12198 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12199 (edebug-gensym-index, edebug-gensym):
12200 Remove reimplementation of cl-gensym.
12201 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12203 * thumbs.el: Require cl-lib at run-time too.
12204 (thumbs-gensym-counter, thumbs-gensym):
12205 Remove reimplementation of cl-gensym.
12206 (thumbs-temp-file): Use cl-gensym.
12208 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12209 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12210 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12211 (ert--union, ert--gensym-counter, ert--gensym-counter)
12212 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12213 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12214 (ert-make-test-unbound, ert--expand-should-1)
12215 (ert--expand-should, ert--should-error-handle-error)
12216 (should-error, ert--explain-equal-rec)
12217 (ert--plist-difference-explanation, ert-select-tests)
12218 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12219 Use cl-lib functions rather than reimplementations.
12221 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12223 * net/tramp.el (tramp-methods): Extend docstring.
12224 (tramp-connection-timeout): New defcustom.
12225 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12226 (with-tramp-progress-reporter): Simplify.
12227 (tramp-process-actions): Improve messages.
12229 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12230 * net/tramp-sh.el (tramp-maybe-open-connection):
12231 Use `tramp-connection-timeout'.
12232 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12235 2013-07-11 Leo Liu <sdl.web@gmail.com>
12237 * ido.el (ido-read-file-name): Conform to the requirements of
12238 read-file-name. (Bug#11861)
12239 (ido-read-directory-name): Conform to the requirements of
12240 read-directory-name.
12242 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12244 * subr.el (delay-warning): New function.
12246 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12248 * simple.el (default-line-height): New function.
12249 (line-move-partial, line-move): Use it instead of computing the
12250 line height inline.
12251 (line-move-partial): Always compute ROWH. If the last line is
12252 partially-visible, but its text is completely visible, allow
12253 cursor to enter such a partially-visible line.
12255 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12257 Improve error messages. (Bug#14808)
12259 * net/tramp.el (tramp-current-connection): New defvar, moved from
12261 (tramp-message-show-progress-reporter-message): Remove, not
12263 (tramp-error-with-buffer): Show message in minibuffer.
12264 Discard input before waiting. Reset connection timestamp.
12265 (with-tramp-progress-reporter): Improve messages.
12266 (tramp-process-actions): Use progress reporter. Delete process in
12267 case of error. Improve messages.
12269 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12270 Call `tramp-error-with-buffer' with vector and buffer.
12271 (tramp-current-connection): Remove.
12272 (tramp-maybe-open-connection): The car of
12273 `tramp-current-connection' are the first 3 slots of the vector.
12275 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12277 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12278 inside continued strings.
12280 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12282 Timestamp fixes for undo (Bug#14824).
12283 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12285 2013-07-10 Leo Liu <sdl.web@gmail.com>
12287 * files.el (require-final-newline): Allow safe local value.
12290 2013-07-09 Leo Liu <sdl.web@gmail.com>
12292 * ido.el (ido-read-directory-name): Handle fallback.
12293 (ido-read-file-name): Update DIR to ido-current-directory.
12295 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12297 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12299 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12300 "autoload". Remove "warn lower camel case" section, previously
12301 commented out. Highlight negation char. Do not highlight the
12302 target in singleton method definitions.
12304 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12306 * faces.el (tty-setup-hook): Declare the hook.
12308 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12309 and detect when a guard/pred depends on local vars (bug#14773).
12310 (pcase--u1): Adjust caller.
12312 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12314 * simple.el (line-move-partial, line-move): Account for
12316 (line-move-partial): Avoid setting vscroll when the last
12317 partially-visible line in window is of default height.
12319 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12321 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12324 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12326 * subr.el (read-quoted-char): Remove unused local variable `char'.
12328 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12330 * vc/ediff.el (ediff-version): Version update.
12331 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12332 (ediff-merge-with-ancestor-command, ediff-directories-command)
12333 (ediff-directories3-command, ediff-merge-directories-command)
12334 (ediff-merge-directories-with-ancestor-command): New functions.
12335 All are command-line interfaces to ediff: to facilitate calling
12336 Emacs with the appropriate ediff functions invoked.
12338 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12340 (viper-save-kill-buffer): Check if buffer is modified.
12342 * emulation/viper.el (viper-version): Version update.
12343 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12345 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12347 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12348 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12349 (viper-intercept-ESC-key): Simplify.
12350 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12352 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12353 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12354 (viper-setup-ESC-to-escape): New functions.
12355 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12356 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12358 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12360 * simple.el (default-font-height, window-screen-lines):
12362 (line-move, line-move-partial): Use them instead of
12363 frame-char-height and window-text-height. This makes scrolling
12364 text smoother when the buffer's default face uses a font that is
12365 different from the frame's default font.
12367 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12369 * files.el (write-file): Do not display confirm dialog for NS,
12370 it does its own dialog, which can't be canceled (Bug#14578).
12372 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12374 * simple.el (line-move-partial): Adjust the row returned by
12375 posn-at-point for the current window-vscroll. (Bug#14567)
12377 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12379 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12380 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12383 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12385 * window.el (window-state-put-stale-windows): New variable.
12386 (window--state-put-2): Save list of windows without matching buffer.
12387 (window-state-put): Remove "bufferless" windows if possible.
12389 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12391 * simple.el (alternatives-define): Remove leftover :group keyword.
12394 2013-07-06 Leo Liu <sdl.web@gmail.com>
12396 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12397 (ido-enable-virtual-buffers): New variable.
12398 (ido-buffer-internal, ido-toggle-virtual-buffers)
12399 (ido-make-buffer-list): Use it.
12400 (ido-exhibit): Support turning on and off virtual buffers
12403 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12405 * simple.el (alternatives-define): New macro.
12407 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12409 * subr.el (read-quoted-char): Use read-key.
12410 (sit-for): Let read-event decode tty input (bug#14782).
12412 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12414 * calendar/todo-mode.el: Add handling of file deletion, both by
12415 mode command and externally. Fix various related bugs.
12416 Clarify Commentary and improve some documentation strings and code.
12417 (todo-delete-file): New command.
12418 (todo-check-file): New function.
12419 (todo-show): Handle external deletion of the file we're trying to
12420 show (bug#14688). Replace called-interactively-p by an optional
12421 prefix argument to avoid problematic interaction with catch form
12422 when byte compiled (bug#14702).
12423 (todo-quit): Handle external deletion of the archive's todo file.
12424 Make sure the buffer that was visiting the archive file is still
12425 live before trying to bury it.
12426 (todo-category-completions): Handle external deletion of any
12427 category completion files.
12428 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12429 of todo files, in case of external deletion.
12430 (todo-add-file): Replace unnecessary setq by let-binding.
12431 (todo-find-archive): Check whether there are any archives.
12432 Replace unnecessary setq by let-binding.
12433 (todo-archive-done-item): Use find-file-noselect to get the
12434 archive buffer whether or not the archive already exists.
12435 Remove superfluous code. Use file size instead of buffer-file-name to
12436 check if the archive is new; if it is, update list of archives.
12437 (todo-default-todo-file): Allow nil to be a valid value for when
12438 there are no todo files.
12439 (todo-reevaluate-default-file-defcustom): Use corrected definition
12440 of todo-default-todo-file.
12441 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12442 (todo-delete-category, todo-show-categories-table)
12443 (todo-category-number): Clarify comment.
12444 (todo-filter-items): Clarify documentation string.
12445 (todo-show-current-file, todo-display-as-todo-file)
12446 (todo-reset-and-enable-done-separator): Tweak documentation string.
12447 (todo-done-separator): Make separator length window-width, since
12448 bug#2749 is now fixed.
12450 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12452 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12453 Support both "gvfs-monitor-dir" and "inotifywait".
12454 (tramp-sh-file-inotifywait-process-filter): Rename from
12455 `tramp-sh-file-notify-process-filter'.
12456 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12457 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12459 2013-07-05 Leo Liu <sdl.web@gmail.com>
12461 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12463 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12465 * frame.el (display-pixel-height, display-pixel-width)
12466 (display-mm-height, display-mm-width): Mention behavior on
12467 multi-monitor setups in docstrings.
12468 (w32-display-monitor-attributes-list): Declare function.
12469 (display-monitor-attributes-list): Use it.
12471 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12473 * filenotify.el: New package.
12475 * autorevert.el (top): Require filenotify.el.
12476 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12478 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12479 (auto-revert-notify-handler): Use `file-notify-*' functions.
12481 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12483 * net/tramp.el (tramp-file-name-for-operation):
12484 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12486 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12487 for `file-notify-add-watch' and `file-notify-rm-watch'.
12488 (tramp-process-sentinel): Improve trace.
12489 (tramp-sh-handle-file-notify-add-watch)
12490 (tramp-sh-file-notify-process-filter)
12491 (tramp-sh-handle-file-notify-rm-watch)
12492 (tramp-get-remote-inotifywait): New defuns.
12494 2013-07-03 Juri Linkov <juri@jurta.org>
12496 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12497 call of `occur-read-primary-args' to interactive spec.
12499 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12500 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12502 2013-07-03 Matthias Meulien <orontee@gmail.com>
12504 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12505 `Buffer-menu-multi-occur'. Add it to the menu.
12506 (Buffer-menu-mode): Document it in docstring.
12507 (Buffer-menu-multi-occur): New command. (Bug#14673)
12509 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12511 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12512 keywords and built-ins.
12514 2013-07-03 Glenn Morris <rgm@gnu.org>
12516 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12518 Make info-xref checks case-sensitive by default
12519 * info.el (Info-find-node, Info-find-in-tag-table)
12520 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12521 Add option for exact case matching of nodes.
12522 * info-xref.el (info-xref): New custom group.
12523 (info-xref-case-fold): New option.
12524 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12526 2013-07-03 Leo Liu <sdl.web@gmail.com>
12528 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12530 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12532 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12533 middle of block statement initially, lower the depth. Remove
12534 FIXME comment, not longer valid. Remove middle of block statement
12535 detection, no need to do that anymore since we've been using
12536 `ruby-parse-region' here.
12538 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12540 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12542 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12544 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12546 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12548 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12549 (desktop-restore-in-current-display): New customization option.
12550 (desktop--excluded-frame-parameters): Add `font'.
12551 (desktop--save-frames): Rename from desktop--save-windows.
12552 (desktop--restore-in-this-display-p): New function.
12553 (desktop--make-full-frame): Remove unwanted width/height from
12554 full(width|height) frames.
12555 (desktop--restore-frames): Rename from desktop--restore-windows.
12556 Obey desktop-restore-current-display. Do not delete old frames or
12557 select a new frame unless we were able to restore at least one frame.
12559 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12561 * files.el (find-file-noselect): Simplify conditional expression.
12563 * textmodes/remember.el (remember-append-to-file):
12564 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12566 Add `remember-notes' function to store random notes across Emacs
12568 * textmodes/remember.el (remember-data-file): Add :set callback to
12569 affect notes buffer (if any).
12570 (remember-notes): New command.
12571 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12572 New defcustoms for the `remember-notes' function.
12573 (remember-notes-save-and-bury-buffer): New command.
12574 (remember-notes-mode-map): New variable.
12575 (remember-mode): New minor mode.
12576 (remember-notes--kill-buffer-query): New function.
12577 * startup.el (initial-buffer-choice): Add notes to custom type.
12579 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12581 * bindings.el (right-char, left-char): Don't call sit-for, this is
12582 no longer needed. Use arithmetic comparison only for numerical
12585 * international/mule-cmds.el (select-safe-coding-system):
12586 Handle the case of FROM being a string correctly. (Bug#14755)
12588 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12590 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12591 progression on degenerate tables.
12592 (shr-rescale-image): ImageMagick animated images currently don't work.
12594 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12596 Some fixes and improvements for desktop frame restoration.
12597 It is still experimental and disabled by default.
12598 * desktop.el (desktop--save-windows): Put the selected frame at
12599 the head of the list.
12600 (desktop--make-full-frame): New function.
12601 (desktop--restore-windows): Try to re-select the frame that was
12602 selected upon saving. Do not abort if some frames fail to restore,
12603 just show an error message and continue. Set up maximized frames
12604 so they have default non-maximized dimensions.
12606 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12608 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12609 Don't start heredoc inside a string or comment.
12611 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12613 * bindings.el (visual-order-cursor-movement): New defcustom.
12614 (right-char, left-char): Provide visual-order cursor motion by
12615 calling move-point-visually. Update the doc strings.
12617 2013-06-28 Kenichi Handa <handa@gnu.org>
12619 * international/mule.el (define-coding-system): New coding system
12620 properties :inhibit-null-byte-detection,
12621 :inhibit-iso-escape-detection, and :prefer-utf-8.
12622 (set-buffer-file-coding-system): If :charset-list property of
12623 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12624 appropriate for setting.
12626 * international/mule-cmds.el (select-safe-coding-system):
12627 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12628 multibyte characters, return utf-8 (or one of its siblings).
12630 * international/mule-conf.el (prefer-utf-8): New coding system.
12631 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12634 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12636 * net/shr.el (shr-render-region): New function.
12638 * net/eww.el: Autoload `eww-browse-url'.
12640 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12642 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12643 Adapt to `package-desc-version' being a list.
12644 Use `package--ac-desc-version' to retrieve version from a package
12647 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12649 New experimental feature to save&restore window and frame setup.
12650 * desktop.el (desktop-save-windows): New defcustom.
12651 (desktop--saved-states): New var.
12652 (desktop--excluded-frame-parameters): New defconst.
12653 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12654 (desktop--restore-windows, desktop--save-windows): New functions.
12655 (desktop-save): Call `desktop--save-windows'.
12656 (desktop-read): Call `desktop--restore-windows'.
12658 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12660 * net/shr.el (add-face-text-property): Remove compat definition.
12662 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12664 * info.el (Info-try-follow-nearest-node): Move search for footnote
12665 above search for node name to prevent missing a footnote (bug#14717).
12667 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12669 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12671 2013-06-27 Leo Liu <sdl.web@gmail.com>
12673 * net/eww.el (eww-read-bookmarks): Check file size.
12675 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12677 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12678 advice--pending if newdef is nil or an autoload (bug#13820).
12679 (advice-mapc): New function.
12681 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12683 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12685 (eww-mode-map): Add a menu bar.
12686 (eww-add-bookmark): New command.
12687 (eww-bookmark-mode): New mode and commands.
12688 (eww-add-bookmark): Remove newlines from the title.
12689 (eww-bookmark-browse): Don't bug out if it's the only window.
12691 2013-06-26 Glenn Morris <rgm@gnu.org>
12693 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12694 (hfy-size): Handle ttys. (Bug#14668)
12696 * info-xref.el: Update for Texinfo 5 change in *note format.
12697 (info-xref-node-re, info-xref-note-re): New constants.
12698 (info-xref-check-buffer): Use info-xref-note-re.
12700 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12702 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12704 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12705 nil terminate the loop (bug#14718).
12707 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12709 * net/eww.el: Rework history traversal. When going forward/back,
12710 put these actions into the history, too, so that they can be
12712 (eww-render): Move the history reset to the correct buffer.
12714 2013-06-25 Juri Linkov <juri@jurta.org>
12716 * files-x.el (modify-dir-local-variable): Change the header comment
12717 in the file with directory local variables. (Bug#14692)
12719 * files-x.el (read-file-local-variable-value): Add `default'.
12722 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12724 * net/eww.el (eww-make-unique-file-name): Create a unique file
12725 name before saving to entering `y' accidentally asynchronously.
12727 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12729 * net/eww.el (eww-download): New command and keystroke.
12731 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12733 * net/eww.el (eww-copy-page-url): Change name of command.
12735 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12736 be more consistent with Info and dired.
12738 * net/eww.el (eww-mode-map): Ditto.
12740 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12742 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12743 packages from archives.
12744 (package-archive-contents): Change format; include obsolete packages.
12745 (package-desc): Use `dir' to mark builtin packages.
12746 (package--from-builtin): Set the `dir' field to `builtin'.
12747 (generated-autoload-file, version-control): Declare.
12748 (package-compute-transaction): Change first arg and return value to be
12749 lists of package-descs. Adjust to new package-archive-contents format.
12750 (package--add-to-archive-contents): Adjust to new
12751 package-archive-contents format.
12752 (package-download-transaction): Arg is now a list of package-descs.
12753 (package-install): If `pkg' is a package name, pass it as
12754 a requirement, so it is subject to the usual (e.g. disabled) checks.
12755 (describe-package): Accept package-desc as well.
12756 (describe-package-1): Describe a specific package-desc. Add links to
12757 other package-descs for the same package name.
12758 (package-menu-describe-package): Pass the actual package-desc.
12759 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12761 (package-desc-status): New function.
12762 (package-menu--refresh): New function, extracted
12763 from package-menu--generate.
12764 (package-menu--generate): Use it.
12765 (package-delete): Update package-alist.
12766 (package-menu-execute): Don't call package-initialize.
12768 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12769 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12770 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12771 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12772 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12773 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12775 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12777 * window.el (window--state-get-1): Workaround for bug#14527.
12778 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12780 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12782 * net/eww.el (eww-back-url): Implement the history by stashing all
12783 the data into a list.
12784 (eww-forward-url): Allow going forward in the history, too.
12786 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12788 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12789 for values and use read--expression for expressions (bug#14710).
12790 (read-file-local-variable): Avoid setq.
12791 (read-file-local-variable-mode): Use minor-mode-list.
12793 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12795 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12798 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12800 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12801 Update imenu-support when dialect changes.
12803 2013-06-25 Leo Liu <sdl.web@gmail.com>
12805 * ido.el (ido-read-internal): Allow forward slash on windows.
12807 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12809 * net/eww.el (eww): Start of strings is \\`, not ^.
12811 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12813 * net/shr.el (shr-browse-url): Fix interactive spec.
12815 * net/eww.el (eww): Add a trailing slash to domain names.
12817 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12819 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12821 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12823 * net/shr.el (shr-browse-url): Use an external browser if given a
12826 * net/eww.el (eww-external-browser): Move to shr.
12828 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12830 * net/eww.el (eww): Work more correctly for file: URLs.
12831 (eww-detect-charset): Allow quoted charsets.
12832 (eww-yank-page-url): New command and keystroke.
12834 2013-06-24 Daiki Ueno <ueno@gnu.org>
12836 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12837 file name of gpg executable.
12838 (epg-context-program): New function.
12839 (epg-context-home-directory): New function.
12840 (epg-context-set-program): New function.
12841 (epg-context-set-home-directory): New function.
12842 (epg--start): Use `epg-context-program' instead of
12844 (epg--list-keys-1): Likewise.
12846 2013-06-24 Leo Liu <sdl.web@gmail.com>
12848 * ido.el (ido-read-internal): Fix bug#14620.
12850 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12852 * faces.el (face-documentation): Simplify.
12853 (read-face-attribute, tty-find-type, x-resolve-font-name):
12854 Use `string-match-p'.
12855 (list-faces-display): Use `string-match-p'. Simplify.
12856 (face-spec-recalc): Check face to avoid face alias loops.
12857 (read-color): Use `string-match-p' and non-capturing parenthesis.
12859 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12861 * net/shr.el (shr-rescale-image): Use the new
12862 :max-width/:max-height functionality.
12864 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12866 * net/eww.el (eww-search-prefix): New variable.
12868 (eww-external-browser): New variable.
12869 (eww-mode-map): New keystroke.
12870 (eww-browse-with-external-browser): New command.
12872 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12874 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12876 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12877 Don't skip aligning the next header field when padding is 0;
12878 otherwise, field width is not respected unless the title is as
12881 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12883 * emacs-lisp/package.el (package-el-version): Remove.
12884 (package-process-define-package): Fix inf-loop.
12885 (package-install): Allow symbols as arguments again.
12887 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12890 add some more keyword-like methods.
12891 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12893 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12895 * bs.el (bs-buffer-show-mark): Make defvar-local.
12896 (bs-mode): Use setq-local.
12898 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12899 (emacs-lock--try-unlocking): Make defvar-local.
12901 2013-06-22 Glenn Morris <rgm@gnu.org>
12903 * play/cookie1.el (cookie-apropos): Minor simplification.
12905 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12907 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12909 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12910 `regexp-opt', it breaks the build during dumping.
12912 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12914 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12915 Highlight keyword-like methods on Kernel and Module with
12916 font-lock-builtin-face.
12917 (auto-mode-alist): Consolidate different entries into one regexp
12918 and add more *file-s.
12920 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12922 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12924 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12925 (diary-entry): Use it in the action of this button type instead of
12928 * calendar/todo-mode.el: New version.
12929 (todo-add-category): Append new category to end of file and give
12930 it the highest number, instead of putting it at the beginning and
12931 giving it 0. Incorporate noninteractive functionality.
12932 (todo-forward-category): Adapt to 1-based category numbering.
12933 Allow skipping over archived categories.
12934 (todo-backward-category): Derive from todo-forward-category.
12935 (todo-backward-item, todo-forward-item): Make noninteractive and
12936 delegate interactive part to new commands. Make sensitive to done items.
12937 (todo-categories): Make value an alist of category names and
12938 vectors of item counts.
12939 (todo-category-beg): Make a defconst.
12940 (todo-category-number): Use 1 instead of 0 as initial value.
12941 (todo-category-select): Make sensitive to overlays, optional item
12942 highlighting and done items.
12943 (todo-delete-item): Make sensitive to overlays and marked and done items.
12944 (todo-edit-item): Make sensitive to overlays and editing of
12945 date/time header optional. Add format checks.
12946 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12947 no-op if point is not on an item. Advertise using todo-edit-quit.
12948 (todo-edit-mode): Make sensitive to new format, font-locking, and
12949 multiple todo files.
12950 (todo-insert-item, todo-insert-item-here): Derive from
12951 todo-basic-insert-item and extend functionality.
12952 (todo-item-end, todo-item-start): Make sensitive to done items.
12953 (todo-item-string): Don't return text properties. Restore point.
12954 (todo-jump-to-category): Make sensitive to multiple todo files and
12955 todo archives. Use extended category completion.
12956 (todo-lower-item, todo-raise-item): Rename to *-priority and
12957 derive from todo-set-item-priority.
12958 (todo-mode): Derive from special-mode. Make sensitive to new
12959 format, font-locking and multiple todo files. Make read-only.
12960 (todo-mode-map): Don't suppress digit keys, so they can supply
12961 prefix arguments. Add many new key bindings.
12962 (todo-prefix): Insert as an overlay instead of file text.
12963 Change semantics from diary date expression to purely visual mark.
12964 (todo-print): Rename to todo-print-buffer. Make buffer display
12965 features printable. Remove option to restrict number of items
12966 printed. Add option to print to file.
12967 (todo-print-function): Rename to todo-print-buffer-function.
12968 (todo-quit): Extend to handle exiting new todo modes.
12969 (todo-remove-item): Make sensitive to overlays.
12970 (todo-save): Extend to buffers of filtered items.
12971 (todo-show): Make sensitive to done items, multiple todo files and
12972 new todo modes. Offer to convert legacy todo file before creating
12973 first new todo file.
12974 (todo-show-priorities): Rename to todo-top-priorities.
12975 Change semantics of value 0.
12976 (todo-top-priorities): Rename to todo-filter-top-priorities,
12977 derive from todo-filter-items and extend functionality.
12978 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12979 and extend functionality to other types of filtered items.
12980 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12981 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12982 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12983 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12984 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12985 (todo-edit-mode-hook, todo-entry-prefix-function)
12986 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12987 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12988 (todo-initials, todo-insert-threshold, todo-item-string-start)
12989 (todo-line-string, todo-menu, todo-mode-hook)
12990 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12991 (todo-print-priorities, todo-remove-separator)
12992 (todo-save-top-priorities-too, todo-string-count-lines)
12993 (todo-string-multiline-p, todo-time-string-format)
12994 (todo-tmp-buffer-name): Remove.
12995 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12996 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12997 (todo-edit-category-diary-inclusion)
12998 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12999 (todo-edit-file, todo-edit-item-date-day)
13000 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13001 (todo-edit-item-date-month, todo-edit-item-date-to-today)
13002 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13003 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13004 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13005 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13006 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13007 (todo-filter-top-priorities-multifile, todo-find-archive)
13008 (todo-find-filtered-items-file, todo-go-to-source-item)
13009 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13010 (todo-jump-to-archive-category, todo-lower-category)
13011 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13012 (todo-move-category, todo-move-item, todo-next-button)
13013 (todo-next-item, todo-padded-string, todo-powerset)
13014 (todo-previous-button, todo-previous-item)
13015 (todo-print-buffer-to-file, todo-raise-category)
13016 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13017 (todo-set-category-number, todo-set-item-priority)
13018 (todo-set-top-priorities-in-category)
13019 (todo-set-top-priorities-in-file, todo-show-categories-table)
13020 (todo-sort-categories-alphabetically-or-numerically)
13021 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13022 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13023 (todo-toggle-item-header, todo-toggle-item-highlighting)
13024 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13025 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13026 (todo-unarchive-items, todo-unmark-category): New commands.
13027 (todo-absolute-file-name, todo-add-to-buffer-list)
13028 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13029 (todo-basic-insert-item, todo-category-completions)
13030 (todo-category-number, todo-category-string-matcher-1)
13031 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13032 (todo-check-format, todo-clear-matches)
13033 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13034 (todo-current-category, todo-date-string-matcher)
13035 (todo-define-insertion-command, todo-diary-expired-matcher)
13036 (todo-diary-goto-entry, todo-diary-item-p)
13037 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13038 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13039 (todo-done-item-section-p, todo-done-separator)
13040 (todo-done-string-matcher, todo-files, todo-filter-items)
13041 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13042 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13043 (todo-insert-category-line, todo-insert-item-from-calendar)
13044 (todo-insert-sort-button, todo-insert-with-overlays)
13045 (todo-insertion-command-name, todo-insertion-key-bindings)
13046 (todo-label-to-key, todo-longest-category-name-length)
13047 (todo-make-categories-list, todo-mode-external-set)
13048 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13049 (todo-modes-set-3, todo-multiple-filter-files)
13050 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13051 (todo-read-category, todo-read-date, todo-read-dayname)
13052 (todo-read-file-name, todo-read-time)
13053 (todo-reevaluate-category-completions-files-defcustom)
13054 (todo-reevaluate-default-file-defcustom)
13055 (todo-reevaluate-filelist-defcustoms)
13056 (todo-reevaluate-filter-files-defcustom)
13057 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13058 (todo-reset-done-separator, todo-reset-done-separator-string)
13059 (todo-reset-done-string, todo-reset-global-current-todo-file)
13060 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13061 (todo-reset-prefix, todo-set-categories)
13062 (todo-set-date-from-calendar, todo-set-show-current-file)
13063 (todo-set-top-priorities, todo-short-file-name)
13064 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13065 (todo-total-item-counts, todo-update-buffer-list)
13066 (todo-update-categories-display, todo-update-categories-sexp)
13067 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13069 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13071 (todo-categories, todo-display, todo-edit, todo-faces)
13072 (todo-filtered): New defgroups.
13073 (todo-archived-only, todo-button, todo-category-string, todo-date)
13074 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13075 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13076 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13077 (todo-add-item-if-new-category, todo-always-add-time-string)
13078 (todo-categories-align, todo-categories-archived-label)
13079 (todo-categories-category-label, todo-categories-diary-label)
13080 (todo-categories-done-label, todo-categories-number-separator)
13081 (todo-categories-todo-label, todo-categories-totals-label)
13082 (todo-category-completions-files, todo-completion-ignore-case)
13083 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13084 (todo-done-separator-string, todo-done-string)
13085 (todo-files-function, todo-filter-done-items, todo-filter-files)
13086 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13087 (todo-initial-category, todo-initial-file, todo-item-mark)
13088 (todo-legacy-date-time-regexp, todo-mode-line-function)
13089 (todo-nondiary-marker, todo-number-prefix)
13090 (todo-print-buffer-function, todo-show-current-file)
13091 (todo-show-done-only, todo-show-first, todo-show-with-done)
13092 (todo-skip-archived-categories, todo-top-priorities-overrides)
13093 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13094 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13096 (todo-category-done, todo-date-pattern, todo-date-string-start)
13097 (todo-diary-items-buffer, todo-done-string-start)
13098 (todo-filtered-items-buffer, todo-item-start)
13099 (todo-month-abbrev-array, todo-month-name-array)
13100 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13101 (todo-top-priorities-buffer): New defconsts.
13102 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13103 (todo-categories-with-marks, todo-category-string-face)
13104 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13105 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13106 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13107 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13108 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13109 (todo-font-lock-keywords, todo-global-current-todo-file)
13110 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13111 (todo-insertion-commands-args)
13112 (todo-insertion-commands-args-genlist)
13113 (todo-insertion-commands-names, todo-insertion-map)
13114 (todo-key-bindings-t, todo-key-bindings-t+a)
13115 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13116 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13117 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13118 (todo-visited): New variables.
13120 2013-06-21 Glenn Morris <rgm@gnu.org>
13122 * play/cookie1.el (cookie-apropos): Add optional display argument.
13123 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13124 (psychoanalyze-pinhead): Use cookie-doctor.
13126 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13128 * emacs-lisp/package.el (tar-get-file-descriptor)
13129 (tar--extract): Declare.
13131 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13133 Extend flymake's warning predicate to be a function (bug#14217).
13134 * progmodes/flymake.el (flymake-warning-predicate): New.
13135 (flymake-parse-line): Use it.
13136 (flymake-warning-re): Make obsolete alias to
13137 `flymake-warning-predicate'.
13139 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13141 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13142 (package-obsolete-list): Remove.
13143 (package-activate): Remove min-version argument. Add `force' argument.
13144 Adjust to new package-alist format.
13145 (package-mark-obsolete): Remove.
13146 (package-unpack): Force reload of the package's autoloads.
13147 (package-installed-p): Check builtins if the installed package is not
13149 (package-initialize): Don't reset package-obsolete-list.
13150 Don't specify which package version to activate.
13151 (package-process-define-package, describe-package-1)
13152 (package-menu--generate): Adjust to new package-alist format.
13154 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13156 * allout-widgets.el (allout-widgets-mode-off)
13157 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13158 (allout-widgets-post-command-business)
13159 (allout-widgets-after-copy-or-kill-function)
13160 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13161 (allout-decorate-item-and-context)
13162 (allout-graphics-modification-handler): Fix typos in docstrings.
13163 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13165 * cmuscheme.el (scheme-start-file): Doc fix.
13166 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13167 (scheme-input-filter): Use `string-match-p'.
13169 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13171 * dired-x.el: Use Dired consistently in docstrings.
13173 * dired.el: Use Dired consistently in docstrings.
13174 (dired-readin, dired-mode): Use `setq-local'.
13175 (dired-switches-alist): Make defvar-local.
13176 (dired-buffers-for-dir): Use `zerop'.
13177 (dired-safe-switches-p, dired-switches-escape-p)
13178 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13179 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13180 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13181 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13182 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13183 (dired-toggle-marks, dired-mark-files-containing-regexp)
13184 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13185 (dired-flag-auto-save-files, dired-flag-backup-files):
13186 Use `looking-at-p'.
13187 (dired-mark-files-regexp, dired-build-subdir-alist):
13188 Use `string-match-p', `looking-at-p'.
13190 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13191 (direct-print-region-helper): Use `string-match-p'.
13193 2013-06-21 Leo Liu <sdl.web@gmail.com>
13195 * comint.el (comint-redirect-results-list-from-process):
13198 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13200 * net/eww.el (eww-update-header-line-format): Quote % characters.
13202 2013-06-21 Glenn Morris <rgm@gnu.org>
13204 * play/cookie1.el (cookie): New custom group.
13205 (cookie-file): New option.
13206 (cookie-check-file): New function.
13207 (cookie): Make it interactive. Make start and end messages optional.
13208 Interactively, display the result. Default to cookie-file.
13209 (cookie-insert): Default to cookie-file.
13210 (cookie-snarf): Make start and end messages optional.
13211 Default to cookie-file. Use with-temp-buffer.
13212 (cookie-read): Rename from read-cookie.
13213 Make start and end messages optional. Default to cookie-file.
13214 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13215 Do not autoload it.
13216 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13217 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13219 2013-06-21 Leo Liu <sdl.web@gmail.com>
13221 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13223 2013-06-21 Glenn Morris <rgm@gnu.org>
13225 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13227 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13228 Daniel Hackney <dan@haxney.org>
13230 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13231 Consolidate the single-file vs tarball code.
13232 (package-desc-suffix): New function.
13233 (package-desc-full-name): Don't bother inlining it.
13234 (package-load-descriptor): Return the new package-desc.
13235 (package-mark-obsolete): Remove unused arg `package'.
13236 (package-unpack): Make it work for single files as well.
13237 Make it update package-alist.
13238 (package--make-autoloads-and-stuff): Rename from
13239 package--make-autoloads-and-compile. Don't compile any more.
13240 (package--compile): New function.
13241 (package-generate-description-file): New function, extracted from
13242 package-unpack-single.
13243 (package-unpack-single): Remove.
13244 (package--with-work-buffer): Add indentation and debugging info.
13245 (package-download-single): Remove.
13246 (package-install-from-archive): Rename from package-download-tar, make
13247 it take a pkg-desc, and make it work for single files as well.
13248 (package-download-transaction): Simplify.
13249 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13250 external tar program.
13251 (package-install-from-buffer): Remove `pkg-desc' argument.
13252 Use package-tar-file-info for tar-mode buffers.
13253 (package-install-file): Simplify accordingly.
13254 (package-archive-base): Change to take a pkg-desc.
13255 * tar-mode.el (tar--check-descriptor): New function, extracted from
13256 tar-get-descriptor.
13257 (tar-get-descriptor): Use it.
13258 (tar-get-file-descriptor): New function.
13259 (tar--extract): New function, extracted from tar-extract.
13260 (tar--extract): Use it.
13261 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13262 case the summary uses non-ascii. Adjust to new calling convention of
13263 package-tar-file-info.
13265 2013-06-21 Leo Liu <sdl.web@gmail.com>
13267 * comint.el (comint-redirect-results-list-from-process):
13268 Fix random delay. (Bug#14681)
13270 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13272 * profiler.el (profiler-format-number): Use log, not log10.
13274 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13276 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13278 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13280 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13281 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13283 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13284 (AUTOGENEL): ... here.
13285 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13286 (cl--defsubst-expand): Use it.
13288 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13290 * subr.el (log10): Move here from C code, and declare as obsolete.
13291 All uses of (log10 X) replaced with (log X 10).
13293 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13295 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13296 Declare with `defvar-local'.
13297 (tabulated-list-use-header-line, tabulated-list-entries)
13298 (tabulated-list-padding, tabulated-list-printer)
13299 (tabulated-list-sort-key): Declare with `defvar-local'.
13300 (tabulated-list-init-header, tabulated-list-print-fake-header):
13303 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13305 * arc-mode.el (archive-mode): Add `archive-write-file' to
13306 `write-contents-functions' also for remote files. (Bug#14652)
13308 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13310 * cus-edit.el (custom-commands): Fix typos.
13311 (custom-display): Fix tooltip text.
13312 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13313 Fix typos in docstrings.
13314 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13315 (custom-unlispify-menu-entry, custom-magic-value-create)
13316 (custom-add-see-also, custom-group-value-create): Use ?\s.
13317 (custom-guess-type, customize-apropos, editable-field)
13318 (custom-face-value-create): Use `string-match-p'.
13319 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13321 * custom.el (custom-load-symbol): Use `string-match-p'.
13323 * ansi-color.el: Convert to lexical binding.
13324 (ansi-colors): Fix URL.
13325 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13326 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13327 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13329 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13331 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13333 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13335 2013-06-19 Tom Tromey <tromey@redhat.com>
13337 * net/eww.el (eww-top-url): Remove.
13338 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13339 (eww-render): Set new variables. Don't set eww-top-url.
13340 (eww-handle-link): Handle "prev", "home", and "contents".
13341 Downcase the rel text.
13342 (eww-top-url): Choose best top URL.
13344 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13346 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13347 relying in widget.el. Using widget.el leads to too many
13348 user interface inconsistencies.
13349 (eww-self-insert): Implement entering commands in text fields.
13350 (eww-process-text-input): New function to make text input field editing
13352 (eww-submit): Rewrite to use the new-style form methods.
13353 (eww-select-display): Display the correct selected item.
13354 (eww-change-select): Implement changing the select value.
13355 (eww-toggle-checkbox): Implement radio/checkboxes.
13356 (eww-update-field): Fix compilation error.
13357 (eww-tag-textarea): Implement <textarea>.
13359 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13360 we don't shadow mode-specific bindings.
13362 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13365 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13367 2013-06-19 Glenn Morris <rgm@gnu.org>
13369 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13371 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13373 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13376 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13378 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13380 * net/browse-url.el (browse-url-browser-function):
13381 `eww-browse-url' has the right calling signature, `eww' does not.
13383 2013-06-19 Glenn Morris <rgm@gnu.org>
13385 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13386 Only eval autoloaded macros.
13387 (byte-compile-autoload): Only give the macro warning for macros.
13389 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13390 (ps-underlined-faces): Declare.
13392 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13393 (speedbar-add-supported-extension): Declare.
13395 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13396 Don't include a date stamp in the header of the generated file;
13397 it leads to needless differences between output files.
13399 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13401 * net/secrets.el (secrets-struct-secret-content-type):
13402 Replace check of introspection data by a test call of "CreateItem".
13403 Some servers do not offer introspection.
13405 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * electric.el (electric-pair-mode): Improve interaction with
13408 electric-layout-mode.
13409 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13410 (electric-pair-syntax): Use text-mode-syntax-table in comments
13412 (electric-pair--insert): New function.
13413 (electric-pair-post-self-insert-function): Use it and
13414 electric--after-char-pos.
13416 2013-06-19 Leo Liu <sdl.web@gmail.com>
13418 * progmodes/octave.el (octave-help): Fix regexp.
13420 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13422 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13423 (shr-table-horizontal-line): Allow nil as a value, and change the
13425 (shr-insert-table-ruler): Respect the nil value.
13427 2013-06-18 Tom Tromey <tromey@barimba>
13429 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13431 (eww-open-file): New defun.
13432 (eww-render): Initialize new variables.
13433 (eww-display-html): Handle "link" and "a".
13434 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13435 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13436 (eww-back-url): Rename from eww-previous-url.
13437 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13440 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13442 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13443 Distinguish ternary operator tokens from slash symbol and slash
13446 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13448 Convert symbol prettification into minor mode and global minor mode.
13450 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13451 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13452 (prettify-symbols--keywords): Rename from
13453 `prog-prettify-symbols-alist' and make a local defvar.
13454 (prettify-symbols--compose-symbol): Rename from
13455 `prog--prettify-font-lock-compose-symbol'.
13456 (prettify-symbols--make-keywords): Rename from
13457 `prog-prettify-font-lock-symbols-keywords' and simplify.
13458 (prog-prettify-install): Remove.
13459 (prettify-symbols-mode): New minor mode, based on
13460 `prog-prettify-install'.
13461 (turn-on-prettify-symbols-mode): New function.
13462 (global-prettify-symbols-mode): New globalized minor mode.
13464 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13465 * progmodes/cfengine.el (cfengine3-mode):
13466 * progmodes/perl-mode.el (perl-mode): Don't call
13467 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13469 2013-06-18 Juri Linkov <juri@jurta.org>
13471 * files-x.el (modify-file-local-variable-message): New function.
13472 (modify-file-local-variable)
13473 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13474 and call `modify-file-local-variable-message' when it's non-nil.
13475 (add-file-local-variable, delete-file-local-variable)
13476 (add-file-local-variable-prop-line)
13477 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13478 and use it. (Bug#9820)
13480 2013-06-18 Juri Linkov <juri@jurta.org>
13482 * emulation/vi.el (vi-shell-op):
13483 * emulation/vip.el (vip-execute-com, ex-command):
13484 * emulation/viper-cmd.el (viper-exec-bang):
13485 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13486 the call of `shell-command-on-region'. (Bug#14637)
13488 * simple.el (shell-command-on-region): Doc fix.
13490 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13492 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13495 2013-06-18 Glenn Morris <rgm@gnu.org>
13497 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13499 * newcomment.el (comment-search-forward, comment-search-backward):
13500 Doc fix. (Bug#14376)
13502 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13504 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13505 (buffer-face-mode-invoke): Doc fix.
13507 2013-06-18 Matthias Meulien <orontee@gmail.com>
13509 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13510 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13512 2013-06-18 Glenn Morris <rgm@gnu.org>
13514 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13515 Replace obsolete function generic-make-keywords with its expansion.
13517 * progmodes/python.el (ffap-alist): Declare.
13519 * textmodes/reftex.el (bibtex-mode-map): Declare.
13521 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13523 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13524 (package-unpack, package-unpack-single): Return the pkg-dir.
13525 (package-download-transaction): Use it to update package-alist.
13527 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13529 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13532 2013-06-17 Juri Linkov <juri@jurta.org>
13534 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13536 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13538 * emacs-lisp/package.el (package-load-descriptor):
13539 Remove `with-syntax-table' call, `read' doesn't need it.
13540 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13542 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13544 * startup.el (command-line): Expand package name returned by
13545 `package--description-file' (bug#14639).
13547 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13549 * emacs-lisp/package.el (package-load-descriptor): Do not call
13550 `emacs-lisp-mode', just use its syntax table.
13552 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13554 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13555 `font-lock-extra-managed-props' if any prettifying keyword is added.
13556 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13557 (prog-mode): Use `setq-local'.
13559 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13561 * international/characters.el (standard-case-table): Set syntax of ?»
13562 and ?« to punctuation.
13564 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13566 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13567 Save relevant match data before calling `syntax-ppss' (bug#14595).
13569 2013-06-15 Juri Linkov <juri@jurta.org>
13571 * files-x.el (modify-file-local-variable-prop-line): Add local
13572 variables to the end of the existing comment on the first line.
13573 Use `file-auto-mode-skip' to skip interpreter magic line,
13574 and also skip XML declaration.
13576 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13578 * startup.el (package--builtin-versions): New var.
13579 (package-subdirectory-regexp): Remove.
13580 (package--description-file): Hard code its value instead.
13582 * emacs-lisp/package.el: Don't activate packages older than builtin.
13583 (package-obsolete-list): Rename from package-obsolete-alist, and make
13584 it into a simple list of package-desc.
13585 (package-strip-version): Remove.
13586 (package-built-in-p): Use package--builtin-versions.
13587 (package-mark-obsolete): Simplify.
13588 (package-process-define-package): Mark it obsolete if older than the
13590 (package-handle-response): Use line-end-position.
13591 (package-read-archive-contents, package--download-one-archive):
13593 (package--add-to-archive-contents): Skip if older than the builtin or
13595 (package-menu-describe-package): Fix last change.
13596 (package-list-unversioned): New var.
13597 (package-menu--generate): Use it.
13599 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13600 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13601 (autoload-builtin-package-versions): New variable.
13602 (autoload-generate-file-autoloads): Use them.
13603 Remove the list of autoloaded functions/macros from the
13604 (autoload...) comments.
13606 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13608 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13610 * simple.el (line-move-partial): Don't jump to the next screen
13611 line as soon as it becomes visible. Instead, continue enlarging
13612 the vscroll until the portion of a tall screen line that's left on
13613 display is about the height of the frame's default font.
13616 2013-06-15 Glenn Morris <rgm@gnu.org>
13618 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13619 compilation-error-regexp-alist void, or local while let-bound.
13621 * progmodes/make-mode.el (makefile-mode-syntax-table):
13622 Treat "=" as punctuation. (Bug#14614)
13624 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13626 * help-fns.el (describe-variable):
13627 Add extra line for permanent-local variables.
13629 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13631 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13632 Add export, import, library. (Bug#9164)
13633 (library): Set indent function.
13635 2013-06-14 Glenn Morris <rgm@gnu.org>
13637 * term/xterm.el (xterm--query):
13638 Stop after first matching handler. (Bug#14615)
13640 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13642 Add support for dired in saveplace.
13643 * dired.el (dired-initial-position-hook): New variable.
13644 (dired-initial-position): Call hook to place cursor position.
13645 * saveplace.el (save-place-to-alist): Add dired position.
13646 (save-place-dired-hook): New function.
13648 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13650 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13651 through a symbol rather than letrec.
13653 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13654 (package-desc): Add `dir' field.
13655 (package-desc-full-name): New function.
13656 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13657 (package-maybe-load-descriptor): Remove.
13658 (package-load-all-descriptors): Just call package-load-descriptor.
13659 (package--disabled-p): New function.
13660 (package-desc-vers, package-desc-doc): Remove aliases.
13661 (package--dir): Remove function.
13662 (package-activate): Check if a package is disabled.
13663 (package-process-define-package): New function, extracted from
13665 (define-package): Turn into a place holder.
13666 (package-unpack-single, package-tar-file-info):
13667 Use package--description-file.
13668 (package-compute-transaction): Use package--disabled-p.
13669 (package-download-transaction): Don't call
13670 package-maybe-load-descriptor since they're all loaded anyway.
13671 (package-install): Change argument to be a pkg-desc.
13672 (package-delete): Use a single pkg-desc argument.
13673 (describe-package-1): Use package-desc-dir instead of package--dir.
13674 Use package-desc property instead of package-symbol.
13675 (package-install-button-action): Adjust accordingly.
13676 (package--push): Rewrite.
13677 (package-menu--print-info): Adjust accordingly. Change the ID format
13679 (package-menu-describe-package, package-menu-get-status)
13680 (package-menu--find-upgrades, package-menu-mark-upgrades)
13681 (package-menu-execute, package-menu--name-predicate):
13682 Adjust accordingly.
13683 * startup.el (package--description-file): New function.
13684 (command-line): Use it.
13685 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13686 Use package-desc-version.
13688 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13689 (byte-compile-preprocess): Use it.
13690 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13691 can't quite recognize.
13692 (byte-compile-add-to-list): Remove.
13693 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13694 (cconv-closure-convert): Add assertion.
13696 * emacs-lisp/map-ynp.el: Use lexical-binding.
13697 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13698 Factor out some repeated code.
13700 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13702 * subr.el (with-eval-after-load): New macro.
13703 (eval-after-load): Allow form to be a function.
13704 take advantage of lexical-binding.
13705 (do-after-load-evaluation): Use dolist and adjust to new format.
13706 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13708 2013-06-13 Juri Linkov <juri@jurta.org>
13710 * replace.el (perform-replace): Display "symbol " and other search
13711 modes from `isearch-message-prefix' in the *Help* buffer.
13713 * isearch.el (isearch-query-replace): Add " symbol" and other
13714 possible search modes from `isearch-message-prefix' to the prompt.
13715 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13716 when reading a regexp to collect.
13718 2013-06-13 Juri Linkov <juri@jurta.org>
13720 * isearch.el (word-search-regexp): Match whitespace if the search
13721 string begins or ends in whitespace. The LAX arg is applied to
13722 both ends of the search string. Use `regexp-quote' and explicit
13723 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13724 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13725 boundaries are replaced with symbol boundaries, and characters
13726 between symbols match non-word non-symbol syntax. (Bug#14602)
13728 2013-06-13 Juri Linkov <juri@jurta.org>
13730 * isearch.el (isearch-del-char): Don't exceed the length of
13731 `isearch-string' by the prefix arg. (Bug#14563)
13733 2013-06-13 Juri Linkov <juri@jurta.org>
13735 * isearch.el (isearch-yank-word, isearch-yank-line)
13736 (isearch-char-by-name, isearch-quote-char)
13737 (isearch-printing-char, isearch-process-search-char):
13738 Add optional count prefix arg. (Bug#14563)
13740 * international/isearch-x.el
13741 (isearch-process-search-multibyte-characters):
13742 Add optional count prefix arg.
13744 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13746 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13747 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13750 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13752 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13754 2013-06-13 Glenn Morris <rgm@gnu.org>
13756 * startup.el (tty-handle-args):
13757 Don't just discard "--" and anything after. (Bug#14608)
13759 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13761 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13763 Implement changes in Secret Service API. Make it backward compatible.
13764 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13765 (secrets-create-item): Use it. Prefix properties with interface.
13767 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13769 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13770 (term-emulate-terminal): Respect term-suppress-hard-newline.
13772 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13774 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13775 Only remove a `thumb-file' overlay. (Bug#14548)
13777 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13779 * mail/reporter.el (reporter-submit-bug-report):
13780 Handle missing package-name. (Bug#14600)
13782 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13784 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13785 (reftex-citation-prompt, reftex-default-bibliography)
13786 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13787 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13788 (reftex-bib-sort-author, reftex-bib-sort-year)
13789 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13790 (reftex-extract-bib-entries-from-thebibliography)
13791 (reftex-get-bibkey-default, reftex-get-bib-names)
13792 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13793 (reftex-format-bib-entry, reftex-parse-bibitem)
13794 (reftex-format-bibitem, reftex-do-citation)
13795 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13796 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13797 (reftex-insert-bib-matches, reftex-format-citation)
13798 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13799 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13800 existing comments into docstrings.
13802 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13804 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13806 2013-06-12 Andreas Schwab <schwab@suse.de>
13808 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13809 for auto-save files.
13811 2013-06-12 Glenn Morris <rgm@gnu.org>
13813 * ido.el (ido-delete-ignored-files): Remove.
13814 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13815 Go back to calling ido-ignore-item-p directly.
13817 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13819 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13821 * ido.el (ido-delete-ignored-files): New function,
13822 split from ido-make-file-list-1.
13823 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13824 (ido-make-file-list-1): Use ido-delete-ignored-files.
13826 2013-06-12 Leo Liu <sdl.web@gmail.com>
13828 * progmodes/octave.el (inferior-octave-startup)
13829 (inferior-octave-completion-table)
13830 (inferior-octave-track-window-width-change)
13831 (octave-eldoc-function-signatures, octave-help)
13832 (octave-find-definition): Use single quoted strings.
13833 (inferior-octave-startup-args): Change default value.
13834 (inferior-octave-startup): Do not hard code "-i" and
13835 "--no-line-editing".
13836 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13837 (inferior-octave-directory-tracker): Use it.
13838 (octave-goto-function-definition): Robustify.
13839 (octave-help): Support highlighting operators in 'See also'.
13840 (octave-find-definition): Find subfunctions only in Octave mode.
13842 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13844 * help-fns.el (help-fns--compiler-macro): If the handler function is
13845 named, then put a link to it.
13846 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13847 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13848 (cl-typep): Use it.
13849 (cl-eval-when): Simplify debug spec.
13850 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13851 compiler-macro function instead of setting `compiler-macro-file'.
13853 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13855 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13856 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13858 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13859 Daniel Hackney <dan@haxney.org>
13861 First part of Daniel Hackney's patch to package.el.
13862 * emacs-lisp/package.el: Use defstruct.
13863 (package-desc): New, main struct.
13864 (package--bi-desc, package--ac-desc): New structs, used to describe the
13865 format in external files.
13866 (package-desc-vers): Replace with package-desc-version accessor.
13867 (package-desc-doc): Replace with package-desc-summary accessor.
13868 (package-activate-1): Remove `package' arg since the pkg-vec now
13870 (define-package): Use package-desc-from-define.
13871 (package-unpack-single): Change file-name arg to be a symbol.
13872 (package--add-to-archive-contents): Use package-desc-create and new
13873 accessor functions to package--ac-desc.
13874 (package-buffer-info, package-tar-file-info): Return a package-desc.
13875 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13876 arg to be a package-desc.
13877 (package-install-file): Adjust accordingly. Use \' to match EOS.
13878 (package--from-builtin): New function.
13879 (describe-package-1, package-menu--generate): Use it.
13880 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13881 (package-generate-autoloads): Idem and return the name of the file.
13882 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13883 Change pkg-info arg to be a package-desc.
13884 Use package-make-ac-desc.
13885 (package-upload-file): Use \' to match EOS.
13886 * finder.el (finder-compile-keywords): Use package-make-builtin.
13888 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13890 * vc/vc.el (vc-deduce-fileset): Change error message.
13891 (vc-read-backend): New function.
13892 (vc-next-action): Use it.
13894 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13896 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13897 (prolog-font-lock-keywords): Use regexp-opt instead.
13898 Don't manually highlight strings.
13899 (prolog-mode-variables): Simplify comment-start-skip.
13900 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13902 * emacs-lisp/generic.el (generic--normalise-comments)
13903 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13904 (generic-mode-set-comments): Use them.
13905 (generic-bracket-support): Use setq-local.
13906 (generic-make-keywords-list): Declare obsolete.
13908 2013-06-11 Glenn Morris <rgm@gnu.org>
13910 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13911 Prettify after setting font-lock-defaults. (Bug#14574)
13913 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13915 * replace.el (query-replace, occur-read-regexp-defaults-function)
13917 * subr.el (declare-function, number-sequence, local-set-key)
13918 (substitute-key-definition, locate-user-emacs-file)
13919 (with-silent-modifications, split-string, eval-after-load):
13920 Fix typos, remove unneeded backslashes and reflow some docstrings.
13922 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13924 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13925 default for Elisp files.
13927 2013-06-11 Glenn Morris <rgm@gnu.org>
13929 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13930 although define-derived-mode was doing this anyway. (Bug#14583)
13932 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13934 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13935 Fix make-variable-buffer-local call to refer to the correct variable.
13937 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13939 * eshell/em-term.el (eshell-visual-commands)
13940 (eshell-visual-subcommands, eshell-visual-options):
13941 Add summary line to docstrings. Add cross-references.
13943 2013-06-10 Glenn Morris <rgm@gnu.org>
13945 * epa.el (epa-read-file-name): New function. (Bug#14510)
13946 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13948 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13950 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13951 output redirection to be ignored with visual commands.
13953 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13955 * eshell/em-term.el (eshell-visual-command-p): New function.
13956 (eshell-term-initialize): Move long lambda to separate function
13957 eshell-visual-command-p.
13958 * eshell/em-dirs.el (eshell-dirs-initialize):
13959 * eshell/em-script.el (eshell-script-initialize):
13960 Add missing #' to lambda.
13962 2013-06-08 Leo Liu <sdl.web@gmail.com>
13964 * progmodes/octave.el (octave-add-log-current-defun): New function.
13965 (octave-mode): Set add-log-current-defun-function.
13966 (octave-goto-function-definition): Do not move point if not found.
13967 (octave-find-definition): Enhance to try subfunctions first.
13969 2013-06-08 Glenn Morris <rgm@gnu.org>
13971 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13972 (byte-compile-backward-char, byte-compile-backward-word):
13973 Improve previous change, to handle non-explicit nil.
13975 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13977 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13978 (smie--opener/closer-at-point): New function.
13979 (smie--matching-block-data): Use it. Don't match from right after an
13980 opener or right before a closer. Obey smie-blink-matching-inners.
13981 Don't signal a mismatch for repeated inners like "switch..case..case".
13983 2013-06-07 Leo Liu <sdl.web@gmail.com>
13985 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13987 (octave-function-header-regexp): Fix. (Bug#14570)
13988 (octave-help-mode-finish-hook, octave-help-mode-finish):
13989 Remove. Just use temp-buffer-show-hook.
13991 * newcomment.el (comment-search-backward): Revert last change.
13994 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13996 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13998 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13999 through xargs, to avoid failure due to MS-Windows limitations on
14000 command-line length.
14002 2013-06-06 Glenn Morris <rgm@gnu.org>
14004 * font-lock.el (lisp-font-lock-keywords-2):
14005 Treat user-error like error.
14007 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14008 (byte-compile-backward-char, byte-compile-backward-word):
14009 Handle explicit nil arguments. (Bug#14565)
14011 2013-06-05 Alan Mackenzie <acm@muc.de>
14013 * isearch.el (isearch-allow-prefix): New user option.
14014 (isearch-other-meta-char): Don't exit isearch when a prefix
14015 argument is typed whilst `isearch-allow-prefix' is non-nil.
14018 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14020 * autorevert.el (auto-revert-notify-handler): Use memq.
14021 Hide assertion failure.
14023 * skeleton.el: Use cl-lib.
14024 (skeleton-further-elements): Use defvar-local.
14025 (skeleton-insert): Use cl-progv.
14027 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14029 * progmodes/prog-mode.el (prog-prettify-symbols)
14030 (prog-prettify-install): Update docstrings.
14032 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14034 * simple.el: Move all the prog-mode code to prog-mode.el.
14035 * progmodes/prog-mode.el: New file.
14036 * loadup.el: Add prog-mode.el.
14038 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14040 * simple.el (prog-prettify-symbols): Add version.
14041 (prog-prettify-install): Add convenience function to prettify symbols.
14043 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14044 (perl--augmented-font-lock-keywords-1)
14045 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14046 variables and use it.
14048 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14049 (cfengine3-mode): Remove unneeded variable and use it.
14051 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14052 (lisp--augmented-font-lock-keywords-1)
14053 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14054 Remove unneeded variables and use it.
14056 2013-06-05 João Távora <joaotavora@gmail.com>
14058 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14059 to point when opening the connection. (Bug#14380)
14061 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14063 * subr.el (load-history-regexp, load-history-filename-element)
14064 (eval-after-load, after-load-functions, do-after-load-evaluation)
14065 (eval-next-after-load, display-delayed-warnings)
14066 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14067 definition of save-match-data.
14068 (overriding-local-map): Remove accidental obsolescence declaration.
14070 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14072 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14074 Generalize symbol prettify support to prog-mode and implement it
14075 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14076 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14077 (prog--prettify-font-lock-compose-symbol)
14078 (prog-prettify-font-lock-symbols-keywords): New variables and
14079 functions to support symbol prettification.
14080 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14081 (lisp--augmented-font-lock-keywords-1)
14082 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14083 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14084 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14085 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14086 Implement prettify of -> => :: strings.
14087 * progmodes/perl-mode.el (perl-prettify-symbols)
14088 (perl--font-lock-compose-symbol)
14089 (perl--font-lock-symbols-keywords): Move to prog-mode.
14090 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14091 (perl-font-lock-keywords-1)
14092 (perl-font-lock-keywords-2): Remove explicit prettify support.
14093 (perl--augmented-font-lock-keywords)
14094 (perl--augmented-font-lock-keywords-1)
14095 (perl--augmented-font-lock-keywords-2, perl-mode):
14096 Implement prettify support.
14098 2013-06-05 Leo Liu <sdl.web@gmail.com>
14100 Re-implement SMIE matching block highlight using
14101 show-paren-data-function. (Bug#14395)
14102 * emacs-lisp/smie.el (smie-matching-block-highlight)
14103 (smie--highlight-matching-block-overlay)
14104 (smie--highlight-matching-block-lastpos)
14105 (smie-highlight-matching-block)
14106 (smie-highlight-matching-block-mode): Remove.
14107 (smie--matching-block-data-cache): New variable.
14108 (smie--matching-block-data): New function.
14109 (smie-setup): Use smie--matching-block-data for
14110 show-paren-data-function.
14112 * progmodes/octave.el (octave-mode-menu): Fix.
14113 (octave-find-definition): Skip garbage lines.
14115 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14117 Fix compilation error with simultaneous dynamic+lexical scoping.
14118 Add warning when a defvar appears after the first let-binding.
14119 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14120 (byte-compile-close-variables): Initialize it.
14121 (byte-compile--declare-var): New function.
14122 (byte-compile-file-form-defvar)
14123 (byte-compile-file-form-define-abbrev-table)
14124 (byte-compile-file-form-custom-declare-variable): Use it.
14125 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14126 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14127 (byte-compile-bind): Handle dynamic bindings that shadow
14129 (byte-compile-unbind): Make arg non-optional.
14130 (byte-compile-let): Simplify.
14131 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14132 (cconv--analyse-function, cconv-analyse-form): Populate it.
14133 Protect byte-compile-bound-variables to limit the scope of defvars.
14134 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14135 Remove unneeded rule for `declare'.
14137 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14138 so as to avoid depending on cl-adjoin at run-time.
14139 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14141 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14142 (macroexp--warn-and-return): Use it.
14144 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14146 * subr.el: Convert to lexical binding.
14147 (overriding-local-map): Make obsolete.
14148 (add-to-list): Doc fix. Add compiler macro.
14149 (read-key): Swap values of local maps.
14151 2013-06-05 Leo Liu <sdl.web@gmail.com>
14153 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14155 2013-06-04 Leo Liu <sdl.web@gmail.com>
14157 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14158 (compilation-auto-jump): Suppress the "Mark set" message to give
14159 way to exit message.
14161 2013-06-04 Alan Mackenzie <acm@muc.de>
14163 Remove faulty optimisation from indentation calculation.
14164 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14165 search limit based on 2000 characters back from indent-point.
14167 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14169 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14171 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14173 * emacs-lisp/lisp.el: Use lexical-binding.
14174 (lisp--local-variables-1, lisp--local-variables): New functions.
14175 (lisp--local-variables-completion-table): New var.
14176 (lisp-completion-at-point): Use it complete let-bound vars.
14178 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14179 eagerly (bug#14422).
14181 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14183 * autorevert.el (auto-revert-notify-enabled)
14184 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14185 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14186 (auto-revert-notify-handler): Handle also gfilenotify.
14188 * subr.el (file-notify-handle-event): New defun. Replacing ...
14189 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14192 2013-06-03 Juri Linkov <juri@jurta.org>
14194 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14195 `M-s h .'. (Bug#14427)
14197 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14198 command `hi-lock-face-symbol-at-point'.
14199 (hi-lock-face-symbol-at-point): New command.
14200 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14201 (hi-lock-menu): Add `highlight-symbol-at-point'.
14202 (hi-lock-mode): Doc fix.
14204 * isearch.el (isearch-forward-symbol-at-point): New command.
14205 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14206 (isearch-highlight-regexp): Add a regexp which matches
14207 words/symbols for word/symbol mode.
14209 * subr.el (find-tag-default-bounds): New function with the body
14210 mostly moved from `find-tag-default'.
14211 (find-tag-default): Move most code to `find-tag-default-bounds',
14212 call it and apply `buffer-substring-no-properties' afterwards.
14214 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14216 * eshell/em-term.el (eshell-term-initialize):
14217 Use `cl-intersection' rather than `intersection'.
14219 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14221 * vc/log-view.el: Doc fix.
14222 (log-view-mode-map): Copy keymap from `special-mode-map'.
14224 2013-06-02 Eric Ludlam <zappo@gnu.org>
14226 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14227 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14228 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14229 (eieio-unbound, eieio-default-superclass)
14230 (eieio--define-field-accessors, method-static, method-before)
14231 (method-primary, method-after, method-num-lists)
14232 (method-generic-before, method-generic-primary)
14233 (method-generic-after, method-num-slots)
14234 (eieio-specialized-key-to-generic-key)
14235 (eieio--check-type, class-v, class-p)
14236 (eieio-class-name, define-obsolete-function-alias)
14237 (eieio-class-parents-fast, eieio-class-children-fast)
14238 (same-class-fast-p, class-constructor, generic-p)
14239 (generic-primary-only-p, generic-primary-only-one-p)
14240 (class-option-assoc, class-option, eieio-object-p)
14241 (class-abstract-p, class-method-invocation-order)
14242 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14243 (eieio-class-un-autoload, eieio-defclass)
14244 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14245 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14246 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14247 (eieio-defgeneric-reset-generic-form)
14248 (eieio-defgeneric-form-primary-only)
14249 (eieio-defgeneric-reset-generic-form-primary-only)
14250 (eieio-defgeneric-form-primary-only-one)
14251 (eieio-defgeneric-reset-generic-form-primary-only-one)
14252 (eieio-unbind-method-implementations)
14253 (eieio--defmethod, eieio--typep)
14254 (eieio-perform-slot-validation, eieio-validate-slot-value)
14255 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14256 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14257 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14258 (eieio-slot-name-index, eieio-class-slot-name-index)
14259 (eieio-set-defaults, eieio-initarg-to-attribute)
14260 (eieio-attribute-to-initarg, eieio-c3-candidate)
14261 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14262 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14263 (eieio-class-precedence-list, eieio-generic-call-methodname)
14264 (eieio-generic-call-arglst, eieio-generic-call-key)
14265 (eieio-generic-call-next-method-list)
14266 (eieio-pre-method-execution-functions, eieio-generic-call)
14267 (eieio-generic-call-primary-only, eieiomt-method-list)
14268 (eieiomt-optimizing-obarray, eieiomt-install)
14269 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14270 (eieio-generic-form, eieio-defmethod, make-obsolete)
14271 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14272 (defclass): Remove `eval-and-compile' from macro.
14273 (call-next-method, shared-initialize): Instead of using
14274 `scoped-class' variable, use new eieio--scoped-class, and
14275 eieio--with-scoped-class.
14276 (initialize-instance): Rename local variable 'scoped-class' to
14277 'this-class' to remove ambiguitity from old global.
14279 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14281 (eieio--scoped-class-stack): New variable.
14282 (eieio--scoped-class): New fcn.
14283 (eieio--with-scoped-class): New scoping macro.
14284 (eieio-defclass): Use pushnew instead of add-to-list.
14285 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14286 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14287 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14288 `scoped-class' variable, use new eieio--scoped-class, and
14289 eieio--with-scoped-class.
14291 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14293 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14295 * eshell/esh-ext.el (eshell-external-command): Pass args to
14296 `eshell-find-interpreter'.
14297 (eshell-find-interpreter): Add new second parameter ARGS.
14299 * eshell/em-script.el (eshell-script-initialize): Add second arg
14300 to the function added as MATCH to `eshell-interpreter-alist'.
14302 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14303 the function added as MATCH to `eshell-interpreter-alist'.
14305 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14306 (eshell-visual-options): New defcustom.
14307 (eshell-escape-control-x): Adapt docstring.
14308 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14309 `eshell-visual-options' in addition to `eshell-visual-commands'.
14310 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14312 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14314 * progmodes/python.el (python-indent-block-enders): Add break,
14315 continue and raise keywords.
14317 2013-06-01 Glenn Morris <rgm@gnu.org>
14319 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14321 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14322 * progmodes/cc-cmds.el (delete-forward-p):
14323 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14324 * progmodes/cc-engine.el (buffer-syntactic-context):
14325 * progmodes/cc-fonts.el (face-property-instance):
14326 * progmodes/cc-mode.el (set-keymap-parents):
14327 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14328 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14329 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14330 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14331 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14333 * progmodes/cc-vars.el (other): Emacs has this widget since
14334 at least 21.1, so don't (re)define it.
14336 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14337 Replace the obsolete alias pcomplete-arg-quote-list.
14339 2013-06-01 Leo Liu <sdl.web@gmail.com>
14341 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14342 punctuation syntax.
14343 (inferior-octave-minimal-columns)
14344 (inferior-octave-last-column-width): New variables.
14345 (inferior-octave-track-window-width-change): New function.
14346 (inferior-octave-mode): Adjust column width so that Octave output,
14347 for example from 'ls', can fit into the window nicely.
14349 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14351 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14352 Highlight expansions inside regexp literals.
14354 2013-05-31 Glenn Morris <rgm@gnu.org>
14356 * obsolete/sym-comp.el (symbol-complete):
14357 Replace obsolete completion-annotate-function.
14359 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14361 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14363 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14364 New function, checks if point is inside a literal that allows
14365 expression expansion.
14366 (ruby-syntax-propertize-expansion): Use it.
14367 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14370 2013-05-30 Juri Linkov <juri@jurta.org>
14372 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14374 (isearch-invisible): New variable.
14375 (isearch-forward): Doc fix.
14376 (isearch-mode): Set `isearch-invisible'
14377 to the value of `search-invisible'.
14378 (isearch-toggle-case-fold): Doc fix.
14379 (isearch-toggle-invisible): New command.
14380 (isearch-query-replace): Let-bind `search-invisible'
14381 to the value of `isearch-invisible'.
14382 (isearch-search): Use `isearch-invisible' instead of
14383 `search-invisible'. Let-bind `search-invisible'
14384 to the value of `isearch-invisible'. (Bug#11378)
14386 2013-05-30 Juri Linkov <juri@jurta.org>
14388 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14389 call when `query-flag' is nil and `search-invisible' is non-nil.
14392 2013-05-30 Glenn Morris <rgm@gnu.org>
14394 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14396 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14397 (cc-require): Suppress spurious "noruntime" warnings.
14398 (cc-require-when-compile): Use fboundp, for sake of compiler.
14400 * progmodes/cc-mode.el: Move load of cc-vars before that of
14401 cc-langs (which in turn loads cc-vars), to quieten compiler.
14403 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14405 * paren.el: Simplify the code.
14406 (show-paren-mode): Always start the timer.
14407 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14408 (show-paren--overlay, show-paren--overlay-1): Rename from
14409 show-paren-overlay and show-paren-overlay-1, and initialize to an
14410 overlay rather than to nil.
14411 (show-paren-function): Misc cleanup and simplifications.
14413 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14415 * paren.el (show-paren-data-function): New hook.
14416 (show-paren--default): New function, extracted from show-paren-function.
14417 (show-paren-function): Use show-paren-data-function.
14419 2013-05-30 Glenn Morris <rgm@gnu.org>
14421 * ielm.el (ielm-map, ielm-complete-symbol):
14422 Use completion-at-point rather than obsolete functions.
14423 (inferior-emacs-lisp-mode): Doc fix.
14424 Set completion-at-point-functions, rather than
14425 comint-dynamic-complete-functions.
14427 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14428 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14429 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14431 * image.el (image-animated-p): Tweak definition.
14433 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14434 (rlogin-process-connection-type): Tweak default. Add set-after.
14435 (rlogin-host): Doc fix.
14436 (rlogin): Tweak prompt.
14437 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14439 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14440 * progmodes/tcl.el (inferior-tcl-mode-map):
14441 Use completion-at-point rather than obsolete alias.
14443 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14445 * minibuffer.el (read-file-name-completion-ignore-case):
14446 Move before completion--in-region, for eager macro expansion.
14448 2013-05-29 Juri Linkov <juri@jurta.org>
14450 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14451 for total count of matching lines. Add `global-matches' for total
14452 count of matches. Rename `matches' to `lines' for count of
14453 matching lines. Add `matches' for count of matches.
14454 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14455 to `prev-line' for line number of prev match endpt.
14456 Increment `matches' for every match. Print the number of
14457 matching lines in the header.
14458 (occur-context-lines): Rename `lines' to `curr-line'.
14459 Rename `prev-lines' to `prev-line'. (Bug#14017)
14461 2013-05-29 Juri Linkov <juri@jurta.org>
14463 * replace.el (perform-replace): Add `skip-read-only-count',
14464 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14465 Increment them for corresponding conditions and report the number
14466 of skipped occurrences in the final message. (Bug#11746)
14467 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14468 (replace-string, replace-regexp): Doc fix.
14470 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14472 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14474 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14475 prog-mode-map (bug#14504).
14477 2013-05-29 Leo Liu <sdl.web@gmail.com>
14479 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14480 (octave-help): Small simplification.
14482 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14483 off the highlight first.
14485 2013-05-29 Glenn Morris <rgm@gnu.org>
14487 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14488 Handle idlwave-last-system-routine-info-cons-cell being nil.
14490 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14491 (idlwave-write-paths): Simplify via with-temp-buffer.
14493 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14494 * emulation/cua-rect.el: Also load cua-base at run time.
14496 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14497 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14498 (cperl-imenu-on-info): Require imenu.
14500 2013-05-28 Alan Mackenzie <acm@muc.de>
14502 Handle "capitalised keywords" correctly.
14503 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14505 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14507 * eshell/em-unix.el: Add -r option to cp.
14509 2013-05-28 Glenn Morris <rgm@gnu.org>
14511 * vc/vc-arch.el (vc-exec-after): Declare.
14512 (vc-switches): Autoload.
14513 * vc/vc-bzr.el: No need to require vc when compiling.
14514 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14515 (vc-resynch-buffer, vc-dir-refresh): Declare.
14516 (vc-setup-buffer, vc-switches): Autoload.
14517 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14518 (vc-resynch-buffer): Declare.
14519 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14520 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14521 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14522 (grep-read-regexp, grep-read-files, grep-expand-template)
14523 (vc-dir-refresh): Declare.
14524 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14525 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14526 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14527 * vc/vc-mtn.el (vc-exec-after): Declare.
14528 (vc-switches): Autoload.
14529 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14530 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14531 (vc-file-tree-walk): Declare.
14532 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14533 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14534 (vc-tag-precondition, vc-rename-master): Autoload.
14535 * vc/vc-svn.el (vc-exec-after): Declare.
14536 (vc-switches, vc-setup-buffer): Autoload.
14537 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14539 (vc-resynch-buffer): Declare.
14541 * obsolete/fast-lock.el (byte-compile-warnings):
14542 Don't warn about obsolete features in this obsolete file.
14544 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14545 Move definition before use.
14547 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14548 (dun-unix-verbs): Remove dun-zippy.
14549 (dun-zippy): Remove function.
14551 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14553 2013-05-27 Juri Linkov <juri@jurta.org>
14555 * replace.el (replace-search): New function with code moved out
14556 from `perform-replace'.
14557 (replace-highlight, replace-dehighlight): Move function definitions
14558 up closer to `replace-search'. (Bug#11746)
14560 2013-05-27 Juri Linkov <juri@jurta.org>
14562 * replace.el (perform-replace): Ignore invisible matches.
14563 In addition to checking `query-replace-skip-read-only', also
14564 filter out matches by calling `run-hook-with-args-until-failure'
14565 on `isearch-filter-predicates', and also check `search-invisible'
14566 for t or call `isearch-range-invisible'.
14567 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14569 2013-05-27 Juri Linkov <juri@jurta.org>
14571 * isearch.el (isearch-filter-predicates): Rename from
14572 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14573 (isearch-message-prefix): Display text from the property
14574 `isearch-message-prefix' of the currently active filters.
14575 (isearch-search): Don't compare `isearch-filter-predicate' with
14576 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14577 on `isearch-filter-predicates'. Also check `search-invisible' for t
14578 or call `isearch-range-invisible'.
14579 (isearch-filter-visible): Make obsolete.
14580 (isearch-lazy-highlight-search):
14581 Call `run-hook-with-args-until-failure' on
14582 `isearch-filter-predicates' and use `isearch-range-invisible'.
14584 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14585 `isearch-filter-predicates' instead of `funcall'ing
14586 `isearch-filter-predicate'.
14587 (Info-mode): Set `Info-isearch-filter' to
14588 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14590 * dired-aux.el (dired-isearch-filter-predicate-orig):
14592 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14593 (dired-isearch-filenames-end): Add and remove
14594 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14595 instead of changing the value of `isearch-filter-predicate'.
14596 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14597 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14598 Put property `isearch-message-prefix' to "filename " on
14599 `dired-isearch-filter-filenames'.
14601 * wdired.el (wdired-change-to-wdired-mode):
14602 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14603 locally instead of changing `isearch-filter-predicate'.
14604 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14606 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14608 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14609 return the commit hash (Bug#14459). Also set the
14610 `vc-git-detached' property.
14611 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14612 (vc-git-mode-line-string): Use the same help-echo format whether
14613 in detached mode or not, because we know the actual revision now.
14614 When in detached mode, shorten the revision to 7 chars.
14616 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14618 * emacs-lisp/easy-mmode.el (define-minor-mode):
14619 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14620 mode hook and provide a docstring.
14622 2013-05-27 Alan Mackenzie <acm@muc.de>
14624 Remove spurious syntax-table text properties inserted by C-y.
14625 * progmodes/cc-mode.el (c-after-change): Also clear hard
14626 syntax-table property with value nil.
14628 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14630 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14631 when reading the events; the buffer layout shall not be changed.
14633 2013-05-27 Leo Liu <sdl.web@gmail.com>
14635 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14637 (inferior-octave-directory-tracker): Automatically re-sync
14639 (octave-help): Improve handling of 'See also'.
14641 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14643 * doc-view.el: Minor naming convention tweaks.
14644 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14646 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14647 even if there's no `display' property yet (bug#14435).
14649 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14651 * subr.el (unmsys--file-name): Rename from reveal-filename.
14653 * Makefile.in (custom-deps, finder-data, autoloads)
14654 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14655 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14656 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14658 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14660 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14661 error-completion on the first 2 args of condition-case (bug#14446).
14664 2013-05-25 Leo Liu <sdl.web@gmail.com>
14666 * comint.el (comint-previous-matching-input): Do not flood the
14667 *Messages* buffer with trivial messages.
14669 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14671 * progmodes/flymake.el (flymake-nop): Don't return a string.
14672 (flymake-set-at): Fix typo.
14674 * simple.el (read--expression): New function, extracted from
14675 eval-expression. Set completion-at-point-functions (bug#14465).
14676 (eval-expression, eval-minibuffer): Use it.
14678 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14680 * progmodes/flymake.el (flymake-save-buffer-in-file)
14681 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14682 (flymake-selected-frame, flymake-log, flymake-ins-after)
14683 (flymake-set-at, flymake-get-buildfile-from-cache)
14684 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14685 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14686 Refine the doc string.
14687 (flymake-get-file-name-mode-and-masks): Reformat.
14688 (flymake-get-real-file-name-function): Fix a minor bug.
14690 2013-05-24 Juri Linkov <juri@jurta.org>
14692 * progmodes/grep.el (grep-mode-font-lock-keywords):
14693 Support =linenumber= format used by git-grep for lines with
14694 function names. (Bug#13549)
14696 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14698 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14699 0 after a semi-colon; it works better for smie-auto-fill.
14700 (octave--indent-new-comment-line): New function.
14701 (octave-indent-new-comment-line): Use it (indirectly).
14702 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14703 modify comment-line-break-function.
14705 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14706 (smie-setup): Use add-function to set it.
14708 2013-05-24 Sam Steingold <sds@gnu.org>
14710 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14711 argument (before the `interactive' argument).
14713 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * image-mode.el (image-mode-winprops): Add winprops to
14716 image-mode-winprops-alist before running
14717 image-mode-new-window-functions.
14718 * doc-view.el (doc-view-new-window-function): Don't delay
14719 doc-view-goto-page via timers (bug#14435).
14721 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14723 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14724 (doc-view-desktop-save-buffer): New function.
14725 (doc-view-restore-desktop-buffer): New function.
14726 (desktop-buffer-mode-handlers):
14727 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14729 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14730 `desktop-save-buffer' function.
14732 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14734 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14735 (tramp-gvfs-file-name-handler): Raise a user error when
14736 `tramp-gvfs-enabled' is nil.
14737 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14738 Do not raise a user error when loading package. (Bug#14447)
14740 * net/xesam.el: Move to obsolete/.
14742 2013-05-24 Glenn Morris <rgm@gnu.org>
14744 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14746 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14748 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14749 (Info-find-node, Man-getpage-in-background): Declare.
14751 * mail/unrmail.el (unrmail):
14752 Replace obsolete detect-coding-with-priority.
14754 * net/socks.el (socks-split-string): Use this rather than split-string.
14755 (socks-nslookup-host): Update for above change.
14756 (dynamic-choice, s5-dynamic-choice-match)
14757 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14758 Comment out unused code.
14760 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14761 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14762 (gud-tooltip-echo-area): Make obsolete.
14763 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14765 * progmodes/js.el (js--optimize-arglist): Declare.
14767 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14769 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14770 (ediff-window-C): Declare.
14772 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14773 Tweak requires to silence compiler.
14775 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14776 (he-search-string, he-tried-table, he-expand-list)
14777 (he-init-string, he-string-member, he-substitute-string)
14778 (he-reset-string): Declare.
14780 * obsolete/options.el (list-options): Use custom-variable-p,
14781 rather than obsolete alias.
14783 2013-05-23 Sam Steingold <sds@gnu.org>
14785 * simple.el (shell-command-on-region): Pass the `replace' argument
14786 down to `call-process-region' to comply with the doc as reported on
14787 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14789 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14791 * emacs-lisp/smie.el (smie-indent-forward-token)
14792 (smie-indent-backward-token): Handle string tokens (bug#14381).
14794 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14796 * ielm.el (ielm-menu): New menu.
14797 (inferior-emacs-lisp-mode): Set comment-start.
14799 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14801 * textmodes/reftex.el (reftex-ref-style-toggle):
14802 Fix deactivate action.
14804 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14805 Add cleveref macros.
14807 * textmodes/reftex-parse.el
14808 (reftex-locate-bibliography-files): Accept options for
14809 bibliography commands.
14810 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14811 Add addbibresource. Basic Biblatex support.
14813 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14815 * net/tramp-gvfs.el (top):
14816 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14817 when loading package. (Bug#14447)
14819 2013-05-23 Glenn Morris <rgm@gnu.org>
14821 * progmodes/js.el: No need to load comint when compiling.
14822 (ring-insert, comint-send-string, comint-send-input)
14823 (comint-last-input-end, ido-chop): Declare.
14825 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14826 * vc/ediff-mult.el: Adjust requires.
14827 (ediff-directories-internal, ediff-directory-revisions-internal)
14828 (ediff-patch-file-internal): Declare.
14829 * vc/ediff-ptch.el: Adjust requires.
14830 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14831 (ediff-find-file): Autoload.
14832 * vc/ediff-util.el: No need to load ediff when compiling.
14833 (ediff-regions-internal): Declare.
14834 * vc/ediff-wind.el: Adjust requires.
14835 (ediff-compute-toolbar-width): Define when compiling.
14836 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14837 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14838 (dired-get-filename, dired-get-marked-files)
14839 (ediff-last-dir-patch, ediff-patch-default-directory)
14840 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14841 (ediff-patch-buffer-internal): Declare.
14843 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14844 (ispell-process, ispell-buffer-local-words, lm-summary)
14845 (lm-section-start, lm-section-end): Declare.
14846 (checkdoc-ispell-init): Simplify.
14848 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14849 (he-string-member, he-reset-string, he-substitute-string): Declare.
14851 * eshell/em-ls.el: Adjust requires.
14852 (eshell-glob-regexp): Declare.
14853 * eshell/em-tramp.el: Adjust requires.
14854 (eshell-parse-command): Autoload.
14855 * eshell/em-xtra.el: Adjust requires.
14856 (eshell-parse-command): Autoload.
14857 * eshell/esh-ext.el: Adjust requires.
14858 (eshell-parse-command, eshell-close-handles): Autoload.
14859 * eshell/esh-io.el: Adjust requires.
14860 (eshell-output-filter): Autoload.
14861 * eshell/esh-util.el: No need to load tramp when compiling.
14862 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14864 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14865 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14866 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14867 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14868 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14869 * eshell/esh-opt.el, eshell/esh-proc.el:
14870 * eshell/esh-var.el: Adjust requires.
14871 * eshell/eshell.el: Do not require esh-util twice.
14872 (eshell-add-input-to-history): Declare.
14873 (eshell-command): Check history module is active before using it.
14875 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14877 2013-05-22 Leo Liu <sdl.web@gmail.com>
14879 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14881 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14883 * autorevert.el (auto-revert-notify-add-watch)
14884 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14885 it indicates changes in file modification time.
14887 2013-05-22 Glenn Morris <rgm@gnu.org>
14889 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14890 Always delete the autoloaded function from the noruntime and
14891 unresolved functions lists.
14893 * allout.el: No need to load epa, epg, overlay when compiling.
14894 (epg-context-set-passphrase-callback, epg-list-keys)
14895 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14896 (epg-key-user-id-list): Declare.
14898 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14899 (viper-set-parsing-style-toggling-macro)
14900 (viper-set-emacs-state-searchstyle-macros):
14901 Use called-interactively-p on Emacs.
14902 (viper-looking-back): Make it an obsolete alias. Update callers.
14903 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14904 Use looking-back rather than viper-looking-back.
14905 (viper-tmp-insert-at-eob, viper-enlarge-region)
14906 (viper-read-string-with-history, viper-register-to-point)
14907 (viper-append-to-register, viper-change-state-to-vi)
14908 (viper-backward-char-carefully, viper-forward-char-carefully)
14909 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14910 (viper-change-state-to-emacs): Declare.
14911 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14912 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14913 * emulation/viper-mous.el: Do not load viper-cmd.
14914 (viper-backward-char-carefully, viper-forward-char-carefully)
14915 (viper-forward-word, viper-adjust-window): Declare.
14917 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14919 * progmodes/idlw-help.el (idlwave-help-fontify):
14920 Use called-interactively-p.
14922 * term/w32console.el (w32-get-console-codepage)
14923 (w32-get-console-output-codepage): Declare.
14925 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14926 Remove unnecessary declarations.
14927 (dframe-message): Doc fix.
14929 * info.el (dframe-select-attached-frame, dframe-current-frame):
14932 * speedbar.el (speedbar-message): Make it an obsolete alias.
14933 Update all callers.
14934 (speedbar-with-attached-buffer)
14935 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14936 (speedbar-with-writable): Use backquote.
14937 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14938 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14939 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14940 rather than speedbar- aliases.
14941 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14942 (speedbar-make-specialized-keymap, speedbar-insert-button)
14943 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14944 (speedbar-do-function-pointer): Declare.
14945 (rmail-speedbar-button, rmail-speedbar-find-file)
14946 (rmail-speedbar-move-message):
14947 Use dframe-with-attached-buffer rather than speedbar- alias.
14948 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14949 (dframe-message, speedbar-make-specialized-keymap)
14950 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14951 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14952 (speedbar-insert-button, dframe-select-attached-frame)
14953 (dframe-maybee-jump-to-attached-frame)
14954 (speedbar-change-initial-expansion-list)
14955 (speedbar-previously-used-expansion-list-name): Declare.
14956 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14957 Use dframe-message, dframe-with-attached-buffer rather than
14959 (gud-sentinel): Silence compiler.
14960 * progmodes/vhdl-mode.el (speedbar-refresh)
14961 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14962 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14963 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14964 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14965 (speedbar-file-lists, speedbar-make-tag-line)
14966 (speedbar-line-directory, speedbar-goto-this-file)
14967 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14968 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14969 (speedbar-make-button, speedbar-reset-scanners)
14970 (speedbar-files-item-info, speedbar-line-text)
14971 (speedbar-find-file-in-frame, speedbar-set-timer)
14972 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14973 (speedbar-with-writable): Do not (re)define it.
14974 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14975 rather than speedbar- alias.
14977 2013-05-21 Leo Liu <sdl.web@gmail.com>
14979 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14981 (octave-mode): Tweak fill-nobreak-predicate.
14982 (inferior-octave-startup): Check process to avoid infinite loop.
14983 (inferior-octave): Pop to buffer first to show abornmal process
14986 2013-05-21 Glenn Morris <rgm@gnu.org>
14988 * printing.el (pr-menu-bar): Define when compiling.
14990 2013-05-21 Leo Liu <sdl.web@gmail.com>
14992 * progmodes/octave.el (octave-auto-fill): Remove.
14993 (octave-indent-new-comment-line): Improve.
14994 (octave-mode): Use auto fill mode through
14995 comment-line-break-function and fill-nobreak-predicate.
14996 (octave-goto-function-definition): Support DEFUN_DLD.
14997 (octave-beginning-of-defun): Small tweak.
14998 (octave-help): Show parent directory.
15000 2013-05-21 Glenn Morris <rgm@gnu.org>
15002 * files.el (dired-unmark):
15003 * progmodes/gud.el (gdb-input): Update declarations.
15005 * calculator.el (electric, ehelp): No need to load when compiling.
15006 (Electric-command-loop, electric-describe-mode): Declare.
15008 * doc-view.el (doc-view-current-converter-processes): Move before use.
15010 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15011 Move MODE-set-explicitly definition before use.
15013 * international/mule-diag.el (mule-diag):
15014 Don't use obsolete window-system-version.
15016 * mail/feedmail.el (smtpmail): No need to load when compiling.
15017 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15019 * mail/mail-utils.el (rfc822): No need to load when compiling.
15020 (rfc822-addresses): Autoload it.
15021 (mail-strip-quoted-names): Trivial simplification.
15023 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15024 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15026 * net/snmp-mode.el (tempo): Don't duplicate requires.
15028 * progmodes/prolog.el (info): No need to load when compiling.
15029 (comint): Require before shell requires it.
15030 (Info-goto-node): Autoload it.
15031 (Info-follow-nearest-node): Declare.
15032 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15034 * textmodes/artist.el (picture-mode-exit): Declare.
15036 * textmodes/reftex-parse.el (reftex-parse-from-file):
15037 Trivial rewrite so the compiler can parse it better.
15039 2013-05-20 Leo Liu <sdl.web@gmail.com>
15041 * progmodes/octave.el (octave-help-mode-map)
15042 (octave-help-mode-finish-hook): New variables.
15043 (octave-help-mode, octave-help-mode-finish): New functions.
15044 (octave-help): Use octave-help-mode.
15046 2013-05-20 Glenn Morris <rgm@gnu.org>
15048 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15050 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15052 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15053 start at point, so that expansion starting right after opening
15054 slash in a regexp is recognized.
15055 (ruby-syntax-before-regexp-re): New defvar, extracted from
15056 ruby-syntax-propertize-function. Since the value of this regexp
15057 is looked up at runtime now, we should be able to turn
15058 `ruby-syntax-methods-before-regexp' into a defcustom later.
15059 (ruby-syntax-propertize-function): Split regexp matching into two
15060 parts, for opening and closing slashes. That allows us to skip
15061 over string interpolations and support multiline regexps.
15062 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15063 for them, which calls `ruby-syntax-propertize-expansion'.
15064 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15065 call to `ruby-syntax-propertize-function'.
15066 (ruby-syntax-propertize-expansion): Extracted from
15067 `ruby-syntax-propertize-expansions'. Handles one expansion.
15068 (ruby-syntax-propertize-percent-literal): Leave point right after
15069 the percent symbol, so that the expression expansion rule can
15070 propertize the contents.
15071 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15073 (ruby-syntax-propertize-expansions): Remove.
15075 2013-05-18 Juri Linkov <juri@jurta.org>
15077 * man.el (Man-default-man-entry): Remove `-' from the end
15078 of the default value. (Bug#14400)
15080 2013-05-18 Glenn Morris <rgm@gnu.org>
15082 * comint.el (comint-password-prompt-regexp):
15083 Allow "password for XXX" where XXX contains colons (eg https://...).
15085 2013-05-18 Leo Liu <sdl.web@gmail.com>
15087 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15088 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15089 (octave-source-directories): Don't check process.
15090 (octave-source-directories, octave-find-definition): Doc fix.
15092 2013-05-18 Glenn Morris <rgm@gnu.org>
15094 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15095 Remove backspace/delete bindings. (Bug#14392)
15097 * cus-dep.el (custom-make-dependencies): Sort the output.
15098 (custom-versions-load-alist): Convert comment to doc.
15100 2013-05-17 Leo Liu <sdl.web@gmail.com>
15102 * newcomment.el (comment-search-backward): Stricter in finding
15103 comment start. (Bug#14303)
15105 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15106 (octave-comment-start-skip): Properly anchored.
15108 2013-05-17 Leo Liu <sdl.web@gmail.com>
15110 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15111 Clean up when turned off. (Bug#14395)
15112 (smie--highlight-matching-block-overlay): No longer buffer-local.
15113 (smie-highlight-matching-block): Adjust.
15115 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15117 Doc string fix for "nanoseconds" (Bug#14406).
15118 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15119 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15121 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15123 * calc/calc-units.el (math-extract-units): Preserve powers
15126 2013-05-17 Leo Liu <sdl.web@gmail.com>
15128 * subr.el (delete-consecutive-dups): New function.
15129 * ido.el (ido-set-matches-1): Use it.
15130 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15131 * ido.el (ido-remove-consecutive-dups): Remove.
15133 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15135 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15136 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15137 regexp-opt's `words'.
15139 2013-05-16 Leo Liu <sdl.web@gmail.com>
15141 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15142 (smie--highlight-matching-block-overlay)
15143 (smie--highlight-matching-block-lastpos)
15144 (smie--highlight-matching-block-timer): New variables.
15145 (smie-highlight-matching-block): New function.
15146 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15147 (smie-setup): Conditionally enable smie-blink-matching-open.
15149 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15151 Sync with upstream verilog-mode r840.
15152 * progmodes/verilog-mode.el (verilog-mode-version)
15153 (verilog-mode-release-date): Update.
15154 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15155 (verilog-sig-tieoff): Fix string error on
15156 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15157 (verilog-read-decls): Fix parameters confusing
15158 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15160 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15162 * subr.el (reveal-filename): New function.
15164 * loadup.el: Compute Emacs executable versions on MS-Windows,
15165 where executables have the .exe extension. Add a hard link
15166 emacs-XX.YY.ZZ.exe on MS-Windows.
15168 * Makefile.in (XARGS_LIMIT): New variable.
15169 (custom-deps, finder-data, autoloads)
15170 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15171 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15172 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15173 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15175 2013-05-16 Leo Liu <sdl.web@gmail.com>
15177 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15178 (octave-mode-menu, octave-mode-map): Remove its uses.
15180 2013-05-16 Reto Zimmermann <reto@gnu.org>
15182 Sync with upstream vhdl mode v3.34.2.
15183 * progmodes/vhdl-mode.el: Use `push' throughout.
15184 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15185 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15186 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15187 (vhdl-actual-generic-name): New option to derive actual generic name.
15188 (vhdl-port-paste-signals): Replace formal by actual generics.
15189 (vhdl-beautify): New name for old group vhdl-align. Update users.
15190 (vhdl-beautify-options): New option.
15191 (vhdl-last-input-event): New compat alias. Use throughout.
15192 (vhdl-goto-line): Replace user level function `goto-line'.
15193 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15194 vhdl-fix-statement-buffer.
15195 (vhdl-create-mode-menu): Add some entries.
15196 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15197 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15198 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15199 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15200 to force statements on one line.
15201 (vhdl-remove-trailing-spaces-region):
15202 New, split from vhdl-remove-trailing-spaces.
15203 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15204 Respect vhdl-beautify-options.
15205 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15206 (vhdl-update-sensitivity-list): Not add with index if exists without.
15207 Not include array index with signal. Ignore keywords in comments.
15208 (vhdl-get-visible-signals): Regexp tweaks.
15209 (vhdl-template-component-inst): Handle empty library.
15210 (vhdl-template-type): Add template for 'enum' type.
15211 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15212 Use vhdl-replace-string.
15213 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15214 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15215 (vhdl-speedbar-initialize): Update for above name change.
15216 (vhdl-compose-wire-components): Fix in handling of constants.
15217 (vhdl-error-regexp-emacs-alist): New variable.
15218 (vhdl-error-regexp-add-emacs): New function;
15219 adds support for new compile.el (Emacs 22+)
15220 (vhdl-generate-makefile-1): Change target order for single lib. units.
15221 Allow use of absolute file names.
15223 2013-05-16 Leo Liu <sdl.web@gmail.com>
15225 * simple.el (prog-indent-sexp): Indent enclosing defun.
15227 2013-05-15 Glenn Morris <rgm@gnu.org>
15229 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15230 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15231 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15232 (whitespace-highlight): Move to whitespace group.
15234 * comint.el (comint-source):
15235 * pcmpl-linux.el (pcmpl-linux):
15236 * shell.el (shell-faces):
15237 * eshell/esh-opt.el (eshell-opt):
15238 * international/ccl.el (ccl): Remove empty custom groups.
15240 * completion.el (dynamic-completion-mode):
15241 * jit-lock.el (jit-lock-debug-mode):
15242 * minibuffer.el (completion-in-region-mode):
15243 * type-break.el (type-break-mode-line-message-mode)
15244 (type-break-query-mode):
15245 * emulation/tpu-edt.el (tpu-edt-mode):
15246 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15247 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15248 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15250 * term/xterm.el (xterm): Change parent group to terminals.
15252 * master.el (master): Remove empty custom group.
15253 (master-mode): Remove unused :group argument.
15254 * textmodes/refill.el (refill): Remove empty custom group.
15255 (refill-mode): Remove unused :group argument.
15257 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15259 * cus-dep.el: Provide a feature.
15260 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15261 Don't mistakenly ignore files whose basenames match a basename
15262 from preloaded-file-list (eg cedet/ede/simple.el).
15263 Add a fallback method for getting :group.
15265 2013-05-15 Juri Linkov <juri@jurta.org>
15267 * isearch.el (isearch-char-by-name): Rename from
15268 `isearch-insert-char-by-name'. Doc fix.
15269 (isearch-forward): Mention `isearch-char-by-name' in
15270 the docstring. (Bug#13348)
15272 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15273 `exit-minibuffer' instead of
15274 `isearch-nonincremental-exit-minibuffer'.
15275 (isearch-edit-string): Remove mention of
15276 `isearch-nonincremental-exit-minibuffer' from docstring.
15277 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15278 (isearch-forward-exit-minibuffer)
15279 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15281 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15283 * loadup.el: Just use unversioned DOC.
15285 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15286 literals as extending to EOB.
15287 (nxml-last-fontify-end): Remove unused variable.
15288 (nxml-after-change1): Use with-silent-modifications.
15289 (nxml-extend-after-change-region): Simplify.
15290 (nxml-extend-after-change-region1): Remove function.
15291 (nxml-after-change1): Don't adjust for dependent regions.
15292 (nxml-fontify-matcher): Simplify.
15293 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15294 (xmltok-add-dependent): Remove function.
15295 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15296 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15297 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15298 unclosed <[[, <?, comment, and other literals as extending to EOB.
15299 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15300 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15302 (rng-do-some-validation-1): Don't mark dependent regions.
15303 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15304 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15305 (nxml-clear-dependent-regions): Remove functions.
15306 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15307 (nxml-ensure-scan-up-to-date):
15308 Don't clear&mark dependent regions.
15310 2013-05-15 Leo Liu <sdl.web@gmail.com>
15312 * progmodes/octave.el (octave-goto-function-definition):
15313 Improve and fix callers.
15315 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15317 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15318 the setter (bug#14387).
15320 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15321 surrounding group (bug#14402).
15323 2013-05-14 Juri Linkov <juri@jurta.org>
15325 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15328 2013-05-14 Glenn Morris <rgm@gnu.org>
15330 * progmodes/f90.el (f90-imenu-generic-expression):
15331 Fix typo in 2013-05-08 change. (Bug#14402)
15333 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15335 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15336 Remove signals for which replies are never received.
15338 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15340 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15341 (gdb-handler-alist, gdb-handler-number): Remove variables.
15342 (gdb-handler-list): New variable.
15343 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15344 (gdb-pending-handler-p, gdb-handle-reply)
15345 (gdb-remove-all-pending-triggers): New functions.
15346 (gdb-discard-unordered-replies): New defcustom.
15347 (gdb-handler): New defstruct.
15348 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15349 instead of gdb-pending-triggers. Update docstring.
15350 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15351 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15352 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15353 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15354 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15355 (gdb-frame-handler): Pending triggers are now automatically managed.
15356 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15358 (gdb-input): Automatically handles pending triggers. Update docstring.
15359 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15360 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15362 (gdb-done-or-error): Now use gdb-handle-reply.
15364 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15366 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15369 2013-05-14 Glenn Morris <rgm@gnu.org>
15371 * subr.el (user-emacs-directory-warning): New option.
15372 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15374 2013-05-14 Leo Liu <sdl.web@gmail.com>
15376 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15378 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15379 (octave-font-lock-texinfo-comment): Fix invalid search bound
15380 error: wrong side of point.
15382 2013-05-14 Glenn Morris <rgm@gnu.org>
15384 * progmodes/flymake.el (flymake-xml-program): New option.
15385 (flymake-xml-init): Use it.
15387 * term/xterm.el: Provide a feature.
15389 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15391 2013-05-13 Glenn Morris <rgm@gnu.org>
15393 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15394 Add compat aliases as a hack workaround. (Bug#14384)
15396 2013-05-13 Leo Liu <sdl.web@gmail.com>
15398 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15400 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15402 (octave-comment-start-skip): Include %!.
15403 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15405 2013-05-12 Leo Liu <sdl.web@gmail.com>
15407 * progmodes/octave.el (inferior-octave-startup): Store the value
15408 of __octave_srcdir__ for octave-source-directories.
15409 (inferior-octave-check-process): New function refactored out of
15410 inferior-octave-send-list-and-digest.
15411 (octave-source-directories)
15412 (octave-find-definition-filename-function): New variables.
15413 (octave-source-directories)
15414 (octave-find-definition-default-filename): New functions.
15415 (octave-find-definition): Improve to find functions implemented in C++.
15417 2013-05-12 Glenn Morris <rgm@gnu.org>
15419 * calendar/diary-lib.el (diary-outlook-format-1):
15420 Don't include dayname in the output. (Bug#14349)
15422 2013-05-11 Glenn Morris <rgm@gnu.org>
15424 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15426 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15427 Treat cc-provide like provide.
15429 2013-05-11 Kevin Ryde <user42@zip.com.au>
15431 * cus-dep.el (custom-make-dependencies):
15432 Use generated-autoload-load-name for the sake of files such
15433 such cedet/semantic/bovine/c.el, where the base file name
15434 is not in load-path. (Bug#5277)
15436 2013-05-11 Glenn Morris <rgm@gnu.org>
15438 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15441 2013-05-11 Leo Liu <sdl.web@gmail.com>
15443 * progmodes/octave.el (octave-indent-comment): Improve.
15444 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15445 (octave-eldoc-function-signatures, octave-eldoc-function):
15447 (octave-mode, inferior-octave-mode): Add eldoc support.
15449 2013-05-11 Richard Stallman <rms@gnu.org>
15451 * epa.el (epa-decrypt-file): Take output file name as argument
15452 and read it using `interactive'.
15454 2013-05-11 Leo Liu <sdl.web@gmail.com>
15456 * progmodes/octave.el (octave-beginning-of-line)
15457 (octave-end-of-line): Check before using up-list because it jumps
15458 out of more syntactic contructs since moving to smie.
15459 (octave-indent-comment): New function.
15460 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15461 (octave-begin-keywords, octave-end-keywords)
15462 (octave-reserved-words, octave-smie-bnf-table)
15463 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15465 2013-05-11 Glenn Morris <rgm@gnu.org>
15467 * faces.el (internal-face-x-get-resource):
15468 * frame.el (ns-display-monitor-attributes-list):
15469 * calc/calc-aent.el (math-to-radians-2):
15470 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15473 * calc/calc-menu.el: Make it loadable in isolation.
15475 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15476 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15477 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15478 (eudc-bbdb-query-internal): Require 'bbdb.
15480 * lpr.el (lpr-headers-switches):
15481 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15483 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15485 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15487 * term.el (term-set-escape-char): Make it idempotent.
15489 2013-05-10 Leo Liu <sdl.web@gmail.com>
15491 * progmodes/octave.el (inferior-octave-completion-table):
15492 No longer a function and all uses changed. Use cache to speed up
15493 completion due to bug#11906.
15494 (octave-beginning-of-defun): Re-write to be more general.
15496 2013-05-10 Glenn Morris <rgm@gnu.org>
15498 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15500 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15502 * comint.el (comint-redirect-send-command-to-process): Use :around
15503 rather than :override for comint-redirect-filter.
15504 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15505 Call it instead of comint-redirect-original-filter-function (which
15506 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15508 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15510 * frame.el (display-monitor-attributes-list): Add NS case.
15511 (ns-display-monitor-attributes-list): Declare.
15513 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15515 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15517 2013-05-09 Glenn Morris <rgm@gnu.org>
15519 * international/fontset.el (vertical-centering-font-regexp):
15520 Set standard-value.
15522 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15524 * bookmark.el (bookmark-search-delay):
15525 * cus-start.el (vertical-centering-font-regexp):
15526 * ps-mule.el (ps-mule-font-info-database-default):
15527 * ps-print.el (ps-default-fg, ps-default-bg):
15528 * type-break.el (type-break-good-break-interval):
15529 * whitespace.el (whitespace-indentation-regexp)
15530 (whitespace-space-after-tab-regexp):
15531 * emacs-lisp/testcover.el (testcover-1value-functions)
15532 (testcover-noreturn-functions, testcover-progn-functions)
15533 (testcover-prog1-functions):
15534 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15535 * eshell/em-glob.el (eshell-glob-translate-alist):
15536 * play/tetris.el (tetris-tty-colors):
15537 * progmodes/cpp.el (cpp-face-default-list):
15538 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15539 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15540 (idlwave-help-browser-generic-args):
15541 * progmodes/make-mode.el (makefile-special-targets-list):
15542 * progmodes/python.el (python-shell-virtualenv-path):
15543 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15544 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15545 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15546 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15547 * textmodes/reftex-vars.el (reftex-format-label-function):
15548 * textmodes/remember.el (remember-diary-file): Fix custom types.
15550 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15553 2013-05-09 Leo Liu <sdl.web@gmail.com>
15555 * progmodes/octave.el (inferior-octave-completion-at-point):
15556 Restore file completion. (Bug#14300)
15557 (inferior-octave-startup): Fix incorrect highlighting for the
15560 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15562 * progmodes/ruby-mode.el: First cut at SMIE support.
15563 (ruby-use-smie): New var.
15564 (ruby-smie-grammar): New constant.
15565 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15566 (ruby-smie--forward-token, ruby-smie--backward-token)
15567 (ruby-smie-rules): New functions.
15568 (ruby-mode-variables): Setup SMIE if applicable.
15570 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15572 * simple.el (line-move-visual): Signal beginning/end of buffer
15573 only if vertical-motion moved less than it was requested. Avoids
15574 silly incorrect error messages when there are display strings with
15575 multiple newlines at EOL.
15577 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15579 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15580 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15581 (prolog-char-quote-workaround):
15582 * progmodes/cperl-mode.el (cperl-under-as-char):
15583 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15585 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15587 (vhdl-mode-syntax-table-init): Remove.
15589 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15592 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15594 (ld-script-font-lock-keywords):
15595 Change regexps to use things like \_< and \_>.
15597 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15598 Change all regexps to use things like \_< and \_>.
15600 * progmodes/autoconf.el (autoconf-definition-regexp)
15601 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15602 Handle a _ with symbol syntax.
15603 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15605 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15606 Consolidate declaration.
15607 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15609 (ada-create-syntax-table): Remove.
15610 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15611 already has the right syntax nowadays.
15612 (ada-goto-next-word): Don't change the syntax of "_".
15614 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15617 2013-05-08 Sam Steingold <sds@gnu.org>
15619 * thingatpt.el (thing-at-point): Accept optional second argument
15620 NO-PROPERTIES to strip the text properties from the return value.
15621 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15622 to `thing-at-point' instead of stripping the properties ourselves.
15623 Also, when `thing-at-point' fails to find a url, prepend "http://"
15624 to the filename at point on the assumption that the user is
15625 pointing at something like gnu.org/gnu.
15627 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15629 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15630 * faces.el (crm-separator):
15631 Silence byte-compiler.
15633 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15634 (tool-bar-map): Remove unneeded defvars.
15636 2013-05-08 Leo Liu <sdl.web@gmail.com>
15638 Re-work a fix for bug#10994 based on Le Wang's patch.
15639 * ido.el (ido-remove-consecutive-dups): New helper.
15640 (ido-completing-read): Use it.
15641 (ido-chop): Revert fix for bug#10994.
15643 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15645 * cus-edit.el (custom-save-variables):
15646 Pretty-print long values. (Bug#14187)
15648 2013-05-08 Glenn Morris <rgm@gnu.org>
15650 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15651 (m4-mode-syntax-table): Init in the defvar.
15652 (m4-mode-abbrev-table): Let define-derived-mode define it.
15654 2013-05-08 Tom Tromey <tromey@redhat.com>
15656 * progmodes/m4-mode.el (m4-mode-syntax-table):
15657 Do not treat "_" as word constituent. (Bug#14167)
15659 2013-05-07 Glenn Morris <rgm@gnu.org>
15661 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15662 Remove explicit eshell-isearch-cancel-map.
15664 * progmodes/f90.el (f90-smart-end-names): New option.
15665 (f90-smart-end): Doc fix.
15666 (f90-end-block-optional-name): New constant.
15667 (f90-block-match): Respect f90-smart-end-names.
15669 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15671 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15672 about implicit semi-colons (bug#14218).
15674 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15676 * frame.el (display-monitor-attributes-list)
15677 (frame-monitor-attributes): New functions.
15679 2013-05-06 Leo Liu <sdl.web@gmail.com>
15681 * progmodes/octave.el (octave-syntax-propertize-function): Change
15682 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15683 (octave-font-lock-keywords): Use octave-operator-regexp.
15684 (octave-completion-at-point): Rename from
15685 octave-completion-at-point-function.
15686 (inferior-octave-directory-tracker): Robustify.
15687 (octave-text-functions): Remove and fix its uses. No such things
15690 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15692 * emacs-lisp/trace.el (trace--display-buffer): New function.
15693 (trace-make-advice): Use it.
15695 2013-05-06 Juri Linkov <juri@jurta.org>
15697 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15698 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15700 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15701 in the help string. (Bug#12985)
15703 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15705 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15707 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15709 * progmodes/perl-mode.el: Add support for here documents.
15710 (perl-syntax-propertize-function): Match here-doc markers.
15711 (perl-syntax-propertize-special-constructs): Find their end.
15712 (perl-imenu-generic-expression): Use [:alnum:].
15714 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15715 (advice--add-function): Refresh the advice if already present
15718 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15720 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15722 2013-05-06 Glenn Morris <rgm@gnu.org>
15724 * w32-fns.el (w32-charset-info-alist): Declare.
15726 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15727 of its defcustom properties.
15728 (eshell-cmpl-initialize): No need to load pcomplete.
15730 * generic-x.el: No need to require comint when compiling.
15732 * net/eudc-export.el: Make it loadable without bbdb.
15733 (top-level): Use require rather than load-library.
15734 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15735 (eudc-batch-export-records-to-bbdb)
15736 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15739 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15742 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15743 some tweaks, instead.
15745 2013-05-05 Leo Liu <sdl.web@gmail.com>
15747 * progmodes/octave.el (octave-font-lock-keywords)
15748 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15749 (inferior-octave-send-list-and-digest): Improve error message.
15750 (octave-mode, inferior-octave-mode): Use setq-local.
15751 (octave-help): Set info-lookup-mode.
15753 2013-05-05 Richard Stallman <rms@gnu.org>
15755 * vc/compare-w.el (compare-windows-whitespace):
15756 Treat no-break space as whitespace.
15758 * mail/rmailsum.el (rmail-summary-rmail-update):
15759 Detect empty summary and don't change selected message.
15760 (rmail-summary-goto-msg): Likewise.
15762 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15763 Doc fixes, rename args.
15765 2013-05-05 Alan Mackenzie <acm@muc.de>
15767 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15769 2013-05-05 Juri Linkov <juri@jurta.org>
15771 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15772 to not add the length of the summary segment to the return value.
15775 2013-05-05 Leo Liu <sdl.web@gmail.com>
15777 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15778 (inferior-octave-output-filter): Remove.
15779 (octave-send-region, inferior-octave-startup): Fix callers.
15780 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15781 (octave-binary-file-extensions): New user variable.
15782 (octave-find-definition): Confirm if opening binary files.
15783 (octave-help-file): Use octave-find-definition to get the binary
15785 (octave-help): Adjust for octave-help-file change.
15787 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15789 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15790 Merge the two entries that handle function definitions.
15791 (pascal--syntax-propertize): New const.
15792 (pascal-mode): Use it. Use setq-local.
15794 2013-05-04 Glenn Morris <rgm@gnu.org>
15796 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15797 (diary-from-outlook): Respect diary-from-outlook-function.
15799 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15801 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15802 Move the declaration from C.
15803 (read-minibuffer, eval-minibuffer): Move from C.
15804 (completion-setup-function): Avoid minibuffer-completion-contents.
15806 2013-05-03 Leo Liu <sdl.web@gmail.com>
15808 * progmodes/octave.el (octave-font-lock-keywords): Do not
15809 dehighlight 'end' in comments or strings.
15810 (octave-completing-read, octave-goto-function-definition):
15812 (octave-help-buffer): New user variable.
15813 (octave-help-file, octave-help-function): New button types.
15814 (octave-help): New command and bind it to C-h ;.
15815 (octave-find-definition): New command and bind it to M-.
15816 (user-error): Alias to error if not defined.
15818 2013-05-02 Leo Liu <sdl.web@gmail.com>
15820 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15822 (octave-font-lock-keywords): Include [ and {.
15824 2013-05-02 Leo Liu <sdl.web@gmail.com>
15826 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15827 (inferior-octave): Remove calling comint-mode and return the buffer.
15828 (inferior-octave-startup): Cosmetic changes.
15830 2013-05-02 Leo Liu <sdl.web@gmail.com>
15832 * progmodes/octave.el (octave-syntax-propertize-function):
15833 Include the case when ' is at line beginning. (Bug#14336)
15835 2013-05-02 Glenn Morris <rgm@gnu.org>
15837 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15838 * desktop.el (vc-dir-mode): Just autoload it here.
15840 2013-05-02 Alan Mackenzie <acm@muc.de>
15842 Eliminate variable c-standard-font-lock-fontify-region-function.
15843 * progmodes/cc-mode.el
15844 (c-standard-font-lock-fontify-region-function): Remove.
15845 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15847 2013-05-01 Leo Liu <sdl.web@gmail.com>
15849 * progmodes/octave.el: Compatible with older emacs-24 releases.
15850 (inferior-octave-has-built-in-variables): Remove. Built-in
15851 variables were removed from Octave in 2007.
15852 (inferior-octave-startup): Fix uses.
15853 (comint-line-beginning-position): Remove compatibility code for
15856 2013-05-01 Juri Linkov <juri@jurta.org>
15858 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15860 2013-05-01 Juri Linkov <juri@jurta.org>
15862 * comint.el (comint-previous-matching-input): Don't print message
15863 "History item: %d" when `isearch-mode' is active.
15864 (comint-history-isearch-message): Print message "History item: %d"
15865 when `comint-input-ring-index' is not empty and this function is
15866 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15868 2013-05-01 Leo Liu <sdl.web@gmail.com>
15870 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15871 definitions. Use completion-at-point to insert keywords.
15872 (octave-abbrev-start): Remove.
15873 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15875 2013-04-30 Leo Liu <sdl.web@gmail.com>
15877 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15880 2013-04-30 Alan Mackenzie <acm@muc.de>
15882 Handle arbitrarily long C++ member initialisation lists.
15883 * progmodes/cc-engine.el (c-back-over-member-initializers):
15885 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15886 (most) member init lists.
15888 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15890 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15893 2013-04-30 Leo Liu <sdl.web@gmail.com>
15895 * progmodes/octave.el (octave-variables): Remove. No builtin
15896 variables any more. All converted to functions.
15897 (octave-font-lock-keywords, octave-completion-at-point-function):
15899 (octave-font-lock-texinfo-comment): New user variable.
15900 (octave-texinfo-font-lock-keywords): New variable for texinfo
15902 (octave-function-comment-block): New face.
15903 (octave-font-lock-texinfo-comment): New function.
15904 (octave-mode): Font lock texinfo comment block.
15906 2013-04-29 Leo Liu <sdl.web@gmail.com>
15908 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15909 indexing expression.
15910 (octave-continuation-string): Do not use \.
15911 (inferior-octave-complete-impossible): Remove.
15912 (inferior-octave-completion-table)
15913 (inferior-octave-completion-at-point): Remove its uses.
15914 (inferior-octave-startup): completion_matches was introduced to
15915 Octave in 1996 so safe to assume it.
15916 (octave-function-file-comment): Improve to follow how Octave does it.
15917 (octave-update-function-file-comment): Tweak.
15919 2013-04-29 Leo Liu <sdl.web@gmail.com>
15921 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15922 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15923 (octave-function-file-comment): Fix typo.
15924 (octave-sync-function-file-names): Use read-char-choice.
15926 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15928 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15929 to t for the less important warnings.
15931 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15933 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15935 2013-04-27 Glenn Morris <rgm@gnu.org>
15937 * vc/log-view.el (log-view-current-entry):
15938 Treat "---" separator lines as part of the following rev. (Bug#14169)
15940 2013-04-27 Juri Linkov <juri@jurta.org>
15942 * subr.el (read-number): Doc fix about using it by interactive
15943 code letter `n'. (Bug#14254)
15945 2013-04-27 Juri Linkov <juri@jurta.org>
15947 * desktop.el (desktop-auto-save-timeout): New option.
15948 (desktop-file-checksum): New variable.
15949 (desktop-save): Add optional arg `auto-save' and don't auto-save
15950 if nothing changed.
15951 (desktop-auto-save-timer): New variable.
15952 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15953 (after-init-hook): Call `desktop-auto-save-set-timer'.
15954 Suggested by Reuben Thomas <rrt@sc3d.org> in
15955 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15957 2013-04-27 Leo Liu <sdl.web@gmail.com>
15959 * progmodes/octave.el (octave-function-file-p)
15960 (octave-skip-comment-forward, octave-function-file-comment)
15961 (octave-update-function-file-comment): New functions.
15962 (octave-mode-map): Bind C-c ; to
15963 octave-update-function-file-comment.
15964 (octave-mode-menu): Add octave-update-function-file-comment.
15965 (octave-mode, inferior-octave-mode): Fix doc-string.
15966 (octave-insert-defun): Conform to Octave's coding convention.
15969 * files.el (basic-save-buffer): Don't let errors in
15970 before-save-hook prevent saving buffer.
15972 2013-04-20 Roland Winkler <winkler@gnu.org>
15974 * faces.el (read-face-name): Use completing-read if arg multiple
15977 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15979 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15980 displayed, move point to after the totals line.
15981 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15984 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15986 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15987 Add current dir to the load-path.
15988 (package-generate-autoloads): Don't rely on
15989 autoload-ensure-default-file.
15991 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15993 * textmodes/remember.el (remember-store-in-files): Document that
15994 the file name format is passed to `format-time-string'.
15996 2013-04-26 Leo Liu <sdl.web@gmail.com>
15998 * progmodes/octave.el (octave-sync-function-file-names): New function.
15999 (octave-mode): Use it in before-save-hook.
16001 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
16003 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16006 * progmodes/octave.el (octave-smie-forward-token): Properly skip
16007 \n and comment, even if it's not an implicit ; (bug#14218).
16009 2013-04-26 Glenn Morris <rgm@gnu.org>
16011 * subr.el (read-number): Once more use `read' rather than
16012 `string-to-number', to trap non-numeric input. (Bug#14254)
16014 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16016 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16017 Use `syntax-multiline' text property consistently instead of
16018 `font-lock-multiline'. (Bug#14237)
16020 2013-04-26 Glenn Morris <rgm@gnu.org>
16022 * emacs-lisp/shadow.el (list-load-path-shadows):
16023 No longer necessary to check for duplicate simple.el, since
16024 2012-07-07 change to init_lread to not include installation lisp
16025 directories in load-path when running uninstalled. (Bug#14270)
16027 2013-04-26 Leo Liu <sdl.web@gmail.com>
16029 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16030 (octave-mode, inferior-octave-mode): Use setq-local.
16031 (octave-not-in-string-or-comment-p): Rename to
16032 octave-in-string-or-comment-p.
16033 (octave-in-comment-p, octave-in-string-p)
16034 (octave-in-string-or-comment-p): Replace defsubst with defun.
16036 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16038 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16040 2013-04-25 Bastien Guerry <bzg@gnu.org>
16042 * textmodes/remember.el (remember-data-directory)
16043 (remember-directory-file-name-format): Fix custom types.
16045 2013-04-25 Leo Liu <sdl.web@gmail.com>
16047 * progmodes/octave.el (octave-completion-at-point-function):
16048 Make use of inferior octave process.
16049 (octave-initialize-completions): Remove.
16050 (inferior-octave-completion-table): New function.
16051 (inferior-octave-completion-at-point): Use it.
16052 (octave-completion-alist): Remove.
16054 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16056 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16057 (opascal-mode-syntax-table): New var.
16058 (opascal-literal-kind, opascal-is-literal-end)
16059 (opascal-literal-token-at): Rewrite.
16060 (opascal--literal-start-re, opascal-font-lock-keywords)
16061 (opascal--syntax-propertize): New constants.
16062 (opascal-font-lock-defaults): Adjust.
16063 (opascal-mode): Use them. Set comment-<foo> variables as well.
16064 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16065 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16066 (delphi-other-face, opascal-other-face): Remove face variables.
16067 (opascal-save-state): Remove macro.
16068 (opascal-fontifying-progress-step): Remove constant.
16069 (opascal--ignore-changes): Remove var.
16070 (opascal-set-token-property, opascal-parse-next-literal)
16071 (opascal-is-stable-literal, opascal-complete-literal)
16072 (opascal-is-literal-start, opascal-face-of)
16073 (opascal-parse-region, opascal-parse-region-until-stable)
16074 (opascal-fontify-region, opascal-after-change)
16075 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16076 (opascal-debug-parse-region, opascal-debug-parse-window)
16077 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16078 (opascal-debug-fontify-buffer): Remove.
16079 (opascal-debug-mode-map): Adjust accordingly.
16081 2013-04-25 Leo Liu <sdl.web@gmail.com>
16083 Merge octave-mod.el and octave-inf.el into octave.el with some
16085 * progmodes/octave.el: New file renamed from octave-mod.el.
16086 * progmodes/octave-inf.el: Merged into octave.el.
16087 * progmodes/octave-mod.el: Renamed to octave.el.
16089 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16091 * textmodes/reftex-vars.el
16092 (reftex-label-ignored-macros-and-environments): New defcustom.
16094 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16096 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16098 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16099 (smie-indent-keyword): Improve the check to ensure that the next
16100 comment is really on the same line.
16101 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16103 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16104 semi-colons if the line is not otherwise empty (bug#14218).
16106 2013-04-25 Glenn Morris <rgm@gnu.org>
16108 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16110 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16112 * progmodes/opascal.el (opascal-set-token-property): Rename from
16113 opascal-set-text-properties and only set `token' (bug#14134).
16114 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16115 (opascal-literal-text-properties): Remove.
16116 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16119 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16121 * textmodes/remember.el (remember-handler-functions): Add an
16122 option for a new handler `remember-store-in-files'.
16123 (remember-data-directory, remember-directory-file-name-format):
16125 (remember-store-in-files): New function to store remember notes
16126 as separate files within a directory.
16128 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16130 * progmodes/compile.el (compilation-next-error-function):
16131 Pass "formats" to compilation-find-file (bug#11777).
16133 2013-04-24 Glenn Morris <rgm@gnu.org>
16135 * vc/vc-bzr.el (vc-bzr-print-log):
16136 * vc/vc-hg.el (vc-hg-print-log):
16137 * vc/vc-svn.el (vc-svn-print-log):
16138 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16140 * vc/vc-bzr.el (vc-bzr-print-log):
16141 * vc/vc-cvs.el (vc-cvs-print-log):
16142 * vc/vc-git.el (vc-git-print-log):
16143 * vc/vc-hg.el (vc-hg-print-log):
16144 * vc/vc-mtn.el (vc-mtn-print-log):
16145 * vc/vc-rcs.el (vc-rcs-print-log):
16146 * vc/vc-sccs.el (vc-sccs-print-log):
16147 * vc/vc-svn.el (vc-svn-print-log):
16148 * vc/vc.el (vc-print-log-internal): Doc fixes.
16150 2013-04-23 Glenn Morris <rgm@gnu.org>
16152 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16153 Remove venerable code attempting to avoid substitute-command-keys.
16155 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16157 * textmodes/reftex-vars.el (reftex-label-regexps):
16158 Call `reftex-compile-variables' after changes to this variable.
16160 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16162 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16163 Use lexical-binding.
16164 (jit-lock-force-redisplay): Use markers, check buffer's continued
16165 existence and beware narrowed buffers.
16166 (jit-lock-fontify-now): Adjust call accordingly.
16168 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16170 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16171 to avoid misleading the user.
16173 2013-04-22 Leo Liu <sdl.web@gmail.com>
16175 * info-look.el: Prefer latex2e.info. (Bug#14240)
16177 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16179 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16181 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16182 * net/tramp.el (tramp-call-process): ... here.
16183 (tramp-set-completion-function, tramp-parse-putty):
16184 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16185 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16186 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16187 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16188 (tramp-call-local-coding-command): Use `tramp-call-process'
16189 instead of `tramp-compat-call-process'.
16191 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16192 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16193 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16194 (tramp-find-inline-compress): Improve traces.
16195 (tramp-maybe-send-script): Check for Perl binary.
16196 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16198 2013-04-22 Daiki Ueno <ueno@gnu.org>
16200 * epg.el (epg-context-pinentry-mode): New function.
16201 (epg-context-set-pinentry-mode): New function.
16202 (epg--start): Pass --pinentry-mode option to gpg command.
16204 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16206 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16207 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16208 `completion-at-point'. (Bug#13774)
16210 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16211 default key binding for `describe-distribution' has been moved to
16212 `C-h C-o'. (Bug#13970)
16214 2013-04-21 Glenn Morris <rgm@gnu.org>
16216 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16218 (vc-print-log): Clarify interactive prompt.
16220 2013-04-20 Glenn Morris <rgm@gnu.org>
16222 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16223 No longer include timestamp etc information.
16225 2013-04-20 Roland Winkler <winkler@gnu.org>
16227 * faces.el (read-face-name): Bug fix, return just one face if arg
16228 multiple is nil. (Bug#14209)
16230 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16232 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16233 (remove-function): Autoload.
16235 * comint.el (comint-redirect-original-filter-function): Remove.
16236 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16237 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16238 (vc-cvs-annotate-command):
16239 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16240 * progmodes/prolog.el (prolog-consult-compile):
16241 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16242 Use add/remove-function instead.
16243 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16244 (gud-tooltip-process-output, gud-tooltip-tips):
16245 Use add/remove-function instead.
16246 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16247 (scheme-interaction-mode, exit-scheme-interaction-mode):
16248 Use add/remove-function instead.
16250 * vc/vc-dispatcher.el: Use lexical-binding.
16251 (vc--process-sentinel): Rename from vc-process-sentinel.
16252 Change last arg to be the code to run. Don't use vc-previous-sentinel
16253 and vc-sentinel-commands any more.
16254 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16255 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16257 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16259 * progmodes/sh-script.el (sh-imenu-generic-expression):
16260 Handle function names with a single character. (Bug#14111)
16262 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16264 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16265 for subroutines defined in an eval (bug#14182).
16267 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16269 * bookmark.el (bookmark-completing-read): Improve handling of empty
16270 string (bug#14176).
16272 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16274 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16276 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16278 New faster Imenu implementation (bug#14058).
16279 * progmodes/python.el:
16280 (python-imenu-prev-index-position):
16281 (python-imenu-format-item-label-function)
16282 (python-imenu-format-parent-item-label-function)
16283 (python-imenu-format-parent-item-jump-label-function):
16285 (python-imenu-format-item-label)
16286 (python-imenu-format-parent-item-label)
16287 (python-imenu-format-parent-item-jump-label)
16288 (python-imenu--put-parent, python-imenu--build-tree)
16289 (python-imenu-create-index, python-imenu-create-flat-index)
16290 (python-util-popn): New functions.
16291 (python-mode): Set imenu-create-index-function to
16292 python-imenu-create-index.
16294 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16296 * winner.el (winner-active-region): Use region-active-p, activate-mark
16297 and deactivate-mark (bug#14225).
16299 * simple.el (deactivate-mark): Don't inline it.
16301 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16303 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16305 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16307 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16308 file extensions from the archive-mode entry in order to prefer
16309 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16311 2013-04-18 Leo Liu <sdl.web@gmail.com>
16313 * bindings.el (help-event-list): Add ?\?.
16315 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16317 * subr.el (with-wrapper-hook): Declare obsolete.
16318 * simple.el (filter-buffer-substring-function): New hook.
16319 (filter-buffer-substring): Use it.
16320 (filter-buffer-substring-functions): Mark obsolete.
16321 * minibuffer.el (completion-in-region-function): New hook.
16322 (completion-in-region): Use it.
16323 (completion-in-region-functions): Mark obsolete.
16324 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16325 * abbrev.el (abbrev-expand-function): New hook.
16326 (expand-abbrev): Use it.
16327 (abbrev-expand-functions): Mark obsolete.
16328 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16329 and :filter-return.
16331 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16333 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16334 and do not care about match data.
16336 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16338 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16339 completion tables when completing error conditions and
16340 `declare' arguments.
16341 (lisp-complete-symbol, field-complete): Mark as obsolete.
16342 (check-parens): Unmatched parens are user errors.
16343 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16345 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16347 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16348 command changed buffer (ie. `flyspell-pre-buffer' is not current
16349 buffer), which prevents making decisions based on invalid value of
16350 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16351 cause an error when `flyspell-pre-point' was nil after switching
16353 (flyspell-post-command-hook): No longer needs to change buffers when
16354 checking pre-word. While at it remove unnecessary progn.
16356 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16358 * textmodes/ispell.el (ispell-add-per-file-word-list):
16359 Fix `flyspell-correct-word-before-point' error when accepting
16360 words and `coment-padding' is an integer by using
16361 `comment-normalize-vars' (Bug #14214).
16363 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16365 New defun movement commands.
16366 * progmodes/python.el (python-nav--syntactically)
16367 (python-nav--forward-defun, python-nav-backward-defun)
16368 (python-nav-forward-defun): New functions.
16370 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16372 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16373 (python-syntax-context): Use named compiler-macro for backwards
16374 compatibility with Emacs 24.x.
16376 2013-04-17 Leo Liu <sdl.web@gmail.com>
16378 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16379 octave-hide-process-buffer.
16381 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16383 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16386 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16388 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16389 Fix adjustment of offset when receiving incomplete responses from GDB
16392 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16394 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16395 python-mode-abbrev-table.
16396 (python-skeleton-define): Adjust accordingly.
16397 (python-mode-abbrev-table): New table that inherits from it so that
16398 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16400 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16401 (abbrev-symbol): Use it.
16402 (abbrev--before-point): Use it since we already handle inheritance.
16404 2013-04-16 Leo Liu <sdl.web@gmail.com>
16406 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16407 binding to info-lookup-symbol.
16409 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16411 * minibuffer.el (completion--twq-all):
16412 * term/ns-win.el (ns-initialize-window-system):
16413 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16415 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16417 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16420 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16422 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16424 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16425 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16427 (ruby-end-of-defun): Remove the unused arg, change the docstring
16428 to reflect that this function is only used as the value of
16429 `end-of-defun-function'.
16430 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16431 to reflect an earlier change that beginning/end-of-defun functions
16432 jump between methods in a class definition, as well as top-level
16435 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16437 * minibuffer.el (minibuffer-complete): Don't just scroll
16438 a *Completions* that's been iconified.
16439 (minibuffer-force-complete): Make sure repetitions do cycle when going
16440 through completion-in-region -> minibuffer-complete.
16442 2013-04-15 Alan Mackenzie <acm@muc.de>
16444 Correct the placement of c-cpp-delimiters when there're #s not at
16447 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16448 place a submatch around the #.
16449 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16450 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16453 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16455 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16456 (advice--member-p): New arg `name'.
16457 (advice--add-function, advice-member-p): Use it (bug#14202).
16459 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16461 Reformulate java imenu-generic-expression.
16462 The old expression contained ill formed regexps.
16464 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16465 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16466 (cc-imenu-java-method-arg-regexp): New defconsts.
16467 (cc-imenu-java-build-type-args-regex): New defun.
16468 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16469 handling of spaces in the regexp.
16471 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16473 * textmodes/ispell.el (ispell-command-loop): Remove
16474 flyspell highlight of a word when ispell accepts it (bug #14178).
16476 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16478 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16479 uses code from the previous `ange-ftp-run-real-handler'.
16480 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16481 only in case that function exist. This is needed for proper
16482 unloading of Tramp.
16484 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16486 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16488 * textmodes/reftex.el (reftex-compile-variables): Use it.
16490 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16492 * files.el (normal-mode): Only use default major-mode if no other mode
16495 * emacs-lisp/trace.el (trace-values): New function.
16497 * files.el: Allow : in local variables (bug#14089).
16498 (hack-local-variable-regexp): New var.
16499 (hack-local-variables-prop-line, hack-local-variables): Use it.
16501 2013-04-13 Roland Winkler <winkler@gnu.org>
16503 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16504 data before it gets modified by bibtex-beginning-of-entry.
16506 2013-04-13 Roland Winkler <winkler@gnu.org>
16508 * textmodes/bibtex.el (bibtex-url): Doc fix.
16510 2013-04-13 Roland Winkler <winkler@gnu.org>
16512 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16513 does not visit a BibTeX file, exclude it from the list of buffers
16514 returned by bibtex-initialize.
16516 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16518 * window.el (split-window): Remove interactive form, since as a
16519 command this function is a special case of split-window-below.
16520 Correct doc string.
16522 2013-04-12 Roland Winkler <winkler@gnu.org>
16524 * faces.el (read-face-name): Do not override value of arg default.
16525 Allow single faces and strings as default values. Remove those
16526 elements from return value that are not faces.
16527 (describe-face): Simplify.
16528 (face-at-point): New optional args thing and multiple so that this
16529 function can provide the same functionality previously provided by
16531 (make-face-bold, make-face-unbold, make-face-italic)
16532 (make-face-unitalic, make-face-bold-italic, invert-face)
16533 (modify-face, read-face-and-attribute): Use face-at-point.
16535 * cus-edit.el (customize-face, customize-face-other-window)
16536 * cus-theme.el (custom-theme-add-face)
16537 * face-remap.el (buffer-face-set)
16538 * facemenu.el (facemenu-set-face): Use face-at-point.
16540 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16542 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16544 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16546 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16547 off leading { and trailing } from field values.
16549 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16551 * emacs-lisp/timer.el (timer--check): New function.
16552 (timer--time, timer-set-function, timer-event-handler): Use it.
16553 (timer-set-idle-time): Simplify.
16554 (timer--activate): CSE.
16555 (timer-event-handler): Give more info in error message.
16556 (internal-timer-start-idle): New function, moved from C.
16558 * mpc.el (mpc-proc): Add `restart' argument.
16559 (mpc-proc-cmd): Use it.
16560 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16561 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16564 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16566 * progmodes/sh-script.el: Implement `sh-mode' own
16567 `add-log-current-defun-function' (bug#14112).
16568 (sh-current-defun-name): New function.
16569 (sh-mode): Use the function.
16571 2013-04-09 Bastien Guerry <bzg@gnu.org>
16573 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16575 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16577 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16579 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16582 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16584 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16587 2013-04-07 Leo Liu <sdl.web@gmail.com>
16589 * pcmpl-x.el: New file.
16591 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16593 Do not set x-display-name until X connection is established.
16594 This is needed to prevent from weird situation described at
16595 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16596 * frame.el (make-frame): Set x-display-name after call to
16597 window system initialization function, not before.
16598 * term/x-win.el (x-initialize-window-system): Add optional
16599 display argument and use it.
16600 * term/w32-win.el (w32-initialize-window-system):
16601 * term/ns-win.el (ns-initialize-window-system):
16602 * term/pc-win.el (msdos-initialize-window-system):
16603 Add compatible optional display argument.
16605 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16607 * files.el (normal-backup-enable-predicate): On MS-Windows and
16608 MS-DOS compare truenames of temporary-file-directory and of the
16609 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16610 don't fail comparison by compare-strings. Also, compare file
16611 names case-insensitively on MS-Windows and MS-DOS.
16613 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16615 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16616 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16618 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16620 * whitespace.el (whitespace-color-on, whitespace-color-off):
16621 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16623 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16625 * ispell.el (ispell-set-spellchecker-params):
16626 Really set `ispell-args' for all equivs.
16628 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16630 * ido.el (ido-completions): Use extra elements of ido-decorations
16632 (ido-decorations): Update docstring.
16634 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16636 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16637 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16638 nil during initialization, in order not to miss changes since the
16639 file was opened. (Bug#14140)
16641 2013-04-05 Leo Liu <sdl.web@gmail.com>
16643 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16645 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16647 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16649 2013-04-04 Glenn Morris <rgm@gnu.org>
16651 * electric.el (electric-pair-inhibit-predicate): Add :version.
16653 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16655 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16656 when a package is required several times (bug#14082).
16658 2013-04-04 Roland Winkler <winkler@gnu.org>
16660 * faces.el (read-face-name): Behave as promised by the docstring.
16661 Assume that arg default is a list of faces.
16662 (describe-face): Call read-face-name with list of default faces.
16664 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16666 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16667 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16668 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16670 (bookmark-exit-hook-internal): Save even if list is empty.
16672 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16674 * emacs-lisp/package.el (package-pinned-packages): New var.
16675 (package--add-to-archive-contents): Obey it (bug#14118).
16677 2013-04-03 Alan Mackenzie <acm@muc.de>
16679 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16680 Also adapt to the new values of element 7 of a parse state.
16682 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16683 parameter `not-in-delimiter'. Handle being inside comment opener.
16684 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16685 character in case we're typing a '*' after a '/'.
16686 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16687 instead by passing the parameter to c-state-pp-to-literal.
16689 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16690 for elt. 7 of a parse state.
16692 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16694 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16695 * international/latin1-disp.el, international/mule-util.el:
16696 * language/cyril-util.el, language/european.el, language/ind-util.el:
16697 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16698 * language/tibetan.el, language/viet-util.el:
16699 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16701 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16704 (electric-pair-post-self-insert-function): Use it.
16705 (electric-pair-default-inhibit): New function, extracted from
16706 electric-pair-post-self-insert-function.
16708 2013-03-31 Roland Winkler <winkler@gnu.org>
16710 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16712 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16714 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16716 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16718 Un-indent after "pass" and "return" statements (Bug#13888)
16719 * progmodes/python.el (python-indent-block-enders): New var.
16720 (python-indent-calculate-indentation): Use it.
16722 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16724 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16725 defun. Defining it as defalias could introduce too eager
16726 byte-compiler optimization. (Bug#14030)
16728 2013-03-30 Chong Yidong <cyd@gnu.org>
16730 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16732 2013-03-30 Leo Liu <sdl.web@gmail.com>
16734 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16735 (kmacro-execute-from-register): Pass the keyboard macro to
16736 kmacro-call-macro or repeating won't work correctly.
16738 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16740 * progmodes/subword.el: Back to using `forward-symbol'.
16742 * subr.el (forward-whitespace, forward-symbol)
16743 (forward-same-syntax): Move from thingatpt.el.
16745 2013-03-29 Leo Liu <sdl.web@gmail.com>
16747 * kmacro.el (kmacro-to-register): New command.
16748 (kmacro-execute-from-register): New function.
16749 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16751 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16753 * mpc.el: Use defvar-local and setq-local.
16754 (mpc--proc-connect): Connection failures are not bugs.
16755 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16756 (mpc-volume-map): Bind to the up-events.
16758 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16760 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16761 instead of `forward-symbol'.
16763 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16765 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16766 (edebug--recursive-edit): Use it.
16767 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16768 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16770 2013-03-28 Leo Liu <sdl.web@gmail.com>
16772 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16774 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16776 * facemenu.el (list-colors-callback): New defvar.
16777 (list-colors-redisplay): New function.
16778 (list-colors-display): Install list-colors-redisplay as the
16779 revert-buffer-function. (Bug#14063)
16781 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16783 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16784 and suffixes don't overlap (bug#14061).
16786 * case-table.el: Use lexical-binding.
16787 (case-table-get-table): New function.
16788 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16790 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16792 * progmodes/subword.el: Add `superword-mode' to do word motion
16793 over symbol_words (parallels and leverages `subword-mode' which
16794 does word motion inside MixedCaseWords).
16796 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16798 * eshell/em-unix.el: Move su and sudo to...
16799 * eshell/em-tramp.el: ...Eshell tramp module.
16801 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16803 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16804 Change return value to be a sexp. Delay `get-buffer' to after
16805 restoring the desktop (bug#13951).
16807 2013-03-26 Leo Liu <sdl.web@gmail.com>
16809 * register.el: Move semantic tag handling back to
16810 cedet/semantic/senator.el. (Bug#14052)
16812 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16814 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16815 into the prompt either (bug#13963).
16817 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16819 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16820 part of "(error-foo)".
16822 2013-03-24 Juri Linkov <juri@jurta.org>
16824 * replace.el (list-matching-lines-prefix-face): New defcustom.
16825 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16826 `occur-engine' if `face-differs-from-default-p' returns t.
16827 (occur-engine): Add `,' inside backquote construct to evaluate
16828 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16829 Pass `prefix-face' to the functions `occur-context-lines' and
16830 `occur-engine-add-prefix'.
16831 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16832 `prefix-face' and propertize the prefix with `prefix-face'.
16835 2013-03-24 Leo Liu <sdl.web@gmail.com>
16837 * nxml/rng-valid.el (rng-validate-while-idle)
16838 (rng-validate-quick-while-idle): Guard against deleted buffer.
16841 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16842 is the last entry in kill-buffer-hook.
16844 * files.el (kill-buffer-hook): Doc fix.
16846 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16848 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16849 Make it safe-local.
16851 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16853 2013-03-23 Leo Liu <sdl.web@gmail.com>
16855 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16858 * nxml/rng-valid.el (rng-validate-mode)
16859 (rng-after-change-function, rng-do-some-validation):
16860 * nxml/rng-maint.el (rng-validate-buffer):
16861 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16862 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16863 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16864 (nxml-extend-after-change-region): Use with-silent-modifications.
16866 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16869 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16870 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16871 timer-idle-list. (Bug#13999)
16873 2013-03-23 Juri Linkov <juri@jurta.org>
16875 * info.el (info-index-match): New face.
16876 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16877 main pattern and add text properties with the new face to matches
16878 in index entries relative to the beginning of the index entry.
16881 2013-03-21 Eric Ludlam <zappo@gnu.org>
16883 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16884 Inhibit read only while inserting objects.
16886 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16888 * progmodes/cfengine.el: Update docs to mention
16889 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16890 symbol motion. Remove "_" from the word syntax.
16892 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16894 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16895 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16897 2013-03-20 Juri Linkov <juri@jurta.org>
16899 * info.el (Info-next-reference-or-link)
16900 (Info-prev-reference-or-link): New functions.
16901 (Info-next-reference, Info-prev-reference): Use them.
16902 (Info-try-follow-nearest-node): Handle footnote navigation.
16903 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16905 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16907 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16908 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16910 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16912 Suppress unnecessary non-ASCII chatter during build process.
16913 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16914 (batch-skkdic-convert): Suppress most of the chatter.
16915 It's not needed so much now that machines are faster,
16916 and its non-ASCII component was confusing; see Dmitry Gutov in
16917 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16919 2013-03-20 Leo Liu <sdl.web@gmail.com>
16921 * ido.el (ido-chop): Fix bug#10994.
16923 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16925 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16927 (whitespace-color-on, whitespace-color-off):
16928 Use `font-lock-fontify-buffer' (Bug#13817).
16930 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16932 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16933 remapping in mode-line.
16934 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16936 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16938 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16939 value for `whitespace-line' face (Bug#13875).
16940 (whitespace-font-lock-keywords): Change description.
16941 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16942 the constructed keywords instead.
16943 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16945 2013-03-19 Leo Liu <sdl.web@gmail.com>
16947 * progmodes/compile.el (compilation-display-error): New command.
16948 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16951 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16953 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16955 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16957 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16959 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16961 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16963 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16964 * net/tramp-gvfs.el (top):
16965 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16966 (tramp-handle-shell-command): Use it.
16967 (tramp-dissect-file-name): Raise an error when hostname is a
16968 method name, and neither method nor user is specified.
16970 * net/trampver.el: Update release number.
16972 2013-03-18 Leo Liu <sdl.web@gmail.com>
16974 Make sure eldoc can be turned off properly.
16975 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16977 (eldoc-display-message-p): Revert last change.
16978 (eldoc-display-message-no-interference-p)
16979 (eldoc-print-current-symbol-info): Tweak.
16981 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16983 * doc-view.el (doc-view-new-window-function): Check the new window
16984 overlay's display property instead the char property of the
16985 buffer's first char. Use `with-selected-window' instead of
16986 `save-window-excursion' with `select-window'.
16987 (doc-view-document->bitmap): Check the current doc-view overlay's
16988 display property instead the char property of the buffer's first char.
16990 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16992 Automate the build of ja-dic.el (Bug#13984).
16993 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16994 from the input, rather than assume that it's been done for us by the
16995 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16996 the current date into a ja-dic.el comment, as that complicates
16997 regression testing.
16999 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17001 * whitespace.el: Fix double evaluation.
17002 (whitespace-space, whitespace-hspace, whitespace-tab)
17003 (whitespace-newline, whitespace-trailing, whitespace-line)
17004 (whitespace-space-before-tab, whitespace-indentation)
17005 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17007 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17008 (whitespace-color-on): Use a single font-lock-add-keywords call.
17009 Fix double-evaluation of face variables.
17011 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17013 * net/tramp-adb.el (tramp-adb-parse-device-names):
17014 Use `start-process' instead of `call-process'. Otherwise, the
17015 function might be blocked under MS Windows. (Bug#13299)
17017 2013-03-17 Leo Liu <sdl.web@gmail.com>
17019 Extend eldoc to display info in the mode-line. (Bug#13978)
17020 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17021 (eldoc-mode-line-string): New variable.
17022 (eldoc-minibuffer-message): New function.
17023 (eldoc-message-function): New variable.
17024 (eldoc-message): Use it.
17025 (eldoc-display-message-p)
17026 (eldoc-display-message-no-interference-p):
17027 Support eldoc-post-insert-mode.
17029 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17030 (eval-expression): Run it.
17032 2013-03-17 Roland Winkler <winkler@gnu.org>
17034 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17035 strings in the list of return values.
17037 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17039 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17040 radix before checking for HMS forms.
17042 2013-03-16 Leo Liu <sdl.web@gmail.com>
17044 * progmodes/scheme.el: Add indentation and font-locking for λ.
17047 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17049 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17050 token before point (bug#13942).
17052 2013-03-16 Leo Liu <sdl.web@gmail.com>
17054 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17056 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17058 * startup.el (command-line-normalize-file-name): Fix handling of
17059 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17060 <xfq.free@gmail.com> in
17061 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17063 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17065 Sync with Tramp 2.2.7.
17067 * net/trampver.el: Update release number.
17069 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17071 * doc-view.el: Fix bug#13887.
17072 (doc-view-insert-image): Don't modify overlay associated to
17073 non-live windows, and implement horizontal centering of image in
17074 case it's smaller than the window.
17075 (doc-view-new-window-function): Force redisplay of new windows on
17078 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17080 * saveplace.el (save-place-alist-to-file): Don't sort
17081 `save-place-alist', just pretty-print it (bug#13882).
17083 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17085 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17086 Check whether `default-file-name-coding-system' is bound.
17087 It isn't in XEmacs.
17089 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17091 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17092 backquotes for `obsolete' (bug#13929).
17094 * international/mule.el (find-auto-coding): Include file name in
17095 obsolescence warning (bug#13922).
17097 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17099 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17100 for CFEngine 3-specific indentation.
17101 (cfengine3-indent-line): Use it. Fix up category regex.
17102 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17104 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17106 * type-break.el (type-break-file-name):
17107 * textmodes/remember.el (remember-data-file):
17108 * strokes.el (strokes-file):
17109 * shadowfile.el (shadow-initialize):
17110 * saveplace.el (save-place-file):
17111 * ps-bdf.el (bdf-cache-file):
17112 * progmodes/idlwave.el (idlwave-config-directory):
17113 * net/quickurl.el (quickurl-url-file):
17114 * international/kkc.el (kkc-init-file-name):
17115 * ido.el (ido-save-directory-list-file):
17116 * emulation/viper.el (viper-custom-file-name):
17117 * emulation/vip.el (vip-startup-file):
17118 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17119 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17121 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17123 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17124 * language/thai-word.el: Switch to UTF-8.
17126 See ChangeLog.16 for earlier changes.
17128 ;; Local Variables:
17132 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17134 This file is part of GNU Emacs.
17136 GNU Emacs is free software: you can redistribute it and/or modify
17137 it under the terms of the GNU General Public License as published by
17138 the Free Software Foundation, either version 3 of the License, or
17139 (at your option) any later version.
17141 GNU Emacs is distributed in the hope that it will be useful,
17142 but WITHOUT ANY WARRANTY; without even the implied warranty of
17143 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17144 GNU General Public License for more details.
17146 You should have received a copy of the GNU General Public License
17147 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.