1 2015-03-07 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-ssh-controlmaster-options): Make it a
6 2015-03-07 Eli Zaretskii <eliz@gnu.org>
8 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
10 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
12 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
13 .dat files for aspell dicts are also searched for in location
14 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
17 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
19 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
20 (ispell-hunspell-fill-dictionary-entry)
21 (ispell-find-hunspell-dictionaries)
22 (ispell-set-spellchecker-params): New generic name for
23 `ispell-hunspell-dictionary-equivs-alist'.
24 (ispell-aspell-add-aliases): Also use
25 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
28 2015-02-24 Glenn Morris <rgm@gnu.org>
30 * net/browse-url.el (browse-url-firefox-startup-arguments):
32 (browse-url-firefox): Doc fix. Remove -remote, which no longer
33 exists in Firefox 36. (Bug#19921)
34 (browse-url-firefox-sentinel): Remove function.
36 2015-02-23 Eli Zaretskii <eliz@gnu.org>
38 * frame.el (blink-cursor-timer-function): Don't increment
39 blink-cursor-blinks-done counter when a menu is active on a w32
42 2015-02-19 Juri Linkov <juri@linkov.net>
44 * comint.el (comint-line-beginning-position): Revert searching for
45 the prompt when comint-use-prompt-regexp is non-nil because it
46 doesn't distinguish input from output. Check the field property
47 `output' for the case when comint-use-prompt-regexp is nil.
50 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
52 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
53 with PAGER=cat. (Bug#19870)
55 2015-02-13 Glenn Morris <rgm@gnu.org>
57 * textmodes/flyspell.el (flyspell-duplicate-distance):
60 2015-02-13 Eli Zaretskii <eliz@gnu.org>
62 * textmodes/text-mode.el (text-mode-syntax-table): Make some
63 punctuation character behave as word-constituent, for more
64 compatibility with Unicode.
66 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
68 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
70 Improve string search in `flyspell-word-search-*`. (Bug#16800)
71 * textmodes/flyspell.el (flyspell-duplicate-distance): Limit
72 default search distance for duplicated words to 40000.
73 (flyspell-word-search-backward, flyspell-word-search-forward):
74 Search as full word with defined casechars, not as substring.
76 2015-02-10 Juri Linkov <juri@linkov.net>
78 Better support for the case of typing RET on the prompt in comint.
79 * comint.el (comint-get-old-input-default): Go to the field end
80 when comint-use-prompt-regexp is nil.
81 (comint-line-beginning-position): Check if point is already
82 on the prompt before searching for the prompt when
83 comint-use-prompt-regexp is non-nil. (Bug#19710)
85 2015-02-08 Eli Zaretskii <eliz@gnu.org>
87 * frame.el (frame-notice-user-settings): Refresh the value of
88 frame parameters after calling tty-handle-reverse-video. Call
89 face-set-after-frame-default with the actual parameters, to avoid
90 resetting colors back to unspecified.
91 (set-background-color, set-foreground-color): Pass the foreground
92 and background colors to face-set-after-frame-default. (Bug#19802)
94 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
96 * net/network-stream.el (network-stream-open-tls): Respect the
97 :end-of-capability setting.
99 2015-02-05 Juri Linkov <juri@linkov.net>
101 Revert the previous change of comint-line-beginning-position callers,
102 and modify comint-line-beginning-position instead.
104 * comint.el (comint-history-isearch-search)
105 (comint-history-isearch-message, comint-history-isearch-wrap):
106 Use comint-line-beginning-position instead of field-beginning.
107 (comint-send-input): Use either end-of-line or field-end
108 depending on comint-use-prompt-regexp.
109 (comint-line-beginning-position): Search backward
110 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
111 Use field-beginning instead of line-beginning-position
112 if comint-use-prompt-regexp is nil. (Bug#19710)
114 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
116 * calendar/todo-mode.el (todo-item-done): When done items are
117 hidden, restore point to its location prior to invoking this
120 2015-02-04 Eli Zaretskii <eliz@gnu.org>
122 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
123 mapcar, not mapc, to create the other half of fill-info.
126 2015-02-04 Nicolas Petton <nicolas@petton.fr>
128 * emacs-lisp/authors.el (authors-ignored-files)
129 (authors-renamed-files-alist): Additions.
131 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
133 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
134 tempfile for ControlPath. (Bug#19702)
136 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
138 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
139 ControlPath if possible. (Bug#19702)
141 2015-02-02 Glenn Morris <rgm@gnu.org>
143 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
144 (authors-valid-file-names, authors-renamed-files-alist): Additions.
146 2015-02-01 Alan Mackenzie <acm@muc.de>
148 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
151 * progmodes/cc-mode.el (c-font-lock-init): Setq
152 font-lock-extend-region-functions to nil.
154 2015-01-31 Alan Mackenzie <acm@muc.de>
156 Handle "#" operator properly inside macro. Fix coding bug.
158 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
159 finding a "#" which looks like the start of a macro, check it
160 isn't already inside a macro.
162 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
163 "safe" position into the list of them when this is beyond our
166 2015-01-31 Martin Rudalics <rudalics@gmx.at>
168 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
169 the menu frame is dead. (Bug#19728)
171 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
173 python.el: Handle tabs in python-indent-dedent-line.
175 * progmodes/python.el (python-indent-dedent-line): Fixes for
176 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
178 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
180 * progmodes/python.el (python-indent-context): Respect user
181 indentation after comment.
183 2015-01-29 Tassilo Horn <tsdh@gnu.org>
185 * textmodes/reftex-vars.el (featurep): Conditionalize value of
186 reftex-label-regexps in order to stay compatible with XEmacs 21.5
187 which has no explicitly numbered groups in regexps (bug#19714).
189 2015-01-28 Tassilo Horn <tsdh@gnu.org>
191 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
192 punctuation syntax since to allow bibtex fields with values such
193 as {Test 1) and 2)} (bug#19205, bug#19707).
194 (reftex--prepare-syntax-tables): New function.
195 (reftex-mode): Use it.
197 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
199 python.el: New non-global state dependent indentation engine.
200 (Bug#18319, Bug#19595)
202 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
204 (python-syntax-closing-paren-p): New function.
205 (python-indent-current-level)
206 (python-indent-levels): Mark obsolete.
207 (python-indent-context): Return more context cases.
208 (python-indent--calculate-indentation)
209 (python-indent--calculate-levels): New functions.
210 (python-indent-calculate-levels): Use them.
211 (python-indent-calculate-indentation, python-indent-line):
212 (python-indent-line-function): Rewritten to use new API.
213 (python-indent-dedent-line): Simplify logic.
214 (python-indent-dedent-line-backspace): Use `unless`.
215 (python-indent-toggle-levels): Delete function.
217 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
219 * calc/calc-units.el (math-units-in-expr-p)
220 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
221 (math-extract-units): Handle the `neg' operator. (Bug#19582)
224 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
226 * subr.el (posnp): Correct docstring of `posnp'.
227 (posn-col-row): Make it work with all mouse position objects.
228 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
229 timers if an error occurs during continuous drawing. (Bug#6130)
231 2015-01-20 Eli Zaretskii <eliz@gnu.org>
233 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
235 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
237 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
238 regardless of pcomplete-cycle-completions's value. (Bug#18950)
240 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
242 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
244 (file-notify--descriptor): New defun.
245 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
246 Adapt docstring. Handle multiple values for
247 `file-notify-descriptors' entries. (Bug#18880)
249 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
250 `file-notify-descriptors', the implementation has been changed.
252 2015-01-13 Juri Linkov <juri@linkov.net>
254 * comint.el (comint-history-isearch-search)
255 (comint-history-isearch-wrap): Use field-beginning instead of
256 comint-line-beginning-position.
257 (comint-send-input): Go to the end of the field instead of the end
258 of the line to accept whole multi-line input.
259 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
260 (comint-history-isearch-message): Use field-beginning
261 instead of comint-line-beginning-position - that's more fixes for
262 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
263 (comint-history-isearch-message): Fix args of isearch-message-prefix.
267 2015-01-09 Eli Zaretskii <eliz@gnu.org>
269 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
270 On MS-Windows, bind coding-system-for-read to the console output
271 codepage. (Bug#19458)
273 2015-01-08 Eli Zaretskii <eliz@gnu.org>
275 * simple.el (line-move-visual): When converting X pixel coordinate
276 to temporary-goal-column, adjust the value for right-to-left
277 screen lines. This fixes vertical-motion, next/prev-line, etc.
279 2015-01-06 Glenn Morris <rgm@gnu.org>
281 * progmodes/sh-script.el (sh-mode): Doc fix.
282 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
284 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
286 * emacs-lisp/package.el (package-menu-mode): Use an extra column
287 for the "Version" column, to accomodate date-and-time-based versions.
289 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
291 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
292 * files.el (shell-quote-wildcard-pattern): Also quote "`".
294 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
296 Unbreak `mouse-action' property in text buttons.
297 * button.el (push-button): Fix regression from 2012-12-06.
299 2015-01-01 Eli Zaretskii <eliz@gnu.org>
301 * tool-bar.el (tool-bar-local-item)
302 (tool-bar-local-item-from-menu): Call force-mode-line-update to
303 make sure the tool-bar changes show on display.
305 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
307 Sync with Tramp 2.2.11.
309 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
310 Make an alias for `default-toplevel-value' if it doesn't exist.
312 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
313 Use `tramp-compat-delete-directory'.
315 * net/trampver.el: Update release number.
317 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
319 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
320 for remote files. (Bug#19449)
322 2014-12-28 Eli Zaretskii <eliz@gnu.org>
324 * international/mule.el (define-coding-system): Fix typos in the
327 2014-12-28 Kenichi Handa <handa@gnu.org>
329 * international/mule.el (define-coding-system): Improve the doc
332 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
334 * progmodes/python.el (python-shell-buffer-substring): Handle
335 cornercase when region sent starts at point-min.
337 2014-12-27 Eli Zaretskii <eliz@gnu.org>
339 * language/misc-lang.el (composition-function-table): Add Syriac
340 characters and also ZWJ/ZWNJ. See
341 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
344 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
346 python.el: Fix message when sending region.
348 * progmodes/python.el (python-shell-send-region): Rename argument
349 send-main from nomain. Fix message.
350 (python-shell-send-buffer): Rename argument send-main from arg.
352 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
354 python.el: Cleanup temp files even with eval errors.
356 * progmodes/python.el (python-shell-send-file): Make file-name
357 mandatory. Fix temp file removal in the majority of cases.
359 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
361 python.el: Handle file encoding for shell.
363 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
364 (python-shell--save-temp-file): Write file with proper encoding.
365 (python-shell-buffer-substring): Add coding cookie for detected
366 encoding to generated content. Fix blank lines when removing
368 (python-shell-send-file): Handle file encoding.
369 (python-info-encoding-from-cookie)
370 (python-info-encoding): New functions.
372 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
374 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
375 Use `tramp-rsh-end-of-line', it ought to be more robust.
377 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
379 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
382 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
384 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
386 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
387 as end-of-line delimeter for passwords, when running on MS Windows.
389 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
391 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
392 of indent-line-function (bug#19433).
394 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
396 Fix line numbers on Python shell.
397 * progmodes/python.el (python-shell--save-temp-file): Do not
398 append coding cookie.
399 (python-shell-send-string): Generalize for
400 python-shell-send-region.
401 (python--use-fake-loc): Delete var.
402 (python-shell-buffer-substring): Cleanup fake-loc logic.
403 (python-shell-send-region): Remove fake-loc logic, simplify.
405 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
407 * progmodes/python.el (python-indent-post-self-insert-function):
408 Make colon to re-indent only for dedenters, handling
409 multiline-statements gracefully.
411 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
413 * net/tramp.el (tramp-handle-insert-file-contents):
414 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
416 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
418 * net/tramp-sh.el (tramp-send-command-and-read): New optional
420 (tramp-get-remote-path): Use it.
422 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
424 * subr.el (redisplay-dont-pause): Mark as obsolete.
426 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
428 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
429 (tramp-accept-process-output): Use nil as argument for
430 `accept-process-output', when there is a gateway prepended.
432 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
434 (tramp-gw-open-connection): Set process coding system 'binary.
435 (tramp-gw-open-network-stream): Handle HTTP error 403.
437 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
439 (tramp-maybe-open-connection): Set connection property "gateway".
441 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
443 * subr.el (sit-for): Tweak docstring (bug#19381).
445 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
447 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
448 stage to after `diff-index' (bug#19386).
450 2014-12-14 João Távora <joaotavora@gmail.com>
452 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
453 `electric-pair-mode' (bug#19356).
455 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
457 * simple.el (password-word-equivalents): Add "passcode", used for
458 numeric secrets like PINs or RSA tokens.
460 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
462 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
463 order to determine `tramp-own-remote-path'.
465 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
467 * progmodes/python.el (python-shell-parse-command):
468 Quote `python-shell-interpreter`. (Bug#19289)
470 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
472 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
473 of the whole pipe when indenting an opening keyword after a |.
474 Generalize this treatment to opening keywords like "while" (bug#18031).
476 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
478 * simple.el (newline): Place the hook buffer-locally,
479 to make sure it's first.
481 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
482 Fix handling of symbols with different syntax at beginning/end or with
483 symbol rather than word syntax.
485 2014-11-30 Eli Zaretskii <eliz@gnu.org>
487 * simple.el (line-move): If noninteractive, call line-move-1, not
488 forward-line, since the former is compatible with line-move-visual
489 both in terms of the column to which it moves and the return
492 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
493 Stefan Monnier <monnier@iro.umontreal.ca>
495 * outline.el (outline-move-subtree-down): Make sure we can move
496 forward to find the end of the subtree and the insertion point
499 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
501 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
502 for comment lines non-greedy and stopping at newlines to fix stack
503 overflows with large files. [Backport]
505 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
507 * progmodes/python.el (python-shell-completion-setup-code):
508 Use __builtin__ module (or builtins in Python 3) and catch all errors
509 when importing readline and rlcompleter.
511 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
513 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
514 (todo-revert-buffer): New function.
515 (todo-modes-set-1): Use it as the buffer-local value of
516 revert-buffer-function.
518 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
520 * calendar/todo-mode.el (todo-mode): If called interactively, just
521 display a message saying to call todo-show to enter Todo mode
524 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
526 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
529 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
532 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
534 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
535 remote `buffer-file-name'.
537 2014-11-23 Leo Liu <sdl.web@gmail.com>
539 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
541 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
543 Set PYTHONUNBUFFERED on shell startup.
545 * progmodes/python.el (python-shell-unbuffered): New var.
546 (python-shell-calculate-process-environment): Use it.
548 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
550 * net/tramp.el (tramp-action-password): Clean password on subsequent
551 attempts even if there was no wrong password indication. (Bug#19047)
553 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
555 (tramp-open-connection-setup-interactive-shell): No need to check
556 for nil as `tramp-get-remote-locale' return value.
558 2014-11-21 Eli Zaretskii <eliz@gnu.org>
560 * vc/vc-git.el (vc-git-command, vc-git--call):
561 Bind coding-system-for-read and coding-system-for-write to
562 vc-git-commits-coding-system.
563 (vc-git-previous-revision): Use "~1" instead of "^", since the
564 latter is a special character for MS-Windows system shells.
566 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
568 Improve XEmacs compatibility.
570 * net/tramp.el (tramp-autoload-file-name-handler):
571 Wrap `temporary-file-directory' by `symbol-value', it doesn't
573 (tramp-read-passwd): Don't use `with-timeout-suspend' and
574 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
575 (tramp-time-less-p, tramp-time-subtract): Remove functions.
576 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
577 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
578 * net/tramp-cache.el (tramp-get-file-property):
579 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
580 Use `time-less-p' and `time-subtract, respectively.
582 * net/tramp-adb.el (top): Do not require time-date.el.
584 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
586 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
587 Check, whether `utf-8' is a valid coding system.
589 2014-11-19 Eli Zaretskii <eliz@gnu.org>
591 * vc/vc.el (vc-retrieve-tag): Doc fix.
593 2014-11-17 Eli Zaretskii <eliz@gnu.org>
595 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
596 Don't assume --long is the default for "bzr log", always specify
597 it explicitly, in case the user defined an alias for 'log' that
598 uses some other format.
600 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
602 * progmodes/python.el (python-eldoc--get-doc-at-point):
603 Strip shell output before returning. (bug#18794)
605 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
607 Fix indentation before `!=' and after `+='. Originally reported
608 in https://github.com/mooz/js2-mode/issues/174.
609 * progmodes/js.el (js--indent-operator-re): Make assignments and
610 (in)equality operator a separate case.
611 (js--continued-expression-p): Escape the second `+' in the regexp.
613 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
615 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
617 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
619 * version.el (emacs-repository-get-version): Use git rev-parse
622 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
624 * progmodes/python.el (python-indent-calculate-levels):
625 Fix indentation behavior multiline dedenter statement. (Bug#18432)
627 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
629 * progmodes/python.el (python-indent-region):
630 Use python-indent-line and skip special cases. (Bug#18843)
632 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
634 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
636 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
638 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
639 envelope-from when reporting through sendmail (bug#19054).
641 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
643 * progmodes/python.el (python-ffap-module-path):
644 Use `derived-mode-p' instead of equality test on `major-mode'.
646 2014-11-13 Ulrich Müller <ulm@gentoo.org>
648 * version.el (emacs-repository-get-version): Call `git log'
649 command with proper format argument (bug#19049).
651 2014-11-10 Glenn Morris <rgm@gnu.org>
653 * startup.el (command-line): Handle nil elements in load-path.
655 2014-11-08 Glenn Morris <rgm@gnu.org>
657 * emacs-lisp/bytecomp.el (byte-compile-report-error):
658 Allow the argument to be a string. Due to the vague doc,
659 it was already being used this way.
661 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
663 * net/tramp.el (tramp-check-cached-permissions): Include hop in
664 the constructed Tramp file name. (Bug#18943)
666 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
668 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
670 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
671 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
673 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
675 * files.el (file-name-non-special): Wrap the call of
676 `insert-file-contents' by `unwind-protect', in order to set the
677 buffer's file name anyway. (Bug#18891)
679 2014-11-07 Daiki Ueno <ueno@gnu.org>
681 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
682 (bug#18979). Reported by Hideki Saito.
684 2014-10-18 Alan Mackenzie <acm@muc.de>
686 Check that a "macro" found near point-min isn't a ## operator.
687 Fixes bug #18749. Backported from trunk, 2014-11-05.
688 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
689 (c-beginning-of-macro): Use the above new function.
691 2014-11-05 Alan Mackenzie <acm@muc.de>
693 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
694 * progmodes/cc-fonts.el (c-font-lock-declarations):
695 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
696 the buffer is sometimes narrowed to less than "limit" (e.g., in
697 the presence of macros).
699 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
701 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
702 only when message appeared in minibuffer. (Bug#18891)
704 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
705 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
706 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
709 2014-11-04 Eli Zaretskii <eliz@gnu.org>
711 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
712 returned by load-average.
714 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
716 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
717 a local copy; setting `inhibit-file-name-handlers' proper might be
718 more performant. (Bug#18751)
720 2014-11-04 Glenn Morris <rgm@gnu.org>
722 * mail/emacsbug.el (report-emacs-bug): No longer include
723 recent-keys in the report. (Bug#18900)
725 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
727 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
728 local copy of FILENAME, when it is remote. (Bug#18751)
730 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
732 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
733 an error when the command fails; the return code must indicate.
734 (tramp-adb-send-command-and-check): Fix docstring.
736 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
738 * net/tramp-cache.el (tramp-get-file-property)
739 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
740 and `tramp-cache-set-count-*' are bound. Otherwise, there might
741 be compiler warnings.
743 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
744 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
746 2014-11-01 Eli Zaretskii <eliz@gnu.org>
748 * progmodes/compile.el (compilation-mode): Turn off deferred
749 fontifications locally. (Bug#18856)
751 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
753 * net/tramp-sh.el (tramp-send-command): Fix the case where the
754 remote-echo connection property is non-nil (bug#18858).
756 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
758 Backport Tramp changes from trunk.
760 * net/tramp.el (tramp-methods): Tweak docstring.
761 (tramp-file-name-handler): Apply `cons' where appropriate.
762 (tramp-handle-file-accessible-directory-p): Check for
763 `file-readable-p' instead of `file-executable-p'.
764 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
765 (tramp-handle-unhandled-file-name-directory): Return "/".
766 (tramp-check-cached-permissions):
767 Use `tramp-compat-file-attributes'.
768 (tramp-call-process): Add new argument VEC. Adapt callees in all
771 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
772 (tramp-adb-handle-write-region): Improve messages.
773 (tramp-adb-maybe-open-connection): Don't set
774 `tramp-current-*' variables.
776 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
777 Suppress debug messages.
779 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
780 (tramp-ftp-file-name-handler):
782 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
783 (tramp-gvfs-methods-mounttracker)
784 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
785 during initialization. (Bug#18774)
786 (tramp-gvfs-handle-delete-file): Flush file properties, not
787 directory properties.
788 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
789 reading "unix::mode".
790 (tramp-gvfs-handle-file-name-all-completions):
791 Use "-h" option for "gvfs-ls".
792 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
793 `user' and `localname' could be nil.
794 (tramp-gvfs-send-command): Simplify traces.
796 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
797 (vc-git-program, vc-hg-program): Declare.
798 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
799 (tramp-methods) <nc>: Add new method.
800 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
801 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
803 (tramp-default-user-alist): Add "nc".
804 (top): Remove completion function for "sftp". Add completion
805 functions for "nc" and "psftp".
806 (tramp-sh-handle-set-visited-file-modtime):
807 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
808 (tramp-do-copy-or-rename-file-out-of-band):
809 Use cached "remote-copy-args" value, if available. (Bug#18199)
810 Tweak docstring. Implement support for "nc" method.
811 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
812 (tramp-remote-coding-commands, tramp-call-local-coding-command):
814 (tramp-sh-handle-start-file-process): Expand `default-directory'.
815 (tramp-sh-handle-write-region): Tweak error message.
816 (tramp-sh-handle-vc-registered): Remove backends when the remote
817 binary does not exist.
818 (tramp-open-connection-setup-interactive-shell):
819 Prefer utf-8 coding. (Bug#17859)
820 (tramp-find-inline-encoding): Do not raise an error.
821 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
822 the "nc" case. Quote result also locally.
823 (tramp-get-remote-id): Check also for "gid".
824 (tramp-get-remote-python):
826 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
827 (tramp-smb-handle-set-file-acl): Use `start-process'.
828 (tramp-smb-handle-insert-directory): Use progress reporter.
829 (tramp-smb-handle-rename-file): Flush also file properties of
832 * net/trampver.el: Update release number.
834 2014-11-01 Reuben Thomas <rrt@sc3d.org>
836 * net/tramp.el (tramp-handle-file-symlink-p):
837 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
838 about VMS, which we no longer support.
840 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
842 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
843 the global vc-handled-backends (bug#18535).
845 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
846 Michael Albinus <michael.albinus@gmx.de>
848 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
849 Reduce the amount of set environment variable commands.
851 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
853 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
856 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
858 * net/tramp-sh.el (tramp-get-remote-python): Also search for
859 executables named "python2" or "python3".
860 (tramp-get-remote-uid-with-python): Use parentheses around
861 arguments to `print' to make it compatible with Python 3.
862 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
864 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
866 * simple.el (newline): Add assertions to try and help catch bug#18913.
868 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
870 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
872 2014-10-31 Eli Zaretskii <eliz@gnu.org>
874 * Makefile.in (repo-update): Fix a typo and slightly reword
877 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
879 * Makefile.in: Change some production names so they're neutral
880 about the repository type.
882 2014-10-30 Kim F. Storm <storm@cua.dk>
884 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
885 * delsel.el (delete-selection-save-to-register)
886 (delsel--replace-text-or-position): New vars.
887 (delete-active-region): Use them.
888 (delete-selection-repeat-replace-region): New command, moved from
890 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
891 (cua-repeat-replace-region): Move command to delsel.el.
892 (cua--init-keymaps): Update binding accordingly.
893 (cua-mode): Set delete-selection-save-to-register.
895 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
897 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
899 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
901 2014-10-29 Eli Zaretskii <eliz@gnu.org>
903 * progmodes/compile.el (compilation-start):
904 If compilation-scroll-output is non-nil, don't force window-start of
905 the compilation buffer to be at beginning of buffer. (Bug#18874)
907 2014-10-23 Tassilo Horn <tsdh@gnu.org>
909 * doc-view.el (doc-view-open-text): View the document's plain text
910 in the current buffer instead of a new one.
911 (doc-view-toggle-display): Handle the case where the current
912 buffer contains the plain text contents of the document.
913 (doc-view-initiate-display): Don't switch to fallback mode if the
914 user wants to view the doc's plain text. [Backport]
916 2014-10-23 Eli Zaretskii <eliz@gnu.org>
918 * startup.el (fancy-about-text): Read the entire tutorial, not
919 just its first 256 bytes. (Bug#18760)
921 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
923 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
924 * emacs-lisp/cl-extra.el: Add missing provide.
926 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
928 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
929 all args are copyable (bug#18767).
930 (=, <, >, <=, >=): Re-enable the optimization.
932 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
934 * vc/vc-hg.el (vc-hg-log-graph): New var.
935 (vc-hg-print-log): Use it.
936 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
937 graph output (bug#17515).
939 2014-10-20 Juri Linkov <juri@jurta.org>
941 * vc/diff-mode.el (diff-refine-changed): Rename from
942 `diff-refine-change' for consistency with `diff-changed'.
943 (diff-refine-change): Add obsolete face alias. (Bug#10181)
945 * vc/smerge-mode.el (smerge-refined-changed): Rename from
946 `smerge-refined-change'.
947 (smerge-refined-change): Add obsolete face alias.
949 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
951 * subr.el (call-process-shell-command, process-file-shell-command):
952 Make the `args' obsolete (bug#18409).
953 (start-process-shell-command, start-file-process-shell-command):
956 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
958 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
960 2014-10-20 Glenn Morris <rgm@gnu.org>
962 * dired.el (dired-read-regexp): Make obsolete.
963 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
964 (dired-flag-files-regexp):
965 * dired-aux.el (dired-mark-read-regexp):
966 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
968 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
970 * progmodes/python.el (inferior-python-mode): Use add-hook.
972 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
974 2014-10-20 Glenn Morris <rgm@gnu.org>
976 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
977 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
978 * emulation/ws-mode.el: Move to obsolete/. [Backport]
980 2014-10-20 Glenn Morris <rgm@gnu.org>
982 * cus-start.el (history-length): Bump :version. [Backport]
984 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
986 * obsolete/cc-compat.el: Make obsolete (bug#18561).
988 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
990 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
993 2014-10-20 Glenn Morris <rgm@gnu.org>
995 * Version 24.4 released.
997 2014-10-15 Alan Mackenzie <acm@muc.de>
999 * cus-edit.el (custom-command-apply): Specify the return value in
1001 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1002 custom-command-apply has returned non-nil.
1004 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
1007 Backported (bug#18688).
1009 2014-10-14 Eli Zaretskii <eliz@gnu.org>
1011 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1012 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1013 buffer-menu display when the first buffer happens to start with
1016 2014-10-13 Glenn Morris <rgm@gnu.org>
1018 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1019 (authors-obsolete-files-regexps): Additions.
1020 (authors-no-scan-regexps): New constant.
1021 (authors-no-scan-file-p): New function.
1022 (authors): Respect authors-no-scan-file-p.
1024 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1026 Fix import completion. (Bug#18582)
1027 * progmodes/python.el (python-shell-completion-get-completions):
1028 Fix import case regexp.
1030 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1033 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1034 * progmodes/prolog.el (prolog-electric--underscore): Same.
1036 2014-10-09 Glenn Morris <rgm@gnu.org>
1038 * frame.el (display-monitor-attributes-list): Doc tweaks.
1040 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1042 * faces.el (display-grayscale-p): Mention in the doc string that
1043 the argument can be either a display name or a frame.
1045 * frame.el (display-pixel-height, display-pixel-width)
1046 (display-mm-height, display-mm-width, display-backing-store)
1047 (display-save-under, display-planes, display-color-cells)
1048 (display-visual-class, display-monitor-attributes-list)
1049 (display-screens): Mention in the doc string that the argument can
1050 be either a display name or a frame. Improve the docs of the
1051 monitor attributes. (Bug#18636)
1053 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1055 * term.el (term-window-width): Subtract 1 from the width when
1056 any fringe has zero width, not just the right fringe. (Bug#18601)
1058 2014-10-05 Leo Liu <sdl.web@gmail.com>
1060 * imenu.el (imenu-default-goto-function): Fix typo.
1062 2014-10-04 Glenn Morris <rgm@gnu.org>
1064 * frame.el (frame-monitor-attributes)
1065 (display-monitor-attributes-list): Doc fixes.
1067 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1069 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1070 (vc-svn-ignore): Use it. (Bug#18619)
1072 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1074 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1075 In doc-string mention need to set `frame-resize-pixelwise'.
1077 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1080 similarly to Rogers's 2010-06-16 change for the remote case
1083 2014-10-01 Glenn Morris <rgm@gnu.org>
1085 * emacs-lisp/package.el (package-import-keyring):
1086 Create gnupg directory private. (Bug#17625#155)
1088 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1090 * progmodes/python.el (python-shell-completion-get-completions):
1091 Use python-shell--prompt-calculated-input-regexp from the
1092 process buffer (bug#18582).
1093 Don't assume that `line' comes from the process buffer.
1095 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1097 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1100 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1102 * emacs-lisp/package.el (package-check-signature): Default to nil if
1103 GPG is not available.
1104 (package-refresh-contents): Don't mess with the keyring if we won't
1105 check the signatures anyway.
1107 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1109 * window.el (fit-window-to-buffer): When counting buffer width,
1110 count the whole visible buffer. Correctly convert the body-height
1111 to pixel size for window-text-pixel-size (Bug#18498).
1113 2014-09-14 Glenn Morris <rgm@gnu.org>
1115 * image.el (image-multi-frame-p): Fix thinko - do not force
1116 a delay if none was specified. (Bug#18334)
1118 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1120 * window.el (fit-window-to-buffer): Doc fix.
1122 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1124 * desktop.el (desktop-create-buffer): Check that buffers are still live
1125 before burying them (bug#18373).
1127 2014-09-09 Glenn Morris <rgm@gnu.org>
1129 * calendar/diary-lib.el (diary-list-entries):
1130 Restore 24.3 display behavior. (Bug#18381)
1132 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1134 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1135 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1136 discrepancy between window-pixel-edges and mouse events, and
1137 avoids moving mode line up when the mouse click is on the modeline
1138 and no drag is attempted.
1140 2014-09-08 Glenn Morris <rgm@gnu.org>
1142 * calendar/calendar.el (calendar-basic-setup):
1143 Avoid clobbering calendar with diary. (Bug#18381)
1145 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1147 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1149 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1151 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1152 as well (bug#18400).
1154 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1156 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1158 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * emacs-lisp/package.el (package-generate-description-file):
1161 Properly quote the arguments (bug#18332). Change second arg.
1162 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1164 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1165 the *-pkg.el file. Adjust to new calling convention of
1166 package-generate-description-file.
1168 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1169 (gud-gdb-completions): Remove obsolete workaround.
1171 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1173 * subr.el (posn-col-row): Revert the change from commit
1174 2010-11-13T21:07:58Z!eliz@gnu.org, which
1175 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1176 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1177 introduced an off-by-one error in the reported row when there is a
1178 header line. (Bug#18384)
1180 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1182 * progmodes/python.el (python-indent-post-self-insert-function):
1183 Avoid electric colon at beginning-of-defun. (Bug#18228)
1185 2014-09-01 Glenn Morris <rgm@gnu.org>
1187 * tutorial.el (tutorial--display-changes):
1188 Fix 2014-07-29 change. (Bug#18382)
1190 2014-08-29 Ken Brown <kbrown@cornell.edu>
1192 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1193 the Cygwin-w32 build. (Bug#18347)
1195 2014-08-28 Glenn Morris <rgm@gnu.org>
1197 * tar-mode.el (tar--extract, tar-extract):
1198 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1200 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1202 * emacs-lisp/authors.el (authors-aliases): Addition.
1204 * net/tramp-adb.el: Spell author name correctly.
1206 2014-08-27 João Távora <joaotavora@gmail.com>
1208 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1209 use url-expand-file-name. (Bug#18310)
1211 2014-08-25 Glenn Morris <rgm@gnu.org>
1213 * emulation/cua-rect.el (cua--highlight-rectangle):
1214 Avoid error at point-min. (Bug#18309)
1216 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1218 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1219 executable-find (bug#18244).
1221 * simple.el (self-insert-uses-region-functions): Defvar.
1223 2014-08-13 Leo Liu <sdl.web@gmail.com>
1225 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1226 elements from imenu.
1228 2014-08-11 Glenn Morris <rgm@gnu.org>
1230 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1232 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1233 chose coding system for writing before backing up, since it causes
1234 a more serious problem than the one it solves. (Closes Bug#18141,
1237 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1239 * window.el (window-total-size): Make doc-string more
1242 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1244 * window.el (display-buffer-below-selected): Restore original
1245 behavior if buffer is already displayed in the window below the
1246 selected one (Bug#18181).
1248 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1250 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1253 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1255 * info.el (info): Doc fix.
1257 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1262 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1264 * simple.el (default-line-height): A floating-point value of
1265 line-spacing means a fraction of the default frame font's height,
1266 not of the font currently used by the 'default' face.
1267 Truncate the pixel value, like the display engine does.
1268 (window-screen-lines): Use window-inside-pixel-edges for
1269 determining the window height in pixels. (Bug#18195)
1271 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1273 * tutorial.el (tutorial--display-changes): Accept punctuation
1274 characters before the key binding. (Bug#18146)
1276 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1278 * doc-view.el (doc-view-open-text): Don't require that the
1279 document is saved in a file (e.g., email attachment).
1281 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1283 * window.el (window--pixel-to-total): Use FRAME's root window, not
1284 that of the selected frame. (Bug#18112, Bug#16674)
1286 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1288 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1291 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1293 * progmodes/python.el (inferior-python-mode): Doc fix.
1295 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1297 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1298 not a character, ignore it instead of raising an error.
1300 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1302 * calendar/todo-mode.el: Fix handling of marked items and make
1303 minor code improvements.
1304 (todo-edit-item): If there are marked items, ensure user can only
1305 invoke editing commands that work with marked items.
1306 (todo-edit-item--text): When there are marked items, make it a
1307 noop if invoked with point not on an item; otherwise, ensure it
1308 applies only to item at point.
1309 (todo-item-undone): If there are marked not-done items, return
1310 point to its original position before signaling user error.
1311 (todo--user-error-if-marked-done-item): New function.
1312 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1313 (todo-item-done): Use it.
1315 2014-07-25 Glenn Morris <rgm@gnu.org>
1317 * files.el (toggle-read-only): Re-add basic doc-string.
1318 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1320 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1321 Replace missing `switch-to-prolog' with `run-prolog'.
1322 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1324 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1326 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1327 of file-wide setting when changing category-wide setting.
1329 2014-07-21 Glenn Morris <rgm@gnu.org>
1331 * progmodes/hideif.el (hide-ifdef-mode-submap):
1332 Also substitute read-only-mode.
1333 * bindings.el (mode-line-toggle-read-only):
1334 * bs.el (bs-toggle-readonly):
1335 * buff-menu.el (Buffer-menu-toggle-read-only):
1336 * dired.el (dired-toggle-read-only):
1337 * files.el (view-read-only, find-file-read-only)
1338 (find-file-read-only-other-window)
1339 (find-file-read-only-other-frame):
1340 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1341 Doc fixes re toggle-read-only.
1343 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1345 * progmodes/python.el: Add comment about pipe buffering and
1346 solutions for missing/delayed output in inferior Python shells.
1349 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1351 * progmodes/python.el (python-mode): Don't set
1352 mode-require-final-newline. (Bug#17990)
1354 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1356 Make python.el work with IPython automatically. (Bug#15510)
1357 * progmodes/python.el:
1358 (python-shell-completion-setup-code): New value supporting iPython.
1359 (python-shell-completion-string-code): New value supporting iPython.
1360 (python-shell-completion-get-completions): Use them.
1361 (python-shell-completion-module-string-code): Make obsolete.
1362 (python-shell-prompt-input-regexps)
1363 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1364 (python-shell-output-filter): Fix comment typo.
1366 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1368 Fix Python shell prompts detection for remote hosts.
1369 * progmodes/python.el (python-shell-prompt-detect):
1370 Replace call-process with process-file and make it more robust.
1372 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1374 Autodetect Python shell prompts. (Bug#17370)
1375 * progmodes/python.el:
1376 (python-shell-interpreter-interactive-arg)
1377 (python-shell-prompt-detect-enabled)
1378 (python-shell-prompt-detect-failure-warning)
1379 (python-shell-prompt-input-regexps)
1380 (python-shell-prompt-output-regexps): New vars.
1381 (python-shell-prompt-calculated-input-regexp)
1382 (python-shell-prompt-calculated-output-regexp): New vars.
1383 (python-shell-get-process-name)
1384 (python-shell-internal-get-process-name)
1385 (python-shell-output-filter)
1386 (python-shell-completion-get-completions): Use them.
1387 (python-shell-prompt-detect)
1388 (python-shell-prompt-validate-regexps): New functions.
1389 (python-shell-prompt-set-calculated-regexps): New function.
1390 (inferior-python-mode): Use it. Also honor overridden
1391 python-shell-interpreter and python-shell-interpreter-args.
1392 (python-shell-make-comint): Honor overridden
1393 python-shell-interpreter and python-shell-interpreter-args.
1394 (python-shell-get-or-create-process): Make it testable by allowing
1395 to call run-python non-interactively.
1396 (python-util-valid-regexp-p): New function.
1397 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1398 (python-shell-prompt-output-regexp)
1399 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1401 2014-07-16 Glenn Morris <rgm@gnu.org>
1403 * desktop.el (after-init-hook): Disable startup frame restoration
1404 in non-graphical situations. (Bug#17693)
1406 2014-07-14 Glenn Morris <rgm@gnu.org>
1408 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1409 if it was "empty", or used for a different set of files. (Bug#17884)
1411 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1413 * bindings.el (mode-line-remote): If default-directory is not a
1414 string, don't call file-remote-p on it; instead state in the
1415 help-echo that it is nil. (Bug#17986)
1417 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1419 Fix bug: C-x v v discarded existing log message (Bug#17884).
1420 * vc/vc-dispatcher.el (vc-log-edit):
1421 Don't clobber an already-existing log message.
1423 2014-07-10 Glenn Morris <rgm@gnu.org>
1425 * vc/log-edit.el (log-edit-changelog-entries):
1426 Check for a visited-but-never-saved ChangeLog.
1428 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1431 a non-existing file (bug#17970).
1433 * faces.el (face-name): Undo last change.
1434 (x-resolve-font-name): Don't call face-name (bug#17956).
1436 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1438 Fix dedenters and electric colon handling. (Bug#15163)
1440 * progmodes/python.el
1441 (python-rx-constituents): Add dedenter and block-ender.
1442 (python-indent-dedenters, python-indent-block-enders): Delete.
1443 (python-indent-context): Return new case for dedenter-statement.
1444 (python-indent-calculate-indentation): Handle new case.
1445 (python-indent-calculate-levels): Fix levels calculation for
1446 dedenter statements.
1447 (python-indent-post-self-insert-function): Fix colon handling.
1448 (python-info-dedenter-opening-block-message): New function.
1449 (python-indent-line): Use it.
1450 (python-info-closing-block)
1451 (python-info-closing-block-message): Remove.
1452 (python-info-dedenter-opening-block-position)
1453 (python-info-dedenter-opening-block-positions)
1454 (python-info-dedenter-statement-p): New functions.
1456 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1459 the middle of a line (bug#17896).
1461 2014-07-08 Juri Linkov <juri@jurta.org>
1463 * startup.el (command-line): Append displaying the warning about
1464 the errors in the init file to the end of `after-init-hook'.
1467 2014-07-08 Juri Linkov <juri@jurta.org>
1469 * faces.el (face-name): Return input arg `face' as is
1470 when it's not a symbol.
1471 (x-resolve-font-name): Don't check if the face is a symbol.
1474 2014-07-08 Juri Linkov <juri@jurta.org>
1476 * facemenu.el (list-colors-print): In help-echo format use %.2f
1477 instead of %d because now HSV values are floating-point components
1478 between 0.0 and 1.0.
1480 2014-07-06 Glenn Morris <rgm@gnu.org>
1482 * emulation/cua-rect.el (cua--activate-rectangle):
1483 Avoid setting cua--rectangle to nil. (Bug#17877)
1485 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1487 * calendar/todo-mode.el: Fix wrong-type-argument error when
1488 marking multiple consecutive items.
1489 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1490 end of the todo and done items sections. Note in doc string that
1491 items marked by passing a numeric prefix argument can include the
1492 last todo and first done items.
1493 (todo-mark-category): Don't try to mark the empty line between the
1494 todo and done items sections.
1496 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1498 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1499 proper Lisp quoting (bug#17934).
1501 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1502 require-final-newline since prog-mode already took care of it (bug#17947).
1504 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1506 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1507 refer to the Todo mode Info manual. Update the comment on
1509 (todo-find-filtered-items-file): Add todo-prefix overlays.
1510 (todo-filter-items): Reorder a let-bound variable to avoid a
1511 wrong-type-argument error on canceling the file choice dialog.
1513 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * progmodes/octave.el (inferior-octave-mode):
1516 Set comint-input-ring-size to a number (bug#17912).
1518 2014-07-03 Juri Linkov <juri@jurta.org>
1520 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1521 and `isearch-mode' associated with nil. (Bug#17849)
1523 2014-07-02 Juri Linkov <juri@jurta.org>
1525 * desktop.el (desktop-save): Rename arg `auto-save' to
1526 `only-if-changed'. Doc fix. (Bug#17873)
1528 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1530 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1531 Use insert-for-yank (bug#17271).
1533 2014-07-02 Leo Liu <sdl.web@gmail.com>
1535 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1536 Support lexical-binding.
1538 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * vc/log-edit.el (log-edit-goto-eoh): New function.
1541 (log-edit--match-first-line): Use it (bug#17861).
1543 2014-07-01 Glenn Morris <rgm@gnu.org>
1545 * vc/log-edit.el (log-edit-hook): Add missing :version.
1547 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1549 * progmodes/python.el (python-indent-post-self-insert-function):
1550 Enhancements to electric indentation behavior inside
1553 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1556 buffer-invisibility-spec (bug#17867).
1558 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1560 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1563 2014-06-29 Glenn Morris <rgm@gnu.org>
1565 * cus-edit.el (help):
1566 * finder.el (finder-known-keywords):
1567 * help.el (help-for-help-internal):
1568 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1569 (ediff-redraw-registry-buffer):
1570 * vc/ediff-ptch.el (ediff-patch-file-internal):
1571 Doc fixes re "online" help. (Bug#17803)
1573 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1574 (idlwave-mode): Doc URL update.
1576 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1578 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1579 account for file-wide setting of todo-top-priorities-overrides.
1580 Make code a bit cleaner.
1582 2014-06-27 Leo Liu <sdl.web@gmail.com>
1584 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1586 2014-06-27 Glenn Morris <rgm@gnu.org>
1588 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1590 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1592 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1593 category-wide setting of todo-top-priorities-overrides, check for
1594 a file-wide setting and fontify accordingly.
1596 2014-06-26 Glenn Morris <rgm@gnu.org>
1598 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1600 2014-06-26 Daiki Ueno <ueno@gnu.org>
1602 * emacs-lisp/package.el (package--check-signature):
1603 If package-check-signature is allow-unsigned, don't signal error when
1604 we can't verify signature because of missing public key
1605 (backport for bug#17625).
1607 2014-06-26 Glenn Morris <rgm@gnu.org>
1609 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1610 Remove outdated declaration.
1612 * emacs-lisp/authors.el (authors-valid-file-names)
1613 (authors-renamed-files-alist): Additions.
1615 2014-06-25 Leo Liu <sdl.web@gmail.com>
1617 * textmodes/picture.el (picture-set-tab-stops):
1618 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1619 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1621 * progmodes/asm-mode.el (asm-calculate-indentation):
1622 Use indent-next-tab-stop.
1624 * indent.el (indent-accumulate-tab-stops): New function.
1626 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1629 (package-desc-status): Obey it.
1631 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1633 * calendar/todo-mode.el: Fix two bugs.
1634 (todo-insert-item--basic): If user cancels item insertion to
1635 another category before setting priority, show original category
1636 whether it is in the same or a different file.
1637 (todo-set-item-priority): After selecting category, instead of
1638 moving point to top, which extends an active region, restore it.
1640 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1642 * help-fns.el (describe-function-1): Check file-name is a string before
1643 calling help-fns--autoloaded-p (bug#17564).
1645 2014-06-24 Juri Linkov <juri@jurta.org>
1647 * desktop.el (desktop-auto-save-enable)
1648 (desktop-auto-save-disable): New functions.
1649 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1650 (desktop-read): Disable the autosave before loading the desktop,
1651 and enable afterwards. (Bug#17351)
1653 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1655 Fix some indentation problem with \; and pipes (bug#17842).
1656 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1657 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1659 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1660 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1661 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1663 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1665 * international/fontset.el (script-representative-chars):
1666 Add representative characters for scripts added in Unicode 7.0.
1667 (otf-script-alist): Synchronize with the latest registry of OTF
1670 * international/characters.el (char-script-table): Update for
1671 scripts added and codepoint ranges changed in Unicode 7.0.
1673 2014-06-23 Leo Liu <sdl.web@gmail.com>
1675 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1676 tab-stop-list to nil. (Bug#16381)
1678 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1679 (indent-rigidly-left-to-tab-stop)
1680 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1681 (move-to-tab-stop): Change callers.
1683 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1685 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1686 wrt behavior of \n as the first/last element of a skeleton.
1688 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1690 * net/tramp-adb.el (tramp-adb-handle-process-file):
1691 * net/tramp-sh.el (tramp-sh-handle-process-file):
1692 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1693 the output buffer when DISPLAY is non-nil. (Bug#17815)
1695 2014-06-21 Glenn Morris <rgm@gnu.org>
1697 * play/landmark.el (landmark-move-down, landmark-move-up):
1698 Fix 2007-10-20 change - preserve horizontal position.
1700 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1702 Fix completion retrieval parsing (bug#17209).
1703 * progmodes/python.el (python-mode):
1704 (python-util-strip-string): New function.
1705 (python-shell-completion-get-completions): Use it.
1707 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1709 * skeleton.el (skeleton-insert): Fix last change.
1711 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1713 Enhancements for outline integration (bug#17796).
1714 * progmodes/python.el (python-mode): Properly set
1715 outline-heading-end-regexp so that comments after colons for
1716 defuns are supported.
1718 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1720 * skeleton.el (skeleton-insert): Doc fix.
1722 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1725 (smie-config-guess): Use smie-config-local so the rules are obeyed
1728 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1729 since it's already done inside the loop (bug#17819).
1731 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1733 * mouse.el (mouse-drag-line): Re-remove code initially removed
1734 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1737 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1740 align with the surrounding parent (bug#17721).
1742 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1744 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1746 (texinfo-insert-block, texinfo-insert-@end)
1747 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1748 local setting of skeleton-end-newline by adding an explicit \n to
1749 the skeletons where appropriate. (Bug#17801)
1751 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1753 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1754 (smie-indent--hanging-p): Use it.
1755 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1757 2014-06-20 Leo Liu <sdl.web@gmail.com>
1759 * simple.el (read-quoted-char): Don't let help chars pop up help
1762 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1767 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1770 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1773 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1775 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1776 and later. (Bug#17790)
1778 2014-06-18 Juri Linkov <juri@jurta.org>
1780 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1781 to `soft'. (Bug#17554)
1783 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1788 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1790 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1791 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1793 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1795 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1796 `unread-command-events'.
1798 2014-06-14 Glenn Morris <rgm@gnu.org>
1800 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1801 Replace delete-duplicates and mapcan by cl- versions throughout.
1802 And cl-macroexpand-all by macroexpand-all.
1803 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1805 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1807 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1809 2014-06-14 Juri Linkov <juri@jurta.org>
1811 * bindings.el: Put `ascii-character' property on keypad keys
1812 mapped to characters. (Bug#17759)
1814 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1817 bumping forward into a closing paren (bug#17761).
1819 * term/xterm.el (xterm--version-handler): Work around for OSX
1820 Terminal.app (bug#17607).
1822 2014-06-08 Glenn Morris <rgm@gnu.org>
1824 * startup.el (initial-buffer-choice): Doc fix.
1825 Reset :version (adding an option does not merit a :version bump).
1827 * bookmark.el (bookmark-load):
1828 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1830 2014-06-06 Juri Linkov <juri@jurta.org>
1832 * desktop.el: Activate auto-saving on window configuration changes.
1833 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1834 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1835 (desktop-auto-save-set-timer): Change REPEAT arg of
1836 `run-with-idle-timer' from t to nil.
1837 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1839 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1841 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1842 vc-hg-command (bug#17570).
1844 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1846 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1849 2014-06-06 Glenn Morris <rgm@gnu.org>
1851 * startup.el (window-setup-hook): Doc fix.
1853 2014-06-05 Glenn Morris <rgm@gnu.org>
1855 * emacs-lisp/package.el (package-check-signature)
1856 (package-unsigned-archives): Doc fixes.
1858 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1860 * window.el (display-buffer-use-some-window): Don't make window
1861 used smaller than it was before (Bug#17671).
1863 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1865 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1866 'redisplay' instead of '(sit-for 0)'.
1868 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1870 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1873 2014-06-03 Glenn Morris <rgm@gnu.org>
1875 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1877 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1879 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1881 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1883 * simple.el (keyboard-quit): Force update of mode lines, to remove
1884 the "Def" indicator, if we were defining a macro. (Bug#17615)
1886 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1888 * minibuffer.el (minibuffer-force-complete-and-exit):
1889 Obey minibuffer-default (bug#17545).
1891 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1894 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1896 * subr.el (set-transient-map): Don't wait for some "nested"
1897 transient-map to finish if we're only supposed to be active for
1898 the next command (bug#17642).
1900 2014-05-31 Leo Liu <sdl.web@gmail.com>
1902 * emacs-lisp/gv.el (window-buffer, window-display-table)
1903 (window-dedicated-p, window-hscroll, window-point, window-start):
1904 Fix gv-expander. (Bug#17630)
1906 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1911 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1912 for the single comma, since ", " is *very* common in normal French text
1915 2014-05-30 Glenn Morris <rgm@gnu.org>
1917 * emacs-lisp/package.el (package-check-signature)
1918 (package-unsigned-archives): Fix :version.
1920 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1922 * subr.el (sit-for): Don't run input-methods (bug#15614).
1924 2014-05-28 Glenn Morris <rgm@gnu.org>
1926 * cus-start.el: Fix some :version numbers.
1928 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1930 * simple.el (deactivate-mark): Set mark-active to nil even if
1931 deactivation is done via setting transient-mark-mode to nil,
1932 since one is buffer-local and the other is global.
1934 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1935 there can't be more than 2 arguments (bug#17584).
1937 2014-05-27 Glenn Morris <rgm@gnu.org>
1939 * simple.el (filter-buffer-substring-functions)
1940 (filter-buffer-substring-function, buffer-substring-filters)
1941 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1943 * minibuffer.el (completion-in-region-functions, completion-in-region)
1944 (completion--in-region): Doc fixes.
1946 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1947 (expand-abbrev, abbrev--default-expand): Doc fixes.
1949 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1951 Include sources used to create macuvs.h.
1952 * international/README: Refer to the Unicode Terms of Use rather
1953 than copying it bodily here, as that simplifies maintenance.
1955 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1957 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1959 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1961 * window.el (window--dump-frame): Remove interactive
1964 2014-05-23 Glenn Morris <rgm@gnu.org>
1966 * hippie-exp.el (he-line-search-regexp):
1967 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1969 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1971 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1972 to avoid errors when trying to create or visit a file foo.todo
1973 located outside to todo-directory, and to allow having such files
1974 without them being tied to Todo mode (bug#17482).
1975 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1976 (todo-archive-done-item, todo-find-filtered-items-file)
1977 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1978 (todo-category-completions, todo-read-category): When visiting a
1979 Todo file, make sure we're in the right mode and the buffer local
1981 (todo-make-categories-list, todo-reset-nondiary-marker)
1982 (todo-reset-done-string, todo-reset-comment-string):
1983 After processing all Todo files, kill the buffers of those files that
1984 weren't being visited before the processing.
1985 (todo-display-as-todo-file, todo-add-to-buffer-list)
1986 (todo-visit-files-commands): Comment out.
1987 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1988 (auto-mode-alist): Remove add-to-list calls making Todo file
1989 extensions unrestrictedly tied to Todo modes.
1991 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1993 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1994 (advice-function-member-p): Tell it to check both names and functions
1996 (advice--add-function): Adjust call accordingly.
1998 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
2000 * calendar/todo-mode.el: Miscellaneous bug fixes.
2001 (todo-delete-file): When deleting an archive but not its todo
2002 file, make sure to update the todo file's category sexp.
2003 (todo-move-category): Keep the moved category's name unless the
2004 file moved to already has a category with that name. If the
2005 numerically last category of the source file was moved, make the
2006 first category current to avoid selecting a nonexisting category.
2007 (todo-merge-category): Fix implementation to make merging to a
2008 category in another file work as documented. Eliminate now
2009 insufficient and unnecessary renaming of archive category, correct
2010 document string accordingly, and clarify it. If the numerically
2011 last category of the source file was merged, make the first
2012 category current to avoid selecting a nonexisting category.
2013 (todo-archive-done-item): When there are marked items and point
2014 happens to be on an unmarked item, ignore the latter. Don't leave
2015 point below last item after archiving marked items.
2016 (todo-unarchive-items): Fix logic to ensure unarchiving an item
2017 from an archive with only one category deletes the archive only
2018 when the category is empty after unarchiving. Make sure the todo
2019 file's category sexp is updated.
2020 (todo-read-file-name): Allow an existing file name even when it is
2021 not required (todo-move-category needs this to work as documented).
2022 (todo-add-file): Call todo-validate-name to reject the name of an
2023 existing todo file (needed due to fix in todo-read-file-name).
2024 (todo-reset-nondiary-marker): Also reset in filtered items files.
2025 (todo-reset-done-string, todo-reset-comment-string): Also reset in
2026 regexp filtered items files.
2027 (todo-reset-highlight-item): Also reset in filtered items files.
2028 Fix incorrect variable reference in document string.
2030 2014-05-22 Glenn Morris <rgm@gnu.org>
2032 * window.el (window--dump-frame): Avoid error in --without-x builds.
2034 2014-05-21 Glenn Morris <rgm@gnu.org>
2036 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2038 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2040 * frame.el (set-frame-font): Doc fix.
2042 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2044 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2046 * emacs-lisp/package.el (package--download-one-archive):
2047 Use `write-region' instead of `save-buffer' to avoid running various
2049 (describe-package-1): Same. Insert newline at the end of the
2050 buffer if appropriate.
2052 2014-05-20 Juri Linkov <juri@jurta.org>
2054 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2055 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2056 Add more modifiers: meta, control, shift, hyper, super, alt.
2059 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2060 to allow changing its value with `set-variable'.
2062 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2066 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2068 (scheme-mode-variables): Set syntax-propertize-function instead of
2069 font-lock-syntactic-face-function.
2070 (scheme-font-lock-syntactic-face-function): Delete.
2072 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2074 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2076 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2079 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2081 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2082 for a temporary file name.
2084 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2086 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2088 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2090 * net/dbus.el (dbus-init-bus, dbus-call-method)
2091 (dbus-call-method-asynchronously, dbus-send-signal)
2092 (dbus-method-return-internal, dbus-method-error-internal):
2093 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2095 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2097 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2098 methods which do not have a doc string. (Bug#17490)
2100 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2101 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2106 2014-05-14 Glenn Morris <rgm@gnu.org>
2108 * vc/emerge.el (emerge-temp-file-prefix):
2109 Make pointless option obsolete.
2110 (emerge-temp-file-mode): Make non-functional option obsolete.
2112 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2114 * net/browse-url.el (browse-url):
2115 Use `unhandled-file-name-directory' when setting `default-directory',
2116 in order to circumvent stalled remote connections. (Bug#17425)
2118 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2121 into autoloading just because of a silly indirection.
2123 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2125 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2127 2014-05-11 Glenn Morris <rgm@gnu.org>
2129 * emacs-lisp/find-gc.el: Move to ../admin.
2131 2014-05-10 Glenn Morris <rgm@gnu.org>
2133 * printing.el (pr-version):
2134 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2136 * net/browse-url.el (browse-url-mosaic):
2137 Create /tmp/Mosaic.PID as a private file.
2139 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2141 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2142 (advice--member-p): If name is given, only compare the name.
2143 (advice--remove-function): Don't stop at the first match.
2144 (advice--normalize-place): New function.
2145 (add-function, remove-function): Use it.
2146 (advice--add-function): Pass the name, if any, to
2147 advice--remove-function.
2149 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2151 * electric.el (electric-indent-post-self-insert-function): Don't use
2152 `pos' after modifying the buffer (bug#17449).
2154 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * subr.el (function-put): Add function.
2158 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2160 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2161 Correct argument list to conform to todo-insert-item--basic.
2163 2014-05-09 Glenn Morris <rgm@gnu.org>
2165 * files.el (cd-absolute): Test if directory is accessible
2166 rather than executable. (Bug#17330)
2168 * progmodes/compile.el (recompile):
2169 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2171 2014-05-08 Juri Linkov <juri@jurta.org>
2173 * dired.el (dired-check-switches, dired-switches-recursive-p):
2174 New functions. (Bug#17218)
2175 (dired-switches-escape-p, dired-move-to-end-of-filename):
2176 Use `dired-check-switches'.
2177 (dired-insert-old-subdirs, dired-build-subdir-alist)
2178 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2180 2014-05-08 Glenn Morris <rgm@gnu.org>
2182 * net/browse-url.el (browse-url-mosaic):
2183 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2184 This is CVE-2014-3423.
2186 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2189 (xterm-mouse--read-event-sequence-1000): Return nil if something
2191 (xterm-mouse-event): Propagate it.
2192 (xterm-mouse-translate-1): Handle it.
2194 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2196 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2197 four slots of the parameter list are filled, make sure to pass it
2198 to the argument list of todo-insert-item--basic.
2200 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2203 Add optional `seen' argument to detect and break infinite loops.
2205 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2207 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2208 (trace-unsafe, trace-use-tree): Make parentheses style be
2209 according to Emacs style.
2211 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2213 * net/tramp-sh.el (tramp-remote-process-environment):
2214 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2216 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2217 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2218 extra "PSx=..." commands.
2219 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2222 (tramp-uudecode): Replace the hard-coded temporary file name by a
2224 (tramp-remote-coding-commands): Enhance docstring.
2225 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2227 This is CVE-2014-3424.
2229 2014-05-06 Glenn Morris <rgm@gnu.org>
2231 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2232 (find-gc-source-files): Update some names.
2233 (trace-call-tree): Simplify and update.
2234 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2235 This is CVE-2014-3422.
2237 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2239 * minibuffer.el (completion--try-word-completion): Revert fix for
2240 Bug#15980 (bug#17375).
2242 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2243 Always store button numbers in the same way in xterm-mouse-last;
2244 Don't burp is xterm-mouse-last is not set as expected.
2245 Never return negative indices.
2247 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2249 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2250 Backtrack one char if the global/char-literal var matcher hits
2251 inside a string. The next char could be the beginning of an
2252 expression expansion.
2254 2014-05-05 Glenn Morris <rgm@gnu.org>
2256 * help-fns.el (describe-function-1): Test for an autoload before a
2257 macro, since `macrop' works on autoloads. (Bug#17410)
2259 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2261 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2263 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2264 Make sure the new point we return is within the new string (bug#17239).
2266 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2268 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2270 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2272 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2273 Use nil rather than `default' for the "default" appearance (bug#17388).
2274 * vc/ediff-util.el (ediff-inferior-compare-regions)
2275 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2276 a misleading `default' value when it's really a boolean.
2277 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2278 overlay is not visible.
2280 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2282 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2283 (todo-menu): Uncomment and update.
2285 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2287 * calendar/todo-mode.el: Reimplement item editing to have the same
2288 basic user interface as item insertion, and make small UI and
2289 larger internal improvements to the latter.
2290 (todo-insert-item): Add reference to the Todo mode user manual to
2291 the documentation string.
2292 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2293 adjust all callers. Change signature to combine diary and
2294 nonmarking arguments. Incorporate functionality of deleted item
2295 copying command and add error checking. Remove detailed
2296 descriptions of the arguments from the documentation string, since
2297 this is treated in the Todo mode user manual.
2298 (todo-copy-item, todo-edit-multiline-item)
2299 (todo-edit-done-item-comment, todo-edit-item-header)
2300 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2301 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2302 (todo-edit-item-date-year, todo-edit-item-date-month)
2303 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2305 (todo-edit-item): Reimplement as wrapper command for
2306 todo-edit-item--next-key and make it distinguish done and not done
2308 (todo-edit-item--text): New function, replacing old command
2309 todo-edit-item and incorporating deleted commands
2310 todo-edit-multiline-item and todo-edit-done-item-comment.
2311 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2312 Use only numeric value of prefix argument. Remove detailed
2313 descriptions of the arguments from the documentation string, since
2314 this is treated in the Todo mode user manual.
2315 (todo-edit-item--diary-inclusion): New function, replacing old
2316 command todo-edit-item-diary-inclusion and incorporating and fixing
2317 functionality of deleted command todo-edit-item-diary-nonmarking,
2318 making sure to remove todo-nondiary-marker when adding
2319 diary-nonmarking-symbol.
2320 (todo-edit-category-diary-inclusion): Make sure to delete
2321 diary-nonmarking-symbol when adding todo-nondiary-marker.
2322 (todo-edit-category-diary-nonmarking): Fix indentation.
2323 (todo-insert-item--parameters): Group diary and nonmarking
2324 parameters together.
2325 (todo-insert-item--apply-args): Adjust to signature of
2326 todo-insert-item--basic and incorporate copy parameter.
2327 Make small code improvements.
2328 (todo-insert-item--next-param): Improve prompt and adjust it to
2329 new parameter grouping. Remove obsolete code.
2330 (todo-edit-item--param-key-alist)
2331 (todo-edit-item--date-param-key-alist)
2332 (todo-edit-done-item--param-key-alist): New defconsts.
2333 (todo-edit-item--prompt): New variable.
2334 (todo-edit-item--next-key): New function.
2335 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2336 Remove bindings of deleted commands.
2338 2014-05-02 Leo Liu <sdl.web@gmail.com>
2340 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2342 2014-05-01 Glenn Morris <rgm@gnu.org>
2344 * allout-widgets.el (allout-widgets-tally)
2345 (allout-decorate-item-guides):
2346 * menu-bar.el (menu-bar-positive-p):
2347 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2348 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2349 * progmodes/js.el (js--inside-param-list-p)
2350 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2351 * progmodes/prolog.el (region-exists-p):
2352 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2353 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2354 Doc fixes (replace `iff').
2356 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2360 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2362 * dired.el (dired-initial-position-hook, dired-initial-position):
2365 2014-04-29 Glenn Morris <rgm@gnu.org>
2367 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2369 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2371 * faces.el (face-spec-recalc): Apply X resources only after the
2372 defface spec has been applied. Thus, X resources are no longer
2373 overridden by the defface spec which also fixes issues on win32 where
2374 the toolbar coloring was wrong because it is set through X resources
2375 and was (wrongfully) overridden. (Bug#16694)
2377 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2379 * textmodes/rst.el (electric-pair-pairs): Declare.
2380 (rst-mode): Set it (bug#17131).
2382 2014-04-27 Juri Linkov <juri@jurta.org>
2384 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2385 and `print-level' to nil. (Bug#17351)
2387 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2389 * battery.el (battery-update): Handle the case where battery
2390 status is "N/A" (bug#17319).
2392 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2394 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2395 Use equal-including-properties to compare help-echo strings (bug#17331).
2397 2014-04-24 Leo Liu <sdl.web@gmail.com>
2399 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2400 Fix syntax for @. (Bug#17325)
2402 2014-04-24 Daniel Colascione <dancol@dancol.org>
2404 * emacs-lisp/cl.el (gv): Require gv early to break eager
2405 macro-expansion cycles.
2407 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2409 * simple.el (region-active-p): Check there's a mark (bug#17324).
2411 * simple.el (completion-list-mode-map): Use choose-completion for the
2412 mouse binding as well (bug#17302).
2413 (completion-list-mode, completion-setup-function): Adjust docstring and
2414 echo area message accordingly.
2415 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2416 calling convention of choose-completion.
2417 * comint.el (comint-dynamic-list-completions):
2418 * term.el (term-dynamic-list-completions): Accept choose-completion.
2420 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2421 &, |, +, - and * can't be a division (bug#17317).
2423 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2425 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2426 features on gnome-terminal (bug#16988).
2428 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2430 * dired.el (dired-insert-set-properties): Do not consider
2431 subdirectory headings and empty lines to be information that
2432 `dired-hide-details-mode' should hide. (Bug#17228)
2434 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2436 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2437 Remove test messages.
2438 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2441 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2444 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2446 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2448 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2450 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2451 Set "IFS=" when using read builtin, in order to preserve spaces in
2452 the file name. Add test messages for hunting a bug on hydra.
2453 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2455 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2457 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2458 Don't prettify a word within a symbol.
2460 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2462 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2465 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2468 assignments such as "case=hello" (bug#17297).
2470 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2472 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2474 (tramp-file-name-handler, tramp-completion-file-name-handler):
2475 Revert patch from 2014-04-10, it isn't necessary anymore.
2476 (tramp-autoload-file-name-handler)
2477 (tramp-register-autoload-file-name-handlers): New defuns.
2478 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2479 (tramp-register-file-name-handlers): Remove also
2480 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2481 Do not autoload its invocation, but eval it after loading of 'tramp.
2483 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2485 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2487 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2489 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2490 was done (bug#17264).
2491 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2494 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2495 here-documents (bug#17262).
2497 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2499 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2500 Provide doc strings, as required by snarf-documentation.
2502 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2504 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2505 arg of overlays-at. Use `invisible-p'.
2507 * obsolete/lucid.el (extent-at):
2508 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2510 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2512 2014-04-14 João Távora <joaotavora@gmail.com>
2514 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2517 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2519 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2520 Use mapc to loop over a vector. (Bug#17257).
2522 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2524 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2525 patch, there are new problems with file names containing spaces.
2526 Get rid of backticks. (Bug#17238)
2528 2014-04-13 João Távora <joaotavora@gmail.com>
2530 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2533 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2535 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2536 (blink-cursor-mode): Mention customization variables and the
2537 effect of 'blink-cursor-blinks'.
2539 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2541 * simple.el (undo): Prevent insertion of identity mapping into
2542 undo-equiv-table so as undo-only does not inf loop in the presence
2543 of consecutive nils in undo list.
2545 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2547 * faces.el (make-face): Deprecate optional argument as it is no
2548 longer needed/used since the conditional X resources handling
2549 has been pushed down to make-face-x-resource-internal itself.
2550 (make-empty-face): Don't pass optional argument to make-face.
2552 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2554 * international/characters.el <standard-case-table>: Add entries
2555 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2556 Set category of Coptic characters be 'g' (Greek).
2558 2014-04-12 Leo Liu <sdl.web@gmail.com>
2560 * progmodes/octave.el (completion-table-with-cache): Define if not
2562 (octave-goto-function-definition)
2563 (octave-sync-function-file-names)
2564 (octave-find-definition-default-filename): Backquote upattern for
2567 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2569 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2570 name twice due to backticks. (Bug#17238)
2572 2014-04-11 Glenn Morris <rgm@gnu.org>
2574 * term/w32-win.el (x-win-suspend-error):
2575 * term/x-win.el (x-win-suspend-error): Sync docs.
2577 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2579 Ediff's overlay priorities cause more trouble than they solve.
2580 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2581 (ediff-highest-priority): Remove function (bug#17234).
2582 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2583 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2584 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2587 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2589 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2590 entry; use symbol boundaries to avoid mis-matches.
2592 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2594 * net/tramp.el (tramp-file-name-handler)
2595 (tramp-completion-file-name-handler): Avoid recursive loading.
2597 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2598 Quote result also locally.
2600 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2602 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2603 Module methods. (Bug#17216)
2605 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2608 (describe-bindings-internal): Mark obsolete.
2610 2014-04-07 João Távora <joaotavora@gmail.com>
2613 (electric-pair--syntax-ppss): When inside comments parse from
2615 (electric-pair--balance-info): Fix typo in comment.
2616 (electric-pair--in-unterminated-string-p): Delete.
2617 (electric-pair--unbalanced-strings-p): New function.
2618 (electric-pair-string-bound-function): New var.
2619 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2620 according to `electric-pair--in-unterminated-string-p'
2622 2014-04-07 João Távora <joaotavora@gmail.com>
2624 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2625 Inhibit quote pairing if point-max is inside an unterminated string.
2626 (electric-pair--looking-at-unterminated-string-p): Delete.
2627 (electric-pair--in-unterminated-string-p): New function.
2629 2014-04-07 Glenn Morris <rgm@gnu.org>
2631 * shell.el (shell-directory-tracker):
2632 Go back to just ignoring failures. (Bug#17159)
2634 2014-04-06 João Távora <joaotavora@gmail.com>
2636 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2637 backspace. (bug#16981)
2638 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2639 (electric-pair-backward-delete-char-untabify): Delete.
2640 (electric-pair-mode-map): Bind backspace to a menu item filtering
2641 a new `electric-pair-delete-pair' command.
2642 (electric-pair-delete-pair): New command.
2644 2014-04-06 João Távora <joaotavora@gmail.com>
2646 * progmodes/python.el (python-electric-pair-string-delimiter):
2647 Fix triple-quoting electricity. (Bug#17192)
2649 2014-04-06 João Távora <joaotavora@gmail.com>
2651 * elec-pair.el (electric-pair-post-self-insert-function):
2652 Don't skip whitespace when `electric-pair-text-pairs' and
2653 `electric-pair-pairs' were used. syntax to
2654 electric-pair--skip-whitespace. (Bug#17183)
2656 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2658 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2661 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2663 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2664 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2666 2014-04-05 Glenn Morris <rgm@gnu.org>
2668 * help.el (view-lossage): Doc tweak.
2670 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2672 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2673 only when inhibit-x-resources is nil, and do that earlier in the
2674 function. Doc fix. (Bug#16694)
2675 (face-spec-choose): Accept additional optional argument, whose
2676 value is returned if no matching attributes are found.
2677 (face-spec-recalc): Use the new optional argument when calling
2678 face-spec-choose. (Bug#16378)
2679 (make-face-x-resource-internal): Do nothing when
2680 inhibit-x-resources is non-nil. Don't touch the default face if
2681 reversed video is given--as was done in previous versions of Emacs.
2682 (face-set-after-frame-default): Don't call
2683 make-face-x-resource-internal here. (Bug#16434)
2685 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2687 * doc-view.el (doc-view-bookmark-jump):
2688 Use `bookmark-after-jump-hook' to jump to the right page after the
2689 buffer is shown in a window. (bug#16090)
2691 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2693 * international/characters.el (mirroring): Fix last change:
2694 instead of loading uni-mirrored.el explicitly, do that implicitly
2695 by creating the 'mirroring' uniprop table. This avoids announcing
2696 the loading of uni-mirrored.el.
2698 2014-04-04 Glenn Morris <rgm@gnu.org>
2700 * files.el (buffer-stale--default-function)
2701 (buffer-stale-function, revert-buffer--default):
2702 * autorevert.el (auto-revert-buffers): Doc tweaks.
2704 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2706 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2708 2014-04-03 Glenn Morris <rgm@gnu.org>
2710 * files.el (make-backup-file-name-function)
2711 (make-backup-file-name, make-backup-file-name--default-function)
2712 (make-backup-file-name-1, find-backup-file-name)
2713 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2714 (buffer-stale--default-function, buffer-stale-function)
2715 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2716 (revert-buffer, revert-buffer--default)
2717 (revert-buffer-insert-file-contents--default-function):
2718 Doc fixes related to defaults no longer being nil.
2719 (make-backup-file-name-function): Bump :version.
2720 Restore nil as a valid but deprecated custom type.
2722 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2725 used as a variable (bug#17174).
2727 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2729 * progmodes/perl-mode.el (perl-indent-new-calculate):
2730 Handle forward-sexp failure (bug#16985).
2731 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2732 modifiers introducing expressions (bug#17116).
2734 2014-04-02 Glenn Morris <rgm@gnu.org>
2736 * menu-bar.el (menu-bar-file-menu):
2737 * vc/ediff.el (ediff-current-file):
2738 Update for revert-buffer-function no longer being nil by default.
2740 * simple.el (command-execute): Respect nil disabled-command-function.
2742 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2744 * simple.el (command-execute): Do not execute the command when it
2745 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2747 2014-03-29 Juri Linkov <juri@jurta.org>
2749 * dired-aux.el (dired-compress-file): Don't use string-match-p
2750 because its match data is used afterwards.
2752 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2754 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2757 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2759 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2760 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2762 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2763 Don't propertize `?' or `!' as symbol constituent when after
2766 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2768 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2769 which is no longer needed and causes trouble in GTK builds (bug#17046).
2771 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2772 Use url-insert-file-contents; package-handle-response no longer exists.
2774 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2776 * emacs-lisp/package.el: Fix bug#16733 (again).
2777 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2778 (url-http-target-url): Remove unused declarations.
2779 (package-handle-response): Remove.
2780 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2781 (package--download-one-archive): Use current-buffer instead of
2782 dynamic binding of `buffer'.
2783 (describe-package-1): Do not decode readme-string.
2785 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2787 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2789 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2791 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2793 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2794 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2795 `remote-file-name-inhibit-cache' to nil in the second pass.
2796 (tramp-find-executable): Do not call "which" on SunOS.
2797 (tramp-send-command-and-check): Fix docstring.
2798 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2799 check whether source directory has set the sticky bit.
2801 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2803 * simple.el (primitive-undo): Only process marker adjustments
2804 validated against their corresponding (TEXT . POS). Issue warning
2805 for lone marker adjustments in undo history. (Bug#16818)
2806 (undo-make-selective-list): Add marker adjustments to selective
2807 undo list based on whether their corresponding (TEXT . POS) is in
2808 the region. Remove variable adjusted-markers, which was unused
2809 and only non nil during undo-make-selective-list.
2810 (undo-elt-in-region): Return nil when passed a marker adjustment
2811 and explain in function doc.
2813 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2815 * emacs-lisp/package.el (package--add-to-archive-contents):
2816 Include already installed and built-in packages in
2817 `package-archive-contents'.
2818 (package-install): Don't include already installed packages in the
2819 options during interactive invocation. (Bug#16762)
2821 2014-03-24 Daniel Colascione <dancol@dancol.org>
2823 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2824 instead of cl-loop search function.
2826 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2828 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2830 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2832 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2834 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2836 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2837 Match special global variables without curlies, too.
2838 (ruby-font-lock-keywords): Simplify the matcher for special global
2839 variables. Don't require a non-word character after the variable.
2842 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2844 * simple.el (redisplay-highlight-region-function): Increase priority of
2845 overlay to make sure boundaries are visible (bug#15899).
2847 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2849 * frameset.el (frameset-restore): Compare display strings with equal.
2851 * frame.el (make-frame): Don't quote display name in error message,
2852 it is already a string.
2854 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2856 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2859 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2861 * emacs-lisp/package.el (package-show-package-list): If the buffer
2862 is already displayed in another window, switch to that window.
2864 2014-03-21 Daniel Colascione <dancol@dancol.org>
2866 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2867 information in bug reports.
2869 2014-03-23 Daniel Colascione <dancol@dancol.org>
2871 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2872 list to look for keyword arguments instead of `memq', fixing
2873 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2874 Please make bootstrap.
2876 2014-03-23 Richard Stallman <rms@gnu.org>
2878 * battery.el (battery-linux-sysfs): Search for each field
2879 from the beginning of the buffer.
2881 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2883 * emacs-lisp/package.el (package-desc): Use the contents of the
2884 quoted form, not its cdr. (Bug#16873)
2886 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2888 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2889 benefit of doc.c; change parameter profile to match the X function.
2891 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2893 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2894 and `tramp-copy-env'.
2896 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2897 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2899 2014-03-21 Glenn Morris <rgm@gnu.org>
2901 * electric.el (electric-indent-post-self-insert-function): Add doc.
2903 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2905 * emacs-lisp/package.el (package-compute-transaction):
2906 Use `version-list-<=' to compare the requirement version against
2907 the version of package already to be installed. Update the error
2908 message. (Bug#16826)
2910 * progmodes/ruby-mode.el (ruby-smie-rules):
2911 Add indentation rule for ` @ '. (Bug#17050)
2913 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2915 * align.el (align-regexp): Remove superfluous backslash.
2917 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2918 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2919 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2920 Fix docstring typos.
2921 (ffap-next): Use C-u in docstring.
2922 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2923 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2924 Remove superfluous backslashes.
2925 (ffap-string-at-point): Reflow docstring.
2927 * server.el (server-host): Reflow docstring.
2928 (server-unload-function): Fix docstring typo.
2929 (server-eval-at): Remove superfluous backslash.
2931 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2932 (skeleton-insert): Doc fix.
2933 (skeleton-insert): Reflow docstring.
2935 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2936 (tty-color-approximate, tty-color-by-index, tty-color-values)
2937 (tty-color-desc): Remove superfluous backslashes.
2939 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2941 * electric.el (electric-newline-and-maybe-indent): New command.
2942 Bind it globally to C-j.
2943 (electric-indent-mode): Don't mess with the global map any more.
2944 Don't drop the post-self-insert-hook is some buffer is still using it
2947 * bindings.el (global-map): Remove C-j binding.
2949 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2950 the docstring of functions advised before dumping (bug#16993).
2952 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2954 * ps-print.el (ps-generate-postscript-with-faces):
2955 Explicitly deactivate the mark (bug#16866).
2956 * simple.el (deactivate-mark): Update region highlight.
2958 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2960 * emacs-lisp/package.el (describe-package-1):
2961 Decode commentary (bug#16733).
2963 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2965 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2966 modification of the value argument of :set (bug#16755).
2968 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * simple.el (newline-and-indent): Do autofill (bug#17031).
2972 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2974 * newcomment.el (comment-normalize-vars): Only add escaping check
2975 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2976 (comment-beginning): Use `narrow-to-region' instead of moving back
2978 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2979 (comment-start-skip): Update the docstring.
2981 2014-03-18 Richard Stallman <rms@gnu.org>
2983 * dired.el (dired-display-file): Force use of other window.
2985 2014-03-18 Daniel Colascione <dancol@dancol.org>
2987 * startup.el (tty-handle-args): Remove debug message from 2007.
2989 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2991 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2992 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2993 (advice--make-1, advice-add, advice-remove):
2994 Remove braindead :advice-pending hack.
2996 2014-03-17 Glenn Morris <rgm@gnu.org>
2998 * calendar/calendar.el (calendar-generate-month): Apply weekend
2999 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3001 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3003 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3004 (tramp-call-process): Trace also DESTINATION.
3006 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3007 Quote file names when they are local. Remove superfluous trace.
3009 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3011 * newcomment.el (comment-beginning): If `comment-start-skip'
3012 doesn't match, move back one char and try again. (Bug#16971)
3014 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3015 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3016 Set `comment-start-skip' to a simpler value that doesn't try to
3017 check if the semicolon is escaped (this is handled by
3018 `syntax-ppss' now). (Bug#16971)
3020 * progmodes/scheme.el (scheme-mode-variables): Same.
3022 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3024 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3025 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3026 current (Bug#16816, Bug#17007).
3027 (with-current-buffer-window): New macro doing the same as
3028 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3029 * help.el (help-print-return-message): Warn in doc-string to not
3030 use this in `with-help-window'.
3031 (describe-bindings-internal): Call `describe-buffer-bindings'
3032 from within help buffer. See Juanma's scenario in (Bug#16816).
3033 (with-help-window): Update doc-string.
3034 * dired.el (dired-mark-pop-up):
3035 * files.el (save-buffers-kill-emacs):
3036 * register.el (register-preview): Use `with-current-buffer-window'
3037 instead of `with-temp-buffer-window'.
3039 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3041 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3042 Implement inserting into current buffer, documented in their docstrings.
3043 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3044 (rst-section-tree-point, rst-forward-section, rst-indent)
3045 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3046 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3047 (rst-font-lock-handle-adornment-pre-match-form)
3048 (rst-repeat-last-character): Reflow docstrings.
3049 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3050 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3051 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3052 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3053 Fix docstring typos.
3054 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3055 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3056 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3058 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3060 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3061 for compatibility with other ports.
3062 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3063 from the -xrm command line argument, but in the Nextstep port its value
3064 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3066 * progmodes/python.el (defconst, python-syntax-count-quotes)
3067 (python-indent-region, python-indent-shift-right)
3068 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3069 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3070 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3071 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3072 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3073 (python-shell-buffer-substring, python-shell-send-buffer)
3074 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3075 (python-completion-complete-at-point, python-fill-docstring-style)
3076 (python-eldoc-function, python-imenu-format-item-label)
3077 (python-imenu-format-parent-item-label)
3078 (python-imenu-format-parent-item-jump-label)
3079 (python-imenu--build-tree, python-imenu-create-index)
3080 (python-imenu-create-flat-index): Fix docstring typos.
3081 (python-indent-context, python-shell-prompt-regexp, run-python):
3082 Remove superfluous backslashes.
3083 (python-indent-line, python-nav-beginning-of-defun)
3084 (python-shell-get-buffer, python-shell-get-process)
3085 (python-info-current-defun, python-info-current-line-comment-p)
3086 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3087 (python-indent-post-self-insert-function, python-shell-send-file)
3088 (python-shell-completion-get-completions)
3089 (python-shell-completion-complete-or-indent)
3090 (python-eldoc--get-doc-at-point): Reflow docstrings.
3092 2014-03-14 Glenn Morris <rgm@gnu.org>
3094 * emacs-lisp/package.el (package-menu-mode-map):
3095 Replace use of obsolete function alias. Tweak menu item text.
3097 * info.el (Info-finder-find-node):
3098 Ignore the `emacs' metapackage. (Bug#10813)
3100 * finder.el (finder-list-matches): Include unversioned packages
3101 in the result of a keyword search.
3103 * finder.el (finder--builtins-descriptions): New constant.
3104 (finder-compile-keywords): Use finder--builtins-descriptions.
3106 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3108 * simple.el (blink-matching-paren): Describe the new value,
3109 `jump', enabling the old behavior.
3110 (blink-matching-open): Use that value. (Bug#17008)
3112 2014-03-14 Glenn Morris <rgm@gnu.org>
3114 * finder.el (finder-no-scan-regexp): Add leim-list.
3115 (finder-compile-keywords):
3116 Don't skip files with same basename. (Bug#14010)
3117 * Makefile.in (setwins_finder): New, excluding leim.
3118 (finder-data): Use setwins_finder.
3120 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3121 (help-function-arglist, help-make-usage): Move from here...
3122 * help.el (help-split-fundoc, help-add-fundoc-usage)
3123 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3124 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3126 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3128 * net/socks.el (socks, socks-override-functions)
3129 (socks-find-services-entry):
3130 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3131 (hif-find-ifdef-block):
3132 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3134 * net/tls.el (tls-program): Reflow docstring.
3136 * progmodes/pascal.el (pascal-mode-abbrev-table)
3137 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3138 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3139 (pascal-outline-mode): Fix docstring typos.
3140 (pascal-mode): Let define-derived-mode document mode hook.
3141 (pascal-uncomment-area): Reflow.
3142 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3144 * progmodes/opascal.el (opascal-compound-block-indent)
3145 (opascal-case-label-indent): Fix docstring typos.
3146 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3148 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3150 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3151 Fontify multiple adjacent negation chars. (Bug#17004)
3153 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3155 * emacs-lisp/package.el (package--prepare-dependencies):
3156 Accept requirements without explicit version (bug#14941).
3158 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3160 * register.el (register-separator, copy-to-register): Doc fixes.
3161 (register-preview-default): Remove unnecessary call to concat.
3163 * frameset.el (frameset-restore): When checking for a visible frame,
3164 use the action map instead of calling visible-frame-list.
3166 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3168 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3170 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3172 * window.el (fit-frame-to-buffer): Get maximum width from
3173 display's width instead of height.
3175 2014-03-12 Glenn Morris <rgm@gnu.org>
3177 * desktop.el (desktop-restore-frames)
3178 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3179 (desktop-restore-reuses-frames): Doc tweaks.
3181 * electric.el (electric-indent-mode): Doc fix.
3183 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3185 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3186 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3187 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3188 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3189 (cvs-dired-use-hook): Fix docstring typos.
3190 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3193 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3194 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3195 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3196 (cvs-execute-single-dir): Fix docstring typos.
3198 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3199 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3201 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3203 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3204 Fix docstring typos.
3206 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3208 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3209 called from jump-to-register after unloading the frameset package.
3211 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3213 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3214 (bug#16975). Deactivate the mark before setting it to nil.
3215 (activate-mark): Do nothing if region is already active.
3217 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3219 * frameset.el (frameset--target-display): Remove definition; declare.
3220 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3222 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3224 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3225 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3226 when the advice is pending.
3227 (advice-remove): Remove this marker when not needed any more.
3229 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3231 * frameset.el: Separate options for reusing frames and cleaning up.
3232 (frameset--reuse-list): Remove definition; declare.
3233 (frameset--action-map): Declare.
3234 (frameset--find-frame-if): Doc fix.
3235 (frameset--restore-frame): Cache frame action.
3236 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3237 how to clean up the frame list after restoring. Remove cleaning
3238 options from REUSE-FRAMES. Change all keyword values to symbols.
3239 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3241 * desktop.el (desktop-restore-forces-onscreen)
3242 (desktop-restore-reuses-frames): Use non-keyword values.
3243 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3245 2014-03-10 Glenn Morris <rgm@gnu.org>
3247 * files.el (find-file): Doc fix: update info node name.
3249 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3250 Doc fix: remove references to deleted info nodes.
3252 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3254 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3255 Do not add `nil' to the environment, when there's no remote `locale'.
3256 (tramp-find-inline-encoding): Check, that the remote host has
3257 installed perl, before sending scripts.
3259 2014-03-10 Leo Liu <sdl.web@gmail.com>
3261 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3262 Clear eldoc-last-message. (Bug#16920)
3264 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3269 2014-03-09 Juri Linkov <juri@jurta.org>
3271 * ansi-color.el (ansi-color-names-vector): Copy default colors
3272 from `xterm-standard-colors' that look well on the default white
3273 background (and also on the black background) to avoid illegible
3274 color combinations like yellow-on-white and white-on-white.
3275 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3277 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3279 * frameset.el (frameset-restore): When no frame is visible, do not
3280 generate a list of frames, just make visible the selected one.
3282 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3284 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3285 it only contains the repository root. (Bug#16897)
3287 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3289 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3290 only when `remote-file-name-inhibit-cache' is nil.
3291 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3293 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3295 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3297 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3298 fit-frame-to-buffer variable. Fix doc-string.
3299 (fit-window-to-buffer): Set ONLY argument in call of
3300 fit-frame-to-buffer. Fix doc-string.
3302 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3304 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3305 (tramp-action-password): Clear password cache if needed.
3306 (tramp-read-passwd): Do not clear password cache.
3308 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3309 cache unless it is the first password request.
3311 2014-03-06 Glenn Morris <rgm@gnu.org>
3313 * simple.el (newline): Doc tweak.
3315 * emacs-lisp/shadow.el (load-path-shadows-find):
3316 Ignore dir-locals. (Bug#12357)
3318 2014-03-05 Glenn Morris <rgm@gnu.org>
3320 * files.el (interpreter-mode-alist):
3321 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3323 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3325 * frameset.el (frameset--initial-params): Filter out null entries.
3327 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3329 * window.el (window-min-height, window-min-width):
3330 Rewrite doc-strings.
3331 (window-body-size): Add PIXELWISE argument to make it consistent
3334 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3336 * finder.el (finder-mode-map, finder-mode-syntax-table):
3337 Revert part of 2014-02-28 change.
3339 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3341 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3342 (eww-setup-buffer): Clear next/prev/etc more reliably.
3343 (eww-textarea-map): [tab] doesn't work on tty.
3344 Reported by Mario Lang.
3346 * net/shr.el (shr-map): Ditto.
3348 2014-03-04 Glenn Morris <rgm@gnu.org>
3350 * minibuffer.el (completion-hilit-commonality):
3351 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3353 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3355 * hilit-chg.el (hilit-chg-unload-function): New function.
3356 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3357 (hilit-chg-map-changes): Prefer cardinal number to digit.
3358 (hilit-chg-display-changes): Reflow docstring.
3359 (highlight-changes-rotate-faces): Remove superfluous backslash.
3361 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3363 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3364 `tramp-send-command-and-check'.
3366 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3368 * hexl.el (hexl-address-region, hexl-ascii-region)
3369 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3370 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3371 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3372 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3373 (hexl-mode): Doc fix.
3374 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3375 (hexl-mode-ruler): Fix typos in docstrings.
3377 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3378 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3379 Remove superfluous backslashes.
3380 (strokes-last-stroke, strokes-global-map, strokes-mode):
3382 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3383 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3384 (strokes-distance-squared, strokes-global-set-stroke)
3385 (strokes-global-set-stroke-string): Doc fixes.
3386 (strokes-help): Fix typos; reflow docstring.
3388 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3390 * window.el (window-in-direction): Fix doc-string.
3392 2014-03-04 Glenn Morris <rgm@gnu.org>
3394 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3395 Explicit error if no grammar.
3396 (smie-config-save): Doc fix. Fix quote typo.
3398 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3400 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3401 electric-indent-mode-hook if we obey electric-indent-mode.
3402 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3403 decide whether we obey electric-indent-mode.
3404 (c-change-set-fl-decl-start, c-extend-after-change-region):
3406 (c-electric-indent-mode-hook): Assume we do want to obey
3407 electric-indent-mode.
3409 * electric.el (electric-indent-mode-has-been-called): Remove.
3410 (electric-indent-mode): Fix accordingly.
3412 * files.el (hack-local-variables): Mention file name in warning.
3414 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3416 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3418 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3419 * simple.el (delete-forward-char): Mark as interactive-only.
3421 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3423 * icomplete.el (icomplete-completions):
3424 Follow-up to 2014-03-01 change.
3426 * icomplete.el: Miscellaneous doc fixes.
3427 Use Icomplete everywhere instead of icomplete for consistency.
3428 (icomplete-max-delay-chars): Fix typo.
3429 (icomplete-mode): Use \[].
3430 (icomplete-tidy, icomplete-exhibit): Reflow.
3431 (icomplete-minibuffer-setup-hook, icomplete-completions):
3432 Remove superfluous backlashes.
3434 * ido.el: Miscellaneous doc fixes.
3435 Use Ido everywhere instead of ido or `ido' for consistency.
3436 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3437 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3438 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3439 (ido-separator): Extract obsolescence info from docstring and declare
3440 with make-obsolete-variable.
3441 (ido-minibuffer-setup-hook): Simplify example.
3442 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3443 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3444 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3445 (ido-everywhere): Reflow docstring.
3446 (ido-toggle-vc): Doc fix.
3447 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3448 of long list of keybindings.
3450 2014-03-03 Glenn Morris <rgm@gnu.org>
3452 * frame.el (display-pixel-height, display-pixel-width)
3453 (display-mm-dimensions-alist, display-mm-height)
3454 (display-mm-width): Doc tweaks.
3456 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3458 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3459 case of undo in region.
3461 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3463 * window.el (fit-window-to-buffer): Fix argument in window-size
3464 call when window is horizontally combined.
3466 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3468 * icomplete.el (icomplete-completions): Use string-width.
3469 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3471 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3473 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3474 Highlight regexp options. (Bug#16914)
3476 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3478 * window.el (window--max-delta-1): Round down when calculating
3479 how many lines/columns we can get from a window.
3481 2014-03-01 Glenn Morris <rgm@gnu.org>
3483 * isearch.el (search-invisible): Doc fix.
3485 * minibuffer.el (completion-hilit-commonality):
3486 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3487 * comint.el (comint-dynamic-list-completions): Doc fix.
3488 * comint.el (comint-dynamic-list-completions):
3489 * filecache.el (file-cache-minibuffer-complete):
3490 * tempo.el (tempo-display-completions):
3491 * eshell/em-hist.el (eshell-list-history):
3492 Replace use of obsolete argument of display-completion-list.
3494 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3496 * icomplete.el (icomplete-completions):
3497 Revert back to using "..." when ?… cannot be displayed.
3499 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3501 * finder.el (finder-unload-function): New function.
3503 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3505 * dframe.el (dframe-detach):
3506 * find-dired.el (find-dired, find-name-dired):
3507 * finder.el (finder-mode-map, finder-mode-syntax-table)
3508 (finder-headmark, finder-select, finder-mouse-select):
3509 Fix docstring typos.
3511 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3513 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3514 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3515 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3516 Fix doc-string based on a suggestion by Nicolas Richard
3517 <theonewiththeevillook@yahoo.fr>.
3518 * help.el (with-help-window): Fix doc-string.
3520 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3522 * net/shr.el (shr-image-animate): New option.
3523 (shr-put-image): Respect shr-image-animate.
3525 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3527 * net/tramp-adb.el (tramp-adb-parse-device-names):
3528 Use `accept-process-output'.
3529 (tramp-adb-handle-file-truename): Cache the localname only.
3530 (tramp-adb-handle-make-directory)
3531 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3532 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3533 modes cannot be changed.
3535 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3536 file properties of symlinks.
3538 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3540 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3541 required/optional fields to match development biblatex. (Bug#16781)
3543 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3545 * saveplace.el (toggle-save-place):
3546 Fix argument handling. (Bug#16673)
3548 2014-02-28 Glenn Morris <rgm@gnu.org>
3550 * minibuffer.el (completions-first-difference)
3551 (completions-common-part, completion-hilit-commonality): Doc fixes.
3553 2014-02-28 Karl Berry <karl@gnu.org>
3555 * info.el (Info-mode-map): Add H for describe-mode,
3556 to synchronize with standalone Info.
3558 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3560 * progmodes/sql.el (sql-interactive-mode):
3561 Avoid setting global comint-input-ring-separator. (Bug#16814)
3563 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3565 * net/dbus.el (dbus--init-bus): Declare function.
3566 (dbus-path-local, dbus-interface-local): New defconst.
3567 (dbus-init-bus): Use them.
3568 (dbus-return-values-table): Extend doc.
3569 (dbus-handle-bus-disconnect): Extend error message.
3571 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3573 * subr.el (y-or-n-p): Fix double space issue in message.
3575 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3577 * net/tramp.el (tramp-call-process): Improve trace message.
3578 (tramp-handle-insert-file-contents): Trace error case.
3580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3581 <insert-directory>: Use `tramp-handle-insert-directory'.
3582 (tramp-adb-handle-insert-directory): Remove function.
3583 (tramp-adb-send-command-and-check): New defun, replacing
3584 `tramp-adb-command-exit-status'. Change all callees.
3585 (tramp-adb-handle-file-attributes)
3586 (tramp-adb-handle-directory-files-and-attributes): Use it.
3587 (tramp-adb-ls-output-name-less-p):
3588 Use `directory-listing-before-filename-regexp'.
3589 (tramp-adb-handle-delete-directory): Flush also file properties of
3590 the truename of directory.
3591 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3592 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3593 (tramp-adb-handle-write-region): Implement APPEND.
3594 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3595 properties correctly.
3596 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3597 variables. Check for connected devices only when needed.
3599 2014-02-27 Glenn Morris <rgm@gnu.org>
3601 * minibuffer.el (completion-table-dynamic)
3602 (completion-table-with-cache): Doc fixes.
3604 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3605 (completing-read-multiple): Doc fixes.
3607 2014-02-27 Daniel Colascione <dancol@dancol.org>
3609 * minibuffer.el (completion--nth-completion): Fix indentation.
3611 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3612 explicit tramp path is empty.
3614 2014-02-27 Glenn Morris <rgm@gnu.org>
3616 * emacs-lisp/crm.el (completing-read-multiple):
3617 Empower help-enable-auto-load.
3619 2014-02-26 Glenn Morris <rgm@gnu.org>
3621 * startup.el (command-line): Don't init the tty in daemon mode.
3623 Avoid calling tty-setup-hook twice, eg if a term file
3624 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3625 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3626 (tty-create-frame-with-faces): Use it.
3627 * startup.el (command-line): Pass run-hook argument
3628 to tty-run-terminal-initialization.
3630 * dired.el (dired-restore-desktop-buffer): Demote errors;
3631 eg in case a glob match fails. (Bug#16884)
3633 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3635 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3636 error from `read-from-string'. (Bug#16850)
3638 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3639 result of `completing-read' in the interactive form. (Bug#16854)
3641 2014-02-25 Glenn Morris <rgm@gnu.org>
3643 * image.el (image-animate, image-animate-timeout):
3644 Stop animating images in dead buffers. (Bug#16878)
3646 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3648 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3650 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3651 * term/sun.el (sun-raw-prefix-hooks):
3652 Use tty-setup-hook instead of term-setup-hook.
3653 (terminal-init-sun): Construct message from bytecomp plist.
3654 * term/wyse50.el (enable-arrow-keys): Doc fix.
3656 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3658 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3659 Fix docstring typos.
3661 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3663 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3665 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3667 * minibuffer.el (completion--try-word-completion):
3668 Fix error when completing M-x commands (bug#16808).
3670 2014-02-24 Leo Liu <sdl.web@gmail.com>
3672 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3674 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3676 * apropos.el (apropos-print): Avoid formatting error when
3677 apropos-do-all and apropos-compact-layout are both t.
3679 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3681 * apropos.el (apropos-property, apropos-all-words-regexp)
3682 (apropos-true-hit, apropos-variable, apropos-print):
3683 Fix docstring typos, and remove obsolete comment.
3685 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3687 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3688 Preserve trailing "/". (Bug#16851)
3690 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3692 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3693 after `=>' (bug#16811).
3694 (ruby-smie-rules): Handle the inconsistent second element of the
3695 list returned by `smie-indent--parent'.
3696 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3699 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3701 * elec-pair.el (electric-pair-text-syntax-table)
3702 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3703 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3704 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3705 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3707 2014-02-22 Glenn Morris <rgm@gnu.org>
3709 * imenu.el (imenu--generic-function): Doc fix.
3711 * register.el (frame-configuration-to-register): Make obsolete.
3713 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3715 * desktop.el (desktop-save-buffer-p): Do not fail when
3716 desktop-files-not-to-save is nil. Return t for true result
3719 2014-02-22 Daniel Colascione <dancol@dancol.org>
3721 * net/secrets.el (secrets-create-item, secrets-search-items):
3722 Check that attribute values are strings, avoiding the construction
3723 of invalid dbus messages.
3725 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3727 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3728 defun-declarations-alist.
3730 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3735 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3737 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3738 (whitespace-newline, whitespace-trailing, whitespace-line)
3739 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3740 (whitespace-space-after-tab): Fix typo in docstrings.
3742 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3744 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3746 * electric.el (electric-indent-functions-without-reindent):
3747 Add `yaml-indent-line'.
3749 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3751 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3752 It has done nothing for years; should be removed after the release.
3754 * simple.el (choose-completion): Fix docstring typo.
3755 (read-quoted-char-radix): Remove unneeded * in docstring.
3756 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3757 Don't escape parentheses unnecessarily in docstrings.
3759 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3761 Fix handling of window-min-height/-width (Bug#16738).
3762 * window.el (window--dump-window, window--dump-frame):
3764 (window--min-size-1): Account for window dividers.
3765 When window-resize-pixelwise is nil, delay rounding till after the
3766 sum of the window components has been calculated.
3767 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3768 nil make sure at least one text line and two text columns remain
3770 (window-resize): Signal an error when window-resize-apply fails.
3771 (window--resize-child-windows): Fix calculation of by how many
3772 pixels a window can still be shrunk via window-new-normal.
3773 (adjust-window-trailing-edge): Call window--resizable with
3774 correct TRAIL argument.
3776 (with-temp-buffer-window): Don't evaluate BODY within
3777 with-current-buffer (Bug#16816).
3779 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3781 * net/tramp.el (tramp-check-cached-permissions):
3782 Call `file-attributes' with `suffix' being a symbol but a string.
3784 2014-02-21 Daniel Colascione <dancol@dancol.org>
3786 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3787 (dbus-init-bus): New function: call into dbus-init-bus-1
3788 and installs a handler for the disconnect signal.
3789 (dbus-call-method): Rewrite to look for result in cons.
3790 (dbus-call-method-handler): Store result in cons.
3791 (dbus-check-event): Recognize events with nil sender as valid.
3792 (dbus-handle-bus-disconnect): New function. React to bus
3793 disconnection signal by synthesizing dbus error for each
3794 pending synchronous or asynchronous call.
3795 (dbus-notice-synchronous-call-errors): New function.
3796 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3797 is true, not all the time.
3799 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3801 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3802 Remove obsolescence declarations, these variables do not exist anymore.
3804 * savehist.el (savehist-save-minibuffer-history)
3805 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3806 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3807 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3808 mostly, refer to "Savehist mode" when talking about the mode,
3809 and not the function.
3811 * saveplace.el (save-place): Remove redundant info in docstring.
3812 (save-place-forget-unreadable-files, toggle-save-place)
3813 (save-place-forget-unreadable-files, save-place-dired-hook):
3814 Fix typos and remove unneeded backslashes.
3816 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3818 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3819 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3822 <insert-directory>: Use `tramp-handle-insert-directory'.
3823 (tramp-gvfs-handle-insert-directory): Remove function.
3825 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3826 Call `tramp-handle-insert-directory'.
3828 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3830 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3831 before the start of buffer/region (bug#16799).
3833 2014-02-20 Glenn Morris <rgm@gnu.org>
3835 * isearch.el (search-invisible): Doc fix.
3837 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3839 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3842 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3844 * frameset.el (frameset-restore): Delay removing an old frame's
3845 duplicate id until the new frame has been correctly created.
3847 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3849 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3850 (tramp-check-cached-permissions): Call `file-attributes' if the
3853 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3854 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3856 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3857 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3858 (tramp-gvfs-maybe-open-connection): Set always connection
3859 properties, even if target is mounted already.
3861 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3862 Set tramp-autoload cookie.
3863 (tramp-get-remote-touch): New defun.
3864 (tramp-sh-handle-set-file-times): Use it.
3865 (tramp-sh-handle-directory-files-and-attributes):
3866 Use `tramp-handle-directory-files-and-attributes' if neither stat
3867 nor perl are available on the remote host.
3869 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3870 "/". Write long listing only when "l" belongs to the switches.
3872 * net/trampver.el: Update release number.
3874 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3876 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3878 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3880 * window.el (window-state-put): Allow WINDOW to refer to an
3881 internal window (Bug#16793).
3883 2014-02-19 Glenn Morris <rgm@gnu.org>
3885 * textmodes/remember.el: Move provide statement to end.
3886 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3887 (remember-notes): Doc fixes.
3889 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * delsel.el (delete-char): Restore incorrectly erased property
3894 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3896 * frameset.el (frameset--restore-frame): When a frame is being reused
3897 and its root window is not alive, delete all the frame's windows before
3898 restoring the window state. This works around the issue in bug#16793.
3900 2014-02-18 Glenn Morris <rgm@gnu.org>
3902 * textmodes/remember.el (remember-data-directory)
3903 (remember-directory-file-name-format, remember-store-in-files)
3904 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3905 (remember-notes-save-and-bury-buffer)
3906 (remember-notes--kill-buffer-query): Doc fixes.
3908 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3910 2014-02-17 Alan Mackenzie <acm@muc.de>
3912 Connect electric-indent-mode up with CC Mode. Bug #15478.
3913 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3914 to electric-indent-{,local-}-mode.
3915 (c-basic-common-init): Set electric-indent-inhibit.
3916 Initialise c-electric-flag from electric-indent-mode.
3917 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3918 New hook functions which propagate electric-indent-mode to CC mode.
3920 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3921 hit, toggle electric-indent-local-mode.
3923 * electric.el (electric-indent-mode-has-been-called):
3926 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3928 * frameset.el (frameset-cfg-id): New function.
3929 (frameset--reuse-frame, frameset-restore): Use it.
3930 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3932 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * ido.el (ido-file-internal): Remove unused var `d'.
3935 Use \` for to match BoS. Fit within 80n columns.
3937 2014-02-17 Daniel Colascione <dancol@dancol.org>
3939 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3940 dbus-call-method check for completion using a busy-wait loop with
3943 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3945 Sync with Tramp 2.2.9.
3947 * net/trampver.el: Update release number.
3949 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3951 * ido.el (ido-file-internal): Don't add the name of an existing
3952 directory twice. (Bug#16747)
3954 2014-02-16 Glenn Morris <rgm@gnu.org>
3956 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3957 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3959 2014-02-15 Michael R. Mauger <michael@mauger.com>
3961 * progmodes/sql.el: Version 3.4
3962 (sql-oracle-options): New default value ("-L").
3963 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3964 (sql-placeholders-filter): Correct placeholder pattern.
3965 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3966 (sql-login-delay): New variable.
3967 (sql-product-interactive): Use it.
3969 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3971 * frameset.el (frameset--jump-to-register): Check that buffer is live
3974 2014-02-15 Glenn Morris <rgm@gnu.org>
3976 * info.el (info-initialize): Revert 2014-01-10 change.
3978 2014-02-14 Glenn Morris <rgm@gnu.org>
3980 * replace.el (map-query-replace-regexp)
3981 (read-regexp-defaults-function, read-regexp): Doc fixes.
3983 * dired.el (dired-read-regexp):
3984 * faces.el (list-faces-display):
3985 * misearch.el (multi-isearch-read-matching-buffers)
3986 (multi-isearch-read-matching-files):
3987 * play/cookie1.el (cookie-apropos):
3988 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3990 * textmodes/remember.el (remember): Use frameset-to-register
3991 rather than frame-configuration-to-register.
3993 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3995 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3996 incorrect keybinding.
3998 2014-02-13 Daniel Colascione <dancol@dancol.org>
4000 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4001 when adding overlays so that line numbers from compiler match line
4004 2014-02-13 Glenn Morris <rgm@gnu.org>
4006 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4008 * jit-lock.el (jit-lock-mode): Doc fix.
4010 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4012 * apropos.el (apropos-read-pattern): When the user passes an empty
4013 string, give a more helpful error message than "Wrong type
4014 argument: stringp, nil".
4016 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4018 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4020 2014-02-13 Glenn Morris <rgm@gnu.org>
4022 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4024 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4026 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4027 shift-select commands.
4029 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4031 * progmodes/js.el (js-indent-line): Don't widen.
4032 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4034 2014-02-12 Glenn Morris <rgm@gnu.org>
4036 * icomplete.el (icomplete): Add info-link to defgroup.
4037 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4038 (icomplete-minibuffer-map, icomplete-mode)
4039 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4041 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4042 (package-menu-filter): Rename from package-menu-filter-interactive.
4045 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4047 * frameset.el (frameset--jump-to-register): Select the required
4048 window and buffer before restoring position (bug#16696).
4050 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4052 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4054 2014-02-10 Glenn Morris <rgm@gnu.org>
4056 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4058 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4060 * w32-common-fns.el (x-get-selection): Doc fix.
4061 * select.el (x-get-selection): Doc fix. (Bug#15109)
4063 * face-remap.el (face-remap-add-relative)
4064 (face-remap-remove-relative, face-remap-reset-base)
4065 (face-remap-set-base): Call force-mode-line-update to redisplay
4066 the current buffer due to potential change in faces. (Bug#16709)
4068 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4070 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4071 script more robustly.
4073 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4075 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4077 * simple.el (choose-completion): Doc fix (bug#14160).
4079 * subr.el (event-start): Say what a nil EVENT value means.
4081 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4084 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4086 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4088 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4090 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4091 predicate function (bug#15455).
4093 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4095 * ielm.el (inferior-emacs-lisp-mode): Instead of
4096 `comment-use-global-state', set `comment-use-syntax'.
4098 2014-02-10 Glenn Morris <rgm@gnu.org>
4100 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4102 2014-02-09 Alan Mackenzie <acm@muc.de>
4104 Fix c-invalidate-state-cache on narrowed buffers.
4105 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4106 Widen when setting and clearing the CPP delimiter properties.
4108 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4110 * help.el (describe-bindings): Doc fix (bug#9888).
4112 * files.el (save-buffer): Use ARG as the parameter name for
4113 consistency (bug#10346).
4114 (save-buffer): Clarify the 0 argument (bug#10346).
4116 * cus-edit.el (customize-apropos): Fix error string.
4117 (custom-buffer-create): Doc fix (bug#11122).
4118 (custom-sort-items): Doc fix (bug#11121).
4120 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4122 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4123 (icomplete-simple-completing-p): Mention the previous variable.
4125 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4126 meaning of the parameter (bug#12282).
4128 * files.el (find-file-noselect): Clarify prompt when changing
4129 readedness (bug#13261).
4130 (locate-file): Suffixes aren't returned, so don't say that they
4132 (backup-inhibited): Doc clarification (bug#12525).
4134 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4135 before we actually start to delete things (bug#16331).
4137 * subr.el (event-start): Doc fix (bug#14228).
4140 2014-02-09 Glenn Morris <rgm@gnu.org>
4142 * emacs-lisp/warnings.el (lwarn):
4143 Empower help-enable-auto-load. (Bug#15940)
4145 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4147 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4150 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4152 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4153 Insert output at end of buffer. (Bug#16120)
4155 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4157 * simple.el (choose-completion-string-functions): Document new
4158 calling convention (bug#14153).
4159 (execute-extended-command): Clarify doc string (bug#13373).
4161 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4163 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4164 (find-grep-dired): Doc fix (bug#14288).
4166 2014-02-08 Juri Linkov <juri@jurta.org>
4168 * isearch.el (isearch-quote-char): Check character validity
4169 like in `quoted-insert' (bug#16677).
4171 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4173 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4175 * isearch.el (isearch-hide-immediately): Doc clarification
4178 * simple.el (line-move): Document utility function used many
4179 places in the Emacs sources (bug#14843).
4181 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4182 (dired-prev-marked-file): Doc fix (bug#14855).
4183 (dired-up-directory): Doc fix (bug#14848).
4185 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4187 * files.el (file-relative-name): Doc fix (bug#15159).
4189 * fringe.el (fringe-styles): Doc fix (bug#15239).
4191 * isearch.el (isearch-filter-predicate): Documentation typo fix
4194 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4196 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4198 * replace.el (replace-match-maybe-edit): Doc clarification
4201 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4203 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4205 2014-02-08 Glenn Morris <rgm@gnu.org>
4207 * help-fns.el (describe-variable):
4208 Check {file,dir}-local-variables-alist, and buffer-file-name,
4209 in the correct buffer.
4211 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4213 * help-fns.el (describe-variable): Fix the case where
4214 a value is directory-local with no dir-locals file. (Bug#16635)
4216 2014-02-08 Glenn Morris <rgm@gnu.org>
4218 * abbrev.el (edit-abbrevs-mode):
4219 Derive from fundamental-mode. (Bug#16682)
4221 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4223 * simple.el (quoted-insert): Check character validity (bug#16677).
4225 2014-02-07 Juri Linkov <juri@jurta.org>
4227 * desktop.el (desktop-read): Claim the lock when the owner is not
4228 the current process. (Bug#16157)
4230 2014-02-07 Juri Linkov <juri@jurta.org>
4232 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4233 to "\\` ". (Bug#16651)
4235 2014-02-07 Juri Linkov <juri@jurta.org>
4237 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4238 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4239 (desktop-auto-save-cancel-timer): New function with some code from
4240 `desktop-auto-save-set-timer'.
4241 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4242 Instead of setting `desktop-save-mode' to nil, call
4243 `desktop-save-mode' with arg 0. (Bug#16630)
4245 2014-02-07 Glenn Morris <rgm@gnu.org>
4247 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4248 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4249 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4251 * obsolete/iswitchb.el: Move to obsolete/.
4252 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4253 since obsolete/ is not scanned for autoloads.
4254 * emacs-lisp/authors.el (authors-valid-file-names):
4257 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4258 Disable now non-functional find-file-hook.
4260 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4262 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4263 instead of ";" in order to avoid additional prompts. Let heredoc
4264 scripts read from tty. (Bug#16582)
4265 (tramp-send-command): No special handling of heredocs, it isn't
4268 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4270 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4271 with a space (bug#16664). Limit the symbols considered to the ones
4272 that are bound or fbound (bug#16646).
4274 2014-02-06 Glenn Morris <rgm@gnu.org>
4276 * epa.el (epa-mail-aliases): Doc fix.
4278 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4280 * emacs-lisp/lisp.el (lisp-completion-at-point):
4281 Use `completion-table-merge' instead of `completion-table-in-turn'
4284 * minibuffer.el (completion-table-merge): New function.
4286 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4288 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4289 (tramp-sh-handle-set-file-acl)
4290 (tramp-sh-handle-start-file-process)
4291 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4292 (tramp-find-executable, tramp-send-command): Use it.
4294 2014-02-05 Glenn Morris <rgm@gnu.org>
4296 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4298 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4300 * progmodes/python.el (python-shell-send-string)
4301 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4303 2014-02-04 Anders Lindgren <andlind@gmail.com>
4305 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4306 the names (bug#16620).
4308 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4310 * faces.el (window-divider): New default value. Rewrite doc-string.
4311 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4313 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4315 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4316 `protected' and `public' can also be called without arguments.
4318 2014-02-03 Glenn Morris <rgm@gnu.org>
4320 * register.el (window-configuration-to-register)
4321 (frame-configuration-to-register): Unadvertise unused argument.
4322 * frameset.el (frameset-to-register): Remove unused argument.
4324 * frameset.el (frameset-to-register):
4325 * kmacro.el (kmacro-to-register):
4326 * register.el (increment-register):
4327 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4328 (calc-append-to-register, calc-prepend-to-register):
4329 * play/gametree.el (gametree-layout-to-register)
4330 (gametree-apply-register-layout):
4331 * textmodes/picture.el (picture-clear-rectangle-to-register)
4332 (picture-yank-rectangle-from-register):
4333 * vc/emerge.el (emerge-combine-versions-register):
4334 Use register-read-with-preview to read registers.
4336 2014-02-03 João Távora <joaotavora@gmail.com>
4338 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4339 when at beginning of (possibly narrowed) buffer.
4341 2014-02-02 Daniel Colascione <dancol@dancol.org>
4343 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4344 Also try to display local help from just before point.
4346 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4348 c-parse-state. Don't "append-lower-brace-pair" in certain
4349 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4350 recognised as a comment.
4352 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4353 as well as normal comment starter.
4354 (c-parse-state-get-strategy): Extra return possibility
4356 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4357 return value list to indicate replacement of a brace-pair cons
4359 (c-parse-state-1): With 'back-and-forward, only call
4360 c-append-lower-brace-pair-to state-cache when cons-separated.
4362 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4364 * term/ns-win.el (ns-suspend-error): New function.
4365 (ns-initialize-window-system): Add ns-suspend-error to
4366 suspend-hook (Bug#16612).
4368 2014-02-02 Daniel Colascione <dancol@dancol.org>
4370 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4371 Make loading cc-mode silent.
4373 2014-02-02 Daniel Colascione <dancol@dancol.org>
4375 * comint.el (comint-prompt-read-only): Change doc to suggest
4378 2014-02-02 Glenn Morris <rgm@gnu.org>
4380 * register.el (register-read-with-preview, point-to-register)
4381 (window-configuration-to-register, frame-configuration-to-register)
4382 (jump-to-register, number-to-register, view-register, insert-register)
4383 (copy-to-register, append-to-register, prepend-to-register)
4384 (copy-rectangle-to-register): Doc fixes.
4386 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4388 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4389 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4390 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4391 * help-fns.el (describe-function-1): Use it.
4393 2014-02-02 Glenn Morris <rgm@gnu.org>
4395 * register.el (register-preview-default): New function,
4396 split from register-preview.
4397 (register-preview-function): Rename from register-preview-functions,
4399 (register-preview): Use register-preview-function.
4400 (register-read-with-preview): Error on non-character event. (Bug#16595)
4402 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4404 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4405 `:' before binary operators (bug#16609). Don't check for `:'
4406 before `[' and `(', or their syntax status. A percent literal
4407 can't end with either.
4408 (ruby-font-lock-keywords): For built-ins that require arguments,
4409 check that they're followed by something that looks like argument
4412 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4414 * subr.el (butlast): Document what an omitted N means (bug#13437).
4417 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4419 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4420 depth shallower (bug#16587).
4421 (shr-tag-svg): Respect `shr-inhibit-images'.
4422 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4424 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4426 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4427 (ruby-smie-grammar): Make "." right-associative. Make its priority
4428 lower than the ternary and all binary operators.
4429 (ruby-smie-rules): Indent "(" relative to the first non-"."
4430 parent, or the first "." parent at indentation.
4431 Use `ruby-align-chained-calls' for indentation of "." tokens.
4434 2014-01-31 Juri Linkov <juri@jurta.org>
4436 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4437 from `make-hash-table'.
4439 * textmodes/ispell.el (ispell-init-process): Change message format
4440 to be consistent with other messages.
4442 2014-01-31 Glenn Morris <rgm@gnu.org>
4444 * delsel.el (delete-selection-mode): Doc fix.
4446 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4447 (trace-function-background): Doc fixes.
4449 * ido.el (ido-use-virtual-buffers): Doc fix.
4450 Reset :version, since the default value has not changed.
4452 * register.el (register-preview-delay, register-read-with-preview):
4455 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4456 do not mess with mail-buffer position (fixes 2009-11-03 change).
4457 * progmodes/cc-mode.el (c-submit-bug-report):
4458 Check auto-fill-mode is bound. (Bug#16592)
4460 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4462 * startup.el (fancy-splash-image-file): New function,
4463 split from fancy-splash-head.
4464 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4465 so that we are both using the same image. (Bug#16574)
4467 2014-01-30 Glenn Morris <rgm@gnu.org>
4469 * simple.el (eval-expression): Doc fix.
4471 * hexl.el (hexl-mode-hook):
4472 * ielm.el (ielm-mode-hook):
4473 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4474 (lisp-interaction-mode-hook):
4475 * progmodes/cfengine.el (cfengine3-documentation-function):
4476 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4478 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4481 is a symbol (bug#16584).
4483 2014-01-30 Glenn Morris <rgm@gnu.org>
4485 * help.el (help-for-help-internal): Add "P" to text.
4487 2014-01-29 Glenn Morris <rgm@gnu.org>
4489 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4491 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4493 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4496 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4498 * progmodes/hideif.el: Extend to full CPP expression syntax.
4499 (hif-token-alist): Add missing tokens.
4500 (hif-token-regexp): Add support for float/octal/hex immediates.
4501 (hif-string-literal-regexp): New const.
4502 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4503 (hif-exprlist): New function.
4504 (hif-parse-if-exp): Use it.
4505 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4506 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4507 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4508 (hif-logxor, hif-comma): New functions.
4510 2014-01-28 Glenn Morris <rgm@gnu.org>
4512 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4514 * indent.el (tab-stop-list): Doc fix. Add :version.
4516 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4517 (cvs-append-to-ignore): Add compatibility alias.
4519 2014-01-27 Glenn Morris <rgm@gnu.org>
4521 * dired.el (dired-hide-details-mode): Don't autoload it,
4522 since it cannot be used outside Dired buffers anyway.
4524 * emulation/cua-base.el (cua-mode): Doc fix.
4526 * dired.el (dired-hide-details-hide-symlink-targets)
4527 (dired-hide-details-hide-information-lines)
4528 (dired-hide-details-mode): Doc fixes.
4530 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4531 * strokes.el (strokes-file): Doc fix. Bump :version.
4532 (strokes-help): Doc fix.
4533 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4534 * emulation/viper.el (viper): Doc fix for custom group.
4535 (top-level): Remove oh-so-no-longer-relevant text about vip.
4536 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4538 * ido.el (ido-save-directory-list-file):
4539 * saveplace.el (save-place-file):
4540 * calendar/timeclock.el (timeclock-file):
4541 * net/quickurl.el (quickurl-url-file):
4542 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4543 * progmodes/idlwave.el (idlwave-config-directory):
4544 * textmodes/remember.el (remember-data-file):
4547 2014-01-26 Glenn Morris <rgm@gnu.org>
4549 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4550 Doc fix. Make obsolete.
4551 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4553 * sort.el (delete-duplicate-lines): Doc fix.
4555 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4557 * progmodes/ada-mode.el (ada):
4558 * woman.el (woman): Link to info manual and Commentary section.
4560 * progmodes/flymake.el (flymake):
4561 * nxml/nxml-mode.el (nxml):
4563 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4564 * htmlfontify.el (htmlfontify):
4567 * ido.el (ido): Link to info manual.
4569 2014-01-25 Leo Liu <sdl.web@gmail.com>
4571 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4573 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4575 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4578 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4580 * net/eww.el (eww-download-callback):
4581 Fix reference to eww-download-directory.
4583 * emacs-lisp/bytecomp.el (byte-compile-file):
4584 Remove unused local variable `file-name'.
4586 2014-01-24 Glenn Morris <rgm@gnu.org>
4588 * woman.el (woman-default-faces, woman-monochrome-faces):
4589 Fix obsolescence specification.
4591 * subr.el (with-demoted-errors): Doc fix.
4593 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4596 (cl--macroexp-fboundp): New function.
4597 (cl--make-type-test): Use it.
4599 2014-01-23 Glenn Morris <rgm@gnu.org>
4601 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4602 * simple.el (eval-expression): Doc fixes.
4604 2014-01-22 Glenn Morris <rgm@gnu.org>
4606 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4608 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * emacs-lisp/package.el: Write files silently.
4611 (package-autoload-ensure-default-file, package--write-file-no-coding)
4612 (package-generate-description-file, package--download-one-archive)
4613 (package-install-from-archive): Tell `write-region' to stay quiet.
4614 (package-menu-mode, package-menu--print-info): Omit the Archive column
4615 if there's only one archive.
4616 (package-all-keywords, package--has-keyword-p): Remove dead code.
4618 2014-01-22 Glenn Morris <rgm@gnu.org>
4620 * version.el (emacs-bzr-version-bzr): Fix typo.
4622 * version.el (emacs-repository-get-version):
4623 Check either .bzr or .git, but not both.
4624 Make the git case actually use the DIR argument, and return nil
4625 rather than the empty string.
4626 Avoid error if .git exists but the git executable is not found.
4628 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4630 Fixes in window size functions around Bug#16430 and Bug#16470.
4631 * window.el (window-total-size, window-size): New argument ROUND.
4632 (window--min-delta-1, window-min-delta, window--max-delta-1):
4633 Be more conservative when calculating the numbers of lines or
4634 columns a window can shrink (Bug#16430).
4635 (fit-window-to-buffer): Simplify code.
4636 * term.el (term-window-width): Call window-body-width again.
4638 2014-01-22 Glenn Morris <rgm@gnu.org>
4640 * image.el (image-format-suffixes): Doc fix.
4642 * international/quail.el (quail-define-package): Doc fix.
4644 * emacs-lisp/authors.el (authors-valid-file-names)
4645 (authors-renamed-files-alist): Additions.
4647 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4648 reverts 2014-01-09 change. (Bug#16422)
4650 * calc/calc-embed.el (thing-at-point-looking-at):
4651 * emacs-lisp/map-ynp.el (x-popup-dialog):
4652 * obsolete/lmenu.el (x-popup-dialog):
4653 * emacs-lisp/package.el (url-recreate-url):
4654 * mail/mailclient.el (clipboard-kill-ring-save):
4655 * subr.el (x-popup-dialog): Update declaration.
4656 * mail/rmail.el (rmail-mime-message-p):
4657 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4659 2014-01-21 Daniel Colascione <dancol@dancol.org>
4661 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4662 Correctly detect when we're inside an arithmetic expansion form
4663 containing nested parenthesis.
4664 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4665 to detect cases where we shouldn't expand "<<" to a heredoc
4668 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4670 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4671 (eldoc--message-command-p): New function.
4672 (eldoc-display-message-p): Use it.
4673 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4674 message is not automatically erased for us.
4675 (eldoc-print-current-symbol-info): Erase previous message, if any.
4677 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4679 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4680 specify it's an interactive function.
4682 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4683 Fix regex used for scanning for citation keys which failed for
4684 citations with optional arguments.
4686 2014-01-21 Leo Liu <sdl.web@gmail.com>
4688 * simple.el (read--expression): Don't enable eldoc-mode.
4690 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4692 * simple.el (move-beginning-of-line): Make sure we don't move forward
4695 2014-01-20 Juri Linkov <juri@jurta.org>
4697 * saveplace.el (toggle-save-place, save-place-to-alist)
4698 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4699 'dired-mode) before checking for dired-directory. (Bug#16477)
4701 2014-01-20 Juri Linkov <juri@jurta.org>
4703 * indent.el (indent-line-to): Use backward-to-indentation
4704 instead of back-to-indentation. (Bug#16461)
4706 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4708 Revert some of the CANNOT_DUMP fix (Bug#16494).
4709 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4710 but fixing this can wait until after the next release.
4711 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4713 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4715 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4716 Use `password-word-equivalents'.
4717 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4718 to t. (Bug#5664, Bug#13124)
4720 2014-01-19 Alan Mackenzie <acm@muc.de>
4722 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4724 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4725 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4726 * progmodes/cc-mode.el (c-before-change, c-after-change)
4727 (c-font-lock-fontify-region): Bind it here.
4729 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4731 * term.el (term-window-width): Call window-text-width instead of
4732 window-width (Bug#16470).
4734 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4736 * simple.el (password-word-equivalents): Remove duplicates.
4737 Sort, to make this easier next time.
4738 Downcase. Omit ": " after "jelszó".
4740 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4742 * term/common-win.el (saved-region-selection): Defvar it.
4743 (x-select-text): Set saved-region-selection (Bug#16382).
4745 2014-01-18 Glenn Morris <rgm@gnu.org>
4747 * emacs-lisp/authors.el (authors-aliases)
4748 (authors-renamed-files-alist): Add some entries.
4750 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4752 * net/tramp.el (tramp-password-prompt-regexp):
4753 Use `password-word-equivalents' if available.
4754 (tramp-action-password, tramp-process-one-action)
4755 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4757 2014-01-17 Chong Yidong <cyd@gnu.org>
4759 * simple.el (password-word-equivalents): New defcustom.
4760 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4762 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4765 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4767 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4768 (ruby-align-to-stmt-keywords): Change the default value.
4769 Use `ruby-alignable-keywords' to generate the possible customization
4771 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4772 keywords, check against the value of `ruby-alignable-keywords'
4773 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4775 2014-01-17 Glenn Morris <rgm@gnu.org>
4777 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4779 Make M-x authors return zero *Authors Errors* from current logs.
4780 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4781 (authors-ignored-files): Add some entries, remove others.
4782 (authors-ambiguous-files, authors-valid-file-names):
4784 (authors-renamed-files-alist): Add, remove, and adjust entries.
4785 (authors-renamed-files-regexps): Add some entries.
4786 Remove some very broad ones. Make some entries `lax'.
4787 (authors-lax-changelogs): New constant.
4788 (authors-disambiguate-file-name): Treat top-level specially.
4789 (authors-lax-changelog-p): New function.
4790 (authors-canonical-file-name): Check file as written against
4791 authors-valid-file-names. Do not special-case etc/.
4792 Handle `lax' logs and authors-renamed-files-regexps elements.
4794 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4796 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4797 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4800 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4803 Assume we're already in the proper buffer.
4804 Inspired by Anders Lindgren <andlind@gmail.com>.
4805 (follow-post-command-hook): Call it from the right buffer.
4806 (follow-comint-scroll-to-bottom): Adjust call.
4807 (follow-all-followers): Use get-buffer-window-list.
4809 2014-01-15 Daniel Colascione <dancol@dancol.org>
4811 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4812 `buffer-file-name' in interactive-form so that we don't leave
4813 pathless file names in `file-name-history'.
4815 2014-01-15 Juri Linkov <juri@jurta.org>
4817 * indent.el (indent-rigidly): Set deactivate-mark to nil
4818 in transient indentation mode. (Bug#16438)
4820 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4822 * emacs-lisp/package.el (package-desc-keywords): New function
4824 (describe-package-1, package-all-keywords)
4825 (package--has-keyword-p): Use it.
4827 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4829 * simple.el (define-alternatives): When creating the
4830 COMMAND-alternatives variable, assign COMMAND as its definition
4831 name so that `describe-variable' can relocate it.
4833 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4835 * font-lock.el (font-lock-keywords): Fix typo in docstring
4838 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4840 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4841 line instead of wrongly reset `add-coment' (bug#13577).
4843 2014-01-14 Daiki Ueno <ueno@gnu.org>
4845 * epa-file.el (epa-file-write-region): Encode the region according
4846 to `buffer-file-format'. Problem reported at:
4847 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4849 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4851 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4852 so it applies in the right buffer (bug#16410).
4854 2014-01-13 Daniel Colascione <dancol@dancol.org>
4856 * textmodes/rst.el (rst-define-key): Provide deprecated
4857 keybindings through named functions instead of anonymous ones so
4858 that "??" doesn't appear in describe-mode output.
4860 2014-01-13 Bastien Guerry <bzg@gnu.org>
4862 * simple.el (define-alternatives): Call the selected command
4863 interactively. When setting `COMMAND--implementation' for the
4864 first time, tell the user how to chose another implementation.
4865 Enhance the docstring.
4867 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4869 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4870 (log-edit--match-first-line): New function.
4871 (log-edit-font-lock-keywords): Use it.
4872 (log-edit-mode): Make jit-lock-defer-multiline work.
4874 2014-01-13 Bastien Guerry <bzg@gnu.org>
4876 * rect.el (rectangle-mark-mode): When the region is not active,
4877 display a message saying that the mark as been set and that
4878 rectangle mode is in use.
4879 (rectangle--highlight-for-redisplay): Only put an overlay with a
4880 visible vertical bar when (display-graphic-p) is non-nil.
4881 This partially fixes Bug#16403.
4883 2014-01-13 Juri Linkov <juri@jurta.org>
4885 * info.el (Info-find-file): Go to DIR before displaying the error
4886 about a nonexistent file if no previous Info file is visited.
4887 Use `user-error' instead of `error' for "Info file %s does not exist".
4888 (Info-find-node-2): In case of a nonexistent node in unwind forms
4889 go to the Top node if there is no previous node to revert to.
4892 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4894 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4895 * window.el (fit-frame-to-buffer): Fix doc-string.
4896 Respect window-min-height/-width. Fit pixelwise when
4897 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4898 when avoiding that frame goes partially off-screen.
4899 (fit-window-to-buffer): Respect window-min-height/-width
4902 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4904 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4905 after an empty line.
4907 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4909 * net/shr.el (shr-render-region): Autoload.
4911 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4913 * net/eww.el (eww-download-directory): Rename from
4914 `eww-download-path' (Bug#16419).
4916 2014-01-12 Leo Liu <sdl.web@gmail.com>
4918 * dired-x.el (dired-mode-map): Fix last change.
4920 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4922 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4925 * emacs-lisp/generic.el (generic--normalize-comments):
4926 Rename from generic--normalise-comments. All uses changed.
4927 * play/bubbles.el (bubbles--neighborhood-score)
4928 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4929 (bubbles--neighborhood-available)
4930 (bubbles--update-neighborhood-score):
4931 Rename from names with 'neighbourhood'. All uses changed.
4933 2014-01-12 Leo Liu <sdl.web@gmail.com>
4935 Re-implement the feature of showing eldoc info after editing.
4936 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4937 (eldoc-edit-message-commands): New function.
4938 (eldoc-print-after-edit): New variable.
4939 (eldoc-pre-command-refresh-echo-area): Emit message only by
4940 eldoc-message-commands.
4941 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4942 if eldoc-print-after-edit is set. (Bug#16346)
4943 * simple.el (read--expression): Enable eldoc-mode.
4944 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4946 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4947 Eric S. Raymond <esr@thyrsus.com>
4949 * version.el (emacs-repository-get-version): Enhance so the
4950 function works correctly in either a Bazaar or Git repo.
4952 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4954 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4955 Goes with removal of the joke manpages from /etc.
4957 2014-01-10 Kenichi Handa <handa@gnu.org>
4959 * mail/rmail.el (rmail-get-coding-system):
4960 Check rmail-get-coding-function before "funcall"ing it.
4962 2014-01-10 Glenn Morris <rgm@gnu.org>
4964 * emacs-lisp/authors.el (authors-fixed-entries):
4965 Update for files that no longer exist.
4967 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4969 * version.el (emacs-bzr-get-version): Restore compatibilty with
4972 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4974 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4977 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4979 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4981 2014-01-10 Chong Yidong <cyd@gnu.org>
4983 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4985 2014-01-10 Anders Lindgren <andlind@gmail.com>
4987 * follow.el (follow-cache-command-list): Include right-char and
4990 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4993 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4994 * woman.el (woman-mark-horizontal-position):
4995 Rename from woman-mark-horizonal-position. Use changed.
4997 2014-01-10 Glenn Morris <rgm@gnu.org>
4999 * info.el (info-initialize): If running uninstalled, ensure our
5000 own info files are always found first, even if INFOPATH is set.
5002 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5004 2014-01-09 David Engster <deng@randomsample.de>
5006 * emacs-lisp/eieio-custom.el:
5007 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5008 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5009 * emacs-lisp/eieio.el: Regenerate autoloads.
5011 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5013 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5014 following renames. (Bug#8756)
5016 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5018 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5020 (activate-mark): Add `no-tmm' argument.
5021 (set-mark, push-mark-command): Use it instead of running
5022 activate-mark-hook by hand.
5024 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5026 In preparation for the move to git, sanitize out some
5027 Bazaar-specific names.
5029 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5031 * version.el (emacs-bzr-version): Name changed to
5032 emacs-repository-version. Obsolete-variable alias made.
5033 * loadup.el: Follow through on this name change.
5034 * mail/emacsbug.el (report-emacs-bug): Factor out any
5035 assumption about the version control system in use.
5037 2014-01-08 David Engster <deng@randomsample.de>
5039 * help-fns.el (help-fns-describe-function-functions):
5040 New variable to call functions for augmenting help buffers.
5041 (describe-function-1): Remove explicit calls to
5042 `help-fns--compiler-macro', `help-fns--parent-mode' and
5043 `help-fns--obsolete'. Put them in above new variable instead, and
5044 call them through `run-hook-with-args'.
5045 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5046 `eieio-describe-class'. Not meant for interactive use anymore,
5047 but to augment existing help buffers. Remove optional second
5048 argument. Create proper button for file location.
5049 Rewrite function to use `insert' instead of `princ' and `prin1' where
5051 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5052 (eieio-method-def, eieio-class-def): Move further up.
5053 (describe-method, describe-generic, eieio-describe-method):
5055 (eieio-help-constructor, eieio-help-generic): Rename from
5056 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5057 Rewrite to use `insert' in the current buffer and use proper help
5059 (eieio-help-find-method-definition)
5060 (eieio-help-find-class-definition): Also accept symbols as
5062 (eieio-help-mode-augmentation-maybee): Remove.
5063 (eieio-describe-class-sb): Use `describe-function'.
5064 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5065 Add `eieio-help-generic' and `eieio-help-constructor'.
5067 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5070 * language/china-util.el (hz-ascii-designation):
5071 Rename from hz-ascii-designnation.
5072 (hz-ascii-designation): Rename from hz-ascii-designnation.
5075 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5077 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5080 2014-01-08 Bastien Guerry <bzg@gnu.org>
5082 * emacs-lisp/package.el (package-delete):
5083 Correctly delete the package from package-alist.
5085 2014-01-08 Daiki Ueno <ueno@gnu.org>
5087 * emacs-lisp/package.el (url-recreate-url): Declare.
5088 (url-http-target-url): Declare.
5089 (package-handle-response): Include requested URL in the error message.
5090 (package--check-signature): Don't re-signal errors from
5091 package--with-work-buffer. Suggested by Stefan Monnier.
5093 2014-01-07 Bastien Guerry <bzg@gnu.org>
5095 * minibuffer.el (completion--try-word-completion): When both a
5096 hyphen and a space are possible candidates for the character
5097 following a word, display both candidates. (Bug#15980)
5099 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5101 * window.el (balance-windows-2): While rounding don't give a
5102 window more than the remainder. Bug#16351, bug#16383.
5104 2014-01-07 Glenn Morris <rgm@gnu.org>
5106 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5107 (menu-bar-help-menu): Use view-external-packages instead.
5109 2014-01-07 Bastien Guerry <bzg@gnu.org>
5111 * emacs-lisp/package.el (package-delete): Also delete the package
5112 name from `package-alist', not its description only.
5114 2014-01-07 Glenn Morris <rgm@gnu.org>
5116 * help.el (view-external-packages):
5117 * menu-bar.el (menu-bar-help-extra-packages):
5118 Visit efaq.info rather than etc/MORE.STUFF.
5120 2014-01-07 Juri Linkov <juri@jurta.org>
5122 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5123 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5125 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5126 that shadows RET. (Bug#16342)
5128 2014-01-07 Chong Yidong <cyd@gnu.org>
5130 * isearch.el (isearch-yank-char, isearch-yank-word)
5131 (isearch-yank-line): Doc fix.
5133 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5136 * emacs-lisp/elint.el (elint-find-builtins):
5137 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5138 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5139 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5140 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5141 * apropos.el (apropos-safe-documentation):
5142 * subr.el (symbol-file): Remove redundant fboundp.
5143 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5145 2014-01-06 Bastien Guerry <bzg@gnu.org>
5147 * hl-line.el (global-hl-line-overlay): Make a local variable.
5148 (global-hl-line-overlays): New variable to store all overlays.
5149 (global-hl-line-mode): Don't delete overlays from the current
5150 buffer when `global-hl-line-sticky-flag' is non-nil.
5151 (global-hl-line-highlight): Add new overlays to
5152 `global-hl-line-overlays'.
5153 (global-hl-line-unhighlight-all): New function to delete all
5154 overlays when turning off `global-hl-line-mode'.
5155 This fixes Bug#16183.
5157 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * subr.el (set-transient-map): Fix nested case and docstring.
5161 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5163 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5166 2014-01-06 Daniel Colascione <dancol@dancol.org>
5168 Fix defun navigation in vc log view.
5170 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5171 like `beginning-of-defun'.
5172 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5173 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5174 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5175 (log-view-extract-comment): Call `log-view-current-entry' directly
5176 instead of relying on broken `log-view-beginning-of-defun' behavior.
5178 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5181 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5182 * emacs-lisp/debug.el (cancel-debug-on-entry):
5183 * epg.el (epg-error-to-string):
5184 * files.el (recover-file):
5185 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5186 * mail/emacsbug.el (report-emacs-bug-hook):
5187 * mail/sendmail.el (mail-recover):
5188 * ses.el (ses-yank-resize):
5189 * term/ns-win.el (ns-print-buffer):
5190 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5191 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5193 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5195 2014-01-06 Leo Liu <sdl.web@gmail.com>
5197 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5198 to avoid shadowing global key. (Bug#16354)
5200 2014-01-06 Daniel Colascione <dancol@dancol.org>
5202 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5205 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5207 * window.el (balance-windows): Add mising t to fix Bug#16351.
5209 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5211 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5213 (shr-insert): If we have a word that's longer than `shr-width',
5214 break after it anyway. Otherwise we'll do no breaking once we get
5217 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5219 * net/eww.el (eww): Support single/double quote for search.
5220 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5221 (eww-history-quit): Delete and use quit-window.
5222 (eww-history-kill): Delete, because it doesn't work well and
5224 (eww-history-mode-map): Delete some keys and add easy-menu.
5226 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5228 Fix misspelling of 'chinese' in rx (Bug#16237).
5229 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5232 Change subword regexps back to vars (Bug#16296).
5233 * progmodes/subword.el (subword-forward-regexp)
5234 (subword-backward-regexp): Change these back to variables.
5236 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5238 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5239 syntax-begin-function (bug#16247).
5241 2014-01-03 Chong Yidong <cyd@gnu.org>
5243 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5244 (advice--docstring): Delete variable.
5245 (advice--make-1): Leave the docstring empty.
5246 (advice-add): Use function-documentation for advised docstring.
5248 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5249 Ignore function-documentation property when getting documentation.
5250 (ad-activate-advised-definition): Use function-documentation
5251 generate the docstring.
5252 (ad-make-advised-definition): Don't call
5253 ad-make-advised-definition-docstring.
5254 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5257 * progmodes/sql.el (sql-help): Use function-documentation instead
5258 of dynamic-docstring-function property. No need to autoload now.
5259 (sql--help-docstring): New variable.
5260 (sql--make-help-docstring): Use it.
5262 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5264 * ielm.el (ielm-tab): Retarget.
5265 (ielm-map): Use ielm-tab for tab.
5266 (ielm-complete-filename): Use comint-filename-completion.
5267 (ielm-complete-symbol): Remove.
5268 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5269 remove ielm-tab from completion-at-point-functions (bug#16224).
5271 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5272 Beware signals raised by predicates (bug#16201).
5274 2014-01-02 Richard Stallman <rms@gnu.org>
5276 * dired-aux.el (dired-do-print): Handle printer-name.
5278 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5279 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5280 (rmail-epa-decrypt): Turn off mime processing.
5282 * mail/rmail.el (rmail-make-in-reply-to-field):
5283 Add parens in message-id.
5285 * mail/rmail.el (rmail-get-coding-function): Variable.
5286 (rmail-get-coding-system): Use it.
5288 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5290 * international/mule-conf.el: Unify the charset indian-is13194.
5291 (indian-is13194): Specify unify-map.
5293 2013-12-31 Leo Liu <sdl.web@gmail.com>
5295 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5297 2013-12-30 Daniel Colascione <dancol@dancol.org>
5299 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5300 of printing a useless when we resume from sleep.
5302 * progmodes/sh-script.el
5303 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5304 in indentation code. (Bug#16233)
5306 2013-12-28 João Távora <joaotavora@gmail.com>
5308 * elec-pair.el (electric-pair-post-self-insert-function):
5309 Don't open extra newlines at beginning of buffer. (Bug#16272)
5311 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5313 * frame.el (window-system-for-display): Don't allow to create a
5314 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5316 2013-12-28 Glenn Morris <rgm@gnu.org>
5318 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5321 * apropos.el (apropos-match-face):
5322 * calculator.el (calculator-displayer):
5323 * dabbrev.el (dabbrev-search-these-buffers-only):
5324 * face-remap.el (buffer-face-mode-face):
5325 * simple.el (yank-handled-properties):
5326 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5327 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5328 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5329 (hashcash-double-spend-database):
5330 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5331 (ruby-deep-indent-paren-style):
5332 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5333 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5334 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5335 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5336 Specify custom types.
5338 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5339 * bookmark.el (bookmark-bmenu-use-header-line):
5340 * doc-view.el (doc-view-scale-internally):
5341 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5342 * register.el (register-preview-delay):
5343 * net/shr.el (shr-bullet):
5344 * progmodes/cfengine.el (cfengine-cf-promises)
5345 (cfengine-parameters-indent):
5346 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5347 * textmodes/reftex-vars.el (reftex-label-regexps):
5348 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5350 * net/tls.el (tls-certtool-program): Fix default value.
5352 * desktop.el (desktop-restore-in-current-display):
5353 * newcomment.el (comment-empty-lines):
5354 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5355 (idlwave-pad-keyword):
5356 * progmodes/tcl.el (tcl-tab-always-indent):
5357 * textmodes/reftex-vars.el (reftex-index-default-tag):
5358 * elec-pair.el (electric-pair-skip-whitespace):
5359 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5361 * emacs-lisp/authors.el (authors-ignored-files)
5362 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5364 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5366 * shell.el (shell-dynamic-complete-command): Doc fix.
5367 (shell--command-completion-data): Shell completion now matches
5368 executable filenames from the current buffer's directory, on
5369 systems in which this behavior is the default (windows-nt, ms-dos).
5371 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5373 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5375 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5377 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5380 * electric.el: Move all electric-pair-* to elec-pair.el.
5381 * elec-pair.el: New file, split from electric.el.
5383 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5385 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5386 indentation level is larger than the width, because that will
5388 (shr-insert): Fill repeatedly long texts, so that Japanese is
5389 formatted correctly (bug#16263).
5390 (shr-find-fill-point): Off by one error in comparison with the
5393 2013-12-26 João Távora <joaotavora@gmail.com>
5395 * electric.el (electric-pair-mode): More flexible engine for skip-
5396 and inhibit predicates, new options for pairing-related functionality.
5397 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5398 if that keeps or improves their balance in buffers.
5399 (electric-pair-delete-adjacent-pairs): Delete the pair when
5400 backspacing over adjacent matched delimiters.
5401 (electric-pair-open-extra-newline): Open extra newline when
5402 inserting newlines between adjacent matched delimiters.
5403 (electric--sort-post-self-insertion-hook):
5404 Sort post-self-insert-hook according to priority values when
5405 minor-modes are activated.
5406 * simple.el (newline-and-indent): Call newline with interactive
5408 (blink-paren-post-self-insert-function): Set priority to 100.
5409 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5410 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5411 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5412 electric-pair-open-newline-between-pairs to nil.
5414 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5416 * progmodes/python.el: Use lexical-binding.
5417 (python-nav-beginning-of-defun): Stop searching ASAP.
5419 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5421 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5422 Fix interactive spec. Doc fix. (Bug#15754)
5424 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5426 * emacs-lisp/byte-run.el (eval-when-compile):
5427 * progmodes/cc-defs.el (cc-eval-when-compile):
5428 Fix edebug spec (bug#16184).
5430 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5432 * net/shr.el (shr-visit-file): Remove debugging function.
5433 (shr-insert): Don't infloop if we can't find a good place to break
5434 the line (bug#16256).
5436 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5438 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5439 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5440 python-nav-lisp-forward-sexp-safe.
5441 (python-nav--forward-sexp): New argument SAFE allows switching
5442 forward sexp movement behavior for parens.
5443 (python-nav-forward-sexp): Throw errors on unterminated parens
5445 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5446 (python-nav-backward-sexp-safe): New functions.
5447 (python-shell-buffer-substring):
5448 Use `python-nav-forward-sexp-safe'.
5450 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5452 * net/shr.el (shr-find-fill-point): Don't break lines before a
5454 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5455 (shr-find-fill-point): Remove the special checks for the quotation
5456 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5458 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5460 * net/eww.el (eww-form-textarea): Use a different face for
5461 textareas than text input since they have different keymaps
5464 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5466 * progmodes/python.el (python-nav-beginning-of-statement):
5467 Speed up (Bug#15295).
5469 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5471 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5472 the window configuration.
5474 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5476 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5477 we run on MS-Windows or MS-DOS.
5479 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5481 * window.el (balance-windows-area): Call window-size instead of
5482 window-height and window-width. Bug#16241.
5484 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5486 * net/eww.el (eww-bookmark-quit): Remove.
5487 (eww-bookmark-browse): Restore the window configuration when you
5488 choose a bookmark (bug#16144).
5490 2013-12-24 Daniel Colascione <dancol@dancol.org>
5492 * icomplete.el: Remove redundant :group arguments to `defcustom'
5494 (icomplete-show-matches-on-no-input): New customizable variable.
5495 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5496 we have something to show.
5497 (icomplete-exhibit): Compute completions even if we have no user input.
5499 2013-12-23 Daniel Colascione <dancol@dancol.org>
5501 * icomplete.el: Move `provide' to end of file.
5503 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5505 * net/gnutls.el (gnutls-verify-error): Add version tag.
5507 2013-12-23 Chong Yidong <cyd@gnu.org>
5509 * subr.el (set-transient-map): Rename from
5510 set-temporary-overlay-map. Doc fix.
5512 * face-remap.el (text-scale-adjust):
5513 * indent.el (indent-rigidly):
5514 * kmacro.el (kmacro-call-macro):
5515 * minibuffer.el (minibuffer-force-complete):
5516 * repeat.el (repeat):
5517 * simple.el (universal-argument--mode):
5518 * calendar/todo-mode.el (todo-insert-item--next-param):
5519 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5521 * indent.el (indent-rigidly): Use substitute-command-keys.
5523 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5525 * net/eww.el (eww-tag-select): Add text-property to jump to next
5527 (eww): Add non-supported ftp error.
5529 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5531 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5532 comments. Handle electric indent after typing `?' and `!'.
5534 2013-12-22 Chong Yidong <cyd@gnu.org>
5536 * faces.el (face-spec-recalc): If the theme specs are not
5537 applicable to a frame, fall back on the defface spec.
5538 This prevents themes from obliterating faces on low-color terminals.
5540 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5542 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5543 after `{'. We need it after block openers, and it doesn't seem
5544 to hurt after hash openers.
5546 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5548 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5549 extracted from `ruby-smie-rules'.
5550 (ruby--electric-indent-chars): New variable.
5551 (ruby--electric-indent-p): New function.
5552 (ruby-mode): Use `electric-indent-functions' instead of
5553 `electric-indent-chars'.
5555 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5557 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5559 (ruby-smie-rules): Indent plus one level after `=>'.
5561 2013-12-21 Richard Stallman <rms@gnu.org>
5563 * simple.el (newline): Doc fix.
5565 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5567 * net/eww.el (eww-list-histories, eww-list-histories)
5568 (eww-history-browse, eww-history-quit, eww-history-kill)
5569 (eww-history-mode-map, eww-history-mode): New command and
5570 functions to list browser histories.
5571 (eww-form-text): Support text form with disabled
5572 and readonly attributes.
5573 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5575 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5577 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5578 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5579 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5580 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5582 (eww-bookmark-mode-map): Add menu.
5583 (eww-render, eww-mode): Use `setq-local'.
5584 (eww-tool-bar-map): New variable.
5585 (eww-mode): Set `tool-bar-map'.
5586 (eww-view-source): Check for `html-mode' with `fboundp'.
5588 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5590 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5591 elements with text inside. Also remove debugging.
5593 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5595 * cus-start.el (all): Add ns-use-srgb-colorspace.
5597 2013-12-21 Chong Yidong <cyd@gnu.org>
5599 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5600 undefined. Thus, theme settings for undefined faces do not take
5601 effect until the faces are defined with defface, the same as with
5604 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5605 (face-spec-reset-face): Don't assign extra properties in temacs.
5606 (face-spec-recalc): Apply X resources too.
5608 2013-12-21 Chong Yidong <cyd@gnu.org>
5610 * faces.el (face-spec-set):
5611 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5612 * custom.el (defface): Doc fixes (Bug#16203).
5614 * indent.el (indent-rigidly-map): Add docstring, and move commands
5615 into named functions.
5616 (indent-rigidly-left, indent-rigidly-right)
5617 (indent-rigidly-left-to-tab-stop)
5618 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5619 indentation direction based on bidi direction, and accumulate
5620 sequential commands in a single undo boundary.
5621 (indent-rigidly--pop-undo): New utility function.
5623 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5625 * faces.el (read-face-name): Require crm.el when using crm-separator.
5627 2013-12-20 Daniel Colascione <dancol@dancol.org>
5629 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5630 so that we don't reflow comments into the shebang line.
5632 2013-12-20 Juri Linkov <juri@jurta.org>
5634 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5635 a position when `dired-directory' is non-nil. Check integer
5636 positions with `integerp'.
5637 (toggle-save-place, save-places-to-alist): Add check for
5639 (save-place-find-file-hook): Check integer positions with
5641 (save-place-dired-hook): Use `dired-goto-file' when
5642 `dired-filename' is found in the assoc list. Check integer
5643 positions with `integerp'.
5644 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5646 * dired.el (dired-initial-position-hook): Rename back from
5647 `dired-initial-point-hook'.
5648 (dired-initial-position): Rename `dired-initial-point-hook' to
5649 `dired-initial-position-hook'.
5650 (dired-file-name-at-point): Doc fix. (Bug#15329)
5652 2013-12-20 Juri Linkov <juri@jurta.org>
5654 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5655 (read-regexp-suggestions): New function.
5656 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5657 Use `read-regexp-suggestions'. Add non-empty default to history
5659 (occur-read-regexp-defaults-function): Remove function.
5660 (occur-read-primary-args): Use `regexp-history-last' instead of
5661 `occur-read-regexp-defaults-function'.
5663 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5664 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5665 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5666 `hi-lock-read-regexp-defaults-function'. Doc fix.
5667 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5668 with `find-tag-default-as-symbol-regexp'. Doc fix.
5669 (hi-lock-read-regexp-defaults): Remove function.
5670 (hi-lock-regexp-okay): Add check for null.
5672 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5673 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5675 * subr.el (find-tag-default-as-symbol-regexp): New function.
5676 (find-tag-default-as-regexp): Move symbol regexp formatting to
5677 `find-tag-default-as-symbol-regexp'.
5679 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5681 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5684 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5686 * calendar/todo-mode.el: New implementation of item insertion
5687 commands and key bindings.
5688 (todo-key-prompt): New face.
5689 (todo-insert-item): New command.
5690 (todo-insert-item--parameters): New defconst, replacing defvar
5691 todo-insertion-commands-args-genlist.
5692 (todo-insert-item--param-key-alist): New defconst, replacing
5693 defvar todo-insertion-commands-arg-key-list.
5694 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5695 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5696 (todo-insert-item--next-param): New functions.
5697 (todo-insert-item--args, todo-insert-item--argleft)
5698 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5700 (todo-key-bindings-t): Change binding of "i" from
5701 todo-insertion-map to todo-insert-item.
5702 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5703 (todo-insertion-command-name, todo-insertion-commands-names)
5704 (todo-define-insertion-command, todo-insertion-commands)
5705 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5707 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5709 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5710 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5712 (todo-move-category): Allow choosing a non-existing todo file to
5713 move the category to, and create that file.
5714 (todo-default-priority): New user option.
5715 (todo-set-item-priority): Use it.
5716 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5717 (desktop-restore-file-buffer): Declare.
5718 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5719 (todo-modes-set-2): Locally set desktop-save-buffer to
5720 todo-desktop-save-buffer.
5721 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5722 (auto-mode-alist): Add autoload cookie.
5724 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5726 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5727 helpers.el was a poor choice of name.
5728 (string-remove-prefix): New function.
5729 (string-remove-suffix): New function.
5731 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5733 Fix assignment for new window total sizes.
5734 * window.el (window--pixel-to-size): Remove function.
5735 (window--pixel-to-total-1, window--pixel-to-total):
5736 Fix calculation of new total sizes.
5738 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5740 * comint.el (comint-output-filter): Fix rear-nonsticky property
5741 placement (Bug#16010).
5743 2013-12-20 Chong Yidong <cyd@gnu.org>
5745 * faces.el (read-color): Minor fix for completion function.
5747 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5749 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5750 New option. (Bug#16182)
5751 (ruby-smie--indent-to-stmt-p): Use it.
5752 (ruby-smie-rules): Revert the logic in the handling of `when'.
5753 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5754 (ruby-deep-arglist, ruby-deep-indent-paren)
5755 (ruby-deep-indent-paren-style): Update docstrings to note that the
5756 vars don't have any effect with SMIE.
5758 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5760 * calc/calc.el (calc-enter, calc-pop): Use the variable
5761 `calc-context-sensitive-enter'.
5763 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5765 * net/shr.el (shr-insert): Protect against infloops in degenerate
5768 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5770 * progmodes/octave.el (octave): Add link to manual and octave
5772 (octave-mode-menu): Link to octave-mode manual.
5774 2013-12-20 Leo Liu <sdl.web@gmail.com>
5776 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5777 insertion using skeleton-end-newline. (Bug#16138)
5779 2013-12-20 Juri Linkov <juri@jurta.org>
5781 * replace.el (occur-engine): Use `add-face-text-property'
5782 to add the face property to matches and titles. (Bug#14645)
5784 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5785 the palette of other hi-lock colors.
5786 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5788 2013-12-19 Juri Linkov <juri@jurta.org>
5790 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5791 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5792 (minibuffer-history-symbol): Move variable declaration closer to
5795 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5798 2013-12-19 Juri Linkov <juri@jurta.org>
5800 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5802 (log-edit-hook): Add it to :options. (Bug#16170)
5804 2013-12-19 Juri Linkov <juri@jurta.org>
5806 * simple.el (eval-expression-print-format): Don't check for
5807 command names and the last command. Always display additional
5808 formats of the integer result in the echo area, and insert them
5809 to the current buffer only with a zero prefix arg.
5810 Display character when char-displayable-p is non-nil.
5811 (eval-expression): With a zero prefix arg, set `print-length' and
5812 `print-level' to nil, and insert the integer values from
5813 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5815 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5816 `eval-last-sexp-arg-internal'. Doc fix.
5817 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5818 `eval-last-sexp-print-value'. Doc fix.
5819 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5820 Set `print-length' and `print-level' to nil when arg is zero.
5821 (eval-last-sexp): Doc fix.
5822 (eval-defun-2): Print the integer values from
5823 `eval-expression-print-format' at the end.
5825 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5826 values from `eval-expression-print-format' at the end.
5828 * ielm.el (ielm-eval-input): Print the integer
5829 values from `eval-expression-print-format' at the end.
5831 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5833 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5834 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5836 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5838 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5839 (hl-line-highlight, global-hl-line-highlight): Use it.
5840 (hl-line-overlay): Use defvar-local.
5842 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5844 * term/ns-win.el: Require dnd.
5845 (global-map): Remove drag items.
5846 (ns-insert-text, ns-set-foreground-at-mouse)
5847 (ns-set-background-at-mouse):
5848 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5849 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5852 2013-12-19 Glenn Morris <rgm@gnu.org>
5854 * emacs-lisp/ert.el (ert-select-tests):
5855 Fix string/symbol mixup. (Bug#16121)
5857 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5859 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5860 keywords to their parent.
5862 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5864 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5865 first arg to be a string (fixed dead code), or an operator symbol.
5866 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5868 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5869 did nothing. Don't respond to `(:after ".")', it will be called
5870 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5871 change anything. Only return indentation for binary operators
5872 when they are hanging. De-dent opening paren when its parent is
5873 `.', otherwise it looks bad when the dot is not at bol or eol
5876 2013-12-19 Juri Linkov <juri@jurta.org>
5878 * replace.el (query-replace-read-args): Split a non-negative arg
5879 and a negative arg into separate elements.
5880 (query-replace, query-replace-regexp, replace-string)
5881 (replace-regexp): Add arg `backward'. Doc fix.
5882 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5883 move point to the beginning of the match.
5884 (replace-search, replace-highlight): Use new arg `backward'
5885 to set the value of `isearch-forward'.
5886 (perform-replace): Add arg `backward' and use it to perform
5887 replacement backward. (Bug#14979)
5889 * isearch.el (isearch-query-replace): Use a negative prefix arg
5890 to call `perform-replace' with a non-nil arg `backward'.
5892 2013-12-18 Juri Linkov <juri@jurta.org>
5894 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5895 to the default list. Move `log-edit-show-files' to the end.
5896 Add more available functions to options.
5897 (log-edit): Move default specific settings to
5898 `log-edit-insert-message-template'. Don't move point.
5899 (log-edit-insert-message-template): New function.
5900 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5903 2013-12-18 Juri Linkov <juri@jurta.org>
5905 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5906 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5908 2013-12-18 Leo Liu <sdl.web@gmail.com>
5910 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5913 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5915 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5916 formats for displaying file sizes when the -s switch is given.
5917 Instead, compute a separate format for displaying the size in
5918 blocks, which is displayed in addition to the "regular" size.
5919 When -h is given in addition to -s, produce size in blocks in
5920 human-readable form as well. (Bug#16179)
5922 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5924 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5925 Reference tables with ~\ref{...} instead of only \ref{...}.
5927 2013-12-18 Chong Yidong <cyd@gnu.org>
5929 * cus-edit.el (custom-magic-alist): Fix "themed" description
5932 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5933 is non-nil, do not create a new entry in the symbol's theme-value
5934 or theme-face property; update theme-settings only (Bug#14664).
5935 (custom-available-themes): Doc fix.
5937 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5940 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5942 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5944 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5947 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5949 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5951 2013-12-18 Glenn Morris <rgm@gnu.org>
5953 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5954 * cus-start.el (load-prefer-newer): New option.
5956 2013-12-18 Le Wang <l26wang@gmail.com>
5958 * comint.el (comint-previous-matching-input-from-input):
5959 Retain point (Bug#13404).
5961 2013-12-18 Chong Yidong <cyd@gnu.org>
5963 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5965 2013-12-18 Glenn Morris <rgm@gnu.org>
5967 * mail/emacsbug.el (report-emacs-bug):
5968 Only mention enable-multibyte-characters if non-standard.
5970 2013-12-17 Juri Linkov <juri@jurta.org>
5972 * arc-mode.el (archive-extract-by-file): Check if directory exists
5973 before deletion to not show irrelevant errors if it doesn't exist.
5975 2013-12-17 Juri Linkov <juri@jurta.org>
5977 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5980 * net/eww.el (browse-web): Add alias to `eww'.
5981 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5982 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5984 * net/browse-url.el (browse-url-browser-function): Move `eww'
5985 closer to similar functions.
5987 * startup.el (fancy-startup-screen, fancy-about-screen):
5988 Set browse-url-browser-function to eww-browse-url locally.
5991 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * window.el (window--pixel-to-total): Remove unused `mini' var.
5994 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5995 (split-window): Remove unused `new' var.
5996 (window--display-buffer): Remove unused `frame' and `delta' vars.
5997 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6000 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6002 * dired.el (dired-mark-pop-up):
6003 * register.el (register-preview): Don't bind
6004 split-height-threshold here since it's now done in
6005 display-buffer-below-selected.
6007 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6009 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6010 xterm-rgb-convert-to-16bit.
6011 (rxvt-register-default-colors): Standardize with
6012 xterm-register-default-colors (Bug#14078).
6014 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6016 * simple.el (kill-region): Pass mark first, then point, so that
6017 kill-append works right (Bug#12819).
6018 (copy-region-as-kill, kill-ring-save): Likewise.
6020 2013-12-17 Leo Liu <sdl.web@gmail.com>
6022 * net/rcirc.el (rcirc-add-face):
6023 * eshell/em-prompt.el (eshell-emit-prompt):
6024 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6027 2013-12-17 Chong Yidong <cyd@gnu.org>
6029 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6030 Suggested by Xue Fuqiao.
6032 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6034 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6036 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6038 * net/shr.el (shr-insert-document): Remove unused var
6039 `shr-preliminary-table-render'.
6040 (shr-rescale-image): Remove unused arg `force'.
6041 (shr-put-image): Update calls accordingly.
6042 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6044 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6046 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6047 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6048 :close-all, to see which indentation method to use (Bug#16116).
6049 (smie-rules-function): Document the method :close-all.
6051 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6053 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6055 * net/eww.el (eww-display-html): If we can't find the anchor we're
6056 looking for, then go to point-min.
6058 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6060 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6061 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6062 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6063 Expand dir too, in case it's relative.
6065 2013-12-16 Juri Linkov <juri@jurta.org>
6067 * desktop.el (desktop-auto-save-timeout): Change default to
6068 `auto-save-timeout'. Doc fix.
6069 (desktop-save): Skip the timestamp in desktop-saved-frameset
6070 when checking for auto-save changes.
6071 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6072 `desktop-auto-save' is called repeatedly by the idle timer.
6073 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6074 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6077 2013-12-16 Juri Linkov <juri@jurta.org>
6079 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6081 (isearch-pre-command-hook): Check `this-command' for symbolp.
6083 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6087 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6089 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6090 (cfengine3--current-function): Bring in the current-function
6091 functionality from `cfengine3--current-word'.
6092 (cfengine3-completion-function): Bring in the
6093 bounds-of-current-word functionality from
6094 `cfengine3--current-word'.
6096 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6098 * window.el (display-buffer-below-selected):
6099 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6101 2013-12-16 Leo Liu <sdl.web@gmail.com>
6103 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6104 Remove NOMSG arg and all uses changed.
6106 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6109 (cua--deactivate-rectangle): Don't deactivate the mark.
6110 (cua-set-rectangle-mark): Don't set mark-active since
6111 cua--activate-rectangle already does it for us.
6112 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6113 non-rectangular region.
6115 * emulation/cua-base.el (cua-repeat-replace-region):
6116 Use with-current-buffer.
6118 * net/gnutls.el: Use cl-lib.
6119 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6121 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6123 * emacs-lisp/package.el (package-built-in-p): Support both
6124 built-in and the package.el converted package descriptions.
6125 (package-show-package-list): Allow keywords.
6126 (package-keyword-button-action): Use it instead of
6127 `finder-list-matches'.
6128 (package-menu-filter-interactive): Interactive filtering (by
6130 (package-menu--generate): Support keywords and change keymappings
6131 and headers when they are given.
6132 (package--has-keyword-p): Helper function.
6133 (package-menu--refresh): Use it.
6134 (package--mapc): Helper function.
6135 (package-all-keywords): Use it.
6136 (package-menu-mode-map): Set up menu items and keybindings to
6137 provide a filtering UI.
6139 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6141 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6142 the behavior when a certificate fails validation. Defaults to
6143 old behavior: never abort, just warn.
6144 (gnutls-negotiate): Use it.
6146 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6148 * window.el (display-buffer-below-selected): Never split window
6149 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6151 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6153 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6154 (package-buffer-info): Use it (bug#15108).
6156 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6158 * icomplete.el (icomplete-completions): Make sure the prefix is already
6159 displayed elsewhere before hiding it (bug#16219).
6161 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6163 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6164 open-paren tokens when preceded by a open-paren, too.
6165 (ruby-smie-rules): Handle virtual indentation after open-paren
6166 tokens specially. If there is code between it and eol, return the
6167 column where is starts (Bug#16118).
6169 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6171 * progmodes/cfengine.el: Fix `add-hook' doc.
6172 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6173 (cfengine3--current-word): Fix parameters.
6174 (cfengine3-make-syntax-cache): Simplify further.
6175 (cfengine3-completion-function, cfengine3--current-function):
6176 Use `assq' for symbols.
6177 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6179 2013-12-13 Glenn Morris <rgm@gnu.org>
6181 * loadup.el (load-path): Warn if site-load or site-init changes it.
6182 No more need to reset it when bootstrapping.
6184 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6186 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6187 locations for cf-promises.
6188 (cfengine-mode-syntax-functions-regex): New caching variable.
6189 (cfengine3-fallback-syntax): Fallback syntax for cases where
6190 cf-promises doesn't run.
6191 (cfengine3--current-word): Reimplement using
6192 `cfengine-mode-syntax-functions-regex'.
6193 (cfengine3-completion-function, cfengine3--current-function):
6194 Use `cfengine3-make-syntax-cache' directly.
6195 (cfengine3-clear-syntax-cache): New function.
6196 (cfengine3-make-syntax-cache): Simplify and create
6197 `cfengine-mode-syntax-functions-regex' on demand.
6198 (cfengine3-format-function-docstring): Don't call
6199 `cfengine3-make-syntax-cache' explicitly.
6201 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6203 Fix windmove-find-other-window broken after pixelwise resizing
6205 * windmove.el (windmove-other-window-loc): Revert change from
6207 (windmove-find-other-window): Call window-in-direction.
6208 * window.el (window-in-direction): New arguments SIGN, WRAP and
6209 MINI to emulate original windmove-find-other-window behavior.
6211 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6213 * simple.el (blink-matching--overlay): New variable.
6214 (blink-matching-open): Instead of moving point, highlight the
6215 matching paren with an overlay
6216 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6218 * faces.el (paren-showing-faces, show-paren-match)
6219 (show-paren-mismatch): Move from paren.el.
6221 2013-12-13 Leo Liu <sdl.web@gmail.com>
6223 * indent.el (indent-region): Disable progress reporter in
6224 minibuffer. (Bug#16108)
6226 * bindings.el (visual-order-cursor-movement): Fix version.
6228 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6230 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6231 Also match after beginning of line.
6232 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6233 files. Thanks to Russell Sim. (Bug#15378)
6235 2013-12-13 Juri Linkov <juri@jurta.org>
6237 * simple.el <Keypad support>: Remove key bindings duplicated
6238 with bindings.el. (Bug#14397)
6240 2013-12-13 Juri Linkov <juri@jurta.org>
6242 * comint.el (comint-mode-map): Replace `delete-char' with
6243 `delete-forward-char'. (Bug#16109)
6245 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6247 * progmodes/python.el (python-indent-calculate-indentation):
6248 Fix de-denters cornercase. (Bug#15731)
6250 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6252 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6253 (advice--make): Pay attention to `depth'.
6254 (advice--make-1): Don't autoload commands eagerly.
6255 * emacs-lisp/elp.el (elp-instrument-function):
6256 * emacs-lisp/trace.el (trace-function-internal):
6257 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6259 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6261 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6263 * term/w32-win.el (w32-handle-dropped-file):
6264 * startup.el (normal-top-level):
6265 * net/browse-url.el (browse-url-file-url):
6266 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6267 decode file names using 'utf-8' rather than
6268 file-name-coding-system.
6270 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6272 * progmodes/python.el (python-indent-context)
6273 (python-indent-calculate-indentation): Fix auto-identation
6274 behavior for comment blocks. (Bug#15916)
6276 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6278 * progmodes/python.el (python-indent-calculate-indentation):
6279 When determining indentation, don't treat "return", "pass", etc., as
6280 operators when they are just string constituents. (Bug#15812)
6282 2013-12-12 Juri Linkov <juri@jurta.org>
6284 * uniquify.el (uniquify-buffer-name-style): Change default to
6285 `post-forward-angle-brackets'.
6287 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6288 `uniquify'. Change default to `post-forward-angle-brackets'.
6290 2013-12-11 Glenn Morris <rgm@gnu.org>
6292 * emacs-lisp/package.el (finder-list-matches):
6293 Autoload rather than falsely declaring.
6295 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6297 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6298 (eww-mode-map): Use them.
6300 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6302 * window.el (display-buffer-in-side-window): Fix doc-string
6305 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6307 * vc/vc-git.el: Silence byte-compiler warnings.
6308 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6309 (log-edit-set-header): Declare.
6311 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6313 * Makefile.in (custom-deps, finder-data): Run output file names
6314 through unmsys--file-name. (Bug#16099)
6316 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6319 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6321 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6322 instead of deleting the selection "by hand" (bug#16098).
6323 Rely on insert-for-yank to yank rectangles.
6324 (cua-highlight-region-shift-only): Mark obsolete.
6325 (cua-mode): Don't enable/disable transient-mark-mode,
6326 shift-select-mode (cua-mode works both with and without them), and
6327 pc-selection-mode (obsolete).
6328 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6329 (cua--deactivate-rectangle): Deactivate it.
6331 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6332 (delete-selection-helper): Make sure yank starts at the top of the
6334 (minibuffer-keyboard-quit): Use region-active-p.
6336 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6338 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6339 to `delete' (bug#16109).
6341 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6343 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6344 info manual and show keybindings and set `:group' keyword.
6346 2013-12-11 Juri Linkov <juri@jurta.org>
6348 * delsel.el (delete-active-region): Let-bind `this-command'
6349 to prevent `kill-region' from changing its original value.
6350 (delete-selection-helper): Handle `overwrite-mode' for the type
6351 `kill' exactly the same way as for the type `t'.
6352 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6353 Support more commands. (Bug#13312)
6355 2013-12-11 Juri Linkov <juri@jurta.org>
6357 * bindings.el: Map kp keys to non-kp keys systematically
6358 with basic modifiers control, meta and shift. (Bug#14397)
6360 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6362 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6363 "Close browser" menu items. Fix wrong function of "List
6366 2013-12-11 Juri Linkov <juri@jurta.org>
6368 * misearch.el (multi-isearch-buffers): Set the value of
6369 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6370 arg of isearch-forward to t.
6371 (multi-isearch-buffers-regexp): Set the value of
6372 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6373 arg of isearch-forward-regexp to t.
6374 (multi-isearch-files): Set the value of
6375 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6376 arg of isearch-forward to t.
6377 (multi-isearch-files-regexp): Set the value of
6378 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6379 arg of isearch-forward-regexp to t. (Bug#16035)
6381 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6382 arg of isearch-forward to t.
6383 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6384 arg of isearch-forward-regexp to t.
6385 (dired-isearch-filter-filenames): Remove unnecessary check for
6386 `dired-isearch-filenames'.
6388 * comint.el (comint-history-isearch-backward):
6389 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6390 (comint-history-isearch-backward-regexp):
6391 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6393 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6395 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6396 unmsys--file-name. (Bug#16099)
6398 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6400 * emacs-lisp/package.el (package-keyword-button-action):
6401 Remove finder.el require dependency.
6403 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6405 * emacs-lisp/package.el: Require finder.el.
6406 (describe-package-1): Add keyword buttons.
6407 (package-make-button): New convenience function.
6408 (package-keyword-button-action): Keyword button action using
6409 `finder-list-matches'.
6411 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6413 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6416 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6418 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6421 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6423 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6424 after the end of a percent literal.
6426 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6428 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6429 Handle caret-delimited strings (Bug#16079).
6431 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6433 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6434 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6435 `ruby-parse-partial' (Bug#16078).
6437 2013-12-09 Leo Liu <sdl.web@gmail.com>
6439 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6441 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6443 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6444 (js-switch-indent-offset): New option.
6445 (js--proper-indentation): Use it. And handle the case when
6446 "default" is actually a key in an object literal.
6447 (js--same-line): New function.
6448 (js--multi-line-declaration-indentation): Use it.
6449 (js--indent-in-array-comp, js--array-comp-indentation):
6451 (js--proper-indentation): Use them, to handle array comprehension
6454 2013-12-08 Leo Liu <sdl.web@gmail.com>
6456 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6457 (flymake-make-overlay): Remove arg MOUSE-FACE.
6458 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6460 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6462 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6464 (redisplay-highlight-region-function): Use it.
6466 * emulation/cua-base.el (cua--explicit-region-start)
6467 (cua--last-region-shifted): Remove.
6468 (cua--deactivate): Use deactivate-mark.
6469 (cua--pre-command-handler-1): Don't handle shift-selection.
6470 (cua--post-command-handler-1): Don't change transient-mark-mode.
6471 (cua--select-keymaps): Use region-active-p rather than
6472 cua--explicit-region-start or cua--last-region-shifted.
6473 (cua-mode): Enable shift-select-mode.
6475 2013-12-08 Leo Liu <sdl.web@gmail.com>
6477 * progmodes/flymake.el (flymake-popup-current-error-menu):
6478 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6479 (flymake-posn-at-point-as-event, flymake-popup-menu)
6480 (flymake-make-emacs-menu): Remove. (Bug#16077)
6482 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6484 * rect.el (rectangle-mark-mode): Activate mark even if
6485 transient-mark-mode is off (bug#16066).
6486 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6487 is > mark and at bolp.
6489 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6490 (region-extract-function): Use it.
6491 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6492 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6494 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6495 kill-ring-save, kill-region, delete-char, delete-forward-char.
6496 Ignore self-insert-iso.
6498 * emulation/cua-gmrk.el (cua--init-global-mark):
6499 Ignore `self-insert-iso'.
6501 * emulation/cua-base.el (cua--prefix-copy-handler)
6502 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6503 checking cua--rectangle.
6504 (cua-delete-region): Use region-extract-function.
6505 (cua-replace-region): Delete function.
6506 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6507 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6508 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6509 (cua--init-keymaps): Don't remap delete-selection commands.
6510 (cua-mode): Use delete-selection-mode instead of rolling our own
6513 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6514 Obey region-extract-function.
6516 Make registers and delete-selection-mode work on rectangles.
6517 * register.el (describe-register-1): Don't modify the register's value.
6518 (copy-to-register): Obey region-extract-function.
6519 * delsel.el (delete-active-region): Obey region-extract-function.
6521 2013-12-08 Leo Liu <sdl.web@gmail.com>
6523 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6524 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6525 (flymake-compilation-prevents-syntax-check)
6526 (flymake-start-syntax-check-on-newline)
6527 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6528 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6529 (flymake-xml-program, flymake-master-file-dirs)
6530 (flymake-master-file-count-limit)
6531 (flymake-allowed-file-name-masks): Relocate.
6532 (flymake-makehash, flymake-float-time)
6533 (flymake-replace-regexp-in-string, flymake-split-string)
6534 (flymake-get-temp-dir): Remove.
6535 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6536 (flymake-current-row, flymake-selected-frame)
6537 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6538 related functions. (Bug#16077)
6540 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6542 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6544 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6546 * help-fns.el (describe-function-1): Use new advice-* functions
6547 rather than old ad-* functions. Fix function type description and
6548 source links for advised functions and subrs.
6550 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6552 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6554 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6556 * progmodes/compile.el (compilation-start):
6557 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6559 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6560 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6562 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6564 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6565 Touch up the last change.
6567 2013-12-06 Leo Liu <sdl.web@gmail.com>
6569 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6570 (inferior-octave-startup): Always use "octave> " for prompt.
6571 (octave-goto-function-definition)
6572 (octave-sync-function-file-names)
6573 (octave-find-definition-default-filename): Remove redundant backquotes.
6575 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6577 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6579 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6580 where appropriate already.
6581 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6582 end of method names (Bug#15874).
6584 2013-12-06 Juri Linkov <juri@jurta.org>
6586 * isearch.el (isearch--saved-overriding-local-map):
6587 New internal variable.
6588 (isearch-mode): Set it to the initial value of
6589 `overriding-terminal-local-map'.
6590 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6591 with `isearch--saved-overriding-local-map'. (Bug#16035)
6593 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6595 * progmodes/octave.el (inferior-octave-completion-table):
6596 Turn back into function, use `completion-table-with-cache'
6597 (Bug#11906). Update all references.
6599 * minibuffer.el (completion-table-with-cache): New function.
6601 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6603 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6605 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6607 * net/eww.el (eww-current-source): New variable to store page
6609 (eww-display-html, eww-mode, eww-save-history)
6610 (eww-restore-history): Use it.
6611 (eww-view-source): New command to view page source.
6612 Opportunistically uses `html-mode' to highlight the buffer.
6613 (eww-mode-map): Install it.
6615 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6617 * net/dbus.el (dbus-unregister-service)
6618 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6620 (dbus-unregister-service): Skip :serial entries in
6621 `dbus-registered-objects-table'.
6622 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6624 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6626 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6627 around keywords with extra `split-string' argument.
6629 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6631 * windmove.el (windmove-other-window-loc): Handle navigation
6632 between windows (excluding the minibuffer window - Bug#16017).
6634 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6636 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6637 in D-Bus type syntax.
6638 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6639 preserve unibyte strings. (Bug#16048)
6641 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6643 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6644 Call force-mode-line-update is the proper buffer (bug#16042).
6646 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6648 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6649 `log-edit-remember-comment', make argument optional. Adjust all
6651 (log-edit-mode): Add `log-edit-remember-comment' to
6652 `kill-buffer-hook' locally.
6653 (log-edit-kill-buffer): Don't remember comment explicitly since
6654 the buffer is killed anyway.
6656 2013-12-04 Juri Linkov <juri@jurta.org>
6658 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6659 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6661 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6663 * notifications.el (notifications-close-notification): Call the
6664 D-Bus method with ID being a `:uint32'. (Bug#16030)
6666 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6668 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6670 2013-12-03 Juri Linkov <juri@jurta.org>
6672 * progmodes/compile.el (compilation-start): Rename window alist
6673 entry `no-display-ok' to `allow-no-window'.
6675 * simple.el (shell-command): Add window alist entry
6676 `allow-no-window' to `display-buffer'.
6677 (async-shell-command): Doc fix.
6679 * window.el (display-buffer-no-window): New action function.
6680 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6682 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6684 * vc/log-edit.el (log-edit-set-header): Extract from
6685 `log-edit-toggle-header'.
6686 (log-edit-extract-headers): Separate the summary, when extracted
6687 from header, from the rest of the message with an empty line.
6689 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6690 line, if present, to the Summary header.
6692 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6694 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6695 in current-buffer (bug#16029).
6697 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6699 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6700 (debugger-mode-map): Bind it.
6701 (debugger--backtrace-base): New function.
6702 (debugger-eval-expression): Use it.
6703 (debugger-frame-number): Skip local vars when present.
6704 (debugger--locals-visible-p, debugger--insert-locals)
6705 (debugger--show-locals, debugger--hide-locals): New functions.
6707 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6709 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6711 (tramp-get-remote-locale): New defun.
6712 (tramp-open-connection-setup-interactive-shell): Use it.
6714 2013-12-02 Leo Liu <sdl.web@gmail.com>
6716 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6718 * progmodes/sh-script.el (sh-shell-process):
6719 * progmodes/octave.el (inferior-octave-process-live-p):
6720 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6721 (gdb-inferior-io-sentinel):
6722 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6724 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6726 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6727 `save-selected-window' to `log-edit-hide-buf'. This makes
6728 `log-edit-show-files' idempotent.
6729 (log-edit-show-files): Mark the new window as dedicated.
6731 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6733 * vc/log-edit.el (log-edit-mode-map): Add binding for
6734 `log-edit-kill-biffer'.
6735 (log-edit-hide-buf): Add a FIXME comment.
6736 (log-edit-add-new-comment): New function, extracted from
6738 (log-edit-done, log-edit-add-to-changelog): Use it.
6739 (log-edit-kill-buffer): New command.
6741 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6743 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6744 instead of killing the buffer.
6746 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6748 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6750 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6752 * net/eww.el (eww-form-checkbox-selected-symbol)
6753 (eww-form-checkbox-symbol): New customizable variable.
6754 (eww-form-checkbox, eww-toggle-checkbox):
6755 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6757 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6758 (shr--get-media-pref, shr--extract-best-source): New function.
6759 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6760 no :src tag was specified.
6762 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6763 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6764 Use \\` to match beginning of string instead of ^.
6765 (eww-browse-with-external-browser): Provide optional URL parameter.
6766 (eww-render): Set `eww-current-title' back to "".
6768 * net/shr.el (shr-tag-video): Display content for video if no
6769 poster is available.
6770 (shr-tag-audio): Add support for <audio> tag.
6772 * net/eww.el (eww-text-input-types): New const.
6773 (eww-process-text-input): Treat input types in
6774 `eww-text-input-types' as text.
6776 * net/shr.el (shr-tag-table): Fix comment typo.
6778 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6780 * net/eww.el (eww-follow-link): New command to avoid reloading
6781 pages when we follow #target links (bug#15243).
6782 (eww-quit): Special mode buffers shouldn't query before exiting.
6784 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6786 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6789 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6791 * net/eww.el (eww-restore-history): Update the window title after
6792 moving in the history.
6793 (eww-current-dom): New variable used to save the current DOM.
6795 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6797 * vc/log-edit.el (log-edit-mode-map): Add binding for
6798 `log-edit-beginning-of-line'.
6799 (log-edit-setup-add-author): New user option.
6800 (log-edit-beginning-of-line): New command.
6801 (log-edit): Move major mode call above the contents setup so that
6802 the local variable values are already applied.
6803 (log-edit): Only insert "Author: " when
6804 `log-edit-setup-add-author' is non-nil.
6805 (log-edit): When SETUP is non-nil, position point after ": "
6806 instead of point-min.
6808 2013-12-01 Glenn Morris <rgm@gnu.org>
6810 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6812 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6814 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6815 redisplay to make sure the initial frame gets a chance to become
6816 visible. (Bug#16014)
6818 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6820 Support resizing frames and windows pixelwise.
6821 * cus-start.el (frame-resize-pixelwise)
6822 (window-resize-pixelwise): New entries.
6823 * emacs-lisp/debug.el (debug): Use window-total-height instead
6824 of window-total-size.
6825 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6826 * help.el (describe-bindings-internal): Use help-buffer as
6827 argument for with-help-window.
6828 (temp-buffer-max-width): New option.
6829 (resize-temp-buffer-window, help-window-setup)
6830 (with-help-window): Rewrite.
6831 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6833 * window.el (frame-char-size, window-min-pixel-height)
6834 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6835 (window-min-pixel-width, window-safe-min-pixel-size)
6836 (window-combination-p, window-safe-min-size)
6837 (window-resizable-p, window--size-to-pixel)
6838 (window--pixel-to-size, window--resize-apply-p): New functions.
6839 (window-safe-min-height): Fix doc-string.
6840 (window-size, window-min-size, window--min-size-1)
6841 (window-sizable, window-sizable-p, window--min-delta-1)
6842 (window-min-delta, window--max-delta-1, window-max-delta)
6843 (window--resizable, window--resizable-p, window-resizable)
6844 (window-full-height-p, window-full-width-p, window-at-side-p)
6845 (window--in-direction-2, window-in-direction)
6846 (window--resize-reset-1, window--resize-mini-window)
6847 (window-resize, window-resize-no-error)
6848 (window--resize-child-windows-normal)
6849 (window--resize-child-windows, window--resize-siblings)
6850 (window--resize-this-window, window--resize-root-window)
6851 (window--resize-root-window-vertically)
6852 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6853 (maximize-window, minimize-window, delete-window)
6854 (quit-restore-window, window-split-min-size, split-window)
6855 (balance-windows-2, balance-windows)
6856 (balance-windows-area-adjust, balance-windows-area)
6857 (window--state-get-1, window-state-get, window--state-put-1)
6858 (window--state-put-2, window-state-put)
6859 (display-buffer-record-window, window--display-buffer):
6860 Make functions handle pixelwise sizing of windows.
6861 (display-buffer--action-function-custom-type)
6862 (display-buffer-fallback-action):
6863 Add display-buffer-in-previous-window.
6864 (display-buffer-use-some-window): Resize window to height it had
6866 (fit-window-to-buffer-horizontally): New option.
6867 (fit-frame-to-buffer): Describe new values.
6868 (fit-frame-to-buffer-bottom-margin): Replace with
6869 fit-frame-to-buffer-margins.
6870 (window--sanitize-margin): New function.
6871 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6872 using window-text-pixel-size.
6874 2013-11-30 Glenn Morris <rgm@gnu.org>
6876 * emacs-lisp/bytecomp.el (byte-compile-form):
6877 Make the `interactive-only' warning like the `obsolete' one.
6878 * comint.el (comint-run):
6879 * files.el (insert-file-literally, insert-file):
6880 * replace.el (replace-string, replace-regexp):
6881 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6882 (goto-line, insert-buffer, next-line, previous-line):
6883 Tweak `interactive-only' spec.
6885 Stop keeping (most) generated cedet grammar files in the repository.
6886 * Makefile.in (semantic): New.
6887 (compile-main): Depend on semantic.
6889 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6891 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6892 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6894 * uniquify.el (uniquify-buffer-name-style): Change default.
6896 * loadup.el: Preload "uniquify".
6898 * time.el (display-time-update): Update all mode lines (bug#15999).
6900 * electric.el (electric-indent-mode): Enable by default.
6901 * loadup.el: Preload "electric".
6903 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6905 * emacs-lisp/helpers.el (string-empty-p): New function.
6906 (string-blank-p): New function.
6908 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6910 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6913 2013-11-29 Andreas Politz <politza@fh-trier.de>
6914 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6915 allow non-lambda lists as functions.
6916 (imenu--in-alist): Don't recurse into non-subalists.
6917 (imenu): Don't pass function itself as an argument (Bug#14029).
6919 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * progmodes/python.el (python-mode-map): Remove binding for ":".
6922 (python-indent-electric-colon): Remove command.
6923 (python-indent-post-self-insert-function): Integrate the previous code
6924 of python-indent-electric-colon. Make it conditional on
6925 electric-indent-mode.
6926 (python-mode): Add ?: to electric-indent-chars.
6927 Move python-indent-post-self-insert-function to the end of
6928 post-self-insert-hook.
6930 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * doc-view.el (doc-view-goto-page): Update mode-line.
6934 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6936 2013-11-27 Glenn Morris <rgm@gnu.org>
6938 * international/charprop.el, international/uni-bidi.el:
6939 * international/uni-category.el, international/uni-combining.el:
6940 * international/uni-comment.el, international/uni-decimal.el:
6941 * international/uni-decomposition.el, international/uni-digit.el:
6942 * international/uni-lowercase.el, international/uni-mirrored.el:
6943 * international/uni-name.el, international/uni-numeric.el:
6944 * international/uni-old-name.el, international/uni-titlecase.el:
6945 * international/uni-uppercase.el:
6946 Remove generated files from VCS repository.
6948 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6950 * filenotify.el (file-notify-add-watch): Don't special-case
6951 w32notify when computing the directory to watch.
6953 2013-11-27 Glenn Morris <rgm@gnu.org>
6955 Make bootstrap without generated uni-*.el files possible again.
6956 * loadup.el: Update command-line-args checking for unidata-gen.
6957 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6958 * composite.el, international/characters.el:
6959 Handle unicode tables being undefined.
6961 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6962 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6963 (compile-main): Depend on leim rule.
6965 * loadup.el: Move leim-list.el to leim/ subdirectory.
6966 * startup.el (normal-top-level): No more leim directory.
6967 * international/ja-dic-cnv.el (skkdic-convert):
6968 Disable version-control and autoloads in output files.
6969 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6970 Disable version-control and autoloads in output files.
6971 * leim/quail: Move here from ../leim.
6972 * leim/quail/hangul.el (hangul-input-method-activate):
6973 Add autoload cookie.
6974 (generated-autoload-load-name): Set file-local value.
6975 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6976 (generated-autoload-load-name): Set file-local value.
6978 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6980 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6981 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6982 (eww-quit): Ask confirmation before quitting eww.
6984 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6986 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6987 reading output from Diff on MS-Windows and MS-DOS.
6989 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6991 * emacs-lisp/helpers.el (string-reverse): New function.
6993 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6995 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6996 names on MS Windows, like "/[::1]:".
6998 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7001 2013-11-26 Glenn Morris <rgm@gnu.org>
7003 * progmodes/python.el (python-indent-guess-indent-offset):
7004 Avoid corner-case error. (Bug#15975)
7006 Preload leim-list.el. (Bug#4789)
7007 * loadup.el: Load leim-list.el when found.
7008 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7010 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7012 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7014 * emacs-lisp/helpers.el (string-join): New function.
7016 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7018 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7019 Mark as obsolete and replace it with a symbol property.
7020 (byte-compile-form): Use new 'interactive-only property.
7021 * comint.el, files.el, replace.el, simple.el:
7022 Apply new 'interactive-only properly.
7024 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7026 * window.el (display-buffer-at-bottom): Make sure that
7027 split-window-sensibly creates the new window on bottom
7030 2013-11-23 David Kastrup <dak@gnu.org>
7032 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7033 on the conflict markers when available.
7034 (smerge--get-marker): New function.
7035 (smerge-end-re, smerge-base-re): Add subgroup.
7037 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7039 * frame.el (handle-focus-in, handle-focus-out): Add missing
7042 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7044 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7045 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7047 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7049 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7050 (gomoku--last-pos): New var.
7051 (gomoku--intangible-chars): New const.
7052 (gomoku--intangible): New function.
7053 (gomoku-mode): Use it. Derive from special-mode.
7054 (gomoku-move-up): Adjust line count.
7055 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7056 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7057 Simplify accordingly.
7059 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7060 Remove blink-cursor code.
7061 (blink-cursor-timer-function, blink-cursor-suspend):
7062 Don't special-case GUIs.
7063 (blink-cursor-mode): Use focus-in/out-hook.
7065 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7067 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7068 work when annotation is invisible (Bug#13886).
7070 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7072 * json.el (json-alist-p): Only return non-nil if the alist has
7073 simple keys (Bug#13518).
7075 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7077 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7078 when control-statement is the first statement in a buffer (Bug#15956).
7080 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7082 * imenu.el (imenu-generic-skip-comments-and-strings):
7083 New option (Bug#15560).
7084 (imenu--generic-function): Use it.
7086 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7088 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7091 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7093 * emacs-lisp/helpers.el: Add some string helpers.
7094 (string-trim-left): Removes leading whitespace.
7095 (string-trim-right): Removes trailing whitespace.
7096 (string-trim): Removes leading and trailing whitespace.
7098 * subr.el (string-suffix-p): New function.
7100 2013-11-23 Glenn Morris <rgm@gnu.org>
7102 * progmodes/python.el (python-shell-send-file):
7103 Add option to delete file when done. (Bug#15647)
7104 (python-shell-send-string, python-shell-send-region): Use it.
7106 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7108 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7109 to set buffer-read-only to t, never to nil. (Bug#15938)
7111 * textmodes/tex-mode.el (latex-noindent-environments):
7112 Add safe-local-variable property. (Bug#15936)
7114 2013-11-23 Glenn Morris <rgm@gnu.org>
7116 * textmodes/enriched.el (enriched-mode): Doc fix.
7117 * emacs-lisp/authors.el (authors-renamed-files-alist):
7118 Add enriched.doc -> enriched.txt.
7120 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7122 2013-11-22 Leo Liu <sdl.web@gmail.com>
7124 * progmodes/octave.el (inferior-octave-startup): Spit out error
7127 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7129 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7132 (ruby-encoding-magic-comment-style): Add :version.
7134 2013-11-22 Leo Liu <sdl.web@gmail.com>
7136 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7138 (octave-help-mode): Adapt to change to help-mode-finish to use
7139 derived-mode-p on 2013-09-17.
7140 (inferior-octave-prompt): Also match octave-gui.
7141 (octave-kill-process): Don't ask twice. (Bug#10564)
7143 2013-11-22 Leo Liu <sdl.web@gmail.com>
7145 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7146 (inferior-octave-startup, inferior-octave-check-process)
7147 (inferior-octave-track-window-width-change)
7148 (octave-completion-at-point, octave-eldoc-function): Use it.
7149 (octave-kill-process): Provide confirmation. (Bug#10564)
7151 2013-11-21 Leo Liu <sdl.web@gmail.com>
7153 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7154 Fix obsolete variable comment-use-global-state.
7156 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7158 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7159 Add `octave-source-file'.
7160 (octave-source-file): New function. (Bug#15935)
7162 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7164 * net/eww.el (eww-local-regex): New variable.
7165 (eww): Use it to detect localhost and similar.
7167 2013-11-21 Leo Liu <sdl.web@gmail.com>
7169 Add completion for command `ag'.
7170 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7171 (pcomplete/ag): New function.
7172 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7174 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7176 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7178 (make-obsolete): Remove interactive spec.
7180 2013-11-21 Glenn Morris <rgm@gnu.org>
7182 * startup.el (command-line-1): Use path-separator with -L.
7184 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7186 * emacs-lisp/package.el (describe-package-1): Add package archive
7189 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7191 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7192 Change default to "# encoding: %s" to differentiate it from the
7193 default Ruby encoding comment template.
7195 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7197 * ses.el (ses-mode): Doc fix. (Bug#14748)
7199 2013-11-20 Leo Liu <sdl.web@gmail.com>
7201 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7203 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7205 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7206 when rebase or bisect are in progress.
7208 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7210 * filenotify.el (file-notify-add-watch): Doc fix.
7212 2013-11-19 Leo Liu <sdl.web@gmail.com>
7214 * obsolete/rcompile.el: Mark obsolete.
7216 * progmodes/compile.el (compilation-start)
7217 (compilation-goto-locus, compilation-find-file):
7218 Pass no-display-ok and handle nil value from display-buffer.
7221 * window.el (display-buffer-alist, display-buffer): Document the
7222 new parameter no-display-ok. Return either a window or nil
7223 but never a non-window value.
7225 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * electric.el (electric-indent-mode-map): Remove.
7228 (electric-indent-mode): Change the global-map instead (bug#15915).
7230 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7233 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7235 * emacs-lisp/nadvice.el (remove-function): Align with
7236 add-function's behavior.
7238 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7239 (gdb--string-regexp): New constant.
7240 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7241 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7242 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7244 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7245 Adjust use accordingly.
7246 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7248 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7250 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7251 interpolation curlies (Bug#15914).
7253 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7255 * calc/calc.el (calc-context-sensitive-enter): New variable.
7256 (calc-enter): Use `calc-context-sensitive-enter'.
7258 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7260 * progmodes/cfengine.el: Version bump.
7261 (cfengine-cf-promises): New defcustom to locate cf-promises.
7262 (cfengine3-vartypes): Add new "data" type.
7263 (cfengine3--current-word): New function to get current name-like
7265 (cfengine3--current-function): New function to look up a CFEngine
7266 function's definition.
7267 (cfengine3-format-function-docstring): New function.
7268 (cfengine3-make-syntax-cache): New function.
7269 (cfengine3-documentation-function): New function: ElDoc glue.
7270 (cfengine3-completion-function): New function: completion glue.
7271 (cfengine3-mode): Set `compile-command',
7272 `eldoc-documentation-function', and add to
7273 `completion-at-point-functions'.
7275 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7277 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7278 `tramp-current-connection'.
7280 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7282 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7283 nil/self/true/false with "end of symbol".
7285 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7287 * subr.el (version-regexp-alist): Fix a typo.
7289 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7291 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7292 "en_US.utf8" and "LC_CTYPE" to "".
7293 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7294 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7296 2013-11-15 Leo Liu <sdl.web@gmail.com>
7298 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7300 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * progmodes/gud.el (ctl-x-map):
7303 Remove C-x SPC binding. (Bug#12342)
7304 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7306 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7308 * subr.el (version-regexp-alist):
7309 Recognize hg, svn and darcs versions as snapshot versions.
7311 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7312 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7313 (ruby--encoding-comment-required-p): Extract from
7314 `ruby-mode-set-encoding'.
7315 (ruby-mode-set-encoding): Add the ability to always insert an
7316 utf-8 encoding comment. Fix and simplify coding comment update
7319 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7321 * net/tramp-gvfs.el (top): Run init code only when
7322 `tramp-gvfs-enabled' is not nil.
7323 (tramp-gvfs-enabled): Check also :system bus.
7325 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7327 Sync with upstream verilog-mode revision 78e66ba.
7328 * progmodes/verilog-mode.el (verilog-end-of-defun)
7329 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7330 (verilog-get-end-of-defun): Remove unused argument.
7331 (verilog-comment-depth): Remove unused local `e'.
7332 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7333 Don't pass arg to verilog-get-end-of-defun.
7335 2013-11-14 Glenn Morris <rgm@gnu.org>
7337 * obsolete/assoc.el (aget): Prefix dynamic variable.
7339 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7341 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7343 * widget.el, hfy-cmap.el: Remove bogus package version number.
7345 2013-11-13 Glenn Morris <rgm@gnu.org>
7347 * replace.el (replace-eval-replacement):
7348 Try to give more helpful error message. (Bug#15836)
7350 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7351 (archive-7z-update): Avoid custom type mismatches.
7353 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7355 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7357 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7358 address can be empty.
7360 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7361 Accept nil SWITCHES.
7362 (tramp-gvfs-handle-write-region): Implement APPEND.
7364 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7366 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7367 binary "|" operator and closing block args delimiter.
7368 Remove FIXME comment referring to Ruby 1.8-only syntax.
7369 (ruby-smie--implicit-semi-p): Not after "|" operator.
7370 (ruby-smie--closing-pipe-p): New function.
7371 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7372 (ruby-smie-rules): Indent after "|".
7374 2013-11-12 Glenn Morris <rgm@gnu.org>
7376 * ps-print.el (ps-face-attribute-list):
7377 Handle anonymous faces. (Bug#15827)
7379 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7381 * window.el (display-buffer-other-frame): Fix doc-string.
7384 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7386 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7388 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7390 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7391 (tramp-sh-handle-file-local-copy): Don't write a message when
7392 saving temporary files.
7394 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7395 both directories are remote.
7396 (tramp-smb-handle-directory-files): Do not return double entries.
7397 Do not expand full file names.
7398 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7399 (tramp-smb-handle-write-region): Implement APPEND.
7400 (tramp-smb-get-stat-capability): Fix a stupid bug.
7402 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7406 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7408 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7409 throwing error over malformed let/let* (bug#15814).
7411 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7413 * iswitchb.el (iswitchb-mode): Mark obsolete.
7415 2013-11-11 Glenn Morris <rgm@gnu.org>
7417 * international/uni-bidi.el, international/uni-category.el:
7418 * international/uni-name.el, international/uni-numeric.el:
7419 Regenerate for Unicode 6.3.0.
7421 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7423 * net/tramp.el (tramp-methods):
7424 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7425 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7427 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7429 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7430 Force highlighting text after Summary keyword in doc face for rpm.
7432 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7434 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7435 available and the word has no wildcards, append one to the grep pattern.
7436 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7437 (ispell-complete-word): Call `ispell-lookup-words' with the value
7438 independent of `ispell-look-p'.
7440 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7442 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7444 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7447 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7449 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7450 (ruby-font-lock-keywords): Use backquote.
7452 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7454 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7455 (ruby-smie--backward-token): Only consider full-string matches.
7457 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7459 * faces.el (describe-face): Add distant-foreground.
7461 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7463 * progmodes/ruby-mode.el: Improve encoding comment handling.
7464 (ruby-encoding-magic-comment-style): New option.
7465 (ruby-custom-encoding-magic-comment-template): New option.
7466 (ruby--insert-coding-comment, ruby--detect-encoding):
7467 New functions extracted from `ruby-mode-set-encoding'.
7468 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7469 to control the style of the auto-inserted encoding comment.
7471 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7473 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7474 Use `smie-backward-sexp' with token argument.
7476 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7478 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7479 Remove instrumentation code.
7481 2013-11-08 Glenn Morris <rgm@gnu.org>
7483 * progmodes/autoconf.el (autoconf-mode):
7484 Tweak comment-start-skip. (Bug#15822)
7486 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7489 at bobp (bug#15826).
7490 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7492 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7494 * man.el (Man-start-calling): New macro, extracted from
7495 Man-getpage-in-background.
7496 (Man-getpage-in-background): Use it.
7497 (Man-update-manpage): New command.
7498 (Man-mode-map): Bind it.
7500 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7502 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7503 of "and", "or", "&&" and "||".
7504 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7505 argument. Prohibit opening curly brace because it could only be a
7506 block opener in that position.
7507 (ruby-smie--forward-token, ruby-smie--backward-token):
7508 Separate "|" from "&" or "*" going after it. That can happen in block
7510 (ruby-smie--indent-to-stmt): New function, seeks the end of
7511 previous statement or beginning of buffer.
7512 (ruby-smie-rules): Use it.
7513 (ruby-smie-rules): Check if there's a ":" before a curly block
7514 opener candidate; if there is, it's a hash.
7516 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7519 (cl--block-wrapper): Fix last accidental change.
7521 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7523 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7524 Instrument, in order to hunt failure on hydra.
7526 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7528 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7529 malformed bindings form (bug#15814).
7531 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7533 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7534 "." compared to " @ ". This incidentally fixes some indentation
7536 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7537 (ruby-smie-grammar): New tokens: "and" and "or".
7538 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7539 Exclude "and" and "or". Remove "do" in order to work around token
7541 (ruby-smie-rules): Add all infix tokens. Handle the case of
7542 beginning-of-buffer.
7544 2013-11-06 Glenn Morris <rgm@gnu.org>
7546 * Makefile.in (setwins_almost, setwins_for_subdirs):
7547 Avoid accidental matches.
7549 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * menu-bar.el (popup-menu): Use key-binding.
7553 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7555 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7556 menus, support also the menus produced by minor modes.
7559 2013-11-06 Leo Liu <sdl.web@gmail.com>
7561 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7562 DISTANCE to bound the search. All uses changed. (Bug#15808)
7564 2013-11-06 Glenn Morris <rgm@gnu.org>
7566 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7567 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7568 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7570 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7572 * electric.el (electric-indent-just-newline): New command.
7573 (electric-indent-mode-map): New keymap.
7574 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7575 Re-add :group which weren't redundant.
7577 * electric.el (electric-indent-local-mode): New minor mode.
7578 (electric-indent-functions-without-reindent): New var.
7579 (electric-indent-post-self-insert-function): Use it.
7580 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7582 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7584 * international/quail.el (quail-help): Be more explicit about the
7585 meaning of the labels shown on the keys. (Bug#15800)
7587 * startup.el (normal-top-level): Load the subdirs.el files before
7588 setting the locale environment. (Bug#15805)
7590 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7592 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7593 via arguments so as to get the right ones (bug#15418).
7595 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7597 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7599 Fix problems found while writing a test suite.
7601 * net/tramp-compat.el (tramp-compat-load): New defun.
7602 * net/tramp.el (tramp-handle-load): Use it.
7604 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7605 "(numberp ok-if-already-exists)" correctly.
7607 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7609 * international/characters.el (glyphless-char-display-control):
7612 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7614 * progmodes/python.el (python-mode):
7615 * progmodes/scheme.el (scheme-mode):
7616 * progmodes/prolog.el (prolog-mode):
7617 * progmodes/ruby-mode.el (ruby-mode):
7618 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7619 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7621 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7623 * rect.el (rectangle--highlight-for-redisplay):
7624 * emacs-lisp/smie.el (smie--next-indent-change):
7625 Use buffer-chars-modified-tick.
7627 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7629 * electric.el (electric-indent-post-self-insert-function):
7630 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7632 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7634 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7636 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7638 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7641 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7645 * progmodes/python.el: Fix up last change.
7646 (python-shell--save-temp-file): New function.
7647 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7648 `string' comes from the current buffer.
7649 (python-shell-send-string-no-output): Remove `msg' arg.
7650 (python--use-fake-loc): New var.
7651 (python-shell-buffer-substring): Obey it. Try to compensate for the
7652 extra coding line added by python-shell--save-temp-file.
7653 (python-shell-send-region): Use python-shell--save-temp-file and
7654 python-shell-send-file directly. Add `nomain' argument.
7655 (python-shell-send-buffer): Use python-shell-send-region.
7656 (python-electric-pair-string-delimiter): New function.
7657 (python-mode): Use it.
7659 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7661 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7662 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7663 environment and decoding all of the default-directory's to here
7665 (command-line): Decode also argv[0].
7667 * loadup.el: Error out if default-directory is a multibyte string
7668 when we are dumping.
7670 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7672 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7674 * emacs-lisp/package.el (package-menu-mode)
7675 (package-menu--print-info, package-menu--archive-predicate):
7676 Add Archive column to package list.
7678 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7680 Fix problems found while writing a test suite.
7682 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7683 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7684 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7685 to nil when running original file name handler. Otherwise,
7686 there are problems with constructs like "$$FOO".
7688 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7691 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7693 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7695 * subr.el (version<, version<=, version=):
7696 Update docstrings with information for snapshot versions.
7698 * helpers.el: New library for misc helper functions.
7699 (hash-table-keys): New function returning a list of hash keys.
7700 (hash-table-values): New function returning a list of hash values.
7702 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7704 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7705 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7707 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7709 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7710 checking whether point is after a 1-letter word.
7712 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7714 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7715 Don't infloop when expanding region over `multiline' syntax-type that
7716 begins a line (bug#15778).
7718 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7720 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7721 Make it into a proper minor mode.
7722 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7723 (rectangle-mark-mode-map): New keymap.
7724 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7726 2013-11-04 Glenn Morris <rgm@gnu.org>
7728 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7730 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7732 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7733 (ruby-smie-rules): Use smie-rule-parent instead.
7735 * emacs-lisp/smie.el (smie-rule-parent): Always call
7736 smie-indent-virtual rather than only for hanging tokens.
7737 (smie--next-indent-change): New helper command.
7739 2013-11-03 Glenn Morris <rgm@gnu.org>
7741 * Makefile.in (abs_srcdir): Remove.
7742 (emacs): Unset EMACSLOADPATH.
7744 2013-11-02 Glenn Morris <rgm@gnu.org>
7746 * Makefile.in (EMACS): Use a relative filename.
7747 (abs_top_builddir): Remove.
7748 (custom-deps, finder-data, autoloads): Use --chdir.
7750 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7752 Use relative filenames in TAGS files.
7753 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7754 (lisptagsfiles4, TAGS): Use relative file names.
7755 (TAGS-LISP): Remove.
7756 (maintainer-clean): No more TAGS-LISP file.
7758 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7759 (lisptagsfiles4): Use absolute filenames again.
7760 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7761 Remove all *loaddefs files, not just the first. Remove esh-groups.
7762 (maintainer-clean): Delete TAGS, TAGS-LISP.
7764 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7766 * emacs-lisp/package.el (package-version-join):
7767 Recognize snapshot versions.
7769 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7771 * subr.el (version-regexp-alist): Add support for snapshot versions.
7773 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7775 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7776 New function, replacement for `smie-rule-parent' for when we want to
7777 skip over our direct parent if it's an assignment token..
7778 (ruby-smie-rules): Use it.
7780 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7782 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7783 unconditionally. Remove now unnecessary forward declarations.
7784 Remove XEmacs-specific setup.
7785 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7786 (ruby-font-lock-syntactic-keywords)
7787 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7788 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7789 (ruby-here-doc-end-syntax): Remove.
7790 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7791 defined as function.
7793 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7795 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7797 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7799 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7800 table and abbrev table, `define-derived-mode' does that for us
7803 2013-11-01 Glenn Morris <rgm@gnu.org>
7805 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7806 files is atomic for some time, so no parallel compilation issues).
7808 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7810 * faces.el (face-x-resources): Add :distant-foreground.
7811 (region): Use :distant-foreground for gtk and ns.
7813 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7815 Allow multiple bibliographies when BibLaTeX is used rather than
7817 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7818 (reftex-locate-bibliography-files): Us it.
7820 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7822 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7823 allow comments in pbm files.
7825 * term/w32-win.el (dynamic-library-alist): Support newer versions
7826 of libjpeg starting with v7: look only for the DLL from the
7827 version against which Emacs was built.
7828 Support versions of libpng beyond 1.4.x.
7829 Support libtiff v4.x.
7831 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7833 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7834 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7836 (ruby-deep-arglist): Add property :type.
7838 2013-10-31 Glenn Morris <rgm@gnu.org>
7840 * Makefile.in (custom-deps, finder-data): No need to setq the target
7841 variables, we are in the right directory and the defaults work fine.
7843 2013-10-30 Glenn Morris <rgm@gnu.org>
7845 * Makefile.in (autoloads): Do not use abs_lisp.
7847 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7848 `newline' does not respect `standard-output', so use `princ'.
7850 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7852 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7853 * buff-menu.el (Buffer-menu--unmark): New function.
7854 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7856 2013-10-30 Glenn Morris <rgm@gnu.org>
7858 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7860 * emacs-lisp/package.el (lm-homepage): Declare.
7862 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7865 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7867 * Makefile.in (finder-data, autoloads, update-subdirs)
7868 (compile-main, compile-clean, compile-always, bootstrap-clean):
7869 Check return value of cd.
7870 (compile-calc): Remove.
7872 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7876 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7877 (byte-compile-and-folded): New function.
7878 (=, <, >, <=, >=): Use it.
7880 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7881 (path-separator, null-device, buffer-file-coding-system)
7882 (lpr-headers-switches): Check system-type before modifying them.
7883 (find-buffer-file-type-coding-system): Mark obsolete.
7884 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7885 find-file-not-found-set-buffer-file-coding-system.
7886 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7887 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7888 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7889 (w32-direct-print-region-helper, w32-direct-print-region-function)
7890 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7891 * startup.el (normal-top-level-add-subdirs-to-load-path):
7892 * ps-print.el (ps-print-region-function):
7893 * lpr.el (print-region-function): Use new name.
7895 * subr.el (custom-declare-variable-early): Remove function.
7896 (custom-declare-variable-list): Remove var.
7897 (error, user-error): Remove `while' loop.
7898 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7899 (user-emacs-directory-warning, locate-user-emacs-file):
7901 * simple.el (read-quoted-char-radix, read-quoted-char):
7902 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7904 * custom.el (custom-declare-variable-list): Don't process
7905 custom-declare-variable-list.
7907 * progmodes/python.el (python-shell-get-buffer): New function.
7908 (python-shell-get-process): Use it.
7909 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7910 Python which encoding was used. Don't split-string since we only care
7911 about the first line. Return the temp-file, if applicable.
7912 (python-shell-send-region): Tell compile.el how to turn locations in
7913 the temp-file into locations in the source buffer.
7915 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7917 * subr.el (undefined): Add missing behavior from the C code for
7920 * rect.el: Use lexical-binding. Add new rectangular region support.
7921 (rectangle-mark): New command.
7922 (rectangle--region): New var.
7923 (deactivate-mark-hook): Reset rectangle--region.
7924 (rectangle--extract-region, rectangle--insert-for-yank)
7925 (rectangle--highlight-for-redisplay)
7926 (rectangle--unhighlight-for-redisplay): New functions.
7927 (region-extract-function, redisplay-unhighlight-region-function)
7928 (redisplay-highlight-region-function): Use them to handle
7930 * simple.el (region-extract-function): New var.
7931 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7932 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7933 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7934 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7935 (redisplay-unhighlight-region-function)
7936 (redisplay-highlight-region-function): New vars.
7937 (redisplay--update-region-highlight): New function.
7938 (pre-redisplay-function): Use it.
7939 (exchange-point-and-mark): Don't deactivate the mark before
7940 reactivate-it anyway.
7941 * comint.el (comint-kill-region): Remove yank-handler argument.
7942 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7943 (delete-char): Remove property, since it's now part of their
7945 (self-insert-iso): Remove property since this command doesn't exist.
7947 * emacs-lisp/package.el (package--download-one-archive)
7948 (describe-package-1): Don't query the user about final newline.
7950 2013-10-29 Daniel Colascione <dancol@dancol.org>
7952 * net/tramp.el (tramp-methods): Document new functionality.
7953 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7954 tramp-hostname-checker if method provides one instead of scanning
7955 argument list for "%h" to decide hostname acceptability.
7957 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7959 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7960 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7961 Handle COPY-CONTENTS. (Bug#15737)
7963 2013-10-28 Daiki Ueno <ueno@gnu.org>
7966 (epa-file-cache-passphrase-for-symmetric-encryption):
7967 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7969 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7971 * image.el (defimage, image-load-path): Doc fixes.
7973 2013-10-27 Alan Mackenzie <acm@muc.de>
7975 Indent statements in macros following "##" correctly.
7976 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7977 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7979 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7981 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7983 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7985 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7986 after `=' is probably a new expression.
7988 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7990 * man.el (man-imenu-title): New option.
7991 (Man-mode-map): Add menu. (Bug#15722)
7992 (Man-mode): Add imenu to menu.
7994 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7996 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7997 specific in what the first arg can be: a non-keyword word,
7998 string/regexp/percent literal opener, opening paren, or unary
7999 operator followed directly by word.
8001 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8003 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8004 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8005 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8006 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8007 Remove vars, they do not apply any more.
8008 (prolog-mode-abbrev-table): Remove redundant declaration.
8009 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8010 (prolog-use-smie): Remove.
8011 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8012 supported by prolog-electric-if-then-else-flag.
8013 (prolog-mode-variables, prolog-menu): Use setq-local.
8014 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8015 Remove binding to `Backspace' since this key doesn't exist anyway.
8016 Remove bindings for electric self-inserting keys.
8017 (prog-mode): Assume it's defined.
8018 (prolog-post-self-insert): New function.
8019 (prolog-mode): Use it.
8020 (prolog-indent-line, prolog-indent-level)
8021 (prolog-find-indent-of-matching-paren)
8022 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8023 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8024 (prolog-goto-next-paren, prolog-in-string-or-comment)
8025 (prolog-tokenize, prolog-inside-mline-comment)
8026 (prolog-find-start-of-mline-comment): Remove functions.
8027 (prolog-find-unmatched-paren, prolog-clause-end)
8028 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8029 (prolog-electric--if-then-else): Rename from
8030 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8031 (prolog-tokenize-searchkey): Remove const.
8032 (prolog-clause-info): Use forward-sexp.
8033 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8034 (prolog-electric-if-then-else): Remove commands.
8035 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8036 for use in post-self-insert-hook.
8037 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8038 for use in post-self-insert-hook.
8039 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8040 for use in post-self-insert-hook.
8041 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8042 adapt it for use in post-self-insert-hook.
8044 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8046 * emacs-lisp/ert.el (ert-run-tests-interactively):
8047 Use `completing-read'. (Bug#9756)
8049 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8051 * simple.el (line-move): Call line-move-1 instead of
8052 line-move-visual when the current window hscroll is zero, but
8053 temporary-goal-column indicates we will need to hscroll as result
8054 of the movement. (Bug#15712)
8056 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8058 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8059 capitalization. Use :visible instead of :active.
8060 Fix `ruby-indent-exp' reference. Add menu items for the generic
8061 commands that are used with SMIE.
8062 (ruby-do-end-to-brace): Insert space after `{'.
8064 2013-10-25 John Anthony <john@jo.hnanthony.com>
8066 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8068 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8070 2013-10-25 Glenn Morris <rgm@gnu.org>
8072 * vc/vc.el (vc-print-log): Don't use a working revision unless
8073 one was explicitly specified. (Bug#15322)
8075 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8077 * subr.el (add-to-list): Preserve return value in compiler-macro
8080 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8082 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8083 result. Ask user to retry using '-all' flag. (Bug#15701)
8085 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8087 * emacs-lisp/smie.el: New smie-config system.
8088 (smie-config): New defcustom.
8089 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8090 (smie-config-guess, smie-config-save): New commands.
8091 (smie-config--mode-local, smie-config--buffer-local)
8092 (smie-config--trace, smie-config--modefuns): New vars.
8093 (smie-config--advice, smie-config--mode-hook)
8094 (smie-config--setter, smie-config-local, smie-config--get-trace)
8095 (smie-config--guess-value, smie-config--guess): New functions.
8096 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8097 text properties. Treat "string fence" syntax like string syntax.
8099 * progmodes/sh-script.el (sh-use-smie): Change default.
8100 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8101 (sh-var-value): Simplify by CSE.
8102 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8103 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8105 (sh-guess-basic-offset): Use cl-incf.
8106 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8108 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8110 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8113 2013-10-24 Glenn Morris <rgm@gnu.org>
8115 * Makefile.in (abs_top_srcdir): Remove.
8116 (update-subdirs): Use relative path to update-subdirs.
8118 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8120 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8121 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8122 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8123 Call unmsys--file-name before expand-file-name, not after it.
8125 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8127 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8128 (ert-test-skipped): New error.
8129 (ert-skip, ert-stats-skipped): New defuns.
8130 (ert--skip-unless): New macro.
8131 (ert-test-skipped): New struct.
8132 (ert--run-test-debugger, ert-test-result-type-p)
8133 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8134 (ert--stats-set-test-and-result, ert-char-for-test-result)
8135 (ert-string-for-test-result, ert-run-tests-batch)
8136 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8137 Handle skipped tests. (Bug#9803)
8139 2013-10-24 Glenn Morris <rgm@gnu.org>
8141 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8143 * Makefile.in (abs_top_srcdir): New, set by configure.
8144 (update-subdirs): Correct build-aux location.
8146 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8148 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8149 value, whether we could auto-deduce `backend', or not.
8151 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8152 with parameters" example. Simplify the "is it block or is it
8153 hash" check, but also make it more thorough.
8155 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8157 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8159 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8161 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8164 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8167 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8169 * progmodes/compile.el (compilation-directory-matcher)
8170 (compilation-page-delimiter):
8171 Support GNU Make-4.0 directory quoting. (Bug#15678)
8173 2013-10-23 Leo Liu <sdl.web@gmail.com>
8175 * ido.el (ido-tidy): Handle read-only text.
8177 2013-10-23 Glenn Morris <rgm@gnu.org>
8179 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8180 (emacs, compile, compile-always):
8181 Quote entities that might contain whitespace.
8182 (custom-deps, finder-data, autoloads): Use abs_lisp.
8183 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8184 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8185 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8187 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8189 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8190 Use `following-char'.
8192 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8194 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8195 * progmodes/ruby-mode.el (ruby-smie-rules):
8196 Remove corresponding workaround. Fix indentation rule of ";" so it
8197 also applies when ";" is the parent.
8199 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8201 * frame.el (display-screens, display-pixel-height)
8202 (display-pixel-width, display-mm-width, display-backing-store)
8203 (display-save-under, display-planes, display-color-cells)
8204 (display-visual-class, display-monitor-attributes-list):
8205 Mention the optional ‘display’ argument in doc strings.
8207 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8209 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8210 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8212 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8214 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8215 TODO. Add "." after " @ ".
8216 (ruby-smie--at-dot-call): New function. Checks if point at method
8217 call with explicit target.
8218 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8219 to the method name tokens when it precedes them.
8220 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8221 (ruby-smie-rules): Add rule for indentation before and after "."
8224 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * textmodes/remember.el (remember-diary-extract-entries):
8229 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8232 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8234 * progmodes/ruby-mode.el (ruby-smie-grammar):
8235 Add (almost) all infix operators.
8236 (ruby-smie--implicit-semi-p): Add new operator chars.
8238 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8240 (ruby-smie--args-separator-p): Check that there's no newline
8241 between method call and its arguments.
8243 2013-10-20 Alan Mackenzie <acm@muc.de>
8245 Allow comma separated lists after Java "implements".
8247 * progmodes/cc-engine.el (c-backward-over-enum-header):
8249 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8250 from a "disallowed" list in enum fontification.
8252 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8254 * startup.el (default-frame-background-mode): Remove unused defvar.
8256 * progmodes/verilog-mode.el (verilog-mode): Don't set
8257 comment-indent-function globally.
8259 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8261 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8262 Move Info menu item creation to ns-win.el.
8264 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8267 * menu-bar.el: Move GNUstep specific menus...
8269 * term/ns-win.el (ns-initialize-window-system): ... to here.
8271 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * simple.el (newline): Only run post-self-insert-hook when
8274 called interactively.
8276 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8278 * icomplete.el (icomplete-with-completion-tables): Add :version.
8280 2013-10-19 Alan Mackenzie <acm@muc.de>
8282 Fix fontification bugs with constructors and const.
8284 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8285 CASE 2) Remove the check for the absence of a suffix construct
8286 after a function declaration with only types (no identifiers) in
8287 the parentheses. Also, accept a function declaration with just a
8288 type inside the parentheses, if this type can be positively
8289 recognised as such, or if a prefix keyword like "explicit" nails
8290 down the construct as a declaration.
8292 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8294 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8295 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8296 the problem whereby selecting a menu item that leads to a
8297 minibuffer prompt moves the cursor out of the minibuffer window,
8298 making it hard to type at the prompt. Suggested by Stefan Monnier
8299 <monnier@iro.umontreal.ca>.
8301 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8303 * menu-bar.el: Don't make Services menu.
8305 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8307 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8308 (ffap-alist): Use ffap-c++-mode for c++-mode.
8309 (ffap-c++-path): New variable.
8310 (ffap-c++-mode): New function.
8312 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8314 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8316 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8318 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8319 introduced on 2013-09-08, which results in an infinite loop
8320 requesting a password.
8322 2013-10-18 Glenn Morris <rgm@gnu.org>
8324 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8326 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8328 Sync with upstream verilog-mode revision 1a6ecec7.
8329 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8330 (verilog-mode-release-date): Remove.
8331 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8332 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8333 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8334 (verilog-auto-tieoff-ignore-regexp)
8335 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8336 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8337 (verilog-signals-with, verilog-dir-cache-preserving)
8338 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8340 (verilog-case-fold): New option, to control case folding in
8341 regexp searches, bug597.
8342 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8343 (verilog-string-match-fold, verilog-in-paren-count)
8344 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8345 (verilog-at-close-struct-p): New functions.
8346 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8347 (verilog-forward-sexp, verilog-set-auto-endcomments)
8348 (verilog-leap-to-case-head): Handle "unique0" case.
8349 (verilog-in-constraint-re): New constant.
8350 (verilog-keywords, verilog-type-font-keywords):
8351 Add some SystemVerilog 1800-2012 keywords.
8352 (verilog-label-be): Remove unimplemented argument, bug669.
8353 (verilog-batch-execute-func): When batch expanding clear
8354 create-lockfiles to prevent spurious user locks when a file ends
8356 (verilog-calculate-indent, verilog-calc-1)
8357 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8358 (verilog-do-indent): Fix indentation of nested constraints
8360 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8361 (verilog-auto-inst-param): Use verilog-string-match-fold.
8362 (verilog-read-inst-module-matcher):
8363 Fix AUTOINST on gate primitives with #1.
8364 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8365 Reads all user-defined typed variables.
8366 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8367 (verilog-signals-matching-regexp)
8368 (verilog-signals-not-matching-regexp, verilog-auto):
8369 Respect verilog-case-fold.
8370 (verilog-diff-report): Fix line count.
8371 (verilog-auto-assign-modport): Remove unused local `modi'.
8372 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8373 better handle multidimensional arrays.
8374 Fix packed array ports misadding bit index in AUTOINST, bug637.
8375 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8376 to not double-declare existing outputs and inputs, respectively.
8377 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8378 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8379 (verilog-sk-uvm-component): New skeleton.
8380 (verilog-submit-bug-report): Add verilog-case-fold,
8381 remove verilog-mode-release-date.
8383 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8385 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8388 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8390 * textmodes/remember.el (remember): Set buffer-offer-save in
8391 remember buffers (bug#13566).
8393 2013-10-18 Daniel Colascione <dancol@dancol.org>
8395 When evaluating forms in ielm, direct standard output to ielm
8396 buffer. Add new ielm-return-for-effect command. Remove trailing
8397 whitespace throughout.
8399 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8400 (ielm-return-for-effect): New command.
8401 (ielm-send-input): Accept optional `for-effect' parameter.
8402 (ielm-eval-input): Accept optional `for-effect' parameter.
8403 Bind `standard-output' to stream we create using
8404 `ielm-standard-output-impl'. Suppress printing result when
8406 (ielm-standard-output-impl): New function.
8407 (inferior-emacs-lisp-mode): Explain new features in documentation.
8409 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8413 * net/tramp.el (tramp-debug-message): Do not check for connection
8415 (tramp-message): Use "vector" connection property.
8417 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8418 (tramp-equal-remote, tramp-eshell-directory-change)
8419 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8420 (tramp-adb-handle-rename-file)
8421 * net/tramp-cmds.el (tramp-list-remote-buffers)
8422 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8423 * net/tramp-compat.el (tramp-compat-process-running-p)
8424 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8425 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8426 (tramp-gvfs-handle-rename-file)
8427 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8428 (tramp-set-file-uid-gid)
8429 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8430 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8433 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8434 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8435 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8436 (tramp-gw-open-network-stream): Suppress unrelated traces.
8438 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8439 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8440 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8441 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8442 connection property.
8444 * net/tramp-cache.el (top): Suppress traces when reading
8447 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8448 Refactor common code. Improve debug message.
8449 (tramp-maybe-open-connection)
8450 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8451 connection buffer too early.
8453 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8454 from `tramp-smb-actions-with-acl'.
8455 (tramp-smb-actions-set-acl): New defconst.
8456 (tramp-smb-handle-copy-directory)
8457 (tramp-smb-action-get-acl): New defun, renamed from
8458 `tramp-smb-action-with-acl'.
8459 (tramp-smb-action-set-acl): New defun.
8460 (tramp-smb-handle-set-file-acl): Rewrite.
8462 2013-10-17 Glenn Morris <rgm@gnu.org>
8464 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8466 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8468 * skeleton.el (skeleton-newline): Remove.
8469 (skeleton-internal-1): Use (insert "\n") instead.
8471 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8474 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8475 forward-sexp-function while we redo its job (bug#15613).
8477 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8479 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8480 represented by lists.
8482 2013-10-16 Glenn Morris <rgm@gnu.org>
8484 * tmm.el (tmm--history): New dynamic variable.
8485 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8487 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8489 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8490 (tramp-smb-errors): Add error messages.
8491 (tramp-smb-actions-with-acl): New defconst.
8492 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8493 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8494 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8495 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8496 (tramp-smb-get-stat-capability): Fix tests.
8498 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8500 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8503 2013-10-16 Glenn Morris <rgm@gnu.org>
8505 * ansi-color.el (ansi-color-drop-regexp):
8506 Add 1J, 1K, 2K. (Bug#15617)
8508 * files.el (hack-local-variables--warned-lexical): New.
8509 (hack-local-variables):
8510 Warn about misplaced lexical-binding. (Bug#15616)
8512 * net/eww.el (eww-render): Always set eww-current-url,
8513 and update header line. (Bug#15622)
8514 (eww-display-html): ... Rather than just doing it here.
8516 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8518 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8519 menu navigations commands.
8521 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8523 * progmodes/subword.el (subword-capitalize): Be careful when
8524 the search for [[:alpha:]] fails (bug#15580).
8526 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8528 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8529 to commands that scroll the menu.
8531 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8533 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8534 Handle methods ending with `?' and `!'.
8536 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8538 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8539 `japanese-cp932' to `cp932' to fix the problem where saving a
8540 source file written in Shift_JIS twice would end up having
8541 `coding: japanese-cp932' which Ruby could not recognize.
8542 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8543 in `ruby-encoding-map'.
8544 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8545 doesn't need to be explicitly declared in magic comment.
8546 (ruby-encoding-map): Add type declaration for better customize UI.
8548 2013-10-13 Glenn Morris <rgm@gnu.org>
8550 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8551 Occur buffers are read-only. http://bugs.debian.org/720775
8553 * emacs-lisp/authors.el (authors-fixed-entries):
8554 Comment out old alpha stuff.
8556 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8558 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8559 to `after-save-hook' instead of `before-save-hook'.
8560 (ruby-mode-set-encoding): Use the value of coding system used to
8561 write the file. Call `basic-save-buffer-1' after modifying the
8564 2013-10-13 Alan Mackenzie <acm@muc.de>
8566 Fix indentation/fontification of Java enum with
8567 "implements"/generic.
8569 * progmodes/cc-engine.el (c-backward-over-enum-header):
8570 Extracted from the three other places and enhanced to handle generics.
8571 (c-inside-bracelist-p): Uses new function above.
8572 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8574 (c-font-lock-enum-tail): Uses new function above.
8576 2013-10-13 Kenichi Handa <handa@gnu.org>
8578 * international/mule-cmds.el (select-safe-coding-system): Remove a
8579 superfluous condition in chekcing whether a coding system is safe
8582 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8584 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8586 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8588 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8590 2013-10-13 Glenn Morris <rgm@gnu.org>
8592 * menu-bar.el (menu-bar-update-buffers):
8593 Unify Buffers menu prompt string. (Bug#15576)
8595 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8597 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8599 (authors-fixed-entries): Use accented form of name.
8601 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8603 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8604 method calls (bug#15594).
8605 (ruby-smie--args-separator-p): New function.
8606 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8607 recognize paren-free method calls.
8609 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8610 internals of universal-argument.
8612 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8614 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8615 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8616 dropped menu on second mouse click on the menu bar.
8618 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8621 (explicit-shell-file-name): Declare.
8622 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8623 (sh-completion-at-point-function): New function.
8625 (sh-smie--keyword-p): Remove unused argument.
8626 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8628 (sh-set-shell): Always setup SMIE, even if we use the
8629 old indentation code.
8631 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8633 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8635 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8636 predicate would return nil are almost non-existent.
8637 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8639 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8640 cache also after commands that modify the buffer but don't move
8643 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8645 * env.el (substitute-env-in-file-name): New function.
8646 (substitute-env-vars): Extend the meaning of the optional arg.
8648 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8650 * term/w32-win.el (dynamic-library-alist): Define separate lists
8651 of GIF DLLs for versions before and after 5.0.0 of giflib.
8654 2013-10-10 João Távora <joaotavora@gmail.com>
8656 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8657 not locked, use last revision and current source as
8658 defaults. (Bug#15569)
8660 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8662 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8665 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8667 * window.el (pop-to-buffer-same-window): Fix doc-string.
8670 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8674 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8676 * calendar/icalendar.el (icalendar-import-file):
8677 Fix interactive spec. (Bug#15482)
8679 2013-10-10 Glenn Morris <rgm@gnu.org>
8681 * desktop.el (desktop-save): Default to saving in .emacs.d,
8682 since PWD is no longer in desktop-path by default. (Bug#15319)
8684 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8685 now that text mode has a menu with the same entry.
8686 (menu-bar-text-mode-auto-fill): Remove now unused func.
8687 * textmodes/text-mode.el (text-mode-map):
8688 Use auto-fill help text from menu-bar.el.
8690 2013-10-10 John Anthony <john@jo.hnanthony.com>
8692 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8694 2013-10-09 Juri Linkov <juri@jurta.org>
8696 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8697 instead of this-command-keys. Add universal-argument-more and
8698 universal-argument-minus to the list of prefix commands. (Bug#15568)
8700 2013-10-09 Glenn Morris <rgm@gnu.org>
8702 * vc/vc-svn.el (vc-svn-create-repo):
8703 Expand paths in file://... url. (Bug#15446)
8705 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8707 (authors): Remove unused local variables.
8709 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8711 * profiler.el: Create a more coherent calltree from partial backtraces.
8712 (profiler-format): Hide the tail with `invisible' so that C-s can still
8713 find the hidden elements.
8714 (profiler-calltree-depth): Don't recurse so enthusiastically.
8715 (profiler-function-equal): New hash-table-test.
8716 (profiler-calltree-build-unified): New function.
8717 (profiler-calltree-build): Use it.
8718 (profiler-report-make-name-part): Indent the calltree less.
8719 (profiler-report-mode): Add visibility specs for profiler-format.
8720 (profiler-report-expand-entry, profiler-report-toggle-entry):
8721 Expand the whole subtree when provided with a prefix arg.
8723 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8725 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8727 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8728 hanging iuwu-mod token.
8729 (ruby-smie--forward-token): Do not include a dot after a token in
8731 (ruby-smie--backward-token): Likewise.
8733 2013-10-08 Juri Linkov <juri@jurta.org>
8735 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8736 to isearch-other-control-char.
8737 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8738 and isearch-post-command-hook to post-command-hook.
8739 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8740 and isearch-post-command-hook from post-command-hook.
8741 (isearch-unread-key-sequence)
8742 (isearch-reread-key-sequence-naturally)
8743 (isearch-lookup-scroll-key, isearch-other-control-char)
8744 (isearch-other-meta-char): Remove functions.
8745 (isearch-pre-command-hook, isearch-post-command-hook):
8746 New functions based on isearch-other-meta-char rewritten
8747 relying on the new behavior of overriding-terminal-local-map
8748 that does not replace the local keymaps any more. (Bug#15200)
8750 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8752 Support menus on text-mode terminals.
8753 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8756 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8758 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8759 Move here from mouse.el.
8760 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8762 (tty-menu-navigation-map): New map for TTY menu navigation.
8764 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8766 * frame.el (display-mouse-p): Report text-mode mouse as available
8768 (display-popup-menus-p): Report availability if mouse is
8769 available; don't condition on window-system.
8771 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8772 (tty-menu-selected-face): New faces.
8774 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8776 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8777 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8778 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8779 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8781 (lisp-mode-variables): New `elisp' argument.
8782 (emacs-lisp-mode): Use it.
8783 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8784 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8786 * indent.el: Use lexical-binding.
8787 (indent-region): Add progress reporter.
8788 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8790 (indent--next-tab-stop): New function to implement this behavior.
8791 (tab-to-tab-stop, move-to-tab-stop): Use it.
8793 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8795 * indent.el (indent-rigidly--current-indentation): New function.
8796 (indent-rigidly-map): New var.
8797 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8799 2013-10-08 Bastien Guerry <bzg@gnu.org>
8801 * register.el (insert-register): Fix 2013-10-07 change.
8803 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8805 * progmodes/perl-mode.el: Use lexical-binding.
8806 Remove redundant :group args.
8807 (perl-nochange): Change default to be closer to other major modes's
8809 (perl-indent-line): Don't consider text on current line as a
8810 valid beginning of function from which to indent.
8812 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8813 with more than one argument (bug#15538).
8815 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8817 * vc/pcvs.el: Use lexical-binding.
8818 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8819 environment of `eval'.
8820 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8821 than a list of expressions. Adjust callers.
8822 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8824 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8826 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8827 case of the dot in a chained method call being on the following line.
8829 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8831 * electric.el (electric-indent-inhibit): New var.
8832 (electric-indent-post-self-insert-function): Use it.
8833 * progmodes/python.el (python-mode): Set it.
8835 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8838 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8840 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8841 (css-mode): Use electric-indent-chars.
8843 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8844 (font-lock-beg, font-lock-end): Move before first use.
8845 (nxml-mode): Use syntax-propertize-function.
8846 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8847 (nxml-extend-after-change-region): Remove.
8848 * nxml/xmltok.el: Use lexical-binding.
8849 (xmltok-save): Use `declare'.
8850 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8851 * nxml/nxml-util.el: Use lexical-binding.
8852 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8854 * nxml/nxml-ns.el: Use lexical-binding.
8855 (nxml-ns-save): Use `declare'.
8856 (nxml-ns-prefixes-for): Avoid add-to-list.
8857 * nxml/rng-match.el: Use lexical-binding.
8858 (rng--ipattern): Use cl-defstruct.
8859 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8860 (rng-cons-group-after, rng-subst-group-after)
8861 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8862 Use closures instead of `(lambda...).
8864 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8866 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8870 Use `tramp-handle-insert-file-contents'.
8871 (tramp-gvfs-handle-insert-file-contents): Remove function.
8873 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8874 Use `save-restriction' in order to keep markers.
8876 * net/trampver.el: Update release number.
8878 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8880 * progmodes/compile.el (compilation-parse-errors):
8881 Use compilation--put-prop.
8882 (compilation--ensure-parse): Check compilation-multiline.
8884 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8886 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8889 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8891 * progmodes/ruby-mode.el: Fix recently added tests.
8892 (ruby-smie-grammar): Add - and +.
8893 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8894 (ruby-smie--backward-id): New functions.
8895 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8896 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8899 2013-10-07 Leo Liu <sdl.web@gmail.com>
8901 * register.el (register-preview-delay)
8902 (register-preview-functions): New variables.
8903 (register-read-with-preview, register-preview)
8904 (register-describe-oneline): New functions.
8905 (point-to-register, window-configuration-to-register)
8906 (frame-configuration-to-register, jump-to-register)
8907 (number-to-register, view-register, insert-register)
8908 (copy-to-register, append-to-register, prepend-to-register)
8909 (copy-rectangle-to-register): Use register-read-with-preview to
8910 read register. (Bug#15525)
8912 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8914 * net/network-stream.el (network-stream-open-starttls): Don't add
8915 --insecure if it's already present, because that gnutls-cli
8916 rejects getting that parameter twice.
8918 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8920 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8923 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8925 * newcomment.el (comment-use-global-state): Change default value
8926 to t, mark obsolete (Bug#15251).
8927 (comment-beginning): In addition to `comment-to-syntax', check the
8928 value of `comment-use-global-state'.
8930 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8932 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8933 (ruby-comment-column): Follow the global default, by default.
8934 (ruby-smie-grammar): Add assignment syntax.
8935 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8936 open-paren, a comma, or a \.
8937 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8938 and line continuations.
8939 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8940 followed by implicit semi-colons. Add rule for string concatenation
8941 and for indentation at BOB.
8942 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8944 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8945 calling next-sexp, since next-token may have skipped chars which
8946 next-sexp doesn't know should be skipped!
8948 2013-10-05 Leo Liu <sdl.web@gmail.com>
8950 * progmodes/octave.el (octave-send-region):
8951 Call compilation-forget-errors.
8953 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8955 * vc/vc-svn.el (vc-svn-find-admin-dir):
8956 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8957 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8958 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8959 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8961 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8963 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8965 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8967 * subr.el (read-passwd): Hide chars even when called within a context
8968 where after-change-functions is disabled (bug#15501).
8969 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8970 until we removed ourself from overriding-terminal-local-map.
8972 2013-10-04 Leo Liu <sdl.web@gmail.com>
8974 * progmodes/octave.el (inferior-octave-mode):
8975 Call compilation-forget-errors.
8977 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8979 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8981 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8983 * net/secrets.el (secrets-create-collection): Add optional
8984 argument ALIAS. Use proper Label keyword. Append ALIAS as
8985 dbus-call-method argument. (Bug#15516)
8987 2013-10-04 Leo Liu <sdl.web@gmail.com>
8989 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8990 (inferior-octave-compilation-font-lock-keywords): New variables.
8991 (compilation-error-regexp-alist)
8992 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8993 (inferior-octave-mode): Use compilation-shell-minor-mode.
8995 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8997 * minibuffer.el (completion--replace): Be careful that `end' might be
9000 2013-10-03 Daiki Ueno <ueno@gnu.org>
9002 Add support for package signature checking.
9003 * emacs-lisp/package.el (url-http-file-exists-p)
9004 (epg-make-context, epg-context-set-home-directory)
9005 (epg-verify-string, epg-context-result-for)
9006 (epg-signature-status, epg-signature-to-string)
9007 (epg-check-configuration, epg-configuration)
9008 (epg-import-keys-from-file): Declare.
9009 (package-check-signature): New user option.
9010 (package-unsigned-archives): New user option.
9011 (package-desc): Add `signed' field.
9012 (package-load-descriptor): Set `signed' field if .signed file exists.
9013 (package--archive-file-exists-p): New function.
9014 (package--check-signature): New function.
9015 (package-install-from-archive): Check package signature.
9016 (package--download-one-archive): Check archive signature.
9017 (package-delete): Remove .signed file.
9018 (package-import-keyring): New command.
9019 (package-refresh-contents): Import default keyring.
9020 (package-desc-status): Add "unsigned" status.
9021 (describe-package-1, package-menu--print-info)
9022 (package-menu-mark-delete, package-menu--find-upgrades)
9023 (package-menu--status-predicate): Support "unsigned" status.
9025 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9027 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9028 the new compilation scheme using the new byte-codes.
9030 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9031 (byte-pophandler): New byte codes.
9032 (byte-goto-ops): Adjust accordingly.
9033 (byte-compile--use-old-handlers): New var.
9034 (byte-compile-catch): Use new byte codes depending on
9035 byte-compile--use-old-handlers.
9036 (byte-compile-condition-case--old): Rename from
9037 byte-compile-condition-case.
9038 (byte-compile-condition-case--new): New function.
9039 (byte-compile-condition-case): New function that dispatches depending
9040 on byte-compile--use-old-handlers.
9041 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9044 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9045 Optimize under `condition-case' and `catch' if
9046 byte-compile--use-old-handlers is nil.
9047 (disassemble-offset): Handle new bytecodes.
9049 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * subr.el (error): Use `declare'.
9052 (decode-char, encode-char): Use advertised-calling-convention instead
9053 of the docstring to discourage use of the `restriction' arg.
9055 2013-10-03 Daiki Ueno <ueno@gnu.org>
9057 * epg.el (epg-verify-file): Add a comment saying that it does not
9058 notify verification error as a return value nor a signal.
9059 (epg-verify-string): Ditto.
9061 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9063 * progmodes/compile.el (compilation-start): Try globbing the arg to
9066 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9068 Sync with Tramp 2.2.8.
9070 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9071 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9072 * net/trampver.el: Update release number.
9074 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9076 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9077 and default-process-coding-system for darwin only.
9079 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9083 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9085 * vc/vc-git.el (vc-git-grep): Disable pager.
9087 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9089 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9090 Use :url instead of :homepage, as per
9091 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9093 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9094 non-nil, use `syntax-ppss' (Bug#15251).
9096 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9098 * progmodes/octave.el (inferior-octave-startup-file):
9099 Prefer ~/.emacs.d/init_octave.m.
9101 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9103 * emacs-lisp/package.el (package-desc-from-define):
9104 Accept additional arguments as plist, convert them to an alist and store
9105 them in the `extras' slot.
9106 (package-generate-description-file): Convert extras alist back to
9107 plist and append to the `define-package' form arguments.
9108 (package--alist-to-plist): New function.
9109 (package--ac-desc): Add `extras' slot.
9110 (package--add-to-archive-contents): Check if the archive-contents
9111 vector is long enough, and if it is, pass its `extras' slot value
9112 to `package-desc-create'.
9113 (package-buffer-info): Call `lm-homepage', pass the returned value
9114 to `package-desc-from-define'.
9115 (describe-package-1): Render the homepage button (Bug#13291).
9117 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9118 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9120 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9122 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9123 and default-process-coding-system to utf-8-unix (Bug#15402).
9125 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9127 * subr.el (looking-back): Do not recommend using looking-back.
9129 2013-09-28 Alan Mackenzie <acm@muc.de>
9131 Fix indentation/fontification of Java enum with "implements".
9133 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9134 regexp which matches "implements", etc., in Java.
9135 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9136 specifier clauses coming after "enum".
9137 * progmodes/cc-fonts.el (c-font-lock-declarations)
9138 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9141 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9143 * faces.el (region): Change ns_selection_color to
9144 ns_selection_fg_color, add ns_selection_bg_color.
9146 2013-09-28 Leo Liu <sdl.web@gmail.com>
9148 * progmodes/octave.el (inferior-octave-completion-table)
9149 (inferior-octave-completion-at-point): Minor tweaks.
9151 * textmodes/ispell.el (ispell-lookup-words): Rename from
9152 lookup-words. (Bug#15460)
9153 (lookup-words): Obsolete.
9154 (ispell-complete-word, ispell-command-loop): All uses changed.
9156 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9158 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9159 (octave-mode-menu): Add octave-send-buffer.
9160 (octave-send-buffer): New function.
9162 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9164 * progmodes/octave.el (octave-mode-map): Add key binding for
9166 (octave-mode-menu): Add octave-lookfor.
9167 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9169 (octave-lookfor): New function.
9171 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9173 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9174 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9176 (cl--loop-set-iterator-function): New function.
9177 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9178 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9179 Bind `it' with `let' instead of substituting it with `cl-subst'.
9180 (cl--unused-var-p): New function.
9181 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9182 Eliminate some unused variable warnings (bug#15326).
9184 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9186 * doc-view.el (doc-view-scale-reset): Rename from
9187 `doc-view-reset-zoom-level'.
9188 (doc-view-scale-adjust): New command.
9189 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9190 `doc-view-scale-adjust'.
9192 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9194 * doc-view.el (doc-view-reset-zoom-level): New command.
9195 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9196 zoom commands (bug#15466).
9198 2013-09-26 Kenichi Handa <handa@gnu.org>
9200 * international/quail.el (quail-help): Make it not a command.
9202 2013-09-26 Leo Liu <sdl.web@gmail.com>
9204 * minibuffer.el (completion-all-sorted-completions): Make args
9205 optional as they are.
9207 2013-09-25 Daniel Colascione <dancol@dancol.org>
9209 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9210 specs are and that they're not evaluated.
9212 2013-09-24 Sam Steingold <sds@gnu.org>
9214 * midnight.el (clean-buffer-list-kill-regexps)
9215 (clean-buffer-list-kill-buffer-names): Update for the new Man
9216 buffer naming which includes the object name.
9218 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9220 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9221 (eshell-parse-command, eshell-parse-pipeline): Use it since
9222 eshell-separate-commands requires a dynamic scoped var.
9223 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9225 2013-09-23 Leo Liu <sdl.web@gmail.com>
9227 * autoinsert.el (auto-insert-alist): Make the value of
9228 lexical-binding match its file setting.
9230 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9232 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9234 * autoarg.el (autoarg-kp-digit-argument):
9235 * electric.el (Electric-command-loop):
9236 * kmacro.el (kmacro-step-edit-insert):
9237 Do not set universal-argument-num-events.
9239 2013-09-22 Leo Liu <sdl.web@gmail.com>
9241 * files.el (interpreter-mode-alist): Add octave.
9243 2013-09-21 Alan Mackenzie <acm@muc.de>
9245 C++: fontify identifier in declaration following "public:" correctly.
9246 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9247 to match "public", etc.
9248 (c-decl-prefix-re): Add ":" into the C++ value.
9249 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9250 bit. Add a check for a ":" preceded by "public", etc.
9252 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9254 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9255 recognized by GDB 7.5 and later.
9257 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9259 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9261 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * subr.el (internal--call-interactively): New const.
9264 (called-interactively-p): Use it (bug#3984).
9266 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9268 * vc/pcvs.el (cvs-mode-ignore):
9269 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9270 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9272 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9274 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9275 (eshell-ls-orig-insert-directory): Remove.
9276 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9277 (eshell-ls-use-in-dired): Use advice-add/remove.
9278 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9279 Add `orig-fun' arg for use in :around advice.
9280 Make it check (redundantly) eshell-ls-use-in-dired.
9282 2013-09-19 Glenn Morris <rgm@gnu.org>
9284 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9286 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9288 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9290 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9292 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9293 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9294 (tramp-get-remote-python): New defuns.
9295 (tramp-get-remote-uid-with-perl)
9296 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9297 contributed by yary <not.com@gmail.com> (tiny change).
9298 (tramp-get-remote-uid-with-python)
9299 (tramp-get-remote-gid-with-python): New defuns. Python code
9300 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9301 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9303 2013-09-19 Glenn Morris <rgm@gnu.org>
9305 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9307 * eshell/em-unix.el (eshell-remove-entries):
9308 Rename argument to avoid name-clash with global `top-level'.
9310 * eshell/esh-proc.el (eshell-kill-process-function):
9311 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9312 (eshell-reset-after-proc): Remove unused arg `proc'.
9314 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9315 (directory-files-and-attributes): Mark unused arg.
9317 * eshell/em-unix.el (eshell-remove-entries):
9318 Remove unused arg `path'. Update callers.
9320 * eshell/em-hist.el (eshell-hist-parse-arguments):
9321 Remove unused arg `silent'. Update callers.
9323 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9324 Fix (f)boundp mix-up.
9326 * eshell/em-smart.el (eshell-smart-scroll-window)
9327 (eshell-disable-after-change):
9328 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9330 2013-09-18 Alan Mackenzie <acm@muc.de>
9332 Fix fontification of type when followed by "const".
9333 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9334 "known" types from fontification.
9336 2013-09-18 Glenn Morris <rgm@gnu.org>
9338 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9339 (chart-face-list): Drop Emacsen without display-color-p.
9341 * net/eww.el (libxml-parse-html-region): Declare.
9342 (eww-display-html): Explicit error if no libxml2 support.
9344 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9346 * image.el (image-type-from-buffer, image-multi-frame-p):
9347 Remove --without-x warning/error.
9349 * mouse.el (mouse-yank-primary):
9350 * term.el (term-mouse-paste):
9351 Reorder to silence --without-x compilation.
9353 * mpc.el (doc-view-mode): Silence --without-x compilation.
9355 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9356 Silence --without-x compilation.
9358 * progmodes/gud.el (gud-find-file, gud-mode):
9359 Silence --without-x compilation.
9360 (tooltip-mode): Declare.
9362 * wdired.el (dired-backup-overwrite): Remove declaration.
9363 (wdired-mode-map): Add doc string.
9365 * custom.el (x-get-resource): Declare.
9367 * eshell/em-glob.el (ange-cache):
9368 * eshell/em-unix.el (ange-cache): Declare.
9370 * faces.el (x-display-list, x-open-connection, x-get-resource):
9373 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9374 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9377 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9379 * net/gnutls.el (gnutls-log-level): Declare.
9381 * net/shr.el (image-size, image-animate): Declare.
9383 * simple.el (font-info): Declare.
9385 * subr.el (x-popup-dialog): Declare.
9387 * term/common-win.el (x-select-enable-primary)
9388 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9391 * term/ns-win.el (x-handle-args): Declare.
9393 * term/x-win.el (x-select-enable-clipboard): Declare.
9395 * term/w32-win.el (create-default-fontset): Declare.
9397 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9400 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9401 (fit-frame-to-buffer): Explicit error if --without-x.
9402 (mouse-autoselect-window-select): Silence compiler.
9404 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9406 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9407 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9408 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9409 * eshell/esh-util.el (eshell-sublist):
9410 Remove unused local variables.
9412 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9414 * textmodes/two-column.el: Make 2C-split work for --without-x.
9415 (scroll-bar-columns): Autoload.
9416 (top-level): Require fringe when compiling.
9418 2013-09-18 Leo Liu <sdl.web@gmail.com>
9420 * subr.el (add-hook): Robustify to handle closure as well.
9422 2013-09-17 Glenn Morris <rgm@gnu.org>
9424 * simple.el (messages-buffer-mode-map): Unbind "g".
9426 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9428 * help-mode.el (help-mode-finish): Use derived-mode-p.
9429 Remove obsolete highlighting.
9431 * play/life.el (life-mode): Use define-derived-mode. Derive from
9433 (life): Let-bind inhibit-read-only.
9434 (life-setup): Avoid `setq'. Use `life-mode'.
9436 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9437 which should not be needed any more.
9438 (package-menu-refresh, package-menu-describe-package): Use user-error.
9440 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9441 (eshell-post-rewrite-command-hook): Make obsolete.
9442 (eshell-parse-command): Simplify.
9443 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9444 (eshell--cmd): Declare.
9445 (eshell-parse-pipeline): Remove unused var `final-p'.
9446 Pass a dynvar to eshell-post-rewrite-command-hook.
9447 Implement the new eshell-post-rewrite-command-function.
9448 (eshell-invoke-directly): Remove unused arg `input'.
9449 * eshell/esh-io.el (eshell-io-initialize):
9450 Use eshell-post-rewrite-command-function (bug#15399).
9451 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9452 adjust to new calling convention.
9453 (eshell-create-handles): Rename args to avoid clashing with dynvar
9456 2013-09-17 Glenn Morris <rgm@gnu.org>
9458 * simple.el (messages-buffer-mode): New major mode.
9459 (messages-buffer): New function.
9460 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9461 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9462 (ert-run-test): Use `messages-buffer' function.
9463 (ert--force-message-log-buffer-truncation): Ignore read-only.
9464 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9465 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9467 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9469 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9471 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9473 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9475 * icomplete.el (icomplete-in-buffer): New var.
9476 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9477 vars and replace them with functions.
9478 (icomplete-minibuffer-setup): Adjust accordingly.
9479 (icomplete--completion-table, icomplete--completion-predicate)
9480 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9482 (icomplete-forward-completions, icomplete-backward-completions)
9483 (icomplete-simple-completing-p, icomplete-exhibit)
9484 (icomplete-completions): Use them.
9485 (icomplete--in-region-buffer): New var.
9486 (icomplete--in-region-setup): New function.
9487 (icomplete-mode): Use it.
9489 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9491 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9492 return args and options.
9493 (eshell-eval-using-options): Use the new return value of
9494 eshell--do-opts to set the options's vars in their scope.
9495 (eshell--set-option): Rename from eshell-set-option.
9497 (eshell--process-option): Rename from eshell-process-option.
9499 (eshell--process-args): Use an `opt-vals' alist to store the options's
9500 values during their processing and return them additionally to the
9503 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9505 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9506 continuation character an operator, as far as indentation is
9507 concerned (Bug#15369).
9509 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9511 * window.el (window--state-put-2): Don't process buffer state
9512 when buffer doesn't exist any more (Bug#15382).
9514 2013-09-15 Glenn Morris <rgm@gnu.org>
9516 * eshell/em-unix.el (eshell/rm):
9517 Make -f ignore missing files. (Bug#15373)
9519 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9520 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9521 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9523 2013-09-14 Glenn Morris <rgm@gnu.org>
9525 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9527 2013-09-13 Glenn Morris <rgm@gnu.org>
9529 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9530 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9532 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9534 * frame.el (x-focus-frame): Mark as declared in frame.c.
9536 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * ls-lisp.el: Use advice-add.
9539 (original-insert-directory): Remove.
9540 (ls-lisp--insert-directory): Rename from insert-directory; add
9541 `orig-fun' argument.
9542 (insert-directory): Advise.
9544 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9546 * term.el (term-emulate-terminal): Decode the command string
9547 before passing it to term-command-hook. (Bug#15337)
9549 2013-09-13 Glenn Morris <rgm@gnu.org>
9551 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9553 * eshell/esh-ext.el (eshell-search-path): Declare.
9555 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9556 Otherwise an error occurs if eshell-dirs module not loaded.
9558 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9560 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9562 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9563 `tramp-check-proper-host'. Check for a valid method name.
9565 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9566 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9567 * net/tramp-sh.el (tramp-maybe-open-connection):
9568 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9570 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9571 also for hash values.
9573 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9575 * term/ns-win.el (parameters): Don't declare as dynamic.
9576 (before-make-frame-hook): Don't add ineffective function.
9578 * eshell/*.el: Use lexical-binding (bug#15231).
9580 2013-09-12 Kenichi Handa <handa@gnu.org>
9582 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9584 2013-09-12 Glenn Morris <rgm@gnu.org>
9586 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9587 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9589 * subr.el (do-after-load-evaluation): Also give compiler warnings
9590 when obsolete files are used (except by obsolete files).
9592 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9593 in the status output, assume `filename' is the first. (Bug#15322)
9595 * vc/vc.el (vc-deduce-fileset): Doc fix.
9597 * calc/calc-help.el (Info-goto-node):
9598 * progmodes/cperl-mode.el (Info-find-node):
9599 * vc/ediff.el (Info-goto-node): Update declarations.
9601 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9603 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9604 (vc-bzr-pull): Require vc-dispatcher.
9605 * vc/vc-git.el (vc-compilation-mode): Declare.
9606 (vc-git-pull): Require vc-dispatcher.
9608 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9610 * progmodes/octave.el (help-button-action): Declare.
9612 * shell.el (shell-directory-tracker): Output error as a message
9613 rather than just returning it as a string.
9614 (shell-process-pushd): Remove useless use of message.
9616 * dframe.el (dframe-timer-fn):
9617 * files.el (dir-locals-read-from-file):
9618 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9620 * reveal.el (reveal-post-command):
9621 * saveplace.el (load-save-place-alist-from-file):
9622 * shell.el (shell-resync-dirs):
9623 * w32-common-fns.el (x-get-selection-value):
9624 * emacs-lisp/copyright.el (copyright-find-copyright):
9625 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9626 * emulation/tpu-edt.el (tpu-copy-keyfile):
9627 * play/bubbles.el (bubbles--mark-neighbourhood):
9628 * progmodes/executable.el
9629 (executable-make-buffer-file-executable-if-script-p):
9630 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9632 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9634 Cleanup Eshell to rely less on dynamic scoping.
9635 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9636 last-value, and ext-command here. Bind `args' closer to `body'.
9637 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9638 (eshell--args): Declare new dynamic var.
9639 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9640 last-value, and ext-command. Pass `args' to `body'.
9641 (eshell-process-args): Bind eshell--args.
9642 (eshell-set-option): Use eshell--args.
9643 * eshell/eshell.el (eshell): Use derived-mode-p.
9644 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9645 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9646 (eshell-glob-function): Declare.
9647 * eshell/esh-util.el: Require cl-lib.
9648 (eshell-read-hosts-file): Avoid add-to-list.
9649 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9651 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9653 (eshell/diff): Remove unused var `err'.
9654 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9656 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9657 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9659 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9660 Move declaration before first use.
9661 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9662 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9665 2013-09-12 Glenn Morris <rgm@gnu.org>
9667 * term/ns-win.el (global-map): Remove binding for ispell-next,
9668 deleted 1999-05-29. (Bug#15357)
9670 2013-09-11 Glenn Morris <rgm@gnu.org>
9672 * echistory.el (electric-command-history): Remove call to deleted func.
9674 * play/landmark.el (landmark-mode): Fix typos.
9676 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9677 Check cvs-sort-ignore-file is bound.
9679 * savehist.el: No need for cl when compiling on Emacs.
9681 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9683 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9685 (eshell-self-insert-command, eshell-send-invisible):
9686 Remove unused argument.
9687 (eshell-handle-control-codes): Remove unused var `orig'.
9688 Avoid delete-backward-char.
9690 * files.el (set-auto-mode): Simplify a bit further.
9692 2013-09-11 Glenn Morris <rgm@gnu.org>
9694 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9695 (set-auto-mode): Don't regexp-quote elements.
9696 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9697 * progmodes/cc-mode.el (interpreter-mode-alist):
9698 * progmodes/ruby-mode.el (interpreter-mode-alist):
9699 Revert previous change.
9701 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9703 * play/snake.el (snake-mode):
9704 * play/mpuz.el (mpuz-mode):
9705 * play/landmark.el (lm-mode):
9706 * play/blackbox.el (blackbox-mode):
9707 * play/5x5.el (5x5-mode):
9708 * obsolete/options.el (Edit-options-mode):
9709 * net/quickurl.el (quickurl-list-mode):
9710 * net/newst-treeview.el (newsticker-treeview-mode):
9711 * mail/rmailsum.el (rmail-summary-mode):
9712 * mail/mspools.el (mspools-mode):
9713 * locate.el (locate-mode):
9714 * ibuffer.el (ibuffer-mode):
9715 * emulation/ws-mode.el (wordstar-mode):
9716 * emacs-lisp/debug.el (debugger-mode):
9717 * array.el (array-mode):
9718 * net/eudc.el (eudc-mode): Use define-derived-mode.
9719 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9720 Move initialization into declaration.
9721 (mairix-searches-mode): Use define-derived-mode.
9722 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9723 (eudc-edit-hotlist): Use dolist.
9724 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9725 (Man-mode): Use define-derived-mode.
9726 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9727 (Info-edit-mode): Use define-derived-mode.
9728 (Info-cease-edit): Use Info-mode.
9729 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9731 (eshell-mode): Use define-derived-mode.
9732 * chistory.el (command-history-mode-map): Rename from
9733 command-history-map.
9734 (command-history-mode): Use define-derived-mode.
9735 (Command-history-setup): Remove function.
9736 * calc/calc.el (calc-trail-mode-map): New var.
9737 (calc-trail-mode): Use define-derived-mode.
9738 (calc-trail-buffer): Set calc-main-buffer manually.
9739 * bookmark.el (bookmark-insert-annotation): New function.
9740 (bookmark-edit-annotation): Use it.
9741 (bookmark-edit-annotation-mode): Make it a proper major mode.
9742 (bookmark-send-edited-annotation): Use derived-mode-p.
9743 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9744 closer to its ideal place. Use \' to match EOS.
9746 * profiler.el (profiler-calltree-find): Use function-equal.
9748 2013-09-10 Glenn Morris <rgm@gnu.org>
9750 * files.el (interpreter-mode-alist): Convert to regexps.
9751 (set-auto-mode): Adapt for this. (Bug#15306)
9752 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9753 Comment out unused variable.
9754 * progmodes/cc-mode.el (interpreter-mode-alist):
9755 * progmodes/python.el (interpreter-mode-alist):
9756 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9757 * progmodes/sh-script.el (sh-set-shell):
9758 No longer use interpreter-mode-alist to get list of shells.
9760 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9762 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * simple.el: Use set-temporary-overlay-map for universal-argument.
9765 (universal-argument-map): Don't use default-bindings (bug#15317).
9766 Bind switch-frame explicitly. Replace universal-argument-minus with
9767 a conditional binding.
9768 (universal-argument-num-events, saved-overriding-map): Remove.
9769 (restore-overriding-map): Remove.
9770 (universal-argument--mode): Rename from save&set-overriding-map,
9772 (universal-argument, universal-argument-more, negative-argument)
9773 (digit-argument): Adjust accordingly.
9774 (universal-argument-minus): Remove.
9775 (universal-argument-other-key): Remove.
9777 * subr.el (with-demoted-errors): Add `format' argument.
9779 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9781 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9782 `tramp-cleanup-connection'.
9784 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9785 parameters KEEP-DEBUG and KEEP-PASSWORD.
9787 * net/tramp.el (tramp-file-name-handler):
9788 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9789 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9790 (tramp-maybe-open-connection):
9791 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9792 Use `tramp-cleanup-connection'.
9794 * net/tramp-sh.el (tramp-maybe-open-connection):
9795 Catch 'uname-changed inside the progress reporter.
9797 2013-09-10 Glenn Morris <rgm@gnu.org>
9799 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9801 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9802 returns "alternate access method" in mode (eg "-rw-r--r--.").
9804 2013-09-08 Glenn Morris <rgm@gnu.org>
9806 * saveplace.el (load-save-place-alist-from-file):
9807 Demote errors. (Bug#15305)
9809 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9811 Improve compatibility with older Emacsen, and XEmacs.
9813 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9814 only if it is bound. It isn't for XEmacs.
9815 (with-tramp-progress-reporter): Do not let-bind `result'.
9816 This yields to scoping errors in XEmacs.
9817 (tramp-handle-make-auto-save-file-name): New function, moved from
9820 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9821 for `make-auto-save-file-name'.
9822 (tramp-adb--gnu-switches-to-ash):
9823 Use `tramp-compat-replace-regexp-in-string'.
9825 * net/tramp-cache.el (tramp-cache-print): Call
9826 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9828 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9829 bound. It isn't for XEmacs.
9831 * net/tramp-compat.el (tramp-compat-copy-file):
9832 Catch `wrong-number-of-arguments' error.
9833 (tramp-compat-replace-regexp-in-string): New defun.
9835 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9836 for `make-auto-save-file-name'.
9837 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9839 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9840 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9841 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9843 * net/tramp-gw.el (tramp-gw-open-network-stream):
9844 Use `tramp-compat-replace-regexp-in-string'.
9846 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9847 Call `tramp-handle-make-auto-save-file-name'.
9848 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9849 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9850 (tramp-sh-file-inotifywait-process-filter):
9851 Use `tramp-compat-replace-regexp-in-string'.
9852 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9854 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9855 for `make-auto-save-file-name'.
9856 (tramp-smb-handle-copy-directory):
9857 Call `tramp-compat-replace-regexp-in-string'.
9858 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9859 (tramp-smb-handle-copy-file): Improve error message.
9860 (tramp-smb-handle-rename-file): Rename directly only in case
9861 `newname' does not exist yet. This is a restriction of smbclient.
9862 (tramp-smb-maybe-open-connection): Rerun the function only when
9863 `auth-sources' is non-nil.
9865 2013-09-08 Kenichi Handa <handa@gnu.org>
9867 * international/characters.el: Set category "^" (Combining) for
9870 2013-09-07 Alan Mackenzie <acm@muc.de>
9872 Correctly fontify Java class constructors.
9873 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9875 (c-recognize-typeless-decls): Set the Java value to t.
9876 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9877 While handling a "(", add a check for, effectively, Java, and handle a
9878 "typeless" declaration there.
9880 2013-09-07 Roland Winkler <winkler@gnu.org>
9882 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9883 field subtitle for entry type book.
9885 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9887 * minibuffer.el: Make minibuffer-complete call completion-in-region
9888 rather than other way around.
9889 (completion--some, completion-pcm--find-all-completions):
9890 Don't delay signals when debugging.
9891 (minibuffer-completion-contents): Beware fields within the
9892 minibuffer contents.
9893 (completion-all-sorted-completions): Use defvar-local.
9894 (completion--do-completion, completion--cache-all-sorted-completions)
9895 (completion-all-sorted-completions, minibuffer-force-complete):
9896 Add args `beg' and `end'.
9897 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9898 (minibuffer-complete): Use completion-in-region.
9899 (completion-complete-and-exit): New fun, extracted from
9900 minibuffer-complete-and-exit.
9901 (minibuffer-complete-and-exit): Use it.
9902 (completion--complete-and-exit): Rename from
9903 minibuffer--complete-and-exit.
9904 (completion-in-region--single-word): New function, extracted from
9905 minibuffer-complete-word.
9906 (minibuffer-complete-word): Use it.
9907 (display-completion-list): Make `common-substring' argument obsolete.
9908 (completion--in-region): Call completion--in-region-1 instead of
9909 minibuffer-complete.
9910 (completion-help-at-point): Pass boundaries to
9911 minibuffer-completion-help as args rather than via an overlay.
9912 (completion-pcm--string->pattern): Use `any-delim'.
9913 (completion-pcm--optimize-pattern): New function.
9914 (completion-pcm--pattern->regex): Handle `any-delim'.
9915 * icomplete.el (icomplete-forward-completions)
9916 (icomplete-backward-completions, icomplete-completions):
9917 Adjust calls to completion-all-sorted-completions and
9918 completion--cache-all-sorted-completions.
9919 (icomplete-with-completion-tables): Default to t.
9920 * emacs-lisp/crm.el (crm--current-element): Rename from
9921 crm--select-current-element. Don't put an overlay but return the
9923 (crm--completion-command): Take two new args to bind to the boundaries.
9924 (crm-completion-help): Adjust accordingly.
9925 (crm-complete): Use completion-in-region.
9926 (crm-complete-word): Use completion-in-region--single-word.
9927 (crm-complete-and-exit): Use completion-complete-and-exit.
9929 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9931 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9934 2013-09-06 Juri Linkov <juri@jurta.org>
9936 * info.el (Info-display-images-node): When image file doesn't exist
9937 display text version of the image if it's provided in the Info file.
9938 Otherwise, display the location of missing image from SRC attribute.
9939 Add help-echo text property from ALT attribute. (Bug#15279)
9941 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9943 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9944 (edit-abbrevs-mode): Use define-derived-mode.
9946 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9947 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9949 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9950 Use define-derived-mode.
9952 * epg.el (epg-start-encrypt): Minor CSE simplification.
9954 2013-09-06 William Xu <william.xwl@gmail.com>
9956 * arc-mode.el: Add support for 7za (bug#15264).
9957 (archive-7z-program): New var.
9958 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9959 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9960 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9962 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9966 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9967 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9968 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9969 (tramp-postfix-host-format, tramp-file-name-regexp)
9970 (tramp-completion-file-name-regexp)
9971 (tramp-completion-dissect-file-name)
9972 (tramp-handle-substitute-in-file-name): Remove 'url case.
9973 (tramp-file-name-regexp-url)
9974 (tramp-completion-file-name-regexp-url): Remove constants.
9976 2013-09-06 Glenn Morris <rgm@gnu.org>
9978 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9980 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9982 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9983 keywords" below "here-doc beginnings" (Bug#15270).
9985 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * subr.el (pop): Use `car-safe'.
9988 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9989 to detect unused `pop' return value.
9991 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9993 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9994 (python-fill-string): Remove unused var `marker'.
9995 (python-skeleton-add-menu-items): Remove unused var `items'.
9997 * international/mule-cmds.el: Require CL.
9998 (find-coding-systems-for-charsets): Avoid add-to-list.
9999 (sanitize-coding-system-list): New function, extracted from
10000 select-safe-coding-system-interactively.
10001 (select-safe-coding-system-interactively): Use it.
10002 (read-input-method-name): Accept symbols for `default'.
10004 * emacs-lisp/advice.el (defadvice): Add indent rule.
10006 2013-09-05 Daniel Hackney <dan@haxney.org>
10010 * net/browse-url.el:
10013 * net/eudcb-ldap.el:
10017 * vc/ediff-diff.el:
10018 * vc/ediff-init.el:
10019 * vc/ediff-merg.el:
10020 * vc/ediff-mult.el:
10021 * vc/ediff-util.el:
10022 * vc/ediff-wind.el:
10026 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10027 byte compiler. Remove some unused let-bound variables.
10029 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10031 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10032 a "ref-cell", since it gets better optimized (bug#14883).
10034 2013-09-05 Glenn Morris <rgm@gnu.org>
10036 * progmodes/cc-awk.el (c-forward-sws): Declare.
10038 2013-09-04 Glenn Morris <rgm@gnu.org>
10040 * generic-x.el [rul-generic-mode]: Require cc-mode.
10041 (c++-mode-syntax-table): Declare.
10042 (rul-generic-mode-syntax-table): Init in the defvar.
10044 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10047 (vc-do-command, vc-set-async-update):
10048 * vc/vc-mtn.el (vc-mtn-dir-status):
10049 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10050 (vc-hg-pull, vc-hg-merge-branch):
10051 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10052 (vc-git-merge-branch):
10053 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10054 (vc-cvs-dir-status-files):
10055 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10056 (vc-bzr-dir-status-files):
10057 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10058 * vc/vc-annotate.el: Use lexical-binding.
10059 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10060 (vc-sentinel-movepoint): Declare.
10061 (vc-annotate): Don't use `goto-line'.
10062 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10063 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10064 (vc-sentinel-movepoint): Declare.
10065 * vc/vc-svn.el: Use lexical-binding.
10066 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10068 * vc/vc-rcs.el: Use lexical-binding.
10070 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10071 `deleted'. Don't drop errors silently.
10073 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10075 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10077 * vc/vc.el (vc-ignore): Rewrite.
10078 (vc-default-ignore): New function.
10079 (vc-default-ignore-completion-table): Use find-ignore-file.
10081 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10082 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10083 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10084 Remove. Most code moved to vc.el.
10086 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10088 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10089 * net/tramp-smb.el (tramp-smb-get-file-entries):
10090 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10091 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10093 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10095 (eww-change-select): Remove unused var `properties'.
10096 (eww-make-unique-file-name): Remove unused var `base'.
10098 * finder.el (finder-compile-keywords): Don't mess with windows.
10100 * calculator.el (calculator-funcall): Fix typo in last change.
10102 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10104 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10105 <pkg>-autoloads.el file stop us.
10107 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10108 warnings, and factor out common code.
10110 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10112 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10113 two-character operators and whether the character preceding them
10114 changes their meaning (Bug#15208).
10116 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10118 Format code sent to Python shell for robustness.
10119 * progmodes/python.el (python-shell-buffer-substring):
10121 (python-shell-send-region, python-shell-send-buffer): Use it.
10123 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10125 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10126 * net/tramp.el (tramp-user-error): ... here.
10127 (tramp-find-method, tramp-check-proper-host)
10128 (tramp-dissect-file-name, tramp-debug-message)
10129 (tramp-handle-shell-command):
10130 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10131 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10133 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10135 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10137 * avoid.el (mouse-avoidance-point-position)
10138 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10141 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10143 * progmodes/python.el (python-shell-completion-get-completions):
10144 Drop use of deleted `comint-last-prompt-overlay'.
10145 (python-nav-if-name-main): New command.
10147 2013-09-01 Glenn Morris <rgm@gnu.org>
10149 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10150 Avoid leading space in $wins. Otherwise the sed command used by
10151 eg compile-main ends up containing "/*.el". (Bug#15170)
10153 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10155 2013-08-30 Glenn Morris <rgm@gnu.org>
10157 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10158 Fix is-this-a-directory logic. (Bug#15220)
10160 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10162 * textmodes/css-mode.el: Use SMIE.
10163 (css-smie-grammar): New var.
10164 (css-smie--forward-token, css-smie--backward-token)
10165 (css-smie-rules): New functions.
10166 (css-mode): Use them.
10167 (css-navigation-syntax-table): Remove var.
10168 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10169 (css-indent-calculate, css-indent-line): Remove functions.
10171 Misc changes to reduce use of `(lambda...); and other cleanups.
10172 * cus-edit.el: Use lexical-binding.
10173 (customize-push-and-save, customize-apropos)
10174 (custom-buffer-create-internal): Use closures.
10175 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10176 * progmodes/ada-xref.el: Use setq.
10177 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10178 * dframe.el: Use lexical-binding.
10179 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10180 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10181 * descr-text.el: Use lexical-binding.
10182 (describe-text-widget, describe-text-sexp, describe-property-list):
10184 * comint.el (comint-history-isearch-push-state): Use a closure.
10185 * calculator.el: Use lexical-binding.
10186 (calculator-number-to-string): Make it work with lexical-binding.
10187 (calculator-funcall): Same and use cl-letf.
10189 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10190 (lisp--company-doc-string, lisp--company-location): New functions.
10191 (lisp-completion-at-point): Use them to improve Company support.
10193 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10194 params of lambda expressions.
10195 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10196 (ruby-smie--opening-pipe-p): New function.
10197 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10198 symbols and matched |...| for formal params.
10199 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10200 from being treated as hanging. Handle "rescue".
10202 2013-08-29 Glenn Morris <rgm@gnu.org>
10204 * progmodes/cc-engine.el (c-pull-open-brace):
10205 Move definition before use.
10207 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10210 are immutable. Don't use `unsafe' any more.
10211 (cl--defsubst-expand): Don't substitute at the same time as keeping
10212 a residual unused let-binding. Don't use `unsafe' any more.
10214 2013-08-29 Glenn Morris <rgm@gnu.org>
10216 * calendar/cal-china.el (calendar-chinese-year-cache):
10219 * nxml/nxml-util.el (nxml-debug-clear-inside):
10220 Use cl-loop rather than loop.
10222 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10224 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10226 2013-08-28 Glenn Morris <rgm@gnu.org>
10228 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10230 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10232 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10234 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10236 * simple.el (repeat-complex-command--called-interactively-skip):
10238 (repeat-complex-command): Use it (bug#14136).
10240 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10241 (c-define-abbrev-table): Add `doc' argument.
10242 (c-mode-abbrev-table, c++-mode-abbrev-table)
10243 (objc-mode-abbrev-table, java-mode-abbrev-table)
10244 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10245 (awk-mode-abbrev-table): Use it.
10246 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10247 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10248 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10249 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10250 Move initialization into the declaration; and remove any
10253 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10254 and dynamic let binding.
10256 * vc/smerge-mode.el: Remove redundant :group args.
10258 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10261 2013-08-28 Juri Linkov <juri@jurta.org>
10263 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10264 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10265 (isearch-other-meta-char): Handle an undefined shifted printing
10266 character by downshifting it. (Bug#15200)
10268 2013-08-28 Juri Linkov <juri@jurta.org>
10270 * isearch.el (isearch-search): Change regexp error message for
10271 non-regexp searches. (Bug#15166)
10273 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10275 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10276 for portability to hosts where /bin/sh has problems.
10278 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10280 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10282 2013-08-27 Juri Linkov <juri@jurta.org>
10284 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10285 in the keyboard macro. (Bug#15126)
10287 2013-08-27 Juri Linkov <juri@jurta.org>
10289 * isearch.el (isearch-quote-char): Comment out converting unibyte
10290 to multibyte, thus syncing with its `quoted-insert' counterpart.
10293 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10295 * window.el (display-buffer-use-some-window): Add missing
10296 argument in call of get-largest-window (Bug#15185).
10297 Reported by Stephen Leake.
10299 2013-08-27 Glenn Morris <rgm@gnu.org>
10301 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10303 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10305 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10306 from a matcher-function unless there's no more matches (bug#15161).
10308 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10310 * minibuffer.el: Revert change from 2013-08-20.
10312 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10313 with text property `tramp-default', if appropriate.
10314 (tramp-check-proper-host): New defun.
10315 (tramp-dissect-file-name): Do not check hostname. Revert change
10317 (tramp-backtrace): Make VEC-OR-PROC optional.
10319 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10320 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10321 * net/tramp-sh.el (tramp-maybe-open-connection):
10322 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10323 Apply `tramp-check-proper-host'.
10325 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10327 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10328 lambda expression in order to have `describe-variable' display it.
10330 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10332 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10333 BUF can be optional. (Bug#15186)
10335 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10337 * progmodes/flymake.el (flymake-get-real-file-name-function):
10338 Fix broken customization. (Bug#15184)
10340 2013-08-25 Alan Mackenzie <acm@muc.de>
10342 Improve indentation of bracelists defined by macros (without "=").
10344 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10345 expansion begins with "{", regard it as bracelist when it doesn't
10348 Parse C++ inher-intro when there's a template split over 2 lines.
10350 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10351 rigorously the search for "class" etc. followed by ":".
10353 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10354 random languages a regexp which never matches rather than nil.
10356 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10358 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10359 (c-awk-regexp-one-line-possibly-open-char-list-re)
10360 (c-awk-one-line-possibly-open-regexp-re)
10361 (c-awk-one-line-non-syn-ws*-re): Remove.
10362 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10363 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10364 (c-awk-space*-unclosed-regexp-/-re): New constants.
10365 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10366 aren't regexp delimiters.
10368 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10369 handling for a rare situation in AWK Mode involving unterminated
10372 2013-08-23 Glenn Morris <rgm@gnu.org>
10374 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10376 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10378 * files.el (create-file-buffer): If the result would begin with
10379 spaces, prepend a "|" instead of removing them. (Bug#15162)
10381 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10383 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10384 text-properties (bug#15155).
10386 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10388 (calc-keypad-redraw): Remove unused var `pad'.
10389 (calc-keypad-press): Remove unused var `menu'.
10391 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10393 * window.el (display-buffer-pop-up-frame):
10394 Call pop-up-frame-function with BUFFER current so `make-frame' will
10395 use it as the new frame's buffer (Bug#15133).
10397 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * calendar/timeclock.el: Minor cleanups.
10400 (timeclock-ask-before-exiting, timeclock-use-display-time):
10402 (timeclock-modeline-display): Define as alias before the
10404 (timeclock-mode-line-display): Use define-minor-mode.
10405 (timeclock-day-list-template): Make it a function, add an argument.
10406 (timeclock-day-list-required, timeclock-day-list-length)
10407 (timeclock-day-list-debt, timeclock-day-list-span)
10408 (timeclock-day-list-break): Adjust calls accordingly.
10410 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10412 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10413 Use read--expression so that completion works again.
10415 2013-08-21 Sam Steingold <sds@gnu.org>
10417 Add rudimentary inferior shell interaction
10418 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10419 (sh-set-shell): Reset it.
10420 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10421 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10423 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10425 * align.el: Use lexical-binding.
10426 (align-region): Simplify accordingly.
10428 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10430 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10432 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10433 `non-essential' up.
10435 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10438 * net/tramp-adb.el:
10439 * net/tramp-cmds.el:
10440 * net/tramp-ftp.el:
10441 * net/tramp-gvfs.el:
10443 * net/tramp-sh.el: Don't wrap external variable declarations by
10444 `eval-when-compile'.
10446 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10448 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10449 now that Emacs supports ImageMagick animations.
10451 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10453 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10454 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10456 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10458 * window.el (mouse-autoselect-window-select): Do autoselect when
10459 mouse pointer is on margin.
10461 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10463 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10465 2013-08-16 Glenn Morris <rgm@gnu.org>
10467 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10468 Handle "Remote Directory" response of some clients. (Bug#15058)
10470 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10471 Tweak warning. (Bug#14926)
10473 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10474 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10476 * image-mode.el (image-mode-map): Add menu items to reverse,
10477 increase, decrease, reset animation speed.
10478 (image--set-speed, image-increase-speed, image-decrease-speed)
10479 (image-reverse-speed, image-reset-speed): New functions.
10480 (image-mode-map): Add bindings for speed commands.
10482 * image.el (image-animate-get-speed, image-animate-set-speed):
10484 (image-animate-timeout): Respect image :speed property.
10486 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10488 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10489 previous line (bug#15101).
10490 (debugger-eval-expression, debugger-record-expression):
10491 Use read--expression (bug#15102).
10493 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10495 Remove byte compiler warnings, visible when compiling with
10496 `byte-compile-force-lexical-warnings' set to t.
10498 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10499 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10500 (tramp-handle-unhandled-file-name-directory)
10501 (tramp-handle-file-notify-add-watch, tramp-action-login)
10502 (tramp-action-succeed, tramp-action-permission-denied)
10503 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10504 arguments with "_".
10506 * net/tramp-adb.el (tramp-adb-parse-device-names)
10507 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10508 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10509 (tramp-adb-handle-file-truename): Remove unused arguments.
10511 * net/tramp-cache.el (tramp-flush-directory-property)
10512 (tramp-flush-connection-property, tramp-list-connections)
10513 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10515 * net/tramp-compat.el (tramp-compat-make-temp-file):
10516 Rename FILENAME to F.
10518 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10519 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10520 (tramp-zeroconf-parse-workstation-device-names)
10521 (tramp-zeroconf-parse-webdav-device-names)
10522 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10524 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10525 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10527 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10529 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10530 (tramp-sh-handle-insert-file-contents-literally)
10531 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10533 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10534 Remove unused variables.
10536 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10537 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10538 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10540 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10541 Make them a defconst.
10542 (tramp-uuencode-region): Remove unused variable.
10544 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10546 * frameset.el (frameset--prop-setter): New function.
10547 (frameset-prop): Add gv-setter declaration.
10548 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10549 parameter was already set in FILTERED. Doc fix.
10550 (frameset--record-minibuffer-relationships): Allow saving a
10551 minibufferless frame without its corresponding minibuffer frame.
10552 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10553 frame, if the frame id matches.
10554 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10555 frames before orphaned ones.
10556 (frameset-restore): Warn about orphaned windows, instead of error out.
10558 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10560 * window.el (window-make-atom): Don't overwrite parameter
10562 (display-buffer-in-atom-window): Handle special case where we
10563 split an already atomic window.
10564 (window--major-non-side-window, display-buffer-in-side-window)
10565 (window--side-check): Ignore minibuffer window when walking
10567 (window-deletable-p): Return 'frame only if no other frame uses
10568 our minibuffer window.
10569 (record-window-buffer): Run buffer-list-update-hook.
10570 (split-window): Make sure window--check-frame won't destroy an
10571 existing atomic window in case the new window gets nested
10573 (display-buffer-at-bottom): Ignore minibuffer window when
10574 walking window tree. Don't split a side window.
10575 (pop-to-buffer): Don't set-buffer here, the select-window call
10577 (mouse-autoselect-window-select): Autoselect only if we are in the
10578 text portion of the window.
10580 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10582 * net/shr.el (shr-parse-image-data): New function to grab both the
10583 data itself and the Content-Type.
10584 (shr-put-image): Use it.
10586 * net/eww.el (eww-display-image): Ditto.
10588 * image.el (image-content-type-suffixes): New variable.
10590 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10592 * progmodes/python.el (python-imenu--build-tree)
10593 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10595 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10597 * simple.el (backward-word): Mention the optional argument.
10599 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10601 * frameset.el (frameset--make): Rename constructor from make-frameset.
10602 (frameset-p, frameset-valid-p): Don't autoload.
10603 (frameset-valid-p): Use normal accessors.
10605 2013-08-13 Glenn Morris <rgm@gnu.org>
10607 * progmodes/compile.el (compile-command): Tweak example in doc.
10608 * obsolete/scribe.el (scribe-mode):
10609 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10611 * mail/feedmail.el (feedmail-confirm-outgoing)
10612 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10614 * cus-start.el (truncate-partial-width-windows): Fix type.
10616 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10618 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10620 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10622 * emacs-lisp/timer.el (timer--time-setter): New function.
10623 (timer--time): Use it as gv-setter.
10625 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10626 setter is not a symbol.
10628 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10630 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10631 if sending fails. This makes debugging easier.
10633 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10635 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10636 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10637 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10639 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10641 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10643 2013-08-12 Glenn Morris <rgm@gnu.org>
10645 * format.el (format-annotate-function):
10646 Handle read-only text properties in the source. (Bug#14887)
10648 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10650 * net/eww.el (eww-display-html): Ignore coding system errors.
10651 One web site uses "utf-8lias" as the coding system.
10653 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10655 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10657 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10659 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10660 (tutorial--detailed-help): Remove unused local variables.
10661 (tutorial--save-tutorial-to): Use ignore-errors.
10662 (help-with-tutorial): Use looking-at-p.
10664 * view.el (view-buffer-other-window, view-buffer-other-frame):
10665 Mark unused arguments.
10667 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10668 (woman-select-symbol-fonts, woman, woman-find-file)
10669 (woman-insert-file-contents, woman-non-underline-faces):
10670 Use string-match-p.
10671 (woman1-unquote): Move declaration.
10673 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10674 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10675 argument. Remove unused local variable.
10676 (xml-parse-elem-type): Use string-match-p.
10677 (xml-substitute-numeric-entities): Use ignore-errors.
10679 * calculator.el (calculator): Mark unused argument.
10680 (calculator-paste, calculator-quit, calculator-integer-p):
10682 (calculator-string-to-number, calculator-decimal, calculator-exp)
10683 (calculator-op-or-exp): Use string-match-p.
10685 * dired.el (dired-buffer-more-recently-used-p): Declare.
10686 (dired-insert-set-properties, dired-insert-old-subdirs):
10689 * dired-aux.el (dired-compress): Use ignore-errors.
10690 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10691 (dired-do-async-shell-command, dired-do-shell-command)
10692 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10693 (dired-insert-subdir-validate): Use string-match-p.
10694 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10695 (dired-add-entry): Use string-match-p, looking-at-p.
10696 (dired-insert-subdir-newpos): Remove unused local variable.
10698 * filenotify.el (file-notify-callback): Remove unused local variable.
10700 * filesets.el (filesets-error): Mark unused argument.
10701 (filesets-which-command-p, filesets-filter-dir-names)
10702 (filesets-directory-files, filesets-get-external-viewer)
10703 (filesets-ingroup-get-data): Use string-match-p.
10705 * find-file.el (ff-other-file-name, ff-other-file-name)
10706 (ff-find-the-other-file, ff-cc-hh-converter):
10707 Remove unused local variables.
10708 (ff-get-file-name): Use string-match-p.
10709 (ff-all-dirs-under): Use ignore-errors.
10711 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10712 (follow-select-if-visible): Remove unused local variable.
10714 * forms.el (read-file-filter): Move declaration.
10715 (forms--make-format, forms--make-parser, forms-insert-record):
10716 Quote function with #'.
10717 (forms--update): Use string-match-p. Quote function with #'.
10719 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10720 (help-make-xrefs): Use looking-at-p.
10721 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10723 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10724 (ibuffer-confirm-operation-on): Use string-match-p.
10726 * msb.el (msb-item-handler, msb-dired-item-handler):
10727 Mark unused arguments.
10729 * ses.el (ses-decode-cell-symbol)
10730 (ses-kill-override): Remove unused local variable.
10731 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10732 (ses-load): Use ignore-errors, looking-at-p.
10733 (ses-jump-safe): Use ignore-errors.
10734 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10736 * tabify.el (untabify, tabify): Mark unused arguments.
10738 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10739 Mark unused argument.
10740 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10741 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10743 * emacs-lisp/timer.el (timer--time): Define setter with
10744 gv-define-setter to avoid deprecation warning.
10746 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10747 (*record-cmpl-statistics-p*): Remove (was commented out).
10748 (cmpl-statistics-block): Remove (body was commented out).
10749 All callers changed.
10750 (add-completions-from-buffer, load-completions-from-file):
10751 Remove unused variables.
10753 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10755 * filecache.el (file-cache-delete-file-list):
10756 Print message only when told so.
10757 (file-cache-files-matching): Use #' in mapconcat argument.
10759 * ffap.el (ffap-url-at-point): Fix reference to variable
10760 thing-at-point-default-mail-uri-scheme.
10762 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10764 * subr.el (define-error): New function.
10765 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10766 error-file-not-found and define with define-error.
10767 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10768 and define with define-error.
10769 * userlock.el (file-locked, file-supersession):
10770 * simple.el (mark-inactive):
10771 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10772 * progmodes/ada-mode.el (ada-mode-errors):
10773 * play/life.el (life-extinct):
10774 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10775 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10776 * nxml/rng-util.el (rng-error):
10777 * nxml/rng-uri.el (rng-uri-error):
10778 * nxml/rng-match.el (rng-compile-error):
10779 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10780 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10781 * nxml/nxml-rap.el (nxml-scan-error):
10782 * nxml/nxml-outln.el (nxml-outline-error):
10783 * net/soap-client.el (soap-error):
10784 * net/gnutls.el (gnutls-error):
10785 * net/ange-ftp.el (ftp-error):
10786 * mpc.el (mpc-proc-error):
10787 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10788 (json-number-format, json-string-escape, json-string-format)
10789 (json-key-format, json-object-format):
10790 * jka-compr.el (compression-error):
10791 * international/quail.el (quail-error):
10792 * international/kkc.el (kkc-error):
10793 * emacs-lisp/ert.el (ert-test-failed):
10794 * calc/calc.el (calc-error, inexact-result, math-overflow)
10796 * bookmark.el (bookmark-error-no-filename):
10797 * epg.el (epg-error): Define with define-error.
10799 * time.el (display-time-event-handler)
10800 (display-time-next-load-average): Don't call sit-for since it seems
10801 unnecessary (bug#15045).
10803 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10804 Use #' instead of ' to quote functions.
10805 (checkdoc-output-mode): Use setq-local.
10806 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10807 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10808 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10809 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10810 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10811 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10812 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10813 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10815 * ido.el (ido-completion-help): Fix up compiler warning.
10817 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10819 * frameset.el (frameset-p): Add autoload cookie.
10820 (frameset--jump-to-register): New function, based on code moved from
10822 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10824 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10825 (frameset-restore, frameset-save, frameset-session-filter-alist):
10826 Remove declarations.
10827 (register-alist): Doc fix.
10828 (frameset-to-register): Move to frameset.el.
10829 (jump-to-register, describe-register-1): Remove frameset-specific code.
10831 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10833 * allout-widgets.el (allout-widgets-pre-command-business)
10834 (allout-widgets-post-command-business)
10835 (allout-widgets-after-change-handler)
10836 (allout-decorate-item-and-context, allout-set-boundary-marker)
10837 (allout-body-modification-handler)
10838 (allout-graphics-modification-handler): Mark ignored arguments.
10839 (allout-widgets-post-command-business)
10840 (allout-widgets-exposure-change-processor)
10841 (allout-widgets-exposure-undo-processor)
10842 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10843 (allout-parse-item-at-point, allout-decorate-item-guides)
10844 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10845 * allout.el (epa-passphrase-callback-function): Declare.
10846 (allout-overlay-insert-in-front-handler)
10847 (allout-overlay-interior-modification-handler)
10848 (allout-isearch-end-handler, allout-chart-siblings)
10849 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10850 (allout-yank-processing, allout-process-exposed)
10851 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10852 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10853 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10854 (lisp-indent-defform): Mark ignored arguments.
10855 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10856 (calculate-lisp-indent): Remove unused variables.
10857 * international/characters.el (indian-2-column, arabic-2-column)
10858 (tibetan): Mark ignored arguments.
10859 (use-cjk-char-width-table): Mark ignored arguments.
10860 Remove unused variables.
10861 * international/fontset.el (build-default-fontset-data)
10862 (x-compose-font-name, create-fontset-from-fontset-spec):
10863 Mark ignored arguments.
10864 (fontset-plain-name): Remove unused variables.
10865 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10866 (keyboard-coding-system): Mark ignored arguments.
10867 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10868 * help.el (resize-temp-buffer-window):
10869 * window.el (display-buffer-in-major-side-window)
10870 (display-buffer-in-side-window, display-buffer-in-previous-window):
10871 Remove unused variables.
10872 * isearch.el (isearch-forward-symbol):
10873 * version.el (emacs-bzr-version-bzr):
10874 * international/mule-cmds.el (current-language-environment):
10875 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10876 (x-handle-display):
10877 * term/pc-win.el (x-list-fonts, x-display-planes)
10878 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10879 (x-server-version, x-display-screens, x-display-mm-height)
10880 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10881 (x-selection-owner-p, x-own-selection-internal)
10882 (x-disown-selection-internal, x-get-selection-internal)
10883 (msdos-initialize-window-system):
10884 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10885 * term/x-win.el (x-handle-no-bitmap-icon):
10886 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10887 (vc-default-find-file-hook, vc-default-extra-menu):
10888 Mark ignored arguments.
10890 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10892 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10893 break-condition in the context of the debugged code (bug#12685).
10895 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10898 Do not use an overlay to highlight the last prompt. (Bug#14744)
10899 (comint-mode): Make comint-last-prompt buffer local.
10900 (comint-last-prompt): New variable.
10901 (comint-last-prompt-overlay): Remove. Superseded by
10902 comint-last-prompt.
10903 (comint-snapshot-last-prompt, comint-output-filter):
10904 Use comint-last-prompt.
10906 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10908 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10909 (frameset-save): Check validity of the resulting frameset.
10911 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10913 * ido.el (ido-record-command): Add doc string.
10915 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10917 * frameset.el (frameset): Do not disable creation of the default
10918 frameset-p predicate. Doc fix.
10919 (frameset-valid-p): New function, copied from the old predicate-p.
10920 Add additional checks.
10921 (frameset-restore): Check with frameset-valid-p.
10922 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10923 (frameset-name, frameset-description, frameset-properties)
10924 (frameset-states): Add docstring.
10925 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10926 (frameset-filter-alist): Doc fixes.
10928 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10930 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10932 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10934 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10935 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10936 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10937 (byte-compile-normal-call): Remove obsolescence check.
10939 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10941 * frameset.el (frameset-restore): Doc fix.
10943 * register.el (frameset-frame-id, frameset-frame-with-id)
10944 (frameset-p, frameset-restore, frameset-save): Declare.
10945 (register-alist): Document framesets.
10946 (frameset-session-filter-alist): Declare.
10947 (frameset-to-register): New function.
10948 (jump-to-register): Implement jumping to framesets. Doc fix.
10949 (describe-register-1): Describe framesets.
10951 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10953 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10955 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10956 Use lexical-binding.
10958 * frameset.el (frameset): Use type vector, not list (incompatible
10959 change). Do not declare a new constructor, use the default one.
10960 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10961 `name' and `description', respectively, and add read-only slot
10962 `timestamp'. Doc fixes.
10963 (frameset-copy, frameset-persistent-filter-alist)
10964 (frameset-filter-alist, frameset-switch-to-gui-p)
10965 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10966 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10967 (frameset-filter-iconified, frameset-keep-original-display-p):
10969 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10970 Rename from frameset-filter-(save|restore)-param. All callers changed.
10972 (frameset-p): Adapt to change to vector and be more thorough.
10973 Change arg name to OBJECT. Doc fix.
10974 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10975 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10976 All callers changed.
10977 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10978 All callers changed.
10979 (frameset--record-minibuffer-relationships): Rename from
10980 frameset--process-minibuffer-frames. All callers changed.
10981 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10982 Use new default constructor (again). Doc fix.
10983 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10984 All callers changed.
10985 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10986 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10988 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10989 PARAMETERS and WINDOW-STATE, respectively.
10990 (frameset-restore): Add new keyword argument PREDICATE.
10991 Reset frameset--target-display to nil. Doc fix.
10993 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10995 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10996 (bat-mode): Use it.
10997 (bat-mode-syntax-table): Mark \n as end-of-comment.
10998 (bat-font-lock-keywords): Remove comment rule.
11000 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11001 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11003 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11004 (byte-compile-callargs-warn): Use `push'.
11005 (byte-compile-arglist-warn): Ignore higher-order "calls".
11006 (byte-compile-file-form-autoload): Use `pcase'.
11007 (byte-compile-function-form): If quoting a symbol, check that it exists.
11009 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11011 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11012 and add a few popular commands found in batch files.
11013 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11014 (dos-mode): Doc fixes.
11016 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11018 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11019 (dos-mode): Use setq-local. Add space after "rem".
11020 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11021 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11023 2013-08-07 Arni Magnusson <arnima@hafro.is>
11025 * progmodes/dos.el: New file.
11026 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11029 2013-08-06 Glenn Morris <rgm@gnu.org>
11031 * calendar/calendar.el: Add new faces, and day-header-array.
11032 (calendar-weekday-header, calendar-weekend-header)
11033 (calendar-month-header): New faces.
11034 (calendar-day-header-construct): New function.
11035 (calendar-day-header-width): Also :set calendar-day-header-array.
11036 (calendar-american-month-header, calendar-european-month-header)
11037 (calendar-iso-month-header): Use calendar- faces.
11038 (calendar-generate-month):
11039 Use calendar-day-header-array for day headers; apply faces to them.
11040 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11041 (calendar-abbrev-construct): Add optional maxlen argument.
11042 (calendar-day-name-array): Doc fix.
11043 (calendar-day-name-array, calendar-abbrev-length)
11044 (calendar-day-abbrev-array):
11045 Also :set calendar-day-header-array, and maybe redraw.
11046 (calendar-day-header-array): New option. (Bug#15007)
11047 (calendar-font-lock-keywords): Set to nil and make obsolete.
11048 (calendar-day-name): Add option to use header array.
11050 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11052 * net/shr.el (shr-render-td): Remove debugging.
11053 (shr-render-td): Make width computation consistent by defaulting
11054 all zero-width columns to 10 characters. This may not be optimal,
11055 but it's at least consistent.
11056 (shr-make-table-1): Redo last change to fix the real problem in
11059 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11061 * files.el (cache-long-line-scans):
11062 Make obsolete alias to `cache-long-scans'.
11064 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11066 * frameset.el (frameset, frameset-filter-alist)
11067 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11068 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11069 (frameset-compute-pos): Rename from frameset--compute-pos,
11071 (frameset-move-onscreen): Use frameset-compute-pos.
11072 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11074 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11075 Fix typos in docstrings.
11077 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11079 * frame.el (get-other-frame): Tiny cleanup.
11081 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11083 * vc/vc.el (vc-default-ignore-completion-table):
11084 Silence byte-compiler warning.
11086 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11087 slot, which can indeed be nil.
11088 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11089 Move entry for `left' from persistent to live filter alist.
11090 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11092 (frameset-filter-params): When restoring a frame, copy items added to
11093 `filtered', to avoid unwittingly modifying the original parameters.
11094 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11095 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11097 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11098 to use looking-at-p instead of looking-at. (Bug#15028)
11100 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11102 Revert introduction of isearch-filter-predicates (bug#14714).
11103 Rely on add-function instead.
11104 * isearch.el (isearch-filter-predicates): Rename it back to
11105 isearch-filter-predicate.
11106 (isearch-message-prefix): Use advice-function-mapc and advice
11107 properties to get the isearch-message-prefix.
11108 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11109 instead of run-hook-with-args-until-failure.
11110 (isearch-filter-visible): Not obsolete any more.
11111 * loadup.el: Preload nadvice.
11112 * replace.el (perform-replace): Revert to funcall
11113 instead of run-hook-with-args-until-failure.
11114 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11115 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11116 dired-isearch-filenames-toggle; make it into a proper minor mode.
11117 Use add/remove-function.
11118 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11119 Call the minor-mode rather than add/remove-hook.
11120 (dired-isearch-filter-filenames):
11121 Remove isearch-message-prefix property.
11122 * info.el (Info--search-loop): New function, extracted from Info-search.
11123 Funcall isearch-filter-predicate instead of
11124 run-hook-with-args-until-failure isearch-filter-predicates.
11125 (Info-search): Use it.
11126 (Info-mode): Use isearch-filter-predicate instead of
11127 isearch-filter-predicates.
11129 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11131 Do not call to `selected-window' where it is assumed by default.
11132 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11133 `window-hscroll', `window-width', `window-height', `window-buffer',
11134 `window-frame', `window-start', `window-point', `next-window'
11135 and `window-display-table'.
11136 * abbrev.el (abbrev--default-expand):
11137 * bs.el (bs--show-with-configuration):
11138 * buff-menu.el (Buffer-menu-mouse-select):
11139 * calc/calc.el (calc):
11140 * calendar/calendar.el (calendar-generate-window):
11141 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11142 (diary-make-entry):
11143 * comint.el (send-invisible, comint-dynamic-complete-filename)
11144 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11145 * completion.el (complete):
11146 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11147 * disp-table.el (describe-current-display-table):
11148 * doc-view.el (doc-view-insert-image):
11149 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11150 * ehelp.el (with-electric-help):
11151 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11152 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11153 * emacs-lisp/helper.el (Helper-help-scroller):
11154 * emulation/cua-base.el (cua--post-command-handler-1):
11155 * eshell/esh-mode.el (eshell-output-filter):
11156 * ffap.el (ffap-gnus-wrapper):
11157 * help-macro.el (make-help-screen):
11158 * hilit-chg.el (highlight-compare-buffers):
11159 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11160 * hl-line.el (global-hl-line-highlight):
11161 * icomplete.el (icomplete-simple-completing-p):
11162 * isearch.el (isearch-done):
11163 * jit-lock.el (jit-lock-stealth-fontify):
11164 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11165 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11166 * mpc.el (mpc-tagbrowser, mpc):
11167 * net/rcirc.el (rcirc-any-buffer):
11168 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11169 * play/landmark.el (landmark-max-width, landmark-max-height):
11170 * play/zone.el (zone):
11171 * progmodes/compile.el (compilation-goto-locus):
11172 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11173 * progmodes/etags.el (find-tag-other-window):
11174 * progmodes/fortran.el (fortran-column-ruler):
11175 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11176 * progmodes/verilog-mode.el (verilog-point-text):
11177 * reposition.el (reposition-window):
11178 * rot13.el (toggle-rot13-mode):
11179 * server.el (server-switch-buffer):
11180 * shell.el (shell-dynamic-complete-command)
11181 (shell-dynamic-complete-environment-variable):
11182 * simple.el (insert-buffer, set-selective-display)
11183 (delete-completion-window):
11184 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11185 (speedbar-recenter):
11186 * startup.el (fancy-splash-head):
11187 * textmodes/ispell.el (ispell-command-loop):
11188 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11189 * tutorial.el (help-with-tutorial):
11190 * vc/add-log.el (add-change-log-entry):
11191 * vc/compare-w.el (compare-windows):
11192 * vc/ediff-help.el (ediff-indent-help-message):
11193 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11194 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11195 (ediff-setup-control-frame):
11196 * vc/emerge.el (emerge-position-region):
11197 * vc/pcvs-util.el (cvs-bury-buffer):
11198 * window.el (walk-windows, mouse-autoselect-window-select):
11199 * winner.el (winner-set-conf, winner-undo): Related users changed.
11201 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11203 * frameset.el (frameset--set-id): Doc fix.
11204 (frameset-frame-id, frameset-frame-id-equal-p)
11205 (frameset-locate-frame-id): New functions.
11206 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11207 (frameset-restore): Use them.
11209 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11211 Do not call to `selected-frame' where it is assumed by default.
11212 Affected functions are `raise-frame', `redraw-frame',
11213 `frame-first-window', `frame-terminal' and `delete-frame'.
11214 * calendar/appt.el (appt-disp-window):
11215 * epg.el (epg-wait-for-completion):
11216 * follow.el (follow-delete-other-windows-and-split)
11217 (follow-avoid-tail-recenter):
11218 * international/mule.el (set-terminal-coding-system):
11219 * mail/rmail.el (rmail-mail-return):
11220 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11221 * progmodes/f90.el (f90-add-imenu-menu):
11222 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11223 * server.el (server-switch-buffer):
11224 * simple.el (delete-completion-window):
11226 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11227 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11228 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11229 * vc/ediff.el (ediff-documentation): Related users changed.
11230 * frame.el (selected-terminal): Remove the leftover.
11232 2013-08-05 Glenn Morris <rgm@gnu.org>
11234 * calendar/calendar.el (calendar-generate-month):
11235 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11236 (calendar-generate-month, calendar-font-lock-keywords):
11237 Fix for calendar-day-header-width > length of any day name.
11239 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11241 * desktop.el (desktop-clear): Use new name of sort predicate.
11243 * frameset.el (frameset): Add docstring. Move :version property to its
11244 own `version' slot.
11245 (frameset-copy): Rename from copy-frameset.
11246 (frameset-p): Check more thoroughly.
11247 (frameset-prop): Do not check for :version, which is no longer a prop.
11248 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11249 Use new :never value instead of t.
11250 (frameset-filter-alist): Expand and clarify docstring.
11251 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11252 (frameset-filter-minibuffer, frameset-filter-save-param)
11253 (frameset-filter-restore-param, frameset-filter-iconified):
11254 Add pointer to docstring of frameset-filter-alist.
11255 (frameset-filter-params): Rename filter values to be more meaningful:
11256 :never instead of t, and reverse the meanings of :save and :restore.
11257 (frameset--process-minibuffer-frames): Clarify error message.
11258 (frameset-save): Avoid unnecessary and confusing call to framep.
11259 Use new BOA constructor for framesets.
11260 (frameset--reuse-list): Doc fix.
11261 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11262 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11263 (frameset-minibufferless-first-p): Doc fix.
11264 Rename from frameset-sort-frames-for-deletion.
11265 (frameset-restore): Doc fixes. Use new function names.
11266 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11268 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11270 * desktop.el (desktop-restore-forces-onscreen)
11271 (desktop-restore-reuses-frames): Document :keyword constant values.
11272 (desktop-filter-parameters-alist): Remove, now identical to
11273 frameset-filter-alist.
11274 (desktop--filter-tty*): Remove, moved to frameset.el.
11275 (desktop-save-frameset, desktop-restore-frameset):
11276 Do not pass :filters argument.
11278 * frameset.el (frameset-live-filter-alist)
11279 (frameset-persistent-filter-alist): New variables.
11280 (frameset-filter-alist): Use them. Add autoload cookie.
11281 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11282 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11283 `frameset--id' (it's supposed to be internal to frameset.el).
11284 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11285 (frameset--initial-params): New function.
11286 (frameset--get-frame): Use it. Doc fix.
11287 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11288 Accept :all, not 'all.
11289 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11290 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11291 with fbound symbols. Fix frame id matching, and remove matching ids if
11292 the frame being restored is deleted. Obey :delete.
11294 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11296 * subr.el (macrop): New function.
11297 (text-clone--maintaining): New var.
11298 (text-clone--maintain): Rename from text-clone-maintain. Use it
11299 instead of inhibit-modification-hooks.
11301 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11302 a proxy, so as handle autoloads and redefinitions of the target.
11303 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11305 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11306 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11307 (pcase--mutually-exclusive-p): New function.
11308 (pcase--split-consp): Use it.
11309 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11310 mutually exclusive with the current predicate.
11312 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11313 (edebug-macrop): Remove. Use `macrop' instead.
11314 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11316 * eshell/esh-cmd.el (eshell-macrop):
11317 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11319 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11321 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11322 (advice-mapc): New function, using it.
11323 (advice-function-member-p): New function.
11324 (advice--normalize): Store the cdr in advice--saved-rewrite since
11325 that's the part that will be changed.
11326 (advice--symbol-function): New function.
11327 (advice-remove): Handle removal before the function is defined.
11328 Adjust to new advice--saved-rewrite.
11329 (advice-member-p): Use advice-function-member-p and
11330 advice--symbol-function.
11332 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11334 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11335 (frameset-filter-minibuffer): Doc fix.
11336 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11337 (frameset--set-id, frameset--process-minibuffer-frames)
11338 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11339 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11341 * desktop.el (desktop-clear): Only delete frames when called
11342 interactively and desktop-restore-frames is non-nil. Doc fix.
11343 (desktop-read): Set desktop-saved-frameset to nil.
11345 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11347 * vc/vc.el (vc-ignore): Rewrite.
11348 (vc-default-ignore-completion-table, vc--read-lines)
11349 (vc--add-line, vc--remove-regexp): New functions.
11351 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11352 (vc-svn-ignore-completion-table): New function.
11354 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11355 (vc-hg-ignore-completion-table)
11356 (vc-hg-find-ignore-file): New functions.
11358 * vc/vc-git.el (vc-git-ignore): Rewrite.
11359 (vc-git-ignore-completion-table)
11360 (vc-git-find-ignore-file): New functions.
11362 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11364 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11365 (vc-bzr-ignore-completion-table)
11366 (vc-bzr-find-ignore-file): New functions.
11368 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11370 * frameset.el (frameset-prop): New function and setter.
11371 (frameset-save): Do not modify frame list passed by the caller.
11373 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11375 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11377 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11379 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11380 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11382 * custom.el (custom-initialize-default, custom-initialize-set)
11383 (custom-initialize-reset, custom-initialize-changed): Affect the
11384 toplevel-default-value (bug#6275, bug#14586).
11385 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11388 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11390 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11391 Add cl-def* expressions.
11393 * frameset.el (frameset-filter-params): Fix order of arguments.
11395 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11397 Move code related to saving frames to frameset.el.
11398 * desktop.el: Require frameset.
11399 (desktop-restore-frames): Doc fix.
11400 (desktop-restore-reuses-frames): Rename from
11401 desktop-restoring-reuses-frames.
11402 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11403 (desktop-clear): Clear frames too.
11404 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11405 (desktop--filter-tty*, desktop-save, desktop-read):
11406 Use frameset functions.
11407 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11408 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11409 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11410 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11411 (desktop--process-minibuffer-frames, desktop-save-frames)
11412 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11413 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11414 (desktop--sort-states, desktop-restoring-frames-p)
11415 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11416 (desktop-restoring-frameset-p, desktop-restore-frameset)
11417 (desktop--check-dont-save, desktop-save-frameset): New functions.
11418 (desktop--app-id): New constant.
11419 (desktop-first-buffer, desktop-buffer-ok-count)
11420 (desktop-buffer-fail-count): Move before first use.
11421 * frameset.el: New file.
11423 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11425 * files.el: Use lexical-binding.
11426 (dir-locals-read-from-file): Remove unused `err' variable.
11427 (hack-dir-local-variables--warned-coding): New var.
11428 (hack-dir-local-variables): Use it to avoid repeated warnings.
11429 (make-backup-file-name--default-function): New function.
11430 (make-backup-file-name-function): Use it as default.
11431 (buffer-stale--default-function): New function.
11432 (buffer-stale-function): Use it as default.
11433 (revert-buffer-insert-file-contents--default-function): New function.
11434 (revert-buffer-insert-file-contents-function): Use it as default.
11435 (insert-directory): Avoid add-to-list.
11437 * autorevert.el (auto-revert-handler): Simplify.
11438 Use buffer-stale--default-function.
11440 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11442 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11444 * whitespace.el (whitespace-ensure-local-variables): New function.
11445 (whitespace-cleanup-region): Call it.
11446 (whitespace-turn-on): Call it.
11448 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11450 Complete file name handlers.
11452 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11453 (tramp-handle-verify-visited-file-modtime)
11454 (tramp-handle-file-notify-rm-watch): New functions.
11455 (tramp-call-process): Do not bind `default-directory'.
11457 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11458 Order alphabetically.
11459 <access-file, add-name-to-file, dired-call-process>:
11460 <dired-compress-file, file-acl, file-notify-rm-watch>:
11461 <file-ownership-preserved-p, file-selinux-context>:
11462 <make-directory-internal, make-symbolic-link, set-file-acl>:
11463 <set-file-selinux-context, set-visited-file-modtime>:
11464 <verify-visited-file-modtime>: Add handler.
11465 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11467 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11468 <file-notify-add-watch, file-notify-rm-watch>:
11469 <set-file-times, set-visited-file-modtime>:
11470 <verify-visited-file-modtime>: Add handler.
11471 (with-tramp-gvfs-error-message)
11472 (tramp-gvfs-handle-set-visited-file-modtime)
11473 (tramp-gvfs-fuse-file-name): Remove.
11474 (tramp-gvfs-handle-file-notify-add-watch)
11475 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11476 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11478 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11479 Order alphabetically.
11480 <file-notify-rm-watch>: Use default Tramp handler.
11481 <executable-find>: Remove private handler.
11482 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11483 `default-directory'.
11484 (tramp-sh-handle-executable-find)
11485 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11486 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11487 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11488 Do not use `format' in `tramp-message'.
11490 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11491 <file-notify-rm-watch, set-visited-file-modtime>:
11492 <verify-visited-file-modtime>: Add handler.
11493 (tramp-smb-call-winexe): Do not bind `default-directory'.
11495 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11497 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11499 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11501 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11503 (log-view-diff-changeset): Same.
11504 (log-view-diff-common): Call backend command `previous-revision'
11505 to find out the previous revision, in both cases. Swap the
11506 variables `to' and `fr', so that `fr' usually refers to the
11507 earlier revision (Bug#14989).
11509 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11511 * ibuf-ext.el (ibuffer-filter-by-filename):
11512 Make it work with dired buffers too.
11514 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11516 * emacs-lisp/re-builder.el (reb-color-display-p):
11517 * files.el (save-buffers-kill-terminal):
11518 * net/browse-url.el (browse-url):
11519 * server.el (server-save-buffers-kill-terminal):
11520 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11521 Prefer nil to selected-frame for the first arg of frame-parameter.
11523 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11525 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11527 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11529 * minibuffer.el (completion--twq-all): Try and preserve each
11530 completion's case choice (bug#14907).
11532 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11534 * net/network-stream.el (open-network-stream): Mention the new
11535 :nogreeting parameter.
11536 (network-stream-open-starttls): Use the :nogreeting parameter
11539 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11541 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11542 more natural than popping.
11544 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11545 (shr-urlify): Highlight under mouse.
11547 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11549 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11551 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11553 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11556 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11557 point-min==1. Fix search string. Fix parentheses missing.
11559 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11560 assume point-min==1. Fix search string. Fix parentheses missing.
11562 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11564 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11567 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11569 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11570 initial frame is minibuffer-less. (Bug#14841)
11572 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11574 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11577 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11578 (tramp-maybe-open-connection): Use it.
11580 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11582 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11583 minimal set of parameters passed when creating a frame, because
11584 the minibuffer status of a frame cannot be changed later.
11586 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11588 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11589 replace-regexp-in-string and inadvertent omissions in previous change.
11590 (todo-filter-items): Ensure only file names are comma-separated in
11591 name of filtered items buffer.
11593 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11595 * desktop.el: Optionally force offscreen frames back onscreen.
11596 (desktop-restoring-reuses-frames): New option.
11597 (desktop--compute-pos, desktop--move-onscreen): New functions.
11598 (desktop--make-frame): Use desktop--move-onscreen.
11600 2013-07-27 Alan Mackenzie <acm@muc.de>
11602 Fontify a Java generic method as a function.
11603 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11606 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11608 * calendar/todo-mode.el: Add command to rename todo files.
11609 (todo-rename-file): New command.
11610 (todo-key-bindings-t): Add key binding for it. Change the
11611 bindings of todo-filter-regexp-items(-multifile) to use `x'
11612 instead of `r', since the latter is better suited to the new
11615 2013-07-27 Alan Mackenzie <acm@muc.de>
11617 Make Java try-with-resources statement parse properly.
11618 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11619 (c-block-stmt-1-2-key): New language constants/variables.
11620 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11621 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11622 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11623 with c-block-stmt-1-2-key.
11625 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11627 * desktop.el (desktop--make-frame): Apply most frame parameters after
11628 creating the frame to force (partially or totally) offscreen frames to
11629 be restored as such.
11631 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11633 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11636 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11638 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11639 `base' arg of backtrace-frame.
11641 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11643 * simple.el (list-processes): Doc fix.
11645 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11647 * desktop.el (desktop--select-frame):
11648 Try harder to reuse existing frames.
11650 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11652 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11653 (edebug-eval): Use backtrace-eval.
11654 (edebug--display, edebug--recursive-edit): Don't let-bind the
11655 edebug-outer-* vars that keep track of variables we locally let-bind.
11656 (edebug-outside-excursion): Don't restore outside values of locally
11658 (edebug--display): Use user-error.
11659 (cl-lexical-debug, cl-debug-env): Remove.
11661 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11663 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11664 are restored to be sure that they are visible before deleting any
11667 2013-07-26 Matthias Meulien <orontee@gmail.com>
11669 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11670 vc-print-root-log. (Bug#14948)
11672 2013-07-26 Richard Stallman <rms@gnu.org>
11674 Add aliases for encrypting mail.
11675 * epa.el (epa-mail-aliases): New option.
11676 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11677 Bind inhibit-read-only so read-only text doesn't ruin everything.
11678 (epa-mail-default-recipients): New subroutine broken out.
11679 Handle epa-mail-aliases.
11681 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11683 Add support for lexical variables to the debugger's `e' command.
11684 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11685 vars, except for debugger-outer-match-data.
11686 (debugger-frame-number): Move check for "on a function call" from
11687 callers into it. Add `skip-base' argument.
11688 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11689 (debugger-env-macro): Only reset the state stored in non-variables,
11690 i.e. current-buffer and match-data.
11691 (debugger-eval-expression): Rewrite using backtrace-eval.
11692 * subr.el (internal--called-interactively-p--get-frame): Remove.
11693 (called-interactively-p):
11694 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11695 `base' arg of backtrace-frame instead.
11697 2013-07-26 Glenn Morris <rgm@gnu.org>
11699 * align.el (align-regexp): Doc fix. (Bug#14857)
11700 (align-region): Explicit error if subexpression missing/does not match.
11702 * simple.el (global-visual-line-mode):
11703 Do not duplicate the mode lighter. (Bug#14858)
11705 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11707 * window.el (display-buffer): In display-buffer bind
11708 split-window-keep-point to t, bug#14829.
11710 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11712 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11713 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11714 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11715 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11716 Change accordingly.
11717 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11718 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11720 2013-07-25 Glenn Morris <rgm@gnu.org>
11722 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11724 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11726 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11727 parameter to modify-frame-parameters if the value has not changed;
11728 this is a workaround for bug#14949.
11729 (desktop--make-frame): On cl-delete-if call, check parameter name,
11730 not full parameter.
11732 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11734 * vc/vc.el (vc-ignore): New function.
11736 * vc/vc-svn.el (vc-svn-ignore): New function.
11738 * vc/vc-hg.el (vc-hg-ignore): New function.
11740 * vc/vc-git.el (vc-git-ignore): New function.
11742 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11743 (vc-dir-ignore): New function.
11745 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11746 (cvs-append-to-ignore): Move here from pcvs.el.
11748 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11750 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11752 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11754 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11755 (desktop-restore-frames): Warn when deleting an existing frame failed.
11757 2013-07-24 Glenn Morris <rgm@gnu.org>
11759 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11761 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11763 * filenotify.el (file-notify-supported-p):
11764 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11767 * autorevert.el (auto-revert-use-notify)
11768 (auto-revert-notify-add-watch):
11769 * net/tramp.el (tramp-file-name-for-operation):
11770 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11772 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11773 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11774 Remove `file-notify-supported-p' entry.
11776 2013-07-24 Glenn Morris <rgm@gnu.org>
11778 * printing.el: Replace all uses of deleted ps-windows-system,
11779 ps-lp-system, ps-flatten-list with lpr- versions.
11781 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11783 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11784 checked with memq (bug#14935).
11786 * files.el (revert-buffer-function): Use a non-nil default.
11787 (revert-buffer-preserve-modes): Declare var to
11788 provide access to the `preserve-modes' argument.
11789 (revert-buffer): Let-bind it.
11790 (revert-buffer--default): New function, extracted from revert-buffer.
11792 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11794 * lpr.el: Signal print errors more prominently.
11795 (print-region-function): Don't default to nil.
11796 (lpr-print-region): New function, extracted from print-region-1.
11797 Check lpr's return value and signal an error in case of problem.
11798 (print-region-1): Use it.
11799 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11801 (ps-printer-name): Default to nil.
11802 (ps-printer-name-option): Default to lpr-printer-switch.
11803 (ps-print-region-function): Don't default to nil.
11804 (ps-postscript-code-directory): Simplify default.
11805 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11806 (ps-string-list, ps-eval-switch, ps-flatten-list)
11807 (ps-flatten-list-1): Remove.
11808 (ps-multibyte-buffer): Avoid setq.
11809 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11810 (print-region-function, ps-print-region-function): Don't set them here.
11812 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11814 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11815 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11816 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11817 (ido-decorations): Doc fix.
11819 * ansi-color.el: Fix old URL.
11821 2013-07-23 Michael R. Mauger <michael@mauger.com>
11823 * progmodes/sql.el: Version 3.3
11824 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11825 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11826 (sql-interactive-remove-continuation-prompt): Rewrite, use
11827 functions above. Fix continuation prompt and complete output line
11829 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11830 redirected output buffer.
11831 (sql-mode): Restore deleted code (Bug#13591).
11833 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11835 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11837 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11839 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11841 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11842 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11843 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11845 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11847 * desktop.el (desktop-clear): Simplify; remove useless checks
11848 against invalid buffer names.
11849 (desktop-list*): Use cl-list*.
11850 (desktop-buffer-info, desktop-create-buffer): Simplify.
11852 2013-07-23 Leo Liu <sdl.web@gmail.com>
11854 * bookmark.el (bookmark-make-record): Restore NAME as a default
11857 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11859 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11860 extracted from autoload--insert-text.
11861 (autoload--insert-text): Remove.
11862 (autoload--print-cookie-text): New function, extracted from
11863 autoload--insert-cookie-text.
11864 (autoload--insert-cookie-text): Remove.
11865 (autoload-generate-file-autoloads): Adjust calls accordingly.
11867 * winner.el (winner-hook-installed-p): Remove.
11868 (winner-mode): Simplify accordingly.
11870 * subr.el (add-to-list): Fix compiler-macro when `append' is
11871 not constant. Don't use `cl-member' for the base case.
11873 * progmodes/subword.el: Fix boundary case (bug#13758).
11874 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11876 (subword-backward-regexp): Make it a constant.
11877 (subword-forward-internal): Don't treat a trailing capital as the
11878 beginning of a word.
11880 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11882 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11883 global value of tabulated-list-revert-hook (bug#14930).
11885 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11887 * desktop.el: Require 'cl-lib.
11888 (desktop-before-saving-frames-functions): New hook.
11889 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11890 for frames being saved. Rename from desktop--save-minibuffer-frames.
11891 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11892 Do not save frames with non-nil `desktop-dont-save' parameter.
11893 Filter out deleted frames.
11894 (desktop--find-frame): Use cl-find-if.
11895 (desktop--select-frame): Use cl-(first|second|third) to access values
11897 (desktop--make-frame): Use cl-delete-if.
11898 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11899 (desktop-restore-frames): Use cl-(first|second|third) to access values
11900 of desktop-mini. Look for visible frame at the end, not while
11903 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11904 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11905 Use string-match-p, looking-at-p (bug#14927).
11907 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11909 * desktop.el (desktop-saved-frame-states):
11910 Rename from desktop--saved-states; all users changed.
11911 (desktop-save-frames): Rename from desktop--save-frames.
11912 Do not save state to desktop file.
11913 (desktop-save): Save desktop-saved-frame-states to desktop file
11915 (desktop-restoring-frames-p): New function.
11916 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11917 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11918 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11920 * desktop.el: Correctly restore iconified frames.
11921 (desktop--filter-iconified-position): New function.
11922 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11924 2013-07-20 Glenn Morris <rgm@gnu.org>
11926 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11927 Let `message' do the formatting.
11928 (def-gdb-preempt-display-buffer): Add explicit format.
11930 * image-dired.el (image-dired-track-original-file):
11931 Use with-current-buffer.
11932 (image-dired-track-thumbnail): Use with-current-buffer.
11933 Avoid changing point of wrong window.
11935 * image-dired.el (image-dired-track-original-file):
11936 Avoid changing point of wrong window. (Bug#14909)
11938 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11940 * progmodes/gdb-mi.el (gdb-done-or-error):
11941 Guard against "%" in gdb output. (Bug#14127)
11943 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11945 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11948 * international/mule.el (coding-system-iso-2022-flags): Fix last
11951 2013-07-20 Kenichi Handa <handa@gnu.org>
11953 * international/mule.el (coding-system-iso-2022-flags):
11954 Add `8-bit-level-4'. (Bug#8522)
11956 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11961 * net/eww.el (eww-process-text-input): Allow inputting when the
11962 point is at the start of the line, as the properties aren't
11965 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11968 2013-07-19 Richard Stallman <rms@gnu.org>
11970 * epa.el (epa-popup-info-window): Doc fix.
11972 * subr.el (split-string): New arg TRIM.
11974 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11976 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11977 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11979 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11981 * filenotify.el (file-notify--library): Rename from
11982 `file-notify-support'. Do not autoload. Adapt all uses.
11983 (file-notify-supported-p): New defun.
11985 * autorevert.el (auto-revert-use-notify):
11986 Use `file-notify-supported-p' instead of `file-notify-support'.
11988 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11990 * net/tramp.el (tramp-file-name-for-operation):
11991 Add `file-notify-supported-p'.
11993 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11995 (tramp-sh-file-name-handler-alist): Add it as handler for
11996 `file-notify-supported-p '.
11998 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11999 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12000 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12001 Add `ignore' as handler for `file-notify-*' functions.
12003 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12005 * simple.el (line-move-partial, line-move): Don't start vscroll or
12006 scroll-up if the current line is not taller than the window.
12009 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12011 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12012 highlight question marks in the method names as strings.
12013 (ruby-block-beg-keywords): Inline.
12014 (ruby-font-lock-keyword-beg-re): Extract from
12015 `ruby-font-lock-keywords'.
12017 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12019 * frame.el (blink-cursor-blinks): New defcustom.
12020 (blink-cursor-blinks-done): New defvar.
12021 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12022 (blink-cursor-timer-function): Check if number of blinks has been
12024 (blink-cursor-suspend, blink-cursor-check): New defuns.
12026 2013-07-15 Glenn Morris <rgm@gnu.org>
12028 * edmacro.el (edmacro-format-keys): Fix previous change.
12030 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12032 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12033 The hack didn't work outside English locales anyway.
12035 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12037 * simple.el (define-alternatives): Rename from alternatives-define,
12038 per RMS' suggestion.
12040 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12042 * desktop.el (desktop-restore-frames): Change default to t.
12043 (desktop-restore-in-current-display): Now offer more options.
12044 (desktop-restoring-reuses-frames): New customization option.
12045 (desktop--saved-states): Doc fix.
12046 (desktop-filter-parameters-alist): New variable, renamed and expanded
12047 from desktop--excluded-frame-parameters.
12048 (desktop--target-display): New variable.
12049 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12050 (desktop--filter-tty*, desktop--filter-*-color)
12051 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12052 (desktop--filter-save-desktop-parm)
12053 (desktop-restore-in-original-display-p): New functions.
12054 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12055 (desktop--save-minibuffer-frames): New function, inspired by a similar
12056 function from Martin Rudalics.
12057 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12058 (desktop--restore-in-this-display-p): Remove.
12059 (desktop--find-frame): Rename from desktop--find-frame-in-display
12060 and add predicate argument.
12061 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12062 (desktop--reuse-list): New variable.
12063 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12065 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12067 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12069 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12071 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12073 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12074 Highlight conversion methods on Kernel.
12076 2013-07-13 Alan Mackenzie <acm@muc.de>
12078 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12079 and comment it out. This out-commenting enables certain C++
12080 declarations to be parsed correctly.
12082 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12084 * international/mule.el (define-coding-system): Doc fix.
12086 * simple.el (default-font-height): Don't call font-info if the
12087 frame's default font didn't change since the frame was created.
12090 2013-07-13 Leo Liu <sdl.web@gmail.com>
12092 * ido.el (ido-read-file-name): Guard against non-symbol value.
12094 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12096 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12099 2013-07-13 Leo Liu <sdl.web@gmail.com>
12101 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12102 ido-set-matches call. (Bug#6852)
12104 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12106 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12107 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12109 (ruby-font-lock-keywords): Distinguish calls to functions with
12110 module-like names from module references. Highlight character
12113 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12115 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12116 (gdb-send): Handle continued commands. (Bug#14847)
12118 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12120 * desktop.el (desktop--v2s): Remove unused local variable.
12121 (desktop-save-buffer): Make defvar-local; adjust docstring.
12122 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12123 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12125 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12127 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12129 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12131 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12134 2013-07-12 Glenn Morris <rgm@gnu.org>
12136 * doc-view.el: Require cl-lib at runtime too.
12137 (doc-view-remove-if): Remove.
12138 (doc-view-search-next-match, doc-view-search-previous-match):
12141 * edmacro.el: Require cl-lib at runtime too.
12142 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12143 (edmacro-mismatch, edmacro-subseq): Remove.
12145 * shadowfile.el: Require cl-lib.
12146 (shadow-remove-if): Remove.
12147 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12150 * wid-edit.el: Require cl-lib.
12151 (widget-choose): Use cl-remove-if.
12152 (widget-remove-if): Remove.
12154 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12155 (ebrowse-delete-if-not): Remove.
12156 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12157 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12158 Use cl-delete-if-not.
12160 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12162 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12163 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12165 2013-07-12 Leo Liu <sdl.web@gmail.com>
12167 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12169 2013-07-11 Glenn Morris <rgm@gnu.org>
12171 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12172 (edebug-gensym-index, edebug-gensym):
12173 Remove reimplementation of cl-gensym.
12174 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12176 * thumbs.el: Require cl-lib at run-time too.
12177 (thumbs-gensym-counter, thumbs-gensym):
12178 Remove reimplementation of cl-gensym.
12179 (thumbs-temp-file): Use cl-gensym.
12181 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12182 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12183 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12184 (ert--union, ert--gensym-counter, ert--gensym-counter)
12185 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12186 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12187 (ert-make-test-unbound, ert--expand-should-1)
12188 (ert--expand-should, ert--should-error-handle-error)
12189 (should-error, ert--explain-equal-rec)
12190 (ert--plist-difference-explanation, ert-select-tests)
12191 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12192 Use cl-lib functions rather than reimplementations.
12194 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12196 * net/tramp.el (tramp-methods): Extend docstring.
12197 (tramp-connection-timeout): New defcustom.
12198 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12199 (with-tramp-progress-reporter): Simplify.
12200 (tramp-process-actions): Improve messages.
12202 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12203 * net/tramp-sh.el (tramp-maybe-open-connection):
12204 Use `tramp-connection-timeout'.
12205 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12208 2013-07-11 Leo Liu <sdl.web@gmail.com>
12210 * ido.el (ido-read-file-name): Conform to the requirements of
12211 read-file-name. (Bug#11861)
12212 (ido-read-directory-name): Conform to the requirements of
12213 read-directory-name.
12215 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12217 * subr.el (delay-warning): New function.
12219 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12221 * simple.el (default-line-height): New function.
12222 (line-move-partial, line-move): Use it instead of computing the
12223 line height inline.
12224 (line-move-partial): Always compute ROWH. If the last line is
12225 partially-visible, but its text is completely visible, allow
12226 cursor to enter such a partially-visible line.
12228 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12230 Improve error messages. (Bug#14808)
12232 * net/tramp.el (tramp-current-connection): New defvar, moved from
12234 (tramp-message-show-progress-reporter-message): Remove, not
12236 (tramp-error-with-buffer): Show message in minibuffer.
12237 Discard input before waiting. Reset connection timestamp.
12238 (with-tramp-progress-reporter): Improve messages.
12239 (tramp-process-actions): Use progress reporter. Delete process in
12240 case of error. Improve messages.
12242 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12243 Call `tramp-error-with-buffer' with vector and buffer.
12244 (tramp-current-connection): Remove.
12245 (tramp-maybe-open-connection): The car of
12246 `tramp-current-connection' are the first 3 slots of the vector.
12248 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12250 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12251 inside continued strings.
12253 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12255 Timestamp fixes for undo (Bug#14824).
12256 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12258 2013-07-10 Leo Liu <sdl.web@gmail.com>
12260 * files.el (require-final-newline): Allow safe local value.
12263 2013-07-09 Leo Liu <sdl.web@gmail.com>
12265 * ido.el (ido-read-directory-name): Handle fallback.
12266 (ido-read-file-name): Update DIR to ido-current-directory.
12268 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12270 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12272 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12273 "autoload". Remove "warn lower camel case" section, previously
12274 commented out. Highlight negation char. Do not highlight the
12275 target in singleton method definitions.
12277 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12279 * faces.el (tty-setup-hook): Declare the hook.
12281 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12282 and detect when a guard/pred depends on local vars (bug#14773).
12283 (pcase--u1): Adjust caller.
12285 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12287 * simple.el (line-move-partial, line-move): Account for
12289 (line-move-partial): Avoid setting vscroll when the last
12290 partially-visible line in window is of default height.
12292 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12294 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12297 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12299 * subr.el (read-quoted-char): Remove unused local variable `char'.
12301 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12303 * vc/ediff.el (ediff-version): Version update.
12304 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12305 (ediff-merge-with-ancestor-command, ediff-directories-command)
12306 (ediff-directories3-command, ediff-merge-directories-command)
12307 (ediff-merge-directories-with-ancestor-command): New functions.
12308 All are command-line interfaces to ediff: to facilitate calling
12309 Emacs with the appropriate ediff functions invoked.
12311 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12313 (viper-save-kill-buffer): Check if buffer is modified.
12315 * emulation/viper.el (viper-version): Version update.
12316 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12318 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12320 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12321 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12322 (viper-intercept-ESC-key): Simplify.
12323 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12325 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12326 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12327 (viper-setup-ESC-to-escape): New functions.
12328 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12329 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12331 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12333 * simple.el (default-font-height, window-screen-lines):
12335 (line-move, line-move-partial): Use them instead of
12336 frame-char-height and window-text-height. This makes scrolling
12337 text smoother when the buffer's default face uses a font that is
12338 different from the frame's default font.
12340 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12342 * files.el (write-file): Do not display confirm dialog for NS,
12343 it does its own dialog, which can't be canceled (Bug#14578).
12345 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12347 * simple.el (line-move-partial): Adjust the row returned by
12348 posn-at-point for the current window-vscroll. (Bug#14567)
12350 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12352 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12353 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12356 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12358 * window.el (window-state-put-stale-windows): New variable.
12359 (window--state-put-2): Save list of windows without matching buffer.
12360 (window-state-put): Remove "bufferless" windows if possible.
12362 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12364 * simple.el (alternatives-define): Remove leftover :group keyword.
12367 2013-07-06 Leo Liu <sdl.web@gmail.com>
12369 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12370 (ido-enable-virtual-buffers): New variable.
12371 (ido-buffer-internal, ido-toggle-virtual-buffers)
12372 (ido-make-buffer-list): Use it.
12373 (ido-exhibit): Support turning on and off virtual buffers
12376 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12378 * simple.el (alternatives-define): New macro.
12380 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12382 * subr.el (read-quoted-char): Use read-key.
12383 (sit-for): Let read-event decode tty input (bug#14782).
12385 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12387 * calendar/todo-mode.el: Add handling of file deletion, both by
12388 mode command and externally. Fix various related bugs.
12389 Clarify Commentary and improve some documentation strings and code.
12390 (todo-delete-file): New command.
12391 (todo-check-file): New function.
12392 (todo-show): Handle external deletion of the file we're trying to
12393 show (bug#14688). Replace called-interactively-p by an optional
12394 prefix argument to avoid problematic interaction with catch form
12395 when byte compiled (bug#14702).
12396 (todo-quit): Handle external deletion of the archive's todo file.
12397 Make sure the buffer that was visiting the archive file is still
12398 live before trying to bury it.
12399 (todo-category-completions): Handle external deletion of any
12400 category completion files.
12401 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12402 of todo files, in case of external deletion.
12403 (todo-add-file): Replace unnecessary setq by let-binding.
12404 (todo-find-archive): Check whether there are any archives.
12405 Replace unnecessary setq by let-binding.
12406 (todo-archive-done-item): Use find-file-noselect to get the
12407 archive buffer whether or not the archive already exists.
12408 Remove superfluous code. Use file size instead of buffer-file-name to
12409 check if the archive is new; if it is, update list of archives.
12410 (todo-default-todo-file): Allow nil to be a valid value for when
12411 there are no todo files.
12412 (todo-reevaluate-default-file-defcustom): Use corrected definition
12413 of todo-default-todo-file.
12414 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12415 (todo-delete-category, todo-show-categories-table)
12416 (todo-category-number): Clarify comment.
12417 (todo-filter-items): Clarify documentation string.
12418 (todo-show-current-file, todo-display-as-todo-file)
12419 (todo-reset-and-enable-done-separator): Tweak documentation string.
12420 (todo-done-separator): Make separator length window-width, since
12421 bug#2749 is now fixed.
12423 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12425 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12426 Support both "gvfs-monitor-dir" and "inotifywait".
12427 (tramp-sh-file-inotifywait-process-filter): Rename from
12428 `tramp-sh-file-notify-process-filter'.
12429 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12430 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12432 2013-07-05 Leo Liu <sdl.web@gmail.com>
12434 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12436 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12438 * frame.el (display-pixel-height, display-pixel-width)
12439 (display-mm-height, display-mm-width): Mention behavior on
12440 multi-monitor setups in docstrings.
12441 (w32-display-monitor-attributes-list): Declare function.
12442 (display-monitor-attributes-list): Use it.
12444 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12446 * filenotify.el: New package.
12448 * autorevert.el (top): Require filenotify.el.
12449 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12451 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12452 (auto-revert-notify-handler): Use `file-notify-*' functions.
12454 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12456 * net/tramp.el (tramp-file-name-for-operation):
12457 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12459 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12460 for `file-notify-add-watch' and `file-notify-rm-watch'.
12461 (tramp-process-sentinel): Improve trace.
12462 (tramp-sh-handle-file-notify-add-watch)
12463 (tramp-sh-file-notify-process-filter)
12464 (tramp-sh-handle-file-notify-rm-watch)
12465 (tramp-get-remote-inotifywait): New defuns.
12467 2013-07-03 Juri Linkov <juri@jurta.org>
12469 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12470 call of `occur-read-primary-args' to interactive spec.
12472 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12473 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12475 2013-07-03 Matthias Meulien <orontee@gmail.com>
12477 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12478 `Buffer-menu-multi-occur'. Add it to the menu.
12479 (Buffer-menu-mode): Document it in docstring.
12480 (Buffer-menu-multi-occur): New command. (Bug#14673)
12482 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12484 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12485 keywords and built-ins.
12487 2013-07-03 Glenn Morris <rgm@gnu.org>
12489 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12491 Make info-xref checks case-sensitive by default
12492 * info.el (Info-find-node, Info-find-in-tag-table)
12493 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12494 Add option for exact case matching of nodes.
12495 * info-xref.el (info-xref): New custom group.
12496 (info-xref-case-fold): New option.
12497 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12499 2013-07-03 Leo Liu <sdl.web@gmail.com>
12501 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12503 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12505 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12506 middle of block statement initially, lower the depth. Remove
12507 FIXME comment, not longer valid. Remove middle of block statement
12508 detection, no need to do that anymore since we've been using
12509 `ruby-parse-region' here.
12511 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12513 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12515 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12517 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12519 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12521 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12522 (desktop-restore-in-current-display): New customization option.
12523 (desktop--excluded-frame-parameters): Add `font'.
12524 (desktop--save-frames): Rename from desktop--save-windows.
12525 (desktop--restore-in-this-display-p): New function.
12526 (desktop--make-full-frame): Remove unwanted width/height from
12527 full(width|height) frames.
12528 (desktop--restore-frames): Rename from desktop--restore-windows.
12529 Obey desktop-restore-current-display. Do not delete old frames or
12530 select a new frame unless we were able to restore at least one frame.
12532 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12534 * files.el (find-file-noselect): Simplify conditional expression.
12536 * textmodes/remember.el (remember-append-to-file):
12537 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12539 Add `remember-notes' function to store random notes across Emacs
12541 * textmodes/remember.el (remember-data-file): Add :set callback to
12542 affect notes buffer (if any).
12543 (remember-notes): New command.
12544 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12545 New defcustoms for the `remember-notes' function.
12546 (remember-notes-save-and-bury-buffer): New command.
12547 (remember-notes-mode-map): New variable.
12548 (remember-mode): New minor mode.
12549 (remember-notes--kill-buffer-query): New function.
12550 * startup.el (initial-buffer-choice): Add notes to custom type.
12552 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12554 * bindings.el (right-char, left-char): Don't call sit-for, this is
12555 no longer needed. Use arithmetic comparison only for numerical
12558 * international/mule-cmds.el (select-safe-coding-system):
12559 Handle the case of FROM being a string correctly. (Bug#14755)
12561 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12563 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12564 progression on degenerate tables.
12565 (shr-rescale-image): ImageMagick animated images currently don't work.
12567 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12569 Some fixes and improvements for desktop frame restoration.
12570 It is still experimental and disabled by default.
12571 * desktop.el (desktop--save-windows): Put the selected frame at
12572 the head of the list.
12573 (desktop--make-full-frame): New function.
12574 (desktop--restore-windows): Try to re-select the frame that was
12575 selected upon saving. Do not abort if some frames fail to restore,
12576 just show an error message and continue. Set up maximized frames
12577 so they have default non-maximized dimensions.
12579 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12581 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12582 Don't start heredoc inside a string or comment.
12584 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12586 * bindings.el (visual-order-cursor-movement): New defcustom.
12587 (right-char, left-char): Provide visual-order cursor motion by
12588 calling move-point-visually. Update the doc strings.
12590 2013-06-28 Kenichi Handa <handa@gnu.org>
12592 * international/mule.el (define-coding-system): New coding system
12593 properties :inhibit-null-byte-detection,
12594 :inhibit-iso-escape-detection, and :prefer-utf-8.
12595 (set-buffer-file-coding-system): If :charset-list property of
12596 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12597 appropriate for setting.
12599 * international/mule-cmds.el (select-safe-coding-system):
12600 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12601 multibyte characters, return utf-8 (or one of its siblings).
12603 * international/mule-conf.el (prefer-utf-8): New coding system.
12604 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12607 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12609 * net/shr.el (shr-render-region): New function.
12611 * net/eww.el: Autoload `eww-browse-url'.
12613 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12615 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12616 Adapt to `package-desc-version' being a list.
12617 Use `package--ac-desc-version' to retrieve version from a package
12620 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12622 New experimental feature to save&restore window and frame setup.
12623 * desktop.el (desktop-save-windows): New defcustom.
12624 (desktop--saved-states): New var.
12625 (desktop--excluded-frame-parameters): New defconst.
12626 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12627 (desktop--restore-windows, desktop--save-windows): New functions.
12628 (desktop-save): Call `desktop--save-windows'.
12629 (desktop-read): Call `desktop--restore-windows'.
12631 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12633 * net/shr.el (add-face-text-property): Remove compat definition.
12635 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12637 * info.el (Info-try-follow-nearest-node): Move search for footnote
12638 above search for node name to prevent missing a footnote (bug#14717).
12640 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12642 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12644 2013-06-27 Leo Liu <sdl.web@gmail.com>
12646 * net/eww.el (eww-read-bookmarks): Check file size.
12648 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12651 advice--pending if newdef is nil or an autoload (bug#13820).
12652 (advice-mapc): New function.
12654 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12656 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12658 (eww-mode-map): Add a menu bar.
12659 (eww-add-bookmark): New command.
12660 (eww-bookmark-mode): New mode and commands.
12661 (eww-add-bookmark): Remove newlines from the title.
12662 (eww-bookmark-browse): Don't bug out if it's the only window.
12664 2013-06-26 Glenn Morris <rgm@gnu.org>
12666 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12667 (hfy-size): Handle ttys. (Bug#14668)
12669 * info-xref.el: Update for Texinfo 5 change in *note format.
12670 (info-xref-node-re, info-xref-note-re): New constants.
12671 (info-xref-check-buffer): Use info-xref-note-re.
12673 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12675 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12677 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12678 nil terminate the loop (bug#14718).
12680 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12682 * net/eww.el: Rework history traversal. When going forward/back,
12683 put these actions into the history, too, so that they can be
12685 (eww-render): Move the history reset to the correct buffer.
12687 2013-06-25 Juri Linkov <juri@jurta.org>
12689 * files-x.el (modify-dir-local-variable): Change the header comment
12690 in the file with directory local variables. (Bug#14692)
12692 * files-x.el (read-file-local-variable-value): Add `default'.
12695 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12697 * net/eww.el (eww-make-unique-file-name): Create a unique file
12698 name before saving to entering `y' accidentally asynchronously.
12700 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12702 * net/eww.el (eww-download): New command and keystroke.
12704 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12706 * net/eww.el (eww-copy-page-url): Change name of command.
12708 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12709 be more consistent with Info and dired.
12711 * net/eww.el (eww-mode-map): Ditto.
12713 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12715 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12716 packages from archives.
12717 (package-archive-contents): Change format; include obsolete packages.
12718 (package-desc): Use `dir' to mark builtin packages.
12719 (package--from-builtin): Set the `dir' field to `builtin'.
12720 (generated-autoload-file, version-control): Declare.
12721 (package-compute-transaction): Change first arg and return value to be
12722 lists of package-descs. Adjust to new package-archive-contents format.
12723 (package--add-to-archive-contents): Adjust to new
12724 package-archive-contents format.
12725 (package-download-transaction): Arg is now a list of package-descs.
12726 (package-install): If `pkg' is a package name, pass it as
12727 a requirement, so it is subject to the usual (e.g. disabled) checks.
12728 (describe-package): Accept package-desc as well.
12729 (describe-package-1): Describe a specific package-desc. Add links to
12730 other package-descs for the same package name.
12731 (package-menu-describe-package): Pass the actual package-desc.
12732 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12734 (package-desc-status): New function.
12735 (package-menu--refresh): New function, extracted
12736 from package-menu--generate.
12737 (package-menu--generate): Use it.
12738 (package-delete): Update package-alist.
12739 (package-menu-execute): Don't call package-initialize.
12741 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12742 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12743 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12744 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12745 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12746 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12748 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12750 * window.el (window--state-get-1): Workaround for bug#14527.
12751 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12753 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12755 * net/eww.el (eww-back-url): Implement the history by stashing all
12756 the data into a list.
12757 (eww-forward-url): Allow going forward in the history, too.
12759 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12762 for values and use read--expression for expressions (bug#14710).
12763 (read-file-local-variable): Avoid setq.
12764 (read-file-local-variable-mode): Use minor-mode-list.
12766 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12768 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12771 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12773 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12774 Update imenu-support when dialect changes.
12776 2013-06-25 Leo Liu <sdl.web@gmail.com>
12778 * ido.el (ido-read-internal): Allow forward slash on windows.
12780 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12782 * net/eww.el (eww): Start of strings is \\`, not ^.
12784 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12786 * net/shr.el (shr-browse-url): Fix interactive spec.
12788 * net/eww.el (eww): Add a trailing slash to domain names.
12790 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12792 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12794 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12796 * net/shr.el (shr-browse-url): Use an external browser if given a
12799 * net/eww.el (eww-external-browser): Move to shr.
12801 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12803 * net/eww.el (eww): Work more correctly for file: URLs.
12804 (eww-detect-charset): Allow quoted charsets.
12805 (eww-yank-page-url): New command and keystroke.
12807 2013-06-24 Daiki Ueno <ueno@gnu.org>
12809 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12810 file name of gpg executable.
12811 (epg-context-program): New function.
12812 (epg-context-home-directory): New function.
12813 (epg-context-set-program): New function.
12814 (epg-context-set-home-directory): New function.
12815 (epg--start): Use `epg-context-program' instead of
12817 (epg--list-keys-1): Likewise.
12819 2013-06-24 Leo Liu <sdl.web@gmail.com>
12821 * ido.el (ido-read-internal): Fix bug#14620.
12823 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12825 * faces.el (face-documentation): Simplify.
12826 (read-face-attribute, tty-find-type, x-resolve-font-name):
12827 Use `string-match-p'.
12828 (list-faces-display): Use `string-match-p'. Simplify.
12829 (face-spec-recalc): Check face to avoid face alias loops.
12830 (read-color): Use `string-match-p' and non-capturing parenthesis.
12832 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12834 * net/shr.el (shr-rescale-image): Use the new
12835 :max-width/:max-height functionality.
12837 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12839 * net/eww.el (eww-search-prefix): New variable.
12841 (eww-external-browser): New variable.
12842 (eww-mode-map): New keystroke.
12843 (eww-browse-with-external-browser): New command.
12845 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12847 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12849 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12850 Don't skip aligning the next header field when padding is 0;
12851 otherwise, field width is not respected unless the title is as
12854 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12856 * emacs-lisp/package.el (package-el-version): Remove.
12857 (package-process-define-package): Fix inf-loop.
12858 (package-install): Allow symbols as arguments again.
12860 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12862 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12863 add some more keyword-like methods.
12864 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12866 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12868 * bs.el (bs-buffer-show-mark): Make defvar-local.
12869 (bs-mode): Use setq-local.
12871 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12872 (emacs-lock--try-unlocking): Make defvar-local.
12874 2013-06-22 Glenn Morris <rgm@gnu.org>
12876 * play/cookie1.el (cookie-apropos): Minor simplification.
12878 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12880 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12882 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12883 `regexp-opt', it breaks the build during dumping.
12885 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12887 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12888 Highlight keyword-like methods on Kernel and Module with
12889 font-lock-builtin-face.
12890 (auto-mode-alist): Consolidate different entries into one regexp
12891 and add more *file-s.
12893 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12895 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12897 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12898 (diary-entry): Use it in the action of this button type instead of
12901 * calendar/todo-mode.el: New version.
12902 (todo-add-category): Append new category to end of file and give
12903 it the highest number, instead of putting it at the beginning and
12904 giving it 0. Incorporate noninteractive functionality.
12905 (todo-forward-category): Adapt to 1-based category numbering.
12906 Allow skipping over archived categories.
12907 (todo-backward-category): Derive from todo-forward-category.
12908 (todo-backward-item, todo-forward-item): Make noninteractive and
12909 delegate interactive part to new commands. Make sensitive to done items.
12910 (todo-categories): Make value an alist of category names and
12911 vectors of item counts.
12912 (todo-category-beg): Make a defconst.
12913 (todo-category-number): Use 1 instead of 0 as initial value.
12914 (todo-category-select): Make sensitive to overlays, optional item
12915 highlighting and done items.
12916 (todo-delete-item): Make sensitive to overlays and marked and done items.
12917 (todo-edit-item): Make sensitive to overlays and editing of
12918 date/time header optional. Add format checks.
12919 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12920 no-op if point is not on an item. Advertise using todo-edit-quit.
12921 (todo-edit-mode): Make sensitive to new format, font-locking, and
12922 multiple todo files.
12923 (todo-insert-item, todo-insert-item-here): Derive from
12924 todo-basic-insert-item and extend functionality.
12925 (todo-item-end, todo-item-start): Make sensitive to done items.
12926 (todo-item-string): Don't return text properties. Restore point.
12927 (todo-jump-to-category): Make sensitive to multiple todo files and
12928 todo archives. Use extended category completion.
12929 (todo-lower-item, todo-raise-item): Rename to *-priority and
12930 derive from todo-set-item-priority.
12931 (todo-mode): Derive from special-mode. Make sensitive to new
12932 format, font-locking and multiple todo files. Make read-only.
12933 (todo-mode-map): Don't suppress digit keys, so they can supply
12934 prefix arguments. Add many new key bindings.
12935 (todo-prefix): Insert as an overlay instead of file text.
12936 Change semantics from diary date expression to purely visual mark.
12937 (todo-print): Rename to todo-print-buffer. Make buffer display
12938 features printable. Remove option to restrict number of items
12939 printed. Add option to print to file.
12940 (todo-print-function): Rename to todo-print-buffer-function.
12941 (todo-quit): Extend to handle exiting new todo modes.
12942 (todo-remove-item): Make sensitive to overlays.
12943 (todo-save): Extend to buffers of filtered items.
12944 (todo-show): Make sensitive to done items, multiple todo files and
12945 new todo modes. Offer to convert legacy todo file before creating
12946 first new todo file.
12947 (todo-show-priorities): Rename to todo-top-priorities.
12948 Change semantics of value 0.
12949 (todo-top-priorities): Rename to todo-filter-top-priorities,
12950 derive from todo-filter-items and extend functionality.
12951 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12952 and extend functionality to other types of filtered items.
12953 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12954 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12955 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12956 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12957 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12958 (todo-edit-mode-hook, todo-entry-prefix-function)
12959 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12960 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12961 (todo-initials, todo-insert-threshold, todo-item-string-start)
12962 (todo-line-string, todo-menu, todo-mode-hook)
12963 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12964 (todo-print-priorities, todo-remove-separator)
12965 (todo-save-top-priorities-too, todo-string-count-lines)
12966 (todo-string-multiline-p, todo-time-string-format)
12967 (todo-tmp-buffer-name): Remove.
12968 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12969 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12970 (todo-edit-category-diary-inclusion)
12971 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12972 (todo-edit-file, todo-edit-item-date-day)
12973 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12974 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12975 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12976 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12977 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12978 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12979 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12980 (todo-filter-top-priorities-multifile, todo-find-archive)
12981 (todo-find-filtered-items-file, todo-go-to-source-item)
12982 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12983 (todo-jump-to-archive-category, todo-lower-category)
12984 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12985 (todo-move-category, todo-move-item, todo-next-button)
12986 (todo-next-item, todo-padded-string, todo-powerset)
12987 (todo-previous-button, todo-previous-item)
12988 (todo-print-buffer-to-file, todo-raise-category)
12989 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12990 (todo-set-category-number, todo-set-item-priority)
12991 (todo-set-top-priorities-in-category)
12992 (todo-set-top-priorities-in-file, todo-show-categories-table)
12993 (todo-sort-categories-alphabetically-or-numerically)
12994 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12995 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12996 (todo-toggle-item-header, todo-toggle-item-highlighting)
12997 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12998 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12999 (todo-unarchive-items, todo-unmark-category): New commands.
13000 (todo-absolute-file-name, todo-add-to-buffer-list)
13001 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13002 (todo-basic-insert-item, todo-category-completions)
13003 (todo-category-number, todo-category-string-matcher-1)
13004 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13005 (todo-check-format, todo-clear-matches)
13006 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13007 (todo-current-category, todo-date-string-matcher)
13008 (todo-define-insertion-command, todo-diary-expired-matcher)
13009 (todo-diary-goto-entry, todo-diary-item-p)
13010 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13011 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13012 (todo-done-item-section-p, todo-done-separator)
13013 (todo-done-string-matcher, todo-files, todo-filter-items)
13014 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13015 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13016 (todo-insert-category-line, todo-insert-item-from-calendar)
13017 (todo-insert-sort-button, todo-insert-with-overlays)
13018 (todo-insertion-command-name, todo-insertion-key-bindings)
13019 (todo-label-to-key, todo-longest-category-name-length)
13020 (todo-make-categories-list, todo-mode-external-set)
13021 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13022 (todo-modes-set-3, todo-multiple-filter-files)
13023 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13024 (todo-read-category, todo-read-date, todo-read-dayname)
13025 (todo-read-file-name, todo-read-time)
13026 (todo-reevaluate-category-completions-files-defcustom)
13027 (todo-reevaluate-default-file-defcustom)
13028 (todo-reevaluate-filelist-defcustoms)
13029 (todo-reevaluate-filter-files-defcustom)
13030 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13031 (todo-reset-done-separator, todo-reset-done-separator-string)
13032 (todo-reset-done-string, todo-reset-global-current-todo-file)
13033 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13034 (todo-reset-prefix, todo-set-categories)
13035 (todo-set-date-from-calendar, todo-set-show-current-file)
13036 (todo-set-top-priorities, todo-short-file-name)
13037 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13038 (todo-total-item-counts, todo-update-buffer-list)
13039 (todo-update-categories-display, todo-update-categories-sexp)
13040 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13042 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13044 (todo-categories, todo-display, todo-edit, todo-faces)
13045 (todo-filtered): New defgroups.
13046 (todo-archived-only, todo-button, todo-category-string, todo-date)
13047 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13048 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13049 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13050 (todo-add-item-if-new-category, todo-always-add-time-string)
13051 (todo-categories-align, todo-categories-archived-label)
13052 (todo-categories-category-label, todo-categories-diary-label)
13053 (todo-categories-done-label, todo-categories-number-separator)
13054 (todo-categories-todo-label, todo-categories-totals-label)
13055 (todo-category-completions-files, todo-completion-ignore-case)
13056 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13057 (todo-done-separator-string, todo-done-string)
13058 (todo-files-function, todo-filter-done-items, todo-filter-files)
13059 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13060 (todo-initial-category, todo-initial-file, todo-item-mark)
13061 (todo-legacy-date-time-regexp, todo-mode-line-function)
13062 (todo-nondiary-marker, todo-number-prefix)
13063 (todo-print-buffer-function, todo-show-current-file)
13064 (todo-show-done-only, todo-show-first, todo-show-with-done)
13065 (todo-skip-archived-categories, todo-top-priorities-overrides)
13066 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13067 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13069 (todo-category-done, todo-date-pattern, todo-date-string-start)
13070 (todo-diary-items-buffer, todo-done-string-start)
13071 (todo-filtered-items-buffer, todo-item-start)
13072 (todo-month-abbrev-array, todo-month-name-array)
13073 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13074 (todo-top-priorities-buffer): New defconsts.
13075 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13076 (todo-categories-with-marks, todo-category-string-face)
13077 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13078 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13079 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13080 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13081 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13082 (todo-font-lock-keywords, todo-global-current-todo-file)
13083 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13084 (todo-insertion-commands-args)
13085 (todo-insertion-commands-args-genlist)
13086 (todo-insertion-commands-names, todo-insertion-map)
13087 (todo-key-bindings-t, todo-key-bindings-t+a)
13088 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13089 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13090 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13091 (todo-visited): New variables.
13093 2013-06-21 Glenn Morris <rgm@gnu.org>
13095 * play/cookie1.el (cookie-apropos): Add optional display argument.
13096 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13097 (psychoanalyze-pinhead): Use cookie-doctor.
13099 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13101 * emacs-lisp/package.el (tar-get-file-descriptor)
13102 (tar--extract): Declare.
13104 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13106 Extend flymake's warning predicate to be a function (bug#14217).
13107 * progmodes/flymake.el (flymake-warning-predicate): New.
13108 (flymake-parse-line): Use it.
13109 (flymake-warning-re): Make obsolete alias to
13110 `flymake-warning-predicate'.
13112 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13114 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13115 (package-obsolete-list): Remove.
13116 (package-activate): Remove min-version argument. Add `force' argument.
13117 Adjust to new package-alist format.
13118 (package-mark-obsolete): Remove.
13119 (package-unpack): Force reload of the package's autoloads.
13120 (package-installed-p): Check builtins if the installed package is not
13122 (package-initialize): Don't reset package-obsolete-list.
13123 Don't specify which package version to activate.
13124 (package-process-define-package, describe-package-1)
13125 (package-menu--generate): Adjust to new package-alist format.
13127 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13129 * allout-widgets.el (allout-widgets-mode-off)
13130 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13131 (allout-widgets-post-command-business)
13132 (allout-widgets-after-copy-or-kill-function)
13133 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13134 (allout-decorate-item-and-context)
13135 (allout-graphics-modification-handler): Fix typos in docstrings.
13136 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13138 * cmuscheme.el (scheme-start-file): Doc fix.
13139 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13140 (scheme-input-filter): Use `string-match-p'.
13142 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13144 * dired-x.el: Use Dired consistently in docstrings.
13146 * dired.el: Use Dired consistently in docstrings.
13147 (dired-readin, dired-mode): Use `setq-local'.
13148 (dired-switches-alist): Make defvar-local.
13149 (dired-buffers-for-dir): Use `zerop'.
13150 (dired-safe-switches-p, dired-switches-escape-p)
13151 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13152 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13153 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13154 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13155 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13156 (dired-toggle-marks, dired-mark-files-containing-regexp)
13157 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13158 (dired-flag-auto-save-files, dired-flag-backup-files):
13159 Use `looking-at-p'.
13160 (dired-mark-files-regexp, dired-build-subdir-alist):
13161 Use `string-match-p', `looking-at-p'.
13163 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13164 (direct-print-region-helper): Use `string-match-p'.
13166 2013-06-21 Leo Liu <sdl.web@gmail.com>
13168 * comint.el (comint-redirect-results-list-from-process):
13171 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13173 * net/eww.el (eww-update-header-line-format): Quote % characters.
13175 2013-06-21 Glenn Morris <rgm@gnu.org>
13177 * play/cookie1.el (cookie): New custom group.
13178 (cookie-file): New option.
13179 (cookie-check-file): New function.
13180 (cookie): Make it interactive. Make start and end messages optional.
13181 Interactively, display the result. Default to cookie-file.
13182 (cookie-insert): Default to cookie-file.
13183 (cookie-snarf): Make start and end messages optional.
13184 Default to cookie-file. Use with-temp-buffer.
13185 (cookie-read): Rename from read-cookie.
13186 Make start and end messages optional. Default to cookie-file.
13187 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13188 Do not autoload it.
13189 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13190 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13192 2013-06-21 Leo Liu <sdl.web@gmail.com>
13194 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13196 2013-06-21 Glenn Morris <rgm@gnu.org>
13198 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13200 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13201 Daniel Hackney <dan@haxney.org>
13203 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13204 Consolidate the single-file vs tarball code.
13205 (package-desc-suffix): New function.
13206 (package-desc-full-name): Don't bother inlining it.
13207 (package-load-descriptor): Return the new package-desc.
13208 (package-mark-obsolete): Remove unused arg `package'.
13209 (package-unpack): Make it work for single files as well.
13210 Make it update package-alist.
13211 (package--make-autoloads-and-stuff): Rename from
13212 package--make-autoloads-and-compile. Don't compile any more.
13213 (package--compile): New function.
13214 (package-generate-description-file): New function, extracted from
13215 package-unpack-single.
13216 (package-unpack-single): Remove.
13217 (package--with-work-buffer): Add indentation and debugging info.
13218 (package-download-single): Remove.
13219 (package-install-from-archive): Rename from package-download-tar, make
13220 it take a pkg-desc, and make it work for single files as well.
13221 (package-download-transaction): Simplify.
13222 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13223 external tar program.
13224 (package-install-from-buffer): Remove `pkg-desc' argument.
13225 Use package-tar-file-info for tar-mode buffers.
13226 (package-install-file): Simplify accordingly.
13227 (package-archive-base): Change to take a pkg-desc.
13228 * tar-mode.el (tar--check-descriptor): New function, extracted from
13229 tar-get-descriptor.
13230 (tar-get-descriptor): Use it.
13231 (tar-get-file-descriptor): New function.
13232 (tar--extract): New function, extracted from tar-extract.
13233 (tar--extract): Use it.
13234 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13235 case the summary uses non-ascii. Adjust to new calling convention of
13236 package-tar-file-info.
13238 2013-06-21 Leo Liu <sdl.web@gmail.com>
13240 * comint.el (comint-redirect-results-list-from-process):
13241 Fix random delay. (Bug#14681)
13243 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13245 * profiler.el (profiler-format-number): Use log, not log10.
13247 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13249 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13251 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13253 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13254 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13256 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13257 (AUTOGENEL): ... here.
13258 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13259 (cl--defsubst-expand): Use it.
13261 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13263 * subr.el (log10): Move here from C code, and declare as obsolete.
13264 All uses of (log10 X) replaced with (log X 10).
13266 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13268 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13269 Declare with `defvar-local'.
13270 (tabulated-list-use-header-line, tabulated-list-entries)
13271 (tabulated-list-padding, tabulated-list-printer)
13272 (tabulated-list-sort-key): Declare with `defvar-local'.
13273 (tabulated-list-init-header, tabulated-list-print-fake-header):
13276 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13278 * arc-mode.el (archive-mode): Add `archive-write-file' to
13279 `write-contents-functions' also for remote files. (Bug#14652)
13281 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13283 * cus-edit.el (custom-commands): Fix typos.
13284 (custom-display): Fix tooltip text.
13285 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13286 Fix typos in docstrings.
13287 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13288 (custom-unlispify-menu-entry, custom-magic-value-create)
13289 (custom-add-see-also, custom-group-value-create): Use ?\s.
13290 (custom-guess-type, customize-apropos, editable-field)
13291 (custom-face-value-create): Use `string-match-p'.
13292 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13294 * custom.el (custom-load-symbol): Use `string-match-p'.
13296 * ansi-color.el: Convert to lexical binding.
13297 (ansi-colors): Fix URL.
13298 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13299 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13300 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13302 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13304 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13306 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13308 2013-06-19 Tom Tromey <tromey@redhat.com>
13310 * net/eww.el (eww-top-url): Remove.
13311 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13312 (eww-render): Set new variables. Don't set eww-top-url.
13313 (eww-handle-link): Handle "prev", "home", and "contents".
13314 Downcase the rel text.
13315 (eww-top-url): Choose best top URL.
13317 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13319 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13320 relying in widget.el. Using widget.el leads to too many
13321 user interface inconsistencies.
13322 (eww-self-insert): Implement entering commands in text fields.
13323 (eww-process-text-input): New function to make text input field editing
13325 (eww-submit): Rewrite to use the new-style form methods.
13326 (eww-select-display): Display the correct selected item.
13327 (eww-change-select): Implement changing the select value.
13328 (eww-toggle-checkbox): Implement radio/checkboxes.
13329 (eww-update-field): Fix compilation error.
13330 (eww-tag-textarea): Implement <textarea>.
13332 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13333 we don't shadow mode-specific bindings.
13335 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13338 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13340 2013-06-19 Glenn Morris <rgm@gnu.org>
13342 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13344 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13346 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13349 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13351 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13353 * net/browse-url.el (browse-url-browser-function):
13354 `eww-browse-url' has the right calling signature, `eww' does not.
13356 2013-06-19 Glenn Morris <rgm@gnu.org>
13358 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13359 Only eval autoloaded macros.
13360 (byte-compile-autoload): Only give the macro warning for macros.
13362 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13363 (ps-underlined-faces): Declare.
13365 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13366 (speedbar-add-supported-extension): Declare.
13368 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13369 Don't include a date stamp in the header of the generated file;
13370 it leads to needless differences between output files.
13372 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13374 * net/secrets.el (secrets-struct-secret-content-type):
13375 Replace check of introspection data by a test call of "CreateItem".
13376 Some servers do not offer introspection.
13378 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13380 * electric.el (electric-pair-mode): Improve interaction with
13381 electric-layout-mode.
13382 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13383 (electric-pair-syntax): Use text-mode-syntax-table in comments
13385 (electric-pair--insert): New function.
13386 (electric-pair-post-self-insert-function): Use it and
13387 electric--after-char-pos.
13389 2013-06-19 Leo Liu <sdl.web@gmail.com>
13391 * progmodes/octave.el (octave-help): Fix regexp.
13393 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13395 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13396 (shr-table-horizontal-line): Allow nil as a value, and change the
13398 (shr-insert-table-ruler): Respect the nil value.
13400 2013-06-18 Tom Tromey <tromey@barimba>
13402 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13404 (eww-open-file): New defun.
13405 (eww-render): Initialize new variables.
13406 (eww-display-html): Handle "link" and "a".
13407 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13408 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13409 (eww-back-url): Rename from eww-previous-url.
13410 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13413 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13415 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13416 Distinguish ternary operator tokens from slash symbol and slash
13419 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13421 Convert symbol prettification into minor mode and global minor mode.
13423 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13424 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13425 (prettify-symbols--keywords): Rename from
13426 `prog-prettify-symbols-alist' and make a local defvar.
13427 (prettify-symbols--compose-symbol): Rename from
13428 `prog--prettify-font-lock-compose-symbol'.
13429 (prettify-symbols--make-keywords): Rename from
13430 `prog-prettify-font-lock-symbols-keywords' and simplify.
13431 (prog-prettify-install): Remove.
13432 (prettify-symbols-mode): New minor mode, based on
13433 `prog-prettify-install'.
13434 (turn-on-prettify-symbols-mode): New function.
13435 (global-prettify-symbols-mode): New globalized minor mode.
13437 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13438 * progmodes/cfengine.el (cfengine3-mode):
13439 * progmodes/perl-mode.el (perl-mode): Don't call
13440 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13442 2013-06-18 Juri Linkov <juri@jurta.org>
13444 * files-x.el (modify-file-local-variable-message): New function.
13445 (modify-file-local-variable)
13446 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13447 and call `modify-file-local-variable-message' when it's non-nil.
13448 (add-file-local-variable, delete-file-local-variable)
13449 (add-file-local-variable-prop-line)
13450 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13451 and use it. (Bug#9820)
13453 2013-06-18 Juri Linkov <juri@jurta.org>
13455 * emulation/vi.el (vi-shell-op):
13456 * emulation/vip.el (vip-execute-com, ex-command):
13457 * emulation/viper-cmd.el (viper-exec-bang):
13458 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13459 the call of `shell-command-on-region'. (Bug#14637)
13461 * simple.el (shell-command-on-region): Doc fix.
13463 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13465 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13468 2013-06-18 Glenn Morris <rgm@gnu.org>
13470 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13472 * newcomment.el (comment-search-forward, comment-search-backward):
13473 Doc fix. (Bug#14376)
13475 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13477 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13478 (buffer-face-mode-invoke): Doc fix.
13480 2013-06-18 Matthias Meulien <orontee@gmail.com>
13482 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13483 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13485 2013-06-18 Glenn Morris <rgm@gnu.org>
13487 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13488 Replace obsolete function generic-make-keywords with its expansion.
13490 * progmodes/python.el (ffap-alist): Declare.
13492 * textmodes/reftex.el (bibtex-mode-map): Declare.
13494 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13497 (package-unpack, package-unpack-single): Return the pkg-dir.
13498 (package-download-transaction): Use it to update package-alist.
13500 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13502 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13505 2013-06-17 Juri Linkov <juri@jurta.org>
13507 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13509 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13511 * emacs-lisp/package.el (package-load-descriptor):
13512 Remove `with-syntax-table' call, `read' doesn't need it.
13513 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13515 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13517 * startup.el (command-line): Expand package name returned by
13518 `package--description-file' (bug#14639).
13520 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13522 * emacs-lisp/package.el (package-load-descriptor): Do not call
13523 `emacs-lisp-mode', just use its syntax table.
13525 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13527 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13528 `font-lock-extra-managed-props' if any prettifying keyword is added.
13529 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13530 (prog-mode): Use `setq-local'.
13532 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13534 * international/characters.el (standard-case-table): Set syntax of ?»
13535 and ?« to punctuation.
13537 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13539 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13540 Save relevant match data before calling `syntax-ppss' (bug#14595).
13542 2013-06-15 Juri Linkov <juri@jurta.org>
13544 * files-x.el (modify-file-local-variable-prop-line): Add local
13545 variables to the end of the existing comment on the first line.
13546 Use `file-auto-mode-skip' to skip interpreter magic line,
13547 and also skip XML declaration.
13549 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13551 * startup.el (package--builtin-versions): New var.
13552 (package-subdirectory-regexp): Remove.
13553 (package--description-file): Hard code its value instead.
13555 * emacs-lisp/package.el: Don't activate packages older than builtin.
13556 (package-obsolete-list): Rename from package-obsolete-alist, and make
13557 it into a simple list of package-desc.
13558 (package-strip-version): Remove.
13559 (package-built-in-p): Use package--builtin-versions.
13560 (package-mark-obsolete): Simplify.
13561 (package-process-define-package): Mark it obsolete if older than the
13563 (package-handle-response): Use line-end-position.
13564 (package-read-archive-contents, package--download-one-archive):
13566 (package--add-to-archive-contents): Skip if older than the builtin or
13568 (package-menu-describe-package): Fix last change.
13569 (package-list-unversioned): New var.
13570 (package-menu--generate): Use it.
13572 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13573 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13574 (autoload-builtin-package-versions): New variable.
13575 (autoload-generate-file-autoloads): Use them.
13576 Remove the list of autoloaded functions/macros from the
13577 (autoload...) comments.
13579 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13581 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13583 * simple.el (line-move-partial): Don't jump to the next screen
13584 line as soon as it becomes visible. Instead, continue enlarging
13585 the vscroll until the portion of a tall screen line that's left on
13586 display is about the height of the frame's default font.
13589 2013-06-15 Glenn Morris <rgm@gnu.org>
13591 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13592 compilation-error-regexp-alist void, or local while let-bound.
13594 * progmodes/make-mode.el (makefile-mode-syntax-table):
13595 Treat "=" as punctuation. (Bug#14614)
13597 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13599 * help-fns.el (describe-variable):
13600 Add extra line for permanent-local variables.
13602 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13604 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13605 Add export, import, library. (Bug#9164)
13606 (library): Set indent function.
13608 2013-06-14 Glenn Morris <rgm@gnu.org>
13610 * term/xterm.el (xterm--query):
13611 Stop after first matching handler. (Bug#14615)
13613 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13615 Add support for dired in saveplace.
13616 * dired.el (dired-initial-position-hook): New variable.
13617 (dired-initial-position): Call hook to place cursor position.
13618 * saveplace.el (save-place-to-alist): Add dired position.
13619 (save-place-dired-hook): New function.
13621 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13623 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13624 through a symbol rather than letrec.
13626 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13627 (package-desc): Add `dir' field.
13628 (package-desc-full-name): New function.
13629 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13630 (package-maybe-load-descriptor): Remove.
13631 (package-load-all-descriptors): Just call package-load-descriptor.
13632 (package--disabled-p): New function.
13633 (package-desc-vers, package-desc-doc): Remove aliases.
13634 (package--dir): Remove function.
13635 (package-activate): Check if a package is disabled.
13636 (package-process-define-package): New function, extracted from
13638 (define-package): Turn into a place holder.
13639 (package-unpack-single, package-tar-file-info):
13640 Use package--description-file.
13641 (package-compute-transaction): Use package--disabled-p.
13642 (package-download-transaction): Don't call
13643 package-maybe-load-descriptor since they're all loaded anyway.
13644 (package-install): Change argument to be a pkg-desc.
13645 (package-delete): Use a single pkg-desc argument.
13646 (describe-package-1): Use package-desc-dir instead of package--dir.
13647 Use package-desc property instead of package-symbol.
13648 (package-install-button-action): Adjust accordingly.
13649 (package--push): Rewrite.
13650 (package-menu--print-info): Adjust accordingly. Change the ID format
13652 (package-menu-describe-package, package-menu-get-status)
13653 (package-menu--find-upgrades, package-menu-mark-upgrades)
13654 (package-menu-execute, package-menu--name-predicate):
13655 Adjust accordingly.
13656 * startup.el (package--description-file): New function.
13657 (command-line): Use it.
13658 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13659 Use package-desc-version.
13661 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13662 (byte-compile-preprocess): Use it.
13663 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13664 can't quite recognize.
13665 (byte-compile-add-to-list): Remove.
13666 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13667 (cconv-closure-convert): Add assertion.
13669 * emacs-lisp/map-ynp.el: Use lexical-binding.
13670 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13671 Factor out some repeated code.
13673 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13675 * subr.el (with-eval-after-load): New macro.
13676 (eval-after-load): Allow form to be a function.
13677 take advantage of lexical-binding.
13678 (do-after-load-evaluation): Use dolist and adjust to new format.
13679 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13681 2013-06-13 Juri Linkov <juri@jurta.org>
13683 * replace.el (perform-replace): Display "symbol " and other search
13684 modes from `isearch-message-prefix' in the *Help* buffer.
13686 * isearch.el (isearch-query-replace): Add " symbol" and other
13687 possible search modes from `isearch-message-prefix' to the prompt.
13688 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13689 when reading a regexp to collect.
13691 2013-06-13 Juri Linkov <juri@jurta.org>
13693 * isearch.el (word-search-regexp): Match whitespace if the search
13694 string begins or ends in whitespace. The LAX arg is applied to
13695 both ends of the search string. Use `regexp-quote' and explicit
13696 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13697 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13698 boundaries are replaced with symbol boundaries, and characters
13699 between symbols match non-word non-symbol syntax. (Bug#14602)
13701 2013-06-13 Juri Linkov <juri@jurta.org>
13703 * isearch.el (isearch-del-char): Don't exceed the length of
13704 `isearch-string' by the prefix arg. (Bug#14563)
13706 2013-06-13 Juri Linkov <juri@jurta.org>
13708 * isearch.el (isearch-yank-word, isearch-yank-line)
13709 (isearch-char-by-name, isearch-quote-char)
13710 (isearch-printing-char, isearch-process-search-char):
13711 Add optional count prefix arg. (Bug#14563)
13713 * international/isearch-x.el
13714 (isearch-process-search-multibyte-characters):
13715 Add optional count prefix arg.
13717 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13719 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13720 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13723 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13725 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13727 2013-06-13 Glenn Morris <rgm@gnu.org>
13729 * startup.el (tty-handle-args):
13730 Don't just discard "--" and anything after. (Bug#14608)
13732 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13734 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13736 Implement changes in Secret Service API. Make it backward compatible.
13737 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13738 (secrets-create-item): Use it. Prefix properties with interface.
13740 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13742 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13743 (term-emulate-terminal): Respect term-suppress-hard-newline.
13745 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13747 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13748 Only remove a `thumb-file' overlay. (Bug#14548)
13750 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13752 * mail/reporter.el (reporter-submit-bug-report):
13753 Handle missing package-name. (Bug#14600)
13755 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13757 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13758 (reftex-citation-prompt, reftex-default-bibliography)
13759 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13760 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13761 (reftex-bib-sort-author, reftex-bib-sort-year)
13762 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13763 (reftex-extract-bib-entries-from-thebibliography)
13764 (reftex-get-bibkey-default, reftex-get-bib-names)
13765 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13766 (reftex-format-bib-entry, reftex-parse-bibitem)
13767 (reftex-format-bibitem, reftex-do-citation)
13768 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13769 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13770 (reftex-insert-bib-matches, reftex-format-citation)
13771 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13772 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13773 existing comments into docstrings.
13775 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13777 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13779 2013-06-12 Andreas Schwab <schwab@suse.de>
13781 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13782 for auto-save files.
13784 2013-06-12 Glenn Morris <rgm@gnu.org>
13786 * ido.el (ido-delete-ignored-files): Remove.
13787 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13788 Go back to calling ido-ignore-item-p directly.
13790 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13792 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13794 * ido.el (ido-delete-ignored-files): New function,
13795 split from ido-make-file-list-1.
13796 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13797 (ido-make-file-list-1): Use ido-delete-ignored-files.
13799 2013-06-12 Leo Liu <sdl.web@gmail.com>
13801 * progmodes/octave.el (inferior-octave-startup)
13802 (inferior-octave-completion-table)
13803 (inferior-octave-track-window-width-change)
13804 (octave-eldoc-function-signatures, octave-help)
13805 (octave-find-definition): Use single quoted strings.
13806 (inferior-octave-startup-args): Change default value.
13807 (inferior-octave-startup): Do not hard code "-i" and
13808 "--no-line-editing".
13809 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13810 (inferior-octave-directory-tracker): Use it.
13811 (octave-goto-function-definition): Robustify.
13812 (octave-help): Support highlighting operators in 'See also'.
13813 (octave-find-definition): Find subfunctions only in Octave mode.
13815 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13817 * help-fns.el (help-fns--compiler-macro): If the handler function is
13818 named, then put a link to it.
13819 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13820 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13821 (cl-typep): Use it.
13822 (cl-eval-when): Simplify debug spec.
13823 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13824 compiler-macro function instead of setting `compiler-macro-file'.
13826 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13828 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13829 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13831 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13832 Daniel Hackney <dan@haxney.org>
13834 First part of Daniel Hackney's patch to package.el.
13835 * emacs-lisp/package.el: Use defstruct.
13836 (package-desc): New, main struct.
13837 (package--bi-desc, package--ac-desc): New structs, used to describe the
13838 format in external files.
13839 (package-desc-vers): Replace with package-desc-version accessor.
13840 (package-desc-doc): Replace with package-desc-summary accessor.
13841 (package-activate-1): Remove `package' arg since the pkg-vec now
13843 (define-package): Use package-desc-from-define.
13844 (package-unpack-single): Change file-name arg to be a symbol.
13845 (package--add-to-archive-contents): Use package-desc-create and new
13846 accessor functions to package--ac-desc.
13847 (package-buffer-info, package-tar-file-info): Return a package-desc.
13848 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13849 arg to be a package-desc.
13850 (package-install-file): Adjust accordingly. Use \' to match EOS.
13851 (package--from-builtin): New function.
13852 (describe-package-1, package-menu--generate): Use it.
13853 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13854 (package-generate-autoloads): Idem and return the name of the file.
13855 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13856 Change pkg-info arg to be a package-desc.
13857 Use package-make-ac-desc.
13858 (package-upload-file): Use \' to match EOS.
13859 * finder.el (finder-compile-keywords): Use package-make-builtin.
13861 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13863 * vc/vc.el (vc-deduce-fileset): Change error message.
13864 (vc-read-backend): New function.
13865 (vc-next-action): Use it.
13867 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13869 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13870 (prolog-font-lock-keywords): Use regexp-opt instead.
13871 Don't manually highlight strings.
13872 (prolog-mode-variables): Simplify comment-start-skip.
13873 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13875 * emacs-lisp/generic.el (generic--normalise-comments)
13876 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13877 (generic-mode-set-comments): Use them.
13878 (generic-bracket-support): Use setq-local.
13879 (generic-make-keywords-list): Declare obsolete.
13881 2013-06-11 Glenn Morris <rgm@gnu.org>
13883 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13884 Prettify after setting font-lock-defaults. (Bug#14574)
13886 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13888 * replace.el (query-replace, occur-read-regexp-defaults-function)
13890 * subr.el (declare-function, number-sequence, local-set-key)
13891 (substitute-key-definition, locate-user-emacs-file)
13892 (with-silent-modifications, split-string, eval-after-load):
13893 Fix typos, remove unneeded backslashes and reflow some docstrings.
13895 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13897 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13898 default for Elisp files.
13900 2013-06-11 Glenn Morris <rgm@gnu.org>
13902 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13903 although define-derived-mode was doing this anyway. (Bug#14583)
13905 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13907 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13908 Fix make-variable-buffer-local call to refer to the correct variable.
13910 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13912 * eshell/em-term.el (eshell-visual-commands)
13913 (eshell-visual-subcommands, eshell-visual-options):
13914 Add summary line to docstrings. Add cross-references.
13916 2013-06-10 Glenn Morris <rgm@gnu.org>
13918 * epa.el (epa-read-file-name): New function. (Bug#14510)
13919 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13921 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13923 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13924 output redirection to be ignored with visual commands.
13926 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13928 * eshell/em-term.el (eshell-visual-command-p): New function.
13929 (eshell-term-initialize): Move long lambda to separate function
13930 eshell-visual-command-p.
13931 * eshell/em-dirs.el (eshell-dirs-initialize):
13932 * eshell/em-script.el (eshell-script-initialize):
13933 Add missing #' to lambda.
13935 2013-06-08 Leo Liu <sdl.web@gmail.com>
13937 * progmodes/octave.el (octave-add-log-current-defun): New function.
13938 (octave-mode): Set add-log-current-defun-function.
13939 (octave-goto-function-definition): Do not move point if not found.
13940 (octave-find-definition): Enhance to try subfunctions first.
13942 2013-06-08 Glenn Morris <rgm@gnu.org>
13944 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13945 (byte-compile-backward-char, byte-compile-backward-word):
13946 Improve previous change, to handle non-explicit nil.
13948 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13950 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13951 (smie--opener/closer-at-point): New function.
13952 (smie--matching-block-data): Use it. Don't match from right after an
13953 opener or right before a closer. Obey smie-blink-matching-inners.
13954 Don't signal a mismatch for repeated inners like "switch..case..case".
13956 2013-06-07 Leo Liu <sdl.web@gmail.com>
13958 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13960 (octave-function-header-regexp): Fix. (Bug#14570)
13961 (octave-help-mode-finish-hook, octave-help-mode-finish):
13962 Remove. Just use temp-buffer-show-hook.
13964 * newcomment.el (comment-search-backward): Revert last change.
13967 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13969 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13971 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13972 through xargs, to avoid failure due to MS-Windows limitations on
13973 command-line length.
13975 2013-06-06 Glenn Morris <rgm@gnu.org>
13977 * font-lock.el (lisp-font-lock-keywords-2):
13978 Treat user-error like error.
13980 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13981 (byte-compile-backward-char, byte-compile-backward-word):
13982 Handle explicit nil arguments. (Bug#14565)
13984 2013-06-05 Alan Mackenzie <acm@muc.de>
13986 * isearch.el (isearch-allow-prefix): New user option.
13987 (isearch-other-meta-char): Don't exit isearch when a prefix
13988 argument is typed whilst `isearch-allow-prefix' is non-nil.
13991 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13993 * autorevert.el (auto-revert-notify-handler): Use memq.
13994 Hide assertion failure.
13996 * skeleton.el: Use cl-lib.
13997 (skeleton-further-elements): Use defvar-local.
13998 (skeleton-insert): Use cl-progv.
14000 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14002 * progmodes/prog-mode.el (prog-prettify-symbols)
14003 (prog-prettify-install): Update docstrings.
14005 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14007 * simple.el: Move all the prog-mode code to prog-mode.el.
14008 * progmodes/prog-mode.el: New file.
14009 * loadup.el: Add prog-mode.el.
14011 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14013 * simple.el (prog-prettify-symbols): Add version.
14014 (prog-prettify-install): Add convenience function to prettify symbols.
14016 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14017 (perl--augmented-font-lock-keywords-1)
14018 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14019 variables and use it.
14021 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14022 (cfengine3-mode): Remove unneeded variable and use it.
14024 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14025 (lisp--augmented-font-lock-keywords-1)
14026 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14027 Remove unneeded variables and use it.
14029 2013-06-05 João Távora <joaotavora@gmail.com>
14031 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14032 to point when opening the connection. (Bug#14380)
14034 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14036 * subr.el (load-history-regexp, load-history-filename-element)
14037 (eval-after-load, after-load-functions, do-after-load-evaluation)
14038 (eval-next-after-load, display-delayed-warnings)
14039 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14040 definition of save-match-data.
14041 (overriding-local-map): Remove accidental obsolescence declaration.
14043 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14045 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14047 Generalize symbol prettify support to prog-mode and implement it
14048 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14049 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14050 (prog--prettify-font-lock-compose-symbol)
14051 (prog-prettify-font-lock-symbols-keywords): New variables and
14052 functions to support symbol prettification.
14053 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14054 (lisp--augmented-font-lock-keywords-1)
14055 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14056 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14057 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14058 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14059 Implement prettify of -> => :: strings.
14060 * progmodes/perl-mode.el (perl-prettify-symbols)
14061 (perl--font-lock-compose-symbol)
14062 (perl--font-lock-symbols-keywords): Move to prog-mode.
14063 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14064 (perl-font-lock-keywords-1)
14065 (perl-font-lock-keywords-2): Remove explicit prettify support.
14066 (perl--augmented-font-lock-keywords)
14067 (perl--augmented-font-lock-keywords-1)
14068 (perl--augmented-font-lock-keywords-2, perl-mode):
14069 Implement prettify support.
14071 2013-06-05 Leo Liu <sdl.web@gmail.com>
14073 Re-implement SMIE matching block highlight using
14074 show-paren-data-function. (Bug#14395)
14075 * emacs-lisp/smie.el (smie-matching-block-highlight)
14076 (smie--highlight-matching-block-overlay)
14077 (smie--highlight-matching-block-lastpos)
14078 (smie-highlight-matching-block)
14079 (smie-highlight-matching-block-mode): Remove.
14080 (smie--matching-block-data-cache): New variable.
14081 (smie--matching-block-data): New function.
14082 (smie-setup): Use smie--matching-block-data for
14083 show-paren-data-function.
14085 * progmodes/octave.el (octave-mode-menu): Fix.
14086 (octave-find-definition): Skip garbage lines.
14088 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14090 Fix compilation error with simultaneous dynamic+lexical scoping.
14091 Add warning when a defvar appears after the first let-binding.
14092 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14093 (byte-compile-close-variables): Initialize it.
14094 (byte-compile--declare-var): New function.
14095 (byte-compile-file-form-defvar)
14096 (byte-compile-file-form-define-abbrev-table)
14097 (byte-compile-file-form-custom-declare-variable): Use it.
14098 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14099 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14100 (byte-compile-bind): Handle dynamic bindings that shadow
14102 (byte-compile-unbind): Make arg non-optional.
14103 (byte-compile-let): Simplify.
14104 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14105 (cconv--analyse-function, cconv-analyse-form): Populate it.
14106 Protect byte-compile-bound-variables to limit the scope of defvars.
14107 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14108 Remove unneeded rule for `declare'.
14110 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14111 so as to avoid depending on cl-adjoin at run-time.
14112 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14114 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14115 (macroexp--warn-and-return): Use it.
14117 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * subr.el: Convert to lexical binding.
14120 (overriding-local-map): Make obsolete.
14121 (add-to-list): Doc fix. Add compiler macro.
14122 (read-key): Swap values of local maps.
14124 2013-06-05 Leo Liu <sdl.web@gmail.com>
14126 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14128 2013-06-04 Leo Liu <sdl.web@gmail.com>
14130 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14131 (compilation-auto-jump): Suppress the "Mark set" message to give
14132 way to exit message.
14134 2013-06-04 Alan Mackenzie <acm@muc.de>
14136 Remove faulty optimisation from indentation calculation.
14137 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14138 search limit based on 2000 characters back from indent-point.
14140 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14142 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14144 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14146 * emacs-lisp/lisp.el: Use lexical-binding.
14147 (lisp--local-variables-1, lisp--local-variables): New functions.
14148 (lisp--local-variables-completion-table): New var.
14149 (lisp-completion-at-point): Use it complete let-bound vars.
14151 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14152 eagerly (bug#14422).
14154 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14156 * autorevert.el (auto-revert-notify-enabled)
14157 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14158 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14159 (auto-revert-notify-handler): Handle also gfilenotify.
14161 * subr.el (file-notify-handle-event): New defun. Replacing ...
14162 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14165 2013-06-03 Juri Linkov <juri@jurta.org>
14167 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14168 `M-s h .'. (Bug#14427)
14170 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14171 command `hi-lock-face-symbol-at-point'.
14172 (hi-lock-face-symbol-at-point): New command.
14173 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14174 (hi-lock-menu): Add `highlight-symbol-at-point'.
14175 (hi-lock-mode): Doc fix.
14177 * isearch.el (isearch-forward-symbol-at-point): New command.
14178 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14179 (isearch-highlight-regexp): Add a regexp which matches
14180 words/symbols for word/symbol mode.
14182 * subr.el (find-tag-default-bounds): New function with the body
14183 mostly moved from `find-tag-default'.
14184 (find-tag-default): Move most code to `find-tag-default-bounds',
14185 call it and apply `buffer-substring-no-properties' afterwards.
14187 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14189 * eshell/em-term.el (eshell-term-initialize):
14190 Use `cl-intersection' rather than `intersection'.
14192 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14194 * vc/log-view.el: Doc fix.
14195 (log-view-mode-map): Copy keymap from `special-mode-map'.
14197 2013-06-02 Eric Ludlam <zappo@gnu.org>
14199 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14200 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14201 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14202 (eieio-unbound, eieio-default-superclass)
14203 (eieio--define-field-accessors, method-static, method-before)
14204 (method-primary, method-after, method-num-lists)
14205 (method-generic-before, method-generic-primary)
14206 (method-generic-after, method-num-slots)
14207 (eieio-specialized-key-to-generic-key)
14208 (eieio--check-type, class-v, class-p)
14209 (eieio-class-name, define-obsolete-function-alias)
14210 (eieio-class-parents-fast, eieio-class-children-fast)
14211 (same-class-fast-p, class-constructor, generic-p)
14212 (generic-primary-only-p, generic-primary-only-one-p)
14213 (class-option-assoc, class-option, eieio-object-p)
14214 (class-abstract-p, class-method-invocation-order)
14215 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14216 (eieio-class-un-autoload, eieio-defclass)
14217 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14218 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14219 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14220 (eieio-defgeneric-reset-generic-form)
14221 (eieio-defgeneric-form-primary-only)
14222 (eieio-defgeneric-reset-generic-form-primary-only)
14223 (eieio-defgeneric-form-primary-only-one)
14224 (eieio-defgeneric-reset-generic-form-primary-only-one)
14225 (eieio-unbind-method-implementations)
14226 (eieio--defmethod, eieio--typep)
14227 (eieio-perform-slot-validation, eieio-validate-slot-value)
14228 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14229 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14230 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14231 (eieio-slot-name-index, eieio-class-slot-name-index)
14232 (eieio-set-defaults, eieio-initarg-to-attribute)
14233 (eieio-attribute-to-initarg, eieio-c3-candidate)
14234 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14235 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14236 (eieio-class-precedence-list, eieio-generic-call-methodname)
14237 (eieio-generic-call-arglst, eieio-generic-call-key)
14238 (eieio-generic-call-next-method-list)
14239 (eieio-pre-method-execution-functions, eieio-generic-call)
14240 (eieio-generic-call-primary-only, eieiomt-method-list)
14241 (eieiomt-optimizing-obarray, eieiomt-install)
14242 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14243 (eieio-generic-form, eieio-defmethod, make-obsolete)
14244 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14245 (defclass): Remove `eval-and-compile' from macro.
14246 (call-next-method, shared-initialize): Instead of using
14247 `scoped-class' variable, use new eieio--scoped-class, and
14248 eieio--with-scoped-class.
14249 (initialize-instance): Rename local variable 'scoped-class' to
14250 'this-class' to remove ambiguitity from old global.
14252 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14254 (eieio--scoped-class-stack): New variable.
14255 (eieio--scoped-class): New fcn.
14256 (eieio--with-scoped-class): New scoping macro.
14257 (eieio-defclass): Use pushnew instead of add-to-list.
14258 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14259 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14260 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14261 `scoped-class' variable, use new eieio--scoped-class, and
14262 eieio--with-scoped-class.
14264 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14266 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14268 * eshell/esh-ext.el (eshell-external-command): Pass args to
14269 `eshell-find-interpreter'.
14270 (eshell-find-interpreter): Add new second parameter ARGS.
14272 * eshell/em-script.el (eshell-script-initialize): Add second arg
14273 to the function added as MATCH to `eshell-interpreter-alist'.
14275 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14276 the function added as MATCH to `eshell-interpreter-alist'.
14278 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14279 (eshell-visual-options): New defcustom.
14280 (eshell-escape-control-x): Adapt docstring.
14281 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14282 `eshell-visual-options' in addition to `eshell-visual-commands'.
14283 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14285 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14287 * progmodes/python.el (python-indent-block-enders): Add break,
14288 continue and raise keywords.
14290 2013-06-01 Glenn Morris <rgm@gnu.org>
14292 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14294 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14295 * progmodes/cc-cmds.el (delete-forward-p):
14296 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14297 * progmodes/cc-engine.el (buffer-syntactic-context):
14298 * progmodes/cc-fonts.el (face-property-instance):
14299 * progmodes/cc-mode.el (set-keymap-parents):
14300 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14301 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14302 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14303 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14304 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14306 * progmodes/cc-vars.el (other): Emacs has this widget since
14307 at least 21.1, so don't (re)define it.
14309 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14310 Replace the obsolete alias pcomplete-arg-quote-list.
14312 2013-06-01 Leo Liu <sdl.web@gmail.com>
14314 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14315 punctuation syntax.
14316 (inferior-octave-minimal-columns)
14317 (inferior-octave-last-column-width): New variables.
14318 (inferior-octave-track-window-width-change): New function.
14319 (inferior-octave-mode): Adjust column width so that Octave output,
14320 for example from 'ls', can fit into the window nicely.
14322 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14324 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14325 Highlight expansions inside regexp literals.
14327 2013-05-31 Glenn Morris <rgm@gnu.org>
14329 * obsolete/sym-comp.el (symbol-complete):
14330 Replace obsolete completion-annotate-function.
14332 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14334 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14336 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14337 New function, checks if point is inside a literal that allows
14338 expression expansion.
14339 (ruby-syntax-propertize-expansion): Use it.
14340 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14343 2013-05-30 Juri Linkov <juri@jurta.org>
14345 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14347 (isearch-invisible): New variable.
14348 (isearch-forward): Doc fix.
14349 (isearch-mode): Set `isearch-invisible'
14350 to the value of `search-invisible'.
14351 (isearch-toggle-case-fold): Doc fix.
14352 (isearch-toggle-invisible): New command.
14353 (isearch-query-replace): Let-bind `search-invisible'
14354 to the value of `isearch-invisible'.
14355 (isearch-search): Use `isearch-invisible' instead of
14356 `search-invisible'. Let-bind `search-invisible'
14357 to the value of `isearch-invisible'. (Bug#11378)
14359 2013-05-30 Juri Linkov <juri@jurta.org>
14361 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14362 call when `query-flag' is nil and `search-invisible' is non-nil.
14365 2013-05-30 Glenn Morris <rgm@gnu.org>
14367 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14369 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14370 (cc-require): Suppress spurious "noruntime" warnings.
14371 (cc-require-when-compile): Use fboundp, for sake of compiler.
14373 * progmodes/cc-mode.el: Move load of cc-vars before that of
14374 cc-langs (which in turn loads cc-vars), to quieten compiler.
14376 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14378 * paren.el: Simplify the code.
14379 (show-paren-mode): Always start the timer.
14380 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14381 (show-paren--overlay, show-paren--overlay-1): Rename from
14382 show-paren-overlay and show-paren-overlay-1, and initialize to an
14383 overlay rather than to nil.
14384 (show-paren-function): Misc cleanup and simplifications.
14386 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14388 * paren.el (show-paren-data-function): New hook.
14389 (show-paren--default): New function, extracted from show-paren-function.
14390 (show-paren-function): Use show-paren-data-function.
14392 2013-05-30 Glenn Morris <rgm@gnu.org>
14394 * ielm.el (ielm-map, ielm-complete-symbol):
14395 Use completion-at-point rather than obsolete functions.
14396 (inferior-emacs-lisp-mode): Doc fix.
14397 Set completion-at-point-functions, rather than
14398 comint-dynamic-complete-functions.
14400 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14401 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14402 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14404 * image.el (image-animated-p): Tweak definition.
14406 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14407 (rlogin-process-connection-type): Tweak default. Add set-after.
14408 (rlogin-host): Doc fix.
14409 (rlogin): Tweak prompt.
14410 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14412 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14413 * progmodes/tcl.el (inferior-tcl-mode-map):
14414 Use completion-at-point rather than obsolete alias.
14416 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14418 * minibuffer.el (read-file-name-completion-ignore-case):
14419 Move before completion--in-region, for eager macro expansion.
14421 2013-05-29 Juri Linkov <juri@jurta.org>
14423 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14424 for total count of matching lines. Add `global-matches' for total
14425 count of matches. Rename `matches' to `lines' for count of
14426 matching lines. Add `matches' for count of matches.
14427 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14428 to `prev-line' for line number of prev match endpt.
14429 Increment `matches' for every match. Print the number of
14430 matching lines in the header.
14431 (occur-context-lines): Rename `lines' to `curr-line'.
14432 Rename `prev-lines' to `prev-line'. (Bug#14017)
14434 2013-05-29 Juri Linkov <juri@jurta.org>
14436 * replace.el (perform-replace): Add `skip-read-only-count',
14437 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14438 Increment them for corresponding conditions and report the number
14439 of skipped occurrences in the final message. (Bug#11746)
14440 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14441 (replace-string, replace-regexp): Doc fix.
14443 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14445 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14447 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14448 prog-mode-map (bug#14504).
14450 2013-05-29 Leo Liu <sdl.web@gmail.com>
14452 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14453 (octave-help): Small simplification.
14455 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14456 off the highlight first.
14458 2013-05-29 Glenn Morris <rgm@gnu.org>
14460 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14461 Handle idlwave-last-system-routine-info-cons-cell being nil.
14463 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14464 (idlwave-write-paths): Simplify via with-temp-buffer.
14466 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14467 * emulation/cua-rect.el: Also load cua-base at run time.
14469 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14470 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14471 (cperl-imenu-on-info): Require imenu.
14473 2013-05-28 Alan Mackenzie <acm@muc.de>
14475 Handle "capitalised keywords" correctly.
14476 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14478 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14480 * eshell/em-unix.el: Add -r option to cp.
14482 2013-05-28 Glenn Morris <rgm@gnu.org>
14484 * vc/vc-arch.el (vc-exec-after): Declare.
14485 (vc-switches): Autoload.
14486 * vc/vc-bzr.el: No need to require vc when compiling.
14487 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14488 (vc-resynch-buffer, vc-dir-refresh): Declare.
14489 (vc-setup-buffer, vc-switches): Autoload.
14490 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14491 (vc-resynch-buffer): Declare.
14492 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14493 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14494 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14495 (grep-read-regexp, grep-read-files, grep-expand-template)
14496 (vc-dir-refresh): Declare.
14497 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14498 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14499 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14500 * vc/vc-mtn.el (vc-exec-after): Declare.
14501 (vc-switches): Autoload.
14502 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14503 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14504 (vc-file-tree-walk): Declare.
14505 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14506 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14507 (vc-tag-precondition, vc-rename-master): Autoload.
14508 * vc/vc-svn.el (vc-exec-after): Declare.
14509 (vc-switches, vc-setup-buffer): Autoload.
14510 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14512 (vc-resynch-buffer): Declare.
14514 * obsolete/fast-lock.el (byte-compile-warnings):
14515 Don't warn about obsolete features in this obsolete file.
14517 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14518 Move definition before use.
14520 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14521 (dun-unix-verbs): Remove dun-zippy.
14522 (dun-zippy): Remove function.
14524 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14526 2013-05-27 Juri Linkov <juri@jurta.org>
14528 * replace.el (replace-search): New function with code moved out
14529 from `perform-replace'.
14530 (replace-highlight, replace-dehighlight): Move function definitions
14531 up closer to `replace-search'. (Bug#11746)
14533 2013-05-27 Juri Linkov <juri@jurta.org>
14535 * replace.el (perform-replace): Ignore invisible matches.
14536 In addition to checking `query-replace-skip-read-only', also
14537 filter out matches by calling `run-hook-with-args-until-failure'
14538 on `isearch-filter-predicates', and also check `search-invisible'
14539 for t or call `isearch-range-invisible'.
14540 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14542 2013-05-27 Juri Linkov <juri@jurta.org>
14544 * isearch.el (isearch-filter-predicates): Rename from
14545 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14546 (isearch-message-prefix): Display text from the property
14547 `isearch-message-prefix' of the currently active filters.
14548 (isearch-search): Don't compare `isearch-filter-predicate' with
14549 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14550 on `isearch-filter-predicates'. Also check `search-invisible' for t
14551 or call `isearch-range-invisible'.
14552 (isearch-filter-visible): Make obsolete.
14553 (isearch-lazy-highlight-search):
14554 Call `run-hook-with-args-until-failure' on
14555 `isearch-filter-predicates' and use `isearch-range-invisible'.
14557 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14558 `isearch-filter-predicates' instead of `funcall'ing
14559 `isearch-filter-predicate'.
14560 (Info-mode): Set `Info-isearch-filter' to
14561 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14563 * dired-aux.el (dired-isearch-filter-predicate-orig):
14565 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14566 (dired-isearch-filenames-end): Add and remove
14567 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14568 instead of changing the value of `isearch-filter-predicate'.
14569 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14570 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14571 Put property `isearch-message-prefix' to "filename " on
14572 `dired-isearch-filter-filenames'.
14574 * wdired.el (wdired-change-to-wdired-mode):
14575 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14576 locally instead of changing `isearch-filter-predicate'.
14577 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14579 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14581 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14582 return the commit hash (Bug#14459). Also set the
14583 `vc-git-detached' property.
14584 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14585 (vc-git-mode-line-string): Use the same help-echo format whether
14586 in detached mode or not, because we know the actual revision now.
14587 When in detached mode, shorten the revision to 7 chars.
14589 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14591 * emacs-lisp/easy-mmode.el (define-minor-mode):
14592 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14593 mode hook and provide a docstring.
14595 2013-05-27 Alan Mackenzie <acm@muc.de>
14597 Remove spurious syntax-table text properties inserted by C-y.
14598 * progmodes/cc-mode.el (c-after-change): Also clear hard
14599 syntax-table property with value nil.
14601 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14603 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14604 when reading the events; the buffer layout shall not be changed.
14606 2013-05-27 Leo Liu <sdl.web@gmail.com>
14608 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14610 (inferior-octave-directory-tracker): Automatically re-sync
14612 (octave-help): Improve handling of 'See also'.
14614 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14616 * doc-view.el: Minor naming convention tweaks.
14617 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14619 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14620 even if there's no `display' property yet (bug#14435).
14622 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14624 * subr.el (unmsys--file-name): Rename from reveal-filename.
14626 * Makefile.in (custom-deps, finder-data, autoloads)
14627 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14628 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14629 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14631 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14633 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14634 error-completion on the first 2 args of condition-case (bug#14446).
14637 2013-05-25 Leo Liu <sdl.web@gmail.com>
14639 * comint.el (comint-previous-matching-input): Do not flood the
14640 *Messages* buffer with trivial messages.
14642 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14644 * progmodes/flymake.el (flymake-nop): Don't return a string.
14645 (flymake-set-at): Fix typo.
14647 * simple.el (read--expression): New function, extracted from
14648 eval-expression. Set completion-at-point-functions (bug#14465).
14649 (eval-expression, eval-minibuffer): Use it.
14651 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14653 * progmodes/flymake.el (flymake-save-buffer-in-file)
14654 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14655 (flymake-selected-frame, flymake-log, flymake-ins-after)
14656 (flymake-set-at, flymake-get-buildfile-from-cache)
14657 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14658 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14659 Refine the doc string.
14660 (flymake-get-file-name-mode-and-masks): Reformat.
14661 (flymake-get-real-file-name-function): Fix a minor bug.
14663 2013-05-24 Juri Linkov <juri@jurta.org>
14665 * progmodes/grep.el (grep-mode-font-lock-keywords):
14666 Support =linenumber= format used by git-grep for lines with
14667 function names. (Bug#13549)
14669 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14671 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14672 0 after a semi-colon; it works better for smie-auto-fill.
14673 (octave--indent-new-comment-line): New function.
14674 (octave-indent-new-comment-line): Use it (indirectly).
14675 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14676 modify comment-line-break-function.
14678 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14679 (smie-setup): Use add-function to set it.
14681 2013-05-24 Sam Steingold <sds@gnu.org>
14683 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14684 argument (before the `interactive' argument).
14686 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14688 * image-mode.el (image-mode-winprops): Add winprops to
14689 image-mode-winprops-alist before running
14690 image-mode-new-window-functions.
14691 * doc-view.el (doc-view-new-window-function): Don't delay
14692 doc-view-goto-page via timers (bug#14435).
14694 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14696 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14697 (doc-view-desktop-save-buffer): New function.
14698 (doc-view-restore-desktop-buffer): New function.
14699 (desktop-buffer-mode-handlers):
14700 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14702 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14703 `desktop-save-buffer' function.
14705 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14707 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14708 (tramp-gvfs-file-name-handler): Raise a user error when
14709 `tramp-gvfs-enabled' is nil.
14710 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14711 Do not raise a user error when loading package. (Bug#14447)
14713 * net/xesam.el: Move to obsolete/.
14715 2013-05-24 Glenn Morris <rgm@gnu.org>
14717 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14719 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14721 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14722 (Info-find-node, Man-getpage-in-background): Declare.
14724 * mail/unrmail.el (unrmail):
14725 Replace obsolete detect-coding-with-priority.
14727 * net/socks.el (socks-split-string): Use this rather than split-string.
14728 (socks-nslookup-host): Update for above change.
14729 (dynamic-choice, s5-dynamic-choice-match)
14730 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14731 Comment out unused code.
14733 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14734 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14735 (gud-tooltip-echo-area): Make obsolete.
14736 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14738 * progmodes/js.el (js--optimize-arglist): Declare.
14740 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14742 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14743 (ediff-window-C): Declare.
14745 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14746 Tweak requires to silence compiler.
14748 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14749 (he-search-string, he-tried-table, he-expand-list)
14750 (he-init-string, he-string-member, he-substitute-string)
14751 (he-reset-string): Declare.
14753 * obsolete/options.el (list-options): Use custom-variable-p,
14754 rather than obsolete alias.
14756 2013-05-23 Sam Steingold <sds@gnu.org>
14758 * simple.el (shell-command-on-region): Pass the `replace' argument
14759 down to `call-process-region' to comply with the doc as reported on
14760 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14762 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14764 * emacs-lisp/smie.el (smie-indent-forward-token)
14765 (smie-indent-backward-token): Handle string tokens (bug#14381).
14767 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14769 * ielm.el (ielm-menu): New menu.
14770 (inferior-emacs-lisp-mode): Set comment-start.
14772 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14774 * textmodes/reftex.el (reftex-ref-style-toggle):
14775 Fix deactivate action.
14777 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14778 Add cleveref macros.
14780 * textmodes/reftex-parse.el
14781 (reftex-locate-bibliography-files): Accept options for
14782 bibliography commands.
14783 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14784 Add addbibresource. Basic Biblatex support.
14786 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14788 * net/tramp-gvfs.el (top):
14789 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14790 when loading package. (Bug#14447)
14792 2013-05-23 Glenn Morris <rgm@gnu.org>
14794 * progmodes/js.el: No need to load comint when compiling.
14795 (ring-insert, comint-send-string, comint-send-input)
14796 (comint-last-input-end, ido-chop): Declare.
14798 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14799 * vc/ediff-mult.el: Adjust requires.
14800 (ediff-directories-internal, ediff-directory-revisions-internal)
14801 (ediff-patch-file-internal): Declare.
14802 * vc/ediff-ptch.el: Adjust requires.
14803 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14804 (ediff-find-file): Autoload.
14805 * vc/ediff-util.el: No need to load ediff when compiling.
14806 (ediff-regions-internal): Declare.
14807 * vc/ediff-wind.el: Adjust requires.
14808 (ediff-compute-toolbar-width): Define when compiling.
14809 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14810 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14811 (dired-get-filename, dired-get-marked-files)
14812 (ediff-last-dir-patch, ediff-patch-default-directory)
14813 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14814 (ediff-patch-buffer-internal): Declare.
14816 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14817 (ispell-process, ispell-buffer-local-words, lm-summary)
14818 (lm-section-start, lm-section-end): Declare.
14819 (checkdoc-ispell-init): Simplify.
14821 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14822 (he-string-member, he-reset-string, he-substitute-string): Declare.
14824 * eshell/em-ls.el: Adjust requires.
14825 (eshell-glob-regexp): Declare.
14826 * eshell/em-tramp.el: Adjust requires.
14827 (eshell-parse-command): Autoload.
14828 * eshell/em-xtra.el: Adjust requires.
14829 (eshell-parse-command): Autoload.
14830 * eshell/esh-ext.el: Adjust requires.
14831 (eshell-parse-command, eshell-close-handles): Autoload.
14832 * eshell/esh-io.el: Adjust requires.
14833 (eshell-output-filter): Autoload.
14834 * eshell/esh-util.el: No need to load tramp when compiling.
14835 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14837 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14838 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14839 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14840 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14841 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14842 * eshell/esh-opt.el, eshell/esh-proc.el:
14843 * eshell/esh-var.el: Adjust requires.
14844 * eshell/eshell.el: Do not require esh-util twice.
14845 (eshell-add-input-to-history): Declare.
14846 (eshell-command): Check history module is active before using it.
14848 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14850 2013-05-22 Leo Liu <sdl.web@gmail.com>
14852 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14854 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14856 * autorevert.el (auto-revert-notify-add-watch)
14857 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14858 it indicates changes in file modification time.
14860 2013-05-22 Glenn Morris <rgm@gnu.org>
14862 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14863 Always delete the autoloaded function from the noruntime and
14864 unresolved functions lists.
14866 * allout.el: No need to load epa, epg, overlay when compiling.
14867 (epg-context-set-passphrase-callback, epg-list-keys)
14868 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14869 (epg-key-user-id-list): Declare.
14871 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14872 (viper-set-parsing-style-toggling-macro)
14873 (viper-set-emacs-state-searchstyle-macros):
14874 Use called-interactively-p on Emacs.
14875 (viper-looking-back): Make it an obsolete alias. Update callers.
14876 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14877 Use looking-back rather than viper-looking-back.
14878 (viper-tmp-insert-at-eob, viper-enlarge-region)
14879 (viper-read-string-with-history, viper-register-to-point)
14880 (viper-append-to-register, viper-change-state-to-vi)
14881 (viper-backward-char-carefully, viper-forward-char-carefully)
14882 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14883 (viper-change-state-to-emacs): Declare.
14884 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14885 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14886 * emulation/viper-mous.el: Do not load viper-cmd.
14887 (viper-backward-char-carefully, viper-forward-char-carefully)
14888 (viper-forward-word, viper-adjust-window): Declare.
14890 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14892 * progmodes/idlw-help.el (idlwave-help-fontify):
14893 Use called-interactively-p.
14895 * term/w32console.el (w32-get-console-codepage)
14896 (w32-get-console-output-codepage): Declare.
14898 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14899 Remove unnecessary declarations.
14900 (dframe-message): Doc fix.
14902 * info.el (dframe-select-attached-frame, dframe-current-frame):
14905 * speedbar.el (speedbar-message): Make it an obsolete alias.
14906 Update all callers.
14907 (speedbar-with-attached-buffer)
14908 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14909 (speedbar-with-writable): Use backquote.
14910 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14911 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14912 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14913 rather than speedbar- aliases.
14914 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14915 (speedbar-make-specialized-keymap, speedbar-insert-button)
14916 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14917 (speedbar-do-function-pointer): Declare.
14918 (rmail-speedbar-button, rmail-speedbar-find-file)
14919 (rmail-speedbar-move-message):
14920 Use dframe-with-attached-buffer rather than speedbar- alias.
14921 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14922 (dframe-message, speedbar-make-specialized-keymap)
14923 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14924 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14925 (speedbar-insert-button, dframe-select-attached-frame)
14926 (dframe-maybee-jump-to-attached-frame)
14927 (speedbar-change-initial-expansion-list)
14928 (speedbar-previously-used-expansion-list-name): Declare.
14929 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14930 Use dframe-message, dframe-with-attached-buffer rather than
14932 (gud-sentinel): Silence compiler.
14933 * progmodes/vhdl-mode.el (speedbar-refresh)
14934 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14935 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14936 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14937 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14938 (speedbar-file-lists, speedbar-make-tag-line)
14939 (speedbar-line-directory, speedbar-goto-this-file)
14940 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14941 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14942 (speedbar-make-button, speedbar-reset-scanners)
14943 (speedbar-files-item-info, speedbar-line-text)
14944 (speedbar-find-file-in-frame, speedbar-set-timer)
14945 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14946 (speedbar-with-writable): Do not (re)define it.
14947 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14948 rather than speedbar- alias.
14950 2013-05-21 Leo Liu <sdl.web@gmail.com>
14952 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14954 (octave-mode): Tweak fill-nobreak-predicate.
14955 (inferior-octave-startup): Check process to avoid infinite loop.
14956 (inferior-octave): Pop to buffer first to show abornmal process
14959 2013-05-21 Glenn Morris <rgm@gnu.org>
14961 * printing.el (pr-menu-bar): Define when compiling.
14963 2013-05-21 Leo Liu <sdl.web@gmail.com>
14965 * progmodes/octave.el (octave-auto-fill): Remove.
14966 (octave-indent-new-comment-line): Improve.
14967 (octave-mode): Use auto fill mode through
14968 comment-line-break-function and fill-nobreak-predicate.
14969 (octave-goto-function-definition): Support DEFUN_DLD.
14970 (octave-beginning-of-defun): Small tweak.
14971 (octave-help): Show parent directory.
14973 2013-05-21 Glenn Morris <rgm@gnu.org>
14975 * files.el (dired-unmark):
14976 * progmodes/gud.el (gdb-input): Update declarations.
14978 * calculator.el (electric, ehelp): No need to load when compiling.
14979 (Electric-command-loop, electric-describe-mode): Declare.
14981 * doc-view.el (doc-view-current-converter-processes): Move before use.
14983 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14984 Move MODE-set-explicitly definition before use.
14986 * international/mule-diag.el (mule-diag):
14987 Don't use obsolete window-system-version.
14989 * mail/feedmail.el (smtpmail): No need to load when compiling.
14990 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14992 * mail/mail-utils.el (rfc822): No need to load when compiling.
14993 (rfc822-addresses): Autoload it.
14994 (mail-strip-quoted-names): Trivial simplification.
14996 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14997 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14999 * net/snmp-mode.el (tempo): Don't duplicate requires.
15001 * progmodes/prolog.el (info): No need to load when compiling.
15002 (comint): Require before shell requires it.
15003 (Info-goto-node): Autoload it.
15004 (Info-follow-nearest-node): Declare.
15005 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15007 * textmodes/artist.el (picture-mode-exit): Declare.
15009 * textmodes/reftex-parse.el (reftex-parse-from-file):
15010 Trivial rewrite so the compiler can parse it better.
15012 2013-05-20 Leo Liu <sdl.web@gmail.com>
15014 * progmodes/octave.el (octave-help-mode-map)
15015 (octave-help-mode-finish-hook): New variables.
15016 (octave-help-mode, octave-help-mode-finish): New functions.
15017 (octave-help): Use octave-help-mode.
15019 2013-05-20 Glenn Morris <rgm@gnu.org>
15021 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15023 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15025 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15026 start at point, so that expansion starting right after opening
15027 slash in a regexp is recognized.
15028 (ruby-syntax-before-regexp-re): New defvar, extracted from
15029 ruby-syntax-propertize-function. Since the value of this regexp
15030 is looked up at runtime now, we should be able to turn
15031 `ruby-syntax-methods-before-regexp' into a defcustom later.
15032 (ruby-syntax-propertize-function): Split regexp matching into two
15033 parts, for opening and closing slashes. That allows us to skip
15034 over string interpolations and support multiline regexps.
15035 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15036 for them, which calls `ruby-syntax-propertize-expansion'.
15037 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15038 call to `ruby-syntax-propertize-function'.
15039 (ruby-syntax-propertize-expansion): Extracted from
15040 `ruby-syntax-propertize-expansions'. Handles one expansion.
15041 (ruby-syntax-propertize-percent-literal): Leave point right after
15042 the percent symbol, so that the expression expansion rule can
15043 propertize the contents.
15044 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15046 (ruby-syntax-propertize-expansions): Remove.
15048 2013-05-18 Juri Linkov <juri@jurta.org>
15050 * man.el (Man-default-man-entry): Remove `-' from the end
15051 of the default value. (Bug#14400)
15053 2013-05-18 Glenn Morris <rgm@gnu.org>
15055 * comint.el (comint-password-prompt-regexp):
15056 Allow "password for XXX" where XXX contains colons (eg https://...).
15058 2013-05-18 Leo Liu <sdl.web@gmail.com>
15060 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15061 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15062 (octave-source-directories): Don't check process.
15063 (octave-source-directories, octave-find-definition): Doc fix.
15065 2013-05-18 Glenn Morris <rgm@gnu.org>
15067 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15068 Remove backspace/delete bindings. (Bug#14392)
15070 * cus-dep.el (custom-make-dependencies): Sort the output.
15071 (custom-versions-load-alist): Convert comment to doc.
15073 2013-05-17 Leo Liu <sdl.web@gmail.com>
15075 * newcomment.el (comment-search-backward): Stricter in finding
15076 comment start. (Bug#14303)
15078 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15079 (octave-comment-start-skip): Properly anchored.
15081 2013-05-17 Leo Liu <sdl.web@gmail.com>
15083 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15084 Clean up when turned off. (Bug#14395)
15085 (smie--highlight-matching-block-overlay): No longer buffer-local.
15086 (smie-highlight-matching-block): Adjust.
15088 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15090 Doc string fix for "nanoseconds" (Bug#14406).
15091 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15092 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15094 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15096 * calc/calc-units.el (math-extract-units): Preserve powers
15099 2013-05-17 Leo Liu <sdl.web@gmail.com>
15101 * subr.el (delete-consecutive-dups): New function.
15102 * ido.el (ido-set-matches-1): Use it.
15103 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15104 * ido.el (ido-remove-consecutive-dups): Remove.
15106 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15108 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15109 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15110 regexp-opt's `words'.
15112 2013-05-16 Leo Liu <sdl.web@gmail.com>
15114 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15115 (smie--highlight-matching-block-overlay)
15116 (smie--highlight-matching-block-lastpos)
15117 (smie--highlight-matching-block-timer): New variables.
15118 (smie-highlight-matching-block): New function.
15119 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15120 (smie-setup): Conditionally enable smie-blink-matching-open.
15122 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15124 Sync with upstream verilog-mode r840.
15125 * progmodes/verilog-mode.el (verilog-mode-version)
15126 (verilog-mode-release-date): Update.
15127 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15128 (verilog-sig-tieoff): Fix string error on
15129 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15130 (verilog-read-decls): Fix parameters confusing
15131 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15133 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15135 * subr.el (reveal-filename): New function.
15137 * loadup.el: Compute Emacs executable versions on MS-Windows,
15138 where executables have the .exe extension. Add a hard link
15139 emacs-XX.YY.ZZ.exe on MS-Windows.
15141 * Makefile.in (XARGS_LIMIT): New variable.
15142 (custom-deps, finder-data, autoloads)
15143 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15144 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15145 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15146 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15148 2013-05-16 Leo Liu <sdl.web@gmail.com>
15150 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15151 (octave-mode-menu, octave-mode-map): Remove its uses.
15153 2013-05-16 Reto Zimmermann <reto@gnu.org>
15155 Sync with upstream vhdl mode v3.34.2.
15156 * progmodes/vhdl-mode.el: Use `push' throughout.
15157 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15158 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15159 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15160 (vhdl-actual-generic-name): New option to derive actual generic name.
15161 (vhdl-port-paste-signals): Replace formal by actual generics.
15162 (vhdl-beautify): New name for old group vhdl-align. Update users.
15163 (vhdl-beautify-options): New option.
15164 (vhdl-last-input-event): New compat alias. Use throughout.
15165 (vhdl-goto-line): Replace user level function `goto-line'.
15166 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15167 vhdl-fix-statement-buffer.
15168 (vhdl-create-mode-menu): Add some entries.
15169 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15170 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15171 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15172 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15173 to force statements on one line.
15174 (vhdl-remove-trailing-spaces-region):
15175 New, split from vhdl-remove-trailing-spaces.
15176 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15177 Respect vhdl-beautify-options.
15178 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15179 (vhdl-update-sensitivity-list): Not add with index if exists without.
15180 Not include array index with signal. Ignore keywords in comments.
15181 (vhdl-get-visible-signals): Regexp tweaks.
15182 (vhdl-template-component-inst): Handle empty library.
15183 (vhdl-template-type): Add template for 'enum' type.
15184 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15185 Use vhdl-replace-string.
15186 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15187 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15188 (vhdl-speedbar-initialize): Update for above name change.
15189 (vhdl-compose-wire-components): Fix in handling of constants.
15190 (vhdl-error-regexp-emacs-alist): New variable.
15191 (vhdl-error-regexp-add-emacs): New function;
15192 adds support for new compile.el (Emacs 22+)
15193 (vhdl-generate-makefile-1): Change target order for single lib. units.
15194 Allow use of absolute file names.
15196 2013-05-16 Leo Liu <sdl.web@gmail.com>
15198 * simple.el (prog-indent-sexp): Indent enclosing defun.
15200 2013-05-15 Glenn Morris <rgm@gnu.org>
15202 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15203 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15204 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15205 (whitespace-highlight): Move to whitespace group.
15207 * comint.el (comint-source):
15208 * pcmpl-linux.el (pcmpl-linux):
15209 * shell.el (shell-faces):
15210 * eshell/esh-opt.el (eshell-opt):
15211 * international/ccl.el (ccl): Remove empty custom groups.
15213 * completion.el (dynamic-completion-mode):
15214 * jit-lock.el (jit-lock-debug-mode):
15215 * minibuffer.el (completion-in-region-mode):
15216 * type-break.el (type-break-mode-line-message-mode)
15217 (type-break-query-mode):
15218 * emulation/tpu-edt.el (tpu-edt-mode):
15219 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15220 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15221 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15223 * term/xterm.el (xterm): Change parent group to terminals.
15225 * master.el (master): Remove empty custom group.
15226 (master-mode): Remove unused :group argument.
15227 * textmodes/refill.el (refill): Remove empty custom group.
15228 (refill-mode): Remove unused :group argument.
15230 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15232 * cus-dep.el: Provide a feature.
15233 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15234 Don't mistakenly ignore files whose basenames match a basename
15235 from preloaded-file-list (eg cedet/ede/simple.el).
15236 Add a fallback method for getting :group.
15238 2013-05-15 Juri Linkov <juri@jurta.org>
15240 * isearch.el (isearch-char-by-name): Rename from
15241 `isearch-insert-char-by-name'. Doc fix.
15242 (isearch-forward): Mention `isearch-char-by-name' in
15243 the docstring. (Bug#13348)
15245 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15246 `exit-minibuffer' instead of
15247 `isearch-nonincremental-exit-minibuffer'.
15248 (isearch-edit-string): Remove mention of
15249 `isearch-nonincremental-exit-minibuffer' from docstring.
15250 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15251 (isearch-forward-exit-minibuffer)
15252 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15254 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15256 * loadup.el: Just use unversioned DOC.
15258 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15259 literals as extending to EOB.
15260 (nxml-last-fontify-end): Remove unused variable.
15261 (nxml-after-change1): Use with-silent-modifications.
15262 (nxml-extend-after-change-region): Simplify.
15263 (nxml-extend-after-change-region1): Remove function.
15264 (nxml-after-change1): Don't adjust for dependent regions.
15265 (nxml-fontify-matcher): Simplify.
15266 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15267 (xmltok-add-dependent): Remove function.
15268 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15269 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15270 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15271 unclosed <[[, <?, comment, and other literals as extending to EOB.
15272 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15273 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15275 (rng-do-some-validation-1): Don't mark dependent regions.
15276 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15277 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15278 (nxml-clear-dependent-regions): Remove functions.
15279 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15280 (nxml-ensure-scan-up-to-date):
15281 Don't clear&mark dependent regions.
15283 2013-05-15 Leo Liu <sdl.web@gmail.com>
15285 * progmodes/octave.el (octave-goto-function-definition):
15286 Improve and fix callers.
15288 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15290 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15291 the setter (bug#14387).
15293 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15294 surrounding group (bug#14402).
15296 2013-05-14 Juri Linkov <juri@jurta.org>
15298 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15301 2013-05-14 Glenn Morris <rgm@gnu.org>
15303 * progmodes/f90.el (f90-imenu-generic-expression):
15304 Fix typo in 2013-05-08 change. (Bug#14402)
15306 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15308 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15309 Remove signals for which replies are never received.
15311 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15313 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15314 (gdb-handler-alist, gdb-handler-number): Remove variables.
15315 (gdb-handler-list): New variable.
15316 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15317 (gdb-pending-handler-p, gdb-handle-reply)
15318 (gdb-remove-all-pending-triggers): New functions.
15319 (gdb-discard-unordered-replies): New defcustom.
15320 (gdb-handler): New defstruct.
15321 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15322 instead of gdb-pending-triggers. Update docstring.
15323 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15324 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15325 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15326 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15327 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15328 (gdb-frame-handler): Pending triggers are now automatically managed.
15329 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15331 (gdb-input): Automatically handles pending triggers. Update docstring.
15332 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15333 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15335 (gdb-done-or-error): Now use gdb-handle-reply.
15337 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15339 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15342 2013-05-14 Glenn Morris <rgm@gnu.org>
15344 * subr.el (user-emacs-directory-warning): New option.
15345 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15347 2013-05-14 Leo Liu <sdl.web@gmail.com>
15349 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15351 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15352 (octave-font-lock-texinfo-comment): Fix invalid search bound
15353 error: wrong side of point.
15355 2013-05-14 Glenn Morris <rgm@gnu.org>
15357 * progmodes/flymake.el (flymake-xml-program): New option.
15358 (flymake-xml-init): Use it.
15360 * term/xterm.el: Provide a feature.
15362 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15364 2013-05-13 Glenn Morris <rgm@gnu.org>
15366 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15367 Add compat aliases as a hack workaround. (Bug#14384)
15369 2013-05-13 Leo Liu <sdl.web@gmail.com>
15371 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15373 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15375 (octave-comment-start-skip): Include %!.
15376 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15378 2013-05-12 Leo Liu <sdl.web@gmail.com>
15380 * progmodes/octave.el (inferior-octave-startup): Store the value
15381 of __octave_srcdir__ for octave-source-directories.
15382 (inferior-octave-check-process): New function refactored out of
15383 inferior-octave-send-list-and-digest.
15384 (octave-source-directories)
15385 (octave-find-definition-filename-function): New variables.
15386 (octave-source-directories)
15387 (octave-find-definition-default-filename): New functions.
15388 (octave-find-definition): Improve to find functions implemented in C++.
15390 2013-05-12 Glenn Morris <rgm@gnu.org>
15392 * calendar/diary-lib.el (diary-outlook-format-1):
15393 Don't include dayname in the output. (Bug#14349)
15395 2013-05-11 Glenn Morris <rgm@gnu.org>
15397 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15399 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15400 Treat cc-provide like provide.
15402 2013-05-11 Kevin Ryde <user42@zip.com.au>
15404 * cus-dep.el (custom-make-dependencies):
15405 Use generated-autoload-load-name for the sake of files such
15406 such cedet/semantic/bovine/c.el, where the base file name
15407 is not in load-path. (Bug#5277)
15409 2013-05-11 Glenn Morris <rgm@gnu.org>
15411 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15414 2013-05-11 Leo Liu <sdl.web@gmail.com>
15416 * progmodes/octave.el (octave-indent-comment): Improve.
15417 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15418 (octave-eldoc-function-signatures, octave-eldoc-function):
15420 (octave-mode, inferior-octave-mode): Add eldoc support.
15422 2013-05-11 Richard Stallman <rms@gnu.org>
15424 * epa.el (epa-decrypt-file): Take output file name as argument
15425 and read it using `interactive'.
15427 2013-05-11 Leo Liu <sdl.web@gmail.com>
15429 * progmodes/octave.el (octave-beginning-of-line)
15430 (octave-end-of-line): Check before using up-list because it jumps
15431 out of more syntactic contructs since moving to smie.
15432 (octave-indent-comment): New function.
15433 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15434 (octave-begin-keywords, octave-end-keywords)
15435 (octave-reserved-words, octave-smie-bnf-table)
15436 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15438 2013-05-11 Glenn Morris <rgm@gnu.org>
15440 * faces.el (internal-face-x-get-resource):
15441 * frame.el (ns-display-monitor-attributes-list):
15442 * calc/calc-aent.el (math-to-radians-2):
15443 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15446 * calc/calc-menu.el: Make it loadable in isolation.
15448 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15449 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15450 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15451 (eudc-bbdb-query-internal): Require 'bbdb.
15453 * lpr.el (lpr-headers-switches):
15454 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15456 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15458 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15460 * term.el (term-set-escape-char): Make it idempotent.
15462 2013-05-10 Leo Liu <sdl.web@gmail.com>
15464 * progmodes/octave.el (inferior-octave-completion-table):
15465 No longer a function and all uses changed. Use cache to speed up
15466 completion due to bug#11906.
15467 (octave-beginning-of-defun): Re-write to be more general.
15469 2013-05-10 Glenn Morris <rgm@gnu.org>
15471 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15473 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15475 * comint.el (comint-redirect-send-command-to-process): Use :around
15476 rather than :override for comint-redirect-filter.
15477 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15478 Call it instead of comint-redirect-original-filter-function (which
15479 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15481 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15483 * frame.el (display-monitor-attributes-list): Add NS case.
15484 (ns-display-monitor-attributes-list): Declare.
15486 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15488 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15490 2013-05-09 Glenn Morris <rgm@gnu.org>
15492 * international/fontset.el (vertical-centering-font-regexp):
15493 Set standard-value.
15495 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15497 * bookmark.el (bookmark-search-delay):
15498 * cus-start.el (vertical-centering-font-regexp):
15499 * ps-mule.el (ps-mule-font-info-database-default):
15500 * ps-print.el (ps-default-fg, ps-default-bg):
15501 * type-break.el (type-break-good-break-interval):
15502 * whitespace.el (whitespace-indentation-regexp)
15503 (whitespace-space-after-tab-regexp):
15504 * emacs-lisp/testcover.el (testcover-1value-functions)
15505 (testcover-noreturn-functions, testcover-progn-functions)
15506 (testcover-prog1-functions):
15507 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15508 * eshell/em-glob.el (eshell-glob-translate-alist):
15509 * play/tetris.el (tetris-tty-colors):
15510 * progmodes/cpp.el (cpp-face-default-list):
15511 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15512 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15513 (idlwave-help-browser-generic-args):
15514 * progmodes/make-mode.el (makefile-special-targets-list):
15515 * progmodes/python.el (python-shell-virtualenv-path):
15516 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15517 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15518 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15519 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15520 * textmodes/reftex-vars.el (reftex-format-label-function):
15521 * textmodes/remember.el (remember-diary-file): Fix custom types.
15523 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15526 2013-05-09 Leo Liu <sdl.web@gmail.com>
15528 * progmodes/octave.el (inferior-octave-completion-at-point):
15529 Restore file completion. (Bug#14300)
15530 (inferior-octave-startup): Fix incorrect highlighting for the
15533 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15535 * progmodes/ruby-mode.el: First cut at SMIE support.
15536 (ruby-use-smie): New var.
15537 (ruby-smie-grammar): New constant.
15538 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15539 (ruby-smie--forward-token, ruby-smie--backward-token)
15540 (ruby-smie-rules): New functions.
15541 (ruby-mode-variables): Setup SMIE if applicable.
15543 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15545 * simple.el (line-move-visual): Signal beginning/end of buffer
15546 only if vertical-motion moved less than it was requested. Avoids
15547 silly incorrect error messages when there are display strings with
15548 multiple newlines at EOL.
15550 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15552 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15553 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15554 (prolog-char-quote-workaround):
15555 * progmodes/cperl-mode.el (cperl-under-as-char):
15556 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15558 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15560 (vhdl-mode-syntax-table-init): Remove.
15562 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15565 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15567 (ld-script-font-lock-keywords):
15568 Change regexps to use things like \_< and \_>.
15570 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15571 Change all regexps to use things like \_< and \_>.
15573 * progmodes/autoconf.el (autoconf-definition-regexp)
15574 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15575 Handle a _ with symbol syntax.
15576 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15578 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15579 Consolidate declaration.
15580 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15582 (ada-create-syntax-table): Remove.
15583 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15584 already has the right syntax nowadays.
15585 (ada-goto-next-word): Don't change the syntax of "_".
15587 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15590 2013-05-08 Sam Steingold <sds@gnu.org>
15592 * thingatpt.el (thing-at-point): Accept optional second argument
15593 NO-PROPERTIES to strip the text properties from the return value.
15594 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15595 to `thing-at-point' instead of stripping the properties ourselves.
15596 Also, when `thing-at-point' fails to find a url, prepend "http://"
15597 to the filename at point on the assumption that the user is
15598 pointing at something like gnu.org/gnu.
15600 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15602 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15603 * faces.el (crm-separator):
15604 Silence byte-compiler.
15606 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15607 (tool-bar-map): Remove unneeded defvars.
15609 2013-05-08 Leo Liu <sdl.web@gmail.com>
15611 Re-work a fix for bug#10994 based on Le Wang's patch.
15612 * ido.el (ido-remove-consecutive-dups): New helper.
15613 (ido-completing-read): Use it.
15614 (ido-chop): Revert fix for bug#10994.
15616 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15618 * cus-edit.el (custom-save-variables):
15619 Pretty-print long values. (Bug#14187)
15621 2013-05-08 Glenn Morris <rgm@gnu.org>
15623 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15624 (m4-mode-syntax-table): Init in the defvar.
15625 (m4-mode-abbrev-table): Let define-derived-mode define it.
15627 2013-05-08 Tom Tromey <tromey@redhat.com>
15629 * progmodes/m4-mode.el (m4-mode-syntax-table):
15630 Do not treat "_" as word constituent. (Bug#14167)
15632 2013-05-07 Glenn Morris <rgm@gnu.org>
15634 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15635 Remove explicit eshell-isearch-cancel-map.
15637 * progmodes/f90.el (f90-smart-end-names): New option.
15638 (f90-smart-end): Doc fix.
15639 (f90-end-block-optional-name): New constant.
15640 (f90-block-match): Respect f90-smart-end-names.
15642 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15644 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15645 about implicit semi-colons (bug#14218).
15647 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15649 * frame.el (display-monitor-attributes-list)
15650 (frame-monitor-attributes): New functions.
15652 2013-05-06 Leo Liu <sdl.web@gmail.com>
15654 * progmodes/octave.el (octave-syntax-propertize-function): Change
15655 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15656 (octave-font-lock-keywords): Use octave-operator-regexp.
15657 (octave-completion-at-point): Rename from
15658 octave-completion-at-point-function.
15659 (inferior-octave-directory-tracker): Robustify.
15660 (octave-text-functions): Remove and fix its uses. No such things
15663 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15665 * emacs-lisp/trace.el (trace--display-buffer): New function.
15666 (trace-make-advice): Use it.
15668 2013-05-06 Juri Linkov <juri@jurta.org>
15670 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15671 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15673 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15674 in the help string. (Bug#12985)
15676 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15678 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15680 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15682 * progmodes/perl-mode.el: Add support for here documents.
15683 (perl-syntax-propertize-function): Match here-doc markers.
15684 (perl-syntax-propertize-special-constructs): Find their end.
15685 (perl-imenu-generic-expression): Use [:alnum:].
15687 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15688 (advice--add-function): Refresh the advice if already present
15691 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15693 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15695 2013-05-06 Glenn Morris <rgm@gnu.org>
15697 * w32-fns.el (w32-charset-info-alist): Declare.
15699 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15700 of its defcustom properties.
15701 (eshell-cmpl-initialize): No need to load pcomplete.
15703 * generic-x.el: No need to require comint when compiling.
15705 * net/eudc-export.el: Make it loadable without bbdb.
15706 (top-level): Use require rather than load-library.
15707 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15708 (eudc-batch-export-records-to-bbdb)
15709 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15712 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15714 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15715 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15716 some tweaks, instead.
15718 2013-05-05 Leo Liu <sdl.web@gmail.com>
15720 * progmodes/octave.el (octave-font-lock-keywords)
15721 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15722 (inferior-octave-send-list-and-digest): Improve error message.
15723 (octave-mode, inferior-octave-mode): Use setq-local.
15724 (octave-help): Set info-lookup-mode.
15726 2013-05-05 Richard Stallman <rms@gnu.org>
15728 * vc/compare-w.el (compare-windows-whitespace):
15729 Treat no-break space as whitespace.
15731 * mail/rmailsum.el (rmail-summary-rmail-update):
15732 Detect empty summary and don't change selected message.
15733 (rmail-summary-goto-msg): Likewise.
15735 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15736 Doc fixes, rename args.
15738 2013-05-05 Alan Mackenzie <acm@muc.de>
15740 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15742 2013-05-05 Juri Linkov <juri@jurta.org>
15744 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15745 to not add the length of the summary segment to the return value.
15748 2013-05-05 Leo Liu <sdl.web@gmail.com>
15750 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15751 (inferior-octave-output-filter): Remove.
15752 (octave-send-region, inferior-octave-startup): Fix callers.
15753 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15754 (octave-binary-file-extensions): New user variable.
15755 (octave-find-definition): Confirm if opening binary files.
15756 (octave-help-file): Use octave-find-definition to get the binary
15758 (octave-help): Adjust for octave-help-file change.
15760 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15762 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15763 Merge the two entries that handle function definitions.
15764 (pascal--syntax-propertize): New const.
15765 (pascal-mode): Use it. Use setq-local.
15767 2013-05-04 Glenn Morris <rgm@gnu.org>
15769 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15770 (diary-from-outlook): Respect diary-from-outlook-function.
15772 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15774 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15775 Move the declaration from C.
15776 (read-minibuffer, eval-minibuffer): Move from C.
15777 (completion-setup-function): Avoid minibuffer-completion-contents.
15779 2013-05-03 Leo Liu <sdl.web@gmail.com>
15781 * progmodes/octave.el (octave-font-lock-keywords): Do not
15782 dehighlight 'end' in comments or strings.
15783 (octave-completing-read, octave-goto-function-definition):
15785 (octave-help-buffer): New user variable.
15786 (octave-help-file, octave-help-function): New button types.
15787 (octave-help): New command and bind it to C-h ;.
15788 (octave-find-definition): New command and bind it to M-.
15789 (user-error): Alias to error if not defined.
15791 2013-05-02 Leo Liu <sdl.web@gmail.com>
15793 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15795 (octave-font-lock-keywords): Include [ and {.
15797 2013-05-02 Leo Liu <sdl.web@gmail.com>
15799 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15800 (inferior-octave): Remove calling comint-mode and return the buffer.
15801 (inferior-octave-startup): Cosmetic changes.
15803 2013-05-02 Leo Liu <sdl.web@gmail.com>
15805 * progmodes/octave.el (octave-syntax-propertize-function):
15806 Include the case when ' is at line beginning. (Bug#14336)
15808 2013-05-02 Glenn Morris <rgm@gnu.org>
15810 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15811 * desktop.el (vc-dir-mode): Just autoload it here.
15813 2013-05-02 Alan Mackenzie <acm@muc.de>
15815 Eliminate variable c-standard-font-lock-fontify-region-function.
15816 * progmodes/cc-mode.el
15817 (c-standard-font-lock-fontify-region-function): Remove.
15818 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15820 2013-05-01 Leo Liu <sdl.web@gmail.com>
15822 * progmodes/octave.el: Compatible with older emacs-24 releases.
15823 (inferior-octave-has-built-in-variables): Remove. Built-in
15824 variables were removed from Octave in 2007.
15825 (inferior-octave-startup): Fix uses.
15826 (comint-line-beginning-position): Remove compatibility code for
15829 2013-05-01 Juri Linkov <juri@jurta.org>
15831 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15833 2013-05-01 Juri Linkov <juri@jurta.org>
15835 * comint.el (comint-previous-matching-input): Don't print message
15836 "History item: %d" when `isearch-mode' is active.
15837 (comint-history-isearch-message): Print message "History item: %d"
15838 when `comint-input-ring-index' is not empty and this function is
15839 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15841 2013-05-01 Leo Liu <sdl.web@gmail.com>
15843 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15844 definitions. Use completion-at-point to insert keywords.
15845 (octave-abbrev-start): Remove.
15846 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15848 2013-04-30 Leo Liu <sdl.web@gmail.com>
15850 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15853 2013-04-30 Alan Mackenzie <acm@muc.de>
15855 Handle arbitrarily long C++ member initialisation lists.
15856 * progmodes/cc-engine.el (c-back-over-member-initializers):
15858 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15859 (most) member init lists.
15861 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15863 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15866 2013-04-30 Leo Liu <sdl.web@gmail.com>
15868 * progmodes/octave.el (octave-variables): Remove. No builtin
15869 variables any more. All converted to functions.
15870 (octave-font-lock-keywords, octave-completion-at-point-function):
15872 (octave-font-lock-texinfo-comment): New user variable.
15873 (octave-texinfo-font-lock-keywords): New variable for texinfo
15875 (octave-function-comment-block): New face.
15876 (octave-font-lock-texinfo-comment): New function.
15877 (octave-mode): Font lock texinfo comment block.
15879 2013-04-29 Leo Liu <sdl.web@gmail.com>
15881 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15882 indexing expression.
15883 (octave-continuation-string): Do not use \.
15884 (inferior-octave-complete-impossible): Remove.
15885 (inferior-octave-completion-table)
15886 (inferior-octave-completion-at-point): Remove its uses.
15887 (inferior-octave-startup): completion_matches was introduced to
15888 Octave in 1996 so safe to assume it.
15889 (octave-function-file-comment): Improve to follow how Octave does it.
15890 (octave-update-function-file-comment): Tweak.
15892 2013-04-29 Leo Liu <sdl.web@gmail.com>
15894 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15895 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15896 (octave-function-file-comment): Fix typo.
15897 (octave-sync-function-file-names): Use read-char-choice.
15899 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15901 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15902 to t for the less important warnings.
15904 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15906 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15908 2013-04-27 Glenn Morris <rgm@gnu.org>
15910 * vc/log-view.el (log-view-current-entry):
15911 Treat "---" separator lines as part of the following rev. (Bug#14169)
15913 2013-04-27 Juri Linkov <juri@jurta.org>
15915 * subr.el (read-number): Doc fix about using it by interactive
15916 code letter `n'. (Bug#14254)
15918 2013-04-27 Juri Linkov <juri@jurta.org>
15920 * desktop.el (desktop-auto-save-timeout): New option.
15921 (desktop-file-checksum): New variable.
15922 (desktop-save): Add optional arg `auto-save' and don't auto-save
15923 if nothing changed.
15924 (desktop-auto-save-timer): New variable.
15925 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15926 (after-init-hook): Call `desktop-auto-save-set-timer'.
15927 Suggested by Reuben Thomas <rrt@sc3d.org> in
15928 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15930 2013-04-27 Leo Liu <sdl.web@gmail.com>
15932 * progmodes/octave.el (octave-function-file-p)
15933 (octave-skip-comment-forward, octave-function-file-comment)
15934 (octave-update-function-file-comment): New functions.
15935 (octave-mode-map): Bind C-c ; to
15936 octave-update-function-file-comment.
15937 (octave-mode-menu): Add octave-update-function-file-comment.
15938 (octave-mode, inferior-octave-mode): Fix doc-string.
15939 (octave-insert-defun): Conform to Octave's coding convention.
15942 * files.el (basic-save-buffer): Don't let errors in
15943 before-save-hook prevent saving buffer.
15945 2013-04-20 Roland Winkler <winkler@gnu.org>
15947 * faces.el (read-face-name): Use completing-read if arg multiple
15950 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15952 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15953 displayed, move point to after the totals line.
15954 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15957 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15959 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15960 Add current dir to the load-path.
15961 (package-generate-autoloads): Don't rely on
15962 autoload-ensure-default-file.
15964 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15966 * textmodes/remember.el (remember-store-in-files): Document that
15967 the file name format is passed to `format-time-string'.
15969 2013-04-26 Leo Liu <sdl.web@gmail.com>
15971 * progmodes/octave.el (octave-sync-function-file-names): New function.
15972 (octave-mode): Use it in before-save-hook.
15974 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15976 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15979 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15980 \n and comment, even if it's not an implicit ; (bug#14218).
15982 2013-04-26 Glenn Morris <rgm@gnu.org>
15984 * subr.el (read-number): Once more use `read' rather than
15985 `string-to-number', to trap non-numeric input. (Bug#14254)
15987 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15989 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15990 Use `syntax-multiline' text property consistently instead of
15991 `font-lock-multiline'. (Bug#14237)
15993 2013-04-26 Glenn Morris <rgm@gnu.org>
15995 * emacs-lisp/shadow.el (list-load-path-shadows):
15996 No longer necessary to check for duplicate simple.el, since
15997 2012-07-07 change to init_lread to not include installation lisp
15998 directories in load-path when running uninstalled. (Bug#14270)
16000 2013-04-26 Leo Liu <sdl.web@gmail.com>
16002 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16003 (octave-mode, inferior-octave-mode): Use setq-local.
16004 (octave-not-in-string-or-comment-p): Rename to
16005 octave-in-string-or-comment-p.
16006 (octave-in-comment-p, octave-in-string-p)
16007 (octave-in-string-or-comment-p): Replace defsubst with defun.
16009 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16011 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16013 2013-04-25 Bastien Guerry <bzg@gnu.org>
16015 * textmodes/remember.el (remember-data-directory)
16016 (remember-directory-file-name-format): Fix custom types.
16018 2013-04-25 Leo Liu <sdl.web@gmail.com>
16020 * progmodes/octave.el (octave-completion-at-point-function):
16021 Make use of inferior octave process.
16022 (octave-initialize-completions): Remove.
16023 (inferior-octave-completion-table): New function.
16024 (inferior-octave-completion-at-point): Use it.
16025 (octave-completion-alist): Remove.
16027 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16029 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16030 (opascal-mode-syntax-table): New var.
16031 (opascal-literal-kind, opascal-is-literal-end)
16032 (opascal-literal-token-at): Rewrite.
16033 (opascal--literal-start-re, opascal-font-lock-keywords)
16034 (opascal--syntax-propertize): New constants.
16035 (opascal-font-lock-defaults): Adjust.
16036 (opascal-mode): Use them. Set comment-<foo> variables as well.
16037 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16038 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16039 (delphi-other-face, opascal-other-face): Remove face variables.
16040 (opascal-save-state): Remove macro.
16041 (opascal-fontifying-progress-step): Remove constant.
16042 (opascal--ignore-changes): Remove var.
16043 (opascal-set-token-property, opascal-parse-next-literal)
16044 (opascal-is-stable-literal, opascal-complete-literal)
16045 (opascal-is-literal-start, opascal-face-of)
16046 (opascal-parse-region, opascal-parse-region-until-stable)
16047 (opascal-fontify-region, opascal-after-change)
16048 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16049 (opascal-debug-parse-region, opascal-debug-parse-window)
16050 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16051 (opascal-debug-fontify-buffer): Remove.
16052 (opascal-debug-mode-map): Adjust accordingly.
16054 2013-04-25 Leo Liu <sdl.web@gmail.com>
16056 Merge octave-mod.el and octave-inf.el into octave.el with some
16058 * progmodes/octave.el: New file renamed from octave-mod.el.
16059 * progmodes/octave-inf.el: Merged into octave.el.
16060 * progmodes/octave-mod.el: Renamed to octave.el.
16062 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16064 * textmodes/reftex-vars.el
16065 (reftex-label-ignored-macros-and-environments): New defcustom.
16067 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16069 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16072 (smie-indent-keyword): Improve the check to ensure that the next
16073 comment is really on the same line.
16074 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16076 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16077 semi-colons if the line is not otherwise empty (bug#14218).
16079 2013-04-25 Glenn Morris <rgm@gnu.org>
16081 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16083 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16085 * progmodes/opascal.el (opascal-set-token-property): Rename from
16086 opascal-set-text-properties and only set `token' (bug#14134).
16087 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16088 (opascal-literal-text-properties): Remove.
16089 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16092 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16094 * textmodes/remember.el (remember-handler-functions): Add an
16095 option for a new handler `remember-store-in-files'.
16096 (remember-data-directory, remember-directory-file-name-format):
16098 (remember-store-in-files): New function to store remember notes
16099 as separate files within a directory.
16101 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16103 * progmodes/compile.el (compilation-next-error-function):
16104 Pass "formats" to compilation-find-file (bug#11777).
16106 2013-04-24 Glenn Morris <rgm@gnu.org>
16108 * vc/vc-bzr.el (vc-bzr-print-log):
16109 * vc/vc-hg.el (vc-hg-print-log):
16110 * vc/vc-svn.el (vc-svn-print-log):
16111 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16113 * vc/vc-bzr.el (vc-bzr-print-log):
16114 * vc/vc-cvs.el (vc-cvs-print-log):
16115 * vc/vc-git.el (vc-git-print-log):
16116 * vc/vc-hg.el (vc-hg-print-log):
16117 * vc/vc-mtn.el (vc-mtn-print-log):
16118 * vc/vc-rcs.el (vc-rcs-print-log):
16119 * vc/vc-sccs.el (vc-sccs-print-log):
16120 * vc/vc-svn.el (vc-svn-print-log):
16121 * vc/vc.el (vc-print-log-internal): Doc fixes.
16123 2013-04-23 Glenn Morris <rgm@gnu.org>
16125 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16126 Remove venerable code attempting to avoid substitute-command-keys.
16128 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16130 * textmodes/reftex-vars.el (reftex-label-regexps):
16131 Call `reftex-compile-variables' after changes to this variable.
16133 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16135 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16136 Use lexical-binding.
16137 (jit-lock-force-redisplay): Use markers, check buffer's continued
16138 existence and beware narrowed buffers.
16139 (jit-lock-fontify-now): Adjust call accordingly.
16141 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16143 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16144 to avoid misleading the user.
16146 2013-04-22 Leo Liu <sdl.web@gmail.com>
16148 * info-look.el: Prefer latex2e.info. (Bug#14240)
16150 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16152 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16154 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16155 * net/tramp.el (tramp-call-process): ... here.
16156 (tramp-set-completion-function, tramp-parse-putty):
16157 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16158 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16159 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16160 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16161 (tramp-call-local-coding-command): Use `tramp-call-process'
16162 instead of `tramp-compat-call-process'.
16164 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16165 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16166 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16167 (tramp-find-inline-compress): Improve traces.
16168 (tramp-maybe-send-script): Check for Perl binary.
16169 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16171 2013-04-22 Daiki Ueno <ueno@gnu.org>
16173 * epg.el (epg-context-pinentry-mode): New function.
16174 (epg-context-set-pinentry-mode): New function.
16175 (epg--start): Pass --pinentry-mode option to gpg command.
16177 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16179 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16180 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16181 `completion-at-point'. (Bug#13774)
16183 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16184 default key binding for `describe-distribution' has been moved to
16185 `C-h C-o'. (Bug#13970)
16187 2013-04-21 Glenn Morris <rgm@gnu.org>
16189 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16191 (vc-print-log): Clarify interactive prompt.
16193 2013-04-20 Glenn Morris <rgm@gnu.org>
16195 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16196 No longer include timestamp etc information.
16198 2013-04-20 Roland Winkler <winkler@gnu.org>
16200 * faces.el (read-face-name): Bug fix, return just one face if arg
16201 multiple is nil. (Bug#14209)
16203 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16205 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16206 (remove-function): Autoload.
16208 * comint.el (comint-redirect-original-filter-function): Remove.
16209 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16210 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16211 (vc-cvs-annotate-command):
16212 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16213 * progmodes/prolog.el (prolog-consult-compile):
16214 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16215 Use add/remove-function instead.
16216 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16217 (gud-tooltip-process-output, gud-tooltip-tips):
16218 Use add/remove-function instead.
16219 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16220 (scheme-interaction-mode, exit-scheme-interaction-mode):
16221 Use add/remove-function instead.
16223 * vc/vc-dispatcher.el: Use lexical-binding.
16224 (vc--process-sentinel): Rename from vc-process-sentinel.
16225 Change last arg to be the code to run. Don't use vc-previous-sentinel
16226 and vc-sentinel-commands any more.
16227 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16228 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16230 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16232 * progmodes/sh-script.el (sh-imenu-generic-expression):
16233 Handle function names with a single character. (Bug#14111)
16235 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16237 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16238 for subroutines defined in an eval (bug#14182).
16240 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16242 * bookmark.el (bookmark-completing-read): Improve handling of empty
16243 string (bug#14176).
16245 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16247 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16249 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16251 New faster Imenu implementation (bug#14058).
16252 * progmodes/python.el:
16253 (python-imenu-prev-index-position):
16254 (python-imenu-format-item-label-function)
16255 (python-imenu-format-parent-item-label-function)
16256 (python-imenu-format-parent-item-jump-label-function):
16258 (python-imenu-format-item-label)
16259 (python-imenu-format-parent-item-label)
16260 (python-imenu-format-parent-item-jump-label)
16261 (python-imenu--put-parent, python-imenu--build-tree)
16262 (python-imenu-create-index, python-imenu-create-flat-index)
16263 (python-util-popn): New functions.
16264 (python-mode): Set imenu-create-index-function to
16265 python-imenu-create-index.
16267 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16269 * winner.el (winner-active-region): Use region-active-p, activate-mark
16270 and deactivate-mark (bug#14225).
16272 * simple.el (deactivate-mark): Don't inline it.
16274 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16276 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16278 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16280 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16281 file extensions from the archive-mode entry in order to prefer
16282 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16284 2013-04-18 Leo Liu <sdl.web@gmail.com>
16286 * bindings.el (help-event-list): Add ?\?.
16288 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16290 * subr.el (with-wrapper-hook): Declare obsolete.
16291 * simple.el (filter-buffer-substring-function): New hook.
16292 (filter-buffer-substring): Use it.
16293 (filter-buffer-substring-functions): Mark obsolete.
16294 * minibuffer.el (completion-in-region-function): New hook.
16295 (completion-in-region): Use it.
16296 (completion-in-region-functions): Mark obsolete.
16297 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16298 * abbrev.el (abbrev-expand-function): New hook.
16299 (expand-abbrev): Use it.
16300 (abbrev-expand-functions): Mark obsolete.
16301 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16302 and :filter-return.
16304 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16306 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16307 and do not care about match data.
16309 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16311 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16312 completion tables when completing error conditions and
16313 `declare' arguments.
16314 (lisp-complete-symbol, field-complete): Mark as obsolete.
16315 (check-parens): Unmatched parens are user errors.
16316 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16318 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16320 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16321 command changed buffer (ie. `flyspell-pre-buffer' is not current
16322 buffer), which prevents making decisions based on invalid value of
16323 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16324 cause an error when `flyspell-pre-point' was nil after switching
16326 (flyspell-post-command-hook): No longer needs to change buffers when
16327 checking pre-word. While at it remove unnecessary progn.
16329 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16331 * textmodes/ispell.el (ispell-add-per-file-word-list):
16332 Fix `flyspell-correct-word-before-point' error when accepting
16333 words and `coment-padding' is an integer by using
16334 `comment-normalize-vars' (Bug #14214).
16336 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16338 New defun movement commands.
16339 * progmodes/python.el (python-nav--syntactically)
16340 (python-nav--forward-defun, python-nav-backward-defun)
16341 (python-nav-forward-defun): New functions.
16343 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16345 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16346 (python-syntax-context): Use named compiler-macro for backwards
16347 compatibility with Emacs 24.x.
16349 2013-04-17 Leo Liu <sdl.web@gmail.com>
16351 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16352 octave-hide-process-buffer.
16354 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16356 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16359 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16361 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16362 Fix adjustment of offset when receiving incomplete responses from GDB
16365 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16367 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16368 python-mode-abbrev-table.
16369 (python-skeleton-define): Adjust accordingly.
16370 (python-mode-abbrev-table): New table that inherits from it so that
16371 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16373 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16374 (abbrev-symbol): Use it.
16375 (abbrev--before-point): Use it since we already handle inheritance.
16377 2013-04-16 Leo Liu <sdl.web@gmail.com>
16379 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16380 binding to info-lookup-symbol.
16382 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16384 * minibuffer.el (completion--twq-all):
16385 * term/ns-win.el (ns-initialize-window-system):
16386 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16388 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16390 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16393 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16395 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16397 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16398 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16400 (ruby-end-of-defun): Remove the unused arg, change the docstring
16401 to reflect that this function is only used as the value of
16402 `end-of-defun-function'.
16403 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16404 to reflect an earlier change that beginning/end-of-defun functions
16405 jump between methods in a class definition, as well as top-level
16408 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16410 * minibuffer.el (minibuffer-complete): Don't just scroll
16411 a *Completions* that's been iconified.
16412 (minibuffer-force-complete): Make sure repetitions do cycle when going
16413 through completion-in-region -> minibuffer-complete.
16415 2013-04-15 Alan Mackenzie <acm@muc.de>
16417 Correct the placement of c-cpp-delimiters when there're #s not at
16420 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16421 place a submatch around the #.
16422 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16423 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16426 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16428 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16429 (advice--member-p): New arg `name'.
16430 (advice--add-function, advice-member-p): Use it (bug#14202).
16432 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16434 Reformulate java imenu-generic-expression.
16435 The old expression contained ill formed regexps.
16437 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16438 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16439 (cc-imenu-java-method-arg-regexp): New defconsts.
16440 (cc-imenu-java-build-type-args-regex): New defun.
16441 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16442 handling of spaces in the regexp.
16444 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16446 * textmodes/ispell.el (ispell-command-loop): Remove
16447 flyspell highlight of a word when ispell accepts it (bug #14178).
16449 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16451 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16452 uses code from the previous `ange-ftp-run-real-handler'.
16453 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16454 only in case that function exist. This is needed for proper
16455 unloading of Tramp.
16457 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16459 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16461 * textmodes/reftex.el (reftex-compile-variables): Use it.
16463 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16465 * files.el (normal-mode): Only use default major-mode if no other mode
16468 * emacs-lisp/trace.el (trace-values): New function.
16470 * files.el: Allow : in local variables (bug#14089).
16471 (hack-local-variable-regexp): New var.
16472 (hack-local-variables-prop-line, hack-local-variables): Use it.
16474 2013-04-13 Roland Winkler <winkler@gnu.org>
16476 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16477 data before it gets modified by bibtex-beginning-of-entry.
16479 2013-04-13 Roland Winkler <winkler@gnu.org>
16481 * textmodes/bibtex.el (bibtex-url): Doc fix.
16483 2013-04-13 Roland Winkler <winkler@gnu.org>
16485 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16486 does not visit a BibTeX file, exclude it from the list of buffers
16487 returned by bibtex-initialize.
16489 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16491 * window.el (split-window): Remove interactive form, since as a
16492 command this function is a special case of split-window-below.
16493 Correct doc string.
16495 2013-04-12 Roland Winkler <winkler@gnu.org>
16497 * faces.el (read-face-name): Do not override value of arg default.
16498 Allow single faces and strings as default values. Remove those
16499 elements from return value that are not faces.
16500 (describe-face): Simplify.
16501 (face-at-point): New optional args thing and multiple so that this
16502 function can provide the same functionality previously provided by
16504 (make-face-bold, make-face-unbold, make-face-italic)
16505 (make-face-unitalic, make-face-bold-italic, invert-face)
16506 (modify-face, read-face-and-attribute): Use face-at-point.
16508 * cus-edit.el (customize-face, customize-face-other-window)
16509 * cus-theme.el (custom-theme-add-face)
16510 * face-remap.el (buffer-face-set)
16511 * facemenu.el (facemenu-set-face): Use face-at-point.
16513 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16515 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16517 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16519 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16520 off leading { and trailing } from field values.
16522 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16524 * emacs-lisp/timer.el (timer--check): New function.
16525 (timer--time, timer-set-function, timer-event-handler): Use it.
16526 (timer-set-idle-time): Simplify.
16527 (timer--activate): CSE.
16528 (timer-event-handler): Give more info in error message.
16529 (internal-timer-start-idle): New function, moved from C.
16531 * mpc.el (mpc-proc): Add `restart' argument.
16532 (mpc-proc-cmd): Use it.
16533 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16534 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16537 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16539 * progmodes/sh-script.el: Implement `sh-mode' own
16540 `add-log-current-defun-function' (bug#14112).
16541 (sh-current-defun-name): New function.
16542 (sh-mode): Use the function.
16544 2013-04-09 Bastien Guerry <bzg@gnu.org>
16546 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16548 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16550 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16552 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16555 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16557 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16560 2013-04-07 Leo Liu <sdl.web@gmail.com>
16562 * pcmpl-x.el: New file.
16564 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16566 Do not set x-display-name until X connection is established.
16567 This is needed to prevent from weird situation described at
16568 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16569 * frame.el (make-frame): Set x-display-name after call to
16570 window system initialization function, not before.
16571 * term/x-win.el (x-initialize-window-system): Add optional
16572 display argument and use it.
16573 * term/w32-win.el (w32-initialize-window-system):
16574 * term/ns-win.el (ns-initialize-window-system):
16575 * term/pc-win.el (msdos-initialize-window-system):
16576 Add compatible optional display argument.
16578 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16580 * files.el (normal-backup-enable-predicate): On MS-Windows and
16581 MS-DOS compare truenames of temporary-file-directory and of the
16582 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16583 don't fail comparison by compare-strings. Also, compare file
16584 names case-insensitively on MS-Windows and MS-DOS.
16586 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16588 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16589 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16591 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16593 * whitespace.el (whitespace-color-on, whitespace-color-off):
16594 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16596 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16598 * ispell.el (ispell-set-spellchecker-params):
16599 Really set `ispell-args' for all equivs.
16601 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16603 * ido.el (ido-completions): Use extra elements of ido-decorations
16605 (ido-decorations): Update docstring.
16607 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16609 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16610 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16611 nil during initialization, in order not to miss changes since the
16612 file was opened. (Bug#14140)
16614 2013-04-05 Leo Liu <sdl.web@gmail.com>
16616 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16618 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16620 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16622 2013-04-04 Glenn Morris <rgm@gnu.org>
16624 * electric.el (electric-pair-inhibit-predicate): Add :version.
16626 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16628 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16629 when a package is required several times (bug#14082).
16631 2013-04-04 Roland Winkler <winkler@gnu.org>
16633 * faces.el (read-face-name): Behave as promised by the docstring.
16634 Assume that arg default is a list of faces.
16635 (describe-face): Call read-face-name with list of default faces.
16637 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16639 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16640 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16641 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16643 (bookmark-exit-hook-internal): Save even if list is empty.
16645 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16647 * emacs-lisp/package.el (package-pinned-packages): New var.
16648 (package--add-to-archive-contents): Obey it (bug#14118).
16650 2013-04-03 Alan Mackenzie <acm@muc.de>
16652 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16653 Also adapt to the new values of element 7 of a parse state.
16655 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16656 parameter `not-in-delimiter'. Handle being inside comment opener.
16657 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16658 character in case we're typing a '*' after a '/'.
16659 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16660 instead by passing the parameter to c-state-pp-to-literal.
16662 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16663 for elt. 7 of a parse state.
16665 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16667 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16668 * international/latin1-disp.el, international/mule-util.el:
16669 * language/cyril-util.el, language/european.el, language/ind-util.el:
16670 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16671 * language/tibetan.el, language/viet-util.el:
16672 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16674 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16676 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16677 (electric-pair-post-self-insert-function): Use it.
16678 (electric-pair-default-inhibit): New function, extracted from
16679 electric-pair-post-self-insert-function.
16681 2013-03-31 Roland Winkler <winkler@gnu.org>
16683 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16685 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16687 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16689 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16691 Un-indent after "pass" and "return" statements (Bug#13888)
16692 * progmodes/python.el (python-indent-block-enders): New var.
16693 (python-indent-calculate-indentation): Use it.
16695 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16697 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16698 defun. Defining it as defalias could introduce too eager
16699 byte-compiler optimization. (Bug#14030)
16701 2013-03-30 Chong Yidong <cyd@gnu.org>
16703 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16705 2013-03-30 Leo Liu <sdl.web@gmail.com>
16707 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16708 (kmacro-execute-from-register): Pass the keyboard macro to
16709 kmacro-call-macro or repeating won't work correctly.
16711 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16713 * progmodes/subword.el: Back to using `forward-symbol'.
16715 * subr.el (forward-whitespace, forward-symbol)
16716 (forward-same-syntax): Move from thingatpt.el.
16718 2013-03-29 Leo Liu <sdl.web@gmail.com>
16720 * kmacro.el (kmacro-to-register): New command.
16721 (kmacro-execute-from-register): New function.
16722 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16724 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16726 * mpc.el: Use defvar-local and setq-local.
16727 (mpc--proc-connect): Connection failures are not bugs.
16728 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16729 (mpc-volume-map): Bind to the up-events.
16731 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16733 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16734 instead of `forward-symbol'.
16736 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16738 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16739 (edebug--recursive-edit): Use it.
16740 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16741 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16743 2013-03-28 Leo Liu <sdl.web@gmail.com>
16745 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16747 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16749 * facemenu.el (list-colors-callback): New defvar.
16750 (list-colors-redisplay): New function.
16751 (list-colors-display): Install list-colors-redisplay as the
16752 revert-buffer-function. (Bug#14063)
16754 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16756 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16757 and suffixes don't overlap (bug#14061).
16759 * case-table.el: Use lexical-binding.
16760 (case-table-get-table): New function.
16761 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16763 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16765 * progmodes/subword.el: Add `superword-mode' to do word motion
16766 over symbol_words (parallels and leverages `subword-mode' which
16767 does word motion inside MixedCaseWords).
16769 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16771 * eshell/em-unix.el: Move su and sudo to...
16772 * eshell/em-tramp.el: ...Eshell tramp module.
16774 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16776 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16777 Change return value to be a sexp. Delay `get-buffer' to after
16778 restoring the desktop (bug#13951).
16780 2013-03-26 Leo Liu <sdl.web@gmail.com>
16782 * register.el: Move semantic tag handling back to
16783 cedet/semantic/senator.el. (Bug#14052)
16785 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16787 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16788 into the prompt either (bug#13963).
16790 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16792 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16793 part of "(error-foo)".
16795 2013-03-24 Juri Linkov <juri@jurta.org>
16797 * replace.el (list-matching-lines-prefix-face): New defcustom.
16798 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16799 `occur-engine' if `face-differs-from-default-p' returns t.
16800 (occur-engine): Add `,' inside backquote construct to evaluate
16801 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16802 Pass `prefix-face' to the functions `occur-context-lines' and
16803 `occur-engine-add-prefix'.
16804 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16805 `prefix-face' and propertize the prefix with `prefix-face'.
16808 2013-03-24 Leo Liu <sdl.web@gmail.com>
16810 * nxml/rng-valid.el (rng-validate-while-idle)
16811 (rng-validate-quick-while-idle): Guard against deleted buffer.
16814 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16815 is the last entry in kill-buffer-hook.
16817 * files.el (kill-buffer-hook): Doc fix.
16819 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16821 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16822 Make it safe-local.
16824 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16826 2013-03-23 Leo Liu <sdl.web@gmail.com>
16828 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16831 * nxml/rng-valid.el (rng-validate-mode)
16832 (rng-after-change-function, rng-do-some-validation):
16833 * nxml/rng-maint.el (rng-validate-buffer):
16834 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16835 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16836 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16837 (nxml-extend-after-change-region): Use with-silent-modifications.
16839 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16842 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16843 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16844 timer-idle-list. (Bug#13999)
16846 2013-03-23 Juri Linkov <juri@jurta.org>
16848 * info.el (info-index-match): New face.
16849 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16850 main pattern and add text properties with the new face to matches
16851 in index entries relative to the beginning of the index entry.
16854 2013-03-21 Eric Ludlam <zappo@gnu.org>
16856 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16857 Inhibit read only while inserting objects.
16859 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16861 * progmodes/cfengine.el: Update docs to mention
16862 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16863 symbol motion. Remove "_" from the word syntax.
16865 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16867 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16868 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16870 2013-03-20 Juri Linkov <juri@jurta.org>
16872 * info.el (Info-next-reference-or-link)
16873 (Info-prev-reference-or-link): New functions.
16874 (Info-next-reference, Info-prev-reference): Use them.
16875 (Info-try-follow-nearest-node): Handle footnote navigation.
16876 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16878 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16880 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16881 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16883 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16885 Suppress unnecessary non-ASCII chatter during build process.
16886 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16887 (batch-skkdic-convert): Suppress most of the chatter.
16888 It's not needed so much now that machines are faster,
16889 and its non-ASCII component was confusing; see Dmitry Gutov in
16890 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16892 2013-03-20 Leo Liu <sdl.web@gmail.com>
16894 * ido.el (ido-chop): Fix bug#10994.
16896 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16898 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16900 (whitespace-color-on, whitespace-color-off):
16901 Use `font-lock-fontify-buffer' (Bug#13817).
16903 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16905 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16906 remapping in mode-line.
16907 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16909 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16911 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16912 value for `whitespace-line' face (Bug#13875).
16913 (whitespace-font-lock-keywords): Change description.
16914 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16915 the constructed keywords instead.
16916 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16918 2013-03-19 Leo Liu <sdl.web@gmail.com>
16920 * progmodes/compile.el (compilation-display-error): New command.
16921 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16924 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16926 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16928 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16930 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16932 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16934 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16936 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16937 * net/tramp-gvfs.el (top):
16938 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16939 (tramp-handle-shell-command): Use it.
16940 (tramp-dissect-file-name): Raise an error when hostname is a
16941 method name, and neither method nor user is specified.
16943 * net/trampver.el: Update release number.
16945 2013-03-18 Leo Liu <sdl.web@gmail.com>
16947 Make sure eldoc can be turned off properly.
16948 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16950 (eldoc-display-message-p): Revert last change.
16951 (eldoc-display-message-no-interference-p)
16952 (eldoc-print-current-symbol-info): Tweak.
16954 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16956 * doc-view.el (doc-view-new-window-function): Check the new window
16957 overlay's display property instead the char property of the
16958 buffer's first char. Use `with-selected-window' instead of
16959 `save-window-excursion' with `select-window'.
16960 (doc-view-document->bitmap): Check the current doc-view overlay's
16961 display property instead the char property of the buffer's first char.
16963 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16965 Automate the build of ja-dic.el (Bug#13984).
16966 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16967 from the input, rather than assume that it's been done for us by the
16968 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16969 the current date into a ja-dic.el comment, as that complicates
16970 regression testing.
16972 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16974 * whitespace.el: Fix double evaluation.
16975 (whitespace-space, whitespace-hspace, whitespace-tab)
16976 (whitespace-newline, whitespace-trailing, whitespace-line)
16977 (whitespace-space-before-tab, whitespace-indentation)
16978 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16980 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16981 (whitespace-color-on): Use a single font-lock-add-keywords call.
16982 Fix double-evaluation of face variables.
16984 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16986 * net/tramp-adb.el (tramp-adb-parse-device-names):
16987 Use `start-process' instead of `call-process'. Otherwise, the
16988 function might be blocked under MS Windows. (Bug#13299)
16990 2013-03-17 Leo Liu <sdl.web@gmail.com>
16992 Extend eldoc to display info in the mode-line. (Bug#13978)
16993 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16994 (eldoc-mode-line-string): New variable.
16995 (eldoc-minibuffer-message): New function.
16996 (eldoc-message-function): New variable.
16997 (eldoc-message): Use it.
16998 (eldoc-display-message-p)
16999 (eldoc-display-message-no-interference-p):
17000 Support eldoc-post-insert-mode.
17002 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17003 (eval-expression): Run it.
17005 2013-03-17 Roland Winkler <winkler@gnu.org>
17007 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17008 strings in the list of return values.
17010 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17012 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17013 radix before checking for HMS forms.
17015 2013-03-16 Leo Liu <sdl.web@gmail.com>
17017 * progmodes/scheme.el: Add indentation and font-locking for λ.
17020 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17022 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17023 token before point (bug#13942).
17025 2013-03-16 Leo Liu <sdl.web@gmail.com>
17027 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17029 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17031 * startup.el (command-line-normalize-file-name): Fix handling of
17032 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17033 <xfq.free@gmail.com> in
17034 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17036 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17038 Sync with Tramp 2.2.7.
17040 * net/trampver.el: Update release number.
17042 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17044 * doc-view.el: Fix bug#13887.
17045 (doc-view-insert-image): Don't modify overlay associated to
17046 non-live windows, and implement horizontal centering of image in
17047 case it's smaller than the window.
17048 (doc-view-new-window-function): Force redisplay of new windows on
17051 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17053 * saveplace.el (save-place-alist-to-file): Don't sort
17054 `save-place-alist', just pretty-print it (bug#13882).
17056 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17058 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17059 Check whether `default-file-name-coding-system' is bound.
17060 It isn't in XEmacs.
17062 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17064 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17065 backquotes for `obsolete' (bug#13929).
17067 * international/mule.el (find-auto-coding): Include file name in
17068 obsolescence warning (bug#13922).
17070 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17072 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17073 for CFEngine 3-specific indentation.
17074 (cfengine3-indent-line): Use it. Fix up category regex.
17075 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17077 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17079 * type-break.el (type-break-file-name):
17080 * textmodes/remember.el (remember-data-file):
17081 * strokes.el (strokes-file):
17082 * shadowfile.el (shadow-initialize):
17083 * saveplace.el (save-place-file):
17084 * ps-bdf.el (bdf-cache-file):
17085 * progmodes/idlwave.el (idlwave-config-directory):
17086 * net/quickurl.el (quickurl-url-file):
17087 * international/kkc.el (kkc-init-file-name):
17088 * ido.el (ido-save-directory-list-file):
17089 * emulation/viper.el (viper-custom-file-name):
17090 * emulation/vip.el (vip-startup-file):
17091 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17092 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17094 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17096 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17097 * language/thai-word.el: Switch to UTF-8.
17099 See ChangeLog.16 for earlier changes.
17101 ;; Local Variables:
17105 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17107 This file is part of GNU Emacs.
17109 GNU Emacs is free software: you can redistribute it and/or modify
17110 it under the terms of the GNU General Public License as published by
17111 the Free Software Foundation, either version 3 of the License, or
17112 (at your option) any later version.
17114 GNU Emacs is distributed in the hope that it will be useful,
17115 but WITHOUT ANY WARRANTY; without even the implied warranty of
17116 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17117 GNU General Public License for more details.
17119 You should have received a copy of the GNU General Public License
17120 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.