1 2015-04-01 Nicolas Petton <nicolas@petton.fr>
3 * Version 24.5 released.
5 2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7 * emacs-lisp/smie.el (smie-backward-sexp-command)
8 (smie-forward-sexp-command): Don't pretend the arg is optional
11 2015-03-23 Glenn Morris <rgm@gnu.org>
13 * emacs-lisp/authors.el (authors-aliases)
14 (authors-obsolete-files-regexps): Additions.
16 2015-03-22 Jan Djärv <jan.h.d@swipnet.se>
18 * simple.el (deactivate-mark): Only modify PRIMARY if we own
21 2015-03-22 Martin Rudalics <rudalics@gmx.at>
23 * emacs-lisp/debug.el (debug): Don't try using "previous" window
24 when its not live or on an invisible frame (Bug#17170).
26 2015-03-21 Mario Lang <mlang@delysid.org>
28 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
29 `recenter' if `current-buffer' is equal to `window-buffer'.
31 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
33 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
34 Detect regexps after `!'. (Bug#19285)
36 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
38 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
39 Use `font-lock-constant-face' for nil, true and false.
40 Highlight `self' as a keyword. (Bug#17733)
42 2015-03-20 Nobuyoshi Nakada <nobu@ruby-lang.org>
44 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
45 Expect beginning of regexp also after open brace or vertical bar.
48 2015-03-07 Michael Albinus <michael.albinus@gmx.de>
50 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
51 defcustom. (Bug#20015)
53 2015-03-07 Eli Zaretskii <eliz@gnu.org>
55 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
57 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
59 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
60 .dat files for aspell dicts are also searched for in location
61 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
64 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
66 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
67 (ispell-hunspell-fill-dictionary-entry)
68 (ispell-find-hunspell-dictionaries)
69 (ispell-set-spellchecker-params): New generic name for
70 `ispell-hunspell-dictionary-equivs-alist'.
71 (ispell-aspell-add-aliases): Also use
72 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
75 2015-02-24 Glenn Morris <rgm@gnu.org>
77 * net/browse-url.el (browse-url-firefox-startup-arguments):
79 (browse-url-firefox): Doc fix. Remove -remote, which no longer
80 exists in Firefox 36. (Bug#19921)
81 (browse-url-firefox-sentinel): Remove function.
83 2015-02-23 Eli Zaretskii <eliz@gnu.org>
85 * frame.el (blink-cursor-timer-function): Don't increment
86 blink-cursor-blinks-done counter when a menu is active on a w32
89 2015-02-19 Juri Linkov <juri@linkov.net>
91 * comint.el (comint-line-beginning-position): Revert searching for
92 the prompt when comint-use-prompt-regexp is non-nil because it
93 doesn't distinguish input from output. Check the field property
94 `output' for the case when comint-use-prompt-regexp is nil.
97 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
99 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
100 with PAGER=cat. (Bug#19870)
102 2015-02-13 Glenn Morris <rgm@gnu.org>
104 * textmodes/flyspell.el (flyspell-duplicate-distance):
107 2015-02-13 Eli Zaretskii <eliz@gnu.org>
109 * textmodes/text-mode.el (text-mode-syntax-table): Make some
110 punctuation character behave as word-constituent, for more
111 compatibility with Unicode.
113 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
115 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
117 Improve string search in `flyspell-word-search-*`. (Bug#16800)
118 * textmodes/flyspell.el (flyspell-duplicate-distance):
119 Limit default search distance for duplicated words to 40000.
120 (flyspell-word-search-backward, flyspell-word-search-forward):
121 Search as full word with defined casechars, not as substring.
123 2015-02-10 Juri Linkov <juri@linkov.net>
125 Better support for the case of typing RET on the prompt in comint.
126 * comint.el (comint-get-old-input-default): Go to the field end
127 when comint-use-prompt-regexp is nil.
128 (comint-line-beginning-position): Check if point is already
129 on the prompt before searching for the prompt when
130 comint-use-prompt-regexp is non-nil. (Bug#19710)
132 2015-02-08 Eli Zaretskii <eliz@gnu.org>
134 * frame.el (frame-notice-user-settings): Refresh the value of
135 frame parameters after calling tty-handle-reverse-video.
136 Call face-set-after-frame-default with the actual parameters, to avoid
137 resetting colors back to unspecified.
138 (set-background-color, set-foreground-color): Pass the foreground
139 and background colors to face-set-after-frame-default. (Bug#19802)
141 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
143 * net/network-stream.el (network-stream-open-tls): Respect the
144 :end-of-capability setting.
146 2015-02-05 Juri Linkov <juri@linkov.net>
148 Revert the previous change of comint-line-beginning-position callers,
149 and modify comint-line-beginning-position instead.
151 * comint.el (comint-history-isearch-search)
152 (comint-history-isearch-message, comint-history-isearch-wrap):
153 Use comint-line-beginning-position instead of field-beginning.
154 (comint-send-input): Use either end-of-line or field-end
155 depending on comint-use-prompt-regexp.
156 (comint-line-beginning-position): Search backward
157 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
158 Use field-beginning instead of line-beginning-position
159 if comint-use-prompt-regexp is nil. (Bug#19710)
161 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
163 * calendar/todo-mode.el (todo-item-done): When done items are
164 hidden, restore point to its location prior to invoking this
167 2015-02-04 Eli Zaretskii <eliz@gnu.org>
169 * textmodes/artist.el (artist-ellipse-compute-fill-info):
170 Use mapcar, not mapc, to create the other half of fill-info.
173 2015-02-04 Nicolas Petton <nicolas@petton.fr>
175 * emacs-lisp/authors.el (authors-ignored-files)
176 (authors-renamed-files-alist): Additions.
178 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
180 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
181 tempfile for ControlPath. (Bug#19702)
183 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
185 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
186 ControlPath if possible. (Bug#19702)
188 2015-02-02 Glenn Morris <rgm@gnu.org>
190 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
191 (authors-valid-file-names, authors-renamed-files-alist): Additions.
193 2015-02-01 Alan Mackenzie <acm@muc.de>
195 CC Mode: Stop Font Lock forcing fontification from BOL.
198 * progmodes/cc-mode.el (c-font-lock-init):
199 Setq font-lock-extend-region-functions to nil.
201 2015-01-31 Alan Mackenzie <acm@muc.de>
203 Handle "#" operator properly inside macro. Fix coding bug.
205 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
206 On finding a "#" which looks like the start of a macro, check it
207 isn't already inside a macro.
209 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
210 "safe" position into the list of them when this is beyond our
213 2015-01-31 Martin Rudalics <rudalics@gmx.at>
215 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
216 the menu frame is dead. (Bug#19728)
218 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
220 python.el: Handle tabs in python-indent-dedent-line.
222 * progmodes/python.el (python-indent-dedent-line): Fixes for
223 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
225 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
227 * progmodes/python.el (python-indent-context): Respect user
228 indentation after comment.
230 2015-01-29 Tassilo Horn <tsdh@gnu.org>
232 * textmodes/reftex-vars.el (featurep): Conditionalize value of
233 reftex-label-regexps in order to stay compatible with XEmacs 21.5
234 which has no explicitly numbered groups in regexps (bug#19714).
236 2015-01-28 Tassilo Horn <tsdh@gnu.org>
238 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
239 punctuation syntax since to allow bibtex fields with values such
240 as {Test 1) and 2)} (bug#19205, bug#19707).
241 (reftex--prepare-syntax-tables): New function.
242 (reftex-mode): Use it.
244 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
246 python.el: New non-global state dependent indentation engine.
247 (Bug#18319, Bug#19595)
249 * progmodes/python.el (python-syntax-comment-or-string-p):
250 Accept PPSS as argument.
251 (python-syntax-closing-paren-p): New function.
252 (python-indent-current-level)
253 (python-indent-levels): Mark obsolete.
254 (python-indent-context): Return more context cases.
255 (python-indent--calculate-indentation)
256 (python-indent--calculate-levels): New functions.
257 (python-indent-calculate-levels): Use them.
258 (python-indent-calculate-indentation, python-indent-line):
259 (python-indent-line-function): Rewritten to use new API.
260 (python-indent-dedent-line): Simplify logic.
261 (python-indent-dedent-line-backspace): Use `unless`.
262 (python-indent-toggle-levels): Delete function.
264 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
266 * calc/calc-units.el (math-units-in-expr-p)
267 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
268 (math-extract-units): Handle the `neg' operator. (Bug#19582)
271 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
273 * subr.el (posnp): Correct docstring of `posnp'.
274 (posn-col-row): Make it work with all mouse position objects.
275 * textmodes/artist.el (artist-mouse-draw-continously):
276 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
278 2015-01-20 Eli Zaretskii <eliz@gnu.org>
280 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
282 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
284 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
285 regardless of pcomplete-cycle-completions's value. (Bug#18950)
287 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
289 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
291 (file-notify--descriptor): New defun.
292 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
293 Adapt docstring. Handle multiple values for
294 `file-notify-descriptors' entries. (Bug#18880)
296 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
297 `file-notify-descriptors', the implementation has been changed.
299 2015-01-13 Juri Linkov <juri@linkov.net>
301 * comint.el (comint-history-isearch-search)
302 (comint-history-isearch-wrap): Use field-beginning instead of
303 comint-line-beginning-position.
304 (comint-send-input): Go to the end of the field instead of the end
305 of the line to accept whole multi-line input.
306 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
307 (comint-history-isearch-message): Use field-beginning
308 instead of comint-line-beginning-position - that's more fixes for
309 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
310 (comint-history-isearch-message): Fix args of isearch-message-prefix.
314 2015-01-09 Eli Zaretskii <eliz@gnu.org>
316 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
317 On MS-Windows, bind coding-system-for-read to the console output
318 codepage. (Bug#19458)
320 2015-01-08 Eli Zaretskii <eliz@gnu.org>
322 * simple.el (line-move-visual): When converting X pixel coordinate
323 to temporary-goal-column, adjust the value for right-to-left
324 screen lines. This fixes vertical-motion, next/prev-line, etc.
326 2015-01-06 Glenn Morris <rgm@gnu.org>
328 * progmodes/sh-script.el (sh-mode): Doc fix.
329 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
331 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
333 * emacs-lisp/package.el (package-menu-mode): Use an extra column
334 for the "Version" column, to accomodate date-and-time-based versions.
336 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
338 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
339 * files.el (shell-quote-wildcard-pattern): Also quote "`".
341 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
343 Unbreak `mouse-action' property in text buttons.
344 * button.el (push-button): Fix regression from 2012-12-06.
346 2015-01-01 Eli Zaretskii <eliz@gnu.org>
348 * tool-bar.el (tool-bar-local-item)
349 (tool-bar-local-item-from-menu): Call force-mode-line-update to
350 make sure the tool-bar changes show on display.
352 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
354 Sync with Tramp 2.2.11.
356 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
357 Make an alias for `default-toplevel-value' if it doesn't exist.
359 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
360 Use `tramp-compat-delete-directory'.
362 * net/trampver.el: Update release number.
364 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
366 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
367 for remote files. (Bug#19449)
369 2014-12-28 Eli Zaretskii <eliz@gnu.org>
371 * international/mule.el (define-coding-system): Fix typos in the
374 2014-12-28 Kenichi Handa <handa@gnu.org>
376 * international/mule.el (define-coding-system): Improve the doc
379 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
381 * progmodes/python.el (python-shell-buffer-substring):
382 Handle cornercase when region sent starts at point-min.
384 2014-12-27 Eli Zaretskii <eliz@gnu.org>
386 * language/misc-lang.el (composition-function-table): Add Syriac
387 characters and also ZWJ/ZWNJ. See
388 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
391 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
393 python.el: Fix message when sending region.
395 * progmodes/python.el (python-shell-send-region): Rename argument
396 send-main from nomain. Fix message.
397 (python-shell-send-buffer): Rename argument send-main from arg.
399 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
401 python.el: Cleanup temp files even with eval errors.
403 * progmodes/python.el (python-shell-send-file): Make file-name
404 mandatory. Fix temp file removal in the majority of cases.
406 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
408 python.el: Handle file encoding for shell.
410 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
411 (python-shell--save-temp-file): Write file with proper encoding.
412 (python-shell-buffer-substring): Add coding cookie for detected
413 encoding to generated content. Fix blank lines when removing
415 (python-shell-send-file): Handle file encoding.
416 (python-info-encoding-from-cookie)
417 (python-info-encoding): New functions.
419 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
421 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
422 Use `tramp-rsh-end-of-line', it ought to be more robust.
424 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
426 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
429 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
431 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
433 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
434 as end-of-line delimeter for passwords, when running on MS Windows.
436 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
438 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
439 of indent-line-function (bug#19433).
441 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
443 Fix line numbers on Python shell.
444 * progmodes/python.el (python-shell--save-temp-file): Do not
445 append coding cookie.
446 (python-shell-send-string): Generalize for
447 python-shell-send-region.
448 (python--use-fake-loc): Delete var.
449 (python-shell-buffer-substring): Cleanup fake-loc logic.
450 (python-shell-send-region): Remove fake-loc logic, simplify.
452 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
454 * progmodes/python.el (python-indent-post-self-insert-function):
455 Make colon to re-indent only for dedenters, handling
456 multiline-statements gracefully.
458 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
460 * net/tramp.el (tramp-handle-insert-file-contents):
461 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
463 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
465 * net/tramp-sh.el (tramp-send-command-and-read): New optional
467 (tramp-get-remote-path): Use it.
469 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
471 * subr.el (redisplay-dont-pause): Mark as obsolete.
473 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
475 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
476 (tramp-accept-process-output): Use nil as argument for
477 `accept-process-output', when there is a gateway prepended.
479 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
481 (tramp-gw-open-connection): Set process coding system 'binary.
482 (tramp-gw-open-network-stream): Handle HTTP error 403.
484 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
486 (tramp-maybe-open-connection): Set connection property "gateway".
488 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
490 * subr.el (sit-for): Tweak docstring (bug#19381).
492 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
494 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
495 stage to after `diff-index' (bug#19386).
497 2014-12-14 João Távora <joaotavora@gmail.com>
499 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
500 `electric-pair-mode' (bug#19356).
502 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
504 * simple.el (password-word-equivalents): Add "passcode", used for
505 numeric secrets like PINs or RSA tokens.
507 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
509 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
510 order to determine `tramp-own-remote-path'.
512 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
514 * progmodes/python.el (python-shell-parse-command):
515 Quote `python-shell-interpreter`. (Bug#19289)
517 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
519 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
520 of the whole pipe when indenting an opening keyword after a |.
521 Generalize this treatment to opening keywords like "while" (bug#18031).
523 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
525 * simple.el (newline): Place the hook buffer-locally,
526 to make sure it's first.
528 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
529 Fix handling of symbols with different syntax at beginning/end or with
530 symbol rather than word syntax.
532 2014-11-30 Eli Zaretskii <eliz@gnu.org>
534 * simple.el (line-move): If noninteractive, call line-move-1, not
535 forward-line, since the former is compatible with line-move-visual
536 both in terms of the column to which it moves and the return
539 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
540 Stefan Monnier <monnier@iro.umontreal.ca>
542 * outline.el (outline-move-subtree-down): Make sure we can move
543 forward to find the end of the subtree and the insertion point
546 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
548 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
549 for comment lines non-greedy and stopping at newlines to fix stack
550 overflows with large files. [Backport]
552 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
554 * progmodes/python.el (python-shell-completion-setup-code):
555 Use __builtin__ module (or builtins in Python 3) and catch all errors
556 when importing readline and rlcompleter.
558 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
560 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
561 (todo-revert-buffer): New function.
562 (todo-modes-set-1): Use it as the buffer-local value of
563 revert-buffer-function.
565 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
567 * calendar/todo-mode.el (todo-mode): If called interactively, just
568 display a message saying to call todo-show to enter Todo mode
571 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
573 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
576 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
579 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
581 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
582 remote `buffer-file-name'.
584 2014-11-23 Leo Liu <sdl.web@gmail.com>
586 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
588 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
590 Set PYTHONUNBUFFERED on shell startup.
592 * progmodes/python.el (python-shell-unbuffered): New var.
593 (python-shell-calculate-process-environment): Use it.
595 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
597 * net/tramp.el (tramp-action-password): Clean password on subsequent
598 attempts even if there was no wrong password indication. (Bug#19047)
600 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
602 (tramp-open-connection-setup-interactive-shell): No need to check
603 for nil as `tramp-get-remote-locale' return value.
605 2014-11-21 Eli Zaretskii <eliz@gnu.org>
607 * vc/vc-git.el (vc-git-command, vc-git--call):
608 Bind coding-system-for-read and coding-system-for-write to
609 vc-git-commits-coding-system.
610 (vc-git-previous-revision): Use "~1" instead of "^", since the
611 latter is a special character for MS-Windows system shells.
613 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
615 Improve XEmacs compatibility.
617 * net/tramp.el (tramp-autoload-file-name-handler):
618 Wrap `temporary-file-directory' by `symbol-value', it doesn't
620 (tramp-read-passwd): Don't use `with-timeout-suspend' and
621 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
622 (tramp-time-less-p, tramp-time-subtract): Remove functions.
623 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
624 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
625 * net/tramp-cache.el (tramp-get-file-property):
626 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
627 Use `time-less-p' and `time-subtract, respectively.
629 * net/tramp-adb.el (top): Do not require time-date.el.
631 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
633 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
634 Check, whether `utf-8' is a valid coding system.
636 2014-11-19 Eli Zaretskii <eliz@gnu.org>
638 * vc/vc.el (vc-retrieve-tag): Doc fix.
640 2014-11-17 Eli Zaretskii <eliz@gnu.org>
642 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
643 Don't assume --long is the default for "bzr log", always specify
644 it explicitly, in case the user defined an alias for 'log' that
645 uses some other format.
647 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
649 * progmodes/python.el (python-eldoc--get-doc-at-point):
650 Strip shell output before returning. (bug#18794)
652 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
654 Fix indentation before `!=' and after `+='. Originally reported
655 in https://github.com/mooz/js2-mode/issues/174.
656 * progmodes/js.el (js--indent-operator-re): Make assignments and
657 (in)equality operator a separate case.
658 (js--continued-expression-p): Escape the second `+' in the regexp.
660 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
662 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
664 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
666 * version.el (emacs-repository-get-version): Use git rev-parse
669 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
671 * progmodes/python.el (python-indent-calculate-levels):
672 Fix indentation behavior multiline dedenter statement. (Bug#18432)
674 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
676 * progmodes/python.el (python-indent-region):
677 Use python-indent-line and skip special cases. (Bug#18843)
679 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
681 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
683 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
685 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
686 envelope-from when reporting through sendmail (bug#19054).
688 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
690 * progmodes/python.el (python-ffap-module-path):
691 Use `derived-mode-p' instead of equality test on `major-mode'.
693 2014-11-13 Ulrich Müller <ulm@gentoo.org>
695 * version.el (emacs-repository-get-version): Call `git log'
696 command with proper format argument (bug#19049).
698 2014-11-10 Glenn Morris <rgm@gnu.org>
700 * startup.el (command-line): Handle nil elements in load-path.
702 2014-11-08 Glenn Morris <rgm@gnu.org>
704 * emacs-lisp/bytecomp.el (byte-compile-report-error):
705 Allow the argument to be a string. Due to the vague doc,
706 it was already being used this way.
708 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
710 * net/tramp.el (tramp-check-cached-permissions): Include hop in
711 the constructed Tramp file name. (Bug#18943)
713 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
715 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
717 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
718 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
720 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
722 * files.el (file-name-non-special): Wrap the call of
723 `insert-file-contents' by `unwind-protect', in order to set the
724 buffer's file name anyway. (Bug#18891)
726 2014-11-07 Daiki Ueno <ueno@gnu.org>
728 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
729 (bug#18979). Reported by Hideki Saito.
731 2014-10-18 Alan Mackenzie <acm@muc.de>
733 Check that a "macro" found near point-min isn't a ## operator.
734 Fixes bug #18749. Backported from trunk, 2014-11-05.
735 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
736 (c-beginning-of-macro): Use the above new function.
738 2014-11-05 Alan Mackenzie <acm@muc.de>
740 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
741 * progmodes/cc-fonts.el (c-font-lock-declarations):
742 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
743 the buffer is sometimes narrowed to less than "limit" (e.g., in
744 the presence of macros).
746 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
748 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
749 only when message appeared in minibuffer. (Bug#18891)
751 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
752 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
753 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
756 2014-11-04 Eli Zaretskii <eliz@gnu.org>
758 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
759 returned by load-average.
761 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
763 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
764 a local copy; setting `inhibit-file-name-handlers' proper might be
765 more performant. (Bug#18751)
767 2014-11-04 Glenn Morris <rgm@gnu.org>
769 * mail/emacsbug.el (report-emacs-bug): No longer include
770 recent-keys in the report. (Bug#18900)
772 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
774 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
775 local copy of FILENAME, when it is remote. (Bug#18751)
777 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
779 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
780 an error when the command fails; the return code must indicate.
781 (tramp-adb-send-command-and-check): Fix docstring.
783 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
785 * net/tramp-cache.el (tramp-get-file-property)
786 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
787 and `tramp-cache-set-count-*' are bound. Otherwise, there might
788 be compiler warnings.
790 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
791 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
793 2014-11-01 Eli Zaretskii <eliz@gnu.org>
795 * progmodes/compile.el (compilation-mode): Turn off deferred
796 fontifications locally. (Bug#18856)
798 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
800 * net/tramp-sh.el (tramp-send-command): Fix the case where the
801 remote-echo connection property is non-nil (bug#18858).
803 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
805 Backport Tramp changes from trunk.
807 * net/tramp.el (tramp-methods): Tweak docstring.
808 (tramp-file-name-handler): Apply `cons' where appropriate.
809 (tramp-handle-file-accessible-directory-p): Check for
810 `file-readable-p' instead of `file-executable-p'.
811 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
812 (tramp-handle-unhandled-file-name-directory): Return "/".
813 (tramp-check-cached-permissions):
814 Use `tramp-compat-file-attributes'.
815 (tramp-call-process): Add new argument VEC. Adapt callees in all
818 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
819 (tramp-adb-handle-write-region): Improve messages.
820 (tramp-adb-maybe-open-connection): Don't set
821 `tramp-current-*' variables.
823 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
824 Suppress debug messages.
826 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
827 (tramp-ftp-file-name-handler):
829 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
830 (tramp-gvfs-methods-mounttracker)
831 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
832 during initialization. (Bug#18774)
833 (tramp-gvfs-handle-delete-file): Flush file properties, not
834 directory properties.
835 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
836 reading "unix::mode".
837 (tramp-gvfs-handle-file-name-all-completions):
838 Use "-h" option for "gvfs-ls".
839 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
840 `user' and `localname' could be nil.
841 (tramp-gvfs-send-command): Simplify traces.
843 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
844 (vc-git-program, vc-hg-program): Declare.
845 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
846 (tramp-methods) <nc>: Add new method.
847 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
848 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
850 (tramp-default-user-alist): Add "nc".
851 (top): Remove completion function for "sftp". Add completion
852 functions for "nc" and "psftp".
853 (tramp-sh-handle-set-visited-file-modtime):
854 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
855 (tramp-do-copy-or-rename-file-out-of-band):
856 Use cached "remote-copy-args" value, if available. (Bug#18199)
857 Tweak docstring. Implement support for "nc" method.
858 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
859 (tramp-remote-coding-commands, tramp-call-local-coding-command):
861 (tramp-sh-handle-start-file-process): Expand `default-directory'.
862 (tramp-sh-handle-write-region): Tweak error message.
863 (tramp-sh-handle-vc-registered): Remove backends when the remote
864 binary does not exist.
865 (tramp-open-connection-setup-interactive-shell):
866 Prefer utf-8 coding. (Bug#17859)
867 (tramp-find-inline-encoding): Do not raise an error.
868 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
869 the "nc" case. Quote result also locally.
870 (tramp-get-remote-id): Check also for "gid".
871 (tramp-get-remote-python):
873 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
874 (tramp-smb-handle-set-file-acl): Use `start-process'.
875 (tramp-smb-handle-insert-directory): Use progress reporter.
876 (tramp-smb-handle-rename-file): Flush also file properties of
879 * net/trampver.el: Update release number.
881 2014-11-01 Reuben Thomas <rrt@sc3d.org>
883 * net/tramp.el (tramp-handle-file-symlink-p):
884 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
885 about VMS, which we no longer support.
887 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
889 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
890 the global vc-handled-backends (bug#18535).
892 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
893 Michael Albinus <michael.albinus@gmx.de>
895 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
896 Reduce the amount of set environment variable commands.
898 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
900 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
903 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
905 * net/tramp-sh.el (tramp-get-remote-python): Also search for
906 executables named "python2" or "python3".
907 (tramp-get-remote-uid-with-python): Use parentheses around
908 arguments to `print' to make it compatible with Python 3.
909 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
911 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
913 * simple.el (newline): Add assertions to try and help catch bug#18913.
915 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
917 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
919 2014-10-31 Eli Zaretskii <eliz@gnu.org>
921 * Makefile.in (repo-update): Fix a typo and slightly reword
924 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
926 * Makefile.in: Change some production names so they're neutral
927 about the repository type.
929 2014-10-30 Kim F. Storm <storm@cua.dk>
931 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
932 * delsel.el (delete-selection-save-to-register)
933 (delsel--replace-text-or-position): New vars.
934 (delete-active-region): Use them.
935 (delete-selection-repeat-replace-region): New command, moved from
937 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
938 (cua-repeat-replace-region): Move command to delsel.el.
939 (cua--init-keymaps): Update binding accordingly.
940 (cua-mode): Set delete-selection-save-to-register.
942 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
944 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
946 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
948 2014-10-29 Eli Zaretskii <eliz@gnu.org>
950 * progmodes/compile.el (compilation-start):
951 If compilation-scroll-output is non-nil, don't force window-start of
952 the compilation buffer to be at beginning of buffer. (Bug#18874)
954 2014-10-23 Tassilo Horn <tsdh@gnu.org>
956 * doc-view.el (doc-view-open-text): View the document's plain text
957 in the current buffer instead of a new one.
958 (doc-view-toggle-display): Handle the case where the current
959 buffer contains the plain text contents of the document.
960 (doc-view-initiate-display): Don't switch to fallback mode if the
961 user wants to view the doc's plain text. [Backport]
963 2014-10-23 Eli Zaretskii <eliz@gnu.org>
965 * startup.el (fancy-about-text): Read the entire tutorial, not
966 just its first 256 bytes. (Bug#18760)
968 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
970 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
971 * emacs-lisp/cl-extra.el: Add missing provide.
973 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
975 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
976 all args are copyable (bug#18767).
977 (=, <, >, <=, >=): Re-enable the optimization.
979 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
981 * vc/vc-hg.el (vc-hg-log-graph): New var.
982 (vc-hg-print-log): Use it.
983 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
984 graph output (bug#17515).
986 2014-10-20 Juri Linkov <juri@jurta.org>
988 * vc/diff-mode.el (diff-refine-changed): Rename from
989 `diff-refine-change' for consistency with `diff-changed'.
990 (diff-refine-change): Add obsolete face alias. (Bug#10181)
992 * vc/smerge-mode.el (smerge-refined-changed): Rename from
993 `smerge-refined-change'.
994 (smerge-refined-change): Add obsolete face alias.
996 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
998 * subr.el (call-process-shell-command, process-file-shell-command):
999 Make the `args' obsolete (bug#18409).
1000 (start-process-shell-command, start-file-process-shell-command):
1003 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
1005 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1007 2014-10-20 Glenn Morris <rgm@gnu.org>
1009 * dired.el (dired-read-regexp): Make obsolete.
1010 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1011 (dired-flag-files-regexp):
1012 * dired-aux.el (dired-mark-read-regexp):
1013 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1015 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1017 * progmodes/python.el (inferior-python-mode): Use add-hook.
1019 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
1021 2014-10-20 Glenn Morris <rgm@gnu.org>
1023 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1024 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1025 * emulation/ws-mode.el: Move to obsolete/. [Backport]
1027 2014-10-20 Glenn Morris <rgm@gnu.org>
1029 * cus-start.el (history-length): Bump :version. [Backport]
1031 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1035 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1037 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1040 2014-10-20 Glenn Morris <rgm@gnu.org>
1042 * Version 24.4 released.
1044 2014-10-15 Alan Mackenzie <acm@muc.de>
1046 * cus-edit.el (custom-command-apply): Specify the return value in
1048 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1049 custom-command-apply has returned non-nil.
1051 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1054 Backported (bug#18688).
1056 2014-10-14 Eli Zaretskii <eliz@gnu.org>
1058 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1059 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1060 buffer-menu display when the first buffer happens to start with
1063 2014-10-13 Glenn Morris <rgm@gnu.org>
1065 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1066 (authors-obsolete-files-regexps): Additions.
1067 (authors-no-scan-regexps): New constant.
1068 (authors-no-scan-file-p): New function.
1069 (authors): Respect authors-no-scan-file-p.
1071 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1073 Fix import completion. (Bug#18582)
1074 * progmodes/python.el (python-shell-completion-get-completions):
1075 Fix import case regexp.
1077 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1080 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1081 * progmodes/prolog.el (prolog-electric--underscore): Same.
1083 2014-10-09 Glenn Morris <rgm@gnu.org>
1085 * frame.el (display-monitor-attributes-list): Doc tweaks.
1087 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1089 * faces.el (display-grayscale-p): Mention in the doc string that
1090 the argument can be either a display name or a frame.
1092 * frame.el (display-pixel-height, display-pixel-width)
1093 (display-mm-height, display-mm-width, display-backing-store)
1094 (display-save-under, display-planes, display-color-cells)
1095 (display-visual-class, display-monitor-attributes-list)
1096 (display-screens): Mention in the doc string that the argument can
1097 be either a display name or a frame. Improve the docs of the
1098 monitor attributes. (Bug#18636)
1100 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1102 * term.el (term-window-width): Subtract 1 from the width when
1103 any fringe has zero width, not just the right fringe. (Bug#18601)
1105 2014-10-05 Leo Liu <sdl.web@gmail.com>
1107 * imenu.el (imenu-default-goto-function): Fix typo.
1109 2014-10-04 Glenn Morris <rgm@gnu.org>
1111 * frame.el (frame-monitor-attributes)
1112 (display-monitor-attributes-list): Doc fixes.
1114 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1116 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1117 (vc-svn-ignore): Use it. (Bug#18619)
1119 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1121 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1122 In doc-string mention need to set `frame-resize-pixelwise'.
1124 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1127 similarly to Rogers's 2010-06-16 change for the remote case
1130 2014-10-01 Glenn Morris <rgm@gnu.org>
1132 * emacs-lisp/package.el (package-import-keyring):
1133 Create gnupg directory private. (Bug#17625#155)
1135 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1137 * progmodes/python.el (python-shell-completion-get-completions):
1138 Use python-shell--prompt-calculated-input-regexp from the
1139 process buffer (bug#18582).
1140 Don't assume that `line' comes from the process buffer.
1142 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1144 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1147 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1149 * emacs-lisp/package.el (package-check-signature): Default to nil if
1150 GPG is not available.
1151 (package-refresh-contents): Don't mess with the keyring if we won't
1152 check the signatures anyway.
1154 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1156 * window.el (fit-window-to-buffer): When counting buffer width,
1157 count the whole visible buffer. Correctly convert the body-height
1158 to pixel size for window-text-pixel-size (Bug#18498).
1160 2014-09-14 Glenn Morris <rgm@gnu.org>
1162 * image.el (image-multi-frame-p): Fix thinko - do not force
1163 a delay if none was specified. (Bug#18334)
1165 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1167 * window.el (fit-window-to-buffer): Doc fix.
1169 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1171 * desktop.el (desktop-create-buffer): Check that buffers are still live
1172 before burying them (bug#18373).
1174 2014-09-09 Glenn Morris <rgm@gnu.org>
1176 * calendar/diary-lib.el (diary-list-entries):
1177 Restore 24.3 display behavior. (Bug#18381)
1179 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1181 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1182 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1183 discrepancy between window-pixel-edges and mouse events, and
1184 avoids moving mode line up when the mouse click is on the modeline
1185 and no drag is attempted.
1187 2014-09-08 Glenn Morris <rgm@gnu.org>
1189 * calendar/calendar.el (calendar-basic-setup):
1190 Avoid clobbering calendar with diary. (Bug#18381)
1192 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1194 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1196 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1198 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1199 as well (bug#18400).
1201 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1203 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1205 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1207 * emacs-lisp/package.el (package-generate-description-file):
1208 Properly quote the arguments (bug#18332). Change second arg.
1209 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1211 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1212 the *-pkg.el file. Adjust to new calling convention of
1213 package-generate-description-file.
1215 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1216 (gud-gdb-completions): Remove obsolete workaround.
1218 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1220 * subr.el (posn-col-row): Revert the change from commit
1221 2010-11-13T21:07:58Z!eliz@gnu.org, which
1222 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1223 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1224 introduced an off-by-one error in the reported row when there is a
1225 header line. (Bug#18384)
1227 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1229 * progmodes/python.el (python-indent-post-self-insert-function):
1230 Avoid electric colon at beginning-of-defun. (Bug#18228)
1232 2014-09-01 Glenn Morris <rgm@gnu.org>
1234 * tutorial.el (tutorial--display-changes):
1235 Fix 2014-07-29 change. (Bug#18382)
1237 2014-08-29 Ken Brown <kbrown@cornell.edu>
1239 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1240 the Cygwin-w32 build. (Bug#18347)
1242 2014-08-28 Glenn Morris <rgm@gnu.org>
1244 * tar-mode.el (tar--extract, tar-extract):
1245 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1247 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1249 * emacs-lisp/authors.el (authors-aliases): Addition.
1251 * net/tramp-adb.el: Spell author name correctly.
1253 2014-08-27 João Távora <joaotavora@gmail.com>
1255 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1256 use url-expand-file-name. (Bug#18310)
1258 2014-08-25 Glenn Morris <rgm@gnu.org>
1260 * emulation/cua-rect.el (cua--highlight-rectangle):
1261 Avoid error at point-min. (Bug#18309)
1263 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1266 executable-find (bug#18244).
1268 * simple.el (self-insert-uses-region-functions): Defvar.
1270 2014-08-13 Leo Liu <sdl.web@gmail.com>
1272 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1273 elements from imenu.
1275 2014-08-11 Glenn Morris <rgm@gnu.org>
1277 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1279 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1280 chose coding system for writing before backing up, since it causes
1281 a more serious problem than the one it solves. (Closes Bug#18141,
1284 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1286 * window.el (window-total-size): Make doc-string more
1289 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1291 * window.el (display-buffer-below-selected): Restore original
1292 behavior if buffer is already displayed in the window below the
1293 selected one (Bug#18181).
1295 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1300 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1302 * info.el (info): Doc fix.
1304 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1306 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1309 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1311 * simple.el (default-line-height): A floating-point value of
1312 line-spacing means a fraction of the default frame font's height,
1313 not of the font currently used by the 'default' face.
1314 Truncate the pixel value, like the display engine does.
1315 (window-screen-lines): Use window-inside-pixel-edges for
1316 determining the window height in pixels. (Bug#18195)
1318 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1320 * tutorial.el (tutorial--display-changes): Accept punctuation
1321 characters before the key binding. (Bug#18146)
1323 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1325 * doc-view.el (doc-view-open-text): Don't require that the
1326 document is saved in a file (e.g., email attachment).
1328 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1330 * window.el (window--pixel-to-total): Use FRAME's root window, not
1331 that of the selected frame. (Bug#18112, Bug#16674)
1333 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1335 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1338 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1340 * progmodes/python.el (inferior-python-mode): Doc fix.
1342 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1344 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1345 not a character, ignore it instead of raising an error.
1347 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1349 * calendar/todo-mode.el: Fix handling of marked items and make
1350 minor code improvements.
1351 (todo-edit-item): If there are marked items, ensure user can only
1352 invoke editing commands that work with marked items.
1353 (todo-edit-item--text): When there are marked items, make it a
1354 noop if invoked with point not on an item; otherwise, ensure it
1355 applies only to item at point.
1356 (todo-item-undone): If there are marked not-done items, return
1357 point to its original position before signaling user error.
1358 (todo--user-error-if-marked-done-item): New function.
1359 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1360 (todo-item-done): Use it.
1362 2014-07-25 Glenn Morris <rgm@gnu.org>
1364 * files.el (toggle-read-only): Re-add basic doc-string.
1365 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1367 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1368 Replace missing `switch-to-prolog' with `run-prolog'.
1369 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1371 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1373 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1374 of file-wide setting when changing category-wide setting.
1376 2014-07-21 Glenn Morris <rgm@gnu.org>
1378 * progmodes/hideif.el (hide-ifdef-mode-submap):
1379 Also substitute read-only-mode.
1380 * bindings.el (mode-line-toggle-read-only):
1381 * bs.el (bs-toggle-readonly):
1382 * buff-menu.el (Buffer-menu-toggle-read-only):
1383 * dired.el (dired-toggle-read-only):
1384 * files.el (view-read-only, find-file-read-only)
1385 (find-file-read-only-other-window)
1386 (find-file-read-only-other-frame):
1387 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1388 Doc fixes re toggle-read-only.
1390 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1392 * progmodes/python.el: Add comment about pipe buffering and
1393 solutions for missing/delayed output in inferior Python shells.
1396 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1398 * progmodes/python.el (python-mode): Don't set
1399 mode-require-final-newline. (Bug#17990)
1401 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1403 Make python.el work with IPython automatically. (Bug#15510)
1404 * progmodes/python.el:
1405 (python-shell-completion-setup-code): New value supporting iPython.
1406 (python-shell-completion-string-code): New value supporting iPython.
1407 (python-shell-completion-get-completions): Use them.
1408 (python-shell-completion-module-string-code): Make obsolete.
1409 (python-shell-prompt-input-regexps)
1410 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1411 (python-shell-output-filter): Fix comment typo.
1413 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1415 Fix Python shell prompts detection for remote hosts.
1416 * progmodes/python.el (python-shell-prompt-detect):
1417 Replace call-process with process-file and make it more robust.
1419 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1421 Autodetect Python shell prompts. (Bug#17370)
1422 * progmodes/python.el:
1423 (python-shell-interpreter-interactive-arg)
1424 (python-shell-prompt-detect-enabled)
1425 (python-shell-prompt-detect-failure-warning)
1426 (python-shell-prompt-input-regexps)
1427 (python-shell-prompt-output-regexps): New vars.
1428 (python-shell-prompt-calculated-input-regexp)
1429 (python-shell-prompt-calculated-output-regexp): New vars.
1430 (python-shell-get-process-name)
1431 (python-shell-internal-get-process-name)
1432 (python-shell-output-filter)
1433 (python-shell-completion-get-completions): Use them.
1434 (python-shell-prompt-detect)
1435 (python-shell-prompt-validate-regexps): New functions.
1436 (python-shell-prompt-set-calculated-regexps): New function.
1437 (inferior-python-mode): Use it. Also honor overridden
1438 python-shell-interpreter and python-shell-interpreter-args.
1439 (python-shell-make-comint): Honor overridden
1440 python-shell-interpreter and python-shell-interpreter-args.
1441 (python-shell-get-or-create-process): Make it testable by allowing
1442 to call run-python non-interactively.
1443 (python-util-valid-regexp-p): New function.
1444 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1445 (python-shell-prompt-output-regexp)
1446 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1448 2014-07-16 Glenn Morris <rgm@gnu.org>
1450 * desktop.el (after-init-hook): Disable startup frame restoration
1451 in non-graphical situations. (Bug#17693)
1453 2014-07-14 Glenn Morris <rgm@gnu.org>
1455 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1456 if it was "empty", or used for a different set of files. (Bug#17884)
1458 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1460 * bindings.el (mode-line-remote): If default-directory is not a
1461 string, don't call file-remote-p on it; instead state in the
1462 help-echo that it is nil. (Bug#17986)
1464 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1466 Fix bug: C-x v v discarded existing log message (Bug#17884).
1467 * vc/vc-dispatcher.el (vc-log-edit):
1468 Don't clobber an already-existing log message.
1470 2014-07-10 Glenn Morris <rgm@gnu.org>
1472 * vc/log-edit.el (log-edit-changelog-entries):
1473 Check for a visited-but-never-saved ChangeLog.
1475 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1478 a non-existing file (bug#17970).
1480 * faces.el (face-name): Undo last change.
1481 (x-resolve-font-name): Don't call face-name (bug#17956).
1483 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1485 Fix dedenters and electric colon handling. (Bug#15163)
1487 * progmodes/python.el
1488 (python-rx-constituents): Add dedenter and block-ender.
1489 (python-indent-dedenters, python-indent-block-enders): Delete.
1490 (python-indent-context): Return new case for dedenter-statement.
1491 (python-indent-calculate-indentation): Handle new case.
1492 (python-indent-calculate-levels): Fix levels calculation for
1493 dedenter statements.
1494 (python-indent-post-self-insert-function): Fix colon handling.
1495 (python-info-dedenter-opening-block-message): New function.
1496 (python-indent-line): Use it.
1497 (python-info-closing-block)
1498 (python-info-closing-block-message): Remove.
1499 (python-info-dedenter-opening-block-position)
1500 (python-info-dedenter-opening-block-positions)
1501 (python-info-dedenter-statement-p): New functions.
1503 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1506 the middle of a line (bug#17896).
1508 2014-07-08 Juri Linkov <juri@jurta.org>
1510 * startup.el (command-line): Append displaying the warning about
1511 the errors in the init file to the end of `after-init-hook'.
1514 2014-07-08 Juri Linkov <juri@jurta.org>
1516 * faces.el (face-name): Return input arg `face' as is
1517 when it's not a symbol.
1518 (x-resolve-font-name): Don't check if the face is a symbol.
1521 2014-07-08 Juri Linkov <juri@jurta.org>
1523 * facemenu.el (list-colors-print): In help-echo format use %.2f
1524 instead of %d because now HSV values are floating-point components
1525 between 0.0 and 1.0.
1527 2014-07-06 Glenn Morris <rgm@gnu.org>
1529 * emulation/cua-rect.el (cua--activate-rectangle):
1530 Avoid setting cua--rectangle to nil. (Bug#17877)
1532 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1534 * calendar/todo-mode.el: Fix wrong-type-argument error when
1535 marking multiple consecutive items.
1536 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1537 end of the todo and done items sections. Note in doc string that
1538 items marked by passing a numeric prefix argument can include the
1539 last todo and first done items.
1540 (todo-mark-category): Don't try to mark the empty line between the
1541 todo and done items sections.
1543 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1545 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1546 proper Lisp quoting (bug#17934).
1548 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1549 require-final-newline since prog-mode already took care of it (bug#17947).
1551 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1553 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1554 refer to the Todo mode Info manual. Update the comment on
1556 (todo-find-filtered-items-file): Add todo-prefix overlays.
1557 (todo-filter-items): Reorder a let-bound variable to avoid a
1558 wrong-type-argument error on canceling the file choice dialog.
1560 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * progmodes/octave.el (inferior-octave-mode):
1563 Set comint-input-ring-size to a number (bug#17912).
1565 2014-07-03 Juri Linkov <juri@jurta.org>
1567 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1568 and `isearch-mode' associated with nil. (Bug#17849)
1570 2014-07-02 Juri Linkov <juri@jurta.org>
1572 * desktop.el (desktop-save): Rename arg `auto-save' to
1573 `only-if-changed'. Doc fix. (Bug#17873)
1575 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1578 Use insert-for-yank (bug#17271).
1580 2014-07-02 Leo Liu <sdl.web@gmail.com>
1582 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1583 Support lexical-binding.
1585 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * vc/log-edit.el (log-edit-goto-eoh): New function.
1588 (log-edit--match-first-line): Use it (bug#17861).
1590 2014-07-01 Glenn Morris <rgm@gnu.org>
1592 * vc/log-edit.el (log-edit-hook): Add missing :version.
1594 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1596 * progmodes/python.el (python-indent-post-self-insert-function):
1597 Enhancements to electric indentation behavior inside
1600 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1602 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1603 buffer-invisibility-spec (bug#17867).
1605 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1607 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1610 2014-06-29 Glenn Morris <rgm@gnu.org>
1612 * cus-edit.el (help):
1613 * finder.el (finder-known-keywords):
1614 * help.el (help-for-help-internal):
1615 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1616 (ediff-redraw-registry-buffer):
1617 * vc/ediff-ptch.el (ediff-patch-file-internal):
1618 Doc fixes re "online" help. (Bug#17803)
1620 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1621 (idlwave-mode): Doc URL update.
1623 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1625 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1626 account for file-wide setting of todo-top-priorities-overrides.
1627 Make code a bit cleaner.
1629 2014-06-27 Leo Liu <sdl.web@gmail.com>
1631 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1633 2014-06-27 Glenn Morris <rgm@gnu.org>
1635 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1637 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1639 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1640 category-wide setting of todo-top-priorities-overrides, check for
1641 a file-wide setting and fontify accordingly.
1643 2014-06-26 Glenn Morris <rgm@gnu.org>
1645 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1647 2014-06-26 Daiki Ueno <ueno@gnu.org>
1649 * emacs-lisp/package.el (package--check-signature):
1650 If package-check-signature is allow-unsigned, don't signal error when
1651 we can't verify signature because of missing public key
1652 (backport for bug#17625).
1654 2014-06-26 Glenn Morris <rgm@gnu.org>
1656 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1657 Remove outdated declaration.
1659 * emacs-lisp/authors.el (authors-valid-file-names)
1660 (authors-renamed-files-alist): Additions.
1662 2014-06-25 Leo Liu <sdl.web@gmail.com>
1664 * textmodes/picture.el (picture-set-tab-stops):
1665 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1666 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1668 * progmodes/asm-mode.el (asm-calculate-indentation):
1669 Use indent-next-tab-stop.
1671 * indent.el (indent-accumulate-tab-stops): New function.
1673 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1675 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1676 (package-desc-status): Obey it.
1678 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1680 * calendar/todo-mode.el: Fix two bugs.
1681 (todo-insert-item--basic): If user cancels item insertion to
1682 another category before setting priority, show original category
1683 whether it is in the same or a different file.
1684 (todo-set-item-priority): After selecting category, instead of
1685 moving point to top, which extends an active region, restore it.
1687 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * help-fns.el (describe-function-1): Check file-name is a string before
1690 calling help-fns--autoloaded-p (bug#17564).
1692 2014-06-24 Juri Linkov <juri@jurta.org>
1694 * desktop.el (desktop-auto-save-enable)
1695 (desktop-auto-save-disable): New functions.
1696 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1697 (desktop-read): Disable the autosave before loading the desktop,
1698 and enable afterwards. (Bug#17351)
1700 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1702 Fix some indentation problem with \; and pipes (bug#17842).
1703 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1704 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1706 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1707 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1708 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1710 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1712 * international/fontset.el (script-representative-chars):
1713 Add representative characters for scripts added in Unicode 7.0.
1714 (otf-script-alist): Synchronize with the latest registry of OTF
1717 * international/characters.el (char-script-table): Update for
1718 scripts added and codepoint ranges changed in Unicode 7.0.
1720 2014-06-23 Leo Liu <sdl.web@gmail.com>
1722 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1723 tab-stop-list to nil. (Bug#16381)
1725 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1726 (indent-rigidly-left-to-tab-stop)
1727 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1728 (move-to-tab-stop): Change callers.
1730 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1732 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1733 wrt behavior of \n as the first/last element of a skeleton.
1735 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1737 * net/tramp-adb.el (tramp-adb-handle-process-file):
1738 * net/tramp-sh.el (tramp-sh-handle-process-file):
1739 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1740 the output buffer when DISPLAY is non-nil. (Bug#17815)
1742 2014-06-21 Glenn Morris <rgm@gnu.org>
1744 * play/landmark.el (landmark-move-down, landmark-move-up):
1745 Fix 2007-10-20 change - preserve horizontal position.
1747 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1749 Fix completion retrieval parsing (bug#17209).
1750 * progmodes/python.el (python-mode):
1751 (python-util-strip-string): New function.
1752 (python-shell-completion-get-completions): Use it.
1754 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1756 * skeleton.el (skeleton-insert): Fix last change.
1758 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1760 Enhancements for outline integration (bug#17796).
1761 * progmodes/python.el (python-mode): Properly set
1762 outline-heading-end-regexp so that comments after colons for
1763 defuns are supported.
1765 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1767 * skeleton.el (skeleton-insert): Doc fix.
1769 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1771 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1772 (smie-config-guess): Use smie-config-local so the rules are obeyed
1775 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1776 since it's already done inside the loop (bug#17819).
1778 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1780 * mouse.el (mouse-drag-line): Re-remove code initially removed
1781 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1784 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1787 align with the surrounding parent (bug#17721).
1789 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1791 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1793 (texinfo-insert-block, texinfo-insert-@end)
1794 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1795 local setting of skeleton-end-newline by adding an explicit \n to
1796 the skeletons where appropriate. (Bug#17801)
1798 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1800 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1801 (smie-indent--hanging-p): Use it.
1802 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1804 2014-06-20 Leo Liu <sdl.web@gmail.com>
1806 * simple.el (read-quoted-char): Don't let help chars pop up help
1809 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1814 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1817 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1820 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1822 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1823 and later. (Bug#17790)
1825 2014-06-18 Juri Linkov <juri@jurta.org>
1827 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1828 to `soft'. (Bug#17554)
1830 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1832 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1835 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1837 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1838 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1840 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1842 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1843 `unread-command-events'.
1845 2014-06-14 Glenn Morris <rgm@gnu.org>
1847 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1848 Replace delete-duplicates and mapcan by cl- versions throughout.
1849 And cl-macroexpand-all by macroexpand-all.
1850 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1852 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1854 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1856 2014-06-14 Juri Linkov <juri@jurta.org>
1858 * bindings.el: Put `ascii-character' property on keypad keys
1859 mapped to characters. (Bug#17759)
1861 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1864 bumping forward into a closing paren (bug#17761).
1866 * term/xterm.el (xterm--version-handler): Work around for OSX
1867 Terminal.app (bug#17607).
1869 2014-06-08 Glenn Morris <rgm@gnu.org>
1871 * startup.el (initial-buffer-choice): Doc fix.
1872 Reset :version (adding an option does not merit a :version bump).
1874 * bookmark.el (bookmark-load):
1875 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1877 2014-06-06 Juri Linkov <juri@jurta.org>
1879 * desktop.el: Activate auto-saving on window configuration changes.
1880 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1881 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1882 (desktop-auto-save-set-timer): Change REPEAT arg of
1883 `run-with-idle-timer' from t to nil.
1884 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1886 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1888 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1889 vc-hg-command (bug#17570).
1891 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1893 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1896 2014-06-06 Glenn Morris <rgm@gnu.org>
1898 * startup.el (window-setup-hook): Doc fix.
1900 2014-06-05 Glenn Morris <rgm@gnu.org>
1902 * emacs-lisp/package.el (package-check-signature)
1903 (package-unsigned-archives): Doc fixes.
1905 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1907 * window.el (display-buffer-use-some-window): Don't make window
1908 used smaller than it was before (Bug#17671).
1910 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1912 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1913 'redisplay' instead of '(sit-for 0)'.
1915 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1917 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1920 2014-06-03 Glenn Morris <rgm@gnu.org>
1922 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1924 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1926 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1928 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1930 * simple.el (keyboard-quit): Force update of mode lines, to remove
1931 the "Def" indicator, if we were defining a macro. (Bug#17615)
1933 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * minibuffer.el (minibuffer-force-complete-and-exit):
1936 Obey minibuffer-default (bug#17545).
1938 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1941 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1943 * subr.el (set-transient-map): Don't wait for some "nested"
1944 transient-map to finish if we're only supposed to be active for
1945 the next command (bug#17642).
1947 2014-05-31 Leo Liu <sdl.web@gmail.com>
1949 * emacs-lisp/gv.el (window-buffer, window-display-table)
1950 (window-dedicated-p, window-hscroll, window-point, window-start):
1951 Fix gv-expander. (Bug#17630)
1953 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1958 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1959 for the single comma, since ", " is *very* common in normal French text
1962 2014-05-30 Glenn Morris <rgm@gnu.org>
1964 * emacs-lisp/package.el (package-check-signature)
1965 (package-unsigned-archives): Fix :version.
1967 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * subr.el (sit-for): Don't run input-methods (bug#15614).
1971 2014-05-28 Glenn Morris <rgm@gnu.org>
1973 * cus-start.el: Fix some :version numbers.
1975 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * simple.el (deactivate-mark): Set mark-active to nil even if
1978 deactivation is done via setting transient-mark-mode to nil,
1979 since one is buffer-local and the other is global.
1981 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1982 there can't be more than 2 arguments (bug#17584).
1984 2014-05-27 Glenn Morris <rgm@gnu.org>
1986 * simple.el (filter-buffer-substring-functions)
1987 (filter-buffer-substring-function, buffer-substring-filters)
1988 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1990 * minibuffer.el (completion-in-region-functions, completion-in-region)
1991 (completion--in-region): Doc fixes.
1993 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1994 (expand-abbrev, abbrev--default-expand): Doc fixes.
1996 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1998 Include sources used to create macuvs.h.
1999 * international/README: Refer to the Unicode Terms of Use rather
2000 than copying it bodily here, as that simplifies maintenance.
2002 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
2004 * cus-face.el (custom-face-attributes): Add :distant-foreground.
2006 2014-05-25 Martin Rudalics <rudalics@gmx.at>
2008 * window.el (window--dump-frame): Remove interactive
2011 2014-05-23 Glenn Morris <rgm@gnu.org>
2013 * hippie-exp.el (he-line-search-regexp):
2014 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
2016 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2018 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2019 to avoid errors when trying to create or visit a file foo.todo
2020 located outside to todo-directory, and to allow having such files
2021 without them being tied to Todo mode (bug#17482).
2022 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2023 (todo-archive-done-item, todo-find-filtered-items-file)
2024 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2025 (todo-category-completions, todo-read-category): When visiting a
2026 Todo file, make sure we're in the right mode and the buffer local
2028 (todo-make-categories-list, todo-reset-nondiary-marker)
2029 (todo-reset-done-string, todo-reset-comment-string):
2030 After processing all Todo files, kill the buffers of those files that
2031 weren't being visited before the processing.
2032 (todo-display-as-todo-file, todo-add-to-buffer-list)
2033 (todo-visit-files-commands): Comment out.
2034 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2035 (auto-mode-alist): Remove add-to-list calls making Todo file
2036 extensions unrestrictedly tied to Todo modes.
2038 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2041 (advice-function-member-p): Tell it to check both names and functions
2043 (advice--add-function): Adjust call accordingly.
2045 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2047 * calendar/todo-mode.el: Miscellaneous bug fixes.
2048 (todo-delete-file): When deleting an archive but not its todo
2049 file, make sure to update the todo file's category sexp.
2050 (todo-move-category): Keep the moved category's name unless the
2051 file moved to already has a category with that name. If the
2052 numerically last category of the source file was moved, make the
2053 first category current to avoid selecting a nonexisting category.
2054 (todo-merge-category): Fix implementation to make merging to a
2055 category in another file work as documented. Eliminate now
2056 insufficient and unnecessary renaming of archive category, correct
2057 document string accordingly, and clarify it. If the numerically
2058 last category of the source file was merged, make the first
2059 category current to avoid selecting a nonexisting category.
2060 (todo-archive-done-item): When there are marked items and point
2061 happens to be on an unmarked item, ignore the latter. Don't leave
2062 point below last item after archiving marked items.
2063 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2064 from an archive with only one category deletes the archive only
2065 when the category is empty after unarchiving. Make sure the todo
2066 file's category sexp is updated.
2067 (todo-read-file-name): Allow an existing file name even when it is
2068 not required (todo-move-category needs this to work as documented).
2069 (todo-add-file): Call todo-validate-name to reject the name of an
2070 existing todo file (needed due to fix in todo-read-file-name).
2071 (todo-reset-nondiary-marker): Also reset in filtered items files.
2072 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2073 regexp filtered items files.
2074 (todo-reset-highlight-item): Also reset in filtered items files.
2075 Fix incorrect variable reference in document string.
2077 2014-05-22 Glenn Morris <rgm@gnu.org>
2079 * window.el (window--dump-frame): Avoid error in --without-x builds.
2081 2014-05-21 Glenn Morris <rgm@gnu.org>
2083 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2085 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2087 * frame.el (set-frame-font): Doc fix.
2089 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2091 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2093 * emacs-lisp/package.el (package--download-one-archive):
2094 Use `write-region' instead of `save-buffer' to avoid running various
2096 (describe-package-1): Same. Insert newline at the end of the
2097 buffer if appropriate.
2099 2014-05-20 Juri Linkov <juri@jurta.org>
2101 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2102 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2103 Add more modifiers: meta, control, shift, hyper, super, alt.
2106 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2107 to allow changing its value with `set-variable'.
2109 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2111 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2113 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2115 (scheme-mode-variables): Set syntax-propertize-function instead of
2116 font-lock-syntactic-face-function.
2117 (scheme-font-lock-syntactic-face-function): Delete.
2119 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2121 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2126 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2128 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2129 for a temporary file name.
2131 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2133 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2135 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2137 * net/dbus.el (dbus-init-bus, dbus-call-method)
2138 (dbus-call-method-asynchronously, dbus-send-signal)
2139 (dbus-method-return-internal, dbus-method-error-internal):
2140 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2142 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2144 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2145 methods which do not have a doc string. (Bug#17490)
2147 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2148 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2153 2014-05-14 Glenn Morris <rgm@gnu.org>
2155 * vc/emerge.el (emerge-temp-file-prefix):
2156 Make pointless option obsolete.
2157 (emerge-temp-file-mode): Make non-functional option obsolete.
2159 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2161 * net/browse-url.el (browse-url):
2162 Use `unhandled-file-name-directory' when setting `default-directory',
2163 in order to circumvent stalled remote connections. (Bug#17425)
2165 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2168 into autoloading just because of a silly indirection.
2170 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2172 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2174 2014-05-11 Glenn Morris <rgm@gnu.org>
2176 * emacs-lisp/find-gc.el: Move to ../admin.
2178 2014-05-10 Glenn Morris <rgm@gnu.org>
2180 * printing.el (pr-version):
2181 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2183 * net/browse-url.el (browse-url-mosaic):
2184 Create /tmp/Mosaic.PID as a private file.
2186 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2189 (advice--member-p): If name is given, only compare the name.
2190 (advice--remove-function): Don't stop at the first match.
2191 (advice--normalize-place): New function.
2192 (add-function, remove-function): Use it.
2193 (advice--add-function): Pass the name, if any, to
2194 advice--remove-function.
2196 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2198 * electric.el (electric-indent-post-self-insert-function): Don't use
2199 `pos' after modifying the buffer (bug#17449).
2201 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2203 * subr.el (function-put): Add function.
2205 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2207 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2208 Correct argument list to conform to todo-insert-item--basic.
2210 2014-05-09 Glenn Morris <rgm@gnu.org>
2212 * files.el (cd-absolute): Test if directory is accessible
2213 rather than executable. (Bug#17330)
2215 * progmodes/compile.el (recompile):
2216 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2218 2014-05-08 Juri Linkov <juri@jurta.org>
2220 * dired.el (dired-check-switches, dired-switches-recursive-p):
2221 New functions. (Bug#17218)
2222 (dired-switches-escape-p, dired-move-to-end-of-filename):
2223 Use `dired-check-switches'.
2224 (dired-insert-old-subdirs, dired-build-subdir-alist)
2225 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2227 2014-05-08 Glenn Morris <rgm@gnu.org>
2229 * net/browse-url.el (browse-url-mosaic):
2230 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2231 This is CVE-2014-3423.
2233 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2235 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2236 (xterm-mouse--read-event-sequence-1000): Return nil if something
2238 (xterm-mouse-event): Propagate it.
2239 (xterm-mouse-translate-1): Handle it.
2241 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2243 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2244 four slots of the parameter list are filled, make sure to pass it
2245 to the argument list of todo-insert-item--basic.
2247 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2249 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2250 Add optional `seen' argument to detect and break infinite loops.
2252 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2254 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2255 (trace-unsafe, trace-use-tree): Make parentheses style be
2256 according to Emacs style.
2258 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2260 * net/tramp-sh.el (tramp-remote-process-environment):
2261 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2263 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2264 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2265 extra "PSx=..." commands.
2266 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2269 (tramp-uudecode): Replace the hard-coded temporary file name by a
2271 (tramp-remote-coding-commands): Enhance docstring.
2272 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2274 This is CVE-2014-3424.
2276 2014-05-06 Glenn Morris <rgm@gnu.org>
2278 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2279 (find-gc-source-files): Update some names.
2280 (trace-call-tree): Simplify and update.
2281 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2282 This is CVE-2014-3422.
2284 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * minibuffer.el (completion--try-word-completion): Revert fix for
2287 Bug#15980 (bug#17375).
2289 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2290 Always store button numbers in the same way in xterm-mouse-last;
2291 Don't burp is xterm-mouse-last is not set as expected.
2292 Never return negative indices.
2294 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2296 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2297 Backtrack one char if the global/char-literal var matcher hits
2298 inside a string. The next char could be the beginning of an
2299 expression expansion.
2301 2014-05-05 Glenn Morris <rgm@gnu.org>
2303 * help-fns.el (describe-function-1): Test for an autoload before a
2304 macro, since `macrop' works on autoloads. (Bug#17410)
2306 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2310 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2311 Make sure the new point we return is within the new string (bug#17239).
2313 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2315 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2317 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2320 Use nil rather than `default' for the "default" appearance (bug#17388).
2321 * vc/ediff-util.el (ediff-inferior-compare-regions)
2322 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2323 a misleading `default' value when it's really a boolean.
2324 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2325 overlay is not visible.
2327 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2329 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2330 (todo-menu): Uncomment and update.
2332 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2334 * calendar/todo-mode.el: Reimplement item editing to have the same
2335 basic user interface as item insertion, and make small UI and
2336 larger internal improvements to the latter.
2337 (todo-insert-item): Add reference to the Todo mode user manual to
2338 the documentation string.
2339 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2340 adjust all callers. Change signature to combine diary and
2341 nonmarking arguments. Incorporate functionality of deleted item
2342 copying command and add error checking. Remove detailed
2343 descriptions of the arguments from the documentation string, since
2344 this is treated in the Todo mode user manual.
2345 (todo-copy-item, todo-edit-multiline-item)
2346 (todo-edit-done-item-comment, todo-edit-item-header)
2347 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2348 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2349 (todo-edit-item-date-year, todo-edit-item-date-month)
2350 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2352 (todo-edit-item): Reimplement as wrapper command for
2353 todo-edit-item--next-key and make it distinguish done and not done
2355 (todo-edit-item--text): New function, replacing old command
2356 todo-edit-item and incorporating deleted commands
2357 todo-edit-multiline-item and todo-edit-done-item-comment.
2358 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2359 Use only numeric value of prefix argument. Remove detailed
2360 descriptions of the arguments from the documentation string, since
2361 this is treated in the Todo mode user manual.
2362 (todo-edit-item--diary-inclusion): New function, replacing old
2363 command todo-edit-item-diary-inclusion and incorporating and fixing
2364 functionality of deleted command todo-edit-item-diary-nonmarking,
2365 making sure to remove todo-nondiary-marker when adding
2366 diary-nonmarking-symbol.
2367 (todo-edit-category-diary-inclusion): Make sure to delete
2368 diary-nonmarking-symbol when adding todo-nondiary-marker.
2369 (todo-edit-category-diary-nonmarking): Fix indentation.
2370 (todo-insert-item--parameters): Group diary and nonmarking
2371 parameters together.
2372 (todo-insert-item--apply-args): Adjust to signature of
2373 todo-insert-item--basic and incorporate copy parameter.
2374 Make small code improvements.
2375 (todo-insert-item--next-param): Improve prompt and adjust it to
2376 new parameter grouping. Remove obsolete code.
2377 (todo-edit-item--param-key-alist)
2378 (todo-edit-item--date-param-key-alist)
2379 (todo-edit-done-item--param-key-alist): New defconsts.
2380 (todo-edit-item--prompt): New variable.
2381 (todo-edit-item--next-key): New function.
2382 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2383 Remove bindings of deleted commands.
2385 2014-05-02 Leo Liu <sdl.web@gmail.com>
2387 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2389 2014-05-01 Glenn Morris <rgm@gnu.org>
2391 * allout-widgets.el (allout-widgets-tally)
2392 (allout-decorate-item-guides):
2393 * menu-bar.el (menu-bar-positive-p):
2394 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2395 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2396 * progmodes/js.el (js--inside-param-list-p)
2397 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2398 * progmodes/prolog.el (region-exists-p):
2399 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2400 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2401 Doc fixes (replace `iff').
2403 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2405 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2407 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2409 * dired.el (dired-initial-position-hook, dired-initial-position):
2412 2014-04-29 Glenn Morris <rgm@gnu.org>
2414 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2416 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2418 * faces.el (face-spec-recalc): Apply X resources only after the
2419 defface spec has been applied. Thus, X resources are no longer
2420 overridden by the defface spec which also fixes issues on win32 where
2421 the toolbar coloring was wrong because it is set through X resources
2422 and was (wrongfully) overridden. (Bug#16694)
2424 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2426 * textmodes/rst.el (electric-pair-pairs): Declare.
2427 (rst-mode): Set it (bug#17131).
2429 2014-04-27 Juri Linkov <juri@jurta.org>
2431 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2432 and `print-level' to nil. (Bug#17351)
2434 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2436 * battery.el (battery-update): Handle the case where battery
2437 status is "N/A" (bug#17319).
2439 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2441 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2442 Use equal-including-properties to compare help-echo strings (bug#17331).
2444 2014-04-24 Leo Liu <sdl.web@gmail.com>
2446 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2447 Fix syntax for @. (Bug#17325)
2449 2014-04-24 Daniel Colascione <dancol@dancol.org>
2451 * emacs-lisp/cl.el (gv): Require gv early to break eager
2452 macro-expansion cycles.
2454 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2456 * simple.el (region-active-p): Check there's a mark (bug#17324).
2458 * simple.el (completion-list-mode-map): Use choose-completion for the
2459 mouse binding as well (bug#17302).
2460 (completion-list-mode, completion-setup-function): Adjust docstring and
2461 echo area message accordingly.
2462 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2463 calling convention of choose-completion.
2464 * comint.el (comint-dynamic-list-completions):
2465 * term.el (term-dynamic-list-completions): Accept choose-completion.
2467 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2468 &, |, +, - and * can't be a division (bug#17317).
2470 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2472 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2473 features on gnome-terminal (bug#16988).
2475 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2477 * dired.el (dired-insert-set-properties): Do not consider
2478 subdirectory headings and empty lines to be information that
2479 `dired-hide-details-mode' should hide. (Bug#17228)
2481 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2483 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2484 Remove test messages.
2485 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2488 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2491 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2493 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2495 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2497 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2498 Set "IFS=" when using read builtin, in order to preserve spaces in
2499 the file name. Add test messages for hunting a bug on hydra.
2500 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2502 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2504 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2505 Don't prettify a word within a symbol.
2507 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2509 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2512 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2514 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2515 assignments such as "case=hello" (bug#17297).
2517 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2519 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2521 (tramp-file-name-handler, tramp-completion-file-name-handler):
2522 Revert patch from 2014-04-10, it isn't necessary anymore.
2523 (tramp-autoload-file-name-handler)
2524 (tramp-register-autoload-file-name-handlers): New defuns.
2525 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2526 (tramp-register-file-name-handlers): Remove also
2527 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2528 Do not autoload its invocation, but eval it after loading of 'tramp.
2530 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2532 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2534 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2537 was done (bug#17264).
2538 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2541 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2542 here-documents (bug#17262).
2544 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2546 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2547 Provide doc strings, as required by snarf-documentation.
2549 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2551 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2552 arg of overlays-at. Use `invisible-p'.
2554 * obsolete/lucid.el (extent-at):
2555 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2557 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2559 2014-04-14 João Távora <joaotavora@gmail.com>
2561 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2564 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2566 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2567 Use mapc to loop over a vector. (Bug#17257).
2569 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2571 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2572 patch, there are new problems with file names containing spaces.
2573 Get rid of backticks. (Bug#17238)
2575 2014-04-13 João Távora <joaotavora@gmail.com>
2577 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2580 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2582 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2583 (blink-cursor-mode): Mention customization variables and the
2584 effect of 'blink-cursor-blinks'.
2586 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2588 * simple.el (undo): Prevent insertion of identity mapping into
2589 undo-equiv-table so as undo-only does not inf loop in the presence
2590 of consecutive nils in undo list.
2592 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2594 * faces.el (make-face): Deprecate optional argument as it is no
2595 longer needed/used since the conditional X resources handling
2596 has been pushed down to make-face-x-resource-internal itself.
2597 (make-empty-face): Don't pass optional argument to make-face.
2599 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2601 * international/characters.el <standard-case-table>: Add entries
2602 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2603 Set category of Coptic characters be 'g' (Greek).
2605 2014-04-12 Leo Liu <sdl.web@gmail.com>
2607 * progmodes/octave.el (completion-table-with-cache): Define if not
2609 (octave-goto-function-definition)
2610 (octave-sync-function-file-names)
2611 (octave-find-definition-default-filename): Backquote upattern for
2614 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2616 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2617 name twice due to backticks. (Bug#17238)
2619 2014-04-11 Glenn Morris <rgm@gnu.org>
2621 * term/w32-win.el (x-win-suspend-error):
2622 * term/x-win.el (x-win-suspend-error): Sync docs.
2624 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2626 Ediff's overlay priorities cause more trouble than they solve.
2627 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2628 (ediff-highest-priority): Remove function (bug#17234).
2629 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2630 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2631 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2634 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2636 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2637 entry; use symbol boundaries to avoid mis-matches.
2639 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2641 * net/tramp.el (tramp-file-name-handler)
2642 (tramp-completion-file-name-handler): Avoid recursive loading.
2644 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2645 Quote result also locally.
2647 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2649 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2650 Module methods. (Bug#17216)
2652 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2654 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2655 (describe-bindings-internal): Mark obsolete.
2657 2014-04-07 João Távora <joaotavora@gmail.com>
2660 (electric-pair--syntax-ppss): When inside comments parse from
2662 (electric-pair--balance-info): Fix typo in comment.
2663 (electric-pair--in-unterminated-string-p): Delete.
2664 (electric-pair--unbalanced-strings-p): New function.
2665 (electric-pair-string-bound-function): New var.
2666 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2667 according to `electric-pair--in-unterminated-string-p'
2669 2014-04-07 João Távora <joaotavora@gmail.com>
2671 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2672 Inhibit quote pairing if point-max is inside an unterminated string.
2673 (electric-pair--looking-at-unterminated-string-p): Delete.
2674 (electric-pair--in-unterminated-string-p): New function.
2676 2014-04-07 Glenn Morris <rgm@gnu.org>
2678 * shell.el (shell-directory-tracker):
2679 Go back to just ignoring failures. (Bug#17159)
2681 2014-04-06 João Távora <joaotavora@gmail.com>
2683 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2684 backspace. (bug#16981)
2685 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2686 (electric-pair-backward-delete-char-untabify): Delete.
2687 (electric-pair-mode-map): Bind backspace to a menu item filtering
2688 a new `electric-pair-delete-pair' command.
2689 (electric-pair-delete-pair): New command.
2691 2014-04-06 João Távora <joaotavora@gmail.com>
2693 * progmodes/python.el (python-electric-pair-string-delimiter):
2694 Fix triple-quoting electricity. (Bug#17192)
2696 2014-04-06 João Távora <joaotavora@gmail.com>
2698 * elec-pair.el (electric-pair-post-self-insert-function):
2699 Don't skip whitespace when `electric-pair-text-pairs' and
2700 `electric-pair-pairs' were used. syntax to
2701 electric-pair--skip-whitespace. (Bug#17183)
2703 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2705 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2708 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2710 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2711 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2713 2014-04-05 Glenn Morris <rgm@gnu.org>
2715 * help.el (view-lossage): Doc tweak.
2717 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2719 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2720 only when inhibit-x-resources is nil, and do that earlier in the
2721 function. Doc fix. (Bug#16694)
2722 (face-spec-choose): Accept additional optional argument, whose
2723 value is returned if no matching attributes are found.
2724 (face-spec-recalc): Use the new optional argument when calling
2725 face-spec-choose. (Bug#16378)
2726 (make-face-x-resource-internal): Do nothing when
2727 inhibit-x-resources is non-nil. Don't touch the default face if
2728 reversed video is given--as was done in previous versions of Emacs.
2729 (face-set-after-frame-default): Don't call
2730 make-face-x-resource-internal here. (Bug#16434)
2732 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2734 * doc-view.el (doc-view-bookmark-jump):
2735 Use `bookmark-after-jump-hook' to jump to the right page after the
2736 buffer is shown in a window. (bug#16090)
2738 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2740 * international/characters.el (mirroring): Fix last change:
2741 instead of loading uni-mirrored.el explicitly, do that implicitly
2742 by creating the 'mirroring' uniprop table. This avoids announcing
2743 the loading of uni-mirrored.el.
2745 2014-04-04 Glenn Morris <rgm@gnu.org>
2747 * files.el (buffer-stale--default-function)
2748 (buffer-stale-function, revert-buffer--default):
2749 * autorevert.el (auto-revert-buffers): Doc tweaks.
2751 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2753 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2755 2014-04-03 Glenn Morris <rgm@gnu.org>
2757 * files.el (make-backup-file-name-function)
2758 (make-backup-file-name, make-backup-file-name--default-function)
2759 (make-backup-file-name-1, find-backup-file-name)
2760 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2761 (buffer-stale--default-function, buffer-stale-function)
2762 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2763 (revert-buffer, revert-buffer--default)
2764 (revert-buffer-insert-file-contents--default-function):
2765 Doc fixes related to defaults no longer being nil.
2766 (make-backup-file-name-function): Bump :version.
2767 Restore nil as a valid but deprecated custom type.
2769 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2771 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2772 used as a variable (bug#17174).
2774 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * progmodes/perl-mode.el (perl-indent-new-calculate):
2777 Handle forward-sexp failure (bug#16985).
2778 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2779 modifiers introducing expressions (bug#17116).
2781 2014-04-02 Glenn Morris <rgm@gnu.org>
2783 * menu-bar.el (menu-bar-file-menu):
2784 * vc/ediff.el (ediff-current-file):
2785 Update for revert-buffer-function no longer being nil by default.
2787 * simple.el (command-execute): Respect nil disabled-command-function.
2789 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2791 * simple.el (command-execute): Do not execute the command when it
2792 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2794 2014-03-29 Juri Linkov <juri@jurta.org>
2796 * dired-aux.el (dired-compress-file): Don't use string-match-p
2797 because its match data is used afterwards.
2799 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2801 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2804 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2806 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2807 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2809 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2810 Don't propertize `?' or `!' as symbol constituent when after
2813 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2815 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2816 which is no longer needed and causes trouble in GTK builds (bug#17046).
2818 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2819 Use url-insert-file-contents; package-handle-response no longer exists.
2821 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2823 * emacs-lisp/package.el: Fix bug#16733 (again).
2824 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2825 (url-http-target-url): Remove unused declarations.
2826 (package-handle-response): Remove.
2827 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2828 (package--download-one-archive): Use current-buffer instead of
2829 dynamic binding of `buffer'.
2830 (describe-package-1): Do not decode readme-string.
2832 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2834 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2836 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2838 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2840 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2841 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2842 `remote-file-name-inhibit-cache' to nil in the second pass.
2843 (tramp-find-executable): Do not call "which" on SunOS.
2844 (tramp-send-command-and-check): Fix docstring.
2845 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2846 check whether source directory has set the sticky bit.
2848 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2850 * simple.el (primitive-undo): Only process marker adjustments
2851 validated against their corresponding (TEXT . POS). Issue warning
2852 for lone marker adjustments in undo history. (Bug#16818)
2853 (undo-make-selective-list): Add marker adjustments to selective
2854 undo list based on whether their corresponding (TEXT . POS) is in
2855 the region. Remove variable adjusted-markers, which was unused
2856 and only non nil during undo-make-selective-list.
2857 (undo-elt-in-region): Return nil when passed a marker adjustment
2858 and explain in function doc.
2860 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2862 * emacs-lisp/package.el (package--add-to-archive-contents):
2863 Include already installed and built-in packages in
2864 `package-archive-contents'.
2865 (package-install): Don't include already installed packages in the
2866 options during interactive invocation. (Bug#16762)
2868 2014-03-24 Daniel Colascione <dancol@dancol.org>
2870 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2871 instead of cl-loop search function.
2873 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2875 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2877 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2879 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2881 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2883 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2884 Match special global variables without curlies, too.
2885 (ruby-font-lock-keywords): Simplify the matcher for special global
2886 variables. Don't require a non-word character after the variable.
2889 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2891 * simple.el (redisplay-highlight-region-function): Increase priority of
2892 overlay to make sure boundaries are visible (bug#15899).
2894 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2896 * frameset.el (frameset-restore): Compare display strings with equal.
2898 * frame.el (make-frame): Don't quote display name in error message,
2899 it is already a string.
2901 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2903 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2906 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2908 * emacs-lisp/package.el (package-show-package-list): If the buffer
2909 is already displayed in another window, switch to that window.
2911 2014-03-21 Daniel Colascione <dancol@dancol.org>
2913 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2914 information in bug reports.
2916 2014-03-23 Daniel Colascione <dancol@dancol.org>
2918 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2919 list to look for keyword arguments instead of `memq', fixing
2920 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2921 Please make bootstrap.
2923 2014-03-23 Richard Stallman <rms@gnu.org>
2925 * battery.el (battery-linux-sysfs): Search for each field
2926 from the beginning of the buffer.
2928 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2930 * emacs-lisp/package.el (package-desc): Use the contents of the
2931 quoted form, not its cdr. (Bug#16873)
2933 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2935 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2936 benefit of doc.c; change parameter profile to match the X function.
2938 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2940 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2941 and `tramp-copy-env'.
2943 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2944 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2946 2014-03-21 Glenn Morris <rgm@gnu.org>
2948 * electric.el (electric-indent-post-self-insert-function): Add doc.
2950 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2952 * emacs-lisp/package.el (package-compute-transaction):
2953 Use `version-list-<=' to compare the requirement version against
2954 the version of package already to be installed. Update the error
2955 message. (Bug#16826)
2957 * progmodes/ruby-mode.el (ruby-smie-rules):
2958 Add indentation rule for ` @ '. (Bug#17050)
2960 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2962 * align.el (align-regexp): Remove superfluous backslash.
2964 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2965 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2966 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2967 Fix docstring typos.
2968 (ffap-next): Use C-u in docstring.
2969 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2970 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2971 Remove superfluous backslashes.
2972 (ffap-string-at-point): Reflow docstring.
2974 * server.el (server-host): Reflow docstring.
2975 (server-unload-function): Fix docstring typo.
2976 (server-eval-at): Remove superfluous backslash.
2978 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2979 (skeleton-insert): Doc fix.
2980 (skeleton-insert): Reflow docstring.
2982 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2983 (tty-color-approximate, tty-color-by-index, tty-color-values)
2984 (tty-color-desc): Remove superfluous backslashes.
2986 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * electric.el (electric-newline-and-maybe-indent): New command.
2989 Bind it globally to C-j.
2990 (electric-indent-mode): Don't mess with the global map any more.
2991 Don't drop the post-self-insert-hook is some buffer is still using it
2994 * bindings.el (global-map): Remove C-j binding.
2996 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2997 the docstring of functions advised before dumping (bug#16993).
2999 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
3001 * ps-print.el (ps-generate-postscript-with-faces):
3002 Explicitly deactivate the mark (bug#16866).
3003 * simple.el (deactivate-mark): Update region highlight.
3005 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
3007 * emacs-lisp/package.el (describe-package-1):
3008 Decode commentary (bug#16733).
3010 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
3012 * custom.el (defcustom): Doc fix: recommend avoiding destructive
3013 modification of the value argument of :set (bug#16755).
3015 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3017 * simple.el (newline-and-indent): Do autofill (bug#17031).
3019 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
3021 * newcomment.el (comment-normalize-vars): Only add escaping check
3022 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
3023 (comment-beginning): Use `narrow-to-region' instead of moving back
3025 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3026 (comment-start-skip): Update the docstring.
3028 2014-03-18 Richard Stallman <rms@gnu.org>
3030 * dired.el (dired-display-file): Force use of other window.
3032 2014-03-18 Daniel Colascione <dancol@dancol.org>
3034 * startup.el (tty-handle-args): Remove debug message from 2007.
3036 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3038 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3039 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3040 (advice--make-1, advice-add, advice-remove):
3041 Remove braindead :advice-pending hack.
3043 2014-03-17 Glenn Morris <rgm@gnu.org>
3045 * calendar/calendar.el (calendar-generate-month): Apply weekend
3046 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3048 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3050 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3051 (tramp-call-process): Trace also DESTINATION.
3053 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3054 Quote file names when they are local. Remove superfluous trace.
3056 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3058 * newcomment.el (comment-beginning): If `comment-start-skip'
3059 doesn't match, move back one char and try again. (Bug#16971)
3061 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3062 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3063 Set `comment-start-skip' to a simpler value that doesn't try to
3064 check if the semicolon is escaped (this is handled by
3065 `syntax-ppss' now). (Bug#16971)
3067 * progmodes/scheme.el (scheme-mode-variables): Same.
3069 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3071 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3072 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3073 current (Bug#16816, Bug#17007).
3074 (with-current-buffer-window): New macro doing the same as
3075 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3076 * help.el (help-print-return-message): Warn in doc-string to not
3077 use this in `with-help-window'.
3078 (describe-bindings-internal): Call `describe-buffer-bindings'
3079 from within help buffer. See Juanma's scenario in (Bug#16816).
3080 (with-help-window): Update doc-string.
3081 * dired.el (dired-mark-pop-up):
3082 * files.el (save-buffers-kill-emacs):
3083 * register.el (register-preview): Use `with-current-buffer-window'
3084 instead of `with-temp-buffer-window'.
3086 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3088 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3089 Implement inserting into current buffer, documented in their docstrings.
3090 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3091 (rst-section-tree-point, rst-forward-section, rst-indent)
3092 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3093 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3094 (rst-font-lock-handle-adornment-pre-match-form)
3095 (rst-repeat-last-character): Reflow docstrings.
3096 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3097 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3098 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3099 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3100 Fix docstring typos.
3101 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3102 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3103 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3105 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3107 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3108 for compatibility with other ports.
3109 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3110 from the -xrm command line argument, but in the Nextstep port its value
3111 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3113 * progmodes/python.el (defconst, python-syntax-count-quotes)
3114 (python-indent-region, python-indent-shift-right)
3115 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3116 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3117 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3118 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3119 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3120 (python-shell-buffer-substring, python-shell-send-buffer)
3121 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3122 (python-completion-complete-at-point, python-fill-docstring-style)
3123 (python-eldoc-function, python-imenu-format-item-label)
3124 (python-imenu-format-parent-item-label)
3125 (python-imenu-format-parent-item-jump-label)
3126 (python-imenu--build-tree, python-imenu-create-index)
3127 (python-imenu-create-flat-index): Fix docstring typos.
3128 (python-indent-context, python-shell-prompt-regexp, run-python):
3129 Remove superfluous backslashes.
3130 (python-indent-line, python-nav-beginning-of-defun)
3131 (python-shell-get-buffer, python-shell-get-process)
3132 (python-info-current-defun, python-info-current-line-comment-p)
3133 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3134 (python-indent-post-self-insert-function, python-shell-send-file)
3135 (python-shell-completion-get-completions)
3136 (python-shell-completion-complete-or-indent)
3137 (python-eldoc--get-doc-at-point): Reflow docstrings.
3139 2014-03-14 Glenn Morris <rgm@gnu.org>
3141 * emacs-lisp/package.el (package-menu-mode-map):
3142 Replace use of obsolete function alias. Tweak menu item text.
3144 * info.el (Info-finder-find-node):
3145 Ignore the `emacs' metapackage. (Bug#10813)
3147 * finder.el (finder-list-matches): Include unversioned packages
3148 in the result of a keyword search.
3150 * finder.el (finder--builtins-descriptions): New constant.
3151 (finder-compile-keywords): Use finder--builtins-descriptions.
3153 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3155 * simple.el (blink-matching-paren): Describe the new value,
3156 `jump', enabling the old behavior.
3157 (blink-matching-open): Use that value. (Bug#17008)
3159 2014-03-14 Glenn Morris <rgm@gnu.org>
3161 * finder.el (finder-no-scan-regexp): Add leim-list.
3162 (finder-compile-keywords):
3163 Don't skip files with same basename. (Bug#14010)
3164 * Makefile.in (setwins_finder): New, excluding leim.
3165 (finder-data): Use setwins_finder.
3167 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3168 (help-function-arglist, help-make-usage): Move from here...
3169 * help.el (help-split-fundoc, help-add-fundoc-usage)
3170 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3171 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3173 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3175 * net/socks.el (socks, socks-override-functions)
3176 (socks-find-services-entry):
3177 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3178 (hif-find-ifdef-block):
3179 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3181 * net/tls.el (tls-program): Reflow docstring.
3183 * progmodes/pascal.el (pascal-mode-abbrev-table)
3184 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3185 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3186 (pascal-outline-mode): Fix docstring typos.
3187 (pascal-mode): Let define-derived-mode document mode hook.
3188 (pascal-uncomment-area): Reflow.
3189 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3191 * progmodes/opascal.el (opascal-compound-block-indent)
3192 (opascal-case-label-indent): Fix docstring typos.
3193 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3195 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3198 Fontify multiple adjacent negation chars. (Bug#17004)
3200 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3202 * emacs-lisp/package.el (package--prepare-dependencies):
3203 Accept requirements without explicit version (bug#14941).
3205 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3207 * register.el (register-separator, copy-to-register): Doc fixes.
3208 (register-preview-default): Remove unnecessary call to concat.
3210 * frameset.el (frameset-restore): When checking for a visible frame,
3211 use the action map instead of calling visible-frame-list.
3213 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3215 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3217 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3219 * window.el (fit-frame-to-buffer): Get maximum width from
3220 display's width instead of height.
3222 2014-03-12 Glenn Morris <rgm@gnu.org>
3224 * desktop.el (desktop-restore-frames)
3225 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3226 (desktop-restore-reuses-frames): Doc tweaks.
3228 * electric.el (electric-indent-mode): Doc fix.
3230 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3232 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3233 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3234 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3235 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3236 (cvs-dired-use-hook): Fix docstring typos.
3237 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3240 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3241 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3242 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3243 (cvs-execute-single-dir): Fix docstring typos.
3245 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3246 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3248 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3250 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3251 Fix docstring typos.
3253 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3255 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3256 called from jump-to-register after unloading the frameset package.
3258 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3261 (bug#16975). Deactivate the mark before setting it to nil.
3262 (activate-mark): Do nothing if region is already active.
3264 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3266 * frameset.el (frameset--target-display): Remove definition; declare.
3267 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3269 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3272 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3273 when the advice is pending.
3274 (advice-remove): Remove this marker when not needed any more.
3276 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3278 * frameset.el: Separate options for reusing frames and cleaning up.
3279 (frameset--reuse-list): Remove definition; declare.
3280 (frameset--action-map): Declare.
3281 (frameset--find-frame-if): Doc fix.
3282 (frameset--restore-frame): Cache frame action.
3283 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3284 how to clean up the frame list after restoring. Remove cleaning
3285 options from REUSE-FRAMES. Change all keyword values to symbols.
3286 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3288 * desktop.el (desktop-restore-forces-onscreen)
3289 (desktop-restore-reuses-frames): Use non-keyword values.
3290 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3292 2014-03-10 Glenn Morris <rgm@gnu.org>
3294 * files.el (find-file): Doc fix: update info node name.
3296 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3297 Doc fix: remove references to deleted info nodes.
3299 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3301 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3302 Do not add `nil' to the environment, when there's no remote `locale'.
3303 (tramp-find-inline-encoding): Check, that the remote host has
3304 installed perl, before sending scripts.
3306 2014-03-10 Leo Liu <sdl.web@gmail.com>
3308 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3309 Clear eldoc-last-message. (Bug#16920)
3311 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3313 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3316 2014-03-09 Juri Linkov <juri@jurta.org>
3318 * ansi-color.el (ansi-color-names-vector): Copy default colors
3319 from `xterm-standard-colors' that look well on the default white
3320 background (and also on the black background) to avoid illegible
3321 color combinations like yellow-on-white and white-on-white.
3322 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3324 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3326 * frameset.el (frameset-restore): When no frame is visible, do not
3327 generate a list of frames, just make visible the selected one.
3329 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3331 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3332 it only contains the repository root. (Bug#16897)
3334 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3336 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3337 only when `remote-file-name-inhibit-cache' is nil.
3338 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3340 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3342 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3344 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3345 fit-frame-to-buffer variable. Fix doc-string.
3346 (fit-window-to-buffer): Set ONLY argument in call of
3347 fit-frame-to-buffer. Fix doc-string.
3349 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3351 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3352 (tramp-action-password): Clear password cache if needed.
3353 (tramp-read-passwd): Do not clear password cache.
3355 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3356 cache unless it is the first password request.
3358 2014-03-06 Glenn Morris <rgm@gnu.org>
3360 * simple.el (newline): Doc tweak.
3362 * emacs-lisp/shadow.el (load-path-shadows-find):
3363 Ignore dir-locals. (Bug#12357)
3365 2014-03-05 Glenn Morris <rgm@gnu.org>
3367 * files.el (interpreter-mode-alist):
3368 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3370 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3372 * frameset.el (frameset--initial-params): Filter out null entries.
3374 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3376 * window.el (window-min-height, window-min-width):
3377 Rewrite doc-strings.
3378 (window-body-size): Add PIXELWISE argument to make it consistent
3381 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3383 * finder.el (finder-mode-map, finder-mode-syntax-table):
3384 Revert part of 2014-02-28 change.
3386 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3388 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3389 (eww-setup-buffer): Clear next/prev/etc more reliably.
3390 (eww-textarea-map): [tab] doesn't work on tty.
3391 Reported by Mario Lang.
3393 * net/shr.el (shr-map): Ditto.
3395 2014-03-04 Glenn Morris <rgm@gnu.org>
3397 * minibuffer.el (completion-hilit-commonality):
3398 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3400 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3402 * hilit-chg.el (hilit-chg-unload-function): New function.
3403 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3404 (hilit-chg-map-changes): Prefer cardinal number to digit.
3405 (hilit-chg-display-changes): Reflow docstring.
3406 (highlight-changes-rotate-faces): Remove superfluous backslash.
3408 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3410 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3411 `tramp-send-command-and-check'.
3413 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3415 * hexl.el (hexl-address-region, hexl-ascii-region)
3416 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3417 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3418 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3419 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3420 (hexl-mode): Doc fix.
3421 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3422 (hexl-mode-ruler): Fix typos in docstrings.
3424 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3425 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3426 Remove superfluous backslashes.
3427 (strokes-last-stroke, strokes-global-map, strokes-mode):
3429 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3430 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3431 (strokes-distance-squared, strokes-global-set-stroke)
3432 (strokes-global-set-stroke-string): Doc fixes.
3433 (strokes-help): Fix typos; reflow docstring.
3435 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3437 * window.el (window-in-direction): Fix doc-string.
3439 2014-03-04 Glenn Morris <rgm@gnu.org>
3441 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3442 Explicit error if no grammar.
3443 (smie-config-save): Doc fix. Fix quote typo.
3445 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3447 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3448 electric-indent-mode-hook if we obey electric-indent-mode.
3449 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3450 decide whether we obey electric-indent-mode.
3451 (c-change-set-fl-decl-start, c-extend-after-change-region):
3453 (c-electric-indent-mode-hook): Assume we do want to obey
3454 electric-indent-mode.
3456 * electric.el (electric-indent-mode-has-been-called): Remove.
3457 (electric-indent-mode): Fix accordingly.
3459 * files.el (hack-local-variables): Mention file name in warning.
3461 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3463 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3465 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3466 * simple.el (delete-forward-char): Mark as interactive-only.
3468 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3470 * icomplete.el (icomplete-completions):
3471 Follow-up to 2014-03-01 change.
3473 * icomplete.el: Miscellaneous doc fixes.
3474 Use Icomplete everywhere instead of icomplete for consistency.
3475 (icomplete-max-delay-chars): Fix typo.
3476 (icomplete-mode): Use \[].
3477 (icomplete-tidy, icomplete-exhibit): Reflow.
3478 (icomplete-minibuffer-setup-hook, icomplete-completions):
3479 Remove superfluous backlashes.
3481 * ido.el: Miscellaneous doc fixes.
3482 Use Ido everywhere instead of ido or `ido' for consistency.
3483 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3484 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3485 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3486 (ido-separator): Extract obsolescence info from docstring and declare
3487 with make-obsolete-variable.
3488 (ido-minibuffer-setup-hook): Simplify example.
3489 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3490 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3491 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3492 (ido-everywhere): Reflow docstring.
3493 (ido-toggle-vc): Doc fix.
3494 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3495 of long list of keybindings.
3497 2014-03-03 Glenn Morris <rgm@gnu.org>
3499 * frame.el (display-pixel-height, display-pixel-width)
3500 (display-mm-dimensions-alist, display-mm-height)
3501 (display-mm-width): Doc tweaks.
3503 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3505 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3506 case of undo in region.
3508 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3510 * window.el (fit-window-to-buffer): Fix argument in window-size
3511 call when window is horizontally combined.
3513 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3515 * icomplete.el (icomplete-completions): Use string-width.
3516 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3518 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3520 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3521 Highlight regexp options. (Bug#16914)
3523 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3525 * window.el (window--max-delta-1): Round down when calculating
3526 how many lines/columns we can get from a window.
3528 2014-03-01 Glenn Morris <rgm@gnu.org>
3530 * isearch.el (search-invisible): Doc fix.
3532 * minibuffer.el (completion-hilit-commonality):
3533 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3534 * comint.el (comint-dynamic-list-completions): Doc fix.
3535 * comint.el (comint-dynamic-list-completions):
3536 * filecache.el (file-cache-minibuffer-complete):
3537 * tempo.el (tempo-display-completions):
3538 * eshell/em-hist.el (eshell-list-history):
3539 Replace use of obsolete argument of display-completion-list.
3541 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3543 * icomplete.el (icomplete-completions):
3544 Revert back to using "..." when ?… cannot be displayed.
3546 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3548 * finder.el (finder-unload-function): New function.
3550 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3552 * dframe.el (dframe-detach):
3553 * find-dired.el (find-dired, find-name-dired):
3554 * finder.el (finder-mode-map, finder-mode-syntax-table)
3555 (finder-headmark, finder-select, finder-mouse-select):
3556 Fix docstring typos.
3558 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3560 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3561 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3562 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3563 Fix doc-string based on a suggestion by Nicolas Richard
3564 <theonewiththeevillook@yahoo.fr>.
3565 * help.el (with-help-window): Fix doc-string.
3567 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3569 * net/shr.el (shr-image-animate): New option.
3570 (shr-put-image): Respect shr-image-animate.
3572 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3574 * net/tramp-adb.el (tramp-adb-parse-device-names):
3575 Use `accept-process-output'.
3576 (tramp-adb-handle-file-truename): Cache the localname only.
3577 (tramp-adb-handle-make-directory)
3578 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3579 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3580 modes cannot be changed.
3582 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3583 file properties of symlinks.
3585 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3587 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3588 required/optional fields to match development biblatex. (Bug#16781)
3590 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3592 * saveplace.el (toggle-save-place):
3593 Fix argument handling. (Bug#16673)
3595 2014-02-28 Glenn Morris <rgm@gnu.org>
3597 * minibuffer.el (completions-first-difference)
3598 (completions-common-part, completion-hilit-commonality): Doc fixes.
3600 2014-02-28 Karl Berry <karl@gnu.org>
3602 * info.el (Info-mode-map): Add H for describe-mode,
3603 to synchronize with standalone Info.
3605 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3607 * progmodes/sql.el (sql-interactive-mode):
3608 Avoid setting global comint-input-ring-separator. (Bug#16814)
3610 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3612 * net/dbus.el (dbus--init-bus): Declare function.
3613 (dbus-path-local, dbus-interface-local): New defconst.
3614 (dbus-init-bus): Use them.
3615 (dbus-return-values-table): Extend doc.
3616 (dbus-handle-bus-disconnect): Extend error message.
3618 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3620 * subr.el (y-or-n-p): Fix double space issue in message.
3622 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3624 * net/tramp.el (tramp-call-process): Improve trace message.
3625 (tramp-handle-insert-file-contents): Trace error case.
3627 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3628 <insert-directory>: Use `tramp-handle-insert-directory'.
3629 (tramp-adb-handle-insert-directory): Remove function.
3630 (tramp-adb-send-command-and-check): New defun, replacing
3631 `tramp-adb-command-exit-status'. Change all callees.
3632 (tramp-adb-handle-file-attributes)
3633 (tramp-adb-handle-directory-files-and-attributes): Use it.
3634 (tramp-adb-ls-output-name-less-p):
3635 Use `directory-listing-before-filename-regexp'.
3636 (tramp-adb-handle-delete-directory): Flush also file properties of
3637 the truename of directory.
3638 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3639 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3640 (tramp-adb-handle-write-region): Implement APPEND.
3641 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3642 properties correctly.
3643 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3644 variables. Check for connected devices only when needed.
3646 2014-02-27 Glenn Morris <rgm@gnu.org>
3648 * minibuffer.el (completion-table-dynamic)
3649 (completion-table-with-cache): Doc fixes.
3651 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3652 (completing-read-multiple): Doc fixes.
3654 2014-02-27 Daniel Colascione <dancol@dancol.org>
3656 * minibuffer.el (completion--nth-completion): Fix indentation.
3658 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3659 explicit tramp path is empty.
3661 2014-02-27 Glenn Morris <rgm@gnu.org>
3663 * emacs-lisp/crm.el (completing-read-multiple):
3664 Empower help-enable-auto-load.
3666 2014-02-26 Glenn Morris <rgm@gnu.org>
3668 * startup.el (command-line): Don't init the tty in daemon mode.
3670 Avoid calling tty-setup-hook twice, eg if a term file
3671 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3672 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3673 (tty-create-frame-with-faces): Use it.
3674 * startup.el (command-line): Pass run-hook argument
3675 to tty-run-terminal-initialization.
3677 * dired.el (dired-restore-desktop-buffer): Demote errors;
3678 eg in case a glob match fails. (Bug#16884)
3680 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3682 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3683 error from `read-from-string'. (Bug#16850)
3685 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3686 result of `completing-read' in the interactive form. (Bug#16854)
3688 2014-02-25 Glenn Morris <rgm@gnu.org>
3690 * image.el (image-animate, image-animate-timeout):
3691 Stop animating images in dead buffers. (Bug#16878)
3693 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3695 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3697 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3698 * term/sun.el (sun-raw-prefix-hooks):
3699 Use tty-setup-hook instead of term-setup-hook.
3700 (terminal-init-sun): Construct message from bytecomp plist.
3701 * term/wyse50.el (enable-arrow-keys): Doc fix.
3703 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3705 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3706 Fix docstring typos.
3708 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3710 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3712 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3714 * minibuffer.el (completion--try-word-completion):
3715 Fix error when completing M-x commands (bug#16808).
3717 2014-02-24 Leo Liu <sdl.web@gmail.com>
3719 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3721 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3723 * apropos.el (apropos-print): Avoid formatting error when
3724 apropos-do-all and apropos-compact-layout are both t.
3726 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3728 * apropos.el (apropos-property, apropos-all-words-regexp)
3729 (apropos-true-hit, apropos-variable, apropos-print):
3730 Fix docstring typos, and remove obsolete comment.
3732 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3734 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3735 Preserve trailing "/". (Bug#16851)
3737 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3739 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3740 after `=>' (bug#16811).
3741 (ruby-smie-rules): Handle the inconsistent second element of the
3742 list returned by `smie-indent--parent'.
3743 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3746 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3748 * elec-pair.el (electric-pair-text-syntax-table)
3749 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3750 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3751 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3752 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3754 2014-02-22 Glenn Morris <rgm@gnu.org>
3756 * imenu.el (imenu--generic-function): Doc fix.
3758 * register.el (frame-configuration-to-register): Make obsolete.
3760 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3762 * desktop.el (desktop-save-buffer-p): Do not fail when
3763 desktop-files-not-to-save is nil. Return t for true result
3766 2014-02-22 Daniel Colascione <dancol@dancol.org>
3768 * net/secrets.el (secrets-create-item, secrets-search-items):
3769 Check that attribute values are strings, avoiding the construction
3770 of invalid dbus messages.
3772 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3774 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3775 defun-declarations-alist.
3777 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3779 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3782 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3784 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3785 (whitespace-newline, whitespace-trailing, whitespace-line)
3786 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3787 (whitespace-space-after-tab): Fix typo in docstrings.
3789 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3791 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3793 * electric.el (electric-indent-functions-without-reindent):
3794 Add `yaml-indent-line'.
3796 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3798 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3799 It has done nothing for years; should be removed after the release.
3801 * simple.el (choose-completion): Fix docstring typo.
3802 (read-quoted-char-radix): Remove unneeded * in docstring.
3803 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3804 Don't escape parentheses unnecessarily in docstrings.
3806 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3808 Fix handling of window-min-height/-width (Bug#16738).
3809 * window.el (window--dump-window, window--dump-frame):
3811 (window--min-size-1): Account for window dividers.
3812 When window-resize-pixelwise is nil, delay rounding till after the
3813 sum of the window components has been calculated.
3814 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3815 nil make sure at least one text line and two text columns remain
3817 (window-resize): Signal an error when window-resize-apply fails.
3818 (window--resize-child-windows): Fix calculation of by how many
3819 pixels a window can still be shrunk via window-new-normal.
3820 (adjust-window-trailing-edge): Call window--resizable with
3821 correct TRAIL argument.
3823 (with-temp-buffer-window): Don't evaluate BODY within
3824 with-current-buffer (Bug#16816).
3826 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3828 * net/tramp.el (tramp-check-cached-permissions):
3829 Call `file-attributes' with `suffix' being a symbol but a string.
3831 2014-02-21 Daniel Colascione <dancol@dancol.org>
3833 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3834 (dbus-init-bus): New function: call into dbus-init-bus-1
3835 and installs a handler for the disconnect signal.
3836 (dbus-call-method): Rewrite to look for result in cons.
3837 (dbus-call-method-handler): Store result in cons.
3838 (dbus-check-event): Recognize events with nil sender as valid.
3839 (dbus-handle-bus-disconnect): New function. React to bus
3840 disconnection signal by synthesizing dbus error for each
3841 pending synchronous or asynchronous call.
3842 (dbus-notice-synchronous-call-errors): New function.
3843 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3844 is true, not all the time.
3846 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3848 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3849 Remove obsolescence declarations, these variables do not exist anymore.
3851 * savehist.el (savehist-save-minibuffer-history)
3852 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3853 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3854 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3855 mostly, refer to "Savehist mode" when talking about the mode,
3856 and not the function.
3858 * saveplace.el (save-place): Remove redundant info in docstring.
3859 (save-place-forget-unreadable-files, toggle-save-place)
3860 (save-place-forget-unreadable-files, save-place-dired-hook):
3861 Fix typos and remove unneeded backslashes.
3863 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3865 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3866 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3868 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3869 <insert-directory>: Use `tramp-handle-insert-directory'.
3870 (tramp-gvfs-handle-insert-directory): Remove function.
3872 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3873 Call `tramp-handle-insert-directory'.
3875 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3877 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3878 before the start of buffer/region (bug#16799).
3880 2014-02-20 Glenn Morris <rgm@gnu.org>
3882 * isearch.el (search-invisible): Doc fix.
3884 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3886 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3889 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3891 * frameset.el (frameset-restore): Delay removing an old frame's
3892 duplicate id until the new frame has been correctly created.
3894 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3896 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3897 (tramp-check-cached-permissions): Call `file-attributes' if the
3900 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3901 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3903 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3904 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3905 (tramp-gvfs-maybe-open-connection): Set always connection
3906 properties, even if target is mounted already.
3908 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3909 Set tramp-autoload cookie.
3910 (tramp-get-remote-touch): New defun.
3911 (tramp-sh-handle-set-file-times): Use it.
3912 (tramp-sh-handle-directory-files-and-attributes):
3913 Use `tramp-handle-directory-files-and-attributes' if neither stat
3914 nor perl are available on the remote host.
3916 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3917 "/". Write long listing only when "l" belongs to the switches.
3919 * net/trampver.el: Update release number.
3921 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3923 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3925 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3927 * window.el (window-state-put): Allow WINDOW to refer to an
3928 internal window (Bug#16793).
3930 2014-02-19 Glenn Morris <rgm@gnu.org>
3932 * textmodes/remember.el: Move provide statement to end.
3933 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3934 (remember-notes): Doc fixes.
3936 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3938 * delsel.el (delete-char): Restore incorrectly erased property
3941 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3943 * frameset.el (frameset--restore-frame): When a frame is being reused
3944 and its root window is not alive, delete all the frame's windows before
3945 restoring the window state. This works around the issue in bug#16793.
3947 2014-02-18 Glenn Morris <rgm@gnu.org>
3949 * textmodes/remember.el (remember-data-directory)
3950 (remember-directory-file-name-format, remember-store-in-files)
3951 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3952 (remember-notes-save-and-bury-buffer)
3953 (remember-notes--kill-buffer-query): Doc fixes.
3955 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3957 2014-02-17 Alan Mackenzie <acm@muc.de>
3959 Connect electric-indent-mode up with CC Mode. Bug #15478.
3960 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3961 to electric-indent-{,local-}-mode.
3962 (c-basic-common-init): Set electric-indent-inhibit.
3963 Initialise c-electric-flag from electric-indent-mode.
3964 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3965 New hook functions which propagate electric-indent-mode to CC mode.
3967 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3968 hit, toggle electric-indent-local-mode.
3970 * electric.el (electric-indent-mode-has-been-called):
3973 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3975 * frameset.el (frameset-cfg-id): New function.
3976 (frameset--reuse-frame, frameset-restore): Use it.
3977 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3979 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3981 * ido.el (ido-file-internal): Remove unused var `d'.
3982 Use \` for to match BoS. Fit within 80n columns.
3984 2014-02-17 Daniel Colascione <dancol@dancol.org>
3986 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3987 dbus-call-method check for completion using a busy-wait loop with
3990 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3992 Sync with Tramp 2.2.9.
3994 * net/trampver.el: Update release number.
3996 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3998 * ido.el (ido-file-internal): Don't add the name of an existing
3999 directory twice. (Bug#16747)
4001 2014-02-16 Glenn Morris <rgm@gnu.org>
4003 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4004 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
4006 2014-02-15 Michael R. Mauger <michael@mauger.com>
4008 * progmodes/sql.el: Version 3.4
4009 (sql-oracle-options): New default value ("-L").
4010 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4011 (sql-placeholders-filter): Correct placeholder pattern.
4012 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
4013 (sql-login-delay): New variable.
4014 (sql-product-interactive): Use it.
4016 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
4018 * frameset.el (frameset--jump-to-register): Check that buffer is live
4021 2014-02-15 Glenn Morris <rgm@gnu.org>
4023 * info.el (info-initialize): Revert 2014-01-10 change.
4025 2014-02-14 Glenn Morris <rgm@gnu.org>
4027 * replace.el (map-query-replace-regexp)
4028 (read-regexp-defaults-function, read-regexp): Doc fixes.
4030 * dired.el (dired-read-regexp):
4031 * faces.el (list-faces-display):
4032 * misearch.el (multi-isearch-read-matching-buffers)
4033 (multi-isearch-read-matching-files):
4034 * play/cookie1.el (cookie-apropos):
4035 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4037 * textmodes/remember.el (remember): Use frameset-to-register
4038 rather than frame-configuration-to-register.
4040 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4042 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4043 incorrect keybinding.
4045 2014-02-13 Daniel Colascione <dancol@dancol.org>
4047 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4048 when adding overlays so that line numbers from compiler match line
4051 2014-02-13 Glenn Morris <rgm@gnu.org>
4053 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4055 * jit-lock.el (jit-lock-mode): Doc fix.
4057 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4059 * apropos.el (apropos-read-pattern): When the user passes an empty
4060 string, give a more helpful error message than "Wrong type
4061 argument: stringp, nil".
4063 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4065 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4067 2014-02-13 Glenn Morris <rgm@gnu.org>
4069 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4071 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4073 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4074 shift-select commands.
4076 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4078 * progmodes/js.el (js-indent-line): Don't widen.
4079 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4081 2014-02-12 Glenn Morris <rgm@gnu.org>
4083 * icomplete.el (icomplete): Add info-link to defgroup.
4084 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4085 (icomplete-minibuffer-map, icomplete-mode)
4086 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4088 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4089 (package-menu-filter): Rename from package-menu-filter-interactive.
4092 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4094 * frameset.el (frameset--jump-to-register): Select the required
4095 window and buffer before restoring position (bug#16696).
4097 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4099 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4101 2014-02-10 Glenn Morris <rgm@gnu.org>
4103 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4105 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4107 * w32-common-fns.el (x-get-selection): Doc fix.
4108 * select.el (x-get-selection): Doc fix. (Bug#15109)
4110 * face-remap.el (face-remap-add-relative)
4111 (face-remap-remove-relative, face-remap-reset-base)
4112 (face-remap-set-base): Call force-mode-line-update to redisplay
4113 the current buffer due to potential change in faces. (Bug#16709)
4115 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4117 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4118 script more robustly.
4120 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4122 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4124 * simple.el (choose-completion): Doc fix (bug#14160).
4126 * subr.el (event-start): Say what a nil EVENT value means.
4128 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4131 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4133 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4135 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4137 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4138 predicate function (bug#15455).
4140 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4142 * ielm.el (inferior-emacs-lisp-mode): Instead of
4143 `comment-use-global-state', set `comment-use-syntax'.
4145 2014-02-10 Glenn Morris <rgm@gnu.org>
4147 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4149 2014-02-09 Alan Mackenzie <acm@muc.de>
4151 Fix c-invalidate-state-cache on narrowed buffers.
4152 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4153 Widen when setting and clearing the CPP delimiter properties.
4155 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4157 * help.el (describe-bindings): Doc fix (bug#9888).
4159 * files.el (save-buffer): Use ARG as the parameter name for
4160 consistency (bug#10346).
4161 (save-buffer): Clarify the 0 argument (bug#10346).
4163 * cus-edit.el (customize-apropos): Fix error string.
4164 (custom-buffer-create): Doc fix (bug#11122).
4165 (custom-sort-items): Doc fix (bug#11121).
4167 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4169 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4170 (icomplete-simple-completing-p): Mention the previous variable.
4172 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4173 meaning of the parameter (bug#12282).
4175 * files.el (find-file-noselect): Clarify prompt when changing
4176 readedness (bug#13261).
4177 (locate-file): Suffixes aren't returned, so don't say that they
4179 (backup-inhibited): Doc clarification (bug#12525).
4181 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4182 before we actually start to delete things (bug#16331).
4184 * subr.el (event-start): Doc fix (bug#14228).
4187 2014-02-09 Glenn Morris <rgm@gnu.org>
4189 * emacs-lisp/warnings.el (lwarn):
4190 Empower help-enable-auto-load. (Bug#15940)
4192 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4194 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4197 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4199 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4200 Insert output at end of buffer. (Bug#16120)
4202 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4204 * simple.el (choose-completion-string-functions): Document new
4205 calling convention (bug#14153).
4206 (execute-extended-command): Clarify doc string (bug#13373).
4208 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4210 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4211 (find-grep-dired): Doc fix (bug#14288).
4213 2014-02-08 Juri Linkov <juri@jurta.org>
4215 * isearch.el (isearch-quote-char): Check character validity
4216 like in `quoted-insert' (bug#16677).
4218 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4220 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4222 * isearch.el (isearch-hide-immediately): Doc clarification
4225 * simple.el (line-move): Document utility function used many
4226 places in the Emacs sources (bug#14843).
4228 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4229 (dired-prev-marked-file): Doc fix (bug#14855).
4230 (dired-up-directory): Doc fix (bug#14848).
4232 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4234 * files.el (file-relative-name): Doc fix (bug#15159).
4236 * fringe.el (fringe-styles): Doc fix (bug#15239).
4238 * isearch.el (isearch-filter-predicate): Documentation typo fix
4241 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4243 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4245 * replace.el (replace-match-maybe-edit): Doc clarification
4248 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4250 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4252 2014-02-08 Glenn Morris <rgm@gnu.org>
4254 * help-fns.el (describe-variable):
4255 Check {file,dir}-local-variables-alist, and buffer-file-name,
4256 in the correct buffer.
4258 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4260 * help-fns.el (describe-variable): Fix the case where
4261 a value is directory-local with no dir-locals file. (Bug#16635)
4263 2014-02-08 Glenn Morris <rgm@gnu.org>
4265 * abbrev.el (edit-abbrevs-mode):
4266 Derive from fundamental-mode. (Bug#16682)
4268 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4270 * simple.el (quoted-insert): Check character validity (bug#16677).
4272 2014-02-07 Juri Linkov <juri@jurta.org>
4274 * desktop.el (desktop-read): Claim the lock when the owner is not
4275 the current process. (Bug#16157)
4277 2014-02-07 Juri Linkov <juri@jurta.org>
4279 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4280 to "\\` ". (Bug#16651)
4282 2014-02-07 Juri Linkov <juri@jurta.org>
4284 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4285 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4286 (desktop-auto-save-cancel-timer): New function with some code from
4287 `desktop-auto-save-set-timer'.
4288 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4289 Instead of setting `desktop-save-mode' to nil, call
4290 `desktop-save-mode' with arg 0. (Bug#16630)
4292 2014-02-07 Glenn Morris <rgm@gnu.org>
4294 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4295 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4296 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4298 * obsolete/iswitchb.el: Move to obsolete/.
4299 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4300 since obsolete/ is not scanned for autoloads.
4301 * emacs-lisp/authors.el (authors-valid-file-names):
4304 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4305 Disable now non-functional find-file-hook.
4307 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4309 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4310 instead of ";" in order to avoid additional prompts. Let heredoc
4311 scripts read from tty. (Bug#16582)
4312 (tramp-send-command): No special handling of heredocs, it isn't
4315 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4318 with a space (bug#16664). Limit the symbols considered to the ones
4319 that are bound or fbound (bug#16646).
4321 2014-02-06 Glenn Morris <rgm@gnu.org>
4323 * epa.el (epa-mail-aliases): Doc fix.
4325 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4327 * emacs-lisp/lisp.el (lisp-completion-at-point):
4328 Use `completion-table-merge' instead of `completion-table-in-turn'
4331 * minibuffer.el (completion-table-merge): New function.
4333 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4335 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4336 (tramp-sh-handle-set-file-acl)
4337 (tramp-sh-handle-start-file-process)
4338 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4339 (tramp-find-executable, tramp-send-command): Use it.
4341 2014-02-05 Glenn Morris <rgm@gnu.org>
4343 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4345 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4347 * progmodes/python.el (python-shell-send-string)
4348 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4350 2014-02-04 Anders Lindgren <andlind@gmail.com>
4352 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4353 the names (bug#16620).
4355 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4357 * faces.el (window-divider): New default value. Rewrite doc-string.
4358 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4360 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4363 `protected' and `public' can also be called without arguments.
4365 2014-02-03 Glenn Morris <rgm@gnu.org>
4367 * register.el (window-configuration-to-register)
4368 (frame-configuration-to-register): Unadvertise unused argument.
4369 * frameset.el (frameset-to-register): Remove unused argument.
4371 * frameset.el (frameset-to-register):
4372 * kmacro.el (kmacro-to-register):
4373 * register.el (increment-register):
4374 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4375 (calc-append-to-register, calc-prepend-to-register):
4376 * play/gametree.el (gametree-layout-to-register)
4377 (gametree-apply-register-layout):
4378 * textmodes/picture.el (picture-clear-rectangle-to-register)
4379 (picture-yank-rectangle-from-register):
4380 * vc/emerge.el (emerge-combine-versions-register):
4381 Use register-read-with-preview to read registers.
4383 2014-02-03 João Távora <joaotavora@gmail.com>
4385 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4386 when at beginning of (possibly narrowed) buffer.
4388 2014-02-02 Daniel Colascione <dancol@dancol.org>
4390 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4391 Also try to display local help from just before point.
4393 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4395 c-parse-state. Don't "append-lower-brace-pair" in certain
4396 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4397 recognised as a comment.
4399 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4400 as well as normal comment starter.
4401 (c-parse-state-get-strategy): Extra return possibility
4403 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4404 return value list to indicate replacement of a brace-pair cons
4406 (c-parse-state-1): With 'back-and-forward, only call
4407 c-append-lower-brace-pair-to state-cache when cons-separated.
4409 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4411 * term/ns-win.el (ns-suspend-error): New function.
4412 (ns-initialize-window-system): Add ns-suspend-error to
4413 suspend-hook (Bug#16612).
4415 2014-02-02 Daniel Colascione <dancol@dancol.org>
4417 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4418 Make loading cc-mode silent.
4420 2014-02-02 Daniel Colascione <dancol@dancol.org>
4422 * comint.el (comint-prompt-read-only): Change doc to suggest
4425 2014-02-02 Glenn Morris <rgm@gnu.org>
4427 * register.el (register-read-with-preview, point-to-register)
4428 (window-configuration-to-register, frame-configuration-to-register)
4429 (jump-to-register, number-to-register, view-register, insert-register)
4430 (copy-to-register, append-to-register, prepend-to-register)
4431 (copy-rectangle-to-register): Doc fixes.
4433 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4436 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4437 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4438 * help-fns.el (describe-function-1): Use it.
4440 2014-02-02 Glenn Morris <rgm@gnu.org>
4442 * register.el (register-preview-default): New function,
4443 split from register-preview.
4444 (register-preview-function): Rename from register-preview-functions,
4446 (register-preview): Use register-preview-function.
4447 (register-read-with-preview): Error on non-character event. (Bug#16595)
4449 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4451 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4452 `:' before binary operators (bug#16609). Don't check for `:'
4453 before `[' and `(', or their syntax status. A percent literal
4454 can't end with either.
4455 (ruby-font-lock-keywords): For built-ins that require arguments,
4456 check that they're followed by something that looks like argument
4459 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4461 * subr.el (butlast): Document what an omitted N means (bug#13437).
4464 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4466 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4467 depth shallower (bug#16587).
4468 (shr-tag-svg): Respect `shr-inhibit-images'.
4469 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4471 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4473 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4474 (ruby-smie-grammar): Make "." right-associative. Make its priority
4475 lower than the ternary and all binary operators.
4476 (ruby-smie-rules): Indent "(" relative to the first non-"."
4477 parent, or the first "." parent at indentation.
4478 Use `ruby-align-chained-calls' for indentation of "." tokens.
4481 2014-01-31 Juri Linkov <juri@jurta.org>
4483 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4484 from `make-hash-table'.
4486 * textmodes/ispell.el (ispell-init-process): Change message format
4487 to be consistent with other messages.
4489 2014-01-31 Glenn Morris <rgm@gnu.org>
4491 * delsel.el (delete-selection-mode): Doc fix.
4493 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4494 (trace-function-background): Doc fixes.
4496 * ido.el (ido-use-virtual-buffers): Doc fix.
4497 Reset :version, since the default value has not changed.
4499 * register.el (register-preview-delay, register-read-with-preview):
4502 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4503 do not mess with mail-buffer position (fixes 2009-11-03 change).
4504 * progmodes/cc-mode.el (c-submit-bug-report):
4505 Check auto-fill-mode is bound. (Bug#16592)
4507 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4509 * startup.el (fancy-splash-image-file): New function,
4510 split from fancy-splash-head.
4511 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4512 so that we are both using the same image. (Bug#16574)
4514 2014-01-30 Glenn Morris <rgm@gnu.org>
4516 * simple.el (eval-expression): Doc fix.
4518 * hexl.el (hexl-mode-hook):
4519 * ielm.el (ielm-mode-hook):
4520 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4521 (lisp-interaction-mode-hook):
4522 * progmodes/cfengine.el (cfengine3-documentation-function):
4523 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4525 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4527 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4528 is a symbol (bug#16584).
4530 2014-01-30 Glenn Morris <rgm@gnu.org>
4532 * help.el (help-for-help-internal): Add "P" to text.
4534 2014-01-29 Glenn Morris <rgm@gnu.org>
4536 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4538 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4540 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4543 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4545 * progmodes/hideif.el: Extend to full CPP expression syntax.
4546 (hif-token-alist): Add missing tokens.
4547 (hif-token-regexp): Add support for float/octal/hex immediates.
4548 (hif-string-literal-regexp): New const.
4549 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4550 (hif-exprlist): New function.
4551 (hif-parse-if-exp): Use it.
4552 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4553 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4554 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4555 (hif-logxor, hif-comma): New functions.
4557 2014-01-28 Glenn Morris <rgm@gnu.org>
4559 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4561 * indent.el (tab-stop-list): Doc fix. Add :version.
4563 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4564 (cvs-append-to-ignore): Add compatibility alias.
4566 2014-01-27 Glenn Morris <rgm@gnu.org>
4568 * dired.el (dired-hide-details-mode): Don't autoload it,
4569 since it cannot be used outside Dired buffers anyway.
4571 * emulation/cua-base.el (cua-mode): Doc fix.
4573 * dired.el (dired-hide-details-hide-symlink-targets)
4574 (dired-hide-details-hide-information-lines)
4575 (dired-hide-details-mode): Doc fixes.
4577 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4578 * strokes.el (strokes-file): Doc fix. Bump :version.
4579 (strokes-help): Doc fix.
4580 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4581 * emulation/viper.el (viper): Doc fix for custom group.
4582 (top-level): Remove oh-so-no-longer-relevant text about vip.
4583 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4585 * ido.el (ido-save-directory-list-file):
4586 * saveplace.el (save-place-file):
4587 * calendar/timeclock.el (timeclock-file):
4588 * net/quickurl.el (quickurl-url-file):
4589 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4590 * progmodes/idlwave.el (idlwave-config-directory):
4591 * textmodes/remember.el (remember-data-file):
4594 2014-01-26 Glenn Morris <rgm@gnu.org>
4596 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4597 Doc fix. Make obsolete.
4598 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4600 * sort.el (delete-duplicate-lines): Doc fix.
4602 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4604 * progmodes/ada-mode.el (ada):
4605 * woman.el (woman): Link to info manual and Commentary section.
4607 * progmodes/flymake.el (flymake):
4608 * nxml/nxml-mode.el (nxml):
4610 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4611 * htmlfontify.el (htmlfontify):
4614 * ido.el (ido): Link to info manual.
4616 2014-01-25 Leo Liu <sdl.web@gmail.com>
4618 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4620 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4622 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4625 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4627 * net/eww.el (eww-download-callback):
4628 Fix reference to eww-download-directory.
4630 * emacs-lisp/bytecomp.el (byte-compile-file):
4631 Remove unused local variable `file-name'.
4633 2014-01-24 Glenn Morris <rgm@gnu.org>
4635 * woman.el (woman-default-faces, woman-monochrome-faces):
4636 Fix obsolescence specification.
4638 * subr.el (with-demoted-errors): Doc fix.
4640 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4642 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4643 (cl--macroexp-fboundp): New function.
4644 (cl--make-type-test): Use it.
4646 2014-01-23 Glenn Morris <rgm@gnu.org>
4648 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4649 * simple.el (eval-expression): Doc fixes.
4651 2014-01-22 Glenn Morris <rgm@gnu.org>
4653 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4655 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4657 * emacs-lisp/package.el: Write files silently.
4658 (package-autoload-ensure-default-file, package--write-file-no-coding)
4659 (package-generate-description-file, package--download-one-archive)
4660 (package-install-from-archive): Tell `write-region' to stay quiet.
4661 (package-menu-mode, package-menu--print-info): Omit the Archive column
4662 if there's only one archive.
4663 (package-all-keywords, package--has-keyword-p): Remove dead code.
4665 2014-01-22 Glenn Morris <rgm@gnu.org>
4667 * version.el (emacs-bzr-version-bzr): Fix typo.
4669 * version.el (emacs-repository-get-version):
4670 Check either .bzr or .git, but not both.
4671 Make the git case actually use the DIR argument, and return nil
4672 rather than the empty string.
4673 Avoid error if .git exists but the git executable is not found.
4675 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4677 Fixes in window size functions around Bug#16430 and Bug#16470.
4678 * window.el (window-total-size, window-size): New argument ROUND.
4679 (window--min-delta-1, window-min-delta, window--max-delta-1):
4680 Be more conservative when calculating the numbers of lines or
4681 columns a window can shrink (Bug#16430).
4682 (fit-window-to-buffer): Simplify code.
4683 * term.el (term-window-width): Call window-body-width again.
4685 2014-01-22 Glenn Morris <rgm@gnu.org>
4687 * image.el (image-format-suffixes): Doc fix.
4689 * international/quail.el (quail-define-package): Doc fix.
4691 * emacs-lisp/authors.el (authors-valid-file-names)
4692 (authors-renamed-files-alist): Additions.
4694 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4695 reverts 2014-01-09 change. (Bug#16422)
4697 * calc/calc-embed.el (thing-at-point-looking-at):
4698 * emacs-lisp/map-ynp.el (x-popup-dialog):
4699 * obsolete/lmenu.el (x-popup-dialog):
4700 * emacs-lisp/package.el (url-recreate-url):
4701 * mail/mailclient.el (clipboard-kill-ring-save):
4702 * subr.el (x-popup-dialog): Update declaration.
4703 * mail/rmail.el (rmail-mime-message-p):
4704 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4706 2014-01-21 Daniel Colascione <dancol@dancol.org>
4708 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4709 Correctly detect when we're inside an arithmetic expansion form
4710 containing nested parenthesis.
4711 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4712 to detect cases where we shouldn't expand "<<" to a heredoc
4715 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4717 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4718 (eldoc--message-command-p): New function.
4719 (eldoc-display-message-p): Use it.
4720 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4721 message is not automatically erased for us.
4722 (eldoc-print-current-symbol-info): Erase previous message, if any.
4724 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4726 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4727 specify it's an interactive function.
4729 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4730 Fix regex used for scanning for citation keys which failed for
4731 citations with optional arguments.
4733 2014-01-21 Leo Liu <sdl.web@gmail.com>
4735 * simple.el (read--expression): Don't enable eldoc-mode.
4737 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4739 * simple.el (move-beginning-of-line): Make sure we don't move forward
4742 2014-01-20 Juri Linkov <juri@jurta.org>
4744 * saveplace.el (toggle-save-place, save-place-to-alist)
4745 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4746 'dired-mode) before checking for dired-directory. (Bug#16477)
4748 2014-01-20 Juri Linkov <juri@jurta.org>
4750 * indent.el (indent-line-to): Use backward-to-indentation
4751 instead of back-to-indentation. (Bug#16461)
4753 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4755 Revert some of the CANNOT_DUMP fix (Bug#16494).
4756 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4757 but fixing this can wait until after the next release.
4758 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4760 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4762 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4763 Use `password-word-equivalents'.
4764 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4765 to t. (Bug#5664, Bug#13124)
4767 2014-01-19 Alan Mackenzie <acm@muc.de>
4769 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4771 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4772 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4773 * progmodes/cc-mode.el (c-before-change, c-after-change)
4774 (c-font-lock-fontify-region): Bind it here.
4776 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4778 * term.el (term-window-width): Call window-text-width instead of
4779 window-width (Bug#16470).
4781 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4783 * simple.el (password-word-equivalents): Remove duplicates.
4784 Sort, to make this easier next time.
4785 Downcase. Omit ": " after "jelszó".
4787 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4789 * term/common-win.el (saved-region-selection): Defvar it.
4790 (x-select-text): Set saved-region-selection (Bug#16382).
4792 2014-01-18 Glenn Morris <rgm@gnu.org>
4794 * emacs-lisp/authors.el (authors-aliases)
4795 (authors-renamed-files-alist): Add some entries.
4797 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4799 * net/tramp.el (tramp-password-prompt-regexp):
4800 Use `password-word-equivalents' if available.
4801 (tramp-action-password, tramp-process-one-action)
4802 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4804 2014-01-17 Chong Yidong <cyd@gnu.org>
4806 * simple.el (password-word-equivalents): New defcustom.
4807 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4809 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4812 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4814 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4815 (ruby-align-to-stmt-keywords): Change the default value.
4816 Use `ruby-alignable-keywords' to generate the possible customization
4818 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4819 keywords, check against the value of `ruby-alignable-keywords'
4820 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4822 2014-01-17 Glenn Morris <rgm@gnu.org>
4824 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4826 Make M-x authors return zero *Authors Errors* from current logs.
4827 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4828 (authors-ignored-files): Add some entries, remove others.
4829 (authors-ambiguous-files, authors-valid-file-names):
4831 (authors-renamed-files-alist): Add, remove, and adjust entries.
4832 (authors-renamed-files-regexps): Add some entries.
4833 Remove some very broad ones. Make some entries `lax'.
4834 (authors-lax-changelogs): New constant.
4835 (authors-disambiguate-file-name): Treat top-level specially.
4836 (authors-lax-changelog-p): New function.
4837 (authors-canonical-file-name): Check file as written against
4838 authors-valid-file-names. Do not special-case etc/.
4839 Handle `lax' logs and authors-renamed-files-regexps elements.
4841 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4843 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4844 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4847 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4849 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4850 Assume we're already in the proper buffer.
4851 Inspired by Anders Lindgren <andlind@gmail.com>.
4852 (follow-post-command-hook): Call it from the right buffer.
4853 (follow-comint-scroll-to-bottom): Adjust call.
4854 (follow-all-followers): Use get-buffer-window-list.
4856 2014-01-15 Daniel Colascione <dancol@dancol.org>
4858 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4859 `buffer-file-name' in interactive-form so that we don't leave
4860 pathless file names in `file-name-history'.
4862 2014-01-15 Juri Linkov <juri@jurta.org>
4864 * indent.el (indent-rigidly): Set deactivate-mark to nil
4865 in transient indentation mode. (Bug#16438)
4867 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4869 * emacs-lisp/package.el (package-desc-keywords): New function
4871 (describe-package-1, package-all-keywords)
4872 (package--has-keyword-p): Use it.
4874 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4876 * simple.el (define-alternatives): When creating the
4877 COMMAND-alternatives variable, assign COMMAND as its definition
4878 name so that `describe-variable' can relocate it.
4880 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4882 * font-lock.el (font-lock-keywords): Fix typo in docstring
4885 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4887 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4888 line instead of wrongly reset `add-coment' (bug#13577).
4890 2014-01-14 Daiki Ueno <ueno@gnu.org>
4892 * epa-file.el (epa-file-write-region): Encode the region according
4893 to `buffer-file-format'. Problem reported at:
4894 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4896 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4899 so it applies in the right buffer (bug#16410).
4901 2014-01-13 Daniel Colascione <dancol@dancol.org>
4903 * textmodes/rst.el (rst-define-key): Provide deprecated
4904 keybindings through named functions instead of anonymous ones so
4905 that "??" doesn't appear in describe-mode output.
4907 2014-01-13 Bastien Guerry <bzg@gnu.org>
4909 * simple.el (define-alternatives): Call the selected command
4910 interactively. When setting `COMMAND--implementation' for the
4911 first time, tell the user how to chose another implementation.
4912 Enhance the docstring.
4914 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4916 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4917 (log-edit--match-first-line): New function.
4918 (log-edit-font-lock-keywords): Use it.
4919 (log-edit-mode): Make jit-lock-defer-multiline work.
4921 2014-01-13 Bastien Guerry <bzg@gnu.org>
4923 * rect.el (rectangle-mark-mode): When the region is not active,
4924 display a message saying that the mark as been set and that
4925 rectangle mode is in use.
4926 (rectangle--highlight-for-redisplay): Only put an overlay with a
4927 visible vertical bar when (display-graphic-p) is non-nil.
4928 This partially fixes Bug#16403.
4930 2014-01-13 Juri Linkov <juri@jurta.org>
4932 * info.el (Info-find-file): Go to DIR before displaying the error
4933 about a nonexistent file if no previous Info file is visited.
4934 Use `user-error' instead of `error' for "Info file %s does not exist".
4935 (Info-find-node-2): In case of a nonexistent node in unwind forms
4936 go to the Top node if there is no previous node to revert to.
4939 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4941 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4942 * window.el (fit-frame-to-buffer): Fix doc-string.
4943 Respect window-min-height/-width. Fit pixelwise when
4944 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4945 when avoiding that frame goes partially off-screen.
4946 (fit-window-to-buffer): Respect window-min-height/-width
4949 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4952 after an empty line.
4954 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4956 * net/shr.el (shr-render-region): Autoload.
4958 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4960 * net/eww.el (eww-download-directory): Rename from
4961 `eww-download-path' (Bug#16419).
4963 2014-01-12 Leo Liu <sdl.web@gmail.com>
4965 * dired-x.el (dired-mode-map): Fix last change.
4967 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4969 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4972 * emacs-lisp/generic.el (generic--normalize-comments):
4973 Rename from generic--normalise-comments. All uses changed.
4974 * play/bubbles.el (bubbles--neighborhood-score)
4975 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4976 (bubbles--neighborhood-available)
4977 (bubbles--update-neighborhood-score):
4978 Rename from names with 'neighbourhood'. All uses changed.
4980 2014-01-12 Leo Liu <sdl.web@gmail.com>
4982 Re-implement the feature of showing eldoc info after editing.
4983 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4984 (eldoc-edit-message-commands): New function.
4985 (eldoc-print-after-edit): New variable.
4986 (eldoc-pre-command-refresh-echo-area): Emit message only by
4987 eldoc-message-commands.
4988 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4989 if eldoc-print-after-edit is set. (Bug#16346)
4990 * simple.el (read--expression): Enable eldoc-mode.
4991 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4993 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4994 Eric S. Raymond <esr@thyrsus.com>
4996 * version.el (emacs-repository-get-version): Enhance so the
4997 function works correctly in either a Bazaar or Git repo.
4999 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
5001 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
5002 Goes with removal of the joke manpages from /etc.
5004 2014-01-10 Kenichi Handa <handa@gnu.org>
5006 * mail/rmail.el (rmail-get-coding-system):
5007 Check rmail-get-coding-function before "funcall"ing it.
5009 2014-01-10 Glenn Morris <rgm@gnu.org>
5011 * emacs-lisp/authors.el (authors-fixed-entries):
5012 Update for files that no longer exist.
5014 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
5016 * version.el (emacs-bzr-get-version): Restore compatibilty with
5019 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
5021 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5024 2014-01-10 Eli Zaretskii <eliz@gnu.org>
5026 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5028 2014-01-10 Chong Yidong <cyd@gnu.org>
5030 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5032 2014-01-10 Anders Lindgren <andlind@gmail.com>
5034 * follow.el (follow-cache-command-list): Include right-char and
5037 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5040 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5041 * woman.el (woman-mark-horizontal-position):
5042 Rename from woman-mark-horizonal-position. Use changed.
5044 2014-01-10 Glenn Morris <rgm@gnu.org>
5046 * info.el (info-initialize): If running uninstalled, ensure our
5047 own info files are always found first, even if INFOPATH is set.
5049 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5051 2014-01-09 David Engster <deng@randomsample.de>
5053 * emacs-lisp/eieio-custom.el:
5054 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5055 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5056 * emacs-lisp/eieio.el: Regenerate autoloads.
5058 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5060 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5061 following renames. (Bug#8756)
5063 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5065 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5067 (activate-mark): Add `no-tmm' argument.
5068 (set-mark, push-mark-command): Use it instead of running
5069 activate-mark-hook by hand.
5071 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5073 In preparation for the move to git, sanitize out some
5074 Bazaar-specific names.
5076 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5078 * version.el (emacs-bzr-version): Name changed to
5079 emacs-repository-version. Obsolete-variable alias made.
5080 * loadup.el: Follow through on this name change.
5081 * mail/emacsbug.el (report-emacs-bug): Factor out any
5082 assumption about the version control system in use.
5084 2014-01-08 David Engster <deng@randomsample.de>
5086 * help-fns.el (help-fns-describe-function-functions):
5087 New variable to call functions for augmenting help buffers.
5088 (describe-function-1): Remove explicit calls to
5089 `help-fns--compiler-macro', `help-fns--parent-mode' and
5090 `help-fns--obsolete'. Put them in above new variable instead, and
5091 call them through `run-hook-with-args'.
5092 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5093 `eieio-describe-class'. Not meant for interactive use anymore,
5094 but to augment existing help buffers. Remove optional second
5095 argument. Create proper button for file location.
5096 Rewrite function to use `insert' instead of `princ' and `prin1' where
5098 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5099 (eieio-method-def, eieio-class-def): Move further up.
5100 (describe-method, describe-generic, eieio-describe-method):
5102 (eieio-help-constructor, eieio-help-generic): Rename from
5103 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5104 Rewrite to use `insert' in the current buffer and use proper help
5106 (eieio-help-find-method-definition)
5107 (eieio-help-find-class-definition): Also accept symbols as
5109 (eieio-help-mode-augmentation-maybee): Remove.
5110 (eieio-describe-class-sb): Use `describe-function'.
5111 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5112 Add `eieio-help-generic' and `eieio-help-constructor'.
5114 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5117 * language/china-util.el (hz-ascii-designation):
5118 Rename from hz-ascii-designnation.
5119 (hz-ascii-designation): Rename from hz-ascii-designnation.
5122 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5127 2014-01-08 Bastien Guerry <bzg@gnu.org>
5129 * emacs-lisp/package.el (package-delete):
5130 Correctly delete the package from package-alist.
5132 2014-01-08 Daiki Ueno <ueno@gnu.org>
5134 * emacs-lisp/package.el (url-recreate-url): Declare.
5135 (url-http-target-url): Declare.
5136 (package-handle-response): Include requested URL in the error message.
5137 (package--check-signature): Don't re-signal errors from
5138 package--with-work-buffer. Suggested by Stefan Monnier.
5140 2014-01-07 Bastien Guerry <bzg@gnu.org>
5142 * minibuffer.el (completion--try-word-completion): When both a
5143 hyphen and a space are possible candidates for the character
5144 following a word, display both candidates. (Bug#15980)
5146 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5148 * window.el (balance-windows-2): While rounding don't give a
5149 window more than the remainder. Bug#16351, bug#16383.
5151 2014-01-07 Glenn Morris <rgm@gnu.org>
5153 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5154 (menu-bar-help-menu): Use view-external-packages instead.
5156 2014-01-07 Bastien Guerry <bzg@gnu.org>
5158 * emacs-lisp/package.el (package-delete): Also delete the package
5159 name from `package-alist', not its description only.
5161 2014-01-07 Glenn Morris <rgm@gnu.org>
5163 * help.el (view-external-packages):
5164 * menu-bar.el (menu-bar-help-extra-packages):
5165 Visit efaq.info rather than etc/MORE.STUFF.
5167 2014-01-07 Juri Linkov <juri@jurta.org>
5169 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5170 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5172 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5173 that shadows RET. (Bug#16342)
5175 2014-01-07 Chong Yidong <cyd@gnu.org>
5177 * isearch.el (isearch-yank-char, isearch-yank-word)
5178 (isearch-yank-line): Doc fix.
5180 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5182 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5183 * emacs-lisp/elint.el (elint-find-builtins):
5184 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5185 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5186 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5187 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5188 * apropos.el (apropos-safe-documentation):
5189 * subr.el (symbol-file): Remove redundant fboundp.
5190 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5192 2014-01-06 Bastien Guerry <bzg@gnu.org>
5194 * hl-line.el (global-hl-line-overlay): Make a local variable.
5195 (global-hl-line-overlays): New variable to store all overlays.
5196 (global-hl-line-mode): Don't delete overlays from the current
5197 buffer when `global-hl-line-sticky-flag' is non-nil.
5198 (global-hl-line-highlight): Add new overlays to
5199 `global-hl-line-overlays'.
5200 (global-hl-line-unhighlight-all): New function to delete all
5201 overlays when turning off `global-hl-line-mode'.
5202 This fixes Bug#16183.
5204 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * subr.el (set-transient-map): Fix nested case and docstring.
5208 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5210 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5213 2014-01-06 Daniel Colascione <dancol@dancol.org>
5215 Fix defun navigation in vc log view.
5217 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5218 like `beginning-of-defun'.
5219 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5220 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5221 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5222 (log-view-extract-comment): Call `log-view-current-entry' directly
5223 instead of relying on broken `log-view-beginning-of-defun' behavior.
5225 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5228 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5229 * emacs-lisp/debug.el (cancel-debug-on-entry):
5230 * epg.el (epg-error-to-string):
5231 * files.el (recover-file):
5232 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5233 * mail/emacsbug.el (report-emacs-bug-hook):
5234 * mail/sendmail.el (mail-recover):
5235 * ses.el (ses-yank-resize):
5236 * term/ns-win.el (ns-print-buffer):
5237 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5238 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5240 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5242 2014-01-06 Leo Liu <sdl.web@gmail.com>
5244 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5245 to avoid shadowing global key. (Bug#16354)
5247 2014-01-06 Daniel Colascione <dancol@dancol.org>
5249 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5252 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5254 * window.el (balance-windows): Add mising t to fix Bug#16351.
5256 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5260 (shr-insert): If we have a word that's longer than `shr-width',
5261 break after it anyway. Otherwise we'll do no breaking once we get
5264 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5266 * net/eww.el (eww): Support single/double quote for search.
5267 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5268 (eww-history-quit): Delete and use quit-window.
5269 (eww-history-kill): Delete, because it doesn't work well and
5271 (eww-history-mode-map): Delete some keys and add easy-menu.
5273 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5275 Fix misspelling of 'chinese' in rx (Bug#16237).
5276 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5279 Change subword regexps back to vars (Bug#16296).
5280 * progmodes/subword.el (subword-forward-regexp)
5281 (subword-backward-regexp): Change these back to variables.
5283 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5286 syntax-begin-function (bug#16247).
5288 2014-01-03 Chong Yidong <cyd@gnu.org>
5290 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5291 (advice--docstring): Delete variable.
5292 (advice--make-1): Leave the docstring empty.
5293 (advice-add): Use function-documentation for advised docstring.
5295 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5296 Ignore function-documentation property when getting documentation.
5297 (ad-activate-advised-definition): Use function-documentation
5298 generate the docstring.
5299 (ad-make-advised-definition): Don't call
5300 ad-make-advised-definition-docstring.
5301 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5304 * progmodes/sql.el (sql-help): Use function-documentation instead
5305 of dynamic-docstring-function property. No need to autoload now.
5306 (sql--help-docstring): New variable.
5307 (sql--make-help-docstring): Use it.
5309 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5311 * ielm.el (ielm-tab): Retarget.
5312 (ielm-map): Use ielm-tab for tab.
5313 (ielm-complete-filename): Use comint-filename-completion.
5314 (ielm-complete-symbol): Remove.
5315 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5316 remove ielm-tab from completion-at-point-functions (bug#16224).
5318 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5319 Beware signals raised by predicates (bug#16201).
5321 2014-01-02 Richard Stallman <rms@gnu.org>
5323 * dired-aux.el (dired-do-print): Handle printer-name.
5325 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5326 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5327 (rmail-epa-decrypt): Turn off mime processing.
5329 * mail/rmail.el (rmail-make-in-reply-to-field):
5330 Add parens in message-id.
5332 * mail/rmail.el (rmail-get-coding-function): Variable.
5333 (rmail-get-coding-system): Use it.
5335 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5337 * international/mule-conf.el: Unify the charset indian-is13194.
5338 (indian-is13194): Specify unify-map.
5340 2013-12-31 Leo Liu <sdl.web@gmail.com>
5342 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5344 2013-12-30 Daniel Colascione <dancol@dancol.org>
5346 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5347 of printing a useless when we resume from sleep.
5349 * progmodes/sh-script.el
5350 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5351 in indentation code. (Bug#16233)
5353 2013-12-28 João Távora <joaotavora@gmail.com>
5355 * elec-pair.el (electric-pair-post-self-insert-function):
5356 Don't open extra newlines at beginning of buffer. (Bug#16272)
5358 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5360 * frame.el (window-system-for-display): Don't allow to create a
5361 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5363 2013-12-28 Glenn Morris <rgm@gnu.org>
5365 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5368 * apropos.el (apropos-match-face):
5369 * calculator.el (calculator-displayer):
5370 * dabbrev.el (dabbrev-search-these-buffers-only):
5371 * face-remap.el (buffer-face-mode-face):
5372 * simple.el (yank-handled-properties):
5373 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5374 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5375 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5376 (hashcash-double-spend-database):
5377 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5378 (ruby-deep-indent-paren-style):
5379 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5380 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5381 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5382 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5383 Specify custom types.
5385 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5386 * bookmark.el (bookmark-bmenu-use-header-line):
5387 * doc-view.el (doc-view-scale-internally):
5388 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5389 * register.el (register-preview-delay):
5390 * net/shr.el (shr-bullet):
5391 * progmodes/cfengine.el (cfengine-cf-promises)
5392 (cfengine-parameters-indent):
5393 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5394 * textmodes/reftex-vars.el (reftex-label-regexps):
5395 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5397 * net/tls.el (tls-certtool-program): Fix default value.
5399 * desktop.el (desktop-restore-in-current-display):
5400 * newcomment.el (comment-empty-lines):
5401 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5402 (idlwave-pad-keyword):
5403 * progmodes/tcl.el (tcl-tab-always-indent):
5404 * textmodes/reftex-vars.el (reftex-index-default-tag):
5405 * elec-pair.el (electric-pair-skip-whitespace):
5406 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5408 * emacs-lisp/authors.el (authors-ignored-files)
5409 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5411 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5413 * shell.el (shell-dynamic-complete-command): Doc fix.
5414 (shell--command-completion-data): Shell completion now matches
5415 executable filenames from the current buffer's directory, on
5416 systems in which this behavior is the default (windows-nt, ms-dos).
5418 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5420 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5422 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5424 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5427 * electric.el: Move all electric-pair-* to elec-pair.el.
5428 * elec-pair.el: New file, split from electric.el.
5430 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5432 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5433 indentation level is larger than the width, because that will
5435 (shr-insert): Fill repeatedly long texts, so that Japanese is
5436 formatted correctly (bug#16263).
5437 (shr-find-fill-point): Off by one error in comparison with the
5440 2013-12-26 João Távora <joaotavora@gmail.com>
5442 * electric.el (electric-pair-mode): More flexible engine for skip-
5443 and inhibit predicates, new options for pairing-related functionality.
5444 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5445 if that keeps or improves their balance in buffers.
5446 (electric-pair-delete-adjacent-pairs): Delete the pair when
5447 backspacing over adjacent matched delimiters.
5448 (electric-pair-open-extra-newline): Open extra newline when
5449 inserting newlines between adjacent matched delimiters.
5450 (electric--sort-post-self-insertion-hook):
5451 Sort post-self-insert-hook according to priority values when
5452 minor-modes are activated.
5453 * simple.el (newline-and-indent): Call newline with interactive
5455 (blink-paren-post-self-insert-function): Set priority to 100.
5456 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5457 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5458 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5459 electric-pair-open-newline-between-pairs to nil.
5461 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5463 * progmodes/python.el: Use lexical-binding.
5464 (python-nav-beginning-of-defun): Stop searching ASAP.
5466 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5468 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5469 Fix interactive spec. Doc fix. (Bug#15754)
5471 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5473 * emacs-lisp/byte-run.el (eval-when-compile):
5474 * progmodes/cc-defs.el (cc-eval-when-compile):
5475 Fix edebug spec (bug#16184).
5477 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5479 * net/shr.el (shr-visit-file): Remove debugging function.
5480 (shr-insert): Don't infloop if we can't find a good place to break
5481 the line (bug#16256).
5483 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5485 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5486 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5487 python-nav-lisp-forward-sexp-safe.
5488 (python-nav--forward-sexp): New argument SAFE allows switching
5489 forward sexp movement behavior for parens.
5490 (python-nav-forward-sexp): Throw errors on unterminated parens
5492 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5493 (python-nav-backward-sexp-safe): New functions.
5494 (python-shell-buffer-substring):
5495 Use `python-nav-forward-sexp-safe'.
5497 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5499 * net/shr.el (shr-find-fill-point): Don't break lines before a
5501 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5502 (shr-find-fill-point): Remove the special checks for the quotation
5503 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5505 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5507 * net/eww.el (eww-form-textarea): Use a different face for
5508 textareas than text input since they have different keymaps
5511 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5513 * progmodes/python.el (python-nav-beginning-of-statement):
5514 Speed up (Bug#15295).
5516 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5518 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5519 the window configuration.
5521 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5523 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5524 we run on MS-Windows or MS-DOS.
5526 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5528 * window.el (balance-windows-area): Call window-size instead of
5529 window-height and window-width. Bug#16241.
5531 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5533 * net/eww.el (eww-bookmark-quit): Remove.
5534 (eww-bookmark-browse): Restore the window configuration when you
5535 choose a bookmark (bug#16144).
5537 2013-12-24 Daniel Colascione <dancol@dancol.org>
5539 * icomplete.el: Remove redundant :group arguments to `defcustom'
5541 (icomplete-show-matches-on-no-input): New customizable variable.
5542 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5543 we have something to show.
5544 (icomplete-exhibit): Compute completions even if we have no user input.
5546 2013-12-23 Daniel Colascione <dancol@dancol.org>
5548 * icomplete.el: Move `provide' to end of file.
5550 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5552 * net/gnutls.el (gnutls-verify-error): Add version tag.
5554 2013-12-23 Chong Yidong <cyd@gnu.org>
5556 * subr.el (set-transient-map): Rename from
5557 set-temporary-overlay-map. Doc fix.
5559 * face-remap.el (text-scale-adjust):
5560 * indent.el (indent-rigidly):
5561 * kmacro.el (kmacro-call-macro):
5562 * minibuffer.el (minibuffer-force-complete):
5563 * repeat.el (repeat):
5564 * simple.el (universal-argument--mode):
5565 * calendar/todo-mode.el (todo-insert-item--next-param):
5566 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5568 * indent.el (indent-rigidly): Use substitute-command-keys.
5570 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5572 * net/eww.el (eww-tag-select): Add text-property to jump to next
5574 (eww): Add non-supported ftp error.
5576 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5578 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5579 comments. Handle electric indent after typing `?' and `!'.
5581 2013-12-22 Chong Yidong <cyd@gnu.org>
5583 * faces.el (face-spec-recalc): If the theme specs are not
5584 applicable to a frame, fall back on the defface spec.
5585 This prevents themes from obliterating faces on low-color terminals.
5587 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5589 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5590 after `{'. We need it after block openers, and it doesn't seem
5591 to hurt after hash openers.
5593 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5595 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5596 extracted from `ruby-smie-rules'.
5597 (ruby--electric-indent-chars): New variable.
5598 (ruby--electric-indent-p): New function.
5599 (ruby-mode): Use `electric-indent-functions' instead of
5600 `electric-indent-chars'.
5602 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5604 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5606 (ruby-smie-rules): Indent plus one level after `=>'.
5608 2013-12-21 Richard Stallman <rms@gnu.org>
5610 * simple.el (newline): Doc fix.
5612 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5614 * net/eww.el (eww-list-histories, eww-list-histories)
5615 (eww-history-browse, eww-history-quit, eww-history-kill)
5616 (eww-history-mode-map, eww-history-mode): New command and
5617 functions to list browser histories.
5618 (eww-form-text): Support text form with disabled
5619 and readonly attributes.
5620 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5622 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5624 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5625 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5626 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5627 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5629 (eww-bookmark-mode-map): Add menu.
5630 (eww-render, eww-mode): Use `setq-local'.
5631 (eww-tool-bar-map): New variable.
5632 (eww-mode): Set `tool-bar-map'.
5633 (eww-view-source): Check for `html-mode' with `fboundp'.
5635 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5637 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5638 elements with text inside. Also remove debugging.
5640 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5642 * cus-start.el (all): Add ns-use-srgb-colorspace.
5644 2013-12-21 Chong Yidong <cyd@gnu.org>
5646 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5647 undefined. Thus, theme settings for undefined faces do not take
5648 effect until the faces are defined with defface, the same as with
5651 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5652 (face-spec-reset-face): Don't assign extra properties in temacs.
5653 (face-spec-recalc): Apply X resources too.
5655 2013-12-21 Chong Yidong <cyd@gnu.org>
5657 * faces.el (face-spec-set):
5658 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5659 * custom.el (defface): Doc fixes (Bug#16203).
5661 * indent.el (indent-rigidly-map): Add docstring, and move commands
5662 into named functions.
5663 (indent-rigidly-left, indent-rigidly-right)
5664 (indent-rigidly-left-to-tab-stop)
5665 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5666 indentation direction based on bidi direction, and accumulate
5667 sequential commands in a single undo boundary.
5668 (indent-rigidly--pop-undo): New utility function.
5670 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5672 * faces.el (read-face-name): Require crm.el when using crm-separator.
5674 2013-12-20 Daniel Colascione <dancol@dancol.org>
5676 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5677 so that we don't reflow comments into the shebang line.
5679 2013-12-20 Juri Linkov <juri@jurta.org>
5681 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5682 a position when `dired-directory' is non-nil. Check integer
5683 positions with `integerp'.
5684 (toggle-save-place, save-places-to-alist): Add check for
5686 (save-place-find-file-hook): Check integer positions with
5688 (save-place-dired-hook): Use `dired-goto-file' when
5689 `dired-filename' is found in the assoc list. Check integer
5690 positions with `integerp'.
5691 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5693 * dired.el (dired-initial-position-hook): Rename back from
5694 `dired-initial-point-hook'.
5695 (dired-initial-position): Rename `dired-initial-point-hook' to
5696 `dired-initial-position-hook'.
5697 (dired-file-name-at-point): Doc fix. (Bug#15329)
5699 2013-12-20 Juri Linkov <juri@jurta.org>
5701 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5702 (read-regexp-suggestions): New function.
5703 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5704 Use `read-regexp-suggestions'. Add non-empty default to history
5706 (occur-read-regexp-defaults-function): Remove function.
5707 (occur-read-primary-args): Use `regexp-history-last' instead of
5708 `occur-read-regexp-defaults-function'.
5710 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5711 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5712 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5713 `hi-lock-read-regexp-defaults-function'. Doc fix.
5714 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5715 with `find-tag-default-as-symbol-regexp'. Doc fix.
5716 (hi-lock-read-regexp-defaults): Remove function.
5717 (hi-lock-regexp-okay): Add check for null.
5719 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5720 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5722 * subr.el (find-tag-default-as-symbol-regexp): New function.
5723 (find-tag-default-as-regexp): Move symbol regexp formatting to
5724 `find-tag-default-as-symbol-regexp'.
5726 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5728 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5731 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5733 * calendar/todo-mode.el: New implementation of item insertion
5734 commands and key bindings.
5735 (todo-key-prompt): New face.
5736 (todo-insert-item): New command.
5737 (todo-insert-item--parameters): New defconst, replacing defvar
5738 todo-insertion-commands-args-genlist.
5739 (todo-insert-item--param-key-alist): New defconst, replacing
5740 defvar todo-insertion-commands-arg-key-list.
5741 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5742 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5743 (todo-insert-item--next-param): New functions.
5744 (todo-insert-item--args, todo-insert-item--argleft)
5745 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5747 (todo-key-bindings-t): Change binding of "i" from
5748 todo-insertion-map to todo-insert-item.
5749 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5750 (todo-insertion-command-name, todo-insertion-commands-names)
5751 (todo-define-insertion-command, todo-insertion-commands)
5752 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5754 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5756 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5757 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5759 (todo-move-category): Allow choosing a non-existing todo file to
5760 move the category to, and create that file.
5761 (todo-default-priority): New user option.
5762 (todo-set-item-priority): Use it.
5763 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5764 (desktop-restore-file-buffer): Declare.
5765 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5766 (todo-modes-set-2): Locally set desktop-save-buffer to
5767 todo-desktop-save-buffer.
5768 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5769 (auto-mode-alist): Add autoload cookie.
5771 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5773 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5774 helpers.el was a poor choice of name.
5775 (string-remove-prefix): New function.
5776 (string-remove-suffix): New function.
5778 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5780 Fix assignment for new window total sizes.
5781 * window.el (window--pixel-to-size): Remove function.
5782 (window--pixel-to-total-1, window--pixel-to-total):
5783 Fix calculation of new total sizes.
5785 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5787 * comint.el (comint-output-filter): Fix rear-nonsticky property
5788 placement (Bug#16010).
5790 2013-12-20 Chong Yidong <cyd@gnu.org>
5792 * faces.el (read-color): Minor fix for completion function.
5794 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5796 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5797 New option. (Bug#16182)
5798 (ruby-smie--indent-to-stmt-p): Use it.
5799 (ruby-smie-rules): Revert the logic in the handling of `when'.
5800 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5801 (ruby-deep-arglist, ruby-deep-indent-paren)
5802 (ruby-deep-indent-paren-style): Update docstrings to note that the
5803 vars don't have any effect with SMIE.
5805 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5807 * calc/calc.el (calc-enter, calc-pop): Use the variable
5808 `calc-context-sensitive-enter'.
5810 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5812 * net/shr.el (shr-insert): Protect against infloops in degenerate
5815 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5817 * progmodes/octave.el (octave): Add link to manual and octave
5819 (octave-mode-menu): Link to octave-mode manual.
5821 2013-12-20 Leo Liu <sdl.web@gmail.com>
5823 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5824 insertion using skeleton-end-newline. (Bug#16138)
5826 2013-12-20 Juri Linkov <juri@jurta.org>
5828 * replace.el (occur-engine): Use `add-face-text-property'
5829 to add the face property to matches and titles. (Bug#14645)
5831 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5832 the palette of other hi-lock colors.
5833 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5835 2013-12-19 Juri Linkov <juri@jurta.org>
5837 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5838 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5839 (minibuffer-history-symbol): Move variable declaration closer to
5842 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5845 2013-12-19 Juri Linkov <juri@jurta.org>
5847 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5849 (log-edit-hook): Add it to :options. (Bug#16170)
5851 2013-12-19 Juri Linkov <juri@jurta.org>
5853 * simple.el (eval-expression-print-format): Don't check for
5854 command names and the last command. Always display additional
5855 formats of the integer result in the echo area, and insert them
5856 to the current buffer only with a zero prefix arg.
5857 Display character when char-displayable-p is non-nil.
5858 (eval-expression): With a zero prefix arg, set `print-length' and
5859 `print-level' to nil, and insert the integer values from
5860 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5862 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5863 `eval-last-sexp-arg-internal'. Doc fix.
5864 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5865 `eval-last-sexp-print-value'. Doc fix.
5866 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5867 Set `print-length' and `print-level' to nil when arg is zero.
5868 (eval-last-sexp): Doc fix.
5869 (eval-defun-2): Print the integer values from
5870 `eval-expression-print-format' at the end.
5872 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5873 values from `eval-expression-print-format' at the end.
5875 * ielm.el (ielm-eval-input): Print the integer
5876 values from `eval-expression-print-format' at the end.
5878 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5880 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5881 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5883 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5885 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5886 (hl-line-highlight, global-hl-line-highlight): Use it.
5887 (hl-line-overlay): Use defvar-local.
5889 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5891 * term/ns-win.el: Require dnd.
5892 (global-map): Remove drag items.
5893 (ns-insert-text, ns-set-foreground-at-mouse)
5894 (ns-set-background-at-mouse):
5895 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5896 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5899 2013-12-19 Glenn Morris <rgm@gnu.org>
5901 * emacs-lisp/ert.el (ert-select-tests):
5902 Fix string/symbol mixup. (Bug#16121)
5904 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5906 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5907 keywords to their parent.
5909 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5911 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5912 first arg to be a string (fixed dead code), or an operator symbol.
5913 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5915 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5916 did nothing. Don't respond to `(:after ".")', it will be called
5917 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5918 change anything. Only return indentation for binary operators
5919 when they are hanging. De-dent opening paren when its parent is
5920 `.', otherwise it looks bad when the dot is not at bol or eol
5923 2013-12-19 Juri Linkov <juri@jurta.org>
5925 * replace.el (query-replace-read-args): Split a non-negative arg
5926 and a negative arg into separate elements.
5927 (query-replace, query-replace-regexp, replace-string)
5928 (replace-regexp): Add arg `backward'. Doc fix.
5929 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5930 move point to the beginning of the match.
5931 (replace-search, replace-highlight): Use new arg `backward'
5932 to set the value of `isearch-forward'.
5933 (perform-replace): Add arg `backward' and use it to perform
5934 replacement backward. (Bug#14979)
5936 * isearch.el (isearch-query-replace): Use a negative prefix arg
5937 to call `perform-replace' with a non-nil arg `backward'.
5939 2013-12-18 Juri Linkov <juri@jurta.org>
5941 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5942 to the default list. Move `log-edit-show-files' to the end.
5943 Add more available functions to options.
5944 (log-edit): Move default specific settings to
5945 `log-edit-insert-message-template'. Don't move point.
5946 (log-edit-insert-message-template): New function.
5947 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5950 2013-12-18 Juri Linkov <juri@jurta.org>
5952 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5953 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5955 2013-12-18 Leo Liu <sdl.web@gmail.com>
5957 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5960 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5962 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5963 formats for displaying file sizes when the -s switch is given.
5964 Instead, compute a separate format for displaying the size in
5965 blocks, which is displayed in addition to the "regular" size.
5966 When -h is given in addition to -s, produce size in blocks in
5967 human-readable form as well. (Bug#16179)
5969 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5971 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5972 Reference tables with ~\ref{...} instead of only \ref{...}.
5974 2013-12-18 Chong Yidong <cyd@gnu.org>
5976 * cus-edit.el (custom-magic-alist): Fix "themed" description
5979 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5980 is non-nil, do not create a new entry in the symbol's theme-value
5981 or theme-face property; update theme-settings only (Bug#14664).
5982 (custom-available-themes): Doc fix.
5984 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5987 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5989 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5991 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5994 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5996 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5998 2013-12-18 Glenn Morris <rgm@gnu.org>
6000 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
6001 * cus-start.el (load-prefer-newer): New option.
6003 2013-12-18 Le Wang <l26wang@gmail.com>
6005 * comint.el (comint-previous-matching-input-from-input):
6006 Retain point (Bug#13404).
6008 2013-12-18 Chong Yidong <cyd@gnu.org>
6010 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6012 2013-12-18 Glenn Morris <rgm@gnu.org>
6014 * mail/emacsbug.el (report-emacs-bug):
6015 Only mention enable-multibyte-characters if non-standard.
6017 2013-12-17 Juri Linkov <juri@jurta.org>
6019 * arc-mode.el (archive-extract-by-file): Check if directory exists
6020 before deletion to not show irrelevant errors if it doesn't exist.
6022 2013-12-17 Juri Linkov <juri@jurta.org>
6024 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6027 * net/eww.el (browse-web): Add alias to `eww'.
6028 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6029 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6031 * net/browse-url.el (browse-url-browser-function): Move `eww'
6032 closer to similar functions.
6034 * startup.el (fancy-startup-screen, fancy-about-screen):
6035 Set browse-url-browser-function to eww-browse-url locally.
6038 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * window.el (window--pixel-to-total): Remove unused `mini' var.
6041 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6042 (split-window): Remove unused `new' var.
6043 (window--display-buffer): Remove unused `frame' and `delta' vars.
6044 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6047 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6049 * dired.el (dired-mark-pop-up):
6050 * register.el (register-preview): Don't bind
6051 split-height-threshold here since it's now done in
6052 display-buffer-below-selected.
6054 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6056 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6057 xterm-rgb-convert-to-16bit.
6058 (rxvt-register-default-colors): Standardize with
6059 xterm-register-default-colors (Bug#14078).
6061 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6063 * simple.el (kill-region): Pass mark first, then point, so that
6064 kill-append works right (Bug#12819).
6065 (copy-region-as-kill, kill-ring-save): Likewise.
6067 2013-12-17 Leo Liu <sdl.web@gmail.com>
6069 * net/rcirc.el (rcirc-add-face):
6070 * eshell/em-prompt.el (eshell-emit-prompt):
6071 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6074 2013-12-17 Chong Yidong <cyd@gnu.org>
6076 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6077 Suggested by Xue Fuqiao.
6079 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6081 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6083 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * net/shr.el (shr-insert-document): Remove unused var
6086 `shr-preliminary-table-render'.
6087 (shr-rescale-image): Remove unused arg `force'.
6088 (shr-put-image): Update calls accordingly.
6089 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6091 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6093 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6094 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6095 :close-all, to see which indentation method to use (Bug#16116).
6096 (smie-rules-function): Document the method :close-all.
6098 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6100 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6102 * net/eww.el (eww-display-html): If we can't find the anchor we're
6103 looking for, then go to point-min.
6105 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6107 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6108 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6109 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6110 Expand dir too, in case it's relative.
6112 2013-12-16 Juri Linkov <juri@jurta.org>
6114 * desktop.el (desktop-auto-save-timeout): Change default to
6115 `auto-save-timeout'. Doc fix.
6116 (desktop-save): Skip the timestamp in desktop-saved-frameset
6117 when checking for auto-save changes.
6118 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6119 `desktop-auto-save' is called repeatedly by the idle timer.
6120 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6121 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6124 2013-12-16 Juri Linkov <juri@jurta.org>
6126 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6128 (isearch-pre-command-hook): Check `this-command' for symbolp.
6130 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6134 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6136 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6137 (cfengine3--current-function): Bring in the current-function
6138 functionality from `cfengine3--current-word'.
6139 (cfengine3-completion-function): Bring in the
6140 bounds-of-current-word functionality from
6141 `cfengine3--current-word'.
6143 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6145 * window.el (display-buffer-below-selected):
6146 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6148 2013-12-16 Leo Liu <sdl.web@gmail.com>
6150 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6151 Remove NOMSG arg and all uses changed.
6153 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6156 (cua--deactivate-rectangle): Don't deactivate the mark.
6157 (cua-set-rectangle-mark): Don't set mark-active since
6158 cua--activate-rectangle already does it for us.
6159 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6160 non-rectangular region.
6162 * emulation/cua-base.el (cua-repeat-replace-region):
6163 Use with-current-buffer.
6165 * net/gnutls.el: Use cl-lib.
6166 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6168 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6170 * emacs-lisp/package.el (package-built-in-p): Support both
6171 built-in and the package.el converted package descriptions.
6172 (package-show-package-list): Allow keywords.
6173 (package-keyword-button-action): Use it instead of
6174 `finder-list-matches'.
6175 (package-menu-filter-interactive): Interactive filtering (by
6177 (package-menu--generate): Support keywords and change keymappings
6178 and headers when they are given.
6179 (package--has-keyword-p): Helper function.
6180 (package-menu--refresh): Use it.
6181 (package--mapc): Helper function.
6182 (package-all-keywords): Use it.
6183 (package-menu-mode-map): Set up menu items and keybindings to
6184 provide a filtering UI.
6186 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6188 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6189 the behavior when a certificate fails validation. Defaults to
6190 old behavior: never abort, just warn.
6191 (gnutls-negotiate): Use it.
6193 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6195 * window.el (display-buffer-below-selected): Never split window
6196 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6198 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6200 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6201 (package-buffer-info): Use it (bug#15108).
6203 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6205 * icomplete.el (icomplete-completions): Make sure the prefix is already
6206 displayed elsewhere before hiding it (bug#16219).
6208 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6210 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6211 open-paren tokens when preceded by a open-paren, too.
6212 (ruby-smie-rules): Handle virtual indentation after open-paren
6213 tokens specially. If there is code between it and eol, return the
6214 column where is starts (Bug#16118).
6216 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6218 * progmodes/cfengine.el: Fix `add-hook' doc.
6219 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6220 (cfengine3--current-word): Fix parameters.
6221 (cfengine3-make-syntax-cache): Simplify further.
6222 (cfengine3-completion-function, cfengine3--current-function):
6223 Use `assq' for symbols.
6224 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6226 2013-12-13 Glenn Morris <rgm@gnu.org>
6228 * loadup.el (load-path): Warn if site-load or site-init changes it.
6229 No more need to reset it when bootstrapping.
6231 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6233 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6234 locations for cf-promises.
6235 (cfengine-mode-syntax-functions-regex): New caching variable.
6236 (cfengine3-fallback-syntax): Fallback syntax for cases where
6237 cf-promises doesn't run.
6238 (cfengine3--current-word): Reimplement using
6239 `cfengine-mode-syntax-functions-regex'.
6240 (cfengine3-completion-function, cfengine3--current-function):
6241 Use `cfengine3-make-syntax-cache' directly.
6242 (cfengine3-clear-syntax-cache): New function.
6243 (cfengine3-make-syntax-cache): Simplify and create
6244 `cfengine-mode-syntax-functions-regex' on demand.
6245 (cfengine3-format-function-docstring): Don't call
6246 `cfengine3-make-syntax-cache' explicitly.
6248 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6250 Fix windmove-find-other-window broken after pixelwise resizing
6252 * windmove.el (windmove-other-window-loc): Revert change from
6254 (windmove-find-other-window): Call window-in-direction.
6255 * window.el (window-in-direction): New arguments SIGN, WRAP and
6256 MINI to emulate original windmove-find-other-window behavior.
6258 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6260 * simple.el (blink-matching--overlay): New variable.
6261 (blink-matching-open): Instead of moving point, highlight the
6262 matching paren with an overlay
6263 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6265 * faces.el (paren-showing-faces, show-paren-match)
6266 (show-paren-mismatch): Move from paren.el.
6268 2013-12-13 Leo Liu <sdl.web@gmail.com>
6270 * indent.el (indent-region): Disable progress reporter in
6271 minibuffer. (Bug#16108)
6273 * bindings.el (visual-order-cursor-movement): Fix version.
6275 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6277 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6278 Also match after beginning of line.
6279 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6280 files. Thanks to Russell Sim. (Bug#15378)
6282 2013-12-13 Juri Linkov <juri@jurta.org>
6284 * simple.el <Keypad support>: Remove key bindings duplicated
6285 with bindings.el. (Bug#14397)
6287 2013-12-13 Juri Linkov <juri@jurta.org>
6289 * comint.el (comint-mode-map): Replace `delete-char' with
6290 `delete-forward-char'. (Bug#16109)
6292 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6294 * progmodes/python.el (python-indent-calculate-indentation):
6295 Fix de-denters cornercase. (Bug#15731)
6297 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6299 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6300 (advice--make): Pay attention to `depth'.
6301 (advice--make-1): Don't autoload commands eagerly.
6302 * emacs-lisp/elp.el (elp-instrument-function):
6303 * emacs-lisp/trace.el (trace-function-internal):
6304 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6306 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6308 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6310 * term/w32-win.el (w32-handle-dropped-file):
6311 * startup.el (normal-top-level):
6312 * net/browse-url.el (browse-url-file-url):
6313 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6314 decode file names using 'utf-8' rather than
6315 file-name-coding-system.
6317 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6319 * progmodes/python.el (python-indent-context)
6320 (python-indent-calculate-indentation): Fix auto-identation
6321 behavior for comment blocks. (Bug#15916)
6323 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6325 * progmodes/python.el (python-indent-calculate-indentation):
6326 When determining indentation, don't treat "return", "pass", etc., as
6327 operators when they are just string constituents. (Bug#15812)
6329 2013-12-12 Juri Linkov <juri@jurta.org>
6331 * uniquify.el (uniquify-buffer-name-style): Change default to
6332 `post-forward-angle-brackets'.
6334 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6335 `uniquify'. Change default to `post-forward-angle-brackets'.
6337 2013-12-11 Glenn Morris <rgm@gnu.org>
6339 * emacs-lisp/package.el (finder-list-matches):
6340 Autoload rather than falsely declaring.
6342 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6344 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6345 (eww-mode-map): Use them.
6347 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6349 * window.el (display-buffer-in-side-window): Fix doc-string
6352 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6354 * vc/vc-git.el: Silence byte-compiler warnings.
6355 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6356 (log-edit-set-header): Declare.
6358 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6360 * Makefile.in (custom-deps, finder-data): Run output file names
6361 through unmsys--file-name. (Bug#16099)
6363 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6366 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6368 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6369 instead of deleting the selection "by hand" (bug#16098).
6370 Rely on insert-for-yank to yank rectangles.
6371 (cua-highlight-region-shift-only): Mark obsolete.
6372 (cua-mode): Don't enable/disable transient-mark-mode,
6373 shift-select-mode (cua-mode works both with and without them), and
6374 pc-selection-mode (obsolete).
6375 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6376 (cua--deactivate-rectangle): Deactivate it.
6378 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6379 (delete-selection-helper): Make sure yank starts at the top of the
6381 (minibuffer-keyboard-quit): Use region-active-p.
6383 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6385 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6386 to `delete' (bug#16109).
6388 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6390 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6391 info manual and show keybindings and set `:group' keyword.
6393 2013-12-11 Juri Linkov <juri@jurta.org>
6395 * delsel.el (delete-active-region): Let-bind `this-command'
6396 to prevent `kill-region' from changing its original value.
6397 (delete-selection-helper): Handle `overwrite-mode' for the type
6398 `kill' exactly the same way as for the type `t'.
6399 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6400 Support more commands. (Bug#13312)
6402 2013-12-11 Juri Linkov <juri@jurta.org>
6404 * bindings.el: Map kp keys to non-kp keys systematically
6405 with basic modifiers control, meta and shift. (Bug#14397)
6407 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6409 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6410 "Close browser" menu items. Fix wrong function of "List
6413 2013-12-11 Juri Linkov <juri@jurta.org>
6415 * misearch.el (multi-isearch-buffers): Set the value of
6416 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6417 arg of isearch-forward to t.
6418 (multi-isearch-buffers-regexp): Set the value of
6419 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6420 arg of isearch-forward-regexp to t.
6421 (multi-isearch-files): Set the value of
6422 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6423 arg of isearch-forward to t.
6424 (multi-isearch-files-regexp): Set the value of
6425 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6426 arg of isearch-forward-regexp to t. (Bug#16035)
6428 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6429 arg of isearch-forward to t.
6430 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6431 arg of isearch-forward-regexp to t.
6432 (dired-isearch-filter-filenames): Remove unnecessary check for
6433 `dired-isearch-filenames'.
6435 * comint.el (comint-history-isearch-backward):
6436 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6437 (comint-history-isearch-backward-regexp):
6438 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6440 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6442 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6443 unmsys--file-name. (Bug#16099)
6445 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6447 * emacs-lisp/package.el (package-keyword-button-action):
6448 Remove finder.el require dependency.
6450 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6452 * emacs-lisp/package.el: Require finder.el.
6453 (describe-package-1): Add keyword buttons.
6454 (package-make-button): New convenience function.
6455 (package-keyword-button-action): Keyword button action using
6456 `finder-list-matches'.
6458 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6460 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6463 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6465 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6468 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6470 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6471 after the end of a percent literal.
6473 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6475 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6476 Handle caret-delimited strings (Bug#16079).
6478 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6480 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6481 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6482 `ruby-parse-partial' (Bug#16078).
6484 2013-12-09 Leo Liu <sdl.web@gmail.com>
6486 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6488 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6490 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6491 (js-switch-indent-offset): New option.
6492 (js--proper-indentation): Use it. And handle the case when
6493 "default" is actually a key in an object literal.
6494 (js--same-line): New function.
6495 (js--multi-line-declaration-indentation): Use it.
6496 (js--indent-in-array-comp, js--array-comp-indentation):
6498 (js--proper-indentation): Use them, to handle array comprehension
6501 2013-12-08 Leo Liu <sdl.web@gmail.com>
6503 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6504 (flymake-make-overlay): Remove arg MOUSE-FACE.
6505 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6507 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6511 (redisplay-highlight-region-function): Use it.
6513 * emulation/cua-base.el (cua--explicit-region-start)
6514 (cua--last-region-shifted): Remove.
6515 (cua--deactivate): Use deactivate-mark.
6516 (cua--pre-command-handler-1): Don't handle shift-selection.
6517 (cua--post-command-handler-1): Don't change transient-mark-mode.
6518 (cua--select-keymaps): Use region-active-p rather than
6519 cua--explicit-region-start or cua--last-region-shifted.
6520 (cua-mode): Enable shift-select-mode.
6522 2013-12-08 Leo Liu <sdl.web@gmail.com>
6524 * progmodes/flymake.el (flymake-popup-current-error-menu):
6525 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6526 (flymake-posn-at-point-as-event, flymake-popup-menu)
6527 (flymake-make-emacs-menu): Remove. (Bug#16077)
6529 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6531 * rect.el (rectangle-mark-mode): Activate mark even if
6532 transient-mark-mode is off (bug#16066).
6533 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6534 is > mark and at bolp.
6536 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6537 (region-extract-function): Use it.
6538 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6539 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6541 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6542 kill-ring-save, kill-region, delete-char, delete-forward-char.
6543 Ignore self-insert-iso.
6545 * emulation/cua-gmrk.el (cua--init-global-mark):
6546 Ignore `self-insert-iso'.
6548 * emulation/cua-base.el (cua--prefix-copy-handler)
6549 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6550 checking cua--rectangle.
6551 (cua-delete-region): Use region-extract-function.
6552 (cua-replace-region): Delete function.
6553 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6554 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6555 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6556 (cua--init-keymaps): Don't remap delete-selection commands.
6557 (cua-mode): Use delete-selection-mode instead of rolling our own
6560 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6561 Obey region-extract-function.
6563 Make registers and delete-selection-mode work on rectangles.
6564 * register.el (describe-register-1): Don't modify the register's value.
6565 (copy-to-register): Obey region-extract-function.
6566 * delsel.el (delete-active-region): Obey region-extract-function.
6568 2013-12-08 Leo Liu <sdl.web@gmail.com>
6570 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6571 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6572 (flymake-compilation-prevents-syntax-check)
6573 (flymake-start-syntax-check-on-newline)
6574 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6575 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6576 (flymake-xml-program, flymake-master-file-dirs)
6577 (flymake-master-file-count-limit)
6578 (flymake-allowed-file-name-masks): Relocate.
6579 (flymake-makehash, flymake-float-time)
6580 (flymake-replace-regexp-in-string, flymake-split-string)
6581 (flymake-get-temp-dir): Remove.
6582 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6583 (flymake-current-row, flymake-selected-frame)
6584 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6585 related functions. (Bug#16077)
6587 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6589 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6591 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6593 * help-fns.el (describe-function-1): Use new advice-* functions
6594 rather than old ad-* functions. Fix function type description and
6595 source links for advised functions and subrs.
6597 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6599 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6601 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6603 * progmodes/compile.el (compilation-start):
6604 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6606 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6607 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6609 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6611 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6612 Touch up the last change.
6614 2013-12-06 Leo Liu <sdl.web@gmail.com>
6616 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6617 (inferior-octave-startup): Always use "octave> " for prompt.
6618 (octave-goto-function-definition)
6619 (octave-sync-function-file-names)
6620 (octave-find-definition-default-filename): Remove redundant backquotes.
6622 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6624 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6626 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6627 where appropriate already.
6628 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6629 end of method names (Bug#15874).
6631 2013-12-06 Juri Linkov <juri@jurta.org>
6633 * isearch.el (isearch--saved-overriding-local-map):
6634 New internal variable.
6635 (isearch-mode): Set it to the initial value of
6636 `overriding-terminal-local-map'.
6637 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6638 with `isearch--saved-overriding-local-map'. (Bug#16035)
6640 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6642 * progmodes/octave.el (inferior-octave-completion-table):
6643 Turn back into function, use `completion-table-with-cache'
6644 (Bug#11906). Update all references.
6646 * minibuffer.el (completion-table-with-cache): New function.
6648 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6650 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6652 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6654 * net/eww.el (eww-current-source): New variable to store page
6656 (eww-display-html, eww-mode, eww-save-history)
6657 (eww-restore-history): Use it.
6658 (eww-view-source): New command to view page source.
6659 Opportunistically uses `html-mode' to highlight the buffer.
6660 (eww-mode-map): Install it.
6662 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6664 * net/dbus.el (dbus-unregister-service)
6665 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6667 (dbus-unregister-service): Skip :serial entries in
6668 `dbus-registered-objects-table'.
6669 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6671 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6673 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6674 around keywords with extra `split-string' argument.
6676 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6678 * windmove.el (windmove-other-window-loc): Handle navigation
6679 between windows (excluding the minibuffer window - Bug#16017).
6681 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6683 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6684 in D-Bus type syntax.
6685 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6686 preserve unibyte strings. (Bug#16048)
6688 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6690 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6691 Call force-mode-line-update is the proper buffer (bug#16042).
6693 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6695 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6696 `log-edit-remember-comment', make argument optional. Adjust all
6698 (log-edit-mode): Add `log-edit-remember-comment' to
6699 `kill-buffer-hook' locally.
6700 (log-edit-kill-buffer): Don't remember comment explicitly since
6701 the buffer is killed anyway.
6703 2013-12-04 Juri Linkov <juri@jurta.org>
6705 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6706 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6708 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6710 * notifications.el (notifications-close-notification): Call the
6711 D-Bus method with ID being a `:uint32'. (Bug#16030)
6713 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6715 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6717 2013-12-03 Juri Linkov <juri@jurta.org>
6719 * progmodes/compile.el (compilation-start): Rename window alist
6720 entry `no-display-ok' to `allow-no-window'.
6722 * simple.el (shell-command): Add window alist entry
6723 `allow-no-window' to `display-buffer'.
6724 (async-shell-command): Doc fix.
6726 * window.el (display-buffer-no-window): New action function.
6727 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6729 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6731 * vc/log-edit.el (log-edit-set-header): Extract from
6732 `log-edit-toggle-header'.
6733 (log-edit-extract-headers): Separate the summary, when extracted
6734 from header, from the rest of the message with an empty line.
6736 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6737 line, if present, to the Summary header.
6739 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6742 in current-buffer (bug#16029).
6744 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6746 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6747 (debugger-mode-map): Bind it.
6748 (debugger--backtrace-base): New function.
6749 (debugger-eval-expression): Use it.
6750 (debugger-frame-number): Skip local vars when present.
6751 (debugger--locals-visible-p, debugger--insert-locals)
6752 (debugger--show-locals, debugger--hide-locals): New functions.
6754 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6756 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6758 (tramp-get-remote-locale): New defun.
6759 (tramp-open-connection-setup-interactive-shell): Use it.
6761 2013-12-02 Leo Liu <sdl.web@gmail.com>
6763 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6765 * progmodes/sh-script.el (sh-shell-process):
6766 * progmodes/octave.el (inferior-octave-process-live-p):
6767 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6768 (gdb-inferior-io-sentinel):
6769 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6771 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6773 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6774 `save-selected-window' to `log-edit-hide-buf'. This makes
6775 `log-edit-show-files' idempotent.
6776 (log-edit-show-files): Mark the new window as dedicated.
6778 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6780 * vc/log-edit.el (log-edit-mode-map): Add binding for
6781 `log-edit-kill-biffer'.
6782 (log-edit-hide-buf): Add a FIXME comment.
6783 (log-edit-add-new-comment): New function, extracted from
6785 (log-edit-done, log-edit-add-to-changelog): Use it.
6786 (log-edit-kill-buffer): New command.
6788 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6790 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6791 instead of killing the buffer.
6793 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6795 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6797 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6799 * net/eww.el (eww-form-checkbox-selected-symbol)
6800 (eww-form-checkbox-symbol): New customizable variable.
6801 (eww-form-checkbox, eww-toggle-checkbox):
6802 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6804 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6805 (shr--get-media-pref, shr--extract-best-source): New function.
6806 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6807 no :src tag was specified.
6809 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6810 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6811 Use \\` to match beginning of string instead of ^.
6812 (eww-browse-with-external-browser): Provide optional URL parameter.
6813 (eww-render): Set `eww-current-title' back to "".
6815 * net/shr.el (shr-tag-video): Display content for video if no
6816 poster is available.
6817 (shr-tag-audio): Add support for <audio> tag.
6819 * net/eww.el (eww-text-input-types): New const.
6820 (eww-process-text-input): Treat input types in
6821 `eww-text-input-types' as text.
6823 * net/shr.el (shr-tag-table): Fix comment typo.
6825 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827 * net/eww.el (eww-follow-link): New command to avoid reloading
6828 pages when we follow #target links (bug#15243).
6829 (eww-quit): Special mode buffers shouldn't query before exiting.
6831 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6833 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6836 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6838 * net/eww.el (eww-restore-history): Update the window title after
6839 moving in the history.
6840 (eww-current-dom): New variable used to save the current DOM.
6842 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6844 * vc/log-edit.el (log-edit-mode-map): Add binding for
6845 `log-edit-beginning-of-line'.
6846 (log-edit-setup-add-author): New user option.
6847 (log-edit-beginning-of-line): New command.
6848 (log-edit): Move major mode call above the contents setup so that
6849 the local variable values are already applied.
6850 (log-edit): Only insert "Author: " when
6851 `log-edit-setup-add-author' is non-nil.
6852 (log-edit): When SETUP is non-nil, position point after ": "
6853 instead of point-min.
6855 2013-12-01 Glenn Morris <rgm@gnu.org>
6857 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6859 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6861 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6862 redisplay to make sure the initial frame gets a chance to become
6863 visible. (Bug#16014)
6865 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6867 Support resizing frames and windows pixelwise.
6868 * cus-start.el (frame-resize-pixelwise)
6869 (window-resize-pixelwise): New entries.
6870 * emacs-lisp/debug.el (debug): Use window-total-height instead
6871 of window-total-size.
6872 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6873 * help.el (describe-bindings-internal): Use help-buffer as
6874 argument for with-help-window.
6875 (temp-buffer-max-width): New option.
6876 (resize-temp-buffer-window, help-window-setup)
6877 (with-help-window): Rewrite.
6878 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6880 * window.el (frame-char-size, window-min-pixel-height)
6881 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6882 (window-min-pixel-width, window-safe-min-pixel-size)
6883 (window-combination-p, window-safe-min-size)
6884 (window-resizable-p, window--size-to-pixel)
6885 (window--pixel-to-size, window--resize-apply-p): New functions.
6886 (window-safe-min-height): Fix doc-string.
6887 (window-size, window-min-size, window--min-size-1)
6888 (window-sizable, window-sizable-p, window--min-delta-1)
6889 (window-min-delta, window--max-delta-1, window-max-delta)
6890 (window--resizable, window--resizable-p, window-resizable)
6891 (window-full-height-p, window-full-width-p, window-at-side-p)
6892 (window--in-direction-2, window-in-direction)
6893 (window--resize-reset-1, window--resize-mini-window)
6894 (window-resize, window-resize-no-error)
6895 (window--resize-child-windows-normal)
6896 (window--resize-child-windows, window--resize-siblings)
6897 (window--resize-this-window, window--resize-root-window)
6898 (window--resize-root-window-vertically)
6899 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6900 (maximize-window, minimize-window, delete-window)
6901 (quit-restore-window, window-split-min-size, split-window)
6902 (balance-windows-2, balance-windows)
6903 (balance-windows-area-adjust, balance-windows-area)
6904 (window--state-get-1, window-state-get, window--state-put-1)
6905 (window--state-put-2, window-state-put)
6906 (display-buffer-record-window, window--display-buffer):
6907 Make functions handle pixelwise sizing of windows.
6908 (display-buffer--action-function-custom-type)
6909 (display-buffer-fallback-action):
6910 Add display-buffer-in-previous-window.
6911 (display-buffer-use-some-window): Resize window to height it had
6913 (fit-window-to-buffer-horizontally): New option.
6914 (fit-frame-to-buffer): Describe new values.
6915 (fit-frame-to-buffer-bottom-margin): Replace with
6916 fit-frame-to-buffer-margins.
6917 (window--sanitize-margin): New function.
6918 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6919 using window-text-pixel-size.
6921 2013-11-30 Glenn Morris <rgm@gnu.org>
6923 * emacs-lisp/bytecomp.el (byte-compile-form):
6924 Make the `interactive-only' warning like the `obsolete' one.
6925 * comint.el (comint-run):
6926 * files.el (insert-file-literally, insert-file):
6927 * replace.el (replace-string, replace-regexp):
6928 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6929 (goto-line, insert-buffer, next-line, previous-line):
6930 Tweak `interactive-only' spec.
6932 Stop keeping (most) generated cedet grammar files in the repository.
6933 * Makefile.in (semantic): New.
6934 (compile-main): Depend on semantic.
6936 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6938 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6939 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6941 * uniquify.el (uniquify-buffer-name-style): Change default.
6943 * loadup.el: Preload "uniquify".
6945 * time.el (display-time-update): Update all mode lines (bug#15999).
6947 * electric.el (electric-indent-mode): Enable by default.
6948 * loadup.el: Preload "electric".
6950 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6952 * emacs-lisp/helpers.el (string-empty-p): New function.
6953 (string-blank-p): New function.
6955 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6957 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6960 2013-11-29 Andreas Politz <politza@fh-trier.de>
6961 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6962 allow non-lambda lists as functions.
6963 (imenu--in-alist): Don't recurse into non-subalists.
6964 (imenu): Don't pass function itself as an argument (Bug#14029).
6966 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * progmodes/python.el (python-mode-map): Remove binding for ":".
6969 (python-indent-electric-colon): Remove command.
6970 (python-indent-post-self-insert-function): Integrate the previous code
6971 of python-indent-electric-colon. Make it conditional on
6972 electric-indent-mode.
6973 (python-mode): Add ?: to electric-indent-chars.
6974 Move python-indent-post-self-insert-function to the end of
6975 post-self-insert-hook.
6977 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6979 * doc-view.el (doc-view-goto-page): Update mode-line.
6981 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6983 2013-11-27 Glenn Morris <rgm@gnu.org>
6985 * international/charprop.el, international/uni-bidi.el:
6986 * international/uni-category.el, international/uni-combining.el:
6987 * international/uni-comment.el, international/uni-decimal.el:
6988 * international/uni-decomposition.el, international/uni-digit.el:
6989 * international/uni-lowercase.el, international/uni-mirrored.el:
6990 * international/uni-name.el, international/uni-numeric.el:
6991 * international/uni-old-name.el, international/uni-titlecase.el:
6992 * international/uni-uppercase.el:
6993 Remove generated files from VCS repository.
6995 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6997 * filenotify.el (file-notify-add-watch): Don't special-case
6998 w32notify when computing the directory to watch.
7000 2013-11-27 Glenn Morris <rgm@gnu.org>
7002 Make bootstrap without generated uni-*.el files possible again.
7003 * loadup.el: Update command-line-args checking for unidata-gen.
7004 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7005 * composite.el, international/characters.el:
7006 Handle unicode tables being undefined.
7008 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7009 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7010 (compile-main): Depend on leim rule.
7012 * loadup.el: Move leim-list.el to leim/ subdirectory.
7013 * startup.el (normal-top-level): No more leim directory.
7014 * international/ja-dic-cnv.el (skkdic-convert):
7015 Disable version-control and autoloads in output files.
7016 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7017 Disable version-control and autoloads in output files.
7018 * leim/quail: Move here from ../leim.
7019 * leim/quail/hangul.el (hangul-input-method-activate):
7020 Add autoload cookie.
7021 (generated-autoload-load-name): Set file-local value.
7022 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7023 (generated-autoload-load-name): Set file-local value.
7025 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
7027 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7028 (eww-add-bookmark): Ask confirmation when add to bookmarks.
7029 (eww-quit): Ask confirmation before quitting eww.
7031 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7033 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7034 reading output from Diff on MS-Windows and MS-DOS.
7036 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7038 * emacs-lisp/helpers.el (string-reverse): New function.
7040 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7042 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7043 names on MS Windows, like "/[::1]:".
7045 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7048 2013-11-26 Glenn Morris <rgm@gnu.org>
7050 * progmodes/python.el (python-indent-guess-indent-offset):
7051 Avoid corner-case error. (Bug#15975)
7053 Preload leim-list.el. (Bug#4789)
7054 * loadup.el: Load leim-list.el when found.
7055 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7057 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7059 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7061 * emacs-lisp/helpers.el (string-join): New function.
7063 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7065 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7066 Mark as obsolete and replace it with a symbol property.
7067 (byte-compile-form): Use new 'interactive-only property.
7068 * comint.el, files.el, replace.el, simple.el:
7069 Apply new 'interactive-only properly.
7071 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7073 * window.el (display-buffer-at-bottom): Make sure that
7074 split-window-sensibly creates the new window on bottom
7077 2013-11-23 David Kastrup <dak@gnu.org>
7079 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7080 on the conflict markers when available.
7081 (smerge--get-marker): New function.
7082 (smerge-end-re, smerge-base-re): Add subgroup.
7084 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * frame.el (handle-focus-in, handle-focus-out): Add missing
7089 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7091 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7092 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7094 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7096 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7097 (gomoku--last-pos): New var.
7098 (gomoku--intangible-chars): New const.
7099 (gomoku--intangible): New function.
7100 (gomoku-mode): Use it. Derive from special-mode.
7101 (gomoku-move-up): Adjust line count.
7102 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7103 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7104 Simplify accordingly.
7106 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7107 Remove blink-cursor code.
7108 (blink-cursor-timer-function, blink-cursor-suspend):
7109 Don't special-case GUIs.
7110 (blink-cursor-mode): Use focus-in/out-hook.
7112 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7114 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7115 work when annotation is invisible (Bug#13886).
7117 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7119 * json.el (json-alist-p): Only return non-nil if the alist has
7120 simple keys (Bug#13518).
7122 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7124 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7125 when control-statement is the first statement in a buffer (Bug#15956).
7127 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7129 * imenu.el (imenu-generic-skip-comments-and-strings):
7130 New option (Bug#15560).
7131 (imenu--generic-function): Use it.
7133 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7135 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7138 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7140 * emacs-lisp/helpers.el: Add some string helpers.
7141 (string-trim-left): Removes leading whitespace.
7142 (string-trim-right): Removes trailing whitespace.
7143 (string-trim): Removes leading and trailing whitespace.
7145 * subr.el (string-suffix-p): New function.
7147 2013-11-23 Glenn Morris <rgm@gnu.org>
7149 * progmodes/python.el (python-shell-send-file):
7150 Add option to delete file when done. (Bug#15647)
7151 (python-shell-send-string, python-shell-send-region): Use it.
7153 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7155 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7156 to set buffer-read-only to t, never to nil. (Bug#15938)
7158 * textmodes/tex-mode.el (latex-noindent-environments):
7159 Add safe-local-variable property. (Bug#15936)
7161 2013-11-23 Glenn Morris <rgm@gnu.org>
7163 * textmodes/enriched.el (enriched-mode): Doc fix.
7164 * emacs-lisp/authors.el (authors-renamed-files-alist):
7165 Add enriched.doc -> enriched.txt.
7167 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7169 2013-11-22 Leo Liu <sdl.web@gmail.com>
7171 * progmodes/octave.el (inferior-octave-startup): Spit out error
7174 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7176 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7179 (ruby-encoding-magic-comment-style): Add :version.
7181 2013-11-22 Leo Liu <sdl.web@gmail.com>
7183 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7185 (octave-help-mode): Adapt to change to help-mode-finish to use
7186 derived-mode-p on 2013-09-17.
7187 (inferior-octave-prompt): Also match octave-gui.
7188 (octave-kill-process): Don't ask twice. (Bug#10564)
7190 2013-11-22 Leo Liu <sdl.web@gmail.com>
7192 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7193 (inferior-octave-startup, inferior-octave-check-process)
7194 (inferior-octave-track-window-width-change)
7195 (octave-completion-at-point, octave-eldoc-function): Use it.
7196 (octave-kill-process): Provide confirmation. (Bug#10564)
7198 2013-11-21 Leo Liu <sdl.web@gmail.com>
7200 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7201 Fix obsolete variable comment-use-global-state.
7203 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7205 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7206 Add `octave-source-file'.
7207 (octave-source-file): New function. (Bug#15935)
7209 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7211 * net/eww.el (eww-local-regex): New variable.
7212 (eww): Use it to detect localhost and similar.
7214 2013-11-21 Leo Liu <sdl.web@gmail.com>
7216 Add completion for command `ag'.
7217 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7218 (pcomplete/ag): New function.
7219 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7221 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7223 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7225 (make-obsolete): Remove interactive spec.
7227 2013-11-21 Glenn Morris <rgm@gnu.org>
7229 * startup.el (command-line-1): Use path-separator with -L.
7231 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7233 * emacs-lisp/package.el (describe-package-1): Add package archive
7236 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7238 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7239 Change default to "# encoding: %s" to differentiate it from the
7240 default Ruby encoding comment template.
7242 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7244 * ses.el (ses-mode): Doc fix. (Bug#14748)
7246 2013-11-20 Leo Liu <sdl.web@gmail.com>
7248 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7250 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7252 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7253 when rebase or bisect are in progress.
7255 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7257 * filenotify.el (file-notify-add-watch): Doc fix.
7259 2013-11-19 Leo Liu <sdl.web@gmail.com>
7261 * obsolete/rcompile.el: Mark obsolete.
7263 * progmodes/compile.el (compilation-start)
7264 (compilation-goto-locus, compilation-find-file):
7265 Pass no-display-ok and handle nil value from display-buffer.
7268 * window.el (display-buffer-alist, display-buffer): Document the
7269 new parameter no-display-ok. Return either a window or nil
7270 but never a non-window value.
7272 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7274 * electric.el (electric-indent-mode-map): Remove.
7275 (electric-indent-mode): Change the global-map instead (bug#15915).
7277 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7280 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7282 * emacs-lisp/nadvice.el (remove-function): Align with
7283 add-function's behavior.
7285 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7286 (gdb--string-regexp): New constant.
7287 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7288 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7289 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7291 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7292 Adjust use accordingly.
7293 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7295 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7297 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7298 interpolation curlies (Bug#15914).
7300 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7302 * calc/calc.el (calc-context-sensitive-enter): New variable.
7303 (calc-enter): Use `calc-context-sensitive-enter'.
7305 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7307 * progmodes/cfengine.el: Version bump.
7308 (cfengine-cf-promises): New defcustom to locate cf-promises.
7309 (cfengine3-vartypes): Add new "data" type.
7310 (cfengine3--current-word): New function to get current name-like
7312 (cfengine3--current-function): New function to look up a CFEngine
7313 function's definition.
7314 (cfengine3-format-function-docstring): New function.
7315 (cfengine3-make-syntax-cache): New function.
7316 (cfengine3-documentation-function): New function: ElDoc glue.
7317 (cfengine3-completion-function): New function: completion glue.
7318 (cfengine3-mode): Set `compile-command',
7319 `eldoc-documentation-function', and add to
7320 `completion-at-point-functions'.
7322 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7324 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7325 `tramp-current-connection'.
7327 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7329 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7330 nil/self/true/false with "end of symbol".
7332 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7334 * subr.el (version-regexp-alist): Fix a typo.
7336 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7338 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7339 "en_US.utf8" and "LC_CTYPE" to "".
7340 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7341 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7343 2013-11-15 Leo Liu <sdl.web@gmail.com>
7345 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7347 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7349 * progmodes/gud.el (ctl-x-map):
7350 Remove C-x SPC binding. (Bug#12342)
7351 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7353 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7355 * subr.el (version-regexp-alist):
7356 Recognize hg, svn and darcs versions as snapshot versions.
7358 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7359 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7360 (ruby--encoding-comment-required-p): Extract from
7361 `ruby-mode-set-encoding'.
7362 (ruby-mode-set-encoding): Add the ability to always insert an
7363 utf-8 encoding comment. Fix and simplify coding comment update
7366 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7368 * net/tramp-gvfs.el (top): Run init code only when
7369 `tramp-gvfs-enabled' is not nil.
7370 (tramp-gvfs-enabled): Check also :system bus.
7372 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7374 Sync with upstream verilog-mode revision 78e66ba.
7375 * progmodes/verilog-mode.el (verilog-end-of-defun)
7376 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7377 (verilog-get-end-of-defun): Remove unused argument.
7378 (verilog-comment-depth): Remove unused local `e'.
7379 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7380 Don't pass arg to verilog-get-end-of-defun.
7382 2013-11-14 Glenn Morris <rgm@gnu.org>
7384 * obsolete/assoc.el (aget): Prefix dynamic variable.
7386 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7388 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * widget.el, hfy-cmap.el: Remove bogus package version number.
7392 2013-11-13 Glenn Morris <rgm@gnu.org>
7394 * replace.el (replace-eval-replacement):
7395 Try to give more helpful error message. (Bug#15836)
7397 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7398 (archive-7z-update): Avoid custom type mismatches.
7400 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7402 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7404 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7405 address can be empty.
7407 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7408 Accept nil SWITCHES.
7409 (tramp-gvfs-handle-write-region): Implement APPEND.
7411 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7413 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7414 binary "|" operator and closing block args delimiter.
7415 Remove FIXME comment referring to Ruby 1.8-only syntax.
7416 (ruby-smie--implicit-semi-p): Not after "|" operator.
7417 (ruby-smie--closing-pipe-p): New function.
7418 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7419 (ruby-smie-rules): Indent after "|".
7421 2013-11-12 Glenn Morris <rgm@gnu.org>
7423 * ps-print.el (ps-face-attribute-list):
7424 Handle anonymous faces. (Bug#15827)
7426 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7428 * window.el (display-buffer-other-frame): Fix doc-string.
7431 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7433 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7435 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7437 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7438 (tramp-sh-handle-file-local-copy): Don't write a message when
7439 saving temporary files.
7441 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7442 both directories are remote.
7443 (tramp-smb-handle-directory-files): Do not return double entries.
7444 Do not expand full file names.
7445 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7446 (tramp-smb-handle-write-region): Implement APPEND.
7447 (tramp-smb-get-stat-capability): Fix a stupid bug.
7449 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7451 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7453 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7455 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7456 throwing error over malformed let/let* (bug#15814).
7458 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7460 * iswitchb.el (iswitchb-mode): Mark obsolete.
7462 2013-11-11 Glenn Morris <rgm@gnu.org>
7464 * international/uni-bidi.el, international/uni-category.el:
7465 * international/uni-name.el, international/uni-numeric.el:
7466 Regenerate for Unicode 6.3.0.
7468 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7470 * net/tramp.el (tramp-methods):
7471 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7472 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7474 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7476 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7477 Force highlighting text after Summary keyword in doc face for rpm.
7479 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7481 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7482 available and the word has no wildcards, append one to the grep pattern.
7483 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7484 (ispell-complete-word): Call `ispell-lookup-words' with the value
7485 independent of `ispell-look-p'.
7487 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7489 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7491 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7494 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7497 (ruby-font-lock-keywords): Use backquote.
7499 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7501 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7502 (ruby-smie--backward-token): Only consider full-string matches.
7504 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7506 * faces.el (describe-face): Add distant-foreground.
7508 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7510 * progmodes/ruby-mode.el: Improve encoding comment handling.
7511 (ruby-encoding-magic-comment-style): New option.
7512 (ruby-custom-encoding-magic-comment-template): New option.
7513 (ruby--insert-coding-comment, ruby--detect-encoding):
7514 New functions extracted from `ruby-mode-set-encoding'.
7515 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7516 to control the style of the auto-inserted encoding comment.
7518 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7520 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7521 Use `smie-backward-sexp' with token argument.
7523 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7525 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7526 Remove instrumentation code.
7528 2013-11-08 Glenn Morris <rgm@gnu.org>
7530 * progmodes/autoconf.el (autoconf-mode):
7531 Tweak comment-start-skip. (Bug#15822)
7533 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7535 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7536 at bobp (bug#15826).
7537 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7539 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7541 * man.el (Man-start-calling): New macro, extracted from
7542 Man-getpage-in-background.
7543 (Man-getpage-in-background): Use it.
7544 (Man-update-manpage): New command.
7545 (Man-mode-map): Bind it.
7547 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7549 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7550 of "and", "or", "&&" and "||".
7551 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7552 argument. Prohibit opening curly brace because it could only be a
7553 block opener in that position.
7554 (ruby-smie--forward-token, ruby-smie--backward-token):
7555 Separate "|" from "&" or "*" going after it. That can happen in block
7557 (ruby-smie--indent-to-stmt): New function, seeks the end of
7558 previous statement or beginning of buffer.
7559 (ruby-smie-rules): Use it.
7560 (ruby-smie-rules): Check if there's a ":" before a curly block
7561 opener candidate; if there is, it's a hash.
7563 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7565 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7566 (cl--block-wrapper): Fix last accidental change.
7568 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7570 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7571 Instrument, in order to hunt failure on hydra.
7573 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7575 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7576 malformed bindings form (bug#15814).
7578 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7580 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7581 "." compared to " @ ". This incidentally fixes some indentation
7583 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7584 (ruby-smie-grammar): New tokens: "and" and "or".
7585 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7586 Exclude "and" and "or". Remove "do" in order to work around token
7588 (ruby-smie-rules): Add all infix tokens. Handle the case of
7589 beginning-of-buffer.
7591 2013-11-06 Glenn Morris <rgm@gnu.org>
7593 * Makefile.in (setwins_almost, setwins_for_subdirs):
7594 Avoid accidental matches.
7596 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7598 * menu-bar.el (popup-menu): Use key-binding.
7600 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7602 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7603 menus, support also the menus produced by minor modes.
7606 2013-11-06 Leo Liu <sdl.web@gmail.com>
7608 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7609 DISTANCE to bound the search. All uses changed. (Bug#15808)
7611 2013-11-06 Glenn Morris <rgm@gnu.org>
7613 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7614 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7615 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7617 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * electric.el (electric-indent-just-newline): New command.
7620 (electric-indent-mode-map): New keymap.
7621 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7622 Re-add :group which weren't redundant.
7624 * electric.el (electric-indent-local-mode): New minor mode.
7625 (electric-indent-functions-without-reindent): New var.
7626 (electric-indent-post-self-insert-function): Use it.
7627 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7629 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7631 * international/quail.el (quail-help): Be more explicit about the
7632 meaning of the labels shown on the keys. (Bug#15800)
7634 * startup.el (normal-top-level): Load the subdirs.el files before
7635 setting the locale environment. (Bug#15805)
7637 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7639 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7640 via arguments so as to get the right ones (bug#15418).
7642 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7644 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7646 Fix problems found while writing a test suite.
7648 * net/tramp-compat.el (tramp-compat-load): New defun.
7649 * net/tramp.el (tramp-handle-load): Use it.
7651 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7652 "(numberp ok-if-already-exists)" correctly.
7654 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7656 * international/characters.el (glyphless-char-display-control):
7659 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7661 * progmodes/python.el (python-mode):
7662 * progmodes/scheme.el (scheme-mode):
7663 * progmodes/prolog.el (prolog-mode):
7664 * progmodes/ruby-mode.el (ruby-mode):
7665 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7666 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7668 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7670 * rect.el (rectangle--highlight-for-redisplay):
7671 * emacs-lisp/smie.el (smie--next-indent-change):
7672 Use buffer-chars-modified-tick.
7674 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7676 * electric.el (electric-indent-post-self-insert-function):
7677 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7679 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7681 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7683 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7685 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7688 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7692 * progmodes/python.el: Fix up last change.
7693 (python-shell--save-temp-file): New function.
7694 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7695 `string' comes from the current buffer.
7696 (python-shell-send-string-no-output): Remove `msg' arg.
7697 (python--use-fake-loc): New var.
7698 (python-shell-buffer-substring): Obey it. Try to compensate for the
7699 extra coding line added by python-shell--save-temp-file.
7700 (python-shell-send-region): Use python-shell--save-temp-file and
7701 python-shell-send-file directly. Add `nomain' argument.
7702 (python-shell-send-buffer): Use python-shell-send-region.
7703 (python-electric-pair-string-delimiter): New function.
7704 (python-mode): Use it.
7706 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7708 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7709 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7710 environment and decoding all of the default-directory's to here
7712 (command-line): Decode also argv[0].
7714 * loadup.el: Error out if default-directory is a multibyte string
7715 when we are dumping.
7717 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7719 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7721 * emacs-lisp/package.el (package-menu-mode)
7722 (package-menu--print-info, package-menu--archive-predicate):
7723 Add Archive column to package list.
7725 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7727 Fix problems found while writing a test suite.
7729 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7730 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7731 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7732 to nil when running original file name handler. Otherwise,
7733 there are problems with constructs like "$$FOO".
7735 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7738 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7740 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7742 * subr.el (version<, version<=, version=):
7743 Update docstrings with information for snapshot versions.
7745 * helpers.el: New library for misc helper functions.
7746 (hash-table-keys): New function returning a list of hash keys.
7747 (hash-table-values): New function returning a list of hash values.
7749 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7751 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7752 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7754 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7756 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7757 checking whether point is after a 1-letter word.
7759 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7761 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7762 Don't infloop when expanding region over `multiline' syntax-type that
7763 begins a line (bug#15778).
7765 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7767 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7768 Make it into a proper minor mode.
7769 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7770 (rectangle-mark-mode-map): New keymap.
7771 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7773 2013-11-04 Glenn Morris <rgm@gnu.org>
7775 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7777 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7779 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7780 (ruby-smie-rules): Use smie-rule-parent instead.
7782 * emacs-lisp/smie.el (smie-rule-parent): Always call
7783 smie-indent-virtual rather than only for hanging tokens.
7784 (smie--next-indent-change): New helper command.
7786 2013-11-03 Glenn Morris <rgm@gnu.org>
7788 * Makefile.in (abs_srcdir): Remove.
7789 (emacs): Unset EMACSLOADPATH.
7791 2013-11-02 Glenn Morris <rgm@gnu.org>
7793 * Makefile.in (EMACS): Use a relative filename.
7794 (abs_top_builddir): Remove.
7795 (custom-deps, finder-data, autoloads): Use --chdir.
7797 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7799 Use relative filenames in TAGS files.
7800 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7801 (lisptagsfiles4, TAGS): Use relative file names.
7802 (TAGS-LISP): Remove.
7803 (maintainer-clean): No more TAGS-LISP file.
7805 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7806 (lisptagsfiles4): Use absolute filenames again.
7807 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7808 Remove all *loaddefs files, not just the first. Remove esh-groups.
7809 (maintainer-clean): Delete TAGS, TAGS-LISP.
7811 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7813 * emacs-lisp/package.el (package-version-join):
7814 Recognize snapshot versions.
7816 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7818 * subr.el (version-regexp-alist): Add support for snapshot versions.
7820 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7822 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7823 New function, replacement for `smie-rule-parent' for when we want to
7824 skip over our direct parent if it's an assignment token..
7825 (ruby-smie-rules): Use it.
7827 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7829 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7830 unconditionally. Remove now unnecessary forward declarations.
7831 Remove XEmacs-specific setup.
7832 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7833 (ruby-font-lock-syntactic-keywords)
7834 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7835 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7836 (ruby-here-doc-end-syntax): Remove.
7837 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7838 defined as function.
7840 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7842 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7844 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7846 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7847 table and abbrev table, `define-derived-mode' does that for us
7850 2013-11-01 Glenn Morris <rgm@gnu.org>
7852 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7853 files is atomic for some time, so no parallel compilation issues).
7855 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7857 * faces.el (face-x-resources): Add :distant-foreground.
7858 (region): Use :distant-foreground for gtk and ns.
7860 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7862 Allow multiple bibliographies when BibLaTeX is used rather than
7864 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7865 (reftex-locate-bibliography-files): Us it.
7867 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7869 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7870 allow comments in pbm files.
7872 * term/w32-win.el (dynamic-library-alist): Support newer versions
7873 of libjpeg starting with v7: look only for the DLL from the
7874 version against which Emacs was built.
7875 Support versions of libpng beyond 1.4.x.
7876 Support libtiff v4.x.
7878 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7880 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7881 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7883 (ruby-deep-arglist): Add property :type.
7885 2013-10-31 Glenn Morris <rgm@gnu.org>
7887 * Makefile.in (custom-deps, finder-data): No need to setq the target
7888 variables, we are in the right directory and the defaults work fine.
7890 2013-10-30 Glenn Morris <rgm@gnu.org>
7892 * Makefile.in (autoloads): Do not use abs_lisp.
7894 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7895 `newline' does not respect `standard-output', so use `princ'.
7897 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7899 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7900 * buff-menu.el (Buffer-menu--unmark): New function.
7901 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7903 2013-10-30 Glenn Morris <rgm@gnu.org>
7905 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7907 * emacs-lisp/package.el (lm-homepage): Declare.
7909 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7912 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7914 * Makefile.in (finder-data, autoloads, update-subdirs)
7915 (compile-main, compile-clean, compile-always, bootstrap-clean):
7916 Check return value of cd.
7917 (compile-calc): Remove.
7919 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7921 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7923 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7924 (byte-compile-and-folded): New function.
7925 (=, <, >, <=, >=): Use it.
7927 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7928 (path-separator, null-device, buffer-file-coding-system)
7929 (lpr-headers-switches): Check system-type before modifying them.
7930 (find-buffer-file-type-coding-system): Mark obsolete.
7931 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7932 find-file-not-found-set-buffer-file-coding-system.
7933 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7934 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7935 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7936 (w32-direct-print-region-helper, w32-direct-print-region-function)
7937 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7938 * startup.el (normal-top-level-add-subdirs-to-load-path):
7939 * ps-print.el (ps-print-region-function):
7940 * lpr.el (print-region-function): Use new name.
7942 * subr.el (custom-declare-variable-early): Remove function.
7943 (custom-declare-variable-list): Remove var.
7944 (error, user-error): Remove `while' loop.
7945 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7946 (user-emacs-directory-warning, locate-user-emacs-file):
7948 * simple.el (read-quoted-char-radix, read-quoted-char):
7949 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7951 * custom.el (custom-declare-variable-list): Don't process
7952 custom-declare-variable-list.
7954 * progmodes/python.el (python-shell-get-buffer): New function.
7955 (python-shell-get-process): Use it.
7956 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7957 Python which encoding was used. Don't split-string since we only care
7958 about the first line. Return the temp-file, if applicable.
7959 (python-shell-send-region): Tell compile.el how to turn locations in
7960 the temp-file into locations in the source buffer.
7962 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7964 * subr.el (undefined): Add missing behavior from the C code for
7967 * rect.el: Use lexical-binding. Add new rectangular region support.
7968 (rectangle-mark): New command.
7969 (rectangle--region): New var.
7970 (deactivate-mark-hook): Reset rectangle--region.
7971 (rectangle--extract-region, rectangle--insert-for-yank)
7972 (rectangle--highlight-for-redisplay)
7973 (rectangle--unhighlight-for-redisplay): New functions.
7974 (region-extract-function, redisplay-unhighlight-region-function)
7975 (redisplay-highlight-region-function): Use them to handle
7977 * simple.el (region-extract-function): New var.
7978 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7979 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7980 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7981 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7982 (redisplay-unhighlight-region-function)
7983 (redisplay-highlight-region-function): New vars.
7984 (redisplay--update-region-highlight): New function.
7985 (pre-redisplay-function): Use it.
7986 (exchange-point-and-mark): Don't deactivate the mark before
7987 reactivate-it anyway.
7988 * comint.el (comint-kill-region): Remove yank-handler argument.
7989 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7990 (delete-char): Remove property, since it's now part of their
7992 (self-insert-iso): Remove property since this command doesn't exist.
7994 * emacs-lisp/package.el (package--download-one-archive)
7995 (describe-package-1): Don't query the user about final newline.
7997 2013-10-29 Daniel Colascione <dancol@dancol.org>
7999 * net/tramp.el (tramp-methods): Document new functionality.
8000 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
8001 tramp-hostname-checker if method provides one instead of scanning
8002 argument list for "%h" to decide hostname acceptability.
8004 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
8006 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8007 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8008 Handle COPY-CONTENTS. (Bug#15737)
8010 2013-10-28 Daiki Ueno <ueno@gnu.org>
8013 (epa-file-cache-passphrase-for-symmetric-encryption):
8014 Document that this option has no effect with GnuPG 2.0 (bug#15552).
8016 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
8018 * image.el (defimage, image-load-path): Doc fixes.
8020 2013-10-27 Alan Mackenzie <acm@muc.de>
8022 Indent statements in macros following "##" correctly.
8023 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8024 Modify the "#" arm of a cond form to handle "#" and "##" operators.
8026 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8028 * linum.el (linum-update-window): Fix boundary test (bug#13446).
8030 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8032 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8033 after `=' is probably a new expression.
8035 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8037 * man.el (man-imenu-title): New option.
8038 (Man-mode-map): Add menu. (Bug#15722)
8039 (Man-mode): Add imenu to menu.
8041 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8043 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8044 specific in what the first arg can be: a non-keyword word,
8045 string/regexp/percent literal opener, opening paren, or unary
8046 operator followed directly by word.
8048 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8050 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8051 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8052 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8053 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8054 Remove vars, they do not apply any more.
8055 (prolog-mode-abbrev-table): Remove redundant declaration.
8056 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8057 (prolog-use-smie): Remove.
8058 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8059 supported by prolog-electric-if-then-else-flag.
8060 (prolog-mode-variables, prolog-menu): Use setq-local.
8061 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8062 Remove binding to `Backspace' since this key doesn't exist anyway.
8063 Remove bindings for electric self-inserting keys.
8064 (prog-mode): Assume it's defined.
8065 (prolog-post-self-insert): New function.
8066 (prolog-mode): Use it.
8067 (prolog-indent-line, prolog-indent-level)
8068 (prolog-find-indent-of-matching-paren)
8069 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8070 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8071 (prolog-goto-next-paren, prolog-in-string-or-comment)
8072 (prolog-tokenize, prolog-inside-mline-comment)
8073 (prolog-find-start-of-mline-comment): Remove functions.
8074 (prolog-find-unmatched-paren, prolog-clause-end)
8075 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8076 (prolog-electric--if-then-else): Rename from
8077 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8078 (prolog-tokenize-searchkey): Remove const.
8079 (prolog-clause-info): Use forward-sexp.
8080 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8081 (prolog-electric-if-then-else): Remove commands.
8082 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8083 for use in post-self-insert-hook.
8084 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8085 for use in post-self-insert-hook.
8086 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8087 for use in post-self-insert-hook.
8088 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8089 adapt it for use in post-self-insert-hook.
8091 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8093 * emacs-lisp/ert.el (ert-run-tests-interactively):
8094 Use `completing-read'. (Bug#9756)
8096 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8098 * simple.el (line-move): Call line-move-1 instead of
8099 line-move-visual when the current window hscroll is zero, but
8100 temporary-goal-column indicates we will need to hscroll as result
8101 of the movement. (Bug#15712)
8103 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8105 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8106 capitalization. Use :visible instead of :active.
8107 Fix `ruby-indent-exp' reference. Add menu items for the generic
8108 commands that are used with SMIE.
8109 (ruby-do-end-to-brace): Insert space after `{'.
8111 2013-10-25 John Anthony <john@jo.hnanthony.com>
8113 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8115 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8117 2013-10-25 Glenn Morris <rgm@gnu.org>
8119 * vc/vc.el (vc-print-log): Don't use a working revision unless
8120 one was explicitly specified. (Bug#15322)
8122 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8124 * subr.el (add-to-list): Preserve return value in compiler-macro
8127 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8129 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8130 result. Ask user to retry using '-all' flag. (Bug#15701)
8132 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8134 * emacs-lisp/smie.el: New smie-config system.
8135 (smie-config): New defcustom.
8136 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8137 (smie-config-guess, smie-config-save): New commands.
8138 (smie-config--mode-local, smie-config--buffer-local)
8139 (smie-config--trace, smie-config--modefuns): New vars.
8140 (smie-config--advice, smie-config--mode-hook)
8141 (smie-config--setter, smie-config-local, smie-config--get-trace)
8142 (smie-config--guess-value, smie-config--guess): New functions.
8143 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8144 text properties. Treat "string fence" syntax like string syntax.
8146 * progmodes/sh-script.el (sh-use-smie): Change default.
8147 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8148 (sh-var-value): Simplify by CSE.
8149 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8150 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8152 (sh-guess-basic-offset): Use cl-incf.
8153 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8155 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8157 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8160 2013-10-24 Glenn Morris <rgm@gnu.org>
8162 * Makefile.in (abs_top_srcdir): Remove.
8163 (update-subdirs): Use relative path to update-subdirs.
8165 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8167 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8168 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8169 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8170 Call unmsys--file-name before expand-file-name, not after it.
8172 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8174 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8175 (ert-test-skipped): New error.
8176 (ert-skip, ert-stats-skipped): New defuns.
8177 (ert--skip-unless): New macro.
8178 (ert-test-skipped): New struct.
8179 (ert--run-test-debugger, ert-test-result-type-p)
8180 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8181 (ert--stats-set-test-and-result, ert-char-for-test-result)
8182 (ert-string-for-test-result, ert-run-tests-batch)
8183 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8184 Handle skipped tests. (Bug#9803)
8186 2013-10-24 Glenn Morris <rgm@gnu.org>
8188 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8190 * Makefile.in (abs_top_srcdir): New, set by configure.
8191 (update-subdirs): Correct build-aux location.
8193 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8195 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8196 value, whether we could auto-deduce `backend', or not.
8198 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8199 with parameters" example. Simplify the "is it block or is it
8200 hash" check, but also make it more thorough.
8202 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8204 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8206 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8208 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8211 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8214 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8216 * progmodes/compile.el (compilation-directory-matcher)
8217 (compilation-page-delimiter):
8218 Support GNU Make-4.0 directory quoting. (Bug#15678)
8220 2013-10-23 Leo Liu <sdl.web@gmail.com>
8222 * ido.el (ido-tidy): Handle read-only text.
8224 2013-10-23 Glenn Morris <rgm@gnu.org>
8226 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8227 (emacs, compile, compile-always):
8228 Quote entities that might contain whitespace.
8229 (custom-deps, finder-data, autoloads): Use abs_lisp.
8230 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8231 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8232 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8234 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8236 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8237 Use `following-char'.
8239 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8241 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8242 * progmodes/ruby-mode.el (ruby-smie-rules):
8243 Remove corresponding workaround. Fix indentation rule of ";" so it
8244 also applies when ";" is the parent.
8246 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8248 * frame.el (display-screens, display-pixel-height)
8249 (display-pixel-width, display-mm-width, display-backing-store)
8250 (display-save-under, display-planes, display-color-cells)
8251 (display-visual-class, display-monitor-attributes-list):
8252 Mention the optional ‘display’ argument in doc strings.
8254 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8256 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8257 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8259 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8261 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8262 TODO. Add "." after " @ ".
8263 (ruby-smie--at-dot-call): New function. Checks if point at method
8264 call with explicit target.
8265 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8266 to the method name tokens when it precedes them.
8267 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8268 (ruby-smie-rules): Add rule for indentation before and after "."
8271 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * textmodes/remember.el (remember-diary-extract-entries):
8276 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8279 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8281 * progmodes/ruby-mode.el (ruby-smie-grammar):
8282 Add (almost) all infix operators.
8283 (ruby-smie--implicit-semi-p): Add new operator chars.
8285 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8287 (ruby-smie--args-separator-p): Check that there's no newline
8288 between method call and its arguments.
8290 2013-10-20 Alan Mackenzie <acm@muc.de>
8292 Allow comma separated lists after Java "implements".
8294 * progmodes/cc-engine.el (c-backward-over-enum-header):
8296 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8297 from a "disallowed" list in enum fontification.
8299 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8301 * startup.el (default-frame-background-mode): Remove unused defvar.
8303 * progmodes/verilog-mode.el (verilog-mode): Don't set
8304 comment-indent-function globally.
8306 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8308 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8309 Move Info menu item creation to ns-win.el.
8311 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8314 * menu-bar.el: Move GNUstep specific menus...
8316 * term/ns-win.el (ns-initialize-window-system): ... to here.
8318 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8320 * simple.el (newline): Only run post-self-insert-hook when
8321 called interactively.
8323 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8325 * icomplete.el (icomplete-with-completion-tables): Add :version.
8327 2013-10-19 Alan Mackenzie <acm@muc.de>
8329 Fix fontification bugs with constructors and const.
8331 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8332 CASE 2) Remove the check for the absence of a suffix construct
8333 after a function declaration with only types (no identifiers) in
8334 the parentheses. Also, accept a function declaration with just a
8335 type inside the parentheses, if this type can be positively
8336 recognised as such, or if a prefix keyword like "explicit" nails
8337 down the construct as a declaration.
8339 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8341 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8342 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8343 the problem whereby selecting a menu item that leads to a
8344 minibuffer prompt moves the cursor out of the minibuffer window,
8345 making it hard to type at the prompt. Suggested by Stefan Monnier
8346 <monnier@iro.umontreal.ca>.
8348 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8350 * menu-bar.el: Don't make Services menu.
8352 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8354 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8355 (ffap-alist): Use ffap-c++-mode for c++-mode.
8356 (ffap-c++-path): New variable.
8357 (ffap-c++-mode): New function.
8359 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8361 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8363 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8365 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8366 introduced on 2013-09-08, which results in an infinite loop
8367 requesting a password.
8369 2013-10-18 Glenn Morris <rgm@gnu.org>
8371 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8373 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8375 Sync with upstream verilog-mode revision 1a6ecec7.
8376 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8377 (verilog-mode-release-date): Remove.
8378 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8379 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8380 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8381 (verilog-auto-tieoff-ignore-regexp)
8382 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8383 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8384 (verilog-signals-with, verilog-dir-cache-preserving)
8385 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8387 (verilog-case-fold): New option, to control case folding in
8388 regexp searches, bug597.
8389 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8390 (verilog-string-match-fold, verilog-in-paren-count)
8391 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8392 (verilog-at-close-struct-p): New functions.
8393 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8394 (verilog-forward-sexp, verilog-set-auto-endcomments)
8395 (verilog-leap-to-case-head): Handle "unique0" case.
8396 (verilog-in-constraint-re): New constant.
8397 (verilog-keywords, verilog-type-font-keywords):
8398 Add some SystemVerilog 1800-2012 keywords.
8399 (verilog-label-be): Remove unimplemented argument, bug669.
8400 (verilog-batch-execute-func): When batch expanding clear
8401 create-lockfiles to prevent spurious user locks when a file ends
8403 (verilog-calculate-indent, verilog-calc-1)
8404 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8405 (verilog-do-indent): Fix indentation of nested constraints
8407 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8408 (verilog-auto-inst-param): Use verilog-string-match-fold.
8409 (verilog-read-inst-module-matcher):
8410 Fix AUTOINST on gate primitives with #1.
8411 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8412 Reads all user-defined typed variables.
8413 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8414 (verilog-signals-matching-regexp)
8415 (verilog-signals-not-matching-regexp, verilog-auto):
8416 Respect verilog-case-fold.
8417 (verilog-diff-report): Fix line count.
8418 (verilog-auto-assign-modport): Remove unused local `modi'.
8419 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8420 better handle multidimensional arrays.
8421 Fix packed array ports misadding bit index in AUTOINST, bug637.
8422 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8423 to not double-declare existing outputs and inputs, respectively.
8424 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8425 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8426 (verilog-sk-uvm-component): New skeleton.
8427 (verilog-submit-bug-report): Add verilog-case-fold,
8428 remove verilog-mode-release-date.
8430 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8432 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8435 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8437 * textmodes/remember.el (remember): Set buffer-offer-save in
8438 remember buffers (bug#13566).
8440 2013-10-18 Daniel Colascione <dancol@dancol.org>
8442 When evaluating forms in ielm, direct standard output to ielm
8443 buffer. Add new ielm-return-for-effect command. Remove trailing
8444 whitespace throughout.
8446 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8447 (ielm-return-for-effect): New command.
8448 (ielm-send-input): Accept optional `for-effect' parameter.
8449 (ielm-eval-input): Accept optional `for-effect' parameter.
8450 Bind `standard-output' to stream we create using
8451 `ielm-standard-output-impl'. Suppress printing result when
8453 (ielm-standard-output-impl): New function.
8454 (inferior-emacs-lisp-mode): Explain new features in documentation.
8456 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8460 * net/tramp.el (tramp-debug-message): Do not check for connection
8462 (tramp-message): Use "vector" connection property.
8464 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8465 (tramp-equal-remote, tramp-eshell-directory-change)
8466 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8467 (tramp-adb-handle-rename-file)
8468 * net/tramp-cmds.el (tramp-list-remote-buffers)
8469 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8470 * net/tramp-compat.el (tramp-compat-process-running-p)
8471 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8472 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8473 (tramp-gvfs-handle-rename-file)
8474 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8475 (tramp-set-file-uid-gid)
8476 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8477 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8480 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8481 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8482 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8483 (tramp-gw-open-network-stream): Suppress unrelated traces.
8485 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8486 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8487 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8488 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8489 connection property.
8491 * net/tramp-cache.el (top): Suppress traces when reading
8494 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8495 Refactor common code. Improve debug message.
8496 (tramp-maybe-open-connection)
8497 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8498 connection buffer too early.
8500 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8501 from `tramp-smb-actions-with-acl'.
8502 (tramp-smb-actions-set-acl): New defconst.
8503 (tramp-smb-handle-copy-directory)
8504 (tramp-smb-action-get-acl): New defun, renamed from
8505 `tramp-smb-action-with-acl'.
8506 (tramp-smb-action-set-acl): New defun.
8507 (tramp-smb-handle-set-file-acl): Rewrite.
8509 2013-10-17 Glenn Morris <rgm@gnu.org>
8511 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8513 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8515 * skeleton.el (skeleton-newline): Remove.
8516 (skeleton-internal-1): Use (insert "\n") instead.
8518 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8521 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8522 forward-sexp-function while we redo its job (bug#15613).
8524 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8526 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8527 represented by lists.
8529 2013-10-16 Glenn Morris <rgm@gnu.org>
8531 * tmm.el (tmm--history): New dynamic variable.
8532 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8534 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8536 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8537 (tramp-smb-errors): Add error messages.
8538 (tramp-smb-actions-with-acl): New defconst.
8539 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8540 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8541 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8542 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8543 (tramp-smb-get-stat-capability): Fix tests.
8545 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8547 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8550 2013-10-16 Glenn Morris <rgm@gnu.org>
8552 * ansi-color.el (ansi-color-drop-regexp):
8553 Add 1J, 1K, 2K. (Bug#15617)
8555 * files.el (hack-local-variables--warned-lexical): New.
8556 (hack-local-variables):
8557 Warn about misplaced lexical-binding. (Bug#15616)
8559 * net/eww.el (eww-render): Always set eww-current-url,
8560 and update header line. (Bug#15622)
8561 (eww-display-html): ... Rather than just doing it here.
8563 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8565 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8566 menu navigations commands.
8568 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8570 * progmodes/subword.el (subword-capitalize): Be careful when
8571 the search for [[:alpha:]] fails (bug#15580).
8573 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8575 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8576 to commands that scroll the menu.
8578 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8580 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8581 Handle methods ending with `?' and `!'.
8583 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8585 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8586 `japanese-cp932' to `cp932' to fix the problem where saving a
8587 source file written in Shift_JIS twice would end up having
8588 `coding: japanese-cp932' which Ruby could not recognize.
8589 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8590 in `ruby-encoding-map'.
8591 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8592 doesn't need to be explicitly declared in magic comment.
8593 (ruby-encoding-map): Add type declaration for better customize UI.
8595 2013-10-13 Glenn Morris <rgm@gnu.org>
8597 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8598 Occur buffers are read-only. http://bugs.debian.org/720775
8600 * emacs-lisp/authors.el (authors-fixed-entries):
8601 Comment out old alpha stuff.
8603 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8605 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8606 to `after-save-hook' instead of `before-save-hook'.
8607 (ruby-mode-set-encoding): Use the value of coding system used to
8608 write the file. Call `basic-save-buffer-1' after modifying the
8611 2013-10-13 Alan Mackenzie <acm@muc.de>
8613 Fix indentation/fontification of Java enum with
8614 "implements"/generic.
8616 * progmodes/cc-engine.el (c-backward-over-enum-header):
8617 Extracted from the three other places and enhanced to handle generics.
8618 (c-inside-bracelist-p): Uses new function above.
8619 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8621 (c-font-lock-enum-tail): Uses new function above.
8623 2013-10-13 Kenichi Handa <handa@gnu.org>
8625 * international/mule-cmds.el (select-safe-coding-system): Remove a
8626 superfluous condition in chekcing whether a coding system is safe
8629 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8631 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8633 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8635 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8637 2013-10-13 Glenn Morris <rgm@gnu.org>
8639 * menu-bar.el (menu-bar-update-buffers):
8640 Unify Buffers menu prompt string. (Bug#15576)
8642 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8644 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8646 (authors-fixed-entries): Use accented form of name.
8648 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8650 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8651 method calls (bug#15594).
8652 (ruby-smie--args-separator-p): New function.
8653 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8654 recognize paren-free method calls.
8656 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8657 internals of universal-argument.
8659 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8661 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8662 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8663 dropped menu on second mouse click on the menu bar.
8665 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8667 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8668 (explicit-shell-file-name): Declare.
8669 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8670 (sh-completion-at-point-function): New function.
8672 (sh-smie--keyword-p): Remove unused argument.
8673 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8675 (sh-set-shell): Always setup SMIE, even if we use the
8676 old indentation code.
8678 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8680 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8682 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8683 predicate would return nil are almost non-existent.
8684 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8686 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8687 cache also after commands that modify the buffer but don't move
8690 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * env.el (substitute-env-in-file-name): New function.
8693 (substitute-env-vars): Extend the meaning of the optional arg.
8695 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8697 * term/w32-win.el (dynamic-library-alist): Define separate lists
8698 of GIF DLLs for versions before and after 5.0.0 of giflib.
8701 2013-10-10 João Távora <joaotavora@gmail.com>
8703 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8704 not locked, use last revision and current source as
8705 defaults. (Bug#15569)
8707 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8709 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8712 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8714 * window.el (pop-to-buffer-same-window): Fix doc-string.
8717 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8721 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8723 * calendar/icalendar.el (icalendar-import-file):
8724 Fix interactive spec. (Bug#15482)
8726 2013-10-10 Glenn Morris <rgm@gnu.org>
8728 * desktop.el (desktop-save): Default to saving in .emacs.d,
8729 since PWD is no longer in desktop-path by default. (Bug#15319)
8731 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8732 now that text mode has a menu with the same entry.
8733 (menu-bar-text-mode-auto-fill): Remove now unused func.
8734 * textmodes/text-mode.el (text-mode-map):
8735 Use auto-fill help text from menu-bar.el.
8737 2013-10-10 John Anthony <john@jo.hnanthony.com>
8739 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8741 2013-10-09 Juri Linkov <juri@jurta.org>
8743 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8744 instead of this-command-keys. Add universal-argument-more and
8745 universal-argument-minus to the list of prefix commands. (Bug#15568)
8747 2013-10-09 Glenn Morris <rgm@gnu.org>
8749 * vc/vc-svn.el (vc-svn-create-repo):
8750 Expand paths in file://... url. (Bug#15446)
8752 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8754 (authors): Remove unused local variables.
8756 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8758 * profiler.el: Create a more coherent calltree from partial backtraces.
8759 (profiler-format): Hide the tail with `invisible' so that C-s can still
8760 find the hidden elements.
8761 (profiler-calltree-depth): Don't recurse so enthusiastically.
8762 (profiler-function-equal): New hash-table-test.
8763 (profiler-calltree-build-unified): New function.
8764 (profiler-calltree-build): Use it.
8765 (profiler-report-make-name-part): Indent the calltree less.
8766 (profiler-report-mode): Add visibility specs for profiler-format.
8767 (profiler-report-expand-entry, profiler-report-toggle-entry):
8768 Expand the whole subtree when provided with a prefix arg.
8770 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8772 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8774 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8775 hanging iuwu-mod token.
8776 (ruby-smie--forward-token): Do not include a dot after a token in
8778 (ruby-smie--backward-token): Likewise.
8780 2013-10-08 Juri Linkov <juri@jurta.org>
8782 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8783 to isearch-other-control-char.
8784 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8785 and isearch-post-command-hook to post-command-hook.
8786 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8787 and isearch-post-command-hook from post-command-hook.
8788 (isearch-unread-key-sequence)
8789 (isearch-reread-key-sequence-naturally)
8790 (isearch-lookup-scroll-key, isearch-other-control-char)
8791 (isearch-other-meta-char): Remove functions.
8792 (isearch-pre-command-hook, isearch-post-command-hook):
8793 New functions based on isearch-other-meta-char rewritten
8794 relying on the new behavior of overriding-terminal-local-map
8795 that does not replace the local keymaps any more. (Bug#15200)
8797 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8799 Support menus on text-mode terminals.
8800 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8803 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8805 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8806 Move here from mouse.el.
8807 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8809 (tty-menu-navigation-map): New map for TTY menu navigation.
8811 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8813 * frame.el (display-mouse-p): Report text-mode mouse as available
8815 (display-popup-menus-p): Report availability if mouse is
8816 available; don't condition on window-system.
8818 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8819 (tty-menu-selected-face): New faces.
8821 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8824 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8825 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8826 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8828 (lisp-mode-variables): New `elisp' argument.
8829 (emacs-lisp-mode): Use it.
8830 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8831 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8833 * indent.el: Use lexical-binding.
8834 (indent-region): Add progress reporter.
8835 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8837 (indent--next-tab-stop): New function to implement this behavior.
8838 (tab-to-tab-stop, move-to-tab-stop): Use it.
8840 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8842 * indent.el (indent-rigidly--current-indentation): New function.
8843 (indent-rigidly-map): New var.
8844 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8846 2013-10-08 Bastien Guerry <bzg@gnu.org>
8848 * register.el (insert-register): Fix 2013-10-07 change.
8850 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8852 * progmodes/perl-mode.el: Use lexical-binding.
8853 Remove redundant :group args.
8854 (perl-nochange): Change default to be closer to other major modes's
8856 (perl-indent-line): Don't consider text on current line as a
8857 valid beginning of function from which to indent.
8859 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8860 with more than one argument (bug#15538).
8862 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8864 * vc/pcvs.el: Use lexical-binding.
8865 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8866 environment of `eval'.
8867 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8868 than a list of expressions. Adjust callers.
8869 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8871 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8873 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8874 case of the dot in a chained method call being on the following line.
8876 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * electric.el (electric-indent-inhibit): New var.
8879 (electric-indent-post-self-insert-function): Use it.
8880 * progmodes/python.el (python-mode): Set it.
8882 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8885 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8887 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8888 (css-mode): Use electric-indent-chars.
8890 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8891 (font-lock-beg, font-lock-end): Move before first use.
8892 (nxml-mode): Use syntax-propertize-function.
8893 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8894 (nxml-extend-after-change-region): Remove.
8895 * nxml/xmltok.el: Use lexical-binding.
8896 (xmltok-save): Use `declare'.
8897 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8898 * nxml/nxml-util.el: Use lexical-binding.
8899 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8901 * nxml/nxml-ns.el: Use lexical-binding.
8902 (nxml-ns-save): Use `declare'.
8903 (nxml-ns-prefixes-for): Avoid add-to-list.
8904 * nxml/rng-match.el: Use lexical-binding.
8905 (rng--ipattern): Use cl-defstruct.
8906 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8907 (rng-cons-group-after, rng-subst-group-after)
8908 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8909 Use closures instead of `(lambda...).
8911 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8913 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8916 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8917 Use `tramp-handle-insert-file-contents'.
8918 (tramp-gvfs-handle-insert-file-contents): Remove function.
8920 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8921 Use `save-restriction' in order to keep markers.
8923 * net/trampver.el: Update release number.
8925 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8927 * progmodes/compile.el (compilation-parse-errors):
8928 Use compilation--put-prop.
8929 (compilation--ensure-parse): Check compilation-multiline.
8931 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8933 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8936 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8938 * progmodes/ruby-mode.el: Fix recently added tests.
8939 (ruby-smie-grammar): Add - and +.
8940 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8941 (ruby-smie--backward-id): New functions.
8942 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8943 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8946 2013-10-07 Leo Liu <sdl.web@gmail.com>
8948 * register.el (register-preview-delay)
8949 (register-preview-functions): New variables.
8950 (register-read-with-preview, register-preview)
8951 (register-describe-oneline): New functions.
8952 (point-to-register, window-configuration-to-register)
8953 (frame-configuration-to-register, jump-to-register)
8954 (number-to-register, view-register, insert-register)
8955 (copy-to-register, append-to-register, prepend-to-register)
8956 (copy-rectangle-to-register): Use register-read-with-preview to
8957 read register. (Bug#15525)
8959 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8961 * net/network-stream.el (network-stream-open-starttls): Don't add
8962 --insecure if it's already present, because that gnutls-cli
8963 rejects getting that parameter twice.
8965 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8967 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8970 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8972 * newcomment.el (comment-use-global-state): Change default value
8973 to t, mark obsolete (Bug#15251).
8974 (comment-beginning): In addition to `comment-to-syntax', check the
8975 value of `comment-use-global-state'.
8977 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8980 (ruby-comment-column): Follow the global default, by default.
8981 (ruby-smie-grammar): Add assignment syntax.
8982 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8983 open-paren, a comma, or a \.
8984 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8985 and line continuations.
8986 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8987 followed by implicit semi-colons. Add rule for string concatenation
8988 and for indentation at BOB.
8989 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8991 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8992 calling next-sexp, since next-token may have skipped chars which
8993 next-sexp doesn't know should be skipped!
8995 2013-10-05 Leo Liu <sdl.web@gmail.com>
8997 * progmodes/octave.el (octave-send-region):
8998 Call compilation-forget-errors.
9000 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9002 * vc/vc-svn.el (vc-svn-find-admin-dir):
9003 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9004 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9005 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9006 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9008 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9012 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * subr.el (read-passwd): Hide chars even when called within a context
9015 where after-change-functions is disabled (bug#15501).
9016 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9017 until we removed ourself from overriding-terminal-local-map.
9019 2013-10-04 Leo Liu <sdl.web@gmail.com>
9021 * progmodes/octave.el (inferior-octave-mode):
9022 Call compilation-forget-errors.
9024 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9026 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9028 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
9030 * net/secrets.el (secrets-create-collection): Add optional
9031 argument ALIAS. Use proper Label keyword. Append ALIAS as
9032 dbus-call-method argument. (Bug#15516)
9034 2013-10-04 Leo Liu <sdl.web@gmail.com>
9036 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9037 (inferior-octave-compilation-font-lock-keywords): New variables.
9038 (compilation-error-regexp-alist)
9039 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9040 (inferior-octave-mode): Use compilation-shell-minor-mode.
9042 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9044 * minibuffer.el (completion--replace): Be careful that `end' might be
9047 2013-10-03 Daiki Ueno <ueno@gnu.org>
9049 Add support for package signature checking.
9050 * emacs-lisp/package.el (url-http-file-exists-p)
9051 (epg-make-context, epg-context-set-home-directory)
9052 (epg-verify-string, epg-context-result-for)
9053 (epg-signature-status, epg-signature-to-string)
9054 (epg-check-configuration, epg-configuration)
9055 (epg-import-keys-from-file): Declare.
9056 (package-check-signature): New user option.
9057 (package-unsigned-archives): New user option.
9058 (package-desc): Add `signed' field.
9059 (package-load-descriptor): Set `signed' field if .signed file exists.
9060 (package--archive-file-exists-p): New function.
9061 (package--check-signature): New function.
9062 (package-install-from-archive): Check package signature.
9063 (package--download-one-archive): Check archive signature.
9064 (package-delete): Remove .signed file.
9065 (package-import-keyring): New command.
9066 (package-refresh-contents): Import default keyring.
9067 (package-desc-status): Add "unsigned" status.
9068 (describe-package-1, package-menu--print-info)
9069 (package-menu-mark-delete, package-menu--find-upgrades)
9070 (package-menu--status-predicate): Support "unsigned" status.
9072 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9074 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9075 the new compilation scheme using the new byte-codes.
9077 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9078 (byte-pophandler): New byte codes.
9079 (byte-goto-ops): Adjust accordingly.
9080 (byte-compile--use-old-handlers): New var.
9081 (byte-compile-catch): Use new byte codes depending on
9082 byte-compile--use-old-handlers.
9083 (byte-compile-condition-case--old): Rename from
9084 byte-compile-condition-case.
9085 (byte-compile-condition-case--new): New function.
9086 (byte-compile-condition-case): New function that dispatches depending
9087 on byte-compile--use-old-handlers.
9088 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9091 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9092 Optimize under `condition-case' and `catch' if
9093 byte-compile--use-old-handlers is nil.
9094 (disassemble-offset): Handle new bytecodes.
9096 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9098 * subr.el (error): Use `declare'.
9099 (decode-char, encode-char): Use advertised-calling-convention instead
9100 of the docstring to discourage use of the `restriction' arg.
9102 2013-10-03 Daiki Ueno <ueno@gnu.org>
9104 * epg.el (epg-verify-file): Add a comment saying that it does not
9105 notify verification error as a return value nor a signal.
9106 (epg-verify-string): Ditto.
9108 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9110 * progmodes/compile.el (compilation-start): Try globbing the arg to
9113 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9115 Sync with Tramp 2.2.8.
9117 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9118 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9119 * net/trampver.el: Update release number.
9121 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9123 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9124 and default-process-coding-system for darwin only.
9126 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9128 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9130 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9132 * vc/vc-git.el (vc-git-grep): Disable pager.
9134 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9136 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9137 Use :url instead of :homepage, as per
9138 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9140 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9141 non-nil, use `syntax-ppss' (Bug#15251).
9143 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9145 * progmodes/octave.el (inferior-octave-startup-file):
9146 Prefer ~/.emacs.d/init_octave.m.
9148 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9150 * emacs-lisp/package.el (package-desc-from-define):
9151 Accept additional arguments as plist, convert them to an alist and store
9152 them in the `extras' slot.
9153 (package-generate-description-file): Convert extras alist back to
9154 plist and append to the `define-package' form arguments.
9155 (package--alist-to-plist): New function.
9156 (package--ac-desc): Add `extras' slot.
9157 (package--add-to-archive-contents): Check if the archive-contents
9158 vector is long enough, and if it is, pass its `extras' slot value
9159 to `package-desc-create'.
9160 (package-buffer-info): Call `lm-homepage', pass the returned value
9161 to `package-desc-from-define'.
9162 (describe-package-1): Render the homepage button (Bug#13291).
9164 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9165 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9167 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9169 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9170 and default-process-coding-system to utf-8-unix (Bug#15402).
9172 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9174 * subr.el (looking-back): Do not recommend using looking-back.
9176 2013-09-28 Alan Mackenzie <acm@muc.de>
9178 Fix indentation/fontification of Java enum with "implements".
9180 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9181 regexp which matches "implements", etc., in Java.
9182 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9183 specifier clauses coming after "enum".
9184 * progmodes/cc-fonts.el (c-font-lock-declarations)
9185 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9188 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9190 * faces.el (region): Change ns_selection_color to
9191 ns_selection_fg_color, add ns_selection_bg_color.
9193 2013-09-28 Leo Liu <sdl.web@gmail.com>
9195 * progmodes/octave.el (inferior-octave-completion-table)
9196 (inferior-octave-completion-at-point): Minor tweaks.
9198 * textmodes/ispell.el (ispell-lookup-words): Rename from
9199 lookup-words. (Bug#15460)
9200 (lookup-words): Obsolete.
9201 (ispell-complete-word, ispell-command-loop): All uses changed.
9203 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9205 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9206 (octave-mode-menu): Add octave-send-buffer.
9207 (octave-send-buffer): New function.
9209 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9211 * progmodes/octave.el (octave-mode-map): Add key binding for
9213 (octave-mode-menu): Add octave-lookfor.
9214 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9216 (octave-lookfor): New function.
9218 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9220 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9221 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9223 (cl--loop-set-iterator-function): New function.
9224 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9225 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9226 Bind `it' with `let' instead of substituting it with `cl-subst'.
9227 (cl--unused-var-p): New function.
9228 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9229 Eliminate some unused variable warnings (bug#15326).
9231 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9233 * doc-view.el (doc-view-scale-reset): Rename from
9234 `doc-view-reset-zoom-level'.
9235 (doc-view-scale-adjust): New command.
9236 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9237 `doc-view-scale-adjust'.
9239 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9241 * doc-view.el (doc-view-reset-zoom-level): New command.
9242 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9243 zoom commands (bug#15466).
9245 2013-09-26 Kenichi Handa <handa@gnu.org>
9247 * international/quail.el (quail-help): Make it not a command.
9249 2013-09-26 Leo Liu <sdl.web@gmail.com>
9251 * minibuffer.el (completion-all-sorted-completions): Make args
9252 optional as they are.
9254 2013-09-25 Daniel Colascione <dancol@dancol.org>
9256 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9257 specs are and that they're not evaluated.
9259 2013-09-24 Sam Steingold <sds@gnu.org>
9261 * midnight.el (clean-buffer-list-kill-regexps)
9262 (clean-buffer-list-kill-buffer-names): Update for the new Man
9263 buffer naming which includes the object name.
9265 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9267 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9268 (eshell-parse-command, eshell-parse-pipeline): Use it since
9269 eshell-separate-commands requires a dynamic scoped var.
9270 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9272 2013-09-23 Leo Liu <sdl.web@gmail.com>
9274 * autoinsert.el (auto-insert-alist): Make the value of
9275 lexical-binding match its file setting.
9277 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9279 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9281 * autoarg.el (autoarg-kp-digit-argument):
9282 * electric.el (Electric-command-loop):
9283 * kmacro.el (kmacro-step-edit-insert):
9284 Do not set universal-argument-num-events.
9286 2013-09-22 Leo Liu <sdl.web@gmail.com>
9288 * files.el (interpreter-mode-alist): Add octave.
9290 2013-09-21 Alan Mackenzie <acm@muc.de>
9292 C++: fontify identifier in declaration following "public:" correctly.
9293 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9294 to match "public", etc.
9295 (c-decl-prefix-re): Add ":" into the C++ value.
9296 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9297 bit. Add a check for a ":" preceded by "public", etc.
9299 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9301 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9302 recognized by GDB 7.5 and later.
9304 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9306 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9308 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * subr.el (internal--call-interactively): New const.
9311 (called-interactively-p): Use it (bug#3984).
9313 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9315 * vc/pcvs.el (cvs-mode-ignore):
9316 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9317 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9319 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9321 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9322 (eshell-ls-orig-insert-directory): Remove.
9323 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9324 (eshell-ls-use-in-dired): Use advice-add/remove.
9325 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9326 Add `orig-fun' arg for use in :around advice.
9327 Make it check (redundantly) eshell-ls-use-in-dired.
9329 2013-09-19 Glenn Morris <rgm@gnu.org>
9331 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9333 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9335 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9337 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9339 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9340 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9341 (tramp-get-remote-python): New defuns.
9342 (tramp-get-remote-uid-with-perl)
9343 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9344 contributed by yary <not.com@gmail.com> (tiny change).
9345 (tramp-get-remote-uid-with-python)
9346 (tramp-get-remote-gid-with-python): New defuns. Python code
9347 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9348 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9350 2013-09-19 Glenn Morris <rgm@gnu.org>
9352 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9354 * eshell/em-unix.el (eshell-remove-entries):
9355 Rename argument to avoid name-clash with global `top-level'.
9357 * eshell/esh-proc.el (eshell-kill-process-function):
9358 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9359 (eshell-reset-after-proc): Remove unused arg `proc'.
9361 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9362 (directory-files-and-attributes): Mark unused arg.
9364 * eshell/em-unix.el (eshell-remove-entries):
9365 Remove unused arg `path'. Update callers.
9367 * eshell/em-hist.el (eshell-hist-parse-arguments):
9368 Remove unused arg `silent'. Update callers.
9370 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9371 Fix (f)boundp mix-up.
9373 * eshell/em-smart.el (eshell-smart-scroll-window)
9374 (eshell-disable-after-change):
9375 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9377 2013-09-18 Alan Mackenzie <acm@muc.de>
9379 Fix fontification of type when followed by "const".
9380 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9381 "known" types from fontification.
9383 2013-09-18 Glenn Morris <rgm@gnu.org>
9385 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9386 (chart-face-list): Drop Emacsen without display-color-p.
9388 * net/eww.el (libxml-parse-html-region): Declare.
9389 (eww-display-html): Explicit error if no libxml2 support.
9391 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9393 * image.el (image-type-from-buffer, image-multi-frame-p):
9394 Remove --without-x warning/error.
9396 * mouse.el (mouse-yank-primary):
9397 * term.el (term-mouse-paste):
9398 Reorder to silence --without-x compilation.
9400 * mpc.el (doc-view-mode): Silence --without-x compilation.
9402 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9403 Silence --without-x compilation.
9405 * progmodes/gud.el (gud-find-file, gud-mode):
9406 Silence --without-x compilation.
9407 (tooltip-mode): Declare.
9409 * wdired.el (dired-backup-overwrite): Remove declaration.
9410 (wdired-mode-map): Add doc string.
9412 * custom.el (x-get-resource): Declare.
9414 * eshell/em-glob.el (ange-cache):
9415 * eshell/em-unix.el (ange-cache): Declare.
9417 * faces.el (x-display-list, x-open-connection, x-get-resource):
9420 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9421 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9424 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9426 * net/gnutls.el (gnutls-log-level): Declare.
9428 * net/shr.el (image-size, image-animate): Declare.
9430 * simple.el (font-info): Declare.
9432 * subr.el (x-popup-dialog): Declare.
9434 * term/common-win.el (x-select-enable-primary)
9435 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9438 * term/ns-win.el (x-handle-args): Declare.
9440 * term/x-win.el (x-select-enable-clipboard): Declare.
9442 * term/w32-win.el (create-default-fontset): Declare.
9444 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9447 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9448 (fit-frame-to-buffer): Explicit error if --without-x.
9449 (mouse-autoselect-window-select): Silence compiler.
9451 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9453 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9454 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9455 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9456 * eshell/esh-util.el (eshell-sublist):
9457 Remove unused local variables.
9459 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9461 * textmodes/two-column.el: Make 2C-split work for --without-x.
9462 (scroll-bar-columns): Autoload.
9463 (top-level): Require fringe when compiling.
9465 2013-09-18 Leo Liu <sdl.web@gmail.com>
9467 * subr.el (add-hook): Robustify to handle closure as well.
9469 2013-09-17 Glenn Morris <rgm@gnu.org>
9471 * simple.el (messages-buffer-mode-map): Unbind "g".
9473 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9475 * help-mode.el (help-mode-finish): Use derived-mode-p.
9476 Remove obsolete highlighting.
9478 * play/life.el (life-mode): Use define-derived-mode. Derive from
9480 (life): Let-bind inhibit-read-only.
9481 (life-setup): Avoid `setq'. Use `life-mode'.
9483 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9484 which should not be needed any more.
9485 (package-menu-refresh, package-menu-describe-package): Use user-error.
9487 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9488 (eshell-post-rewrite-command-hook): Make obsolete.
9489 (eshell-parse-command): Simplify.
9490 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9491 (eshell--cmd): Declare.
9492 (eshell-parse-pipeline): Remove unused var `final-p'.
9493 Pass a dynvar to eshell-post-rewrite-command-hook.
9494 Implement the new eshell-post-rewrite-command-function.
9495 (eshell-invoke-directly): Remove unused arg `input'.
9496 * eshell/esh-io.el (eshell-io-initialize):
9497 Use eshell-post-rewrite-command-function (bug#15399).
9498 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9499 adjust to new calling convention.
9500 (eshell-create-handles): Rename args to avoid clashing with dynvar
9503 2013-09-17 Glenn Morris <rgm@gnu.org>
9505 * simple.el (messages-buffer-mode): New major mode.
9506 (messages-buffer): New function.
9507 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9508 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9509 (ert-run-test): Use `messages-buffer' function.
9510 (ert--force-message-log-buffer-truncation): Ignore read-only.
9511 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9512 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9514 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9516 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9518 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9520 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9522 * icomplete.el (icomplete-in-buffer): New var.
9523 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9524 vars and replace them with functions.
9525 (icomplete-minibuffer-setup): Adjust accordingly.
9526 (icomplete--completion-table, icomplete--completion-predicate)
9527 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9529 (icomplete-forward-completions, icomplete-backward-completions)
9530 (icomplete-simple-completing-p, icomplete-exhibit)
9531 (icomplete-completions): Use them.
9532 (icomplete--in-region-buffer): New var.
9533 (icomplete--in-region-setup): New function.
9534 (icomplete-mode): Use it.
9536 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9538 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9539 return args and options.
9540 (eshell-eval-using-options): Use the new return value of
9541 eshell--do-opts to set the options's vars in their scope.
9542 (eshell--set-option): Rename from eshell-set-option.
9544 (eshell--process-option): Rename from eshell-process-option.
9546 (eshell--process-args): Use an `opt-vals' alist to store the options's
9547 values during their processing and return them additionally to the
9550 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9552 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9553 continuation character an operator, as far as indentation is
9554 concerned (Bug#15369).
9556 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9558 * window.el (window--state-put-2): Don't process buffer state
9559 when buffer doesn't exist any more (Bug#15382).
9561 2013-09-15 Glenn Morris <rgm@gnu.org>
9563 * eshell/em-unix.el (eshell/rm):
9564 Make -f ignore missing files. (Bug#15373)
9566 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9567 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9568 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9570 2013-09-14 Glenn Morris <rgm@gnu.org>
9572 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9574 2013-09-13 Glenn Morris <rgm@gnu.org>
9576 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9577 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9579 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9581 * frame.el (x-focus-frame): Mark as declared in frame.c.
9583 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9585 * ls-lisp.el: Use advice-add.
9586 (original-insert-directory): Remove.
9587 (ls-lisp--insert-directory): Rename from insert-directory; add
9588 `orig-fun' argument.
9589 (insert-directory): Advise.
9591 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9593 * term.el (term-emulate-terminal): Decode the command string
9594 before passing it to term-command-hook. (Bug#15337)
9596 2013-09-13 Glenn Morris <rgm@gnu.org>
9598 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9600 * eshell/esh-ext.el (eshell-search-path): Declare.
9602 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9603 Otherwise an error occurs if eshell-dirs module not loaded.
9605 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9607 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9609 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9610 `tramp-check-proper-host'. Check for a valid method name.
9612 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9613 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9614 * net/tramp-sh.el (tramp-maybe-open-connection):
9615 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9617 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9618 also for hash values.
9620 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * term/ns-win.el (parameters): Don't declare as dynamic.
9623 (before-make-frame-hook): Don't add ineffective function.
9625 * eshell/*.el: Use lexical-binding (bug#15231).
9627 2013-09-12 Kenichi Handa <handa@gnu.org>
9629 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9631 2013-09-12 Glenn Morris <rgm@gnu.org>
9633 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9634 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9636 * subr.el (do-after-load-evaluation): Also give compiler warnings
9637 when obsolete files are used (except by obsolete files).
9639 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9640 in the status output, assume `filename' is the first. (Bug#15322)
9642 * vc/vc.el (vc-deduce-fileset): Doc fix.
9644 * calc/calc-help.el (Info-goto-node):
9645 * progmodes/cperl-mode.el (Info-find-node):
9646 * vc/ediff.el (Info-goto-node): Update declarations.
9648 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9650 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9651 (vc-bzr-pull): Require vc-dispatcher.
9652 * vc/vc-git.el (vc-compilation-mode): Declare.
9653 (vc-git-pull): Require vc-dispatcher.
9655 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9657 * progmodes/octave.el (help-button-action): Declare.
9659 * shell.el (shell-directory-tracker): Output error as a message
9660 rather than just returning it as a string.
9661 (shell-process-pushd): Remove useless use of message.
9663 * dframe.el (dframe-timer-fn):
9664 * files.el (dir-locals-read-from-file):
9665 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9667 * reveal.el (reveal-post-command):
9668 * saveplace.el (load-save-place-alist-from-file):
9669 * shell.el (shell-resync-dirs):
9670 * w32-common-fns.el (x-get-selection-value):
9671 * emacs-lisp/copyright.el (copyright-find-copyright):
9672 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9673 * emulation/tpu-edt.el (tpu-copy-keyfile):
9674 * play/bubbles.el (bubbles--mark-neighbourhood):
9675 * progmodes/executable.el
9676 (executable-make-buffer-file-executable-if-script-p):
9677 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9679 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9681 Cleanup Eshell to rely less on dynamic scoping.
9682 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9683 last-value, and ext-command here. Bind `args' closer to `body'.
9684 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9685 (eshell--args): Declare new dynamic var.
9686 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9687 last-value, and ext-command. Pass `args' to `body'.
9688 (eshell-process-args): Bind eshell--args.
9689 (eshell-set-option): Use eshell--args.
9690 * eshell/eshell.el (eshell): Use derived-mode-p.
9691 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9692 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9693 (eshell-glob-function): Declare.
9694 * eshell/esh-util.el: Require cl-lib.
9695 (eshell-read-hosts-file): Avoid add-to-list.
9696 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9698 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9700 (eshell/diff): Remove unused var `err'.
9701 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9703 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9704 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9706 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9707 Move declaration before first use.
9708 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9709 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9712 2013-09-12 Glenn Morris <rgm@gnu.org>
9714 * term/ns-win.el (global-map): Remove binding for ispell-next,
9715 deleted 1999-05-29. (Bug#15357)
9717 2013-09-11 Glenn Morris <rgm@gnu.org>
9719 * echistory.el (electric-command-history): Remove call to deleted func.
9721 * play/landmark.el (landmark-mode): Fix typos.
9723 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9724 Check cvs-sort-ignore-file is bound.
9726 * savehist.el: No need for cl when compiling on Emacs.
9728 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9732 (eshell-self-insert-command, eshell-send-invisible):
9733 Remove unused argument.
9734 (eshell-handle-control-codes): Remove unused var `orig'.
9735 Avoid delete-backward-char.
9737 * files.el (set-auto-mode): Simplify a bit further.
9739 2013-09-11 Glenn Morris <rgm@gnu.org>
9741 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9742 (set-auto-mode): Don't regexp-quote elements.
9743 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9744 * progmodes/cc-mode.el (interpreter-mode-alist):
9745 * progmodes/ruby-mode.el (interpreter-mode-alist):
9746 Revert previous change.
9748 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9750 * play/snake.el (snake-mode):
9751 * play/mpuz.el (mpuz-mode):
9752 * play/landmark.el (lm-mode):
9753 * play/blackbox.el (blackbox-mode):
9754 * play/5x5.el (5x5-mode):
9755 * obsolete/options.el (Edit-options-mode):
9756 * net/quickurl.el (quickurl-list-mode):
9757 * net/newst-treeview.el (newsticker-treeview-mode):
9758 * mail/rmailsum.el (rmail-summary-mode):
9759 * mail/mspools.el (mspools-mode):
9760 * locate.el (locate-mode):
9761 * ibuffer.el (ibuffer-mode):
9762 * emulation/ws-mode.el (wordstar-mode):
9763 * emacs-lisp/debug.el (debugger-mode):
9764 * array.el (array-mode):
9765 * net/eudc.el (eudc-mode): Use define-derived-mode.
9766 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9767 Move initialization into declaration.
9768 (mairix-searches-mode): Use define-derived-mode.
9769 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9770 (eudc-edit-hotlist): Use dolist.
9771 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9772 (Man-mode): Use define-derived-mode.
9773 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9774 (Info-edit-mode): Use define-derived-mode.
9775 (Info-cease-edit): Use Info-mode.
9776 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9778 (eshell-mode): Use define-derived-mode.
9779 * chistory.el (command-history-mode-map): Rename from
9780 command-history-map.
9781 (command-history-mode): Use define-derived-mode.
9782 (Command-history-setup): Remove function.
9783 * calc/calc.el (calc-trail-mode-map): New var.
9784 (calc-trail-mode): Use define-derived-mode.
9785 (calc-trail-buffer): Set calc-main-buffer manually.
9786 * bookmark.el (bookmark-insert-annotation): New function.
9787 (bookmark-edit-annotation): Use it.
9788 (bookmark-edit-annotation-mode): Make it a proper major mode.
9789 (bookmark-send-edited-annotation): Use derived-mode-p.
9790 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9791 closer to its ideal place. Use \' to match EOS.
9793 * profiler.el (profiler-calltree-find): Use function-equal.
9795 2013-09-10 Glenn Morris <rgm@gnu.org>
9797 * files.el (interpreter-mode-alist): Convert to regexps.
9798 (set-auto-mode): Adapt for this. (Bug#15306)
9799 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9800 Comment out unused variable.
9801 * progmodes/cc-mode.el (interpreter-mode-alist):
9802 * progmodes/python.el (interpreter-mode-alist):
9803 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9804 * progmodes/sh-script.el (sh-set-shell):
9805 No longer use interpreter-mode-alist to get list of shells.
9807 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9809 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * simple.el: Use set-temporary-overlay-map for universal-argument.
9812 (universal-argument-map): Don't use default-bindings (bug#15317).
9813 Bind switch-frame explicitly. Replace universal-argument-minus with
9814 a conditional binding.
9815 (universal-argument-num-events, saved-overriding-map): Remove.
9816 (restore-overriding-map): Remove.
9817 (universal-argument--mode): Rename from save&set-overriding-map,
9819 (universal-argument, universal-argument-more, negative-argument)
9820 (digit-argument): Adjust accordingly.
9821 (universal-argument-minus): Remove.
9822 (universal-argument-other-key): Remove.
9824 * subr.el (with-demoted-errors): Add `format' argument.
9826 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9828 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9829 `tramp-cleanup-connection'.
9831 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9832 parameters KEEP-DEBUG and KEEP-PASSWORD.
9834 * net/tramp.el (tramp-file-name-handler):
9835 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9836 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9837 (tramp-maybe-open-connection):
9838 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9839 Use `tramp-cleanup-connection'.
9841 * net/tramp-sh.el (tramp-maybe-open-connection):
9842 Catch 'uname-changed inside the progress reporter.
9844 2013-09-10 Glenn Morris <rgm@gnu.org>
9846 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9848 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9849 returns "alternate access method" in mode (eg "-rw-r--r--.").
9851 2013-09-08 Glenn Morris <rgm@gnu.org>
9853 * saveplace.el (load-save-place-alist-from-file):
9854 Demote errors. (Bug#15305)
9856 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9858 Improve compatibility with older Emacsen, and XEmacs.
9860 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9861 only if it is bound. It isn't for XEmacs.
9862 (with-tramp-progress-reporter): Do not let-bind `result'.
9863 This yields to scoping errors in XEmacs.
9864 (tramp-handle-make-auto-save-file-name): New function, moved from
9867 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9868 for `make-auto-save-file-name'.
9869 (tramp-adb--gnu-switches-to-ash):
9870 Use `tramp-compat-replace-regexp-in-string'.
9872 * net/tramp-cache.el (tramp-cache-print): Call
9873 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9875 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9876 bound. It isn't for XEmacs.
9878 * net/tramp-compat.el (tramp-compat-copy-file):
9879 Catch `wrong-number-of-arguments' error.
9880 (tramp-compat-replace-regexp-in-string): New defun.
9882 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9883 for `make-auto-save-file-name'.
9884 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9886 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9887 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9888 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9890 * net/tramp-gw.el (tramp-gw-open-network-stream):
9891 Use `tramp-compat-replace-regexp-in-string'.
9893 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9894 Call `tramp-handle-make-auto-save-file-name'.
9895 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9896 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9897 (tramp-sh-file-inotifywait-process-filter):
9898 Use `tramp-compat-replace-regexp-in-string'.
9899 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9901 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9902 for `make-auto-save-file-name'.
9903 (tramp-smb-handle-copy-directory):
9904 Call `tramp-compat-replace-regexp-in-string'.
9905 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9906 (tramp-smb-handle-copy-file): Improve error message.
9907 (tramp-smb-handle-rename-file): Rename directly only in case
9908 `newname' does not exist yet. This is a restriction of smbclient.
9909 (tramp-smb-maybe-open-connection): Rerun the function only when
9910 `auth-sources' is non-nil.
9912 2013-09-08 Kenichi Handa <handa@gnu.org>
9914 * international/characters.el: Set category "^" (Combining) for
9917 2013-09-07 Alan Mackenzie <acm@muc.de>
9919 Correctly fontify Java class constructors.
9920 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9922 (c-recognize-typeless-decls): Set the Java value to t.
9923 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9924 While handling a "(", add a check for, effectively, Java, and handle a
9925 "typeless" declaration there.
9927 2013-09-07 Roland Winkler <winkler@gnu.org>
9929 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9930 field subtitle for entry type book.
9932 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9934 * minibuffer.el: Make minibuffer-complete call completion-in-region
9935 rather than other way around.
9936 (completion--some, completion-pcm--find-all-completions):
9937 Don't delay signals when debugging.
9938 (minibuffer-completion-contents): Beware fields within the
9939 minibuffer contents.
9940 (completion-all-sorted-completions): Use defvar-local.
9941 (completion--do-completion, completion--cache-all-sorted-completions)
9942 (completion-all-sorted-completions, minibuffer-force-complete):
9943 Add args `beg' and `end'.
9944 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9945 (minibuffer-complete): Use completion-in-region.
9946 (completion-complete-and-exit): New fun, extracted from
9947 minibuffer-complete-and-exit.
9948 (minibuffer-complete-and-exit): Use it.
9949 (completion--complete-and-exit): Rename from
9950 minibuffer--complete-and-exit.
9951 (completion-in-region--single-word): New function, extracted from
9952 minibuffer-complete-word.
9953 (minibuffer-complete-word): Use it.
9954 (display-completion-list): Make `common-substring' argument obsolete.
9955 (completion--in-region): Call completion--in-region-1 instead of
9956 minibuffer-complete.
9957 (completion-help-at-point): Pass boundaries to
9958 minibuffer-completion-help as args rather than via an overlay.
9959 (completion-pcm--string->pattern): Use `any-delim'.
9960 (completion-pcm--optimize-pattern): New function.
9961 (completion-pcm--pattern->regex): Handle `any-delim'.
9962 * icomplete.el (icomplete-forward-completions)
9963 (icomplete-backward-completions, icomplete-completions):
9964 Adjust calls to completion-all-sorted-completions and
9965 completion--cache-all-sorted-completions.
9966 (icomplete-with-completion-tables): Default to t.
9967 * emacs-lisp/crm.el (crm--current-element): Rename from
9968 crm--select-current-element. Don't put an overlay but return the
9970 (crm--completion-command): Take two new args to bind to the boundaries.
9971 (crm-completion-help): Adjust accordingly.
9972 (crm-complete): Use completion-in-region.
9973 (crm-complete-word): Use completion-in-region--single-word.
9974 (crm-complete-and-exit): Use completion-complete-and-exit.
9976 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9978 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9981 2013-09-06 Juri Linkov <juri@jurta.org>
9983 * info.el (Info-display-images-node): When image file doesn't exist
9984 display text version of the image if it's provided in the Info file.
9985 Otherwise, display the location of missing image from SRC attribute.
9986 Add help-echo text property from ALT attribute. (Bug#15279)
9988 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9991 (edit-abbrevs-mode): Use define-derived-mode.
9993 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9994 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9996 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9997 Use define-derived-mode.
9999 * epg.el (epg-start-encrypt): Minor CSE simplification.
10001 2013-09-06 William Xu <william.xwl@gmail.com>
10003 * arc-mode.el: Add support for 7za (bug#15264).
10004 (archive-7z-program): New var.
10005 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10006 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10007 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10009 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
10013 * net/tramp.el (tramp-syntax, tramp-prefix-format)
10014 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10015 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10016 (tramp-postfix-host-format, tramp-file-name-regexp)
10017 (tramp-completion-file-name-regexp)
10018 (tramp-completion-dissect-file-name)
10019 (tramp-handle-substitute-in-file-name): Remove 'url case.
10020 (tramp-file-name-regexp-url)
10021 (tramp-completion-file-name-regexp-url): Remove constants.
10023 2013-09-06 Glenn Morris <rgm@gnu.org>
10025 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
10027 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
10029 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10030 keywords" below "here-doc beginnings" (Bug#15270).
10032 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10034 * subr.el (pop): Use `car-safe'.
10035 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10036 to detect unused `pop' return value.
10038 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10039 var `block-regexp'.
10040 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10041 (python-fill-string): Remove unused var `marker'.
10042 (python-skeleton-add-menu-items): Remove unused var `items'.
10044 * international/mule-cmds.el: Require CL.
10045 (find-coding-systems-for-charsets): Avoid add-to-list.
10046 (sanitize-coding-system-list): New function, extracted from
10047 select-safe-coding-system-interactively.
10048 (select-safe-coding-system-interactively): Use it.
10049 (read-input-method-name): Accept symbols for `default'.
10051 * emacs-lisp/advice.el (defadvice): Add indent rule.
10053 2013-09-05 Daniel Hackney <dan@haxney.org>
10057 * net/browse-url.el:
10060 * net/eudcb-ldap.el:
10064 * vc/ediff-diff.el:
10065 * vc/ediff-init.el:
10066 * vc/ediff-merg.el:
10067 * vc/ediff-mult.el:
10068 * vc/ediff-util.el:
10069 * vc/ediff-wind.el:
10073 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10074 byte compiler. Remove some unused let-bound variables.
10076 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10078 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10079 a "ref-cell", since it gets better optimized (bug#14883).
10081 2013-09-05 Glenn Morris <rgm@gnu.org>
10083 * progmodes/cc-awk.el (c-forward-sws): Declare.
10085 2013-09-04 Glenn Morris <rgm@gnu.org>
10087 * generic-x.el [rul-generic-mode]: Require cc-mode.
10088 (c++-mode-syntax-table): Declare.
10089 (rul-generic-mode-syntax-table): Init in the defvar.
10091 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10094 (vc-do-command, vc-set-async-update):
10095 * vc/vc-mtn.el (vc-mtn-dir-status):
10096 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10097 (vc-hg-pull, vc-hg-merge-branch):
10098 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10099 (vc-git-merge-branch):
10100 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10101 (vc-cvs-dir-status-files):
10102 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10103 (vc-bzr-dir-status-files):
10104 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10105 * vc/vc-annotate.el: Use lexical-binding.
10106 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10107 (vc-sentinel-movepoint): Declare.
10108 (vc-annotate): Don't use `goto-line'.
10109 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10110 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10111 (vc-sentinel-movepoint): Declare.
10112 * vc/vc-svn.el: Use lexical-binding.
10113 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10115 * vc/vc-rcs.el: Use lexical-binding.
10117 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10118 `deleted'. Don't drop errors silently.
10120 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10122 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10124 * vc/vc.el (vc-ignore): Rewrite.
10125 (vc-default-ignore): New function.
10126 (vc-default-ignore-completion-table): Use find-ignore-file.
10128 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10129 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10130 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10131 Remove. Most code moved to vc.el.
10133 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10135 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10136 * net/tramp-smb.el (tramp-smb-get-file-entries):
10137 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10138 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10140 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10142 (eww-change-select): Remove unused var `properties'.
10143 (eww-make-unique-file-name): Remove unused var `base'.
10145 * finder.el (finder-compile-keywords): Don't mess with windows.
10147 * calculator.el (calculator-funcall): Fix typo in last change.
10149 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10151 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10152 <pkg>-autoloads.el file stop us.
10154 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10155 warnings, and factor out common code.
10157 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10159 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10160 two-character operators and whether the character preceding them
10161 changes their meaning (Bug#15208).
10163 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10165 Format code sent to Python shell for robustness.
10166 * progmodes/python.el (python-shell-buffer-substring):
10168 (python-shell-send-region, python-shell-send-buffer): Use it.
10170 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10172 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10173 * net/tramp.el (tramp-user-error): ... here.
10174 (tramp-find-method, tramp-check-proper-host)
10175 (tramp-dissect-file-name, tramp-debug-message)
10176 (tramp-handle-shell-command):
10177 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10178 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10180 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10182 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10184 * avoid.el (mouse-avoidance-point-position)
10185 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10188 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10190 * progmodes/python.el (python-shell-completion-get-completions):
10191 Drop use of deleted `comint-last-prompt-overlay'.
10192 (python-nav-if-name-main): New command.
10194 2013-09-01 Glenn Morris <rgm@gnu.org>
10196 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10197 Avoid leading space in $wins. Otherwise the sed command used by
10198 eg compile-main ends up containing "/*.el". (Bug#15170)
10200 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10202 2013-08-30 Glenn Morris <rgm@gnu.org>
10204 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10205 Fix is-this-a-directory logic. (Bug#15220)
10207 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * textmodes/css-mode.el: Use SMIE.
10210 (css-smie-grammar): New var.
10211 (css-smie--forward-token, css-smie--backward-token)
10212 (css-smie-rules): New functions.
10213 (css-mode): Use them.
10214 (css-navigation-syntax-table): Remove var.
10215 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10216 (css-indent-calculate, css-indent-line): Remove functions.
10218 Misc changes to reduce use of `(lambda...); and other cleanups.
10219 * cus-edit.el: Use lexical-binding.
10220 (customize-push-and-save, customize-apropos)
10221 (custom-buffer-create-internal): Use closures.
10222 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10223 * progmodes/ada-xref.el: Use setq.
10224 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10225 * dframe.el: Use lexical-binding.
10226 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10227 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10228 * descr-text.el: Use lexical-binding.
10229 (describe-text-widget, describe-text-sexp, describe-property-list):
10231 * comint.el (comint-history-isearch-push-state): Use a closure.
10232 * calculator.el: Use lexical-binding.
10233 (calculator-number-to-string): Make it work with lexical-binding.
10234 (calculator-funcall): Same and use cl-letf.
10236 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10237 (lisp--company-doc-string, lisp--company-location): New functions.
10238 (lisp-completion-at-point): Use them to improve Company support.
10240 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10241 params of lambda expressions.
10242 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10243 (ruby-smie--opening-pipe-p): New function.
10244 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10245 symbols and matched |...| for formal params.
10246 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10247 from being treated as hanging. Handle "rescue".
10249 2013-08-29 Glenn Morris <rgm@gnu.org>
10251 * progmodes/cc-engine.el (c-pull-open-brace):
10252 Move definition before use.
10254 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10257 are immutable. Don't use `unsafe' any more.
10258 (cl--defsubst-expand): Don't substitute at the same time as keeping
10259 a residual unused let-binding. Don't use `unsafe' any more.
10261 2013-08-29 Glenn Morris <rgm@gnu.org>
10263 * calendar/cal-china.el (calendar-chinese-year-cache):
10266 * nxml/nxml-util.el (nxml-debug-clear-inside):
10267 Use cl-loop rather than loop.
10269 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10271 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10273 2013-08-28 Glenn Morris <rgm@gnu.org>
10275 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10277 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10279 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10281 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10283 * simple.el (repeat-complex-command--called-interactively-skip):
10285 (repeat-complex-command): Use it (bug#14136).
10287 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10288 (c-define-abbrev-table): Add `doc' argument.
10289 (c-mode-abbrev-table, c++-mode-abbrev-table)
10290 (objc-mode-abbrev-table, java-mode-abbrev-table)
10291 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10292 (awk-mode-abbrev-table): Use it.
10293 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10294 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10295 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10296 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10297 Move initialization into the declaration; and remove any
10300 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10301 and dynamic let binding.
10303 * vc/smerge-mode.el: Remove redundant :group args.
10305 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10308 2013-08-28 Juri Linkov <juri@jurta.org>
10310 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10311 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10312 (isearch-other-meta-char): Handle an undefined shifted printing
10313 character by downshifting it. (Bug#15200)
10315 2013-08-28 Juri Linkov <juri@jurta.org>
10317 * isearch.el (isearch-search): Change regexp error message for
10318 non-regexp searches. (Bug#15166)
10320 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10322 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10323 for portability to hosts where /bin/sh has problems.
10325 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10327 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10329 2013-08-27 Juri Linkov <juri@jurta.org>
10331 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10332 in the keyboard macro. (Bug#15126)
10334 2013-08-27 Juri Linkov <juri@jurta.org>
10336 * isearch.el (isearch-quote-char): Comment out converting unibyte
10337 to multibyte, thus syncing with its `quoted-insert' counterpart.
10340 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10342 * window.el (display-buffer-use-some-window): Add missing
10343 argument in call of get-largest-window (Bug#15185).
10344 Reported by Stephen Leake.
10346 2013-08-27 Glenn Morris <rgm@gnu.org>
10348 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10350 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10352 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10353 from a matcher-function unless there's no more matches (bug#15161).
10355 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10357 * minibuffer.el: Revert change from 2013-08-20.
10359 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10360 with text property `tramp-default', if appropriate.
10361 (tramp-check-proper-host): New defun.
10362 (tramp-dissect-file-name): Do not check hostname. Revert change
10364 (tramp-backtrace): Make VEC-OR-PROC optional.
10366 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10367 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10368 * net/tramp-sh.el (tramp-maybe-open-connection):
10369 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10370 Apply `tramp-check-proper-host'.
10372 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10374 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10375 lambda expression in order to have `describe-variable' display it.
10377 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10379 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10380 BUF can be optional. (Bug#15186)
10382 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10384 * progmodes/flymake.el (flymake-get-real-file-name-function):
10385 Fix broken customization. (Bug#15184)
10387 2013-08-25 Alan Mackenzie <acm@muc.de>
10389 Improve indentation of bracelists defined by macros (without "=").
10391 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10392 expansion begins with "{", regard it as bracelist when it doesn't
10395 Parse C++ inher-intro when there's a template split over 2 lines.
10397 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10398 rigorously the search for "class" etc. followed by ":".
10400 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10401 random languages a regexp which never matches rather than nil.
10403 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10405 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10406 (c-awk-regexp-one-line-possibly-open-char-list-re)
10407 (c-awk-one-line-possibly-open-regexp-re)
10408 (c-awk-one-line-non-syn-ws*-re): Remove.
10409 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10410 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10411 (c-awk-space*-unclosed-regexp-/-re): New constants.
10412 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10413 aren't regexp delimiters.
10415 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10416 handling for a rare situation in AWK Mode involving unterminated
10419 2013-08-23 Glenn Morris <rgm@gnu.org>
10421 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10423 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10425 * files.el (create-file-buffer): If the result would begin with
10426 spaces, prepend a "|" instead of removing them. (Bug#15162)
10428 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10430 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10431 text-properties (bug#15155).
10433 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10435 (calc-keypad-redraw): Remove unused var `pad'.
10436 (calc-keypad-press): Remove unused var `menu'.
10438 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10440 * window.el (display-buffer-pop-up-frame):
10441 Call pop-up-frame-function with BUFFER current so `make-frame' will
10442 use it as the new frame's buffer (Bug#15133).
10444 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * calendar/timeclock.el: Minor cleanups.
10447 (timeclock-ask-before-exiting, timeclock-use-display-time):
10449 (timeclock-modeline-display): Define as alias before the
10451 (timeclock-mode-line-display): Use define-minor-mode.
10452 (timeclock-day-list-template): Make it a function, add an argument.
10453 (timeclock-day-list-required, timeclock-day-list-length)
10454 (timeclock-day-list-debt, timeclock-day-list-span)
10455 (timeclock-day-list-break): Adjust calls accordingly.
10457 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10459 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10460 Use read--expression so that completion works again.
10462 2013-08-21 Sam Steingold <sds@gnu.org>
10464 Add rudimentary inferior shell interaction
10465 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10466 (sh-set-shell): Reset it.
10467 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10468 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10470 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * align.el: Use lexical-binding.
10473 (align-region): Simplify accordingly.
10475 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10477 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10479 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10480 `non-essential' up.
10482 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10485 * net/tramp-adb.el:
10486 * net/tramp-cmds.el:
10487 * net/tramp-ftp.el:
10488 * net/tramp-gvfs.el:
10490 * net/tramp-sh.el: Don't wrap external variable declarations by
10491 `eval-when-compile'.
10493 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10495 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10496 now that Emacs supports ImageMagick animations.
10498 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10500 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10501 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10503 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10505 * window.el (mouse-autoselect-window-select): Do autoselect when
10506 mouse pointer is on margin.
10508 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10510 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10512 2013-08-16 Glenn Morris <rgm@gnu.org>
10514 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10515 Handle "Remote Directory" response of some clients. (Bug#15058)
10517 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10518 Tweak warning. (Bug#14926)
10520 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10521 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10523 * image-mode.el (image-mode-map): Add menu items to reverse,
10524 increase, decrease, reset animation speed.
10525 (image--set-speed, image-increase-speed, image-decrease-speed)
10526 (image-reverse-speed, image-reset-speed): New functions.
10527 (image-mode-map): Add bindings for speed commands.
10529 * image.el (image-animate-get-speed, image-animate-set-speed):
10531 (image-animate-timeout): Respect image :speed property.
10533 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10536 previous line (bug#15101).
10537 (debugger-eval-expression, debugger-record-expression):
10538 Use read--expression (bug#15102).
10540 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10542 Remove byte compiler warnings, visible when compiling with
10543 `byte-compile-force-lexical-warnings' set to t.
10545 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10546 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10547 (tramp-handle-unhandled-file-name-directory)
10548 (tramp-handle-file-notify-add-watch, tramp-action-login)
10549 (tramp-action-succeed, tramp-action-permission-denied)
10550 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10551 arguments with "_".
10553 * net/tramp-adb.el (tramp-adb-parse-device-names)
10554 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10555 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10556 (tramp-adb-handle-file-truename): Remove unused arguments.
10558 * net/tramp-cache.el (tramp-flush-directory-property)
10559 (tramp-flush-connection-property, tramp-list-connections)
10560 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10562 * net/tramp-compat.el (tramp-compat-make-temp-file):
10563 Rename FILENAME to F.
10565 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10566 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10567 (tramp-zeroconf-parse-workstation-device-names)
10568 (tramp-zeroconf-parse-webdav-device-names)
10569 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10571 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10572 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10574 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10576 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10577 (tramp-sh-handle-insert-file-contents-literally)
10578 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10580 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10581 Remove unused variables.
10583 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10584 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10585 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10587 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10588 Make them a defconst.
10589 (tramp-uuencode-region): Remove unused variable.
10591 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10593 * frameset.el (frameset--prop-setter): New function.
10594 (frameset-prop): Add gv-setter declaration.
10595 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10596 parameter was already set in FILTERED. Doc fix.
10597 (frameset--record-minibuffer-relationships): Allow saving a
10598 minibufferless frame without its corresponding minibuffer frame.
10599 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10600 frame, if the frame id matches.
10601 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10602 frames before orphaned ones.
10603 (frameset-restore): Warn about orphaned windows, instead of error out.
10605 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10607 * window.el (window-make-atom): Don't overwrite parameter
10609 (display-buffer-in-atom-window): Handle special case where we
10610 split an already atomic window.
10611 (window--major-non-side-window, display-buffer-in-side-window)
10612 (window--side-check): Ignore minibuffer window when walking
10614 (window-deletable-p): Return 'frame only if no other frame uses
10615 our minibuffer window.
10616 (record-window-buffer): Run buffer-list-update-hook.
10617 (split-window): Make sure window--check-frame won't destroy an
10618 existing atomic window in case the new window gets nested
10620 (display-buffer-at-bottom): Ignore minibuffer window when
10621 walking window tree. Don't split a side window.
10622 (pop-to-buffer): Don't set-buffer here, the select-window call
10624 (mouse-autoselect-window-select): Autoselect only if we are in the
10625 text portion of the window.
10627 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10629 * net/shr.el (shr-parse-image-data): New function to grab both the
10630 data itself and the Content-Type.
10631 (shr-put-image): Use it.
10633 * net/eww.el (eww-display-image): Ditto.
10635 * image.el (image-content-type-suffixes): New variable.
10637 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10639 * progmodes/python.el (python-imenu--build-tree)
10640 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10642 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10644 * simple.el (backward-word): Mention the optional argument.
10646 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * frameset.el (frameset--make): Rename constructor from make-frameset.
10649 (frameset-p, frameset-valid-p): Don't autoload.
10650 (frameset-valid-p): Use normal accessors.
10652 2013-08-13 Glenn Morris <rgm@gnu.org>
10654 * progmodes/compile.el (compile-command): Tweak example in doc.
10655 * obsolete/scribe.el (scribe-mode):
10656 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10658 * mail/feedmail.el (feedmail-confirm-outgoing)
10659 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10661 * cus-start.el (truncate-partial-width-windows): Fix type.
10663 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10665 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10667 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10669 * emacs-lisp/timer.el (timer--time-setter): New function.
10670 (timer--time): Use it as gv-setter.
10672 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10673 setter is not a symbol.
10675 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10677 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10678 if sending fails. This makes debugging easier.
10680 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10682 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10683 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10684 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10686 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10688 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10690 2013-08-12 Glenn Morris <rgm@gnu.org>
10692 * format.el (format-annotate-function):
10693 Handle read-only text properties in the source. (Bug#14887)
10695 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10697 * net/eww.el (eww-display-html): Ignore coding system errors.
10698 One web site uses "utf-8lias" as the coding system.
10700 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10702 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10704 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10706 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10707 (tutorial--detailed-help): Remove unused local variables.
10708 (tutorial--save-tutorial-to): Use ignore-errors.
10709 (help-with-tutorial): Use looking-at-p.
10711 * view.el (view-buffer-other-window, view-buffer-other-frame):
10712 Mark unused arguments.
10714 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10715 (woman-select-symbol-fonts, woman, woman-find-file)
10716 (woman-insert-file-contents, woman-non-underline-faces):
10717 Use string-match-p.
10718 (woman1-unquote): Move declaration.
10720 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10721 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10722 argument. Remove unused local variable.
10723 (xml-parse-elem-type): Use string-match-p.
10724 (xml-substitute-numeric-entities): Use ignore-errors.
10726 * calculator.el (calculator): Mark unused argument.
10727 (calculator-paste, calculator-quit, calculator-integer-p):
10729 (calculator-string-to-number, calculator-decimal, calculator-exp)
10730 (calculator-op-or-exp): Use string-match-p.
10732 * dired.el (dired-buffer-more-recently-used-p): Declare.
10733 (dired-insert-set-properties, dired-insert-old-subdirs):
10736 * dired-aux.el (dired-compress): Use ignore-errors.
10737 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10738 (dired-do-async-shell-command, dired-do-shell-command)
10739 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10740 (dired-insert-subdir-validate): Use string-match-p.
10741 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10742 (dired-add-entry): Use string-match-p, looking-at-p.
10743 (dired-insert-subdir-newpos): Remove unused local variable.
10745 * filenotify.el (file-notify-callback): Remove unused local variable.
10747 * filesets.el (filesets-error): Mark unused argument.
10748 (filesets-which-command-p, filesets-filter-dir-names)
10749 (filesets-directory-files, filesets-get-external-viewer)
10750 (filesets-ingroup-get-data): Use string-match-p.
10752 * find-file.el (ff-other-file-name, ff-other-file-name)
10753 (ff-find-the-other-file, ff-cc-hh-converter):
10754 Remove unused local variables.
10755 (ff-get-file-name): Use string-match-p.
10756 (ff-all-dirs-under): Use ignore-errors.
10758 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10759 (follow-select-if-visible): Remove unused local variable.
10761 * forms.el (read-file-filter): Move declaration.
10762 (forms--make-format, forms--make-parser, forms-insert-record):
10763 Quote function with #'.
10764 (forms--update): Use string-match-p. Quote function with #'.
10766 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10767 (help-make-xrefs): Use looking-at-p.
10768 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10770 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10771 (ibuffer-confirm-operation-on): Use string-match-p.
10773 * msb.el (msb-item-handler, msb-dired-item-handler):
10774 Mark unused arguments.
10776 * ses.el (ses-decode-cell-symbol)
10777 (ses-kill-override): Remove unused local variable.
10778 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10779 (ses-load): Use ignore-errors, looking-at-p.
10780 (ses-jump-safe): Use ignore-errors.
10781 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10783 * tabify.el (untabify, tabify): Mark unused arguments.
10785 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10786 Mark unused argument.
10787 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10788 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10790 * emacs-lisp/timer.el (timer--time): Define setter with
10791 gv-define-setter to avoid deprecation warning.
10793 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10794 (*record-cmpl-statistics-p*): Remove (was commented out).
10795 (cmpl-statistics-block): Remove (body was commented out).
10796 All callers changed.
10797 (add-completions-from-buffer, load-completions-from-file):
10798 Remove unused variables.
10800 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10802 * filecache.el (file-cache-delete-file-list):
10803 Print message only when told so.
10804 (file-cache-files-matching): Use #' in mapconcat argument.
10806 * ffap.el (ffap-url-at-point): Fix reference to variable
10807 thing-at-point-default-mail-uri-scheme.
10809 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * subr.el (define-error): New function.
10812 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10813 error-file-not-found and define with define-error.
10814 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10815 and define with define-error.
10816 * userlock.el (file-locked, file-supersession):
10817 * simple.el (mark-inactive):
10818 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10819 * progmodes/ada-mode.el (ada-mode-errors):
10820 * play/life.el (life-extinct):
10821 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10822 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10823 * nxml/rng-util.el (rng-error):
10824 * nxml/rng-uri.el (rng-uri-error):
10825 * nxml/rng-match.el (rng-compile-error):
10826 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10827 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10828 * nxml/nxml-rap.el (nxml-scan-error):
10829 * nxml/nxml-outln.el (nxml-outline-error):
10830 * net/soap-client.el (soap-error):
10831 * net/gnutls.el (gnutls-error):
10832 * net/ange-ftp.el (ftp-error):
10833 * mpc.el (mpc-proc-error):
10834 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10835 (json-number-format, json-string-escape, json-string-format)
10836 (json-key-format, json-object-format):
10837 * jka-compr.el (compression-error):
10838 * international/quail.el (quail-error):
10839 * international/kkc.el (kkc-error):
10840 * emacs-lisp/ert.el (ert-test-failed):
10841 * calc/calc.el (calc-error, inexact-result, math-overflow)
10843 * bookmark.el (bookmark-error-no-filename):
10844 * epg.el (epg-error): Define with define-error.
10846 * time.el (display-time-event-handler)
10847 (display-time-next-load-average): Don't call sit-for since it seems
10848 unnecessary (bug#15045).
10850 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10851 Use #' instead of ' to quote functions.
10852 (checkdoc-output-mode): Use setq-local.
10853 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10854 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10855 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10856 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10857 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10858 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10859 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10860 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10862 * ido.el (ido-completion-help): Fix up compiler warning.
10864 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10866 * frameset.el (frameset-p): Add autoload cookie.
10867 (frameset--jump-to-register): New function, based on code moved from
10869 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10871 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10872 (frameset-restore, frameset-save, frameset-session-filter-alist):
10873 Remove declarations.
10874 (register-alist): Doc fix.
10875 (frameset-to-register): Move to frameset.el.
10876 (jump-to-register, describe-register-1): Remove frameset-specific code.
10878 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10880 * allout-widgets.el (allout-widgets-pre-command-business)
10881 (allout-widgets-post-command-business)
10882 (allout-widgets-after-change-handler)
10883 (allout-decorate-item-and-context, allout-set-boundary-marker)
10884 (allout-body-modification-handler)
10885 (allout-graphics-modification-handler): Mark ignored arguments.
10886 (allout-widgets-post-command-business)
10887 (allout-widgets-exposure-change-processor)
10888 (allout-widgets-exposure-undo-processor)
10889 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10890 (allout-parse-item-at-point, allout-decorate-item-guides)
10891 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10892 * allout.el (epa-passphrase-callback-function): Declare.
10893 (allout-overlay-insert-in-front-handler)
10894 (allout-overlay-interior-modification-handler)
10895 (allout-isearch-end-handler, allout-chart-siblings)
10896 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10897 (allout-yank-processing, allout-process-exposed)
10898 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10899 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10900 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10901 (lisp-indent-defform): Mark ignored arguments.
10902 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10903 (calculate-lisp-indent): Remove unused variables.
10904 * international/characters.el (indian-2-column, arabic-2-column)
10905 (tibetan): Mark ignored arguments.
10906 (use-cjk-char-width-table): Mark ignored arguments.
10907 Remove unused variables.
10908 * international/fontset.el (build-default-fontset-data)
10909 (x-compose-font-name, create-fontset-from-fontset-spec):
10910 Mark ignored arguments.
10911 (fontset-plain-name): Remove unused variables.
10912 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10913 (keyboard-coding-system): Mark ignored arguments.
10914 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10915 * help.el (resize-temp-buffer-window):
10916 * window.el (display-buffer-in-major-side-window)
10917 (display-buffer-in-side-window, display-buffer-in-previous-window):
10918 Remove unused variables.
10919 * isearch.el (isearch-forward-symbol):
10920 * version.el (emacs-bzr-version-bzr):
10921 * international/mule-cmds.el (current-language-environment):
10922 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10923 (x-handle-display):
10924 * term/pc-win.el (x-list-fonts, x-display-planes)
10925 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10926 (x-server-version, x-display-screens, x-display-mm-height)
10927 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10928 (x-selection-owner-p, x-own-selection-internal)
10929 (x-disown-selection-internal, x-get-selection-internal)
10930 (msdos-initialize-window-system):
10931 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10932 * term/x-win.el (x-handle-no-bitmap-icon):
10933 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10934 (vc-default-find-file-hook, vc-default-extra-menu):
10935 Mark ignored arguments.
10937 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10940 break-condition in the context of the debugged code (bug#12685).
10942 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10945 Do not use an overlay to highlight the last prompt. (Bug#14744)
10946 (comint-mode): Make comint-last-prompt buffer local.
10947 (comint-last-prompt): New variable.
10948 (comint-last-prompt-overlay): Remove. Superseded by
10949 comint-last-prompt.
10950 (comint-snapshot-last-prompt, comint-output-filter):
10951 Use comint-last-prompt.
10953 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10955 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10956 (frameset-save): Check validity of the resulting frameset.
10958 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10960 * ido.el (ido-record-command): Add doc string.
10962 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10964 * frameset.el (frameset): Do not disable creation of the default
10965 frameset-p predicate. Doc fix.
10966 (frameset-valid-p): New function, copied from the old predicate-p.
10967 Add additional checks.
10968 (frameset-restore): Check with frameset-valid-p.
10969 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10970 (frameset-name, frameset-description, frameset-properties)
10971 (frameset-states): Add docstring.
10972 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10973 (frameset-filter-alist): Doc fixes.
10975 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10977 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10979 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10981 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10982 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10983 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10984 (byte-compile-normal-call): Remove obsolescence check.
10986 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10988 * frameset.el (frameset-restore): Doc fix.
10990 * register.el (frameset-frame-id, frameset-frame-with-id)
10991 (frameset-p, frameset-restore, frameset-save): Declare.
10992 (register-alist): Document framesets.
10993 (frameset-session-filter-alist): Declare.
10994 (frameset-to-register): New function.
10995 (jump-to-register): Implement jumping to framesets. Doc fix.
10996 (describe-register-1): Describe framesets.
10998 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
11000 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
11002 * desktop.el (desktop-save-frameset): Use new frameset-save args.
11003 Use lexical-binding.
11005 * frameset.el (frameset): Use type vector, not list (incompatible
11006 change). Do not declare a new constructor, use the default one.
11007 Upgrade suggested properties `app', `name' and `desc' to slots `app',
11008 `name' and `description', respectively, and add read-only slot
11009 `timestamp'. Doc fixes.
11010 (frameset-copy, frameset-persistent-filter-alist)
11011 (frameset-filter-alist, frameset-switch-to-gui-p)
11012 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11013 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11014 (frameset-filter-iconified, frameset-keep-original-display-p):
11016 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11017 Rename from frameset-filter-(save|restore)-param. All callers changed.
11019 (frameset-p): Adapt to change to vector and be more thorough.
11020 Change arg name to OBJECT. Doc fix.
11021 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
11022 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11023 All callers changed.
11024 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11025 All callers changed.
11026 (frameset--record-minibuffer-relationships): Rename from
11027 frameset--process-minibuffer-frames. All callers changed.
11028 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11029 Use new default constructor (again). Doc fix.
11030 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11031 All callers changed.
11032 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11033 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11035 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11036 PARAMETERS and WINDOW-STATE, respectively.
11037 (frameset-restore): Add new keyword argument PREDICATE.
11038 Reset frameset--target-display to nil. Doc fix.
11040 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11042 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11043 (bat-mode): Use it.
11044 (bat-mode-syntax-table): Mark \n as end-of-comment.
11045 (bat-font-lock-keywords): Remove comment rule.
11047 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11048 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11050 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11051 (byte-compile-callargs-warn): Use `push'.
11052 (byte-compile-arglist-warn): Ignore higher-order "calls".
11053 (byte-compile-file-form-autoload): Use `pcase'.
11054 (byte-compile-function-form): If quoting a symbol, check that it exists.
11056 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11058 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11059 and add a few popular commands found in batch files.
11060 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11061 (dos-mode): Doc fixes.
11063 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11066 (dos-mode): Use setq-local. Add space after "rem".
11067 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11068 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11070 2013-08-07 Arni Magnusson <arnima@hafro.is>
11072 * progmodes/dos.el: New file.
11073 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11076 2013-08-06 Glenn Morris <rgm@gnu.org>
11078 * calendar/calendar.el: Add new faces, and day-header-array.
11079 (calendar-weekday-header, calendar-weekend-header)
11080 (calendar-month-header): New faces.
11081 (calendar-day-header-construct): New function.
11082 (calendar-day-header-width): Also :set calendar-day-header-array.
11083 (calendar-american-month-header, calendar-european-month-header)
11084 (calendar-iso-month-header): Use calendar- faces.
11085 (calendar-generate-month):
11086 Use calendar-day-header-array for day headers; apply faces to them.
11087 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11088 (calendar-abbrev-construct): Add optional maxlen argument.
11089 (calendar-day-name-array): Doc fix.
11090 (calendar-day-name-array, calendar-abbrev-length)
11091 (calendar-day-abbrev-array):
11092 Also :set calendar-day-header-array, and maybe redraw.
11093 (calendar-day-header-array): New option. (Bug#15007)
11094 (calendar-font-lock-keywords): Set to nil and make obsolete.
11095 (calendar-day-name): Add option to use header array.
11097 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11099 * net/shr.el (shr-render-td): Remove debugging.
11100 (shr-render-td): Make width computation consistent by defaulting
11101 all zero-width columns to 10 characters. This may not be optimal,
11102 but it's at least consistent.
11103 (shr-make-table-1): Redo last change to fix the real problem in
11106 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11108 * files.el (cache-long-line-scans):
11109 Make obsolete alias to `cache-long-scans'.
11111 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11113 * frameset.el (frameset, frameset-filter-alist)
11114 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11115 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11116 (frameset-compute-pos): Rename from frameset--compute-pos,
11118 (frameset-move-onscreen): Use frameset-compute-pos.
11119 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11121 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11122 Fix typos in docstrings.
11124 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11126 * frame.el (get-other-frame): Tiny cleanup.
11128 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11130 * vc/vc.el (vc-default-ignore-completion-table):
11131 Silence byte-compiler warning.
11133 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11134 slot, which can indeed be nil.
11135 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11136 Move entry for `left' from persistent to live filter alist.
11137 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11139 (frameset-filter-params): When restoring a frame, copy items added to
11140 `filtered', to avoid unwittingly modifying the original parameters.
11141 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11142 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11144 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11145 to use looking-at-p instead of looking-at. (Bug#15028)
11147 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11149 Revert introduction of isearch-filter-predicates (bug#14714).
11150 Rely on add-function instead.
11151 * isearch.el (isearch-filter-predicates): Rename it back to
11152 isearch-filter-predicate.
11153 (isearch-message-prefix): Use advice-function-mapc and advice
11154 properties to get the isearch-message-prefix.
11155 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11156 instead of run-hook-with-args-until-failure.
11157 (isearch-filter-visible): Not obsolete any more.
11158 * loadup.el: Preload nadvice.
11159 * replace.el (perform-replace): Revert to funcall
11160 instead of run-hook-with-args-until-failure.
11161 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11162 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11163 dired-isearch-filenames-toggle; make it into a proper minor mode.
11164 Use add/remove-function.
11165 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11166 Call the minor-mode rather than add/remove-hook.
11167 (dired-isearch-filter-filenames):
11168 Remove isearch-message-prefix property.
11169 * info.el (Info--search-loop): New function, extracted from Info-search.
11170 Funcall isearch-filter-predicate instead of
11171 run-hook-with-args-until-failure isearch-filter-predicates.
11172 (Info-search): Use it.
11173 (Info-mode): Use isearch-filter-predicate instead of
11174 isearch-filter-predicates.
11176 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11178 Do not call to `selected-window' where it is assumed by default.
11179 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11180 `window-hscroll', `window-width', `window-height', `window-buffer',
11181 `window-frame', `window-start', `window-point', `next-window'
11182 and `window-display-table'.
11183 * abbrev.el (abbrev--default-expand):
11184 * bs.el (bs--show-with-configuration):
11185 * buff-menu.el (Buffer-menu-mouse-select):
11186 * calc/calc.el (calc):
11187 * calendar/calendar.el (calendar-generate-window):
11188 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11189 (diary-make-entry):
11190 * comint.el (send-invisible, comint-dynamic-complete-filename)
11191 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11192 * completion.el (complete):
11193 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11194 * disp-table.el (describe-current-display-table):
11195 * doc-view.el (doc-view-insert-image):
11196 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11197 * ehelp.el (with-electric-help):
11198 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11199 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11200 * emacs-lisp/helper.el (Helper-help-scroller):
11201 * emulation/cua-base.el (cua--post-command-handler-1):
11202 * eshell/esh-mode.el (eshell-output-filter):
11203 * ffap.el (ffap-gnus-wrapper):
11204 * help-macro.el (make-help-screen):
11205 * hilit-chg.el (highlight-compare-buffers):
11206 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11207 * hl-line.el (global-hl-line-highlight):
11208 * icomplete.el (icomplete-simple-completing-p):
11209 * isearch.el (isearch-done):
11210 * jit-lock.el (jit-lock-stealth-fontify):
11211 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11212 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11213 * mpc.el (mpc-tagbrowser, mpc):
11214 * net/rcirc.el (rcirc-any-buffer):
11215 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11216 * play/landmark.el (landmark-max-width, landmark-max-height):
11217 * play/zone.el (zone):
11218 * progmodes/compile.el (compilation-goto-locus):
11219 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11220 * progmodes/etags.el (find-tag-other-window):
11221 * progmodes/fortran.el (fortran-column-ruler):
11222 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11223 * progmodes/verilog-mode.el (verilog-point-text):
11224 * reposition.el (reposition-window):
11225 * rot13.el (toggle-rot13-mode):
11226 * server.el (server-switch-buffer):
11227 * shell.el (shell-dynamic-complete-command)
11228 (shell-dynamic-complete-environment-variable):
11229 * simple.el (insert-buffer, set-selective-display)
11230 (delete-completion-window):
11231 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11232 (speedbar-recenter):
11233 * startup.el (fancy-splash-head):
11234 * textmodes/ispell.el (ispell-command-loop):
11235 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11236 * tutorial.el (help-with-tutorial):
11237 * vc/add-log.el (add-change-log-entry):
11238 * vc/compare-w.el (compare-windows):
11239 * vc/ediff-help.el (ediff-indent-help-message):
11240 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11241 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11242 (ediff-setup-control-frame):
11243 * vc/emerge.el (emerge-position-region):
11244 * vc/pcvs-util.el (cvs-bury-buffer):
11245 * window.el (walk-windows, mouse-autoselect-window-select):
11246 * winner.el (winner-set-conf, winner-undo): Related users changed.
11248 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11250 * frameset.el (frameset--set-id): Doc fix.
11251 (frameset-frame-id, frameset-frame-id-equal-p)
11252 (frameset-locate-frame-id): New functions.
11253 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11254 (frameset-restore): Use them.
11256 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11258 Do not call to `selected-frame' where it is assumed by default.
11259 Affected functions are `raise-frame', `redraw-frame',
11260 `frame-first-window', `frame-terminal' and `delete-frame'.
11261 * calendar/appt.el (appt-disp-window):
11262 * epg.el (epg-wait-for-completion):
11263 * follow.el (follow-delete-other-windows-and-split)
11264 (follow-avoid-tail-recenter):
11265 * international/mule.el (set-terminal-coding-system):
11266 * mail/rmail.el (rmail-mail-return):
11267 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11268 * progmodes/f90.el (f90-add-imenu-menu):
11269 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11270 * server.el (server-switch-buffer):
11271 * simple.el (delete-completion-window):
11273 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11274 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11275 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11276 * vc/ediff.el (ediff-documentation): Related users changed.
11277 * frame.el (selected-terminal): Remove the leftover.
11279 2013-08-05 Glenn Morris <rgm@gnu.org>
11281 * calendar/calendar.el (calendar-generate-month):
11282 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11283 (calendar-generate-month, calendar-font-lock-keywords):
11284 Fix for calendar-day-header-width > length of any day name.
11286 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11288 * desktop.el (desktop-clear): Use new name of sort predicate.
11290 * frameset.el (frameset): Add docstring. Move :version property to its
11291 own `version' slot.
11292 (frameset-copy): Rename from copy-frameset.
11293 (frameset-p): Check more thoroughly.
11294 (frameset-prop): Do not check for :version, which is no longer a prop.
11295 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11296 Use new :never value instead of t.
11297 (frameset-filter-alist): Expand and clarify docstring.
11298 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11299 (frameset-filter-minibuffer, frameset-filter-save-param)
11300 (frameset-filter-restore-param, frameset-filter-iconified):
11301 Add pointer to docstring of frameset-filter-alist.
11302 (frameset-filter-params): Rename filter values to be more meaningful:
11303 :never instead of t, and reverse the meanings of :save and :restore.
11304 (frameset--process-minibuffer-frames): Clarify error message.
11305 (frameset-save): Avoid unnecessary and confusing call to framep.
11306 Use new BOA constructor for framesets.
11307 (frameset--reuse-list): Doc fix.
11308 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11309 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11310 (frameset-minibufferless-first-p): Doc fix.
11311 Rename from frameset-sort-frames-for-deletion.
11312 (frameset-restore): Doc fixes. Use new function names.
11313 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11315 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11317 * desktop.el (desktop-restore-forces-onscreen)
11318 (desktop-restore-reuses-frames): Document :keyword constant values.
11319 (desktop-filter-parameters-alist): Remove, now identical to
11320 frameset-filter-alist.
11321 (desktop--filter-tty*): Remove, moved to frameset.el.
11322 (desktop-save-frameset, desktop-restore-frameset):
11323 Do not pass :filters argument.
11325 * frameset.el (frameset-live-filter-alist)
11326 (frameset-persistent-filter-alist): New variables.
11327 (frameset-filter-alist): Use them. Add autoload cookie.
11328 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11329 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11330 `frameset--id' (it's supposed to be internal to frameset.el).
11331 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11332 (frameset--initial-params): New function.
11333 (frameset--get-frame): Use it. Doc fix.
11334 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11335 Accept :all, not 'all.
11336 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11337 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11338 with fbound symbols. Fix frame id matching, and remove matching ids if
11339 the frame being restored is deleted. Obey :delete.
11341 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * subr.el (macrop): New function.
11344 (text-clone--maintaining): New var.
11345 (text-clone--maintain): Rename from text-clone-maintain. Use it
11346 instead of inhibit-modification-hooks.
11348 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11349 a proxy, so as handle autoloads and redefinitions of the target.
11350 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11352 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11353 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11354 (pcase--mutually-exclusive-p): New function.
11355 (pcase--split-consp): Use it.
11356 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11357 mutually exclusive with the current predicate.
11359 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11360 (edebug-macrop): Remove. Use `macrop' instead.
11361 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11363 * eshell/esh-cmd.el (eshell-macrop):
11364 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11366 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11369 (advice-mapc): New function, using it.
11370 (advice-function-member-p): New function.
11371 (advice--normalize): Store the cdr in advice--saved-rewrite since
11372 that's the part that will be changed.
11373 (advice--symbol-function): New function.
11374 (advice-remove): Handle removal before the function is defined.
11375 Adjust to new advice--saved-rewrite.
11376 (advice-member-p): Use advice-function-member-p and
11377 advice--symbol-function.
11379 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11381 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11382 (frameset-filter-minibuffer): Doc fix.
11383 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11384 (frameset--set-id, frameset--process-minibuffer-frames)
11385 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11386 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11388 * desktop.el (desktop-clear): Only delete frames when called
11389 interactively and desktop-restore-frames is non-nil. Doc fix.
11390 (desktop-read): Set desktop-saved-frameset to nil.
11392 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11394 * vc/vc.el (vc-ignore): Rewrite.
11395 (vc-default-ignore-completion-table, vc--read-lines)
11396 (vc--add-line, vc--remove-regexp): New functions.
11398 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11399 (vc-svn-ignore-completion-table): New function.
11401 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11402 (vc-hg-ignore-completion-table)
11403 (vc-hg-find-ignore-file): New functions.
11405 * vc/vc-git.el (vc-git-ignore): Rewrite.
11406 (vc-git-ignore-completion-table)
11407 (vc-git-find-ignore-file): New functions.
11409 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11411 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11412 (vc-bzr-ignore-completion-table)
11413 (vc-bzr-find-ignore-file): New functions.
11415 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11417 * frameset.el (frameset-prop): New function and setter.
11418 (frameset-save): Do not modify frame list passed by the caller.
11420 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11422 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11424 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11426 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11427 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11429 * custom.el (custom-initialize-default, custom-initialize-set)
11430 (custom-initialize-reset, custom-initialize-changed): Affect the
11431 toplevel-default-value (bug#6275, bug#14586).
11432 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11435 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11437 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11438 Add cl-def* expressions.
11440 * frameset.el (frameset-filter-params): Fix order of arguments.
11442 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11444 Move code related to saving frames to frameset.el.
11445 * desktop.el: Require frameset.
11446 (desktop-restore-frames): Doc fix.
11447 (desktop-restore-reuses-frames): Rename from
11448 desktop-restoring-reuses-frames.
11449 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11450 (desktop-clear): Clear frames too.
11451 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11452 (desktop--filter-tty*, desktop-save, desktop-read):
11453 Use frameset functions.
11454 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11455 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11456 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11457 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11458 (desktop--process-minibuffer-frames, desktop-save-frames)
11459 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11460 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11461 (desktop--sort-states, desktop-restoring-frames-p)
11462 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11463 (desktop-restoring-frameset-p, desktop-restore-frameset)
11464 (desktop--check-dont-save, desktop-save-frameset): New functions.
11465 (desktop--app-id): New constant.
11466 (desktop-first-buffer, desktop-buffer-ok-count)
11467 (desktop-buffer-fail-count): Move before first use.
11468 * frameset.el: New file.
11470 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11472 * files.el: Use lexical-binding.
11473 (dir-locals-read-from-file): Remove unused `err' variable.
11474 (hack-dir-local-variables--warned-coding): New var.
11475 (hack-dir-local-variables): Use it to avoid repeated warnings.
11476 (make-backup-file-name--default-function): New function.
11477 (make-backup-file-name-function): Use it as default.
11478 (buffer-stale--default-function): New function.
11479 (buffer-stale-function): Use it as default.
11480 (revert-buffer-insert-file-contents--default-function): New function.
11481 (revert-buffer-insert-file-contents-function): Use it as default.
11482 (insert-directory): Avoid add-to-list.
11484 * autorevert.el (auto-revert-handler): Simplify.
11485 Use buffer-stale--default-function.
11487 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11489 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11491 * whitespace.el (whitespace-ensure-local-variables): New function.
11492 (whitespace-cleanup-region): Call it.
11493 (whitespace-turn-on): Call it.
11495 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11497 Complete file name handlers.
11499 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11500 (tramp-handle-verify-visited-file-modtime)
11501 (tramp-handle-file-notify-rm-watch): New functions.
11502 (tramp-call-process): Do not bind `default-directory'.
11504 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11505 Order alphabetically.
11506 <access-file, add-name-to-file, dired-call-process>:
11507 <dired-compress-file, file-acl, file-notify-rm-watch>:
11508 <file-ownership-preserved-p, file-selinux-context>:
11509 <make-directory-internal, make-symbolic-link, set-file-acl>:
11510 <set-file-selinux-context, set-visited-file-modtime>:
11511 <verify-visited-file-modtime>: Add handler.
11512 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11514 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11515 <file-notify-add-watch, file-notify-rm-watch>:
11516 <set-file-times, set-visited-file-modtime>:
11517 <verify-visited-file-modtime>: Add handler.
11518 (with-tramp-gvfs-error-message)
11519 (tramp-gvfs-handle-set-visited-file-modtime)
11520 (tramp-gvfs-fuse-file-name): Remove.
11521 (tramp-gvfs-handle-file-notify-add-watch)
11522 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11523 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11525 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11526 Order alphabetically.
11527 <file-notify-rm-watch>: Use default Tramp handler.
11528 <executable-find>: Remove private handler.
11529 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11530 `default-directory'.
11531 (tramp-sh-handle-executable-find)
11532 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11533 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11534 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11535 Do not use `format' in `tramp-message'.
11537 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11538 <file-notify-rm-watch, set-visited-file-modtime>:
11539 <verify-visited-file-modtime>: Add handler.
11540 (tramp-smb-call-winexe): Do not bind `default-directory'.
11542 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11544 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11546 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11548 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11550 (log-view-diff-changeset): Same.
11551 (log-view-diff-common): Call backend command `previous-revision'
11552 to find out the previous revision, in both cases. Swap the
11553 variables `to' and `fr', so that `fr' usually refers to the
11554 earlier revision (Bug#14989).
11556 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11558 * ibuf-ext.el (ibuffer-filter-by-filename):
11559 Make it work with dired buffers too.
11561 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11563 * emacs-lisp/re-builder.el (reb-color-display-p):
11564 * files.el (save-buffers-kill-terminal):
11565 * net/browse-url.el (browse-url):
11566 * server.el (server-save-buffers-kill-terminal):
11567 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11568 Prefer nil to selected-frame for the first arg of frame-parameter.
11570 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11572 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11574 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11576 * minibuffer.el (completion--twq-all): Try and preserve each
11577 completion's case choice (bug#14907).
11579 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11581 * net/network-stream.el (open-network-stream): Mention the new
11582 :nogreeting parameter.
11583 (network-stream-open-starttls): Use the :nogreeting parameter
11586 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11588 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11589 more natural than popping.
11591 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11592 (shr-urlify): Highlight under mouse.
11594 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11596 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11598 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11600 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11603 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11604 point-min==1. Fix search string. Fix parentheses missing.
11606 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11607 assume point-min==1. Fix search string. Fix parentheses missing.
11609 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11611 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11614 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11616 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11617 initial frame is minibuffer-less. (Bug#14841)
11619 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11621 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11624 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11625 (tramp-maybe-open-connection): Use it.
11627 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11629 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11630 minimal set of parameters passed when creating a frame, because
11631 the minibuffer status of a frame cannot be changed later.
11633 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11635 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11636 replace-regexp-in-string and inadvertent omissions in previous change.
11637 (todo-filter-items): Ensure only file names are comma-separated in
11638 name of filtered items buffer.
11640 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11642 * desktop.el: Optionally force offscreen frames back onscreen.
11643 (desktop-restoring-reuses-frames): New option.
11644 (desktop--compute-pos, desktop--move-onscreen): New functions.
11645 (desktop--make-frame): Use desktop--move-onscreen.
11647 2013-07-27 Alan Mackenzie <acm@muc.de>
11649 Fontify a Java generic method as a function.
11650 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11653 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11655 * calendar/todo-mode.el: Add command to rename todo files.
11656 (todo-rename-file): New command.
11657 (todo-key-bindings-t): Add key binding for it. Change the
11658 bindings of todo-filter-regexp-items(-multifile) to use `x'
11659 instead of `r', since the latter is better suited to the new
11662 2013-07-27 Alan Mackenzie <acm@muc.de>
11664 Make Java try-with-resources statement parse properly.
11665 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11666 (c-block-stmt-1-2-key): New language constants/variables.
11667 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11668 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11669 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11670 with c-block-stmt-1-2-key.
11672 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11674 * desktop.el (desktop--make-frame): Apply most frame parameters after
11675 creating the frame to force (partially or totally) offscreen frames to
11676 be restored as such.
11678 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11680 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11683 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11685 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11686 `base' arg of backtrace-frame.
11688 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11690 * simple.el (list-processes): Doc fix.
11692 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11694 * desktop.el (desktop--select-frame):
11695 Try harder to reuse existing frames.
11697 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11699 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11700 (edebug-eval): Use backtrace-eval.
11701 (edebug--display, edebug--recursive-edit): Don't let-bind the
11702 edebug-outer-* vars that keep track of variables we locally let-bind.
11703 (edebug-outside-excursion): Don't restore outside values of locally
11705 (edebug--display): Use user-error.
11706 (cl-lexical-debug, cl-debug-env): Remove.
11708 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11710 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11711 are restored to be sure that they are visible before deleting any
11714 2013-07-26 Matthias Meulien <orontee@gmail.com>
11716 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11717 vc-print-root-log. (Bug#14948)
11719 2013-07-26 Richard Stallman <rms@gnu.org>
11721 Add aliases for encrypting mail.
11722 * epa.el (epa-mail-aliases): New option.
11723 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11724 Bind inhibit-read-only so read-only text doesn't ruin everything.
11725 (epa-mail-default-recipients): New subroutine broken out.
11726 Handle epa-mail-aliases.
11728 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11730 Add support for lexical variables to the debugger's `e' command.
11731 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11732 vars, except for debugger-outer-match-data.
11733 (debugger-frame-number): Move check for "on a function call" from
11734 callers into it. Add `skip-base' argument.
11735 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11736 (debugger-env-macro): Only reset the state stored in non-variables,
11737 i.e. current-buffer and match-data.
11738 (debugger-eval-expression): Rewrite using backtrace-eval.
11739 * subr.el (internal--called-interactively-p--get-frame): Remove.
11740 (called-interactively-p):
11741 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11742 `base' arg of backtrace-frame instead.
11744 2013-07-26 Glenn Morris <rgm@gnu.org>
11746 * align.el (align-regexp): Doc fix. (Bug#14857)
11747 (align-region): Explicit error if subexpression missing/does not match.
11749 * simple.el (global-visual-line-mode):
11750 Do not duplicate the mode lighter. (Bug#14858)
11752 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11754 * window.el (display-buffer): In display-buffer bind
11755 split-window-keep-point to t, bug#14829.
11757 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11759 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11760 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11761 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11762 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11763 Change accordingly.
11764 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11765 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11767 2013-07-25 Glenn Morris <rgm@gnu.org>
11769 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11771 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11773 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11774 parameter to modify-frame-parameters if the value has not changed;
11775 this is a workaround for bug#14949.
11776 (desktop--make-frame): On cl-delete-if call, check parameter name,
11777 not full parameter.
11779 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11781 * vc/vc.el (vc-ignore): New function.
11783 * vc/vc-svn.el (vc-svn-ignore): New function.
11785 * vc/vc-hg.el (vc-hg-ignore): New function.
11787 * vc/vc-git.el (vc-git-ignore): New function.
11789 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11790 (vc-dir-ignore): New function.
11792 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11793 (cvs-append-to-ignore): Move here from pcvs.el.
11795 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11797 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11799 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11801 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11802 (desktop-restore-frames): Warn when deleting an existing frame failed.
11804 2013-07-24 Glenn Morris <rgm@gnu.org>
11806 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11808 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11810 * filenotify.el (file-notify-supported-p):
11811 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11814 * autorevert.el (auto-revert-use-notify)
11815 (auto-revert-notify-add-watch):
11816 * net/tramp.el (tramp-file-name-for-operation):
11817 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11818 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11819 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11820 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11821 Remove `file-notify-supported-p' entry.
11823 2013-07-24 Glenn Morris <rgm@gnu.org>
11825 * printing.el: Replace all uses of deleted ps-windows-system,
11826 ps-lp-system, ps-flatten-list with lpr- versions.
11828 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11830 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11831 checked with memq (bug#14935).
11833 * files.el (revert-buffer-function): Use a non-nil default.
11834 (revert-buffer-preserve-modes): Declare var to
11835 provide access to the `preserve-modes' argument.
11836 (revert-buffer): Let-bind it.
11837 (revert-buffer--default): New function, extracted from revert-buffer.
11839 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * lpr.el: Signal print errors more prominently.
11842 (print-region-function): Don't default to nil.
11843 (lpr-print-region): New function, extracted from print-region-1.
11844 Check lpr's return value and signal an error in case of problem.
11845 (print-region-1): Use it.
11846 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11848 (ps-printer-name): Default to nil.
11849 (ps-printer-name-option): Default to lpr-printer-switch.
11850 (ps-print-region-function): Don't default to nil.
11851 (ps-postscript-code-directory): Simplify default.
11852 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11853 (ps-string-list, ps-eval-switch, ps-flatten-list)
11854 (ps-flatten-list-1): Remove.
11855 (ps-multibyte-buffer): Avoid setq.
11856 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11857 (print-region-function, ps-print-region-function): Don't set them here.
11859 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11861 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11862 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11863 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11864 (ido-decorations): Doc fix.
11866 * ansi-color.el: Fix old URL.
11868 2013-07-23 Michael R. Mauger <michael@mauger.com>
11870 * progmodes/sql.el: Version 3.3
11871 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11872 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11873 (sql-interactive-remove-continuation-prompt): Rewrite, use
11874 functions above. Fix continuation prompt and complete output line
11876 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11877 redirected output buffer.
11878 (sql-mode): Restore deleted code (Bug#13591).
11880 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11882 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11884 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11886 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11888 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11889 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11890 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11892 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11894 * desktop.el (desktop-clear): Simplify; remove useless checks
11895 against invalid buffer names.
11896 (desktop-list*): Use cl-list*.
11897 (desktop-buffer-info, desktop-create-buffer): Simplify.
11899 2013-07-23 Leo Liu <sdl.web@gmail.com>
11901 * bookmark.el (bookmark-make-record): Restore NAME as a default
11904 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11906 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11907 extracted from autoload--insert-text.
11908 (autoload--insert-text): Remove.
11909 (autoload--print-cookie-text): New function, extracted from
11910 autoload--insert-cookie-text.
11911 (autoload--insert-cookie-text): Remove.
11912 (autoload-generate-file-autoloads): Adjust calls accordingly.
11914 * winner.el (winner-hook-installed-p): Remove.
11915 (winner-mode): Simplify accordingly.
11917 * subr.el (add-to-list): Fix compiler-macro when `append' is
11918 not constant. Don't use `cl-member' for the base case.
11920 * progmodes/subword.el: Fix boundary case (bug#13758).
11921 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11923 (subword-backward-regexp): Make it a constant.
11924 (subword-forward-internal): Don't treat a trailing capital as the
11925 beginning of a word.
11927 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11929 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11930 global value of tabulated-list-revert-hook (bug#14930).
11932 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11934 * desktop.el: Require 'cl-lib.
11935 (desktop-before-saving-frames-functions): New hook.
11936 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11937 for frames being saved. Rename from desktop--save-minibuffer-frames.
11938 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11939 Do not save frames with non-nil `desktop-dont-save' parameter.
11940 Filter out deleted frames.
11941 (desktop--find-frame): Use cl-find-if.
11942 (desktop--select-frame): Use cl-(first|second|third) to access values
11944 (desktop--make-frame): Use cl-delete-if.
11945 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11946 (desktop-restore-frames): Use cl-(first|second|third) to access values
11947 of desktop-mini. Look for visible frame at the end, not while
11950 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11951 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11952 Use string-match-p, looking-at-p (bug#14927).
11954 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11956 * desktop.el (desktop-saved-frame-states):
11957 Rename from desktop--saved-states; all users changed.
11958 (desktop-save-frames): Rename from desktop--save-frames.
11959 Do not save state to desktop file.
11960 (desktop-save): Save desktop-saved-frame-states to desktop file
11962 (desktop-restoring-frames-p): New function.
11963 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11964 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11965 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11967 * desktop.el: Correctly restore iconified frames.
11968 (desktop--filter-iconified-position): New function.
11969 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11971 2013-07-20 Glenn Morris <rgm@gnu.org>
11973 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11974 Let `message' do the formatting.
11975 (def-gdb-preempt-display-buffer): Add explicit format.
11977 * image-dired.el (image-dired-track-original-file):
11978 Use with-current-buffer.
11979 (image-dired-track-thumbnail): Use with-current-buffer.
11980 Avoid changing point of wrong window.
11982 * image-dired.el (image-dired-track-original-file):
11983 Avoid changing point of wrong window. (Bug#14909)
11985 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11987 * progmodes/gdb-mi.el (gdb-done-or-error):
11988 Guard against "%" in gdb output. (Bug#14127)
11990 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11992 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11995 * international/mule.el (coding-system-iso-2022-flags): Fix last
11998 2013-07-20 Kenichi Handa <handa@gnu.org>
12000 * international/mule.el (coding-system-iso-2022-flags):
12001 Add `8-bit-level-4'. (Bug#8522)
12003 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12005 * net/shr.el (shr-mouse-browse-url): New command and keystroke
12008 * net/eww.el (eww-process-text-input): Allow inputting when the
12009 point is at the start of the line, as the properties aren't
12012 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12015 2013-07-19 Richard Stallman <rms@gnu.org>
12017 * epa.el (epa-popup-info-window): Doc fix.
12019 * subr.el (split-string): New arg TRIM.
12021 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
12023 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12024 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12026 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
12028 * filenotify.el (file-notify--library): Rename from
12029 `file-notify-support'. Do not autoload. Adapt all uses.
12030 (file-notify-supported-p): New defun.
12032 * autorevert.el (auto-revert-use-notify):
12033 Use `file-notify-supported-p' instead of `file-notify-support'.
12035 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12037 * net/tramp.el (tramp-file-name-for-operation):
12038 Add `file-notify-supported-p'.
12040 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12042 (tramp-sh-file-name-handler-alist): Add it as handler for
12043 `file-notify-supported-p '.
12045 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12046 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12047 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12048 Add `ignore' as handler for `file-notify-*' functions.
12050 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12052 * simple.el (line-move-partial, line-move): Don't start vscroll or
12053 scroll-up if the current line is not taller than the window.
12056 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12058 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12059 highlight question marks in the method names as strings.
12060 (ruby-block-beg-keywords): Inline.
12061 (ruby-font-lock-keyword-beg-re): Extract from
12062 `ruby-font-lock-keywords'.
12064 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12066 * frame.el (blink-cursor-blinks): New defcustom.
12067 (blink-cursor-blinks-done): New defvar.
12068 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12069 (blink-cursor-timer-function): Check if number of blinks has been
12071 (blink-cursor-suspend, blink-cursor-check): New defuns.
12073 2013-07-15 Glenn Morris <rgm@gnu.org>
12075 * edmacro.el (edmacro-format-keys): Fix previous change.
12077 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12079 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12080 The hack didn't work outside English locales anyway.
12082 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12084 * simple.el (define-alternatives): Rename from alternatives-define,
12085 per RMS' suggestion.
12087 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12089 * desktop.el (desktop-restore-frames): Change default to t.
12090 (desktop-restore-in-current-display): Now offer more options.
12091 (desktop-restoring-reuses-frames): New customization option.
12092 (desktop--saved-states): Doc fix.
12093 (desktop-filter-parameters-alist): New variable, renamed and expanded
12094 from desktop--excluded-frame-parameters.
12095 (desktop--target-display): New variable.
12096 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12097 (desktop--filter-tty*, desktop--filter-*-color)
12098 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12099 (desktop--filter-save-desktop-parm)
12100 (desktop-restore-in-original-display-p): New functions.
12101 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12102 (desktop--save-minibuffer-frames): New function, inspired by a similar
12103 function from Martin Rudalics.
12104 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12105 (desktop--restore-in-this-display-p): Remove.
12106 (desktop--find-frame): Rename from desktop--find-frame-in-display
12107 and add predicate argument.
12108 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12109 (desktop--reuse-list): New variable.
12110 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12112 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12114 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12116 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12118 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12120 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12121 Highlight conversion methods on Kernel.
12123 2013-07-13 Alan Mackenzie <acm@muc.de>
12125 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12126 and comment it out. This out-commenting enables certain C++
12127 declarations to be parsed correctly.
12129 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12131 * international/mule.el (define-coding-system): Doc fix.
12133 * simple.el (default-font-height): Don't call font-info if the
12134 frame's default font didn't change since the frame was created.
12137 2013-07-13 Leo Liu <sdl.web@gmail.com>
12139 * ido.el (ido-read-file-name): Guard against non-symbol value.
12141 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12143 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12146 2013-07-13 Leo Liu <sdl.web@gmail.com>
12148 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12149 ido-set-matches call. (Bug#6852)
12151 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12153 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12154 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12156 (ruby-font-lock-keywords): Distinguish calls to functions with
12157 module-like names from module references. Highlight character
12160 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12162 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12163 (gdb-send): Handle continued commands. (Bug#14847)
12165 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12167 * desktop.el (desktop--v2s): Remove unused local variable.
12168 (desktop-save-buffer): Make defvar-local; adjust docstring.
12169 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12170 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12172 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12174 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12176 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12178 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12181 2013-07-12 Glenn Morris <rgm@gnu.org>
12183 * doc-view.el: Require cl-lib at runtime too.
12184 (doc-view-remove-if): Remove.
12185 (doc-view-search-next-match, doc-view-search-previous-match):
12188 * edmacro.el: Require cl-lib at runtime too.
12189 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12190 (edmacro-mismatch, edmacro-subseq): Remove.
12192 * shadowfile.el: Require cl-lib.
12193 (shadow-remove-if): Remove.
12194 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12197 * wid-edit.el: Require cl-lib.
12198 (widget-choose): Use cl-remove-if.
12199 (widget-remove-if): Remove.
12201 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12202 (ebrowse-delete-if-not): Remove.
12203 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12204 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12205 Use cl-delete-if-not.
12207 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12209 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12210 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12212 2013-07-12 Leo Liu <sdl.web@gmail.com>
12214 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12216 2013-07-11 Glenn Morris <rgm@gnu.org>
12218 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12219 (edebug-gensym-index, edebug-gensym):
12220 Remove reimplementation of cl-gensym.
12221 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12223 * thumbs.el: Require cl-lib at run-time too.
12224 (thumbs-gensym-counter, thumbs-gensym):
12225 Remove reimplementation of cl-gensym.
12226 (thumbs-temp-file): Use cl-gensym.
12228 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12229 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12230 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12231 (ert--union, ert--gensym-counter, ert--gensym-counter)
12232 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12233 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12234 (ert-make-test-unbound, ert--expand-should-1)
12235 (ert--expand-should, ert--should-error-handle-error)
12236 (should-error, ert--explain-equal-rec)
12237 (ert--plist-difference-explanation, ert-select-tests)
12238 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12239 Use cl-lib functions rather than reimplementations.
12241 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12243 * net/tramp.el (tramp-methods): Extend docstring.
12244 (tramp-connection-timeout): New defcustom.
12245 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12246 (with-tramp-progress-reporter): Simplify.
12247 (tramp-process-actions): Improve messages.
12249 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12250 * net/tramp-sh.el (tramp-maybe-open-connection):
12251 Use `tramp-connection-timeout'.
12252 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12255 2013-07-11 Leo Liu <sdl.web@gmail.com>
12257 * ido.el (ido-read-file-name): Conform to the requirements of
12258 read-file-name. (Bug#11861)
12259 (ido-read-directory-name): Conform to the requirements of
12260 read-directory-name.
12262 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12264 * subr.el (delay-warning): New function.
12266 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12268 * simple.el (default-line-height): New function.
12269 (line-move-partial, line-move): Use it instead of computing the
12270 line height inline.
12271 (line-move-partial): Always compute ROWH. If the last line is
12272 partially-visible, but its text is completely visible, allow
12273 cursor to enter such a partially-visible line.
12275 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12277 Improve error messages. (Bug#14808)
12279 * net/tramp.el (tramp-current-connection): New defvar, moved from
12281 (tramp-message-show-progress-reporter-message): Remove, not
12283 (tramp-error-with-buffer): Show message in minibuffer.
12284 Discard input before waiting. Reset connection timestamp.
12285 (with-tramp-progress-reporter): Improve messages.
12286 (tramp-process-actions): Use progress reporter. Delete process in
12287 case of error. Improve messages.
12289 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12290 Call `tramp-error-with-buffer' with vector and buffer.
12291 (tramp-current-connection): Remove.
12292 (tramp-maybe-open-connection): The car of
12293 `tramp-current-connection' are the first 3 slots of the vector.
12295 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12297 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12298 inside continued strings.
12300 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12302 Timestamp fixes for undo (Bug#14824).
12303 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12305 2013-07-10 Leo Liu <sdl.web@gmail.com>
12307 * files.el (require-final-newline): Allow safe local value.
12310 2013-07-09 Leo Liu <sdl.web@gmail.com>
12312 * ido.el (ido-read-directory-name): Handle fallback.
12313 (ido-read-file-name): Update DIR to ido-current-directory.
12315 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12317 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12319 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12320 "autoload". Remove "warn lower camel case" section, previously
12321 commented out. Highlight negation char. Do not highlight the
12322 target in singleton method definitions.
12324 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12326 * faces.el (tty-setup-hook): Declare the hook.
12328 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12329 and detect when a guard/pred depends on local vars (bug#14773).
12330 (pcase--u1): Adjust caller.
12332 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12334 * simple.el (line-move-partial, line-move): Account for
12336 (line-move-partial): Avoid setting vscroll when the last
12337 partially-visible line in window is of default height.
12339 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12341 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12344 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12346 * subr.el (read-quoted-char): Remove unused local variable `char'.
12348 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12350 * vc/ediff.el (ediff-version): Version update.
12351 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12352 (ediff-merge-with-ancestor-command, ediff-directories-command)
12353 (ediff-directories3-command, ediff-merge-directories-command)
12354 (ediff-merge-directories-with-ancestor-command): New functions.
12355 All are command-line interfaces to ediff: to facilitate calling
12356 Emacs with the appropriate ediff functions invoked.
12358 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12360 (viper-save-kill-buffer): Check if buffer is modified.
12362 * emulation/viper.el (viper-version): Version update.
12363 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12365 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12367 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12368 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12369 (viper-intercept-ESC-key): Simplify.
12370 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12372 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12373 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12374 (viper-setup-ESC-to-escape): New functions.
12375 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12376 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12378 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12380 * simple.el (default-font-height, window-screen-lines):
12382 (line-move, line-move-partial): Use them instead of
12383 frame-char-height and window-text-height. This makes scrolling
12384 text smoother when the buffer's default face uses a font that is
12385 different from the frame's default font.
12387 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12389 * files.el (write-file): Do not display confirm dialog for NS,
12390 it does its own dialog, which can't be canceled (Bug#14578).
12392 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12394 * simple.el (line-move-partial): Adjust the row returned by
12395 posn-at-point for the current window-vscroll. (Bug#14567)
12397 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12399 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12400 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12403 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12405 * window.el (window-state-put-stale-windows): New variable.
12406 (window--state-put-2): Save list of windows without matching buffer.
12407 (window-state-put): Remove "bufferless" windows if possible.
12409 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12411 * simple.el (alternatives-define): Remove leftover :group keyword.
12414 2013-07-06 Leo Liu <sdl.web@gmail.com>
12416 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12417 (ido-enable-virtual-buffers): New variable.
12418 (ido-buffer-internal, ido-toggle-virtual-buffers)
12419 (ido-make-buffer-list): Use it.
12420 (ido-exhibit): Support turning on and off virtual buffers
12423 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12425 * simple.el (alternatives-define): New macro.
12427 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12429 * subr.el (read-quoted-char): Use read-key.
12430 (sit-for): Let read-event decode tty input (bug#14782).
12432 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12434 * calendar/todo-mode.el: Add handling of file deletion, both by
12435 mode command and externally. Fix various related bugs.
12436 Clarify Commentary and improve some documentation strings and code.
12437 (todo-delete-file): New command.
12438 (todo-check-file): New function.
12439 (todo-show): Handle external deletion of the file we're trying to
12440 show (bug#14688). Replace called-interactively-p by an optional
12441 prefix argument to avoid problematic interaction with catch form
12442 when byte compiled (bug#14702).
12443 (todo-quit): Handle external deletion of the archive's todo file.
12444 Make sure the buffer that was visiting the archive file is still
12445 live before trying to bury it.
12446 (todo-category-completions): Handle external deletion of any
12447 category completion files.
12448 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12449 of todo files, in case of external deletion.
12450 (todo-add-file): Replace unnecessary setq by let-binding.
12451 (todo-find-archive): Check whether there are any archives.
12452 Replace unnecessary setq by let-binding.
12453 (todo-archive-done-item): Use find-file-noselect to get the
12454 archive buffer whether or not the archive already exists.
12455 Remove superfluous code. Use file size instead of buffer-file-name to
12456 check if the archive is new; if it is, update list of archives.
12457 (todo-default-todo-file): Allow nil to be a valid value for when
12458 there are no todo files.
12459 (todo-reevaluate-default-file-defcustom): Use corrected definition
12460 of todo-default-todo-file.
12461 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12462 (todo-delete-category, todo-show-categories-table)
12463 (todo-category-number): Clarify comment.
12464 (todo-filter-items): Clarify documentation string.
12465 (todo-show-current-file, todo-display-as-todo-file)
12466 (todo-reset-and-enable-done-separator): Tweak documentation string.
12467 (todo-done-separator): Make separator length window-width, since
12468 bug#2749 is now fixed.
12470 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12472 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12473 Support both "gvfs-monitor-dir" and "inotifywait".
12474 (tramp-sh-file-inotifywait-process-filter): Rename from
12475 `tramp-sh-file-notify-process-filter'.
12476 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12477 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12479 2013-07-05 Leo Liu <sdl.web@gmail.com>
12481 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12483 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12485 * frame.el (display-pixel-height, display-pixel-width)
12486 (display-mm-height, display-mm-width): Mention behavior on
12487 multi-monitor setups in docstrings.
12488 (w32-display-monitor-attributes-list): Declare function.
12489 (display-monitor-attributes-list): Use it.
12491 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12493 * filenotify.el: New package.
12495 * autorevert.el (top): Require filenotify.el.
12496 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12498 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12499 (auto-revert-notify-handler): Use `file-notify-*' functions.
12501 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12503 * net/tramp.el (tramp-file-name-for-operation):
12504 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12506 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12507 for `file-notify-add-watch' and `file-notify-rm-watch'.
12508 (tramp-process-sentinel): Improve trace.
12509 (tramp-sh-handle-file-notify-add-watch)
12510 (tramp-sh-file-notify-process-filter)
12511 (tramp-sh-handle-file-notify-rm-watch)
12512 (tramp-get-remote-inotifywait): New defuns.
12514 2013-07-03 Juri Linkov <juri@jurta.org>
12516 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12517 call of `occur-read-primary-args' to interactive spec.
12519 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12520 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12522 2013-07-03 Matthias Meulien <orontee@gmail.com>
12524 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12525 `Buffer-menu-multi-occur'. Add it to the menu.
12526 (Buffer-menu-mode): Document it in docstring.
12527 (Buffer-menu-multi-occur): New command. (Bug#14673)
12529 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12531 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12532 keywords and built-ins.
12534 2013-07-03 Glenn Morris <rgm@gnu.org>
12536 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12538 Make info-xref checks case-sensitive by default
12539 * info.el (Info-find-node, Info-find-in-tag-table)
12540 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12541 Add option for exact case matching of nodes.
12542 * info-xref.el (info-xref): New custom group.
12543 (info-xref-case-fold): New option.
12544 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12546 2013-07-03 Leo Liu <sdl.web@gmail.com>
12548 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12550 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12552 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12553 middle of block statement initially, lower the depth. Remove
12554 FIXME comment, not longer valid. Remove middle of block statement
12555 detection, no need to do that anymore since we've been using
12556 `ruby-parse-region' here.
12558 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12560 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12562 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12564 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12566 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12568 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12569 (desktop-restore-in-current-display): New customization option.
12570 (desktop--excluded-frame-parameters): Add `font'.
12571 (desktop--save-frames): Rename from desktop--save-windows.
12572 (desktop--restore-in-this-display-p): New function.
12573 (desktop--make-full-frame): Remove unwanted width/height from
12574 full(width|height) frames.
12575 (desktop--restore-frames): Rename from desktop--restore-windows.
12576 Obey desktop-restore-current-display. Do not delete old frames or
12577 select a new frame unless we were able to restore at least one frame.
12579 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12581 * files.el (find-file-noselect): Simplify conditional expression.
12583 * textmodes/remember.el (remember-append-to-file):
12584 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12586 Add `remember-notes' function to store random notes across Emacs
12588 * textmodes/remember.el (remember-data-file): Add :set callback to
12589 affect notes buffer (if any).
12590 (remember-notes): New command.
12591 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12592 New defcustoms for the `remember-notes' function.
12593 (remember-notes-save-and-bury-buffer): New command.
12594 (remember-notes-mode-map): New variable.
12595 (remember-mode): New minor mode.
12596 (remember-notes--kill-buffer-query): New function.
12597 * startup.el (initial-buffer-choice): Add notes to custom type.
12599 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12601 * bindings.el (right-char, left-char): Don't call sit-for, this is
12602 no longer needed. Use arithmetic comparison only for numerical
12605 * international/mule-cmds.el (select-safe-coding-system):
12606 Handle the case of FROM being a string correctly. (Bug#14755)
12608 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12610 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12611 progression on degenerate tables.
12612 (shr-rescale-image): ImageMagick animated images currently don't work.
12614 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12616 Some fixes and improvements for desktop frame restoration.
12617 It is still experimental and disabled by default.
12618 * desktop.el (desktop--save-windows): Put the selected frame at
12619 the head of the list.
12620 (desktop--make-full-frame): New function.
12621 (desktop--restore-windows): Try to re-select the frame that was
12622 selected upon saving. Do not abort if some frames fail to restore,
12623 just show an error message and continue. Set up maximized frames
12624 so they have default non-maximized dimensions.
12626 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12628 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12629 Don't start heredoc inside a string or comment.
12631 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12633 * bindings.el (visual-order-cursor-movement): New defcustom.
12634 (right-char, left-char): Provide visual-order cursor motion by
12635 calling move-point-visually. Update the doc strings.
12637 2013-06-28 Kenichi Handa <handa@gnu.org>
12639 * international/mule.el (define-coding-system): New coding system
12640 properties :inhibit-null-byte-detection,
12641 :inhibit-iso-escape-detection, and :prefer-utf-8.
12642 (set-buffer-file-coding-system): If :charset-list property of
12643 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12644 appropriate for setting.
12646 * international/mule-cmds.el (select-safe-coding-system):
12647 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12648 multibyte characters, return utf-8 (or one of its siblings).
12650 * international/mule-conf.el (prefer-utf-8): New coding system.
12651 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12654 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12656 * net/shr.el (shr-render-region): New function.
12658 * net/eww.el: Autoload `eww-browse-url'.
12660 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12662 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12663 Adapt to `package-desc-version' being a list.
12664 Use `package--ac-desc-version' to retrieve version from a package
12667 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12669 New experimental feature to save&restore window and frame setup.
12670 * desktop.el (desktop-save-windows): New defcustom.
12671 (desktop--saved-states): New var.
12672 (desktop--excluded-frame-parameters): New defconst.
12673 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12674 (desktop--restore-windows, desktop--save-windows): New functions.
12675 (desktop-save): Call `desktop--save-windows'.
12676 (desktop-read): Call `desktop--restore-windows'.
12678 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12680 * net/shr.el (add-face-text-property): Remove compat definition.
12682 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12684 * info.el (Info-try-follow-nearest-node): Move search for footnote
12685 above search for node name to prevent missing a footnote (bug#14717).
12687 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12689 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12691 2013-06-27 Leo Liu <sdl.web@gmail.com>
12693 * net/eww.el (eww-read-bookmarks): Check file size.
12695 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12698 advice--pending if newdef is nil or an autoload (bug#13820).
12699 (advice-mapc): New function.
12701 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12703 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12705 (eww-mode-map): Add a menu bar.
12706 (eww-add-bookmark): New command.
12707 (eww-bookmark-mode): New mode and commands.
12708 (eww-add-bookmark): Remove newlines from the title.
12709 (eww-bookmark-browse): Don't bug out if it's the only window.
12711 2013-06-26 Glenn Morris <rgm@gnu.org>
12713 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12714 (hfy-size): Handle ttys. (Bug#14668)
12716 * info-xref.el: Update for Texinfo 5 change in *note format.
12717 (info-xref-node-re, info-xref-note-re): New constants.
12718 (info-xref-check-buffer): Use info-xref-note-re.
12720 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12722 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12724 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12725 nil terminate the loop (bug#14718).
12727 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12729 * net/eww.el: Rework history traversal. When going forward/back,
12730 put these actions into the history, too, so that they can be
12732 (eww-render): Move the history reset to the correct buffer.
12734 2013-06-25 Juri Linkov <juri@jurta.org>
12736 * files-x.el (modify-dir-local-variable): Change the header comment
12737 in the file with directory local variables. (Bug#14692)
12739 * files-x.el (read-file-local-variable-value): Add `default'.
12742 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12744 * net/eww.el (eww-make-unique-file-name): Create a unique file
12745 name before saving to entering `y' accidentally asynchronously.
12747 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12749 * net/eww.el (eww-download): New command and keystroke.
12751 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12753 * net/eww.el (eww-copy-page-url): Change name of command.
12755 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12756 be more consistent with Info and dired.
12758 * net/eww.el (eww-mode-map): Ditto.
12760 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12762 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12763 packages from archives.
12764 (package-archive-contents): Change format; include obsolete packages.
12765 (package-desc): Use `dir' to mark builtin packages.
12766 (package--from-builtin): Set the `dir' field to `builtin'.
12767 (generated-autoload-file, version-control): Declare.
12768 (package-compute-transaction): Change first arg and return value to be
12769 lists of package-descs. Adjust to new package-archive-contents format.
12770 (package--add-to-archive-contents): Adjust to new
12771 package-archive-contents format.
12772 (package-download-transaction): Arg is now a list of package-descs.
12773 (package-install): If `pkg' is a package name, pass it as
12774 a requirement, so it is subject to the usual (e.g. disabled) checks.
12775 (describe-package): Accept package-desc as well.
12776 (describe-package-1): Describe a specific package-desc. Add links to
12777 other package-descs for the same package name.
12778 (package-menu-describe-package): Pass the actual package-desc.
12779 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12781 (package-desc-status): New function.
12782 (package-menu--refresh): New function, extracted
12783 from package-menu--generate.
12784 (package-menu--generate): Use it.
12785 (package-delete): Update package-alist.
12786 (package-menu-execute): Don't call package-initialize.
12788 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12789 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12790 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12791 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12792 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12793 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12795 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12797 * window.el (window--state-get-1): Workaround for bug#14527.
12798 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12800 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12802 * net/eww.el (eww-back-url): Implement the history by stashing all
12803 the data into a list.
12804 (eww-forward-url): Allow going forward in the history, too.
12806 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12808 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12809 for values and use read--expression for expressions (bug#14710).
12810 (read-file-local-variable): Avoid setq.
12811 (read-file-local-variable-mode): Use minor-mode-list.
12813 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12815 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12818 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12820 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12821 Update imenu-support when dialect changes.
12823 2013-06-25 Leo Liu <sdl.web@gmail.com>
12825 * ido.el (ido-read-internal): Allow forward slash on windows.
12827 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12829 * net/eww.el (eww): Start of strings is \\`, not ^.
12831 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12833 * net/shr.el (shr-browse-url): Fix interactive spec.
12835 * net/eww.el (eww): Add a trailing slash to domain names.
12837 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12839 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12841 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12843 * net/shr.el (shr-browse-url): Use an external browser if given a
12846 * net/eww.el (eww-external-browser): Move to shr.
12848 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12850 * net/eww.el (eww): Work more correctly for file: URLs.
12851 (eww-detect-charset): Allow quoted charsets.
12852 (eww-yank-page-url): New command and keystroke.
12854 2013-06-24 Daiki Ueno <ueno@gnu.org>
12856 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12857 file name of gpg executable.
12858 (epg-context-program): New function.
12859 (epg-context-home-directory): New function.
12860 (epg-context-set-program): New function.
12861 (epg-context-set-home-directory): New function.
12862 (epg--start): Use `epg-context-program' instead of
12864 (epg--list-keys-1): Likewise.
12866 2013-06-24 Leo Liu <sdl.web@gmail.com>
12868 * ido.el (ido-read-internal): Fix bug#14620.
12870 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12872 * faces.el (face-documentation): Simplify.
12873 (read-face-attribute, tty-find-type, x-resolve-font-name):
12874 Use `string-match-p'.
12875 (list-faces-display): Use `string-match-p'. Simplify.
12876 (face-spec-recalc): Check face to avoid face alias loops.
12877 (read-color): Use `string-match-p' and non-capturing parenthesis.
12879 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12881 * net/shr.el (shr-rescale-image): Use the new
12882 :max-width/:max-height functionality.
12884 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12886 * net/eww.el (eww-search-prefix): New variable.
12888 (eww-external-browser): New variable.
12889 (eww-mode-map): New keystroke.
12890 (eww-browse-with-external-browser): New command.
12892 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12894 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12896 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12897 Don't skip aligning the next header field when padding is 0;
12898 otherwise, field width is not respected unless the title is as
12901 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12903 * emacs-lisp/package.el (package-el-version): Remove.
12904 (package-process-define-package): Fix inf-loop.
12905 (package-install): Allow symbols as arguments again.
12907 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12909 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12910 add some more keyword-like methods.
12911 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12913 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12915 * bs.el (bs-buffer-show-mark): Make defvar-local.
12916 (bs-mode): Use setq-local.
12918 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12919 (emacs-lock--try-unlocking): Make defvar-local.
12921 2013-06-22 Glenn Morris <rgm@gnu.org>
12923 * play/cookie1.el (cookie-apropos): Minor simplification.
12925 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12927 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12929 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12930 `regexp-opt', it breaks the build during dumping.
12932 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12934 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12935 Highlight keyword-like methods on Kernel and Module with
12936 font-lock-builtin-face.
12937 (auto-mode-alist): Consolidate different entries into one regexp
12938 and add more *file-s.
12940 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12942 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12944 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12945 (diary-entry): Use it in the action of this button type instead of
12948 * calendar/todo-mode.el: New version.
12949 (todo-add-category): Append new category to end of file and give
12950 it the highest number, instead of putting it at the beginning and
12951 giving it 0. Incorporate noninteractive functionality.
12952 (todo-forward-category): Adapt to 1-based category numbering.
12953 Allow skipping over archived categories.
12954 (todo-backward-category): Derive from todo-forward-category.
12955 (todo-backward-item, todo-forward-item): Make noninteractive and
12956 delegate interactive part to new commands. Make sensitive to done items.
12957 (todo-categories): Make value an alist of category names and
12958 vectors of item counts.
12959 (todo-category-beg): Make a defconst.
12960 (todo-category-number): Use 1 instead of 0 as initial value.
12961 (todo-category-select): Make sensitive to overlays, optional item
12962 highlighting and done items.
12963 (todo-delete-item): Make sensitive to overlays and marked and done items.
12964 (todo-edit-item): Make sensitive to overlays and editing of
12965 date/time header optional. Add format checks.
12966 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12967 no-op if point is not on an item. Advertise using todo-edit-quit.
12968 (todo-edit-mode): Make sensitive to new format, font-locking, and
12969 multiple todo files.
12970 (todo-insert-item, todo-insert-item-here): Derive from
12971 todo-basic-insert-item and extend functionality.
12972 (todo-item-end, todo-item-start): Make sensitive to done items.
12973 (todo-item-string): Don't return text properties. Restore point.
12974 (todo-jump-to-category): Make sensitive to multiple todo files and
12975 todo archives. Use extended category completion.
12976 (todo-lower-item, todo-raise-item): Rename to *-priority and
12977 derive from todo-set-item-priority.
12978 (todo-mode): Derive from special-mode. Make sensitive to new
12979 format, font-locking and multiple todo files. Make read-only.
12980 (todo-mode-map): Don't suppress digit keys, so they can supply
12981 prefix arguments. Add many new key bindings.
12982 (todo-prefix): Insert as an overlay instead of file text.
12983 Change semantics from diary date expression to purely visual mark.
12984 (todo-print): Rename to todo-print-buffer. Make buffer display
12985 features printable. Remove option to restrict number of items
12986 printed. Add option to print to file.
12987 (todo-print-function): Rename to todo-print-buffer-function.
12988 (todo-quit): Extend to handle exiting new todo modes.
12989 (todo-remove-item): Make sensitive to overlays.
12990 (todo-save): Extend to buffers of filtered items.
12991 (todo-show): Make sensitive to done items, multiple todo files and
12992 new todo modes. Offer to convert legacy todo file before creating
12993 first new todo file.
12994 (todo-show-priorities): Rename to todo-top-priorities.
12995 Change semantics of value 0.
12996 (todo-top-priorities): Rename to todo-filter-top-priorities,
12997 derive from todo-filter-items and extend functionality.
12998 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12999 and extend functionality to other types of filtered items.
13000 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
13001 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
13002 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
13003 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13004 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13005 (todo-edit-mode-hook, todo-entry-prefix-function)
13006 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13007 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13008 (todo-initials, todo-insert-threshold, todo-item-string-start)
13009 (todo-line-string, todo-menu, todo-mode-hook)
13010 (todo-more-important-p, todo-previous-answer, todo-previous-line)
13011 (todo-print-priorities, todo-remove-separator)
13012 (todo-save-top-priorities-too, todo-string-count-lines)
13013 (todo-string-multiline-p, todo-time-string-format)
13014 (todo-tmp-buffer-name): Remove.
13015 (todo-add-file, todo-archive-done-item, todo-choose-archive)
13016 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13017 (todo-edit-category-diary-inclusion)
13018 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13019 (todo-edit-file, todo-edit-item-date-day)
13020 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13021 (todo-edit-item-date-month, todo-edit-item-date-to-today)
13022 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13023 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13024 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13025 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13026 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13027 (todo-filter-top-priorities-multifile, todo-find-archive)
13028 (todo-find-filtered-items-file, todo-go-to-source-item)
13029 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13030 (todo-jump-to-archive-category, todo-lower-category)
13031 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13032 (todo-move-category, todo-move-item, todo-next-button)
13033 (todo-next-item, todo-padded-string, todo-powerset)
13034 (todo-previous-button, todo-previous-item)
13035 (todo-print-buffer-to-file, todo-raise-category)
13036 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13037 (todo-set-category-number, todo-set-item-priority)
13038 (todo-set-top-priorities-in-category)
13039 (todo-set-top-priorities-in-file, todo-show-categories-table)
13040 (todo-sort-categories-alphabetically-or-numerically)
13041 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13042 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13043 (todo-toggle-item-header, todo-toggle-item-highlighting)
13044 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13045 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13046 (todo-unarchive-items, todo-unmark-category): New commands.
13047 (todo-absolute-file-name, todo-add-to-buffer-list)
13048 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13049 (todo-basic-insert-item, todo-category-completions)
13050 (todo-category-number, todo-category-string-matcher-1)
13051 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13052 (todo-check-format, todo-clear-matches)
13053 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13054 (todo-current-category, todo-date-string-matcher)
13055 (todo-define-insertion-command, todo-diary-expired-matcher)
13056 (todo-diary-goto-entry, todo-diary-item-p)
13057 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13058 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13059 (todo-done-item-section-p, todo-done-separator)
13060 (todo-done-string-matcher, todo-files, todo-filter-items)
13061 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13062 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13063 (todo-insert-category-line, todo-insert-item-from-calendar)
13064 (todo-insert-sort-button, todo-insert-with-overlays)
13065 (todo-insertion-command-name, todo-insertion-key-bindings)
13066 (todo-label-to-key, todo-longest-category-name-length)
13067 (todo-make-categories-list, todo-mode-external-set)
13068 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13069 (todo-modes-set-3, todo-multiple-filter-files)
13070 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13071 (todo-read-category, todo-read-date, todo-read-dayname)
13072 (todo-read-file-name, todo-read-time)
13073 (todo-reevaluate-category-completions-files-defcustom)
13074 (todo-reevaluate-default-file-defcustom)
13075 (todo-reevaluate-filelist-defcustoms)
13076 (todo-reevaluate-filter-files-defcustom)
13077 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13078 (todo-reset-done-separator, todo-reset-done-separator-string)
13079 (todo-reset-done-string, todo-reset-global-current-todo-file)
13080 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13081 (todo-reset-prefix, todo-set-categories)
13082 (todo-set-date-from-calendar, todo-set-show-current-file)
13083 (todo-set-top-priorities, todo-short-file-name)
13084 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13085 (todo-total-item-counts, todo-update-buffer-list)
13086 (todo-update-categories-display, todo-update-categories-sexp)
13087 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13089 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13091 (todo-categories, todo-display, todo-edit, todo-faces)
13092 (todo-filtered): New defgroups.
13093 (todo-archived-only, todo-button, todo-category-string, todo-date)
13094 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13095 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13096 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13097 (todo-add-item-if-new-category, todo-always-add-time-string)
13098 (todo-categories-align, todo-categories-archived-label)
13099 (todo-categories-category-label, todo-categories-diary-label)
13100 (todo-categories-done-label, todo-categories-number-separator)
13101 (todo-categories-todo-label, todo-categories-totals-label)
13102 (todo-category-completions-files, todo-completion-ignore-case)
13103 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13104 (todo-done-separator-string, todo-done-string)
13105 (todo-files-function, todo-filter-done-items, todo-filter-files)
13106 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13107 (todo-initial-category, todo-initial-file, todo-item-mark)
13108 (todo-legacy-date-time-regexp, todo-mode-line-function)
13109 (todo-nondiary-marker, todo-number-prefix)
13110 (todo-print-buffer-function, todo-show-current-file)
13111 (todo-show-done-only, todo-show-first, todo-show-with-done)
13112 (todo-skip-archived-categories, todo-top-priorities-overrides)
13113 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13114 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13116 (todo-category-done, todo-date-pattern, todo-date-string-start)
13117 (todo-diary-items-buffer, todo-done-string-start)
13118 (todo-filtered-items-buffer, todo-item-start)
13119 (todo-month-abbrev-array, todo-month-name-array)
13120 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13121 (todo-top-priorities-buffer): New defconsts.
13122 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13123 (todo-categories-with-marks, todo-category-string-face)
13124 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13125 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13126 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13127 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13128 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13129 (todo-font-lock-keywords, todo-global-current-todo-file)
13130 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13131 (todo-insertion-commands-args)
13132 (todo-insertion-commands-args-genlist)
13133 (todo-insertion-commands-names, todo-insertion-map)
13134 (todo-key-bindings-t, todo-key-bindings-t+a)
13135 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13136 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13137 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13138 (todo-visited): New variables.
13140 2013-06-21 Glenn Morris <rgm@gnu.org>
13142 * play/cookie1.el (cookie-apropos): Add optional display argument.
13143 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13144 (psychoanalyze-pinhead): Use cookie-doctor.
13146 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13148 * emacs-lisp/package.el (tar-get-file-descriptor)
13149 (tar--extract): Declare.
13151 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13153 Extend flymake's warning predicate to be a function (bug#14217).
13154 * progmodes/flymake.el (flymake-warning-predicate): New.
13155 (flymake-parse-line): Use it.
13156 (flymake-warning-re): Make obsolete alias to
13157 `flymake-warning-predicate'.
13159 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13161 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13162 (package-obsolete-list): Remove.
13163 (package-activate): Remove min-version argument. Add `force' argument.
13164 Adjust to new package-alist format.
13165 (package-mark-obsolete): Remove.
13166 (package-unpack): Force reload of the package's autoloads.
13167 (package-installed-p): Check builtins if the installed package is not
13169 (package-initialize): Don't reset package-obsolete-list.
13170 Don't specify which package version to activate.
13171 (package-process-define-package, describe-package-1)
13172 (package-menu--generate): Adjust to new package-alist format.
13174 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13176 * allout-widgets.el (allout-widgets-mode-off)
13177 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13178 (allout-widgets-post-command-business)
13179 (allout-widgets-after-copy-or-kill-function)
13180 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13181 (allout-decorate-item-and-context)
13182 (allout-graphics-modification-handler): Fix typos in docstrings.
13183 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13185 * cmuscheme.el (scheme-start-file): Doc fix.
13186 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13187 (scheme-input-filter): Use `string-match-p'.
13189 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13191 * dired-x.el: Use Dired consistently in docstrings.
13193 * dired.el: Use Dired consistently in docstrings.
13194 (dired-readin, dired-mode): Use `setq-local'.
13195 (dired-switches-alist): Make defvar-local.
13196 (dired-buffers-for-dir): Use `zerop'.
13197 (dired-safe-switches-p, dired-switches-escape-p)
13198 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13199 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13200 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13201 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13202 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13203 (dired-toggle-marks, dired-mark-files-containing-regexp)
13204 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13205 (dired-flag-auto-save-files, dired-flag-backup-files):
13206 Use `looking-at-p'.
13207 (dired-mark-files-regexp, dired-build-subdir-alist):
13208 Use `string-match-p', `looking-at-p'.
13210 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13211 (direct-print-region-helper): Use `string-match-p'.
13213 2013-06-21 Leo Liu <sdl.web@gmail.com>
13215 * comint.el (comint-redirect-results-list-from-process):
13218 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13220 * net/eww.el (eww-update-header-line-format): Quote % characters.
13222 2013-06-21 Glenn Morris <rgm@gnu.org>
13224 * play/cookie1.el (cookie): New custom group.
13225 (cookie-file): New option.
13226 (cookie-check-file): New function.
13227 (cookie): Make it interactive. Make start and end messages optional.
13228 Interactively, display the result. Default to cookie-file.
13229 (cookie-insert): Default to cookie-file.
13230 (cookie-snarf): Make start and end messages optional.
13231 Default to cookie-file. Use with-temp-buffer.
13232 (cookie-read): Rename from read-cookie.
13233 Make start and end messages optional. Default to cookie-file.
13234 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13235 Do not autoload it.
13236 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13237 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13239 2013-06-21 Leo Liu <sdl.web@gmail.com>
13241 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13243 2013-06-21 Glenn Morris <rgm@gnu.org>
13245 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13247 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13248 Daniel Hackney <dan@haxney.org>
13250 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13251 Consolidate the single-file vs tarball code.
13252 (package-desc-suffix): New function.
13253 (package-desc-full-name): Don't bother inlining it.
13254 (package-load-descriptor): Return the new package-desc.
13255 (package-mark-obsolete): Remove unused arg `package'.
13256 (package-unpack): Make it work for single files as well.
13257 Make it update package-alist.
13258 (package--make-autoloads-and-stuff): Rename from
13259 package--make-autoloads-and-compile. Don't compile any more.
13260 (package--compile): New function.
13261 (package-generate-description-file): New function, extracted from
13262 package-unpack-single.
13263 (package-unpack-single): Remove.
13264 (package--with-work-buffer): Add indentation and debugging info.
13265 (package-download-single): Remove.
13266 (package-install-from-archive): Rename from package-download-tar, make
13267 it take a pkg-desc, and make it work for single files as well.
13268 (package-download-transaction): Simplify.
13269 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13270 external tar program.
13271 (package-install-from-buffer): Remove `pkg-desc' argument.
13272 Use package-tar-file-info for tar-mode buffers.
13273 (package-install-file): Simplify accordingly.
13274 (package-archive-base): Change to take a pkg-desc.
13275 * tar-mode.el (tar--check-descriptor): New function, extracted from
13276 tar-get-descriptor.
13277 (tar-get-descriptor): Use it.
13278 (tar-get-file-descriptor): New function.
13279 (tar--extract): New function, extracted from tar-extract.
13280 (tar--extract): Use it.
13281 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13282 case the summary uses non-ascii. Adjust to new calling convention of
13283 package-tar-file-info.
13285 2013-06-21 Leo Liu <sdl.web@gmail.com>
13287 * comint.el (comint-redirect-results-list-from-process):
13288 Fix random delay. (Bug#14681)
13290 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13292 * profiler.el (profiler-format-number): Use log, not log10.
13294 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13296 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13298 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13300 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13301 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13303 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13304 (AUTOGENEL): ... here.
13305 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13306 (cl--defsubst-expand): Use it.
13308 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13310 * subr.el (log10): Move here from C code, and declare as obsolete.
13311 All uses of (log10 X) replaced with (log X 10).
13313 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13315 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13316 Declare with `defvar-local'.
13317 (tabulated-list-use-header-line, tabulated-list-entries)
13318 (tabulated-list-padding, tabulated-list-printer)
13319 (tabulated-list-sort-key): Declare with `defvar-local'.
13320 (tabulated-list-init-header, tabulated-list-print-fake-header):
13323 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13325 * arc-mode.el (archive-mode): Add `archive-write-file' to
13326 `write-contents-functions' also for remote files. (Bug#14652)
13328 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13330 * cus-edit.el (custom-commands): Fix typos.
13331 (custom-display): Fix tooltip text.
13332 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13333 Fix typos in docstrings.
13334 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13335 (custom-unlispify-menu-entry, custom-magic-value-create)
13336 (custom-add-see-also, custom-group-value-create): Use ?\s.
13337 (custom-guess-type, customize-apropos, editable-field)
13338 (custom-face-value-create): Use `string-match-p'.
13339 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13341 * custom.el (custom-load-symbol): Use `string-match-p'.
13343 * ansi-color.el: Convert to lexical binding.
13344 (ansi-colors): Fix URL.
13345 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13346 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13347 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13349 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13351 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13353 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13355 2013-06-19 Tom Tromey <tromey@redhat.com>
13357 * net/eww.el (eww-top-url): Remove.
13358 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13359 (eww-render): Set new variables. Don't set eww-top-url.
13360 (eww-handle-link): Handle "prev", "home", and "contents".
13361 Downcase the rel text.
13362 (eww-top-url): Choose best top URL.
13364 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13366 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13367 relying in widget.el. Using widget.el leads to too many
13368 user interface inconsistencies.
13369 (eww-self-insert): Implement entering commands in text fields.
13370 (eww-process-text-input): New function to make text input field editing
13372 (eww-submit): Rewrite to use the new-style form methods.
13373 (eww-select-display): Display the correct selected item.
13374 (eww-change-select): Implement changing the select value.
13375 (eww-toggle-checkbox): Implement radio/checkboxes.
13376 (eww-update-field): Fix compilation error.
13377 (eww-tag-textarea): Implement <textarea>.
13379 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13380 we don't shadow mode-specific bindings.
13382 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13385 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13387 2013-06-19 Glenn Morris <rgm@gnu.org>
13389 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13391 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13393 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13396 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13398 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13400 * net/browse-url.el (browse-url-browser-function):
13401 `eww-browse-url' has the right calling signature, `eww' does not.
13403 2013-06-19 Glenn Morris <rgm@gnu.org>
13405 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13406 Only eval autoloaded macros.
13407 (byte-compile-autoload): Only give the macro warning for macros.
13409 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13410 (ps-underlined-faces): Declare.
13412 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13413 (speedbar-add-supported-extension): Declare.
13415 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13416 Don't include a date stamp in the header of the generated file;
13417 it leads to needless differences between output files.
13419 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13421 * net/secrets.el (secrets-struct-secret-content-type):
13422 Replace check of introspection data by a test call of "CreateItem".
13423 Some servers do not offer introspection.
13425 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * electric.el (electric-pair-mode): Improve interaction with
13428 electric-layout-mode.
13429 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13430 (electric-pair-syntax): Use text-mode-syntax-table in comments
13432 (electric-pair--insert): New function.
13433 (electric-pair-post-self-insert-function): Use it and
13434 electric--after-char-pos.
13436 2013-06-19 Leo Liu <sdl.web@gmail.com>
13438 * progmodes/octave.el (octave-help): Fix regexp.
13440 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13442 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13443 (shr-table-horizontal-line): Allow nil as a value, and change the
13445 (shr-insert-table-ruler): Respect the nil value.
13447 2013-06-18 Tom Tromey <tromey@barimba>
13449 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13451 (eww-open-file): New defun.
13452 (eww-render): Initialize new variables.
13453 (eww-display-html): Handle "link" and "a".
13454 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13455 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13456 (eww-back-url): Rename from eww-previous-url.
13457 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13460 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13462 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13463 Distinguish ternary operator tokens from slash symbol and slash
13466 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13468 Convert symbol prettification into minor mode and global minor mode.
13470 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13471 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13472 (prettify-symbols--keywords): Rename from
13473 `prog-prettify-symbols-alist' and make a local defvar.
13474 (prettify-symbols--compose-symbol): Rename from
13475 `prog--prettify-font-lock-compose-symbol'.
13476 (prettify-symbols--make-keywords): Rename from
13477 `prog-prettify-font-lock-symbols-keywords' and simplify.
13478 (prog-prettify-install): Remove.
13479 (prettify-symbols-mode): New minor mode, based on
13480 `prog-prettify-install'.
13481 (turn-on-prettify-symbols-mode): New function.
13482 (global-prettify-symbols-mode): New globalized minor mode.
13484 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13485 * progmodes/cfengine.el (cfengine3-mode):
13486 * progmodes/perl-mode.el (perl-mode): Don't call
13487 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13489 2013-06-18 Juri Linkov <juri@jurta.org>
13491 * files-x.el (modify-file-local-variable-message): New function.
13492 (modify-file-local-variable)
13493 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13494 and call `modify-file-local-variable-message' when it's non-nil.
13495 (add-file-local-variable, delete-file-local-variable)
13496 (add-file-local-variable-prop-line)
13497 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13498 and use it. (Bug#9820)
13500 2013-06-18 Juri Linkov <juri@jurta.org>
13502 * emulation/vi.el (vi-shell-op):
13503 * emulation/vip.el (vip-execute-com, ex-command):
13504 * emulation/viper-cmd.el (viper-exec-bang):
13505 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13506 the call of `shell-command-on-region'. (Bug#14637)
13508 * simple.el (shell-command-on-region): Doc fix.
13510 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13512 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13515 2013-06-18 Glenn Morris <rgm@gnu.org>
13517 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13519 * newcomment.el (comment-search-forward, comment-search-backward):
13520 Doc fix. (Bug#14376)
13522 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13524 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13525 (buffer-face-mode-invoke): Doc fix.
13527 2013-06-18 Matthias Meulien <orontee@gmail.com>
13529 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13530 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13532 2013-06-18 Glenn Morris <rgm@gnu.org>
13534 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13535 Replace obsolete function generic-make-keywords with its expansion.
13537 * progmodes/python.el (ffap-alist): Declare.
13539 * textmodes/reftex.el (bibtex-mode-map): Declare.
13541 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13543 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13544 (package-unpack, package-unpack-single): Return the pkg-dir.
13545 (package-download-transaction): Use it to update package-alist.
13547 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13549 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13552 2013-06-17 Juri Linkov <juri@jurta.org>
13554 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13556 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13558 * emacs-lisp/package.el (package-load-descriptor):
13559 Remove `with-syntax-table' call, `read' doesn't need it.
13560 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13562 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13564 * startup.el (command-line): Expand package name returned by
13565 `package--description-file' (bug#14639).
13567 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13569 * emacs-lisp/package.el (package-load-descriptor): Do not call
13570 `emacs-lisp-mode', just use its syntax table.
13572 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13574 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13575 `font-lock-extra-managed-props' if any prettifying keyword is added.
13576 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13577 (prog-mode): Use `setq-local'.
13579 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13581 * international/characters.el (standard-case-table): Set syntax of ?»
13582 and ?« to punctuation.
13584 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13586 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13587 Save relevant match data before calling `syntax-ppss' (bug#14595).
13589 2013-06-15 Juri Linkov <juri@jurta.org>
13591 * files-x.el (modify-file-local-variable-prop-line): Add local
13592 variables to the end of the existing comment on the first line.
13593 Use `file-auto-mode-skip' to skip interpreter magic line,
13594 and also skip XML declaration.
13596 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13598 * startup.el (package--builtin-versions): New var.
13599 (package-subdirectory-regexp): Remove.
13600 (package--description-file): Hard code its value instead.
13602 * emacs-lisp/package.el: Don't activate packages older than builtin.
13603 (package-obsolete-list): Rename from package-obsolete-alist, and make
13604 it into a simple list of package-desc.
13605 (package-strip-version): Remove.
13606 (package-built-in-p): Use package--builtin-versions.
13607 (package-mark-obsolete): Simplify.
13608 (package-process-define-package): Mark it obsolete if older than the
13610 (package-handle-response): Use line-end-position.
13611 (package-read-archive-contents, package--download-one-archive):
13613 (package--add-to-archive-contents): Skip if older than the builtin or
13615 (package-menu-describe-package): Fix last change.
13616 (package-list-unversioned): New var.
13617 (package-menu--generate): Use it.
13619 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13620 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13621 (autoload-builtin-package-versions): New variable.
13622 (autoload-generate-file-autoloads): Use them.
13623 Remove the list of autoloaded functions/macros from the
13624 (autoload...) comments.
13626 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13628 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13630 * simple.el (line-move-partial): Don't jump to the next screen
13631 line as soon as it becomes visible. Instead, continue enlarging
13632 the vscroll until the portion of a tall screen line that's left on
13633 display is about the height of the frame's default font.
13636 2013-06-15 Glenn Morris <rgm@gnu.org>
13638 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13639 compilation-error-regexp-alist void, or local while let-bound.
13641 * progmodes/make-mode.el (makefile-mode-syntax-table):
13642 Treat "=" as punctuation. (Bug#14614)
13644 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13646 * help-fns.el (describe-variable):
13647 Add extra line for permanent-local variables.
13649 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13651 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13652 Add export, import, library. (Bug#9164)
13653 (library): Set indent function.
13655 2013-06-14 Glenn Morris <rgm@gnu.org>
13657 * term/xterm.el (xterm--query):
13658 Stop after first matching handler. (Bug#14615)
13660 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13662 Add support for dired in saveplace.
13663 * dired.el (dired-initial-position-hook): New variable.
13664 (dired-initial-position): Call hook to place cursor position.
13665 * saveplace.el (save-place-to-alist): Add dired position.
13666 (save-place-dired-hook): New function.
13668 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13670 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13671 through a symbol rather than letrec.
13673 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13674 (package-desc): Add `dir' field.
13675 (package-desc-full-name): New function.
13676 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13677 (package-maybe-load-descriptor): Remove.
13678 (package-load-all-descriptors): Just call package-load-descriptor.
13679 (package--disabled-p): New function.
13680 (package-desc-vers, package-desc-doc): Remove aliases.
13681 (package--dir): Remove function.
13682 (package-activate): Check if a package is disabled.
13683 (package-process-define-package): New function, extracted from
13685 (define-package): Turn into a place holder.
13686 (package-unpack-single, package-tar-file-info):
13687 Use package--description-file.
13688 (package-compute-transaction): Use package--disabled-p.
13689 (package-download-transaction): Don't call
13690 package-maybe-load-descriptor since they're all loaded anyway.
13691 (package-install): Change argument to be a pkg-desc.
13692 (package-delete): Use a single pkg-desc argument.
13693 (describe-package-1): Use package-desc-dir instead of package--dir.
13694 Use package-desc property instead of package-symbol.
13695 (package-install-button-action): Adjust accordingly.
13696 (package--push): Rewrite.
13697 (package-menu--print-info): Adjust accordingly. Change the ID format
13699 (package-menu-describe-package, package-menu-get-status)
13700 (package-menu--find-upgrades, package-menu-mark-upgrades)
13701 (package-menu-execute, package-menu--name-predicate):
13702 Adjust accordingly.
13703 * startup.el (package--description-file): New function.
13704 (command-line): Use it.
13705 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13706 Use package-desc-version.
13708 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13709 (byte-compile-preprocess): Use it.
13710 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13711 can't quite recognize.
13712 (byte-compile-add-to-list): Remove.
13713 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13714 (cconv-closure-convert): Add assertion.
13716 * emacs-lisp/map-ynp.el: Use lexical-binding.
13717 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13718 Factor out some repeated code.
13720 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13722 * subr.el (with-eval-after-load): New macro.
13723 (eval-after-load): Allow form to be a function.
13724 take advantage of lexical-binding.
13725 (do-after-load-evaluation): Use dolist and adjust to new format.
13726 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13728 2013-06-13 Juri Linkov <juri@jurta.org>
13730 * replace.el (perform-replace): Display "symbol " and other search
13731 modes from `isearch-message-prefix' in the *Help* buffer.
13733 * isearch.el (isearch-query-replace): Add " symbol" and other
13734 possible search modes from `isearch-message-prefix' to the prompt.
13735 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13736 when reading a regexp to collect.
13738 2013-06-13 Juri Linkov <juri@jurta.org>
13740 * isearch.el (word-search-regexp): Match whitespace if the search
13741 string begins or ends in whitespace. The LAX arg is applied to
13742 both ends of the search string. Use `regexp-quote' and explicit
13743 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13744 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13745 boundaries are replaced with symbol boundaries, and characters
13746 between symbols match non-word non-symbol syntax. (Bug#14602)
13748 2013-06-13 Juri Linkov <juri@jurta.org>
13750 * isearch.el (isearch-del-char): Don't exceed the length of
13751 `isearch-string' by the prefix arg. (Bug#14563)
13753 2013-06-13 Juri Linkov <juri@jurta.org>
13755 * isearch.el (isearch-yank-word, isearch-yank-line)
13756 (isearch-char-by-name, isearch-quote-char)
13757 (isearch-printing-char, isearch-process-search-char):
13758 Add optional count prefix arg. (Bug#14563)
13760 * international/isearch-x.el
13761 (isearch-process-search-multibyte-characters):
13762 Add optional count prefix arg.
13764 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13766 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13767 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13770 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13772 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13774 2013-06-13 Glenn Morris <rgm@gnu.org>
13776 * startup.el (tty-handle-args):
13777 Don't just discard "--" and anything after. (Bug#14608)
13779 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13781 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13783 Implement changes in Secret Service API. Make it backward compatible.
13784 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13785 (secrets-create-item): Use it. Prefix properties with interface.
13787 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13789 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13790 (term-emulate-terminal): Respect term-suppress-hard-newline.
13792 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13794 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13795 Only remove a `thumb-file' overlay. (Bug#14548)
13797 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13799 * mail/reporter.el (reporter-submit-bug-report):
13800 Handle missing package-name. (Bug#14600)
13802 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13804 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13805 (reftex-citation-prompt, reftex-default-bibliography)
13806 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13807 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13808 (reftex-bib-sort-author, reftex-bib-sort-year)
13809 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13810 (reftex-extract-bib-entries-from-thebibliography)
13811 (reftex-get-bibkey-default, reftex-get-bib-names)
13812 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13813 (reftex-format-bib-entry, reftex-parse-bibitem)
13814 (reftex-format-bibitem, reftex-do-citation)
13815 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13816 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13817 (reftex-insert-bib-matches, reftex-format-citation)
13818 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13819 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13820 existing comments into docstrings.
13822 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13824 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13826 2013-06-12 Andreas Schwab <schwab@suse.de>
13828 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13829 for auto-save files.
13831 2013-06-12 Glenn Morris <rgm@gnu.org>
13833 * ido.el (ido-delete-ignored-files): Remove.
13834 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13835 Go back to calling ido-ignore-item-p directly.
13837 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13839 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13841 * ido.el (ido-delete-ignored-files): New function,
13842 split from ido-make-file-list-1.
13843 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13844 (ido-make-file-list-1): Use ido-delete-ignored-files.
13846 2013-06-12 Leo Liu <sdl.web@gmail.com>
13848 * progmodes/octave.el (inferior-octave-startup)
13849 (inferior-octave-completion-table)
13850 (inferior-octave-track-window-width-change)
13851 (octave-eldoc-function-signatures, octave-help)
13852 (octave-find-definition): Use single quoted strings.
13853 (inferior-octave-startup-args): Change default value.
13854 (inferior-octave-startup): Do not hard code "-i" and
13855 "--no-line-editing".
13856 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13857 (inferior-octave-directory-tracker): Use it.
13858 (octave-goto-function-definition): Robustify.
13859 (octave-help): Support highlighting operators in 'See also'.
13860 (octave-find-definition): Find subfunctions only in Octave mode.
13862 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13864 * help-fns.el (help-fns--compiler-macro): If the handler function is
13865 named, then put a link to it.
13866 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13867 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13868 (cl-typep): Use it.
13869 (cl-eval-when): Simplify debug spec.
13870 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13871 compiler-macro function instead of setting `compiler-macro-file'.
13873 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13875 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13876 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13878 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13879 Daniel Hackney <dan@haxney.org>
13881 First part of Daniel Hackney's patch to package.el.
13882 * emacs-lisp/package.el: Use defstruct.
13883 (package-desc): New, main struct.
13884 (package--bi-desc, package--ac-desc): New structs, used to describe the
13885 format in external files.
13886 (package-desc-vers): Replace with package-desc-version accessor.
13887 (package-desc-doc): Replace with package-desc-summary accessor.
13888 (package-activate-1): Remove `package' arg since the pkg-vec now
13890 (define-package): Use package-desc-from-define.
13891 (package-unpack-single): Change file-name arg to be a symbol.
13892 (package--add-to-archive-contents): Use package-desc-create and new
13893 accessor functions to package--ac-desc.
13894 (package-buffer-info, package-tar-file-info): Return a package-desc.
13895 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13896 arg to be a package-desc.
13897 (package-install-file): Adjust accordingly. Use \' to match EOS.
13898 (package--from-builtin): New function.
13899 (describe-package-1, package-menu--generate): Use it.
13900 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13901 (package-generate-autoloads): Idem and return the name of the file.
13902 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13903 Change pkg-info arg to be a package-desc.
13904 Use package-make-ac-desc.
13905 (package-upload-file): Use \' to match EOS.
13906 * finder.el (finder-compile-keywords): Use package-make-builtin.
13908 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13910 * vc/vc.el (vc-deduce-fileset): Change error message.
13911 (vc-read-backend): New function.
13912 (vc-next-action): Use it.
13914 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13916 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13917 (prolog-font-lock-keywords): Use regexp-opt instead.
13918 Don't manually highlight strings.
13919 (prolog-mode-variables): Simplify comment-start-skip.
13920 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13922 * emacs-lisp/generic.el (generic--normalise-comments)
13923 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13924 (generic-mode-set-comments): Use them.
13925 (generic-bracket-support): Use setq-local.
13926 (generic-make-keywords-list): Declare obsolete.
13928 2013-06-11 Glenn Morris <rgm@gnu.org>
13930 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13931 Prettify after setting font-lock-defaults. (Bug#14574)
13933 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13935 * replace.el (query-replace, occur-read-regexp-defaults-function)
13937 * subr.el (declare-function, number-sequence, local-set-key)
13938 (substitute-key-definition, locate-user-emacs-file)
13939 (with-silent-modifications, split-string, eval-after-load):
13940 Fix typos, remove unneeded backslashes and reflow some docstrings.
13942 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13944 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13945 default for Elisp files.
13947 2013-06-11 Glenn Morris <rgm@gnu.org>
13949 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13950 although define-derived-mode was doing this anyway. (Bug#14583)
13952 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13954 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13955 Fix make-variable-buffer-local call to refer to the correct variable.
13957 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13959 * eshell/em-term.el (eshell-visual-commands)
13960 (eshell-visual-subcommands, eshell-visual-options):
13961 Add summary line to docstrings. Add cross-references.
13963 2013-06-10 Glenn Morris <rgm@gnu.org>
13965 * epa.el (epa-read-file-name): New function. (Bug#14510)
13966 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13968 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13970 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13971 output redirection to be ignored with visual commands.
13973 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13975 * eshell/em-term.el (eshell-visual-command-p): New function.
13976 (eshell-term-initialize): Move long lambda to separate function
13977 eshell-visual-command-p.
13978 * eshell/em-dirs.el (eshell-dirs-initialize):
13979 * eshell/em-script.el (eshell-script-initialize):
13980 Add missing #' to lambda.
13982 2013-06-08 Leo Liu <sdl.web@gmail.com>
13984 * progmodes/octave.el (octave-add-log-current-defun): New function.
13985 (octave-mode): Set add-log-current-defun-function.
13986 (octave-goto-function-definition): Do not move point if not found.
13987 (octave-find-definition): Enhance to try subfunctions first.
13989 2013-06-08 Glenn Morris <rgm@gnu.org>
13991 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13992 (byte-compile-backward-char, byte-compile-backward-word):
13993 Improve previous change, to handle non-explicit nil.
13995 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13997 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13998 (smie--opener/closer-at-point): New function.
13999 (smie--matching-block-data): Use it. Don't match from right after an
14000 opener or right before a closer. Obey smie-blink-matching-inners.
14001 Don't signal a mismatch for repeated inners like "switch..case..case".
14003 2013-06-07 Leo Liu <sdl.web@gmail.com>
14005 * progmodes/octave.el (octave-mode): Set comment-use-global-state
14007 (octave-function-header-regexp): Fix. (Bug#14570)
14008 (octave-help-mode-finish-hook, octave-help-mode-finish):
14009 Remove. Just use temp-buffer-show-hook.
14011 * newcomment.el (comment-search-backward): Revert last change.
14014 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14016 2013-06-07 Eli Zaretskii <eliz@gnu.org>
14018 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14019 through xargs, to avoid failure due to MS-Windows limitations on
14020 command-line length.
14022 2013-06-06 Glenn Morris <rgm@gnu.org>
14024 * font-lock.el (lisp-font-lock-keywords-2):
14025 Treat user-error like error.
14027 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14028 (byte-compile-backward-char, byte-compile-backward-word):
14029 Handle explicit nil arguments. (Bug#14565)
14031 2013-06-05 Alan Mackenzie <acm@muc.de>
14033 * isearch.el (isearch-allow-prefix): New user option.
14034 (isearch-other-meta-char): Don't exit isearch when a prefix
14035 argument is typed whilst `isearch-allow-prefix' is non-nil.
14038 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14040 * autorevert.el (auto-revert-notify-handler): Use memq.
14041 Hide assertion failure.
14043 * skeleton.el: Use cl-lib.
14044 (skeleton-further-elements): Use defvar-local.
14045 (skeleton-insert): Use cl-progv.
14047 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14049 * progmodes/prog-mode.el (prog-prettify-symbols)
14050 (prog-prettify-install): Update docstrings.
14052 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14054 * simple.el: Move all the prog-mode code to prog-mode.el.
14055 * progmodes/prog-mode.el: New file.
14056 * loadup.el: Add prog-mode.el.
14058 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14060 * simple.el (prog-prettify-symbols): Add version.
14061 (prog-prettify-install): Add convenience function to prettify symbols.
14063 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14064 (perl--augmented-font-lock-keywords-1)
14065 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14066 variables and use it.
14068 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14069 (cfengine3-mode): Remove unneeded variable and use it.
14071 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14072 (lisp--augmented-font-lock-keywords-1)
14073 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14074 Remove unneeded variables and use it.
14076 2013-06-05 João Távora <joaotavora@gmail.com>
14078 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14079 to point when opening the connection. (Bug#14380)
14081 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14083 * subr.el (load-history-regexp, load-history-filename-element)
14084 (eval-after-load, after-load-functions, do-after-load-evaluation)
14085 (eval-next-after-load, display-delayed-warnings)
14086 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14087 definition of save-match-data.
14088 (overriding-local-map): Remove accidental obsolescence declaration.
14090 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14092 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14094 Generalize symbol prettify support to prog-mode and implement it
14095 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14096 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14097 (prog--prettify-font-lock-compose-symbol)
14098 (prog-prettify-font-lock-symbols-keywords): New variables and
14099 functions to support symbol prettification.
14100 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14101 (lisp--augmented-font-lock-keywords-1)
14102 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14103 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14104 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14105 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14106 Implement prettify of -> => :: strings.
14107 * progmodes/perl-mode.el (perl-prettify-symbols)
14108 (perl--font-lock-compose-symbol)
14109 (perl--font-lock-symbols-keywords): Move to prog-mode.
14110 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14111 (perl-font-lock-keywords-1)
14112 (perl-font-lock-keywords-2): Remove explicit prettify support.
14113 (perl--augmented-font-lock-keywords)
14114 (perl--augmented-font-lock-keywords-1)
14115 (perl--augmented-font-lock-keywords-2, perl-mode):
14116 Implement prettify support.
14118 2013-06-05 Leo Liu <sdl.web@gmail.com>
14120 Re-implement SMIE matching block highlight using
14121 show-paren-data-function. (Bug#14395)
14122 * emacs-lisp/smie.el (smie-matching-block-highlight)
14123 (smie--highlight-matching-block-overlay)
14124 (smie--highlight-matching-block-lastpos)
14125 (smie-highlight-matching-block)
14126 (smie-highlight-matching-block-mode): Remove.
14127 (smie--matching-block-data-cache): New variable.
14128 (smie--matching-block-data): New function.
14129 (smie-setup): Use smie--matching-block-data for
14130 show-paren-data-function.
14132 * progmodes/octave.el (octave-mode-menu): Fix.
14133 (octave-find-definition): Skip garbage lines.
14135 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14137 Fix compilation error with simultaneous dynamic+lexical scoping.
14138 Add warning when a defvar appears after the first let-binding.
14139 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14140 (byte-compile-close-variables): Initialize it.
14141 (byte-compile--declare-var): New function.
14142 (byte-compile-file-form-defvar)
14143 (byte-compile-file-form-define-abbrev-table)
14144 (byte-compile-file-form-custom-declare-variable): Use it.
14145 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14146 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14147 (byte-compile-bind): Handle dynamic bindings that shadow
14149 (byte-compile-unbind): Make arg non-optional.
14150 (byte-compile-let): Simplify.
14151 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14152 (cconv--analyse-function, cconv-analyse-form): Populate it.
14153 Protect byte-compile-bound-variables to limit the scope of defvars.
14154 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14155 Remove unneeded rule for `declare'.
14157 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14158 so as to avoid depending on cl-adjoin at run-time.
14159 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14161 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14162 (macroexp--warn-and-return): Use it.
14164 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14166 * subr.el: Convert to lexical binding.
14167 (overriding-local-map): Make obsolete.
14168 (add-to-list): Doc fix. Add compiler macro.
14169 (read-key): Swap values of local maps.
14171 2013-06-05 Leo Liu <sdl.web@gmail.com>
14173 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14175 2013-06-04 Leo Liu <sdl.web@gmail.com>
14177 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14178 (compilation-auto-jump): Suppress the "Mark set" message to give
14179 way to exit message.
14181 2013-06-04 Alan Mackenzie <acm@muc.de>
14183 Remove faulty optimisation from indentation calculation.
14184 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14185 search limit based on 2000 characters back from indent-point.
14187 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14189 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14191 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14193 * emacs-lisp/lisp.el: Use lexical-binding.
14194 (lisp--local-variables-1, lisp--local-variables): New functions.
14195 (lisp--local-variables-completion-table): New var.
14196 (lisp-completion-at-point): Use it complete let-bound vars.
14198 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14199 eagerly (bug#14422).
14201 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14203 * autorevert.el (auto-revert-notify-enabled)
14204 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14205 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14206 (auto-revert-notify-handler): Handle also gfilenotify.
14208 * subr.el (file-notify-handle-event): New defun. Replacing ...
14209 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14212 2013-06-03 Juri Linkov <juri@jurta.org>
14214 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14215 `M-s h .'. (Bug#14427)
14217 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14218 command `hi-lock-face-symbol-at-point'.
14219 (hi-lock-face-symbol-at-point): New command.
14220 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14221 (hi-lock-menu): Add `highlight-symbol-at-point'.
14222 (hi-lock-mode): Doc fix.
14224 * isearch.el (isearch-forward-symbol-at-point): New command.
14225 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14226 (isearch-highlight-regexp): Add a regexp which matches
14227 words/symbols for word/symbol mode.
14229 * subr.el (find-tag-default-bounds): New function with the body
14230 mostly moved from `find-tag-default'.
14231 (find-tag-default): Move most code to `find-tag-default-bounds',
14232 call it and apply `buffer-substring-no-properties' afterwards.
14234 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14236 * eshell/em-term.el (eshell-term-initialize):
14237 Use `cl-intersection' rather than `intersection'.
14239 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14241 * vc/log-view.el: Doc fix.
14242 (log-view-mode-map): Copy keymap from `special-mode-map'.
14244 2013-06-02 Eric Ludlam <zappo@gnu.org>
14246 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14247 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14248 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14249 (eieio-unbound, eieio-default-superclass)
14250 (eieio--define-field-accessors, method-static, method-before)
14251 (method-primary, method-after, method-num-lists)
14252 (method-generic-before, method-generic-primary)
14253 (method-generic-after, method-num-slots)
14254 (eieio-specialized-key-to-generic-key)
14255 (eieio--check-type, class-v, class-p)
14256 (eieio-class-name, define-obsolete-function-alias)
14257 (eieio-class-parents-fast, eieio-class-children-fast)
14258 (same-class-fast-p, class-constructor, generic-p)
14259 (generic-primary-only-p, generic-primary-only-one-p)
14260 (class-option-assoc, class-option, eieio-object-p)
14261 (class-abstract-p, class-method-invocation-order)
14262 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14263 (eieio-class-un-autoload, eieio-defclass)
14264 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14265 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14266 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14267 (eieio-defgeneric-reset-generic-form)
14268 (eieio-defgeneric-form-primary-only)
14269 (eieio-defgeneric-reset-generic-form-primary-only)
14270 (eieio-defgeneric-form-primary-only-one)
14271 (eieio-defgeneric-reset-generic-form-primary-only-one)
14272 (eieio-unbind-method-implementations)
14273 (eieio--defmethod, eieio--typep)
14274 (eieio-perform-slot-validation, eieio-validate-slot-value)
14275 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14276 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14277 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14278 (eieio-slot-name-index, eieio-class-slot-name-index)
14279 (eieio-set-defaults, eieio-initarg-to-attribute)
14280 (eieio-attribute-to-initarg, eieio-c3-candidate)
14281 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14282 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14283 (eieio-class-precedence-list, eieio-generic-call-methodname)
14284 (eieio-generic-call-arglst, eieio-generic-call-key)
14285 (eieio-generic-call-next-method-list)
14286 (eieio-pre-method-execution-functions, eieio-generic-call)
14287 (eieio-generic-call-primary-only, eieiomt-method-list)
14288 (eieiomt-optimizing-obarray, eieiomt-install)
14289 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14290 (eieio-generic-form, eieio-defmethod, make-obsolete)
14291 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14292 (defclass): Remove `eval-and-compile' from macro.
14293 (call-next-method, shared-initialize): Instead of using
14294 `scoped-class' variable, use new eieio--scoped-class, and
14295 eieio--with-scoped-class.
14296 (initialize-instance): Rename local variable 'scoped-class' to
14297 'this-class' to remove ambiguitity from old global.
14299 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14301 (eieio--scoped-class-stack): New variable.
14302 (eieio--scoped-class): New fcn.
14303 (eieio--with-scoped-class): New scoping macro.
14304 (eieio-defclass): Use pushnew instead of add-to-list.
14305 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14306 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14307 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14308 `scoped-class' variable, use new eieio--scoped-class, and
14309 eieio--with-scoped-class.
14311 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14313 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14315 * eshell/esh-ext.el (eshell-external-command): Pass args to
14316 `eshell-find-interpreter'.
14317 (eshell-find-interpreter): Add new second parameter ARGS.
14319 * eshell/em-script.el (eshell-script-initialize): Add second arg
14320 to the function added as MATCH to `eshell-interpreter-alist'.
14322 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14323 the function added as MATCH to `eshell-interpreter-alist'.
14325 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14326 (eshell-visual-options): New defcustom.
14327 (eshell-escape-control-x): Adapt docstring.
14328 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14329 `eshell-visual-options' in addition to `eshell-visual-commands'.
14330 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14332 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14334 * progmodes/python.el (python-indent-block-enders): Add break,
14335 continue and raise keywords.
14337 2013-06-01 Glenn Morris <rgm@gnu.org>
14339 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14341 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14342 * progmodes/cc-cmds.el (delete-forward-p):
14343 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14344 * progmodes/cc-engine.el (buffer-syntactic-context):
14345 * progmodes/cc-fonts.el (face-property-instance):
14346 * progmodes/cc-mode.el (set-keymap-parents):
14347 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14348 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14349 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14350 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14351 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14353 * progmodes/cc-vars.el (other): Emacs has this widget since
14354 at least 21.1, so don't (re)define it.
14356 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14357 Replace the obsolete alias pcomplete-arg-quote-list.
14359 2013-06-01 Leo Liu <sdl.web@gmail.com>
14361 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14362 punctuation syntax.
14363 (inferior-octave-minimal-columns)
14364 (inferior-octave-last-column-width): New variables.
14365 (inferior-octave-track-window-width-change): New function.
14366 (inferior-octave-mode): Adjust column width so that Octave output,
14367 for example from 'ls', can fit into the window nicely.
14369 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14371 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14372 Highlight expansions inside regexp literals.
14374 2013-05-31 Glenn Morris <rgm@gnu.org>
14376 * obsolete/sym-comp.el (symbol-complete):
14377 Replace obsolete completion-annotate-function.
14379 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14381 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14383 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14384 New function, checks if point is inside a literal that allows
14385 expression expansion.
14386 (ruby-syntax-propertize-expansion): Use it.
14387 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14390 2013-05-30 Juri Linkov <juri@jurta.org>
14392 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14394 (isearch-invisible): New variable.
14395 (isearch-forward): Doc fix.
14396 (isearch-mode): Set `isearch-invisible'
14397 to the value of `search-invisible'.
14398 (isearch-toggle-case-fold): Doc fix.
14399 (isearch-toggle-invisible): New command.
14400 (isearch-query-replace): Let-bind `search-invisible'
14401 to the value of `isearch-invisible'.
14402 (isearch-search): Use `isearch-invisible' instead of
14403 `search-invisible'. Let-bind `search-invisible'
14404 to the value of `isearch-invisible'. (Bug#11378)
14406 2013-05-30 Juri Linkov <juri@jurta.org>
14408 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14409 call when `query-flag' is nil and `search-invisible' is non-nil.
14412 2013-05-30 Glenn Morris <rgm@gnu.org>
14414 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14416 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14417 (cc-require): Suppress spurious "noruntime" warnings.
14418 (cc-require-when-compile): Use fboundp, for sake of compiler.
14420 * progmodes/cc-mode.el: Move load of cc-vars before that of
14421 cc-langs (which in turn loads cc-vars), to quieten compiler.
14423 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14425 * paren.el: Simplify the code.
14426 (show-paren-mode): Always start the timer.
14427 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14428 (show-paren--overlay, show-paren--overlay-1): Rename from
14429 show-paren-overlay and show-paren-overlay-1, and initialize to an
14430 overlay rather than to nil.
14431 (show-paren-function): Misc cleanup and simplifications.
14433 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14435 * paren.el (show-paren-data-function): New hook.
14436 (show-paren--default): New function, extracted from show-paren-function.
14437 (show-paren-function): Use show-paren-data-function.
14439 2013-05-30 Glenn Morris <rgm@gnu.org>
14441 * ielm.el (ielm-map, ielm-complete-symbol):
14442 Use completion-at-point rather than obsolete functions.
14443 (inferior-emacs-lisp-mode): Doc fix.
14444 Set completion-at-point-functions, rather than
14445 comint-dynamic-complete-functions.
14447 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14448 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14449 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14451 * image.el (image-animated-p): Tweak definition.
14453 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14454 (rlogin-process-connection-type): Tweak default. Add set-after.
14455 (rlogin-host): Doc fix.
14456 (rlogin): Tweak prompt.
14457 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14459 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14460 * progmodes/tcl.el (inferior-tcl-mode-map):
14461 Use completion-at-point rather than obsolete alias.
14463 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14465 * minibuffer.el (read-file-name-completion-ignore-case):
14466 Move before completion--in-region, for eager macro expansion.
14468 2013-05-29 Juri Linkov <juri@jurta.org>
14470 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14471 for total count of matching lines. Add `global-matches' for total
14472 count of matches. Rename `matches' to `lines' for count of
14473 matching lines. Add `matches' for count of matches.
14474 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14475 to `prev-line' for line number of prev match endpt.
14476 Increment `matches' for every match. Print the number of
14477 matching lines in the header.
14478 (occur-context-lines): Rename `lines' to `curr-line'.
14479 Rename `prev-lines' to `prev-line'. (Bug#14017)
14481 2013-05-29 Juri Linkov <juri@jurta.org>
14483 * replace.el (perform-replace): Add `skip-read-only-count',
14484 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14485 Increment them for corresponding conditions and report the number
14486 of skipped occurrences in the final message. (Bug#11746)
14487 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14488 (replace-string, replace-regexp): Doc fix.
14490 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14492 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14494 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14495 prog-mode-map (bug#14504).
14497 2013-05-29 Leo Liu <sdl.web@gmail.com>
14499 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14500 (octave-help): Small simplification.
14502 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14503 off the highlight first.
14505 2013-05-29 Glenn Morris <rgm@gnu.org>
14507 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14508 Handle idlwave-last-system-routine-info-cons-cell being nil.
14510 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14511 (idlwave-write-paths): Simplify via with-temp-buffer.
14513 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14514 * emulation/cua-rect.el: Also load cua-base at run time.
14516 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14517 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14518 (cperl-imenu-on-info): Require imenu.
14520 2013-05-28 Alan Mackenzie <acm@muc.de>
14522 Handle "capitalised keywords" correctly.
14523 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14525 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14527 * eshell/em-unix.el: Add -r option to cp.
14529 2013-05-28 Glenn Morris <rgm@gnu.org>
14531 * vc/vc-arch.el (vc-exec-after): Declare.
14532 (vc-switches): Autoload.
14533 * vc/vc-bzr.el: No need to require vc when compiling.
14534 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14535 (vc-resynch-buffer, vc-dir-refresh): Declare.
14536 (vc-setup-buffer, vc-switches): Autoload.
14537 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14538 (vc-resynch-buffer): Declare.
14539 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14540 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14541 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14542 (grep-read-regexp, grep-read-files, grep-expand-template)
14543 (vc-dir-refresh): Declare.
14544 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14545 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14546 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14547 * vc/vc-mtn.el (vc-exec-after): Declare.
14548 (vc-switches): Autoload.
14549 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14550 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14551 (vc-file-tree-walk): Declare.
14552 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14553 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14554 (vc-tag-precondition, vc-rename-master): Autoload.
14555 * vc/vc-svn.el (vc-exec-after): Declare.
14556 (vc-switches, vc-setup-buffer): Autoload.
14557 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14559 (vc-resynch-buffer): Declare.
14561 * obsolete/fast-lock.el (byte-compile-warnings):
14562 Don't warn about obsolete features in this obsolete file.
14564 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14565 Move definition before use.
14567 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14568 (dun-unix-verbs): Remove dun-zippy.
14569 (dun-zippy): Remove function.
14571 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14573 2013-05-27 Juri Linkov <juri@jurta.org>
14575 * replace.el (replace-search): New function with code moved out
14576 from `perform-replace'.
14577 (replace-highlight, replace-dehighlight): Move function definitions
14578 up closer to `replace-search'. (Bug#11746)
14580 2013-05-27 Juri Linkov <juri@jurta.org>
14582 * replace.el (perform-replace): Ignore invisible matches.
14583 In addition to checking `query-replace-skip-read-only', also
14584 filter out matches by calling `run-hook-with-args-until-failure'
14585 on `isearch-filter-predicates', and also check `search-invisible'
14586 for t or call `isearch-range-invisible'.
14587 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14589 2013-05-27 Juri Linkov <juri@jurta.org>
14591 * isearch.el (isearch-filter-predicates): Rename from
14592 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14593 (isearch-message-prefix): Display text from the property
14594 `isearch-message-prefix' of the currently active filters.
14595 (isearch-search): Don't compare `isearch-filter-predicate' with
14596 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14597 on `isearch-filter-predicates'. Also check `search-invisible' for t
14598 or call `isearch-range-invisible'.
14599 (isearch-filter-visible): Make obsolete.
14600 (isearch-lazy-highlight-search):
14601 Call `run-hook-with-args-until-failure' on
14602 `isearch-filter-predicates' and use `isearch-range-invisible'.
14604 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14605 `isearch-filter-predicates' instead of `funcall'ing
14606 `isearch-filter-predicate'.
14607 (Info-mode): Set `Info-isearch-filter' to
14608 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14610 * dired-aux.el (dired-isearch-filter-predicate-orig):
14612 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14613 (dired-isearch-filenames-end): Add and remove
14614 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14615 instead of changing the value of `isearch-filter-predicate'.
14616 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14617 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14618 Put property `isearch-message-prefix' to "filename " on
14619 `dired-isearch-filter-filenames'.
14621 * wdired.el (wdired-change-to-wdired-mode):
14622 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14623 locally instead of changing `isearch-filter-predicate'.
14624 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14626 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14628 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14629 return the commit hash (Bug#14459). Also set the
14630 `vc-git-detached' property.
14631 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14632 (vc-git-mode-line-string): Use the same help-echo format whether
14633 in detached mode or not, because we know the actual revision now.
14634 When in detached mode, shorten the revision to 7 chars.
14636 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14638 * emacs-lisp/easy-mmode.el (define-minor-mode):
14639 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14640 mode hook and provide a docstring.
14642 2013-05-27 Alan Mackenzie <acm@muc.de>
14644 Remove spurious syntax-table text properties inserted by C-y.
14645 * progmodes/cc-mode.el (c-after-change): Also clear hard
14646 syntax-table property with value nil.
14648 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14650 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14651 when reading the events; the buffer layout shall not be changed.
14653 2013-05-27 Leo Liu <sdl.web@gmail.com>
14655 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14657 (inferior-octave-directory-tracker): Automatically re-sync
14659 (octave-help): Improve handling of 'See also'.
14661 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14663 * doc-view.el: Minor naming convention tweaks.
14664 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14666 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14667 even if there's no `display' property yet (bug#14435).
14669 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14671 * subr.el (unmsys--file-name): Rename from reveal-filename.
14673 * Makefile.in (custom-deps, finder-data, autoloads)
14674 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14675 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14676 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14678 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14680 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14681 error-completion on the first 2 args of condition-case (bug#14446).
14684 2013-05-25 Leo Liu <sdl.web@gmail.com>
14686 * comint.el (comint-previous-matching-input): Do not flood the
14687 *Messages* buffer with trivial messages.
14689 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14691 * progmodes/flymake.el (flymake-nop): Don't return a string.
14692 (flymake-set-at): Fix typo.
14694 * simple.el (read--expression): New function, extracted from
14695 eval-expression. Set completion-at-point-functions (bug#14465).
14696 (eval-expression, eval-minibuffer): Use it.
14698 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14700 * progmodes/flymake.el (flymake-save-buffer-in-file)
14701 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14702 (flymake-selected-frame, flymake-log, flymake-ins-after)
14703 (flymake-set-at, flymake-get-buildfile-from-cache)
14704 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14705 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14706 Refine the doc string.
14707 (flymake-get-file-name-mode-and-masks): Reformat.
14708 (flymake-get-real-file-name-function): Fix a minor bug.
14710 2013-05-24 Juri Linkov <juri@jurta.org>
14712 * progmodes/grep.el (grep-mode-font-lock-keywords):
14713 Support =linenumber= format used by git-grep for lines with
14714 function names. (Bug#13549)
14716 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14718 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14719 0 after a semi-colon; it works better for smie-auto-fill.
14720 (octave--indent-new-comment-line): New function.
14721 (octave-indent-new-comment-line): Use it (indirectly).
14722 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14723 modify comment-line-break-function.
14725 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14726 (smie-setup): Use add-function to set it.
14728 2013-05-24 Sam Steingold <sds@gnu.org>
14730 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14731 argument (before the `interactive' argument).
14733 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14735 * image-mode.el (image-mode-winprops): Add winprops to
14736 image-mode-winprops-alist before running
14737 image-mode-new-window-functions.
14738 * doc-view.el (doc-view-new-window-function): Don't delay
14739 doc-view-goto-page via timers (bug#14435).
14741 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14743 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14744 (doc-view-desktop-save-buffer): New function.
14745 (doc-view-restore-desktop-buffer): New function.
14746 (desktop-buffer-mode-handlers):
14747 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14749 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14750 `desktop-save-buffer' function.
14752 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14754 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14755 (tramp-gvfs-file-name-handler): Raise a user error when
14756 `tramp-gvfs-enabled' is nil.
14757 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14758 Do not raise a user error when loading package. (Bug#14447)
14760 * net/xesam.el: Move to obsolete/.
14762 2013-05-24 Glenn Morris <rgm@gnu.org>
14764 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14766 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14768 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14769 (Info-find-node, Man-getpage-in-background): Declare.
14771 * mail/unrmail.el (unrmail):
14772 Replace obsolete detect-coding-with-priority.
14774 * net/socks.el (socks-split-string): Use this rather than split-string.
14775 (socks-nslookup-host): Update for above change.
14776 (dynamic-choice, s5-dynamic-choice-match)
14777 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14778 Comment out unused code.
14780 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14781 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14782 (gud-tooltip-echo-area): Make obsolete.
14783 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14785 * progmodes/js.el (js--optimize-arglist): Declare.
14787 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14789 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14790 (ediff-window-C): Declare.
14792 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14793 Tweak requires to silence compiler.
14795 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14796 (he-search-string, he-tried-table, he-expand-list)
14797 (he-init-string, he-string-member, he-substitute-string)
14798 (he-reset-string): Declare.
14800 * obsolete/options.el (list-options): Use custom-variable-p,
14801 rather than obsolete alias.
14803 2013-05-23 Sam Steingold <sds@gnu.org>
14805 * simple.el (shell-command-on-region): Pass the `replace' argument
14806 down to `call-process-region' to comply with the doc as reported on
14807 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14809 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14811 * emacs-lisp/smie.el (smie-indent-forward-token)
14812 (smie-indent-backward-token): Handle string tokens (bug#14381).
14814 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14816 * ielm.el (ielm-menu): New menu.
14817 (inferior-emacs-lisp-mode): Set comment-start.
14819 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14821 * textmodes/reftex.el (reftex-ref-style-toggle):
14822 Fix deactivate action.
14824 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14825 Add cleveref macros.
14827 * textmodes/reftex-parse.el
14828 (reftex-locate-bibliography-files): Accept options for
14829 bibliography commands.
14830 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14831 Add addbibresource. Basic Biblatex support.
14833 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14835 * net/tramp-gvfs.el (top):
14836 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14837 when loading package. (Bug#14447)
14839 2013-05-23 Glenn Morris <rgm@gnu.org>
14841 * progmodes/js.el: No need to load comint when compiling.
14842 (ring-insert, comint-send-string, comint-send-input)
14843 (comint-last-input-end, ido-chop): Declare.
14845 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14846 * vc/ediff-mult.el: Adjust requires.
14847 (ediff-directories-internal, ediff-directory-revisions-internal)
14848 (ediff-patch-file-internal): Declare.
14849 * vc/ediff-ptch.el: Adjust requires.
14850 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14851 (ediff-find-file): Autoload.
14852 * vc/ediff-util.el: No need to load ediff when compiling.
14853 (ediff-regions-internal): Declare.
14854 * vc/ediff-wind.el: Adjust requires.
14855 (ediff-compute-toolbar-width): Define when compiling.
14856 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14857 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14858 (dired-get-filename, dired-get-marked-files)
14859 (ediff-last-dir-patch, ediff-patch-default-directory)
14860 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14861 (ediff-patch-buffer-internal): Declare.
14863 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14864 (ispell-process, ispell-buffer-local-words, lm-summary)
14865 (lm-section-start, lm-section-end): Declare.
14866 (checkdoc-ispell-init): Simplify.
14868 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14869 (he-string-member, he-reset-string, he-substitute-string): Declare.
14871 * eshell/em-ls.el: Adjust requires.
14872 (eshell-glob-regexp): Declare.
14873 * eshell/em-tramp.el: Adjust requires.
14874 (eshell-parse-command): Autoload.
14875 * eshell/em-xtra.el: Adjust requires.
14876 (eshell-parse-command): Autoload.
14877 * eshell/esh-ext.el: Adjust requires.
14878 (eshell-parse-command, eshell-close-handles): Autoload.
14879 * eshell/esh-io.el: Adjust requires.
14880 (eshell-output-filter): Autoload.
14881 * eshell/esh-util.el: No need to load tramp when compiling.
14882 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14884 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14885 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14886 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14887 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14888 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14889 * eshell/esh-opt.el, eshell/esh-proc.el:
14890 * eshell/esh-var.el: Adjust requires.
14891 * eshell/eshell.el: Do not require esh-util twice.
14892 (eshell-add-input-to-history): Declare.
14893 (eshell-command): Check history module is active before using it.
14895 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14897 2013-05-22 Leo Liu <sdl.web@gmail.com>
14899 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14901 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14903 * autorevert.el (auto-revert-notify-add-watch)
14904 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14905 it indicates changes in file modification time.
14907 2013-05-22 Glenn Morris <rgm@gnu.org>
14909 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14910 Always delete the autoloaded function from the noruntime and
14911 unresolved functions lists.
14913 * allout.el: No need to load epa, epg, overlay when compiling.
14914 (epg-context-set-passphrase-callback, epg-list-keys)
14915 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14916 (epg-key-user-id-list): Declare.
14918 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14919 (viper-set-parsing-style-toggling-macro)
14920 (viper-set-emacs-state-searchstyle-macros):
14921 Use called-interactively-p on Emacs.
14922 (viper-looking-back): Make it an obsolete alias. Update callers.
14923 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14924 Use looking-back rather than viper-looking-back.
14925 (viper-tmp-insert-at-eob, viper-enlarge-region)
14926 (viper-read-string-with-history, viper-register-to-point)
14927 (viper-append-to-register, viper-change-state-to-vi)
14928 (viper-backward-char-carefully, viper-forward-char-carefully)
14929 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14930 (viper-change-state-to-emacs): Declare.
14931 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14932 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14933 * emulation/viper-mous.el: Do not load viper-cmd.
14934 (viper-backward-char-carefully, viper-forward-char-carefully)
14935 (viper-forward-word, viper-adjust-window): Declare.
14937 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14939 * progmodes/idlw-help.el (idlwave-help-fontify):
14940 Use called-interactively-p.
14942 * term/w32console.el (w32-get-console-codepage)
14943 (w32-get-console-output-codepage): Declare.
14945 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14946 Remove unnecessary declarations.
14947 (dframe-message): Doc fix.
14949 * info.el (dframe-select-attached-frame, dframe-current-frame):
14952 * speedbar.el (speedbar-message): Make it an obsolete alias.
14953 Update all callers.
14954 (speedbar-with-attached-buffer)
14955 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14956 (speedbar-with-writable): Use backquote.
14957 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14958 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14959 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14960 rather than speedbar- aliases.
14961 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14962 (speedbar-make-specialized-keymap, speedbar-insert-button)
14963 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14964 (speedbar-do-function-pointer): Declare.
14965 (rmail-speedbar-button, rmail-speedbar-find-file)
14966 (rmail-speedbar-move-message):
14967 Use dframe-with-attached-buffer rather than speedbar- alias.
14968 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14969 (dframe-message, speedbar-make-specialized-keymap)
14970 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14971 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14972 (speedbar-insert-button, dframe-select-attached-frame)
14973 (dframe-maybee-jump-to-attached-frame)
14974 (speedbar-change-initial-expansion-list)
14975 (speedbar-previously-used-expansion-list-name): Declare.
14976 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14977 Use dframe-message, dframe-with-attached-buffer rather than
14979 (gud-sentinel): Silence compiler.
14980 * progmodes/vhdl-mode.el (speedbar-refresh)
14981 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14982 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14983 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14984 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14985 (speedbar-file-lists, speedbar-make-tag-line)
14986 (speedbar-line-directory, speedbar-goto-this-file)
14987 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14988 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14989 (speedbar-make-button, speedbar-reset-scanners)
14990 (speedbar-files-item-info, speedbar-line-text)
14991 (speedbar-find-file-in-frame, speedbar-set-timer)
14992 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14993 (speedbar-with-writable): Do not (re)define it.
14994 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14995 rather than speedbar- alias.
14997 2013-05-21 Leo Liu <sdl.web@gmail.com>
14999 * progmodes/octave.el (octave-mode-menu): Update and re-organize
15001 (octave-mode): Tweak fill-nobreak-predicate.
15002 (inferior-octave-startup): Check process to avoid infinite loop.
15003 (inferior-octave): Pop to buffer first to show abornmal process
15006 2013-05-21 Glenn Morris <rgm@gnu.org>
15008 * printing.el (pr-menu-bar): Define when compiling.
15010 2013-05-21 Leo Liu <sdl.web@gmail.com>
15012 * progmodes/octave.el (octave-auto-fill): Remove.
15013 (octave-indent-new-comment-line): Improve.
15014 (octave-mode): Use auto fill mode through
15015 comment-line-break-function and fill-nobreak-predicate.
15016 (octave-goto-function-definition): Support DEFUN_DLD.
15017 (octave-beginning-of-defun): Small tweak.
15018 (octave-help): Show parent directory.
15020 2013-05-21 Glenn Morris <rgm@gnu.org>
15022 * files.el (dired-unmark):
15023 * progmodes/gud.el (gdb-input): Update declarations.
15025 * calculator.el (electric, ehelp): No need to load when compiling.
15026 (Electric-command-loop, electric-describe-mode): Declare.
15028 * doc-view.el (doc-view-current-converter-processes): Move before use.
15030 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15031 Move MODE-set-explicitly definition before use.
15033 * international/mule-diag.el (mule-diag):
15034 Don't use obsolete window-system-version.
15036 * mail/feedmail.el (smtpmail): No need to load when compiling.
15037 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15039 * mail/mail-utils.el (rfc822): No need to load when compiling.
15040 (rfc822-addresses): Autoload it.
15041 (mail-strip-quoted-names): Trivial simplification.
15043 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15044 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15046 * net/snmp-mode.el (tempo): Don't duplicate requires.
15048 * progmodes/prolog.el (info): No need to load when compiling.
15049 (comint): Require before shell requires it.
15050 (Info-goto-node): Autoload it.
15051 (Info-follow-nearest-node): Declare.
15052 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15054 * textmodes/artist.el (picture-mode-exit): Declare.
15056 * textmodes/reftex-parse.el (reftex-parse-from-file):
15057 Trivial rewrite so the compiler can parse it better.
15059 2013-05-20 Leo Liu <sdl.web@gmail.com>
15061 * progmodes/octave.el (octave-help-mode-map)
15062 (octave-help-mode-finish-hook): New variables.
15063 (octave-help-mode, octave-help-mode-finish): New functions.
15064 (octave-help): Use octave-help-mode.
15066 2013-05-20 Glenn Morris <rgm@gnu.org>
15068 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15070 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15072 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15073 start at point, so that expansion starting right after opening
15074 slash in a regexp is recognized.
15075 (ruby-syntax-before-regexp-re): New defvar, extracted from
15076 ruby-syntax-propertize-function. Since the value of this regexp
15077 is looked up at runtime now, we should be able to turn
15078 `ruby-syntax-methods-before-regexp' into a defcustom later.
15079 (ruby-syntax-propertize-function): Split regexp matching into two
15080 parts, for opening and closing slashes. That allows us to skip
15081 over string interpolations and support multiline regexps.
15082 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15083 for them, which calls `ruby-syntax-propertize-expansion'.
15084 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15085 call to `ruby-syntax-propertize-function'.
15086 (ruby-syntax-propertize-expansion): Extracted from
15087 `ruby-syntax-propertize-expansions'. Handles one expansion.
15088 (ruby-syntax-propertize-percent-literal): Leave point right after
15089 the percent symbol, so that the expression expansion rule can
15090 propertize the contents.
15091 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15093 (ruby-syntax-propertize-expansions): Remove.
15095 2013-05-18 Juri Linkov <juri@jurta.org>
15097 * man.el (Man-default-man-entry): Remove `-' from the end
15098 of the default value. (Bug#14400)
15100 2013-05-18 Glenn Morris <rgm@gnu.org>
15102 * comint.el (comint-password-prompt-regexp):
15103 Allow "password for XXX" where XXX contains colons (eg https://...).
15105 2013-05-18 Leo Liu <sdl.web@gmail.com>
15107 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15108 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15109 (octave-source-directories): Don't check process.
15110 (octave-source-directories, octave-find-definition): Doc fix.
15112 2013-05-18 Glenn Morris <rgm@gnu.org>
15114 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15115 Remove backspace/delete bindings. (Bug#14392)
15117 * cus-dep.el (custom-make-dependencies): Sort the output.
15118 (custom-versions-load-alist): Convert comment to doc.
15120 2013-05-17 Leo Liu <sdl.web@gmail.com>
15122 * newcomment.el (comment-search-backward): Stricter in finding
15123 comment start. (Bug#14303)
15125 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15126 (octave-comment-start-skip): Properly anchored.
15128 2013-05-17 Leo Liu <sdl.web@gmail.com>
15130 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15131 Clean up when turned off. (Bug#14395)
15132 (smie--highlight-matching-block-overlay): No longer buffer-local.
15133 (smie-highlight-matching-block): Adjust.
15135 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15137 Doc string fix for "nanoseconds" (Bug#14406).
15138 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15139 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15141 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15143 * calc/calc-units.el (math-extract-units): Preserve powers
15146 2013-05-17 Leo Liu <sdl.web@gmail.com>
15148 * subr.el (delete-consecutive-dups): New function.
15149 * ido.el (ido-set-matches-1): Use it.
15150 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15151 * ido.el (ido-remove-consecutive-dups): Remove.
15153 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15155 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15156 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15157 regexp-opt's `words'.
15159 2013-05-16 Leo Liu <sdl.web@gmail.com>
15161 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15162 (smie--highlight-matching-block-overlay)
15163 (smie--highlight-matching-block-lastpos)
15164 (smie--highlight-matching-block-timer): New variables.
15165 (smie-highlight-matching-block): New function.
15166 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15167 (smie-setup): Conditionally enable smie-blink-matching-open.
15169 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15171 Sync with upstream verilog-mode r840.
15172 * progmodes/verilog-mode.el (verilog-mode-version)
15173 (verilog-mode-release-date): Update.
15174 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15175 (verilog-sig-tieoff): Fix string error on
15176 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15177 (verilog-read-decls): Fix parameters confusing
15178 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15180 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15182 * subr.el (reveal-filename): New function.
15184 * loadup.el: Compute Emacs executable versions on MS-Windows,
15185 where executables have the .exe extension. Add a hard link
15186 emacs-XX.YY.ZZ.exe on MS-Windows.
15188 * Makefile.in (XARGS_LIMIT): New variable.
15189 (custom-deps, finder-data, autoloads)
15190 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15191 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15192 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15193 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15195 2013-05-16 Leo Liu <sdl.web@gmail.com>
15197 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15198 (octave-mode-menu, octave-mode-map): Remove its uses.
15200 2013-05-16 Reto Zimmermann <reto@gnu.org>
15202 Sync with upstream vhdl mode v3.34.2.
15203 * progmodes/vhdl-mode.el: Use `push' throughout.
15204 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15205 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15206 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15207 (vhdl-actual-generic-name): New option to derive actual generic name.
15208 (vhdl-port-paste-signals): Replace formal by actual generics.
15209 (vhdl-beautify): New name for old group vhdl-align. Update users.
15210 (vhdl-beautify-options): New option.
15211 (vhdl-last-input-event): New compat alias. Use throughout.
15212 (vhdl-goto-line): Replace user level function `goto-line'.
15213 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15214 vhdl-fix-statement-buffer.
15215 (vhdl-create-mode-menu): Add some entries.
15216 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15217 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15218 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15219 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15220 to force statements on one line.
15221 (vhdl-remove-trailing-spaces-region):
15222 New, split from vhdl-remove-trailing-spaces.
15223 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15224 Respect vhdl-beautify-options.
15225 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15226 (vhdl-update-sensitivity-list): Not add with index if exists without.
15227 Not include array index with signal. Ignore keywords in comments.
15228 (vhdl-get-visible-signals): Regexp tweaks.
15229 (vhdl-template-component-inst): Handle empty library.
15230 (vhdl-template-type): Add template for 'enum' type.
15231 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15232 Use vhdl-replace-string.
15233 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15234 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15235 (vhdl-speedbar-initialize): Update for above name change.
15236 (vhdl-compose-wire-components): Fix in handling of constants.
15237 (vhdl-error-regexp-emacs-alist): New variable.
15238 (vhdl-error-regexp-add-emacs): New function;
15239 adds support for new compile.el (Emacs 22+)
15240 (vhdl-generate-makefile-1): Change target order for single lib. units.
15241 Allow use of absolute file names.
15243 2013-05-16 Leo Liu <sdl.web@gmail.com>
15245 * simple.el (prog-indent-sexp): Indent enclosing defun.
15247 2013-05-15 Glenn Morris <rgm@gnu.org>
15249 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15250 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15251 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15252 (whitespace-highlight): Move to whitespace group.
15254 * comint.el (comint-source):
15255 * pcmpl-linux.el (pcmpl-linux):
15256 * shell.el (shell-faces):
15257 * eshell/esh-opt.el (eshell-opt):
15258 * international/ccl.el (ccl): Remove empty custom groups.
15260 * completion.el (dynamic-completion-mode):
15261 * jit-lock.el (jit-lock-debug-mode):
15262 * minibuffer.el (completion-in-region-mode):
15263 * type-break.el (type-break-mode-line-message-mode)
15264 (type-break-query-mode):
15265 * emulation/tpu-edt.el (tpu-edt-mode):
15266 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15267 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15268 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15270 * term/xterm.el (xterm): Change parent group to terminals.
15272 * master.el (master): Remove empty custom group.
15273 (master-mode): Remove unused :group argument.
15274 * textmodes/refill.el (refill): Remove empty custom group.
15275 (refill-mode): Remove unused :group argument.
15277 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15279 * cus-dep.el: Provide a feature.
15280 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15281 Don't mistakenly ignore files whose basenames match a basename
15282 from preloaded-file-list (eg cedet/ede/simple.el).
15283 Add a fallback method for getting :group.
15285 2013-05-15 Juri Linkov <juri@jurta.org>
15287 * isearch.el (isearch-char-by-name): Rename from
15288 `isearch-insert-char-by-name'. Doc fix.
15289 (isearch-forward): Mention `isearch-char-by-name' in
15290 the docstring. (Bug#13348)
15292 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15293 `exit-minibuffer' instead of
15294 `isearch-nonincremental-exit-minibuffer'.
15295 (isearch-edit-string): Remove mention of
15296 `isearch-nonincremental-exit-minibuffer' from docstring.
15297 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15298 (isearch-forward-exit-minibuffer)
15299 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15301 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15303 * loadup.el: Just use unversioned DOC.
15305 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15306 literals as extending to EOB.
15307 (nxml-last-fontify-end): Remove unused variable.
15308 (nxml-after-change1): Use with-silent-modifications.
15309 (nxml-extend-after-change-region): Simplify.
15310 (nxml-extend-after-change-region1): Remove function.
15311 (nxml-after-change1): Don't adjust for dependent regions.
15312 (nxml-fontify-matcher): Simplify.
15313 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15314 (xmltok-add-dependent): Remove function.
15315 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15316 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15317 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15318 unclosed <[[, <?, comment, and other literals as extending to EOB.
15319 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15320 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15322 (rng-do-some-validation-1): Don't mark dependent regions.
15323 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15324 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15325 (nxml-clear-dependent-regions): Remove functions.
15326 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15327 (nxml-ensure-scan-up-to-date):
15328 Don't clear&mark dependent regions.
15330 2013-05-15 Leo Liu <sdl.web@gmail.com>
15332 * progmodes/octave.el (octave-goto-function-definition):
15333 Improve and fix callers.
15335 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15337 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15338 the setter (bug#14387).
15340 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15341 surrounding group (bug#14402).
15343 2013-05-14 Juri Linkov <juri@jurta.org>
15345 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15348 2013-05-14 Glenn Morris <rgm@gnu.org>
15350 * progmodes/f90.el (f90-imenu-generic-expression):
15351 Fix typo in 2013-05-08 change. (Bug#14402)
15353 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15355 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15356 Remove signals for which replies are never received.
15358 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15360 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15361 (gdb-handler-alist, gdb-handler-number): Remove variables.
15362 (gdb-handler-list): New variable.
15363 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15364 (gdb-pending-handler-p, gdb-handle-reply)
15365 (gdb-remove-all-pending-triggers): New functions.
15366 (gdb-discard-unordered-replies): New defcustom.
15367 (gdb-handler): New defstruct.
15368 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15369 instead of gdb-pending-triggers. Update docstring.
15370 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15371 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15372 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15373 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15374 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15375 (gdb-frame-handler): Pending triggers are now automatically managed.
15376 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15378 (gdb-input): Automatically handles pending triggers. Update docstring.
15379 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15380 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15382 (gdb-done-or-error): Now use gdb-handle-reply.
15384 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15386 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15389 2013-05-14 Glenn Morris <rgm@gnu.org>
15391 * subr.el (user-emacs-directory-warning): New option.
15392 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15394 2013-05-14 Leo Liu <sdl.web@gmail.com>
15396 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15398 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15399 (octave-font-lock-texinfo-comment): Fix invalid search bound
15400 error: wrong side of point.
15402 2013-05-14 Glenn Morris <rgm@gnu.org>
15404 * progmodes/flymake.el (flymake-xml-program): New option.
15405 (flymake-xml-init): Use it.
15407 * term/xterm.el: Provide a feature.
15409 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15411 2013-05-13 Glenn Morris <rgm@gnu.org>
15413 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15414 Add compat aliases as a hack workaround. (Bug#14384)
15416 2013-05-13 Leo Liu <sdl.web@gmail.com>
15418 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15420 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15422 (octave-comment-start-skip): Include %!.
15423 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15425 2013-05-12 Leo Liu <sdl.web@gmail.com>
15427 * progmodes/octave.el (inferior-octave-startup): Store the value
15428 of __octave_srcdir__ for octave-source-directories.
15429 (inferior-octave-check-process): New function refactored out of
15430 inferior-octave-send-list-and-digest.
15431 (octave-source-directories)
15432 (octave-find-definition-filename-function): New variables.
15433 (octave-source-directories)
15434 (octave-find-definition-default-filename): New functions.
15435 (octave-find-definition): Improve to find functions implemented in C++.
15437 2013-05-12 Glenn Morris <rgm@gnu.org>
15439 * calendar/diary-lib.el (diary-outlook-format-1):
15440 Don't include dayname in the output. (Bug#14349)
15442 2013-05-11 Glenn Morris <rgm@gnu.org>
15444 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15446 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15447 Treat cc-provide like provide.
15449 2013-05-11 Kevin Ryde <user42@zip.com.au>
15451 * cus-dep.el (custom-make-dependencies):
15452 Use generated-autoload-load-name for the sake of files such
15453 such cedet/semantic/bovine/c.el, where the base file name
15454 is not in load-path. (Bug#5277)
15456 2013-05-11 Glenn Morris <rgm@gnu.org>
15458 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15461 2013-05-11 Leo Liu <sdl.web@gmail.com>
15463 * progmodes/octave.el (octave-indent-comment): Improve.
15464 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15465 (octave-eldoc-function-signatures, octave-eldoc-function):
15467 (octave-mode, inferior-octave-mode): Add eldoc support.
15469 2013-05-11 Richard Stallman <rms@gnu.org>
15471 * epa.el (epa-decrypt-file): Take output file name as argument
15472 and read it using `interactive'.
15474 2013-05-11 Leo Liu <sdl.web@gmail.com>
15476 * progmodes/octave.el (octave-beginning-of-line)
15477 (octave-end-of-line): Check before using up-list because it jumps
15478 out of more syntactic contructs since moving to smie.
15479 (octave-indent-comment): New function.
15480 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15481 (octave-begin-keywords, octave-end-keywords)
15482 (octave-reserved-words, octave-smie-bnf-table)
15483 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15485 2013-05-11 Glenn Morris <rgm@gnu.org>
15487 * faces.el (internal-face-x-get-resource):
15488 * frame.el (ns-display-monitor-attributes-list):
15489 * calc/calc-aent.el (math-to-radians-2):
15490 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15493 * calc/calc-menu.el: Make it loadable in isolation.
15495 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15496 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15497 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15498 (eudc-bbdb-query-internal): Require 'bbdb.
15500 * lpr.el (lpr-headers-switches):
15501 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15503 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15505 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15507 * term.el (term-set-escape-char): Make it idempotent.
15509 2013-05-10 Leo Liu <sdl.web@gmail.com>
15511 * progmodes/octave.el (inferior-octave-completion-table):
15512 No longer a function and all uses changed. Use cache to speed up
15513 completion due to bug#11906.
15514 (octave-beginning-of-defun): Re-write to be more general.
15516 2013-05-10 Glenn Morris <rgm@gnu.org>
15518 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15520 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15522 * comint.el (comint-redirect-send-command-to-process): Use :around
15523 rather than :override for comint-redirect-filter.
15524 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15525 Call it instead of comint-redirect-original-filter-function (which
15526 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15528 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15530 * frame.el (display-monitor-attributes-list): Add NS case.
15531 (ns-display-monitor-attributes-list): Declare.
15533 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15535 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15537 2013-05-09 Glenn Morris <rgm@gnu.org>
15539 * international/fontset.el (vertical-centering-font-regexp):
15540 Set standard-value.
15542 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15544 * bookmark.el (bookmark-search-delay):
15545 * cus-start.el (vertical-centering-font-regexp):
15546 * ps-mule.el (ps-mule-font-info-database-default):
15547 * ps-print.el (ps-default-fg, ps-default-bg):
15548 * type-break.el (type-break-good-break-interval):
15549 * whitespace.el (whitespace-indentation-regexp)
15550 (whitespace-space-after-tab-regexp):
15551 * emacs-lisp/testcover.el (testcover-1value-functions)
15552 (testcover-noreturn-functions, testcover-progn-functions)
15553 (testcover-prog1-functions):
15554 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15555 * eshell/em-glob.el (eshell-glob-translate-alist):
15556 * play/tetris.el (tetris-tty-colors):
15557 * progmodes/cpp.el (cpp-face-default-list):
15558 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15559 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15560 (idlwave-help-browser-generic-args):
15561 * progmodes/make-mode.el (makefile-special-targets-list):
15562 * progmodes/python.el (python-shell-virtualenv-path):
15563 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15564 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15565 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15566 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15567 * textmodes/reftex-vars.el (reftex-format-label-function):
15568 * textmodes/remember.el (remember-diary-file): Fix custom types.
15570 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15573 2013-05-09 Leo Liu <sdl.web@gmail.com>
15575 * progmodes/octave.el (inferior-octave-completion-at-point):
15576 Restore file completion. (Bug#14300)
15577 (inferior-octave-startup): Fix incorrect highlighting for the
15580 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15582 * progmodes/ruby-mode.el: First cut at SMIE support.
15583 (ruby-use-smie): New var.
15584 (ruby-smie-grammar): New constant.
15585 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15586 (ruby-smie--forward-token, ruby-smie--backward-token)
15587 (ruby-smie-rules): New functions.
15588 (ruby-mode-variables): Setup SMIE if applicable.
15590 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15592 * simple.el (line-move-visual): Signal beginning/end of buffer
15593 only if vertical-motion moved less than it was requested. Avoids
15594 silly incorrect error messages when there are display strings with
15595 multiple newlines at EOL.
15597 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15599 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15600 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15601 (prolog-char-quote-workaround):
15602 * progmodes/cperl-mode.el (cperl-under-as-char):
15603 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15605 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15607 (vhdl-mode-syntax-table-init): Remove.
15609 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15612 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15614 (ld-script-font-lock-keywords):
15615 Change regexps to use things like \_< and \_>.
15617 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15618 Change all regexps to use things like \_< and \_>.
15620 * progmodes/autoconf.el (autoconf-definition-regexp)
15621 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15622 Handle a _ with symbol syntax.
15623 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15625 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15626 Consolidate declaration.
15627 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15629 (ada-create-syntax-table): Remove.
15630 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15631 already has the right syntax nowadays.
15632 (ada-goto-next-word): Don't change the syntax of "_".
15634 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15637 2013-05-08 Sam Steingold <sds@gnu.org>
15639 * thingatpt.el (thing-at-point): Accept optional second argument
15640 NO-PROPERTIES to strip the text properties from the return value.
15641 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15642 to `thing-at-point' instead of stripping the properties ourselves.
15643 Also, when `thing-at-point' fails to find a url, prepend "http://"
15644 to the filename at point on the assumption that the user is
15645 pointing at something like gnu.org/gnu.
15647 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15649 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15650 * faces.el (crm-separator):
15651 Silence byte-compiler.
15653 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15654 (tool-bar-map): Remove unneeded defvars.
15656 2013-05-08 Leo Liu <sdl.web@gmail.com>
15658 Re-work a fix for bug#10994 based on Le Wang's patch.
15659 * ido.el (ido-remove-consecutive-dups): New helper.
15660 (ido-completing-read): Use it.
15661 (ido-chop): Revert fix for bug#10994.
15663 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15665 * cus-edit.el (custom-save-variables):
15666 Pretty-print long values. (Bug#14187)
15668 2013-05-08 Glenn Morris <rgm@gnu.org>
15670 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15671 (m4-mode-syntax-table): Init in the defvar.
15672 (m4-mode-abbrev-table): Let define-derived-mode define it.
15674 2013-05-08 Tom Tromey <tromey@redhat.com>
15676 * progmodes/m4-mode.el (m4-mode-syntax-table):
15677 Do not treat "_" as word constituent. (Bug#14167)
15679 2013-05-07 Glenn Morris <rgm@gnu.org>
15681 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15682 Remove explicit eshell-isearch-cancel-map.
15684 * progmodes/f90.el (f90-smart-end-names): New option.
15685 (f90-smart-end): Doc fix.
15686 (f90-end-block-optional-name): New constant.
15687 (f90-block-match): Respect f90-smart-end-names.
15689 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15691 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15692 about implicit semi-colons (bug#14218).
15694 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15696 * frame.el (display-monitor-attributes-list)
15697 (frame-monitor-attributes): New functions.
15699 2013-05-06 Leo Liu <sdl.web@gmail.com>
15701 * progmodes/octave.el (octave-syntax-propertize-function): Change
15702 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15703 (octave-font-lock-keywords): Use octave-operator-regexp.
15704 (octave-completion-at-point): Rename from
15705 octave-completion-at-point-function.
15706 (inferior-octave-directory-tracker): Robustify.
15707 (octave-text-functions): Remove and fix its uses. No such things
15710 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15712 * emacs-lisp/trace.el (trace--display-buffer): New function.
15713 (trace-make-advice): Use it.
15715 2013-05-06 Juri Linkov <juri@jurta.org>
15717 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15718 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15720 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15721 in the help string. (Bug#12985)
15723 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15725 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15727 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15729 * progmodes/perl-mode.el: Add support for here documents.
15730 (perl-syntax-propertize-function): Match here-doc markers.
15731 (perl-syntax-propertize-special-constructs): Find their end.
15732 (perl-imenu-generic-expression): Use [:alnum:].
15734 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15735 (advice--add-function): Refresh the advice if already present
15738 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15740 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15742 2013-05-06 Glenn Morris <rgm@gnu.org>
15744 * w32-fns.el (w32-charset-info-alist): Declare.
15746 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15747 of its defcustom properties.
15748 (eshell-cmpl-initialize): No need to load pcomplete.
15750 * generic-x.el: No need to require comint when compiling.
15752 * net/eudc-export.el: Make it loadable without bbdb.
15753 (top-level): Use require rather than load-library.
15754 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15755 (eudc-batch-export-records-to-bbdb)
15756 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15759 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15761 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15762 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15763 some tweaks, instead.
15765 2013-05-05 Leo Liu <sdl.web@gmail.com>
15767 * progmodes/octave.el (octave-font-lock-keywords)
15768 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15769 (inferior-octave-send-list-and-digest): Improve error message.
15770 (octave-mode, inferior-octave-mode): Use setq-local.
15771 (octave-help): Set info-lookup-mode.
15773 2013-05-05 Richard Stallman <rms@gnu.org>
15775 * vc/compare-w.el (compare-windows-whitespace):
15776 Treat no-break space as whitespace.
15778 * mail/rmailsum.el (rmail-summary-rmail-update):
15779 Detect empty summary and don't change selected message.
15780 (rmail-summary-goto-msg): Likewise.
15782 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15783 Doc fixes, rename args.
15785 2013-05-05 Alan Mackenzie <acm@muc.de>
15787 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15789 2013-05-05 Juri Linkov <juri@jurta.org>
15791 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15792 to not add the length of the summary segment to the return value.
15795 2013-05-05 Leo Liu <sdl.web@gmail.com>
15797 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15798 (inferior-octave-output-filter): Remove.
15799 (octave-send-region, inferior-octave-startup): Fix callers.
15800 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15801 (octave-binary-file-extensions): New user variable.
15802 (octave-find-definition): Confirm if opening binary files.
15803 (octave-help-file): Use octave-find-definition to get the binary
15805 (octave-help): Adjust for octave-help-file change.
15807 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15809 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15810 Merge the two entries that handle function definitions.
15811 (pascal--syntax-propertize): New const.
15812 (pascal-mode): Use it. Use setq-local.
15814 2013-05-04 Glenn Morris <rgm@gnu.org>
15816 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15817 (diary-from-outlook): Respect diary-from-outlook-function.
15819 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15821 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15822 Move the declaration from C.
15823 (read-minibuffer, eval-minibuffer): Move from C.
15824 (completion-setup-function): Avoid minibuffer-completion-contents.
15826 2013-05-03 Leo Liu <sdl.web@gmail.com>
15828 * progmodes/octave.el (octave-font-lock-keywords): Do not
15829 dehighlight 'end' in comments or strings.
15830 (octave-completing-read, octave-goto-function-definition):
15832 (octave-help-buffer): New user variable.
15833 (octave-help-file, octave-help-function): New button types.
15834 (octave-help): New command and bind it to C-h ;.
15835 (octave-find-definition): New command and bind it to M-.
15836 (user-error): Alias to error if not defined.
15838 2013-05-02 Leo Liu <sdl.web@gmail.com>
15840 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15842 (octave-font-lock-keywords): Include [ and {.
15844 2013-05-02 Leo Liu <sdl.web@gmail.com>
15846 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15847 (inferior-octave): Remove calling comint-mode and return the buffer.
15848 (inferior-octave-startup): Cosmetic changes.
15850 2013-05-02 Leo Liu <sdl.web@gmail.com>
15852 * progmodes/octave.el (octave-syntax-propertize-function):
15853 Include the case when ' is at line beginning. (Bug#14336)
15855 2013-05-02 Glenn Morris <rgm@gnu.org>
15857 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15858 * desktop.el (vc-dir-mode): Just autoload it here.
15860 2013-05-02 Alan Mackenzie <acm@muc.de>
15862 Eliminate variable c-standard-font-lock-fontify-region-function.
15863 * progmodes/cc-mode.el
15864 (c-standard-font-lock-fontify-region-function): Remove.
15865 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15867 2013-05-01 Leo Liu <sdl.web@gmail.com>
15869 * progmodes/octave.el: Compatible with older emacs-24 releases.
15870 (inferior-octave-has-built-in-variables): Remove. Built-in
15871 variables were removed from Octave in 2007.
15872 (inferior-octave-startup): Fix uses.
15873 (comint-line-beginning-position): Remove compatibility code for
15876 2013-05-01 Juri Linkov <juri@jurta.org>
15878 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15880 2013-05-01 Juri Linkov <juri@jurta.org>
15882 * comint.el (comint-previous-matching-input): Don't print message
15883 "History item: %d" when `isearch-mode' is active.
15884 (comint-history-isearch-message): Print message "History item: %d"
15885 when `comint-input-ring-index' is not empty and this function is
15886 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15888 2013-05-01 Leo Liu <sdl.web@gmail.com>
15890 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15891 definitions. Use completion-at-point to insert keywords.
15892 (octave-abbrev-start): Remove.
15893 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15895 2013-04-30 Leo Liu <sdl.web@gmail.com>
15897 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15900 2013-04-30 Alan Mackenzie <acm@muc.de>
15902 Handle arbitrarily long C++ member initialisation lists.
15903 * progmodes/cc-engine.el (c-back-over-member-initializers):
15905 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15906 (most) member init lists.
15908 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15910 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15913 2013-04-30 Leo Liu <sdl.web@gmail.com>
15915 * progmodes/octave.el (octave-variables): Remove. No builtin
15916 variables any more. All converted to functions.
15917 (octave-font-lock-keywords, octave-completion-at-point-function):
15919 (octave-font-lock-texinfo-comment): New user variable.
15920 (octave-texinfo-font-lock-keywords): New variable for texinfo
15922 (octave-function-comment-block): New face.
15923 (octave-font-lock-texinfo-comment): New function.
15924 (octave-mode): Font lock texinfo comment block.
15926 2013-04-29 Leo Liu <sdl.web@gmail.com>
15928 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15929 indexing expression.
15930 (octave-continuation-string): Do not use \.
15931 (inferior-octave-complete-impossible): Remove.
15932 (inferior-octave-completion-table)
15933 (inferior-octave-completion-at-point): Remove its uses.
15934 (inferior-octave-startup): completion_matches was introduced to
15935 Octave in 1996 so safe to assume it.
15936 (octave-function-file-comment): Improve to follow how Octave does it.
15937 (octave-update-function-file-comment): Tweak.
15939 2013-04-29 Leo Liu <sdl.web@gmail.com>
15941 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15942 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15943 (octave-function-file-comment): Fix typo.
15944 (octave-sync-function-file-names): Use read-char-choice.
15946 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15948 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15949 to t for the less important warnings.
15951 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15953 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15955 2013-04-27 Glenn Morris <rgm@gnu.org>
15957 * vc/log-view.el (log-view-current-entry):
15958 Treat "---" separator lines as part of the following rev. (Bug#14169)
15960 2013-04-27 Juri Linkov <juri@jurta.org>
15962 * subr.el (read-number): Doc fix about using it by interactive
15963 code letter `n'. (Bug#14254)
15965 2013-04-27 Juri Linkov <juri@jurta.org>
15967 * desktop.el (desktop-auto-save-timeout): New option.
15968 (desktop-file-checksum): New variable.
15969 (desktop-save): Add optional arg `auto-save' and don't auto-save
15970 if nothing changed.
15971 (desktop-auto-save-timer): New variable.
15972 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15973 (after-init-hook): Call `desktop-auto-save-set-timer'.
15974 Suggested by Reuben Thomas <rrt@sc3d.org> in
15975 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15977 2013-04-27 Leo Liu <sdl.web@gmail.com>
15979 * progmodes/octave.el (octave-function-file-p)
15980 (octave-skip-comment-forward, octave-function-file-comment)
15981 (octave-update-function-file-comment): New functions.
15982 (octave-mode-map): Bind C-c ; to
15983 octave-update-function-file-comment.
15984 (octave-mode-menu): Add octave-update-function-file-comment.
15985 (octave-mode, inferior-octave-mode): Fix doc-string.
15986 (octave-insert-defun): Conform to Octave's coding convention.
15989 * files.el (basic-save-buffer): Don't let errors in
15990 before-save-hook prevent saving buffer.
15992 2013-04-20 Roland Winkler <winkler@gnu.org>
15994 * faces.el (read-face-name): Use completing-read if arg multiple
15997 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15999 * ls-lisp.el (ls-lisp-insert-directory): If no files are
16000 displayed, move point to after the totals line.
16001 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
16004 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
16006 * emacs-lisp/package.el (package-autoload-ensure-default-file):
16007 Add current dir to the load-path.
16008 (package-generate-autoloads): Don't rely on
16009 autoload-ensure-default-file.
16011 2013-04-26 Reuben Thomas <rrt@sc3d.org>
16013 * textmodes/remember.el (remember-store-in-files): Document that
16014 the file name format is passed to `format-time-string'.
16016 2013-04-26 Leo Liu <sdl.web@gmail.com>
16018 * progmodes/octave.el (octave-sync-function-file-names): New function.
16019 (octave-mode): Use it in before-save-hook.
16021 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
16023 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16026 * progmodes/octave.el (octave-smie-forward-token): Properly skip
16027 \n and comment, even if it's not an implicit ; (bug#14218).
16029 2013-04-26 Glenn Morris <rgm@gnu.org>
16031 * subr.el (read-number): Once more use `read' rather than
16032 `string-to-number', to trap non-numeric input. (Bug#14254)
16034 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16036 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16037 Use `syntax-multiline' text property consistently instead of
16038 `font-lock-multiline'. (Bug#14237)
16040 2013-04-26 Glenn Morris <rgm@gnu.org>
16042 * emacs-lisp/shadow.el (list-load-path-shadows):
16043 No longer necessary to check for duplicate simple.el, since
16044 2012-07-07 change to init_lread to not include installation lisp
16045 directories in load-path when running uninstalled. (Bug#14270)
16047 2013-04-26 Leo Liu <sdl.web@gmail.com>
16049 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16050 (octave-mode, inferior-octave-mode): Use setq-local.
16051 (octave-not-in-string-or-comment-p): Rename to
16052 octave-in-string-or-comment-p.
16053 (octave-in-comment-p, octave-in-string-p)
16054 (octave-in-string-or-comment-p): Replace defsubst with defun.
16056 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16058 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16060 2013-04-25 Bastien Guerry <bzg@gnu.org>
16062 * textmodes/remember.el (remember-data-directory)
16063 (remember-directory-file-name-format): Fix custom types.
16065 2013-04-25 Leo Liu <sdl.web@gmail.com>
16067 * progmodes/octave.el (octave-completion-at-point-function):
16068 Make use of inferior octave process.
16069 (octave-initialize-completions): Remove.
16070 (inferior-octave-completion-table): New function.
16071 (inferior-octave-completion-at-point): Use it.
16072 (octave-completion-alist): Remove.
16074 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16076 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16077 (opascal-mode-syntax-table): New var.
16078 (opascal-literal-kind, opascal-is-literal-end)
16079 (opascal-literal-token-at): Rewrite.
16080 (opascal--literal-start-re, opascal-font-lock-keywords)
16081 (opascal--syntax-propertize): New constants.
16082 (opascal-font-lock-defaults): Adjust.
16083 (opascal-mode): Use them. Set comment-<foo> variables as well.
16084 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16085 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16086 (delphi-other-face, opascal-other-face): Remove face variables.
16087 (opascal-save-state): Remove macro.
16088 (opascal-fontifying-progress-step): Remove constant.
16089 (opascal--ignore-changes): Remove var.
16090 (opascal-set-token-property, opascal-parse-next-literal)
16091 (opascal-is-stable-literal, opascal-complete-literal)
16092 (opascal-is-literal-start, opascal-face-of)
16093 (opascal-parse-region, opascal-parse-region-until-stable)
16094 (opascal-fontify-region, opascal-after-change)
16095 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16096 (opascal-debug-parse-region, opascal-debug-parse-window)
16097 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16098 (opascal-debug-fontify-buffer): Remove.
16099 (opascal-debug-mode-map): Adjust accordingly.
16101 2013-04-25 Leo Liu <sdl.web@gmail.com>
16103 Merge octave-mod.el and octave-inf.el into octave.el with some
16105 * progmodes/octave.el: New file renamed from octave-mod.el.
16106 * progmodes/octave-inf.el: Merged into octave.el.
16107 * progmodes/octave-mod.el: Renamed to octave.el.
16109 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16111 * textmodes/reftex-vars.el
16112 (reftex-label-ignored-macros-and-environments): New defcustom.
16114 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16116 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16118 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16119 (smie-indent-keyword): Improve the check to ensure that the next
16120 comment is really on the same line.
16121 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16123 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16124 semi-colons if the line is not otherwise empty (bug#14218).
16126 2013-04-25 Glenn Morris <rgm@gnu.org>
16128 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16130 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16132 * progmodes/opascal.el (opascal-set-token-property): Rename from
16133 opascal-set-text-properties and only set `token' (bug#14134).
16134 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16135 (opascal-literal-text-properties): Remove.
16136 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16139 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16141 * textmodes/remember.el (remember-handler-functions): Add an
16142 option for a new handler `remember-store-in-files'.
16143 (remember-data-directory, remember-directory-file-name-format):
16145 (remember-store-in-files): New function to store remember notes
16146 as separate files within a directory.
16148 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16150 * progmodes/compile.el (compilation-next-error-function):
16151 Pass "formats" to compilation-find-file (bug#11777).
16153 2013-04-24 Glenn Morris <rgm@gnu.org>
16155 * vc/vc-bzr.el (vc-bzr-print-log):
16156 * vc/vc-hg.el (vc-hg-print-log):
16157 * vc/vc-svn.el (vc-svn-print-log):
16158 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16160 * vc/vc-bzr.el (vc-bzr-print-log):
16161 * vc/vc-cvs.el (vc-cvs-print-log):
16162 * vc/vc-git.el (vc-git-print-log):
16163 * vc/vc-hg.el (vc-hg-print-log):
16164 * vc/vc-mtn.el (vc-mtn-print-log):
16165 * vc/vc-rcs.el (vc-rcs-print-log):
16166 * vc/vc-sccs.el (vc-sccs-print-log):
16167 * vc/vc-svn.el (vc-svn-print-log):
16168 * vc/vc.el (vc-print-log-internal): Doc fixes.
16170 2013-04-23 Glenn Morris <rgm@gnu.org>
16172 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16173 Remove venerable code attempting to avoid substitute-command-keys.
16175 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16177 * textmodes/reftex-vars.el (reftex-label-regexps):
16178 Call `reftex-compile-variables' after changes to this variable.
16180 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16182 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16183 Use lexical-binding.
16184 (jit-lock-force-redisplay): Use markers, check buffer's continued
16185 existence and beware narrowed buffers.
16186 (jit-lock-fontify-now): Adjust call accordingly.
16188 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16190 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16191 to avoid misleading the user.
16193 2013-04-22 Leo Liu <sdl.web@gmail.com>
16195 * info-look.el: Prefer latex2e.info. (Bug#14240)
16197 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16199 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16201 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16202 * net/tramp.el (tramp-call-process): ... here.
16203 (tramp-set-completion-function, tramp-parse-putty):
16204 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16205 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16206 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16207 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16208 (tramp-call-local-coding-command): Use `tramp-call-process'
16209 instead of `tramp-compat-call-process'.
16211 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16212 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16213 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16214 (tramp-find-inline-compress): Improve traces.
16215 (tramp-maybe-send-script): Check for Perl binary.
16216 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16218 2013-04-22 Daiki Ueno <ueno@gnu.org>
16220 * epg.el (epg-context-pinentry-mode): New function.
16221 (epg-context-set-pinentry-mode): New function.
16222 (epg--start): Pass --pinentry-mode option to gpg command.
16224 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16226 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16227 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16228 `completion-at-point'. (Bug#13774)
16230 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16231 default key binding for `describe-distribution' has been moved to
16232 `C-h C-o'. (Bug#13970)
16234 2013-04-21 Glenn Morris <rgm@gnu.org>
16236 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16238 (vc-print-log): Clarify interactive prompt.
16240 2013-04-20 Glenn Morris <rgm@gnu.org>
16242 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16243 No longer include timestamp etc information.
16245 2013-04-20 Roland Winkler <winkler@gnu.org>
16247 * faces.el (read-face-name): Bug fix, return just one face if arg
16248 multiple is nil. (Bug#14209)
16250 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16252 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16253 (remove-function): Autoload.
16255 * comint.el (comint-redirect-original-filter-function): Remove.
16256 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16257 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16258 (vc-cvs-annotate-command):
16259 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16260 * progmodes/prolog.el (prolog-consult-compile):
16261 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16262 Use add/remove-function instead.
16263 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16264 (gud-tooltip-process-output, gud-tooltip-tips):
16265 Use add/remove-function instead.
16266 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16267 (scheme-interaction-mode, exit-scheme-interaction-mode):
16268 Use add/remove-function instead.
16270 * vc/vc-dispatcher.el: Use lexical-binding.
16271 (vc--process-sentinel): Rename from vc-process-sentinel.
16272 Change last arg to be the code to run. Don't use vc-previous-sentinel
16273 and vc-sentinel-commands any more.
16274 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16275 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16277 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16279 * progmodes/sh-script.el (sh-imenu-generic-expression):
16280 Handle function names with a single character. (Bug#14111)
16282 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16284 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16285 for subroutines defined in an eval (bug#14182).
16287 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16289 * bookmark.el (bookmark-completing-read): Improve handling of empty
16290 string (bug#14176).
16292 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16294 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16296 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16298 New faster Imenu implementation (bug#14058).
16299 * progmodes/python.el:
16300 (python-imenu-prev-index-position):
16301 (python-imenu-format-item-label-function)
16302 (python-imenu-format-parent-item-label-function)
16303 (python-imenu-format-parent-item-jump-label-function):
16305 (python-imenu-format-item-label)
16306 (python-imenu-format-parent-item-label)
16307 (python-imenu-format-parent-item-jump-label)
16308 (python-imenu--put-parent, python-imenu--build-tree)
16309 (python-imenu-create-index, python-imenu-create-flat-index)
16310 (python-util-popn): New functions.
16311 (python-mode): Set imenu-create-index-function to
16312 python-imenu-create-index.
16314 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16316 * winner.el (winner-active-region): Use region-active-p, activate-mark
16317 and deactivate-mark (bug#14225).
16319 * simple.el (deactivate-mark): Don't inline it.
16321 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16323 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16325 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16327 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16328 file extensions from the archive-mode entry in order to prefer
16329 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16331 2013-04-18 Leo Liu <sdl.web@gmail.com>
16333 * bindings.el (help-event-list): Add ?\?.
16335 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16337 * subr.el (with-wrapper-hook): Declare obsolete.
16338 * simple.el (filter-buffer-substring-function): New hook.
16339 (filter-buffer-substring): Use it.
16340 (filter-buffer-substring-functions): Mark obsolete.
16341 * minibuffer.el (completion-in-region-function): New hook.
16342 (completion-in-region): Use it.
16343 (completion-in-region-functions): Mark obsolete.
16344 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16345 * abbrev.el (abbrev-expand-function): New hook.
16346 (expand-abbrev): Use it.
16347 (abbrev-expand-functions): Mark obsolete.
16348 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16349 and :filter-return.
16351 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16353 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16354 and do not care about match data.
16356 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16358 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16359 completion tables when completing error conditions and
16360 `declare' arguments.
16361 (lisp-complete-symbol, field-complete): Mark as obsolete.
16362 (check-parens): Unmatched parens are user errors.
16363 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16365 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16367 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16368 command changed buffer (ie. `flyspell-pre-buffer' is not current
16369 buffer), which prevents making decisions based on invalid value of
16370 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16371 cause an error when `flyspell-pre-point' was nil after switching
16373 (flyspell-post-command-hook): No longer needs to change buffers when
16374 checking pre-word. While at it remove unnecessary progn.
16376 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16378 * textmodes/ispell.el (ispell-add-per-file-word-list):
16379 Fix `flyspell-correct-word-before-point' error when accepting
16380 words and `coment-padding' is an integer by using
16381 `comment-normalize-vars' (Bug #14214).
16383 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16385 New defun movement commands.
16386 * progmodes/python.el (python-nav--syntactically)
16387 (python-nav--forward-defun, python-nav-backward-defun)
16388 (python-nav-forward-defun): New functions.
16390 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16392 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16393 (python-syntax-context): Use named compiler-macro for backwards
16394 compatibility with Emacs 24.x.
16396 2013-04-17 Leo Liu <sdl.web@gmail.com>
16398 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16399 octave-hide-process-buffer.
16401 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16403 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16406 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16408 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16409 Fix adjustment of offset when receiving incomplete responses from GDB
16412 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16414 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16415 python-mode-abbrev-table.
16416 (python-skeleton-define): Adjust accordingly.
16417 (python-mode-abbrev-table): New table that inherits from it so that
16418 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16420 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16421 (abbrev-symbol): Use it.
16422 (abbrev--before-point): Use it since we already handle inheritance.
16424 2013-04-16 Leo Liu <sdl.web@gmail.com>
16426 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16427 binding to info-lookup-symbol.
16429 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16431 * minibuffer.el (completion--twq-all):
16432 * term/ns-win.el (ns-initialize-window-system):
16433 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16435 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16437 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16440 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16442 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16444 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16445 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16447 (ruby-end-of-defun): Remove the unused arg, change the docstring
16448 to reflect that this function is only used as the value of
16449 `end-of-defun-function'.
16450 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16451 to reflect an earlier change that beginning/end-of-defun functions
16452 jump between methods in a class definition, as well as top-level
16455 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16457 * minibuffer.el (minibuffer-complete): Don't just scroll
16458 a *Completions* that's been iconified.
16459 (minibuffer-force-complete): Make sure repetitions do cycle when going
16460 through completion-in-region -> minibuffer-complete.
16462 2013-04-15 Alan Mackenzie <acm@muc.de>
16464 Correct the placement of c-cpp-delimiters when there're #s not at
16467 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16468 place a submatch around the #.
16469 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16470 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16473 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16475 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16476 (advice--member-p): New arg `name'.
16477 (advice--add-function, advice-member-p): Use it (bug#14202).
16479 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16481 Reformulate java imenu-generic-expression.
16482 The old expression contained ill formed regexps.
16484 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16485 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16486 (cc-imenu-java-method-arg-regexp): New defconsts.
16487 (cc-imenu-java-build-type-args-regex): New defun.
16488 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16489 handling of spaces in the regexp.
16491 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16493 * textmodes/ispell.el (ispell-command-loop): Remove
16494 flyspell highlight of a word when ispell accepts it (bug #14178).
16496 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16498 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16499 uses code from the previous `ange-ftp-run-real-handler'.
16500 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16501 only in case that function exist. This is needed for proper
16502 unloading of Tramp.
16504 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16506 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16508 * textmodes/reftex.el (reftex-compile-variables): Use it.
16510 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16512 * files.el (normal-mode): Only use default major-mode if no other mode
16515 * emacs-lisp/trace.el (trace-values): New function.
16517 * files.el: Allow : in local variables (bug#14089).
16518 (hack-local-variable-regexp): New var.
16519 (hack-local-variables-prop-line, hack-local-variables): Use it.
16521 2013-04-13 Roland Winkler <winkler@gnu.org>
16523 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16524 data before it gets modified by bibtex-beginning-of-entry.
16526 2013-04-13 Roland Winkler <winkler@gnu.org>
16528 * textmodes/bibtex.el (bibtex-url): Doc fix.
16530 2013-04-13 Roland Winkler <winkler@gnu.org>
16532 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16533 does not visit a BibTeX file, exclude it from the list of buffers
16534 returned by bibtex-initialize.
16536 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16538 * window.el (split-window): Remove interactive form, since as a
16539 command this function is a special case of split-window-below.
16540 Correct doc string.
16542 2013-04-12 Roland Winkler <winkler@gnu.org>
16544 * faces.el (read-face-name): Do not override value of arg default.
16545 Allow single faces and strings as default values. Remove those
16546 elements from return value that are not faces.
16547 (describe-face): Simplify.
16548 (face-at-point): New optional args thing and multiple so that this
16549 function can provide the same functionality previously provided by
16551 (make-face-bold, make-face-unbold, make-face-italic)
16552 (make-face-unitalic, make-face-bold-italic, invert-face)
16553 (modify-face, read-face-and-attribute): Use face-at-point.
16555 * cus-edit.el (customize-face, customize-face-other-window)
16556 * cus-theme.el (custom-theme-add-face)
16557 * face-remap.el (buffer-face-set)
16558 * facemenu.el (facemenu-set-face): Use face-at-point.
16560 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16562 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16564 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16566 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16567 off leading { and trailing } from field values.
16569 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16571 * emacs-lisp/timer.el (timer--check): New function.
16572 (timer--time, timer-set-function, timer-event-handler): Use it.
16573 (timer-set-idle-time): Simplify.
16574 (timer--activate): CSE.
16575 (timer-event-handler): Give more info in error message.
16576 (internal-timer-start-idle): New function, moved from C.
16578 * mpc.el (mpc-proc): Add `restart' argument.
16579 (mpc-proc-cmd): Use it.
16580 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16581 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16584 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16586 * progmodes/sh-script.el: Implement `sh-mode' own
16587 `add-log-current-defun-function' (bug#14112).
16588 (sh-current-defun-name): New function.
16589 (sh-mode): Use the function.
16591 2013-04-09 Bastien Guerry <bzg@gnu.org>
16593 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16595 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16597 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16599 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16602 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16604 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16607 2013-04-07 Leo Liu <sdl.web@gmail.com>
16609 * pcmpl-x.el: New file.
16611 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16613 Do not set x-display-name until X connection is established.
16614 This is needed to prevent from weird situation described at
16615 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16616 * frame.el (make-frame): Set x-display-name after call to
16617 window system initialization function, not before.
16618 * term/x-win.el (x-initialize-window-system): Add optional
16619 display argument and use it.
16620 * term/w32-win.el (w32-initialize-window-system):
16621 * term/ns-win.el (ns-initialize-window-system):
16622 * term/pc-win.el (msdos-initialize-window-system):
16623 Add compatible optional display argument.
16625 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16627 * files.el (normal-backup-enable-predicate): On MS-Windows and
16628 MS-DOS compare truenames of temporary-file-directory and of the
16629 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16630 don't fail comparison by compare-strings. Also, compare file
16631 names case-insensitively on MS-Windows and MS-DOS.
16633 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16635 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16636 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16638 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16640 * whitespace.el (whitespace-color-on, whitespace-color-off):
16641 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16643 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16645 * ispell.el (ispell-set-spellchecker-params):
16646 Really set `ispell-args' for all equivs.
16648 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16650 * ido.el (ido-completions): Use extra elements of ido-decorations
16652 (ido-decorations): Update docstring.
16654 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16656 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16657 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16658 nil during initialization, in order not to miss changes since the
16659 file was opened. (Bug#14140)
16661 2013-04-05 Leo Liu <sdl.web@gmail.com>
16663 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16665 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16667 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16669 2013-04-04 Glenn Morris <rgm@gnu.org>
16671 * electric.el (electric-pair-inhibit-predicate): Add :version.
16673 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16675 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16676 when a package is required several times (bug#14082).
16678 2013-04-04 Roland Winkler <winkler@gnu.org>
16680 * faces.el (read-face-name): Behave as promised by the docstring.
16681 Assume that arg default is a list of faces.
16682 (describe-face): Call read-face-name with list of default faces.
16684 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16686 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16687 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16688 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16690 (bookmark-exit-hook-internal): Save even if list is empty.
16692 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16694 * emacs-lisp/package.el (package-pinned-packages): New var.
16695 (package--add-to-archive-contents): Obey it (bug#14118).
16697 2013-04-03 Alan Mackenzie <acm@muc.de>
16699 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16700 Also adapt to the new values of element 7 of a parse state.
16702 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16703 parameter `not-in-delimiter'. Handle being inside comment opener.
16704 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16705 character in case we're typing a '*' after a '/'.
16706 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16707 instead by passing the parameter to c-state-pp-to-literal.
16709 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16710 for elt. 7 of a parse state.
16712 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16714 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16715 * international/latin1-disp.el, international/mule-util.el:
16716 * language/cyril-util.el, language/european.el, language/ind-util.el:
16717 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16718 * language/tibetan.el, language/viet-util.el:
16719 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16721 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16723 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16724 (electric-pair-post-self-insert-function): Use it.
16725 (electric-pair-default-inhibit): New function, extracted from
16726 electric-pair-post-self-insert-function.
16728 2013-03-31 Roland Winkler <winkler@gnu.org>
16730 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16732 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16734 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16736 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16738 Un-indent after "pass" and "return" statements (Bug#13888)
16739 * progmodes/python.el (python-indent-block-enders): New var.
16740 (python-indent-calculate-indentation): Use it.
16742 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16744 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16745 defun. Defining it as defalias could introduce too eager
16746 byte-compiler optimization. (Bug#14030)
16748 2013-03-30 Chong Yidong <cyd@gnu.org>
16750 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16752 2013-03-30 Leo Liu <sdl.web@gmail.com>
16754 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16755 (kmacro-execute-from-register): Pass the keyboard macro to
16756 kmacro-call-macro or repeating won't work correctly.
16758 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16760 * progmodes/subword.el: Back to using `forward-symbol'.
16762 * subr.el (forward-whitespace, forward-symbol)
16763 (forward-same-syntax): Move from thingatpt.el.
16765 2013-03-29 Leo Liu <sdl.web@gmail.com>
16767 * kmacro.el (kmacro-to-register): New command.
16768 (kmacro-execute-from-register): New function.
16769 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16771 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16773 * mpc.el: Use defvar-local and setq-local.
16774 (mpc--proc-connect): Connection failures are not bugs.
16775 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16776 (mpc-volume-map): Bind to the up-events.
16778 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16780 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16781 instead of `forward-symbol'.
16783 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16785 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16786 (edebug--recursive-edit): Use it.
16787 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16788 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16790 2013-03-28 Leo Liu <sdl.web@gmail.com>
16792 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16794 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16796 * facemenu.el (list-colors-callback): New defvar.
16797 (list-colors-redisplay): New function.
16798 (list-colors-display): Install list-colors-redisplay as the
16799 revert-buffer-function. (Bug#14063)
16801 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16803 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16804 and suffixes don't overlap (bug#14061).
16806 * case-table.el: Use lexical-binding.
16807 (case-table-get-table): New function.
16808 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16810 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16812 * progmodes/subword.el: Add `superword-mode' to do word motion
16813 over symbol_words (parallels and leverages `subword-mode' which
16814 does word motion inside MixedCaseWords).
16816 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16818 * eshell/em-unix.el: Move su and sudo to...
16819 * eshell/em-tramp.el: ...Eshell tramp module.
16821 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16823 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16824 Change return value to be a sexp. Delay `get-buffer' to after
16825 restoring the desktop (bug#13951).
16827 2013-03-26 Leo Liu <sdl.web@gmail.com>
16829 * register.el: Move semantic tag handling back to
16830 cedet/semantic/senator.el. (Bug#14052)
16832 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16834 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16835 into the prompt either (bug#13963).
16837 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16839 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16840 part of "(error-foo)".
16842 2013-03-24 Juri Linkov <juri@jurta.org>
16844 * replace.el (list-matching-lines-prefix-face): New defcustom.
16845 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16846 `occur-engine' if `face-differs-from-default-p' returns t.
16847 (occur-engine): Add `,' inside backquote construct to evaluate
16848 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16849 Pass `prefix-face' to the functions `occur-context-lines' and
16850 `occur-engine-add-prefix'.
16851 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16852 `prefix-face' and propertize the prefix with `prefix-face'.
16855 2013-03-24 Leo Liu <sdl.web@gmail.com>
16857 * nxml/rng-valid.el (rng-validate-while-idle)
16858 (rng-validate-quick-while-idle): Guard against deleted buffer.
16861 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16862 is the last entry in kill-buffer-hook.
16864 * files.el (kill-buffer-hook): Doc fix.
16866 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16868 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16869 Make it safe-local.
16871 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16873 2013-03-23 Leo Liu <sdl.web@gmail.com>
16875 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16878 * nxml/rng-valid.el (rng-validate-mode)
16879 (rng-after-change-function, rng-do-some-validation):
16880 * nxml/rng-maint.el (rng-validate-buffer):
16881 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16882 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16883 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16884 (nxml-extend-after-change-region): Use with-silent-modifications.
16886 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16889 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16890 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16891 timer-idle-list. (Bug#13999)
16893 2013-03-23 Juri Linkov <juri@jurta.org>
16895 * info.el (info-index-match): New face.
16896 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16897 main pattern and add text properties with the new face to matches
16898 in index entries relative to the beginning of the index entry.
16901 2013-03-21 Eric Ludlam <zappo@gnu.org>
16903 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16904 Inhibit read only while inserting objects.
16906 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16908 * progmodes/cfengine.el: Update docs to mention
16909 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16910 symbol motion. Remove "_" from the word syntax.
16912 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16914 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16915 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16917 2013-03-20 Juri Linkov <juri@jurta.org>
16919 * info.el (Info-next-reference-or-link)
16920 (Info-prev-reference-or-link): New functions.
16921 (Info-next-reference, Info-prev-reference): Use them.
16922 (Info-try-follow-nearest-node): Handle footnote navigation.
16923 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16925 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16927 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16928 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16930 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16932 Suppress unnecessary non-ASCII chatter during build process.
16933 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16934 (batch-skkdic-convert): Suppress most of the chatter.
16935 It's not needed so much now that machines are faster,
16936 and its non-ASCII component was confusing; see Dmitry Gutov in
16937 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16939 2013-03-20 Leo Liu <sdl.web@gmail.com>
16941 * ido.el (ido-chop): Fix bug#10994.
16943 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16945 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16947 (whitespace-color-on, whitespace-color-off):
16948 Use `font-lock-fontify-buffer' (Bug#13817).
16950 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16952 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16953 remapping in mode-line.
16954 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16956 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16958 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16959 value for `whitespace-line' face (Bug#13875).
16960 (whitespace-font-lock-keywords): Change description.
16961 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16962 the constructed keywords instead.
16963 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16965 2013-03-19 Leo Liu <sdl.web@gmail.com>
16967 * progmodes/compile.el (compilation-display-error): New command.
16968 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16971 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16973 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16975 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16977 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16979 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16981 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16983 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16984 * net/tramp-gvfs.el (top):
16985 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16986 (tramp-handle-shell-command): Use it.
16987 (tramp-dissect-file-name): Raise an error when hostname is a
16988 method name, and neither method nor user is specified.
16990 * net/trampver.el: Update release number.
16992 2013-03-18 Leo Liu <sdl.web@gmail.com>
16994 Make sure eldoc can be turned off properly.
16995 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16997 (eldoc-display-message-p): Revert last change.
16998 (eldoc-display-message-no-interference-p)
16999 (eldoc-print-current-symbol-info): Tweak.
17001 2013-03-18 Tassilo Horn <tsdh@gnu.org>
17003 * doc-view.el (doc-view-new-window-function): Check the new window
17004 overlay's display property instead the char property of the
17005 buffer's first char. Use `with-selected-window' instead of
17006 `save-window-excursion' with `select-window'.
17007 (doc-view-document->bitmap): Check the current doc-view overlay's
17008 display property instead the char property of the buffer's first char.
17010 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
17012 Automate the build of ja-dic.el (Bug#13984).
17013 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17014 from the input, rather than assume that it's been done for us by the
17015 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
17016 the current date into a ja-dic.el comment, as that complicates
17017 regression testing.
17019 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17021 * whitespace.el: Fix double evaluation.
17022 (whitespace-space, whitespace-hspace, whitespace-tab)
17023 (whitespace-newline, whitespace-trailing, whitespace-line)
17024 (whitespace-space-before-tab, whitespace-indentation)
17025 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17027 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17028 (whitespace-color-on): Use a single font-lock-add-keywords call.
17029 Fix double-evaluation of face variables.
17031 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17033 * net/tramp-adb.el (tramp-adb-parse-device-names):
17034 Use `start-process' instead of `call-process'. Otherwise, the
17035 function might be blocked under MS Windows. (Bug#13299)
17037 2013-03-17 Leo Liu <sdl.web@gmail.com>
17039 Extend eldoc to display info in the mode-line. (Bug#13978)
17040 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17041 (eldoc-mode-line-string): New variable.
17042 (eldoc-minibuffer-message): New function.
17043 (eldoc-message-function): New variable.
17044 (eldoc-message): Use it.
17045 (eldoc-display-message-p)
17046 (eldoc-display-message-no-interference-p):
17047 Support eldoc-post-insert-mode.
17049 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17050 (eval-expression): Run it.
17052 2013-03-17 Roland Winkler <winkler@gnu.org>
17054 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17055 strings in the list of return values.
17057 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17059 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17060 radix before checking for HMS forms.
17062 2013-03-16 Leo Liu <sdl.web@gmail.com>
17064 * progmodes/scheme.el: Add indentation and font-locking for λ.
17067 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17069 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17070 token before point (bug#13942).
17072 2013-03-16 Leo Liu <sdl.web@gmail.com>
17074 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17076 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17078 * startup.el (command-line-normalize-file-name): Fix handling of
17079 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17080 <xfq.free@gmail.com> in
17081 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17083 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17085 Sync with Tramp 2.2.7.
17087 * net/trampver.el: Update release number.
17089 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17091 * doc-view.el: Fix bug#13887.
17092 (doc-view-insert-image): Don't modify overlay associated to
17093 non-live windows, and implement horizontal centering of image in
17094 case it's smaller than the window.
17095 (doc-view-new-window-function): Force redisplay of new windows on
17098 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17100 * saveplace.el (save-place-alist-to-file): Don't sort
17101 `save-place-alist', just pretty-print it (bug#13882).
17103 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17105 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17106 Check whether `default-file-name-coding-system' is bound.
17107 It isn't in XEmacs.
17109 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17111 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17112 backquotes for `obsolete' (bug#13929).
17114 * international/mule.el (find-auto-coding): Include file name in
17115 obsolescence warning (bug#13922).
17117 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17119 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17120 for CFEngine 3-specific indentation.
17121 (cfengine3-indent-line): Use it. Fix up category regex.
17122 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17124 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17126 * type-break.el (type-break-file-name):
17127 * textmodes/remember.el (remember-data-file):
17128 * strokes.el (strokes-file):
17129 * shadowfile.el (shadow-initialize):
17130 * saveplace.el (save-place-file):
17131 * ps-bdf.el (bdf-cache-file):
17132 * progmodes/idlwave.el (idlwave-config-directory):
17133 * net/quickurl.el (quickurl-url-file):
17134 * international/kkc.el (kkc-init-file-name):
17135 * ido.el (ido-save-directory-list-file):
17136 * emulation/viper.el (viper-custom-file-name):
17137 * emulation/vip.el (vip-startup-file):
17138 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17139 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17141 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17143 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17144 * language/thai-word.el: Switch to UTF-8.
17146 See ChangeLog.16 for earlier changes.
17148 ;; Local Variables:
17152 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17154 This file is part of GNU Emacs.
17156 GNU Emacs is free software: you can redistribute it and/or modify
17157 it under the terms of the GNU General Public License as published by
17158 the Free Software Foundation, either version 3 of the License, or
17159 (at your option) any later version.
17161 GNU Emacs is distributed in the hope that it will be useful,
17162 but WITHOUT ANY WARRANTY; without even the implied warranty of
17163 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17164 GNU General Public License for more details.
17166 You should have received a copy of the GNU General Public License
17167 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.