1 2015-02-23 Eli Zaretskii <eliz@gnu.org>
3 * frame.el (blink-cursor-timer-function): Don't increment
4 blink-cursor-blinks-done counter when a menu is active on a w32
7 2015-02-19 Juri Linkov <juri@linkov.net>
9 * comint.el (comint-line-beginning-position): Revert searching for
10 the prompt when comint-use-prompt-regexp is non-nil because it
11 doesn't distinguish input from output. Check the field property
12 `output' for the case when comint-use-prompt-regexp is nil.
15 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
17 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
18 with PAGER=cat. (Bug#19870)
20 2015-02-13 Glenn Morris <rgm@gnu.org>
22 * textmodes/flyspell.el (flyspell-duplicate-distance):
25 2015-02-13 Eli Zaretskii <eliz@gnu.org>
27 * textmodes/text-mode.el (text-mode-syntax-table): Make some
28 punctuation character behave as word-constituent, for more
29 compatibility with Unicode.
31 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
33 2015-02-12 Agustín Martín Domingo <agustin6martin@gmail.com>
35 Improve string search in `flyspell-word-search-*`. (Bug#16800)
36 * flyspell.el (flyspell-duplicate-distance): Limit default search
37 distance for duplicated words to 40000.
38 (flyspell-word-search-backward, flyspell-word-search-forward):
39 Search as full word with defined casechars, not as substring.
41 2015-02-10 Juri Linkov <juri@linkov.net>
43 Better support for the case of typing RET on the prompt in comint.
44 * comint.el (comint-get-old-input-default): Go to the field end
45 when comint-use-prompt-regexp is nil.
46 (comint-line-beginning-position): Check if point is already
47 on the prompt before searching for the prompt when
48 comint-use-prompt-regexp is non-nil. (Bug#19710)
50 2015-02-08 Eli Zaretskii <eliz@gnu.org>
52 * frame.el (frame-notice-user-settings): Refresh the value of
53 frame parameters after calling tty-handle-reverse-video. Call
54 face-set-after-frame-default with the actual parameters, to avoid
55 resetting colors back to unspecified.
56 (set-background-color, set-foreground-color): Pass the foreground
57 and background colors to face-set-after-frame-default. (Bug#19802)
59 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
61 * net/network-stream.el (network-stream-open-tls): Respect the
62 :end-of-capability setting.
64 2015-02-05 Juri Linkov <juri@linkov.net>
66 Revert the previous change of comint-line-beginning-position callers,
67 and modify comint-line-beginning-position instead.
69 * comint.el (comint-history-isearch-search)
70 (comint-history-isearch-message, comint-history-isearch-wrap):
71 Use comint-line-beginning-position instead of field-beginning.
72 (comint-send-input): Use either end-of-line or field-end
73 depending on comint-use-prompt-regexp.
74 (comint-line-beginning-position): Search backward
75 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
76 Use field-beginning instead of line-beginning-position
77 if comint-use-prompt-regexp is nil. (Bug#19710)
79 2015-02-04 Robert Pluim <rpluim@gmail.com> (tiny change)
81 * calendar/todo-mode.el (todo-item-done): When done items are
82 hidden, restore point to its location prior to invoking this
85 2015-02-04 Eli Zaretskii <eliz@gnu.org>
87 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
88 mapcar, not mapc, to create the other half of fill-info.
91 2015-02-04 Nicolas Petton <nicolas@petton.fr>
93 * emacs-lisp/authors.el (authors-ignored-files)
94 (authors-renamed-files-alist): Additions.
96 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
98 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
99 tempfile for ControlPath. (Bug#19702)
101 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
103 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
104 ControlPath if possible. (Bug#19702)
106 2015-02-02 Glenn Morris <rgm@gnu.org>
108 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
109 (authors-valid-file-names, authors-renamed-files-alist): Additions.
111 2015-02-01 Alan Mackenzie <acm@muc.de>
113 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
116 * progmodes/cc-mode.el (c-font-lock-init): Setq
117 font-lock-extend-region-functions to nil.
119 2015-01-31 Alan Mackenzie <acm@muc.de>
121 Handle "#" operator properly inside macro. Fix coding bug.
123 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
124 finding a "#" which looks like the start of a macro, check it
125 isn't already inside a macro.
127 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
128 "safe" position into the list of them when this is beyond our
131 2015-01-31 Martin Rudalics <rudalics@gmx.at>
133 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
134 the menu frame is dead. (Bug#19728)
136 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
138 python.el: Handle tabs in python-indent-dedent-line.
140 * progmodes/python.el (python-indent-dedent-line): Fixes for
141 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
143 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
145 * progmodes/python.el (python-indent-context): Respect user
146 indentation after comment.
148 2015-01-29 Tassilo Horn <tsdh@gnu.org>
150 * textmodes/reftex-vars.el (featurep): Conditionalize value of
151 reftex-label-regexps in order to stay compatible with XEmacs 21.5
152 which has no explicitly numbered groups in regexps (bug#19714).
154 2015-01-28 Tassilo Horn <tsdh@gnu.org>
156 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
157 punctuation syntax since to allow bibtex fields with values such
158 as {Test 1) and 2)} (bug#19205, bug#19707).
159 (reftex--prepare-syntax-tables): New function.
160 (reftex-mode): Use it.
162 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
164 python.el: New non-global state dependent indentation engine.
165 (Bug#18319, Bug#19595)
167 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
169 (python-syntax-closing-paren-p): New function.
170 (python-indent-current-level)
171 (python-indent-levels): Mark obsolete.
172 (python-indent-context): Return more context cases.
173 (python-indent--calculate-indentation)
174 (python-indent--calculate-levels): New functions.
175 (python-indent-calculate-levels): Use them.
176 (python-indent-calculate-indentation, python-indent-line):
177 (python-indent-line-function): Rewritten to use new API.
178 (python-indent-dedent-line): Simplify logic.
179 (python-indent-dedent-line-backspace): Use `unless`.
180 (python-indent-toggle-levels): Delete function.
182 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
184 * calc/calc-units.el (math-units-in-expr-p)
185 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
186 (math-extract-units): Handle the `neg' operator. (Bug#19582)
189 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
191 * subr.el (posnp): Correct docstring of `posnp'.
192 (posn-col-row): Make it work with all mouse position objects.
193 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
194 timers if an error occurs during continuous drawing. (Bug#6130)
196 2015-01-20 Eli Zaretskii <eliz@gnu.org>
198 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
200 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
202 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
203 regardless of pcomplete-cycle-completions's value. (Bug#18950)
205 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
207 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
209 (file-notify--descriptor): New defun.
210 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
211 Adapt docstring. Handle multiple values for
212 `file-notify-descriptors' entries. (Bug#18880)
214 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
215 `file-notify-descriptors', the implementation has been changed.
217 2015-01-13 Juri Linkov <juri@linkov.net>
219 * comint.el (comint-history-isearch-search)
220 (comint-history-isearch-wrap): Use field-beginning instead of
221 comint-line-beginning-position.
222 (comint-send-input): Go to the end of the field instead of the end
223 of the line to accept whole multi-line input.
224 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
225 (comint-history-isearch-message): Use field-beginning
226 instead of comint-line-beginning-position - that's more fixes for
227 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
228 (comint-history-isearch-message): Fix args of isearch-message-prefix.
232 2015-01-09 Eli Zaretskii <eliz@gnu.org>
234 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
235 On MS-Windows, bind coding-system-for-read to the console output
236 codepage. (Bug#19458)
238 2015-01-08 Eli Zaretskii <eliz@gnu.org>
240 * simple.el (line-move-visual): When converting X pixel coordinate
241 to temporary-goal-column, adjust the value for right-to-left
242 screen lines. This fixes vertical-motion, next/prev-line, etc.
244 2015-01-06 Glenn Morris <rgm@gnu.org>
246 * progmodes/sh-script.el (sh-mode): Doc fix.
247 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
249 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
251 * emacs-lisp/package.el (package-menu-mode): Use an extra column
252 for the "Version" column, to accomodate date-and-time-based versions.
254 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
256 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
257 * files.el (shell-quote-wildcard-pattern): Also quote "`".
259 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
261 Unbreak `mouse-action' property in text buttons.
262 * button.el (push-button): Fix regression from 2012-12-06.
264 2015-01-01 Eli Zaretskii <eliz@gnu.org>
266 * tool-bar.el (tool-bar-local-item)
267 (tool-bar-local-item-from-menu): Call force-mode-line-update to
268 make sure the tool-bar changes show on display.
270 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
272 Sync with Tramp 2.2.11.
274 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
275 Make an alias for `default-toplevel-value' if it doesn't exist.
277 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
278 Use `tramp-compat-delete-directory'.
280 * net/trampver.el: Update release number.
282 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
284 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
285 for remote files. (Bug#19449)
287 2014-12-28 Eli Zaretskii <eliz@gnu.org>
289 * international/mule.el (define-coding-system): Fix typos in the
292 2014-12-28 Kenichi Handa <handa@gnu.org>
294 * international/mule.el (define-coding-system): Improve the doc
297 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
299 * progmodes/python.el (python-shell-buffer-substring): Handle
300 cornercase when region sent starts at point-min.
302 2014-12-27 Eli Zaretskii <eliz@gnu.org>
304 * language/misc-lang.el (composition-function-table): Add Syriac
305 characters and also ZWJ/ZWNJ. See
306 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
309 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
311 python.el: Fix message when sending region.
313 * progmodes/python.el (python-shell-send-region): Rename argument
314 send-main from nomain. Fix message.
315 (python-shell-send-buffer): Rename argument send-main from arg.
317 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
319 python.el: Cleanup temp files even with eval errors.
321 * progmodes/python.el (python-shell-send-file): Make file-name
322 mandatory. Fix temp file removal in the majority of cases.
324 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
326 python.el: Handle file encoding for shell.
328 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
329 (python-shell--save-temp-file): Write file with proper encoding.
330 (python-shell-buffer-substring): Add coding cookie for detected
331 encoding to generated content. Fix blank lines when removing
333 (python-shell-send-file): Handle file encoding.
334 (python-info-encoding-from-cookie)
335 (python-info-encoding): New functions.
337 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
340 Use `tramp-rsh-end-of-line', it ought to be more robust.
342 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
344 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
347 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
349 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
351 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
352 as end-of-line delimeter for passwords, when running on MS Windows.
354 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
356 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
357 of indent-line-function (bug#19433).
359 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
361 Fix line numbers on Python shell.
362 * progmodes/python.el (python-shell--save-temp-file): Do not
363 append coding cookie.
364 (python-shell-send-string): Generalize for
365 python-shell-send-region.
366 (python--use-fake-loc): Delete var.
367 (python-shell-buffer-substring): Cleanup fake-loc logic.
368 (python-shell-send-region): Remove fake-loc logic, simplify.
370 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
372 * progmodes/python.el (python-indent-post-self-insert-function):
373 Make colon to re-indent only for dedenters, handling
374 multiline-statements gracefully.
376 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
378 * net/tramp.el (tramp-handle-insert-file-contents):
379 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
381 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
383 * net/tramp-sh.el (tramp-send-command-and-read): New optional
385 (tramp-get-remote-path): Use it.
387 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
389 * subr.el (redisplay-dont-pause): Mark as obsolete.
391 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
393 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
394 (tramp-accept-process-output): Use nil as argument for
395 `accept-process-output', when there is a gateway prepended.
397 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
399 (tramp-gw-open-connection): Set process coding system 'binary.
400 (tramp-gw-open-network-stream): Handle HTTP error 403.
402 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
404 (tramp-maybe-open-connection): Set connection property "gateway".
406 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
408 * subr.el (sit-for): Tweak docstring (bug#19381).
410 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
412 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
413 stage to after `diff-index' (bug#19386).
415 2014-12-14 João Távora <joaotavora@gmail.com>
417 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
418 `electric-pair-mode' (bug#19356).
420 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
422 * simple.el (password-word-equivalents): Add "passcode", used for
423 numeric secrets like PINs or RSA tokens.
425 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
427 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
428 order to determine `tramp-own-remote-path'.
430 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
432 * progmodes/python.el (python-shell-parse-command):
433 Quote `python-shell-interpreter`. (Bug#19289)
435 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
437 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
438 of the whole pipe when indenting an opening keyword after a |.
439 Generalize this treatment to opening keywords like "while" (bug#18031).
441 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
443 * simple.el (newline): Place the hook buffer-locally,
444 to make sure it's first.
446 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
447 Fix handling of symbols with different syntax at beginning/end or with
448 symbol rather than word syntax.
450 2014-11-30 Eli Zaretskii <eliz@gnu.org>
452 * simple.el (line-move): If noninteractive, call line-move-1, not
453 forward-line, since the former is compatible with line-move-visual
454 both in terms of the column to which it moves and the return
457 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
458 Stefan Monnier <monnier@iro.umontreal.ca>
460 * outline.el (outline-move-subtree-down): Make sure we can move
461 forward to find the end of the subtree and the insertion point
464 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
466 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
467 for comment lines non-greedy and stopping at newlines to fix stack
468 overflows with large files. [Backport]
470 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
472 * progmodes/python.el (python-shell-completion-setup-code):
473 Use __builtin__ module (or builtins in Python 3) and catch all errors
474 when importing readline and rlcompleter.
476 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
478 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
479 (todo-revert-buffer): New function.
480 (todo-modes-set-1): Use it as the buffer-local value of
481 revert-buffer-function.
483 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
485 * calendar/todo-mode.el (todo-mode): If called interactively, just
486 display a message saying to call todo-show to enter Todo mode
489 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
491 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
494 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
497 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
499 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
500 remote `buffer-file-name'.
502 2014-11-23 Leo Liu <sdl.web@gmail.com>
504 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
506 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
508 Set PYTHONUNBUFFERED on shell startup.
510 * progmodes/python.el (python-shell-unbuffered): New var.
511 (python-shell-calculate-process-environment): Use it.
513 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
515 * net/tramp.el (tramp-action-password): Clean password on subsequent
516 attempts even if there was no wrong password indication. (Bug#19047)
518 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
520 (tramp-open-connection-setup-interactive-shell): No need to check
521 for nil as `tramp-get-remote-locale' return value.
523 2014-11-21 Eli Zaretskii <eliz@gnu.org>
525 * vc/vc-git.el (vc-git-command, vc-git--call):
526 Bind coding-system-for-read and coding-system-for-write to
527 vc-git-commits-coding-system.
528 (vc-git-previous-revision): Use "~1" instead of "^", since the
529 latter is a special character for MS-Windows system shells.
531 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
533 Improve XEmacs compatibility.
535 * net/tramp.el (tramp-autoload-file-name-handler):
536 Wrap `temporary-file-directory' by `symbol-value', it doesn't
538 (tramp-read-passwd): Don't use `with-timeout-suspend' and
539 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
540 (tramp-time-less-p, tramp-time-subtract): Remove functions.
541 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
542 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
543 * net/tramp-cache.el (tramp-get-file-property):
544 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
545 Use `time-less-p' and `time-subtract, respectively.
547 * net/tramp-adb.el (top): Do not require time-date.el.
549 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
551 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
552 Check, whether `utf-8' is a valid coding system.
554 2014-11-19 Eli Zaretskii <eliz@gnu.org>
556 * vc/vc.el (vc-retrieve-tag): Doc fix.
558 2014-11-17 Eli Zaretskii <eliz@gnu.org>
560 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
561 Don't assume --long is the default for "bzr log", always specify
562 it explicitly, in case the user defined an alias for 'log' that
563 uses some other format.
565 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
567 * progmodes/python.el (python-eldoc--get-doc-at-point):
568 Strip shell output before returning. (bug#18794)
570 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
572 Fix indentation before `!=' and after `+='. Originally reported
573 in https://github.com/mooz/js2-mode/issues/174.
574 * progmodes/js.el (js--indent-operator-re): Make assignments and
575 (in)equality operator a separate case.
576 (js--continued-expression-p): Escape the second `+' in the regexp.
578 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
580 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
582 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
584 * version.el (emacs-repository-get-version): Use git rev-parse
587 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
589 * progmodes/python.el (python-indent-calculate-levels):
590 Fix indentation behavior multiline dedenter statement. (Bug#18432)
592 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
594 * progmodes/python.el (python-indent-region):
595 Use python-indent-line and skip special cases. (Bug#18843)
597 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
599 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
601 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
603 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
604 envelope-from when reporting through sendmail (bug#19054).
606 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
608 * progmodes/python.el (python-ffap-module-path):
609 Use `derived-mode-p' instead of equality test on `major-mode'.
611 2014-11-13 Ulrich Müller <ulm@gentoo.org>
613 * version.el (emacs-repository-get-version): Call `git log'
614 command with proper format argument (bug#19049).
616 2014-11-10 Glenn Morris <rgm@gnu.org>
618 * startup.el (command-line): Handle nil elements in load-path.
620 2014-11-08 Glenn Morris <rgm@gnu.org>
622 * emacs-lisp/bytecomp.el (byte-compile-report-error):
623 Allow the argument to be a string. Due to the vague doc,
624 it was already being used this way.
626 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
628 * net/tramp.el (tramp-check-cached-permissions): Include hop in
629 the constructed Tramp file name. (Bug#18943)
631 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
633 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
635 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
636 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
638 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
640 * files.el (file-name-non-special): Wrap the call of
641 `insert-file-contents' by `unwind-protect', in order to set the
642 buffer's file name anyway. (Bug#18891)
644 2014-11-07 Daiki Ueno <ueno@gnu.org>
646 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
647 (bug#18979). Reported by Hideki Saito.
649 2014-10-18 Alan Mackenzie <acm@muc.de>
651 Check that a "macro" found near point-min isn't a ## operator.
652 Fixes bug #18749. Backported from trunk, 2014-11-05.
653 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
654 (c-beginning-of-macro): Use the above new function.
656 2014-11-05 Alan Mackenzie <acm@muc.de>
658 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
659 * progmodes/cc-fonts.el (c-font-lock-declarations):
660 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
661 the buffer is sometimes narrowed to less than "limit" (e.g., in
662 the presence of macros).
664 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
666 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
667 only when message appeared in minibuffer. (Bug#18891)
669 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
670 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
671 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
674 2014-11-04 Eli Zaretskii <eliz@gnu.org>
676 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
677 returned by load-average.
679 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
681 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
682 a local copy; setting `inhibit-file-name-handlers' proper might be
683 more performant. (Bug#18751)
685 2014-11-04 Glenn Morris <rgm@gnu.org>
687 * mail/emacsbug.el (report-emacs-bug): No longer include
688 recent-keys in the report. (Bug#18900)
690 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
693 local copy of FILENAME, when it is remote. (Bug#18751)
695 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
697 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
698 an error when the command fails; the return code must indicate.
699 (tramp-adb-send-command-and-check): Fix docstring.
701 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
703 * net/tramp-cache.el (tramp-get-file-property)
704 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
705 and `tramp-cache-set-count-*' are bound. Otherwise, there might
706 be compiler warnings.
708 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
709 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
711 2014-11-01 Eli Zaretskii <eliz@gnu.org>
713 * progmodes/compile.el (compilation-mode): Turn off deferred
714 fontifications locally. (Bug#18856)
716 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
718 * net/tramp-sh.el (tramp-send-command): Fix the case where the
719 remote-echo connection property is non-nil (bug#18858).
721 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
723 Backport Tramp changes from trunk.
725 * net/tramp.el (tramp-methods): Tweak docstring.
726 (tramp-file-name-handler): Apply `cons' where appropriate.
727 (tramp-handle-file-accessible-directory-p): Check for
728 `file-readable-p' instead of `file-executable-p'.
729 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
730 (tramp-handle-unhandled-file-name-directory): Return "/".
731 (tramp-check-cached-permissions):
732 Use `tramp-compat-file-attributes'.
733 (tramp-call-process): Add new argument VEC. Adapt callees in all
736 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
737 (tramp-adb-handle-write-region): Improve messages.
738 (tramp-adb-maybe-open-connection): Don't set
739 `tramp-current-*' variables.
741 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
742 Suppress debug messages.
744 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
745 (tramp-ftp-file-name-handler):
747 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
748 (tramp-gvfs-methods-mounttracker)
749 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
750 during initialization. (Bug#18774)
751 (tramp-gvfs-handle-delete-file): Flush file properties, not
752 directory properties.
753 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
754 reading "unix::mode".
755 (tramp-gvfs-handle-file-name-all-completions):
756 Use "-h" option for "gvfs-ls".
757 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
758 `user' and `localname' could be nil.
759 (tramp-gvfs-send-command): Simplify traces.
761 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
762 (vc-git-program, vc-hg-program): Declare.
763 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
764 (tramp-methods) <nc>: Add new method.
765 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
766 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
768 (tramp-default-user-alist): Add "nc".
769 (top): Remove completion function for "sftp". Add completion
770 functions for "nc" and "psftp".
771 (tramp-sh-handle-set-visited-file-modtime):
772 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
773 (tramp-do-copy-or-rename-file-out-of-band):
774 Use cached "remote-copy-args" value, if available. (Bug#18199)
775 Tweak docstring. Implement support for "nc" method.
776 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
777 (tramp-remote-coding-commands, tramp-call-local-coding-command):
779 (tramp-sh-handle-start-file-process): Expand `default-directory'.
780 (tramp-sh-handle-write-region): Tweak error message.
781 (tramp-sh-handle-vc-registered): Remove backends when the remote
782 binary does not exist.
783 (tramp-open-connection-setup-interactive-shell):
784 Prefer utf-8 coding. (Bug#17859)
785 (tramp-find-inline-encoding): Do not raise an error.
786 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
787 the "nc" case. Quote result also locally.
788 (tramp-get-remote-id): Check also for "gid".
789 (tramp-get-remote-python):
791 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
792 (tramp-smb-handle-set-file-acl): Use `start-process'.
793 (tramp-smb-handle-insert-directory): Use progress reporter.
794 (tramp-smb-handle-rename-file): Flush also file properties of
797 * net/trampver.el: Update release number.
799 2014-11-01 Reuben Thomas <rrt@sc3d.org>
801 * net/tramp.el (tramp-handle-file-symlink-p):
802 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
803 about VMS, which we no longer support.
805 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
807 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
808 the global vc-handled-backends (bug#18535).
810 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
811 Michael Albinus <michael.albinus@gmx.de>
813 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
814 Reduce the amount of set environment variable commands.
816 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
818 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
821 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
823 * net/tramp-sh.el (tramp-get-remote-python): Also search for
824 executables named "python2" or "python3".
825 (tramp-get-remote-uid-with-python): Use parentheses around
826 arguments to `print' to make it compatible with Python 3.
827 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
829 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
831 * simple.el (newline): Add assertions to try and help catch bug#18913.
833 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
835 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
837 2014-10-31 Eli Zaretskii <eliz@gnu.org>
839 * Makefile.in (repo-update): Fix a typo and slightly reword
842 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
844 * Makefile.in: Change some production names so they're neutral
845 about the repository type.
847 2014-10-30 Kim F. Storm <storm@cua.dk>
849 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
850 * delsel.el (delete-selection-save-to-register)
851 (delsel--replace-text-or-position): New vars.
852 (delete-active-region): Use them.
853 (delete-selection-repeat-replace-region): New command, moved from
855 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
856 (cua-repeat-replace-region): Move command to delsel.el.
857 (cua--init-keymaps): Update binding accordingly.
858 (cua-mode): Set delete-selection-save-to-register.
860 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
862 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
864 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
866 2014-10-29 Eli Zaretskii <eliz@gnu.org>
868 * progmodes/compile.el (compilation-start):
869 If compilation-scroll-output is non-nil, don't force window-start of
870 the compilation buffer to be at beginning of buffer. (Bug#18874)
872 2014-10-23 Tassilo Horn <tsdh@gnu.org>
874 * doc-view.el (doc-view-open-text): View the document's plain text
875 in the current buffer instead of a new one.
876 (doc-view-toggle-display): Handle the case where the current
877 buffer contains the plain text contents of the document.
878 (doc-view-initiate-display): Don't switch to fallback mode if the
879 user wants to view the doc's plain text. [Backport]
881 2014-10-23 Eli Zaretskii <eliz@gnu.org>
883 * startup.el (fancy-about-text): Read the entire tutorial, not
884 just its first 256 bytes. (Bug#18760)
886 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
888 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
889 * emacs-lisp/cl-extra.el: Add missing provide.
891 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
893 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
894 all args are copyable (bug#18767).
895 (=, <, >, <=, >=): Re-enable the optimization.
897 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
899 * vc/vc-hg.el (vc-hg-log-graph): New var.
900 (vc-hg-print-log): Use it.
901 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
902 graph output (bug#17515).
904 2014-10-20 Juri Linkov <juri@jurta.org>
906 * vc/diff-mode.el (diff-refine-changed): Rename from
907 `diff-refine-change' for consistency with `diff-changed'.
908 (diff-refine-change): Add obsolete face alias. (Bug#10181)
910 * vc/smerge-mode.el (smerge-refined-changed): Rename from
911 `smerge-refined-change'.
912 (smerge-refined-change): Add obsolete face alias.
914 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
916 * subr.el (call-process-shell-command, process-file-shell-command):
917 Make the `args' obsolete (bug#18409).
918 (start-process-shell-command, start-file-process-shell-command):
921 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
923 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
925 2014-10-20 Glenn Morris <rgm@gnu.org>
927 * dired.el (dired-read-regexp): Make obsolete.
928 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
929 (dired-flag-files-regexp):
930 * dired-aux.el (dired-mark-read-regexp):
931 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
933 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
935 * progmodes/python.el (inferior-python-mode): Use add-hook.
937 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
939 2014-10-20 Glenn Morris <rgm@gnu.org>
941 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
942 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
943 * emulation/ws-mode.el: Move to obsolete/. [Backport]
945 2014-10-20 Glenn Morris <rgm@gnu.org>
947 * cus-start.el (history-length): Bump :version. [Backport]
949 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
951 * obsolete/cc-compat.el: Make obsolete (bug#18561).
953 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
955 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
958 2014-10-20 Glenn Morris <rgm@gnu.org>
960 * Version 24.4 released.
962 2014-10-15 Alan Mackenzie <acm@muc.de>
964 * cus-edit.el (custom-command-apply): Specify the return value in
966 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
967 custom-command-apply has returned non-nil.
969 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
971 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
972 Backported (bug#18688).
974 2014-10-14 Eli Zaretskii <eliz@gnu.org>
976 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
977 Force bidi-paragraph-direction to 'left-to-right'. This fixes
978 buffer-menu display when the first buffer happens to start with
981 2014-10-13 Glenn Morris <rgm@gnu.org>
983 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
984 (authors-obsolete-files-regexps): Additions.
985 (authors-no-scan-regexps): New constant.
986 (authors-no-scan-file-p): New function.
987 (authors): Respect authors-no-scan-file-p.
989 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
991 Fix import completion. (Bug#18582)
992 * progmodes/python.el (python-shell-completion-get-completions):
993 Fix import case regexp.
995 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
997 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
998 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
999 * progmodes/prolog.el (prolog-electric--underscore): Same.
1001 2014-10-09 Glenn Morris <rgm@gnu.org>
1003 * frame.el (display-monitor-attributes-list): Doc tweaks.
1005 2014-10-08 Eli Zaretskii <eliz@gnu.org>
1007 * faces.el (display-grayscale-p): Mention in the doc string that
1008 the argument can be either a display name or a frame.
1010 * frame.el (display-pixel-height, display-pixel-width)
1011 (display-mm-height, display-mm-width, display-backing-store)
1012 (display-save-under, display-planes, display-color-cells)
1013 (display-visual-class, display-monitor-attributes-list)
1014 (display-screens): Mention in the doc string that the argument can
1015 be either a display name or a frame. Improve the docs of the
1016 monitor attributes. (Bug#18636)
1018 2014-10-06 Martin Rudalics <rudalics@gmx.at>
1020 * term.el (term-window-width): Subtract 1 from the width when
1021 any fringe has zero width, not just the right fringe. (Bug#18601)
1023 2014-10-05 Leo Liu <sdl.web@gmail.com>
1025 * imenu.el (imenu-default-goto-function): Fix typo.
1027 2014-10-04 Glenn Morris <rgm@gnu.org>
1029 * frame.el (frame-monitor-attributes)
1030 (display-monitor-attributes-list): Doc fixes.
1032 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1034 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1035 (vc-svn-ignore): Use it. (Bug#18619)
1037 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1039 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1040 In doc-string mention need to set `frame-resize-pixelwise'.
1042 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1045 similarly to Rogers's 2010-06-16 change for the remote case
1048 2014-10-01 Glenn Morris <rgm@gnu.org>
1050 * emacs-lisp/package.el (package-import-keyring):
1051 Create gnupg directory private. (Bug#17625#155)
1053 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1055 * progmodes/python.el (python-shell-completion-get-completions):
1056 Use python-shell--prompt-calculated-input-regexp from the
1057 process buffer (bug#18582).
1058 Don't assume that `line' comes from the process buffer.
1060 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
1062 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
1065 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * emacs-lisp/package.el (package-check-signature): Default to nil if
1068 GPG is not available.
1069 (package-refresh-contents): Don't mess with the keyring if we won't
1070 check the signatures anyway.
1072 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
1074 * window.el (fit-window-to-buffer): When counting buffer width,
1075 count the whole visible buffer. Correctly convert the body-height
1076 to pixel size for window-text-pixel-size (Bug#18498).
1078 2014-09-14 Glenn Morris <rgm@gnu.org>
1080 * image.el (image-multi-frame-p): Fix thinko - do not force
1081 a delay if none was specified. (Bug#18334)
1083 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1085 * window.el (fit-window-to-buffer): Doc fix.
1087 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1089 * desktop.el (desktop-create-buffer): Check that buffers are still live
1090 before burying them (bug#18373).
1092 2014-09-09 Glenn Morris <rgm@gnu.org>
1094 * calendar/diary-lib.el (diary-list-entries):
1095 Restore 24.3 display behavior. (Bug#18381)
1097 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1099 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1100 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1101 discrepancy between window-pixel-edges and mouse events, and
1102 avoids moving mode line up when the mouse click is on the modeline
1103 and no drag is attempted.
1105 2014-09-08 Glenn Morris <rgm@gnu.org>
1107 * calendar/calendar.el (calendar-basic-setup):
1108 Avoid clobbering calendar with diary. (Bug#18381)
1110 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1112 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1114 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1116 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1117 as well (bug#18400).
1119 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1121 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1123 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * emacs-lisp/package.el (package-generate-description-file):
1126 Properly quote the arguments (bug#18332). Change second arg.
1127 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1129 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1130 the *-pkg.el file. Adjust to new calling convention of
1131 package-generate-description-file.
1133 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1134 (gud-gdb-completions): Remove obsolete workaround.
1136 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1138 * subr.el (posn-col-row): Revert the change from commit
1139 2010-11-13T21:07:58Z!eliz@gnu.org, which
1140 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1141 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1142 introduced an off-by-one error in the reported row when there is a
1143 header line. (Bug#18384)
1145 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1147 * progmodes/python.el (python-indent-post-self-insert-function):
1148 Avoid electric colon at beginning-of-defun. (Bug#18228)
1150 2014-09-01 Glenn Morris <rgm@gnu.org>
1152 * tutorial.el (tutorial--display-changes):
1153 Fix 2014-07-29 change. (Bug#18382)
1155 2014-08-29 Ken Brown <kbrown@cornell.edu>
1157 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1158 the Cygwin-w32 build. (Bug#18347)
1160 2014-08-28 Glenn Morris <rgm@gnu.org>
1162 * tar-mode.el (tar--extract, tar-extract):
1163 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1165 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1167 * emacs-lisp/authors.el (authors-aliases): Addition.
1169 * net/tramp-adb.el: Spell author name correctly.
1171 2014-08-27 João Távora <joaotavora@gmail.com>
1173 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1174 use url-expand-file-name. (Bug#18310)
1176 2014-08-25 Glenn Morris <rgm@gnu.org>
1178 * emulation/cua-rect.el (cua--highlight-rectangle):
1179 Avoid error at point-min. (Bug#18309)
1181 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1184 executable-find (bug#18244).
1186 * simple.el (self-insert-uses-region-functions): Defvar.
1188 2014-08-13 Leo Liu <sdl.web@gmail.com>
1190 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1191 elements from imenu.
1193 2014-08-11 Glenn Morris <rgm@gnu.org>
1195 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1197 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1198 chose coding system for writing before backing up, since it causes
1199 a more serious problem than the one it solves. (Closes Bug#18141,
1202 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1204 * window.el (window-total-size): Make doc-string more
1207 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1209 * window.el (display-buffer-below-selected): Restore original
1210 behavior if buffer is already displayed in the window below the
1211 selected one (Bug#18181).
1213 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1218 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1220 * info.el (info): Doc fix.
1222 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1224 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1227 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1229 * simple.el (default-line-height): A floating-point value of
1230 line-spacing means a fraction of the default frame font's height,
1231 not of the font currently used by the 'default' face.
1232 Truncate the pixel value, like the display engine does.
1233 (window-screen-lines): Use window-inside-pixel-edges for
1234 determining the window height in pixels. (Bug#18195)
1236 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1238 * tutorial.el (tutorial--display-changes): Accept punctuation
1239 characters before the key binding. (Bug#18146)
1241 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1243 * doc-view.el (doc-view-open-text): Don't require that the
1244 document is saved in a file (e.g., email attachment).
1246 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1248 * window.el (window--pixel-to-total): Use FRAME's root window, not
1249 that of the selected frame. (Bug#18112, Bug#16674)
1251 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1253 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1256 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1258 * progmodes/python.el (inferior-python-mode): Doc fix.
1260 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1262 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1263 not a character, ignore it instead of raising an error.
1265 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1267 * calendar/todo-mode.el: Fix handling of marked items and make
1268 minor code improvements.
1269 (todo-edit-item): If there are marked items, ensure user can only
1270 invoke editing commands that work with marked items.
1271 (todo-edit-item--text): When there are marked items, make it a
1272 noop if invoked with point not on an item; otherwise, ensure it
1273 applies only to item at point.
1274 (todo-item-undone): If there are marked not-done items, return
1275 point to its original position before signaling user error.
1276 (todo--user-error-if-marked-done-item): New function.
1277 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1278 (todo-item-done): Use it.
1280 2014-07-25 Glenn Morris <rgm@gnu.org>
1282 * files.el (toggle-read-only): Re-add basic doc-string.
1283 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1285 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1286 Replace missing `switch-to-prolog' with `run-prolog'.
1287 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1289 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1291 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1292 of file-wide setting when changing category-wide setting.
1294 2014-07-21 Glenn Morris <rgm@gnu.org>
1296 * progmodes/hideif.el (hide-ifdef-mode-submap):
1297 Also substitute read-only-mode.
1298 * bindings.el (mode-line-toggle-read-only):
1299 * bs.el (bs-toggle-readonly):
1300 * buff-menu.el (Buffer-menu-toggle-read-only):
1301 * dired.el (dired-toggle-read-only):
1302 * files.el (view-read-only, find-file-read-only)
1303 (find-file-read-only-other-window)
1304 (find-file-read-only-other-frame):
1305 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1306 Doc fixes re toggle-read-only.
1308 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1310 * progmodes/python.el: Add comment about pipe buffering and
1311 solutions for missing/delayed output in inferior Python shells.
1314 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1316 * progmodes/python.el (python-mode): Don't set
1317 mode-require-final-newline. (Bug#17990)
1319 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1321 Make python.el work with IPython automatically. (Bug#15510)
1322 * progmodes/python.el:
1323 (python-shell-completion-setup-code): New value supporting iPython.
1324 (python-shell-completion-string-code): New value supporting iPython.
1325 (python-shell-completion-get-completions): Use them.
1326 (python-shell-completion-module-string-code): Make obsolete.
1327 (python-shell-prompt-input-regexps)
1328 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1329 (python-shell-output-filter): Fix comment typo.
1331 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1333 Fix Python shell prompts detection for remote hosts.
1334 * progmodes/python.el (python-shell-prompt-detect):
1335 Replace call-process with process-file and make it more robust.
1337 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1339 Autodetect Python shell prompts. (Bug#17370)
1340 * progmodes/python.el:
1341 (python-shell-interpreter-interactive-arg)
1342 (python-shell-prompt-detect-enabled)
1343 (python-shell-prompt-detect-failure-warning)
1344 (python-shell-prompt-input-regexps)
1345 (python-shell-prompt-output-regexps): New vars.
1346 (python-shell-prompt-calculated-input-regexp)
1347 (python-shell-prompt-calculated-output-regexp): New vars.
1348 (python-shell-get-process-name)
1349 (python-shell-internal-get-process-name)
1350 (python-shell-output-filter)
1351 (python-shell-completion-get-completions): Use them.
1352 (python-shell-prompt-detect)
1353 (python-shell-prompt-validate-regexps): New functions.
1354 (python-shell-prompt-set-calculated-regexps): New function.
1355 (inferior-python-mode): Use it. Also honor overridden
1356 python-shell-interpreter and python-shell-interpreter-args.
1357 (python-shell-make-comint): Honor overridden
1358 python-shell-interpreter and python-shell-interpreter-args.
1359 (python-shell-get-or-create-process): Make it testable by allowing
1360 to call run-python non-interactively.
1361 (python-util-valid-regexp-p): New function.
1362 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1363 (python-shell-prompt-output-regexp)
1364 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1366 2014-07-16 Glenn Morris <rgm@gnu.org>
1368 * desktop.el (after-init-hook): Disable startup frame restoration
1369 in non-graphical situations. (Bug#17693)
1371 2014-07-14 Glenn Morris <rgm@gnu.org>
1373 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1374 if it was "empty", or used for a different set of files. (Bug#17884)
1376 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1378 * bindings.el (mode-line-remote): If default-directory is not a
1379 string, don't call file-remote-p on it; instead state in the
1380 help-echo that it is nil. (Bug#17986)
1382 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1384 Fix bug: C-x v v discarded existing log message (Bug#17884).
1385 * vc/vc-dispatcher.el (vc-log-edit):
1386 Don't clobber an already-existing log message.
1388 2014-07-10 Glenn Morris <rgm@gnu.org>
1390 * vc/log-edit.el (log-edit-changelog-entries):
1391 Check for a visited-but-never-saved ChangeLog.
1393 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1396 a non-existing file (bug#17970).
1398 * faces.el (face-name): Undo last change.
1399 (x-resolve-font-name): Don't call face-name (bug#17956).
1401 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1403 Fix dedenters and electric colon handling. (Bug#15163)
1405 * progmodes/python.el
1406 (python-rx-constituents): Add dedenter and block-ender.
1407 (python-indent-dedenters, python-indent-block-enders): Delete.
1408 (python-indent-context): Return new case for dedenter-statement.
1409 (python-indent-calculate-indentation): Handle new case.
1410 (python-indent-calculate-levels): Fix levels calculation for
1411 dedenter statements.
1412 (python-indent-post-self-insert-function): Fix colon handling.
1413 (python-info-dedenter-opening-block-message): New function.
1414 (python-indent-line): Use it.
1415 (python-info-closing-block)
1416 (python-info-closing-block-message): Remove.
1417 (python-info-dedenter-opening-block-position)
1418 (python-info-dedenter-opening-block-positions)
1419 (python-info-dedenter-statement-p): New functions.
1421 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1423 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1424 the middle of a line (bug#17896).
1426 2014-07-08 Juri Linkov <juri@jurta.org>
1428 * startup.el (command-line): Append displaying the warning about
1429 the errors in the init file to the end of `after-init-hook'.
1432 2014-07-08 Juri Linkov <juri@jurta.org>
1434 * faces.el (face-name): Return input arg `face' as is
1435 when it's not a symbol.
1436 (x-resolve-font-name): Don't check if the face is a symbol.
1439 2014-07-08 Juri Linkov <juri@jurta.org>
1441 * facemenu.el (list-colors-print): In help-echo format use %.2f
1442 instead of %d because now HSV values are floating-point components
1443 between 0.0 and 1.0.
1445 2014-07-06 Glenn Morris <rgm@gnu.org>
1447 * emulation/cua-rect.el (cua--activate-rectangle):
1448 Avoid setting cua--rectangle to nil. (Bug#17877)
1450 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1452 * calendar/todo-mode.el: Fix wrong-type-argument error when
1453 marking multiple consecutive items.
1454 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1455 end of the todo and done items sections. Note in doc string that
1456 items marked by passing a numeric prefix argument can include the
1457 last todo and first done items.
1458 (todo-mark-category): Don't try to mark the empty line between the
1459 todo and done items sections.
1461 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1463 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1464 proper Lisp quoting (bug#17934).
1466 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1467 require-final-newline since prog-mode already took care of it (bug#17947).
1469 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1471 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1472 refer to the Todo mode Info manual. Update the comment on
1474 (todo-find-filtered-items-file): Add todo-prefix overlays.
1475 (todo-filter-items): Reorder a let-bound variable to avoid a
1476 wrong-type-argument error on canceling the file choice dialog.
1478 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1480 * progmodes/octave.el (inferior-octave-mode):
1481 Set comint-input-ring-size to a number (bug#17912).
1483 2014-07-03 Juri Linkov <juri@jurta.org>
1485 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1486 and `isearch-mode' associated with nil. (Bug#17849)
1488 2014-07-02 Juri Linkov <juri@jurta.org>
1490 * desktop.el (desktop-save): Rename arg `auto-save' to
1491 `only-if-changed'. Doc fix. (Bug#17873)
1493 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1496 Use insert-for-yank (bug#17271).
1498 2014-07-02 Leo Liu <sdl.web@gmail.com>
1500 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1501 Support lexical-binding.
1503 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * vc/log-edit.el (log-edit-goto-eoh): New function.
1506 (log-edit--match-first-line): Use it (bug#17861).
1508 2014-07-01 Glenn Morris <rgm@gnu.org>
1510 * vc/log-edit.el (log-edit-hook): Add missing :version.
1512 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1514 * progmodes/python.el (python-indent-post-self-insert-function):
1515 Enhancements to electric indentation behavior inside
1518 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1520 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1521 buffer-invisibility-spec (bug#17867).
1523 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1525 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1528 2014-06-29 Glenn Morris <rgm@gnu.org>
1530 * cus-edit.el (help):
1531 * finder.el (finder-known-keywords):
1532 * help.el (help-for-help-internal):
1533 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1534 (ediff-redraw-registry-buffer):
1535 * vc/ediff-ptch.el (ediff-patch-file-internal):
1536 Doc fixes re "online" help. (Bug#17803)
1538 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1539 (idlwave-mode): Doc URL update.
1541 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1543 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1544 account for file-wide setting of todo-top-priorities-overrides.
1545 Make code a bit cleaner.
1547 2014-06-27 Leo Liu <sdl.web@gmail.com>
1549 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1551 2014-06-27 Glenn Morris <rgm@gnu.org>
1553 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1555 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1557 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1558 category-wide setting of todo-top-priorities-overrides, check for
1559 a file-wide setting and fontify accordingly.
1561 2014-06-26 Glenn Morris <rgm@gnu.org>
1563 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1565 2014-06-26 Daiki Ueno <ueno@gnu.org>
1567 * emacs-lisp/package.el (package--check-signature):
1568 If package-check-signature is allow-unsigned, don't signal error when
1569 we can't verify signature because of missing public key
1570 (backport for bug#17625).
1572 2014-06-26 Glenn Morris <rgm@gnu.org>
1574 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1575 Remove outdated declaration.
1577 * emacs-lisp/authors.el (authors-valid-file-names)
1578 (authors-renamed-files-alist): Additions.
1580 2014-06-25 Leo Liu <sdl.web@gmail.com>
1582 * textmodes/picture.el (picture-set-tab-stops):
1583 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1584 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1586 * progmodes/asm-mode.el (asm-calculate-indentation):
1587 Use indent-next-tab-stop.
1589 * indent.el (indent-accumulate-tab-stops): New function.
1591 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1594 (package-desc-status): Obey it.
1596 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1598 * calendar/todo-mode.el: Fix two bugs.
1599 (todo-insert-item--basic): If user cancels item insertion to
1600 another category before setting priority, show original category
1601 whether it is in the same or a different file.
1602 (todo-set-item-priority): After selecting category, instead of
1603 moving point to top, which extends an active region, restore it.
1605 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1607 * help-fns.el (describe-function-1): Check file-name is a string before
1608 calling help-fns--autoloaded-p (bug#17564).
1610 2014-06-24 Juri Linkov <juri@jurta.org>
1612 * desktop.el (desktop-auto-save-enable)
1613 (desktop-auto-save-disable): New functions.
1614 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1615 (desktop-read): Disable the autosave before loading the desktop,
1616 and enable afterwards. (Bug#17351)
1618 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1620 Fix some indentation problem with \; and pipes (bug#17842).
1621 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1622 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1624 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1625 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1626 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1628 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1630 * international/fontset.el (script-representative-chars):
1631 Add representative characters for scripts added in Unicode 7.0.
1632 (otf-script-alist): Synchronize with the latest registry of OTF
1635 * international/characters.el (char-script-table): Update for
1636 scripts added and codepoint ranges changed in Unicode 7.0.
1638 2014-06-23 Leo Liu <sdl.web@gmail.com>
1640 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1641 tab-stop-list to nil. (Bug#16381)
1643 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1644 (indent-rigidly-left-to-tab-stop)
1645 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1646 (move-to-tab-stop): Change callers.
1648 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1650 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1651 wrt behavior of \n as the first/last element of a skeleton.
1653 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1655 * net/tramp-adb.el (tramp-adb-handle-process-file):
1656 * net/tramp-sh.el (tramp-sh-handle-process-file):
1657 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1658 the output buffer when DISPLAY is non-nil. (Bug#17815)
1660 2014-06-21 Glenn Morris <rgm@gnu.org>
1662 * play/landmark.el (landmark-move-down, landmark-move-up):
1663 Fix 2007-10-20 change - preserve horizontal position.
1665 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1667 Fix completion retrieval parsing (bug#17209).
1668 * progmodes/python.el (python-mode):
1669 (python-util-strip-string): New function.
1670 (python-shell-completion-get-completions): Use it.
1672 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1674 * skeleton.el (skeleton-insert): Fix last change.
1676 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1678 Enhancements for outline integration (bug#17796).
1679 * progmodes/python.el (python-mode): Properly set
1680 outline-heading-end-regexp so that comments after colons for
1681 defuns are supported.
1683 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1685 * skeleton.el (skeleton-insert): Doc fix.
1687 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1690 (smie-config-guess): Use smie-config-local so the rules are obeyed
1693 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1694 since it's already done inside the loop (bug#17819).
1696 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1698 * mouse.el (mouse-drag-line): Re-remove code initially removed
1699 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1702 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1704 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1705 align with the surrounding parent (bug#17721).
1707 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1709 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1711 (texinfo-insert-block, texinfo-insert-@end)
1712 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1713 local setting of skeleton-end-newline by adding an explicit \n to
1714 the skeletons where appropriate. (Bug#17801)
1716 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1718 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1719 (smie-indent--hanging-p): Use it.
1720 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1722 2014-06-20 Leo Liu <sdl.web@gmail.com>
1724 * simple.el (read-quoted-char): Don't let help chars pop up help
1727 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1729 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1732 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1734 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1735 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1738 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1740 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1741 and later. (Bug#17790)
1743 2014-06-18 Juri Linkov <juri@jurta.org>
1745 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1746 to `soft'. (Bug#17554)
1748 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1750 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1753 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1755 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1756 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1758 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1760 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1761 `unread-command-events'.
1763 2014-06-14 Glenn Morris <rgm@gnu.org>
1765 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1766 Replace delete-duplicates and mapcan by cl- versions throughout.
1767 And cl-macroexpand-all by macroexpand-all.
1768 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1770 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1772 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1774 2014-06-14 Juri Linkov <juri@jurta.org>
1776 * bindings.el: Put `ascii-character' property on keypad keys
1777 mapped to characters. (Bug#17759)
1779 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1781 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1782 bumping forward into a closing paren (bug#17761).
1784 * term/xterm.el (xterm--version-handler): Work around for OSX
1785 Terminal.app (bug#17607).
1787 2014-06-08 Glenn Morris <rgm@gnu.org>
1789 * startup.el (initial-buffer-choice): Doc fix.
1790 Reset :version (adding an option does not merit a :version bump).
1792 * bookmark.el (bookmark-load):
1793 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1795 2014-06-06 Juri Linkov <juri@jurta.org>
1797 * desktop.el: Activate auto-saving on window configuration changes.
1798 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1799 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1800 (desktop-auto-save-set-timer): Change REPEAT arg of
1801 `run-with-idle-timer' from t to nil.
1802 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1804 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1806 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1807 vc-hg-command (bug#17570).
1809 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1814 2014-06-06 Glenn Morris <rgm@gnu.org>
1816 * startup.el (window-setup-hook): Doc fix.
1818 2014-06-05 Glenn Morris <rgm@gnu.org>
1820 * emacs-lisp/package.el (package-check-signature)
1821 (package-unsigned-archives): Doc fixes.
1823 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1825 * window.el (display-buffer-use-some-window): Don't make window
1826 used smaller than it was before (Bug#17671).
1828 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1830 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1831 'redisplay' instead of '(sit-for 0)'.
1833 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1835 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1838 2014-06-03 Glenn Morris <rgm@gnu.org>
1840 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1842 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1844 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1846 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1848 * simple.el (keyboard-quit): Force update of mode lines, to remove
1849 the "Def" indicator, if we were defining a macro. (Bug#17615)
1851 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * minibuffer.el (minibuffer-force-complete-and-exit):
1854 Obey minibuffer-default (bug#17545).
1856 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1859 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * subr.el (set-transient-map): Don't wait for some "nested"
1862 transient-map to finish if we're only supposed to be active for
1863 the next command (bug#17642).
1865 2014-05-31 Leo Liu <sdl.web@gmail.com>
1867 * emacs-lisp/gv.el (window-buffer, window-display-table)
1868 (window-dedicated-p, window-hscroll, window-point, window-start):
1869 Fix gv-expander. (Bug#17630)
1871 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1873 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1876 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1877 for the single comma, since ", " is *very* common in normal French text
1880 2014-05-30 Glenn Morris <rgm@gnu.org>
1882 * emacs-lisp/package.el (package-check-signature)
1883 (package-unsigned-archives): Fix :version.
1885 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1887 * subr.el (sit-for): Don't run input-methods (bug#15614).
1889 2014-05-28 Glenn Morris <rgm@gnu.org>
1891 * cus-start.el: Fix some :version numbers.
1893 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * simple.el (deactivate-mark): Set mark-active to nil even if
1896 deactivation is done via setting transient-mark-mode to nil,
1897 since one is buffer-local and the other is global.
1899 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1900 there can't be more than 2 arguments (bug#17584).
1902 2014-05-27 Glenn Morris <rgm@gnu.org>
1904 * simple.el (filter-buffer-substring-functions)
1905 (filter-buffer-substring-function, buffer-substring-filters)
1906 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1908 * minibuffer.el (completion-in-region-functions, completion-in-region)
1909 (completion--in-region): Doc fixes.
1911 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1912 (expand-abbrev, abbrev--default-expand): Doc fixes.
1914 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1916 Include sources used to create macuvs.h.
1917 * international/README: Refer to the Unicode Terms of Use rather
1918 than copying it bodily here, as that simplifies maintenance.
1920 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1922 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1924 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1926 * window.el (window--dump-frame): Remove interactive
1929 2014-05-23 Glenn Morris <rgm@gnu.org>
1931 * hippie-exp.el (he-line-search-regexp):
1932 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1934 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1936 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1937 to avoid errors when trying to create or visit a file foo.todo
1938 located outside to todo-directory, and to allow having such files
1939 without them being tied to Todo mode (bug#17482).
1940 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1941 (todo-archive-done-item, todo-find-filtered-items-file)
1942 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1943 (todo-category-completions, todo-read-category): When visiting a
1944 Todo file, make sure we're in the right mode and the buffer local
1946 (todo-make-categories-list, todo-reset-nondiary-marker)
1947 (todo-reset-done-string, todo-reset-comment-string):
1948 After processing all Todo files, kill the buffers of those files that
1949 weren't being visited before the processing.
1950 (todo-display-as-todo-file, todo-add-to-buffer-list)
1951 (todo-visit-files-commands): Comment out.
1952 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1953 (auto-mode-alist): Remove add-to-list calls making Todo file
1954 extensions unrestrictedly tied to Todo modes.
1956 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1958 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1959 (advice-function-member-p): Tell it to check both names and functions
1961 (advice--add-function): Adjust call accordingly.
1963 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1965 * calendar/todo-mode.el: Miscellaneous bug fixes.
1966 (todo-delete-file): When deleting an archive but not its todo
1967 file, make sure to update the todo file's category sexp.
1968 (todo-move-category): Keep the moved category's name unless the
1969 file moved to already has a category with that name. If the
1970 numerically last category of the source file was moved, make the
1971 first category current to avoid selecting a nonexisting category.
1972 (todo-merge-category): Fix implementation to make merging to a
1973 category in another file work as documented. Eliminate now
1974 insufficient and unnecessary renaming of archive category, correct
1975 document string accordingly, and clarify it. If the numerically
1976 last category of the source file was merged, make the first
1977 category current to avoid selecting a nonexisting category.
1978 (todo-archive-done-item): When there are marked items and point
1979 happens to be on an unmarked item, ignore the latter. Don't leave
1980 point below last item after archiving marked items.
1981 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1982 from an archive with only one category deletes the archive only
1983 when the category is empty after unarchiving. Make sure the todo
1984 file's category sexp is updated.
1985 (todo-read-file-name): Allow an existing file name even when it is
1986 not required (todo-move-category needs this to work as documented).
1987 (todo-add-file): Call todo-validate-name to reject the name of an
1988 existing todo file (needed due to fix in todo-read-file-name).
1989 (todo-reset-nondiary-marker): Also reset in filtered items files.
1990 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1991 regexp filtered items files.
1992 (todo-reset-highlight-item): Also reset in filtered items files.
1993 Fix incorrect variable reference in document string.
1995 2014-05-22 Glenn Morris <rgm@gnu.org>
1997 * window.el (window--dump-frame): Avoid error in --without-x builds.
1999 2014-05-21 Glenn Morris <rgm@gnu.org>
2001 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2003 2014-05-21 Eli Zaretskii <eliz@gnu.org>
2005 * frame.el (set-frame-font): Doc fix.
2007 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
2009 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
2011 * emacs-lisp/package.el (package--download-one-archive):
2012 Use `write-region' instead of `save-buffer' to avoid running various
2014 (describe-package-1): Same. Insert newline at the end of the
2015 buffer if appropriate.
2017 2014-05-20 Juri Linkov <juri@jurta.org>
2019 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2020 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2021 Add more modifiers: meta, control, shift, hyper, super, alt.
2024 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2025 to allow changing its value with `set-variable'.
2027 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2029 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2031 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2033 (scheme-mode-variables): Set syntax-propertize-function instead of
2034 font-lock-syntactic-face-function.
2035 (scheme-font-lock-syntactic-face-function): Delete.
2037 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2039 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2044 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
2046 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2047 for a temporary file name.
2049 2014-05-17 Eli Zaretskii <eliz@gnu.org>
2051 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
2053 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
2055 * net/dbus.el (dbus-init-bus, dbus-call-method)
2056 (dbus-call-method-asynchronously, dbus-send-signal)
2057 (dbus-method-return-internal, dbus-method-error-internal):
2058 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
2060 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2062 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2063 methods which do not have a doc string. (Bug#17490)
2065 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
2066 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2071 2014-05-14 Glenn Morris <rgm@gnu.org>
2073 * vc/emerge.el (emerge-temp-file-prefix):
2074 Make pointless option obsolete.
2075 (emerge-temp-file-mode): Make non-functional option obsolete.
2077 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
2079 * net/browse-url.el (browse-url):
2080 Use `unhandled-file-name-directory' when setting `default-directory',
2081 in order to circumvent stalled remote connections. (Bug#17425)
2083 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2085 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2086 into autoloading just because of a silly indirection.
2088 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2090 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2092 2014-05-11 Glenn Morris <rgm@gnu.org>
2094 * emacs-lisp/find-gc.el: Move to ../admin.
2096 2014-05-10 Glenn Morris <rgm@gnu.org>
2098 * printing.el (pr-version):
2099 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2101 * net/browse-url.el (browse-url-mosaic):
2102 Create /tmp/Mosaic.PID as a private file.
2104 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2107 (advice--member-p): If name is given, only compare the name.
2108 (advice--remove-function): Don't stop at the first match.
2109 (advice--normalize-place): New function.
2110 (add-function, remove-function): Use it.
2111 (advice--add-function): Pass the name, if any, to
2112 advice--remove-function.
2114 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2116 * electric.el (electric-indent-post-self-insert-function): Don't use
2117 `pos' after modifying the buffer (bug#17449).
2119 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2121 * subr.el (function-put): Add function.
2123 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2125 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2126 Correct argument list to conform to todo-insert-item--basic.
2128 2014-05-09 Glenn Morris <rgm@gnu.org>
2130 * files.el (cd-absolute): Test if directory is accessible
2131 rather than executable. (Bug#17330)
2133 * progmodes/compile.el (recompile):
2134 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2136 2014-05-08 Juri Linkov <juri@jurta.org>
2138 * dired.el (dired-check-switches, dired-switches-recursive-p):
2139 New functions. (Bug#17218)
2140 (dired-switches-escape-p, dired-move-to-end-of-filename):
2141 Use `dired-check-switches'.
2142 (dired-insert-old-subdirs, dired-build-subdir-alist)
2143 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2145 2014-05-08 Glenn Morris <rgm@gnu.org>
2147 * net/browse-url.el (browse-url-mosaic):
2148 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2149 This is CVE-2014-3423.
2151 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2154 (xterm-mouse--read-event-sequence-1000): Return nil if something
2156 (xterm-mouse-event): Propagate it.
2157 (xterm-mouse-translate-1): Handle it.
2159 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2161 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2162 four slots of the parameter list are filled, make sure to pass it
2163 to the argument list of todo-insert-item--basic.
2165 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2168 Add optional `seen' argument to detect and break infinite loops.
2170 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2172 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2173 (trace-unsafe, trace-use-tree): Make parentheses style be
2174 according to Emacs style.
2176 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2178 * net/tramp-sh.el (tramp-remote-process-environment):
2179 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2181 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2182 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2183 extra "PSx=..." commands.
2184 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2187 (tramp-uudecode): Replace the hard-coded temporary file name by a
2189 (tramp-remote-coding-commands): Enhance docstring.
2190 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2192 This is CVE-2014-3424.
2194 2014-05-06 Glenn Morris <rgm@gnu.org>
2196 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2197 (find-gc-source-files): Update some names.
2198 (trace-call-tree): Simplify and update.
2199 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2200 This is CVE-2014-3422.
2202 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * minibuffer.el (completion--try-word-completion): Revert fix for
2205 Bug#15980 (bug#17375).
2207 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2208 Always store button numbers in the same way in xterm-mouse-last;
2209 Don't burp is xterm-mouse-last is not set as expected.
2210 Never return negative indices.
2212 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2214 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2215 Backtrack one char if the global/char-literal var matcher hits
2216 inside a string. The next char could be the beginning of an
2217 expression expansion.
2219 2014-05-05 Glenn Morris <rgm@gnu.org>
2221 * help-fns.el (describe-function-1): Test for an autoload before a
2222 macro, since `macrop' works on autoloads. (Bug#17410)
2224 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2228 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2229 Make sure the new point we return is within the new string (bug#17239).
2231 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2233 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2235 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2238 Use nil rather than `default' for the "default" appearance (bug#17388).
2239 * vc/ediff-util.el (ediff-inferior-compare-regions)
2240 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2241 a misleading `default' value when it's really a boolean.
2242 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2243 overlay is not visible.
2245 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2247 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2248 (todo-menu): Uncomment and update.
2250 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2252 * calendar/todo-mode.el: Reimplement item editing to have the same
2253 basic user interface as item insertion, and make small UI and
2254 larger internal improvements to the latter.
2255 (todo-insert-item): Add reference to the Todo mode user manual to
2256 the documentation string.
2257 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2258 adjust all callers. Change signature to combine diary and
2259 nonmarking arguments. Incorporate functionality of deleted item
2260 copying command and add error checking. Remove detailed
2261 descriptions of the arguments from the documentation string, since
2262 this is treated in the Todo mode user manual.
2263 (todo-copy-item, todo-edit-multiline-item)
2264 (todo-edit-done-item-comment, todo-edit-item-header)
2265 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2266 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2267 (todo-edit-item-date-year, todo-edit-item-date-month)
2268 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2270 (todo-edit-item): Reimplement as wrapper command for
2271 todo-edit-item--next-key and make it distinguish done and not done
2273 (todo-edit-item--text): New function, replacing old command
2274 todo-edit-item and incorporating deleted commands
2275 todo-edit-multiline-item and todo-edit-done-item-comment.
2276 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2277 Use only numeric value of prefix argument. Remove detailed
2278 descriptions of the arguments from the documentation string, since
2279 this is treated in the Todo mode user manual.
2280 (todo-edit-item--diary-inclusion): New function, replacing old
2281 command todo-edit-item-diary-inclusion and incorporating and fixing
2282 functionality of deleted command todo-edit-item-diary-nonmarking,
2283 making sure to remove todo-nondiary-marker when adding
2284 diary-nonmarking-symbol.
2285 (todo-edit-category-diary-inclusion): Make sure to delete
2286 diary-nonmarking-symbol when adding todo-nondiary-marker.
2287 (todo-edit-category-diary-nonmarking): Fix indentation.
2288 (todo-insert-item--parameters): Group diary and nonmarking
2289 parameters together.
2290 (todo-insert-item--apply-args): Adjust to signature of
2291 todo-insert-item--basic and incorporate copy parameter.
2292 Make small code improvements.
2293 (todo-insert-item--next-param): Improve prompt and adjust it to
2294 new parameter grouping. Remove obsolete code.
2295 (todo-edit-item--param-key-alist)
2296 (todo-edit-item--date-param-key-alist)
2297 (todo-edit-done-item--param-key-alist): New defconsts.
2298 (todo-edit-item--prompt): New variable.
2299 (todo-edit-item--next-key): New function.
2300 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2301 Remove bindings of deleted commands.
2303 2014-05-02 Leo Liu <sdl.web@gmail.com>
2305 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2307 2014-05-01 Glenn Morris <rgm@gnu.org>
2309 * allout-widgets.el (allout-widgets-tally)
2310 (allout-decorate-item-guides):
2311 * menu-bar.el (menu-bar-positive-p):
2312 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2313 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2314 * progmodes/js.el (js--inside-param-list-p)
2315 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2316 * progmodes/prolog.el (region-exists-p):
2317 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2318 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2319 Doc fixes (replace `iff').
2321 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2323 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2325 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2327 * dired.el (dired-initial-position-hook, dired-initial-position):
2330 2014-04-29 Glenn Morris <rgm@gnu.org>
2332 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2334 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2336 * faces.el (face-spec-recalc): Apply X resources only after the
2337 defface spec has been applied. Thus, X resources are no longer
2338 overridden by the defface spec which also fixes issues on win32 where
2339 the toolbar coloring was wrong because it is set through X resources
2340 and was (wrongfully) overridden. (Bug#16694)
2342 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * textmodes/rst.el (electric-pair-pairs): Declare.
2345 (rst-mode): Set it (bug#17131).
2347 2014-04-27 Juri Linkov <juri@jurta.org>
2349 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2350 and `print-level' to nil. (Bug#17351)
2352 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2354 * battery.el (battery-update): Handle the case where battery
2355 status is "N/A" (bug#17319).
2357 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2359 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2360 Use equal-including-properties to compare help-echo strings (bug#17331).
2362 2014-04-24 Leo Liu <sdl.web@gmail.com>
2364 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2365 Fix syntax for @. (Bug#17325)
2367 2014-04-24 Daniel Colascione <dancol@dancol.org>
2369 * emacs-lisp/cl.el (gv): Require gv early to break eager
2370 macro-expansion cycles.
2372 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2374 * simple.el (region-active-p): Check there's a mark (bug#17324).
2376 * simple.el (completion-list-mode-map): Use choose-completion for the
2377 mouse binding as well (bug#17302).
2378 (completion-list-mode, completion-setup-function): Adjust docstring and
2379 echo area message accordingly.
2380 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2381 calling convention of choose-completion.
2382 * comint.el (comint-dynamic-list-completions):
2383 * term.el (term-dynamic-list-completions): Accept choose-completion.
2385 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2386 &, |, +, - and * can't be a division (bug#17317).
2388 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2390 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2391 features on gnome-terminal (bug#16988).
2393 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2395 * dired.el (dired-insert-set-properties): Do not consider
2396 subdirectory headings and empty lines to be information that
2397 `dired-hide-details-mode' should hide. (Bug#17228)
2399 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2401 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2402 Remove test messages.
2403 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2406 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2408 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2409 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2411 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2413 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2415 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2416 Set "IFS=" when using read builtin, in order to preserve spaces in
2417 the file name. Add test messages for hunting a bug on hydra.
2418 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2420 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2422 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2423 Don't prettify a word within a symbol.
2425 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2427 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2430 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2433 assignments such as "case=hello" (bug#17297).
2435 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2437 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2439 (tramp-file-name-handler, tramp-completion-file-name-handler):
2440 Revert patch from 2014-04-10, it isn't necessary anymore.
2441 (tramp-autoload-file-name-handler)
2442 (tramp-register-autoload-file-name-handlers): New defuns.
2443 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2444 (tramp-register-file-name-handlers): Remove also
2445 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2446 Do not autoload its invocation, but eval it after loading of 'tramp.
2448 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2450 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2452 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2454 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2455 was done (bug#17264).
2456 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2459 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2460 here-documents (bug#17262).
2462 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2464 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2465 Provide doc strings, as required by snarf-documentation.
2467 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2469 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2470 arg of overlays-at. Use `invisible-p'.
2472 * obsolete/lucid.el (extent-at):
2473 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2475 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2477 2014-04-14 João Távora <joaotavora@gmail.com>
2479 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2482 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2484 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2485 Use mapc to loop over a vector. (Bug#17257).
2487 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2489 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2490 patch, there are new problems with file names containing spaces.
2491 Get rid of backticks. (Bug#17238)
2493 2014-04-13 João Távora <joaotavora@gmail.com>
2495 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2498 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2500 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2501 (blink-cursor-mode): Mention customization variables and the
2502 effect of 'blink-cursor-blinks'.
2504 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2506 * simple.el (undo): Prevent insertion of identity mapping into
2507 undo-equiv-table so as undo-only does not inf loop in the presence
2508 of consecutive nils in undo list.
2510 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2512 * faces.el (make-face): Deprecate optional argument as it is no
2513 longer needed/used since the conditional X resources handling
2514 has been pushed down to make-face-x-resource-internal itself.
2515 (make-empty-face): Don't pass optional argument to make-face.
2517 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2519 * international/characters.el <standard-case-table>: Add entries
2520 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2521 Set category of Coptic characters be 'g' (Greek).
2523 2014-04-12 Leo Liu <sdl.web@gmail.com>
2525 * progmodes/octave.el (completion-table-with-cache): Define if not
2527 (octave-goto-function-definition)
2528 (octave-sync-function-file-names)
2529 (octave-find-definition-default-filename): Backquote upattern for
2532 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2534 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2535 name twice due to backticks. (Bug#17238)
2537 2014-04-11 Glenn Morris <rgm@gnu.org>
2539 * term/w32-win.el (x-win-suspend-error):
2540 * term/x-win.el (x-win-suspend-error): Sync docs.
2542 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2544 Ediff's overlay priorities cause more trouble than they solve.
2545 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2546 (ediff-highest-priority): Remove function (bug#17234).
2547 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2548 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2549 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2552 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2554 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2555 entry; use symbol boundaries to avoid mis-matches.
2557 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2559 * net/tramp.el (tramp-file-name-handler)
2560 (tramp-completion-file-name-handler): Avoid recursive loading.
2562 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2563 Quote result also locally.
2565 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2567 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2568 Module methods. (Bug#17216)
2570 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2573 (describe-bindings-internal): Mark obsolete.
2575 2014-04-07 João Távora <joaotavora@gmail.com>
2578 (electric-pair--syntax-ppss): When inside comments parse from
2580 (electric-pair--balance-info): Fix typo in comment.
2581 (electric-pair--in-unterminated-string-p): Delete.
2582 (electric-pair--unbalanced-strings-p): New function.
2583 (electric-pair-string-bound-function): New var.
2584 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2585 according to `electric-pair--in-unterminated-string-p'
2587 2014-04-07 João Távora <joaotavora@gmail.com>
2589 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2590 Inhibit quote pairing if point-max is inside an unterminated string.
2591 (electric-pair--looking-at-unterminated-string-p): Delete.
2592 (electric-pair--in-unterminated-string-p): New function.
2594 2014-04-07 Glenn Morris <rgm@gnu.org>
2596 * shell.el (shell-directory-tracker):
2597 Go back to just ignoring failures. (Bug#17159)
2599 2014-04-06 João Távora <joaotavora@gmail.com>
2601 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2602 backspace. (bug#16981)
2603 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2604 (electric-pair-backward-delete-char-untabify): Delete.
2605 (electric-pair-mode-map): Bind backspace to a menu item filtering
2606 a new `electric-pair-delete-pair' command.
2607 (electric-pair-delete-pair): New command.
2609 2014-04-06 João Távora <joaotavora@gmail.com>
2611 * progmodes/python.el (python-electric-pair-string-delimiter):
2612 Fix triple-quoting electricity. (Bug#17192)
2614 2014-04-06 João Távora <joaotavora@gmail.com>
2616 * elec-pair.el (electric-pair-post-self-insert-function):
2617 Don't skip whitespace when `electric-pair-text-pairs' and
2618 `electric-pair-pairs' were used. syntax to
2619 electric-pair--skip-whitespace. (Bug#17183)
2621 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2623 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2626 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2629 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2631 2014-04-05 Glenn Morris <rgm@gnu.org>
2633 * help.el (view-lossage): Doc tweak.
2635 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2637 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2638 only when inhibit-x-resources is nil, and do that earlier in the
2639 function. Doc fix. (Bug#16694)
2640 (face-spec-choose): Accept additional optional argument, whose
2641 value is returned if no matching attributes are found.
2642 (face-spec-recalc): Use the new optional argument when calling
2643 face-spec-choose. (Bug#16378)
2644 (make-face-x-resource-internal): Do nothing when
2645 inhibit-x-resources is non-nil. Don't touch the default face if
2646 reversed video is given--as was done in previous versions of Emacs.
2647 (face-set-after-frame-default): Don't call
2648 make-face-x-resource-internal here. (Bug#16434)
2650 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2652 * doc-view.el (doc-view-bookmark-jump):
2653 Use `bookmark-after-jump-hook' to jump to the right page after the
2654 buffer is shown in a window. (bug#16090)
2656 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2658 * international/characters.el (mirroring): Fix last change:
2659 instead of loading uni-mirrored.el explicitly, do that implicitly
2660 by creating the 'mirroring' uniprop table. This avoids announcing
2661 the loading of uni-mirrored.el.
2663 2014-04-04 Glenn Morris <rgm@gnu.org>
2665 * files.el (buffer-stale--default-function)
2666 (buffer-stale-function, revert-buffer--default):
2667 * autorevert.el (auto-revert-buffers): Doc tweaks.
2669 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2671 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2673 2014-04-03 Glenn Morris <rgm@gnu.org>
2675 * files.el (make-backup-file-name-function)
2676 (make-backup-file-name, make-backup-file-name--default-function)
2677 (make-backup-file-name-1, find-backup-file-name)
2678 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2679 (buffer-stale--default-function, buffer-stale-function)
2680 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2681 (revert-buffer, revert-buffer--default)
2682 (revert-buffer-insert-file-contents--default-function):
2683 Doc fixes related to defaults no longer being nil.
2684 (make-backup-file-name-function): Bump :version.
2685 Restore nil as a valid but deprecated custom type.
2687 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2689 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2690 used as a variable (bug#17174).
2692 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2694 * progmodes/perl-mode.el (perl-indent-new-calculate):
2695 Handle forward-sexp failure (bug#16985).
2696 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2697 modifiers introducing expressions (bug#17116).
2699 2014-04-02 Glenn Morris <rgm@gnu.org>
2701 * menu-bar.el (menu-bar-file-menu):
2702 * vc/ediff.el (ediff-current-file):
2703 Update for revert-buffer-function no longer being nil by default.
2705 * simple.el (command-execute): Respect nil disabled-command-function.
2707 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2709 * simple.el (command-execute): Do not execute the command when it
2710 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2712 2014-03-29 Juri Linkov <juri@jurta.org>
2714 * dired-aux.el (dired-compress-file): Don't use string-match-p
2715 because its match data is used afterwards.
2717 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2722 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2724 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2725 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2727 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2728 Don't propertize `?' or `!' as symbol constituent when after
2731 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2733 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2734 which is no longer needed and causes trouble in GTK builds (bug#17046).
2736 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2737 Use url-insert-file-contents; package-handle-response no longer exists.
2739 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2741 * emacs-lisp/package.el: Fix bug#16733 (again).
2742 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2743 (url-http-target-url): Remove unused declarations.
2744 (package-handle-response): Remove.
2745 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2746 (package--download-one-archive): Use current-buffer instead of
2747 dynamic binding of `buffer'.
2748 (describe-package-1): Do not decode readme-string.
2750 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2752 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2754 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2756 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2758 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2759 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2760 `remote-file-name-inhibit-cache' to nil in the second pass.
2761 (tramp-find-executable): Do not call "which" on SunOS.
2762 (tramp-send-command-and-check): Fix docstring.
2763 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2764 check whether source directory has set the sticky bit.
2766 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2768 * simple.el (primitive-undo): Only process marker adjustments
2769 validated against their corresponding (TEXT . POS). Issue warning
2770 for lone marker adjustments in undo history. (Bug#16818)
2771 (undo-make-selective-list): Add marker adjustments to selective
2772 undo list based on whether their corresponding (TEXT . POS) is in
2773 the region. Remove variable adjusted-markers, which was unused
2774 and only non nil during undo-make-selective-list.
2775 (undo-elt-in-region): Return nil when passed a marker adjustment
2776 and explain in function doc.
2778 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2780 * emacs-lisp/package.el (package--add-to-archive-contents):
2781 Include already installed and built-in packages in
2782 `package-archive-contents'.
2783 (package-install): Don't include already installed packages in the
2784 options during interactive invocation. (Bug#16762)
2786 2014-03-24 Daniel Colascione <dancol@dancol.org>
2788 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2789 instead of cl-loop search function.
2791 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2793 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2795 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2797 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2799 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2801 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2802 Match special global variables without curlies, too.
2803 (ruby-font-lock-keywords): Simplify the matcher for special global
2804 variables. Don't require a non-word character after the variable.
2807 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * simple.el (redisplay-highlight-region-function): Increase priority of
2810 overlay to make sure boundaries are visible (bug#15899).
2812 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2814 * frameset.el (frameset-restore): Compare display strings with equal.
2816 * frame.el (make-frame): Don't quote display name in error message,
2817 it is already a string.
2819 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2821 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2824 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2826 * emacs-lisp/package.el (package-show-package-list): If the buffer
2827 is already displayed in another window, switch to that window.
2829 2014-03-21 Daniel Colascione <dancol@dancol.org>
2831 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2832 information in bug reports.
2834 2014-03-23 Daniel Colascione <dancol@dancol.org>
2836 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2837 list to look for keyword arguments instead of `memq', fixing
2838 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2839 Please make bootstrap.
2841 2014-03-23 Richard Stallman <rms@gnu.org>
2843 * battery.el (battery-linux-sysfs): Search for each field
2844 from the beginning of the buffer.
2846 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2848 * emacs-lisp/package.el (package-desc): Use the contents of the
2849 quoted form, not its cdr. (Bug#16873)
2851 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2853 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2854 benefit of doc.c; change parameter profile to match the X function.
2856 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2858 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2859 and `tramp-copy-env'.
2861 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2862 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2864 2014-03-21 Glenn Morris <rgm@gnu.org>
2866 * electric.el (electric-indent-post-self-insert-function): Add doc.
2868 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2870 * emacs-lisp/package.el (package-compute-transaction):
2871 Use `version-list-<=' to compare the requirement version against
2872 the version of package already to be installed. Update the error
2873 message. (Bug#16826)
2875 * progmodes/ruby-mode.el (ruby-smie-rules):
2876 Add indentation rule for ` @ '. (Bug#17050)
2878 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2880 * align.el (align-regexp): Remove superfluous backslash.
2882 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2883 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2884 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2885 Fix docstring typos.
2886 (ffap-next): Use C-u in docstring.
2887 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2888 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2889 Remove superfluous backslashes.
2890 (ffap-string-at-point): Reflow docstring.
2892 * server.el (server-host): Reflow docstring.
2893 (server-unload-function): Fix docstring typo.
2894 (server-eval-at): Remove superfluous backslash.
2896 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2897 (skeleton-insert): Doc fix.
2898 (skeleton-insert): Reflow docstring.
2900 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2901 (tty-color-approximate, tty-color-by-index, tty-color-values)
2902 (tty-color-desc): Remove superfluous backslashes.
2904 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * electric.el (electric-newline-and-maybe-indent): New command.
2907 Bind it globally to C-j.
2908 (electric-indent-mode): Don't mess with the global map any more.
2909 Don't drop the post-self-insert-hook is some buffer is still using it
2912 * bindings.el (global-map): Remove C-j binding.
2914 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2915 the docstring of functions advised before dumping (bug#16993).
2917 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2919 * ps-print.el (ps-generate-postscript-with-faces):
2920 Explicitly deactivate the mark (bug#16866).
2921 * simple.el (deactivate-mark): Update region highlight.
2923 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2925 * emacs-lisp/package.el (describe-package-1):
2926 Decode commentary (bug#16733).
2928 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2930 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2931 modification of the value argument of :set (bug#16755).
2933 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2935 * simple.el (newline-and-indent): Do autofill (bug#17031).
2937 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2939 * newcomment.el (comment-normalize-vars): Only add escaping check
2940 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2941 (comment-beginning): Use `narrow-to-region' instead of moving back
2943 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2944 (comment-start-skip): Update the docstring.
2946 2014-03-18 Richard Stallman <rms@gnu.org>
2948 * dired.el (dired-display-file): Force use of other window.
2950 2014-03-18 Daniel Colascione <dancol@dancol.org>
2952 * startup.el (tty-handle-args): Remove debug message from 2007.
2954 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2956 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2957 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2958 (advice--make-1, advice-add, advice-remove):
2959 Remove braindead :advice-pending hack.
2961 2014-03-17 Glenn Morris <rgm@gnu.org>
2963 * calendar/calendar.el (calendar-generate-month): Apply weekend
2964 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2966 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2968 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2969 (tramp-call-process): Trace also DESTINATION.
2971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2972 Quote file names when they are local. Remove superfluous trace.
2974 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2976 * newcomment.el (comment-beginning): If `comment-start-skip'
2977 doesn't match, move back one char and try again. (Bug#16971)
2979 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2980 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2981 Set `comment-start-skip' to a simpler value that doesn't try to
2982 check if the semicolon is escaped (this is handled by
2983 `syntax-ppss' now). (Bug#16971)
2985 * progmodes/scheme.el (scheme-mode-variables): Same.
2987 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2989 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2990 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2991 current (Bug#16816, Bug#17007).
2992 (with-current-buffer-window): New macro doing the same as
2993 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2994 * help.el (help-print-return-message): Warn in doc-string to not
2995 use this in `with-help-window'.
2996 (describe-bindings-internal): Call `describe-buffer-bindings'
2997 from within help buffer. See Juanma's scenario in (Bug#16816).
2998 (with-help-window): Update doc-string.
2999 * dired.el (dired-mark-pop-up):
3000 * files.el (save-buffers-kill-emacs):
3001 * register.el (register-preview): Use `with-current-buffer-window'
3002 instead of `with-temp-buffer-window'.
3004 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3006 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3007 Implement inserting into current buffer, documented in their docstrings.
3008 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3009 (rst-section-tree-point, rst-forward-section, rst-indent)
3010 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3011 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3012 (rst-font-lock-handle-adornment-pre-match-form)
3013 (rst-repeat-last-character): Reflow docstrings.
3014 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3015 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3016 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3017 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3018 Fix docstring typos.
3019 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3020 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3021 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3023 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3025 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3026 for compatibility with other ports.
3027 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3028 from the -xrm command line argument, but in the Nextstep port its value
3029 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3031 * progmodes/python.el (defconst, python-syntax-count-quotes)
3032 (python-indent-region, python-indent-shift-right)
3033 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3034 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3035 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3036 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3037 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3038 (python-shell-buffer-substring, python-shell-send-buffer)
3039 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3040 (python-completion-complete-at-point, python-fill-docstring-style)
3041 (python-eldoc-function, python-imenu-format-item-label)
3042 (python-imenu-format-parent-item-label)
3043 (python-imenu-format-parent-item-jump-label)
3044 (python-imenu--build-tree, python-imenu-create-index)
3045 (python-imenu-create-flat-index): Fix docstring typos.
3046 (python-indent-context, python-shell-prompt-regexp, run-python):
3047 Remove superfluous backslashes.
3048 (python-indent-line, python-nav-beginning-of-defun)
3049 (python-shell-get-buffer, python-shell-get-process)
3050 (python-info-current-defun, python-info-current-line-comment-p)
3051 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3052 (python-indent-post-self-insert-function, python-shell-send-file)
3053 (python-shell-completion-get-completions)
3054 (python-shell-completion-complete-or-indent)
3055 (python-eldoc--get-doc-at-point): Reflow docstrings.
3057 2014-03-14 Glenn Morris <rgm@gnu.org>
3059 * emacs-lisp/package.el (package-menu-mode-map):
3060 Replace use of obsolete function alias. Tweak menu item text.
3062 * info.el (Info-finder-find-node):
3063 Ignore the `emacs' metapackage. (Bug#10813)
3065 * finder.el (finder-list-matches): Include unversioned packages
3066 in the result of a keyword search.
3068 * finder.el (finder--builtins-descriptions): New constant.
3069 (finder-compile-keywords): Use finder--builtins-descriptions.
3071 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3073 * simple.el (blink-matching-paren): Describe the new value,
3074 `jump', enabling the old behavior.
3075 (blink-matching-open): Use that value. (Bug#17008)
3077 2014-03-14 Glenn Morris <rgm@gnu.org>
3079 * finder.el (finder-no-scan-regexp): Add leim-list.
3080 (finder-compile-keywords):
3081 Don't skip files with same basename. (Bug#14010)
3082 * Makefile.in (setwins_finder): New, excluding leim.
3083 (finder-data): Use setwins_finder.
3085 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3086 (help-function-arglist, help-make-usage): Move from here...
3087 * help.el (help-split-fundoc, help-add-fundoc-usage)
3088 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3089 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3091 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3093 * net/socks.el (socks, socks-override-functions)
3094 (socks-find-services-entry):
3095 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3096 (hif-find-ifdef-block):
3097 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3099 * net/tls.el (tls-program): Reflow docstring.
3101 * progmodes/pascal.el (pascal-mode-abbrev-table)
3102 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3103 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3104 (pascal-outline-mode): Fix docstring typos.
3105 (pascal-mode): Let define-derived-mode document mode hook.
3106 (pascal-uncomment-area): Reflow.
3107 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3109 * progmodes/opascal.el (opascal-compound-block-indent)
3110 (opascal-case-label-indent): Fix docstring typos.
3111 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3113 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3115 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3116 Fontify multiple adjacent negation chars. (Bug#17004)
3118 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3120 * emacs-lisp/package.el (package--prepare-dependencies):
3121 Accept requirements without explicit version (bug#14941).
3123 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3125 * register.el (register-separator, copy-to-register): Doc fixes.
3126 (register-preview-default): Remove unnecessary call to concat.
3128 * frameset.el (frameset-restore): When checking for a visible frame,
3129 use the action map instead of calling visible-frame-list.
3131 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3133 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3135 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3137 * window.el (fit-frame-to-buffer): Get maximum width from
3138 display's width instead of height.
3140 2014-03-12 Glenn Morris <rgm@gnu.org>
3142 * desktop.el (desktop-restore-frames)
3143 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3144 (desktop-restore-reuses-frames): Doc tweaks.
3146 * electric.el (electric-indent-mode): Doc fix.
3148 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3150 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3151 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3152 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3153 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3154 (cvs-dired-use-hook): Fix docstring typos.
3155 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3158 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3159 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3160 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3161 (cvs-execute-single-dir): Fix docstring typos.
3163 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3164 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3166 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3168 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3169 Fix docstring typos.
3171 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3173 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3174 called from jump-to-register after unloading the frameset package.
3176 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3178 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3179 (bug#16975). Deactivate the mark before setting it to nil.
3180 (activate-mark): Do nothing if region is already active.
3182 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3184 * frameset.el (frameset--target-display): Remove definition; declare.
3185 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3187 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3189 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3190 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3191 when the advice is pending.
3192 (advice-remove): Remove this marker when not needed any more.
3194 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3196 * frameset.el: Separate options for reusing frames and cleaning up.
3197 (frameset--reuse-list): Remove definition; declare.
3198 (frameset--action-map): Declare.
3199 (frameset--find-frame-if): Doc fix.
3200 (frameset--restore-frame): Cache frame action.
3201 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3202 how to clean up the frame list after restoring. Remove cleaning
3203 options from REUSE-FRAMES. Change all keyword values to symbols.
3204 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3206 * desktop.el (desktop-restore-forces-onscreen)
3207 (desktop-restore-reuses-frames): Use non-keyword values.
3208 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3210 2014-03-10 Glenn Morris <rgm@gnu.org>
3212 * files.el (find-file): Doc fix: update info node name.
3214 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3215 Doc fix: remove references to deleted info nodes.
3217 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3219 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3220 Do not add `nil' to the environment, when there's no remote `locale'.
3221 (tramp-find-inline-encoding): Check, that the remote host has
3222 installed perl, before sending scripts.
3224 2014-03-10 Leo Liu <sdl.web@gmail.com>
3226 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3227 Clear eldoc-last-message. (Bug#16920)
3229 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3231 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3234 2014-03-09 Juri Linkov <juri@jurta.org>
3236 * ansi-color.el (ansi-color-names-vector): Copy default colors
3237 from `xterm-standard-colors' that look well on the default white
3238 background (and also on the black background) to avoid illegible
3239 color combinations like yellow-on-white and white-on-white.
3240 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3242 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3244 * frameset.el (frameset-restore): When no frame is visible, do not
3245 generate a list of frames, just make visible the selected one.
3247 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3249 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3250 it only contains the repository root. (Bug#16897)
3252 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3254 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3255 only when `remote-file-name-inhibit-cache' is nil.
3256 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3258 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3260 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3262 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3263 fit-frame-to-buffer variable. Fix doc-string.
3264 (fit-window-to-buffer): Set ONLY argument in call of
3265 fit-frame-to-buffer. Fix doc-string.
3267 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3269 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3270 (tramp-action-password): Clear password cache if needed.
3271 (tramp-read-passwd): Do not clear password cache.
3273 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3274 cache unless it is the first password request.
3276 2014-03-06 Glenn Morris <rgm@gnu.org>
3278 * simple.el (newline): Doc tweak.
3280 * emacs-lisp/shadow.el (load-path-shadows-find):
3281 Ignore dir-locals. (Bug#12357)
3283 2014-03-05 Glenn Morris <rgm@gnu.org>
3285 * files.el (interpreter-mode-alist):
3286 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3288 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3290 * frameset.el (frameset--initial-params): Filter out null entries.
3292 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3294 * window.el (window-min-height, window-min-width):
3295 Rewrite doc-strings.
3296 (window-body-size): Add PIXELWISE argument to make it consistent
3299 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3301 * finder.el (finder-mode-map, finder-mode-syntax-table):
3302 Revert part of 2014-02-28 change.
3304 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3306 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3307 (eww-setup-buffer): Clear next/prev/etc more reliably.
3308 (eww-textarea-map): [tab] doesn't work on tty.
3309 Reported by Mario Lang.
3311 * net/shr.el (shr-map): Ditto.
3313 2014-03-04 Glenn Morris <rgm@gnu.org>
3315 * minibuffer.el (completion-hilit-commonality):
3316 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3318 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3320 * hilit-chg.el (hilit-chg-unload-function): New function.
3321 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3322 (hilit-chg-map-changes): Prefer cardinal number to digit.
3323 (hilit-chg-display-changes): Reflow docstring.
3324 (highlight-changes-rotate-faces): Remove superfluous backslash.
3326 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3328 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3329 `tramp-send-command-and-check'.
3331 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3333 * hexl.el (hexl-address-region, hexl-ascii-region)
3334 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3335 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3336 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3337 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3338 (hexl-mode): Doc fix.
3339 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3340 (hexl-mode-ruler): Fix typos in docstrings.
3342 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3343 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3344 Remove superfluous backslashes.
3345 (strokes-last-stroke, strokes-global-map, strokes-mode):
3347 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3348 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3349 (strokes-distance-squared, strokes-global-set-stroke)
3350 (strokes-global-set-stroke-string): Doc fixes.
3351 (strokes-help): Fix typos; reflow docstring.
3353 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3355 * window.el (window-in-direction): Fix doc-string.
3357 2014-03-04 Glenn Morris <rgm@gnu.org>
3359 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3360 Explicit error if no grammar.
3361 (smie-config-save): Doc fix. Fix quote typo.
3363 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3365 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3366 electric-indent-mode-hook if we obey electric-indent-mode.
3367 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3368 decide whether we obey electric-indent-mode.
3369 (c-change-set-fl-decl-start, c-extend-after-change-region):
3371 (c-electric-indent-mode-hook): Assume we do want to obey
3372 electric-indent-mode.
3374 * electric.el (electric-indent-mode-has-been-called): Remove.
3375 (electric-indent-mode): Fix accordingly.
3377 * files.el (hack-local-variables): Mention file name in warning.
3379 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3381 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3383 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3384 * simple.el (delete-forward-char): Mark as interactive-only.
3386 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3388 * icomplete.el (icomplete-completions):
3389 Follow-up to 2014-03-01 change.
3391 * icomplete.el: Miscellaneous doc fixes.
3392 Use Icomplete everywhere instead of icomplete for consistency.
3393 (icomplete-max-delay-chars): Fix typo.
3394 (icomplete-mode): Use \[].
3395 (icomplete-tidy, icomplete-exhibit): Reflow.
3396 (icomplete-minibuffer-setup-hook, icomplete-completions):
3397 Remove superfluous backlashes.
3399 * ido.el: Miscellaneous doc fixes.
3400 Use Ido everywhere instead of ido or `ido' for consistency.
3401 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3402 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3403 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3404 (ido-separator): Extract obsolescence info from docstring and declare
3405 with make-obsolete-variable.
3406 (ido-minibuffer-setup-hook): Simplify example.
3407 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3408 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3409 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3410 (ido-everywhere): Reflow docstring.
3411 (ido-toggle-vc): Doc fix.
3412 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3413 of long list of keybindings.
3415 2014-03-03 Glenn Morris <rgm@gnu.org>
3417 * frame.el (display-pixel-height, display-pixel-width)
3418 (display-mm-dimensions-alist, display-mm-height)
3419 (display-mm-width): Doc tweaks.
3421 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3423 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3424 case of undo in region.
3426 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3428 * window.el (fit-window-to-buffer): Fix argument in window-size
3429 call when window is horizontally combined.
3431 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3433 * icomplete.el (icomplete-completions): Use string-width.
3434 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3436 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3438 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3439 Highlight regexp options. (Bug#16914)
3441 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3443 * window.el (window--max-delta-1): Round down when calculating
3444 how many lines/columns we can get from a window.
3446 2014-03-01 Glenn Morris <rgm@gnu.org>
3448 * isearch.el (search-invisible): Doc fix.
3450 * minibuffer.el (completion-hilit-commonality):
3451 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3452 * comint.el (comint-dynamic-list-completions): Doc fix.
3453 * comint.el (comint-dynamic-list-completions):
3454 * filecache.el (file-cache-minibuffer-complete):
3455 * tempo.el (tempo-display-completions):
3456 * eshell/em-hist.el (eshell-list-history):
3457 Replace use of obsolete argument of display-completion-list.
3459 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3461 * icomplete.el (icomplete-completions):
3462 Revert back to using "..." when ?… cannot be displayed.
3464 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3466 * finder.el (finder-unload-function): New function.
3468 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3470 * dframe.el (dframe-detach):
3471 * find-dired.el (find-dired, find-name-dired):
3472 * finder.el (finder-mode-map, finder-mode-syntax-table)
3473 (finder-headmark, finder-select, finder-mouse-select):
3474 Fix docstring typos.
3476 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3478 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3479 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3480 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3481 Fix doc-string based on a suggestion by Nicolas Richard
3482 <theonewiththeevillook@yahoo.fr>.
3483 * help.el (with-help-window): Fix doc-string.
3485 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3487 * net/shr.el (shr-image-animate): New option.
3488 (shr-put-image): Respect shr-image-animate.
3490 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3492 * net/tramp-adb.el (tramp-adb-parse-device-names):
3493 Use `accept-process-output'.
3494 (tramp-adb-handle-file-truename): Cache the localname only.
3495 (tramp-adb-handle-make-directory)
3496 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3497 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3498 modes cannot be changed.
3500 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3501 file properties of symlinks.
3503 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3505 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3506 required/optional fields to match development biblatex. (Bug#16781)
3508 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3510 * saveplace.el (toggle-save-place):
3511 Fix argument handling. (Bug#16673)
3513 2014-02-28 Glenn Morris <rgm@gnu.org>
3515 * minibuffer.el (completions-first-difference)
3516 (completions-common-part, completion-hilit-commonality): Doc fixes.
3518 2014-02-28 Karl Berry <karl@gnu.org>
3520 * info.el (Info-mode-map): Add H for describe-mode,
3521 to synchronize with standalone Info.
3523 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3525 * progmodes/sql.el (sql-interactive-mode):
3526 Avoid setting global comint-input-ring-separator. (Bug#16814)
3528 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3530 * net/dbus.el (dbus--init-bus): Declare function.
3531 (dbus-path-local, dbus-interface-local): New defconst.
3532 (dbus-init-bus): Use them.
3533 (dbus-return-values-table): Extend doc.
3534 (dbus-handle-bus-disconnect): Extend error message.
3536 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3538 * subr.el (y-or-n-p): Fix double space issue in message.
3540 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3542 * net/tramp.el (tramp-call-process): Improve trace message.
3543 (tramp-handle-insert-file-contents): Trace error case.
3545 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3546 <insert-directory>: Use `tramp-handle-insert-directory'.
3547 (tramp-adb-handle-insert-directory): Remove function.
3548 (tramp-adb-send-command-and-check): New defun, replacing
3549 `tramp-adb-command-exit-status'. Change all callees.
3550 (tramp-adb-handle-file-attributes)
3551 (tramp-adb-handle-directory-files-and-attributes): Use it.
3552 (tramp-adb-ls-output-name-less-p):
3553 Use `directory-listing-before-filename-regexp'.
3554 (tramp-adb-handle-delete-directory): Flush also file properties of
3555 the truename of directory.
3556 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3557 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3558 (tramp-adb-handle-write-region): Implement APPEND.
3559 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3560 properties correctly.
3561 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3562 variables. Check for connected devices only when needed.
3564 2014-02-27 Glenn Morris <rgm@gnu.org>
3566 * minibuffer.el (completion-table-dynamic)
3567 (completion-table-with-cache): Doc fixes.
3569 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3570 (completing-read-multiple): Doc fixes.
3572 2014-02-27 Daniel Colascione <dancol@dancol.org>
3574 * minibuffer.el (completion--nth-completion): Fix indentation.
3576 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3577 explicit tramp path is empty.
3579 2014-02-27 Glenn Morris <rgm@gnu.org>
3581 * emacs-lisp/crm.el (completing-read-multiple):
3582 Empower help-enable-auto-load.
3584 2014-02-26 Glenn Morris <rgm@gnu.org>
3586 * startup.el (command-line): Don't init the tty in daemon mode.
3588 Avoid calling tty-setup-hook twice, eg if a term file
3589 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3590 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3591 (tty-create-frame-with-faces): Use it.
3592 * startup.el (command-line): Pass run-hook argument
3593 to tty-run-terminal-initialization.
3595 * dired.el (dired-restore-desktop-buffer): Demote errors;
3596 eg in case a glob match fails. (Bug#16884)
3598 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3600 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3601 error from `read-from-string'. (Bug#16850)
3603 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3604 result of `completing-read' in the interactive form. (Bug#16854)
3606 2014-02-25 Glenn Morris <rgm@gnu.org>
3608 * image.el (image-animate, image-animate-timeout):
3609 Stop animating images in dead buffers. (Bug#16878)
3611 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3613 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3615 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3616 * term/sun.el (sun-raw-prefix-hooks):
3617 Use tty-setup-hook instead of term-setup-hook.
3618 (terminal-init-sun): Construct message from bytecomp plist.
3619 * term/wyse50.el (enable-arrow-keys): Doc fix.
3621 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3623 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3624 Fix docstring typos.
3626 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3628 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3630 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3632 * minibuffer.el (completion--try-word-completion):
3633 Fix error when completing M-x commands (bug#16808).
3635 2014-02-24 Leo Liu <sdl.web@gmail.com>
3637 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3639 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3641 * apropos.el (apropos-print): Avoid formatting error when
3642 apropos-do-all and apropos-compact-layout are both t.
3644 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3646 * apropos.el (apropos-property, apropos-all-words-regexp)
3647 (apropos-true-hit, apropos-variable, apropos-print):
3648 Fix docstring typos, and remove obsolete comment.
3650 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3652 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3653 Preserve trailing "/". (Bug#16851)
3655 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3657 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3658 after `=>' (bug#16811).
3659 (ruby-smie-rules): Handle the inconsistent second element of the
3660 list returned by `smie-indent--parent'.
3661 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3664 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3666 * elec-pair.el (electric-pair-text-syntax-table)
3667 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3668 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3669 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3670 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3672 2014-02-22 Glenn Morris <rgm@gnu.org>
3674 * imenu.el (imenu--generic-function): Doc fix.
3676 * register.el (frame-configuration-to-register): Make obsolete.
3678 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3680 * desktop.el (desktop-save-buffer-p): Do not fail when
3681 desktop-files-not-to-save is nil. Return t for true result
3684 2014-02-22 Daniel Colascione <dancol@dancol.org>
3686 * net/secrets.el (secrets-create-item, secrets-search-items):
3687 Check that attribute values are strings, avoiding the construction
3688 of invalid dbus messages.
3690 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3692 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3693 defun-declarations-alist.
3695 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3697 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3700 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3702 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3703 (whitespace-newline, whitespace-trailing, whitespace-line)
3704 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3705 (whitespace-space-after-tab): Fix typo in docstrings.
3707 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3709 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3711 * electric.el (electric-indent-functions-without-reindent):
3712 Add `yaml-indent-line'.
3714 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3716 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3717 It has done nothing for years; should be removed after the release.
3719 * simple.el (choose-completion): Fix docstring typo.
3720 (read-quoted-char-radix): Remove unneeded * in docstring.
3721 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3722 Don't escape parentheses unnecessarily in docstrings.
3724 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3726 Fix handling of window-min-height/-width (Bug#16738).
3727 * window.el (window--dump-window, window--dump-frame):
3729 (window--min-size-1): Account for window dividers.
3730 When window-resize-pixelwise is nil, delay rounding till after the
3731 sum of the window components has been calculated.
3732 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3733 nil make sure at least one text line and two text columns remain
3735 (window-resize): Signal an error when window-resize-apply fails.
3736 (window--resize-child-windows): Fix calculation of by how many
3737 pixels a window can still be shrunk via window-new-normal.
3738 (adjust-window-trailing-edge): Call window--resizable with
3739 correct TRAIL argument.
3741 (with-temp-buffer-window): Don't evaluate BODY within
3742 with-current-buffer (Bug#16816).
3744 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3746 * net/tramp.el (tramp-check-cached-permissions):
3747 Call `file-attributes' with `suffix' being a symbol but a string.
3749 2014-02-21 Daniel Colascione <dancol@dancol.org>
3751 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3752 (dbus-init-bus): New function: call into dbus-init-bus-1
3753 and installs a handler for the disconnect signal.
3754 (dbus-call-method): Rewrite to look for result in cons.
3755 (dbus-call-method-handler): Store result in cons.
3756 (dbus-check-event): Recognize events with nil sender as valid.
3757 (dbus-handle-bus-disconnect): New function. React to bus
3758 disconnection signal by synthesizing dbus error for each
3759 pending synchronous or asynchronous call.
3760 (dbus-notice-synchronous-call-errors): New function.
3761 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3762 is true, not all the time.
3764 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3766 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3767 Remove obsolescence declarations, these variables do not exist anymore.
3769 * savehist.el (savehist-save-minibuffer-history)
3770 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3771 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3772 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3773 mostly, refer to "Savehist mode" when talking about the mode,
3774 and not the function.
3776 * saveplace.el (save-place): Remove redundant info in docstring.
3777 (save-place-forget-unreadable-files, toggle-save-place)
3778 (save-place-forget-unreadable-files, save-place-dired-hook):
3779 Fix typos and remove unneeded backslashes.
3781 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3783 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3784 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3786 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3787 <insert-directory>: Use `tramp-handle-insert-directory'.
3788 (tramp-gvfs-handle-insert-directory): Remove function.
3790 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3791 Call `tramp-handle-insert-directory'.
3793 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3795 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3796 before the start of buffer/region (bug#16799).
3798 2014-02-20 Glenn Morris <rgm@gnu.org>
3800 * isearch.el (search-invisible): Doc fix.
3802 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3804 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3807 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3809 * frameset.el (frameset-restore): Delay removing an old frame's
3810 duplicate id until the new frame has been correctly created.
3812 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3814 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3815 (tramp-check-cached-permissions): Call `file-attributes' if the
3818 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3819 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3822 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3823 (tramp-gvfs-maybe-open-connection): Set always connection
3824 properties, even if target is mounted already.
3826 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3827 Set tramp-autoload cookie.
3828 (tramp-get-remote-touch): New defun.
3829 (tramp-sh-handle-set-file-times): Use it.
3830 (tramp-sh-handle-directory-files-and-attributes):
3831 Use `tramp-handle-directory-files-and-attributes' if neither stat
3832 nor perl are available on the remote host.
3834 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3835 "/". Write long listing only when "l" belongs to the switches.
3837 * net/trampver.el: Update release number.
3839 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3841 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3843 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3845 * window.el (window-state-put): Allow WINDOW to refer to an
3846 internal window (Bug#16793).
3848 2014-02-19 Glenn Morris <rgm@gnu.org>
3850 * textmodes/remember.el: Move provide statement to end.
3851 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3852 (remember-notes): Doc fixes.
3854 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3856 * delsel.el (delete-char): Restore incorrectly erased property
3859 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3861 * frameset.el (frameset--restore-frame): When a frame is being reused
3862 and its root window is not alive, delete all the frame's windows before
3863 restoring the window state. This works around the issue in bug#16793.
3865 2014-02-18 Glenn Morris <rgm@gnu.org>
3867 * textmodes/remember.el (remember-data-directory)
3868 (remember-directory-file-name-format, remember-store-in-files)
3869 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3870 (remember-notes-save-and-bury-buffer)
3871 (remember-notes--kill-buffer-query): Doc fixes.
3873 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3875 2014-02-17 Alan Mackenzie <acm@muc.de>
3877 Connect electric-indent-mode up with CC Mode. Bug #15478.
3878 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3879 to electric-indent-{,local-}-mode.
3880 (c-basic-common-init): Set electric-indent-inhibit.
3881 Initialise c-electric-flag from electric-indent-mode.
3882 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3883 New hook functions which propagate electric-indent-mode to CC mode.
3885 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3886 hit, toggle electric-indent-local-mode.
3888 * electric.el (electric-indent-mode-has-been-called):
3891 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3893 * frameset.el (frameset-cfg-id): New function.
3894 (frameset--reuse-frame, frameset-restore): Use it.
3895 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3897 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * ido.el (ido-file-internal): Remove unused var `d'.
3900 Use \` for to match BoS. Fit within 80n columns.
3902 2014-02-17 Daniel Colascione <dancol@dancol.org>
3904 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3905 dbus-call-method check for completion using a busy-wait loop with
3908 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3910 Sync with Tramp 2.2.9.
3912 * net/trampver.el: Update release number.
3914 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3916 * ido.el (ido-file-internal): Don't add the name of an existing
3917 directory twice. (Bug#16747)
3919 2014-02-16 Glenn Morris <rgm@gnu.org>
3921 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3922 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3924 2014-02-15 Michael R. Mauger <michael@mauger.com>
3926 * progmodes/sql.el: Version 3.4
3927 (sql-oracle-options): New default value ("-L").
3928 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3929 (sql-placeholders-filter): Correct placeholder pattern.
3930 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3931 (sql-login-delay): New variable.
3932 (sql-product-interactive): Use it.
3934 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3936 * frameset.el (frameset--jump-to-register): Check that buffer is live
3939 2014-02-15 Glenn Morris <rgm@gnu.org>
3941 * info.el (info-initialize): Revert 2014-01-10 change.
3943 2014-02-14 Glenn Morris <rgm@gnu.org>
3945 * replace.el (map-query-replace-regexp)
3946 (read-regexp-defaults-function, read-regexp): Doc fixes.
3948 * dired.el (dired-read-regexp):
3949 * faces.el (list-faces-display):
3950 * misearch.el (multi-isearch-read-matching-buffers)
3951 (multi-isearch-read-matching-files):
3952 * play/cookie1.el (cookie-apropos):
3953 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3955 * textmodes/remember.el (remember): Use frameset-to-register
3956 rather than frame-configuration-to-register.
3958 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3960 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3961 incorrect keybinding.
3963 2014-02-13 Daniel Colascione <dancol@dancol.org>
3965 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3966 when adding overlays so that line numbers from compiler match line
3969 2014-02-13 Glenn Morris <rgm@gnu.org>
3971 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3973 * jit-lock.el (jit-lock-mode): Doc fix.
3975 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3977 * apropos.el (apropos-read-pattern): When the user passes an empty
3978 string, give a more helpful error message than "Wrong type
3979 argument: stringp, nil".
3981 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3985 2014-02-13 Glenn Morris <rgm@gnu.org>
3987 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3989 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3991 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3992 shift-select commands.
3994 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3996 * progmodes/js.el (js-indent-line): Don't widen.
3997 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3999 2014-02-12 Glenn Morris <rgm@gnu.org>
4001 * icomplete.el (icomplete): Add info-link to defgroup.
4002 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4003 (icomplete-minibuffer-map, icomplete-mode)
4004 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4006 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4007 (package-menu-filter): Rename from package-menu-filter-interactive.
4010 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4012 * frameset.el (frameset--jump-to-register): Select the required
4013 window and buffer before restoring position (bug#16696).
4015 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4017 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4019 2014-02-10 Glenn Morris <rgm@gnu.org>
4021 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4023 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4025 * w32-common-fns.el (x-get-selection): Doc fix.
4026 * select.el (x-get-selection): Doc fix. (Bug#15109)
4028 * face-remap.el (face-remap-add-relative)
4029 (face-remap-remove-relative, face-remap-reset-base)
4030 (face-remap-set-base): Call force-mode-line-update to redisplay
4031 the current buffer due to potential change in faces. (Bug#16709)
4033 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4035 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4036 script more robustly.
4038 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4040 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4042 * simple.el (choose-completion): Doc fix (bug#14160).
4044 * subr.el (event-start): Say what a nil EVENT value means.
4046 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4049 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4051 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4053 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4055 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4056 predicate function (bug#15455).
4058 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4060 * ielm.el (inferior-emacs-lisp-mode): Instead of
4061 `comment-use-global-state', set `comment-use-syntax'.
4063 2014-02-10 Glenn Morris <rgm@gnu.org>
4065 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4067 2014-02-09 Alan Mackenzie <acm@muc.de>
4069 Fix c-invalidate-state-cache on narrowed buffers.
4070 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4071 Widen when setting and clearing the CPP delimiter properties.
4073 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4075 * help.el (describe-bindings): Doc fix (bug#9888).
4077 * files.el (save-buffer): Use ARG as the parameter name for
4078 consistency (bug#10346).
4079 (save-buffer): Clarify the 0 argument (bug#10346).
4081 * cus-edit.el (customize-apropos): Fix error string.
4082 (custom-buffer-create): Doc fix (bug#11122).
4083 (custom-sort-items): Doc fix (bug#11121).
4085 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4087 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4088 (icomplete-simple-completing-p): Mention the previous variable.
4090 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4091 meaning of the parameter (bug#12282).
4093 * files.el (find-file-noselect): Clarify prompt when changing
4094 readedness (bug#13261).
4095 (locate-file): Suffixes aren't returned, so don't say that they
4097 (backup-inhibited): Doc clarification (bug#12525).
4099 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4100 before we actually start to delete things (bug#16331).
4102 * subr.el (event-start): Doc fix (bug#14228).
4105 2014-02-09 Glenn Morris <rgm@gnu.org>
4107 * emacs-lisp/warnings.el (lwarn):
4108 Empower help-enable-auto-load. (Bug#15940)
4110 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4112 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4115 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4117 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4118 Insert output at end of buffer. (Bug#16120)
4120 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4122 * simple.el (choose-completion-string-functions): Document new
4123 calling convention (bug#14153).
4124 (execute-extended-command): Clarify doc string (bug#13373).
4126 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4128 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4129 (find-grep-dired): Doc fix (bug#14288).
4131 2014-02-08 Juri Linkov <juri@jurta.org>
4133 * isearch.el (isearch-quote-char): Check character validity
4134 like in `quoted-insert' (bug#16677).
4136 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4138 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4140 * isearch.el (isearch-hide-immediately): Doc clarification
4143 * simple.el (line-move): Document utility function used many
4144 places in the Emacs sources (bug#14843).
4146 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4147 (dired-prev-marked-file): Doc fix (bug#14855).
4148 (dired-up-directory): Doc fix (bug#14848).
4150 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4152 * files.el (file-relative-name): Doc fix (bug#15159).
4154 * fringe.el (fringe-styles): Doc fix (bug#15239).
4156 * isearch.el (isearch-filter-predicate): Documentation typo fix
4159 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4161 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4163 * replace.el (replace-match-maybe-edit): Doc clarification
4166 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4168 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4170 2014-02-08 Glenn Morris <rgm@gnu.org>
4172 * help-fns.el (describe-variable):
4173 Check {file,dir}-local-variables-alist, and buffer-file-name,
4174 in the correct buffer.
4176 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4178 * help-fns.el (describe-variable): Fix the case where
4179 a value is directory-local with no dir-locals file. (Bug#16635)
4181 2014-02-08 Glenn Morris <rgm@gnu.org>
4183 * abbrev.el (edit-abbrevs-mode):
4184 Derive from fundamental-mode. (Bug#16682)
4186 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4188 * simple.el (quoted-insert): Check character validity (bug#16677).
4190 2014-02-07 Juri Linkov <juri@jurta.org>
4192 * desktop.el (desktop-read): Claim the lock when the owner is not
4193 the current process. (Bug#16157)
4195 2014-02-07 Juri Linkov <juri@jurta.org>
4197 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4198 to "\\` ". (Bug#16651)
4200 2014-02-07 Juri Linkov <juri@jurta.org>
4202 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4203 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4204 (desktop-auto-save-cancel-timer): New function with some code from
4205 `desktop-auto-save-set-timer'.
4206 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4207 Instead of setting `desktop-save-mode' to nil, call
4208 `desktop-save-mode' with arg 0. (Bug#16630)
4210 2014-02-07 Glenn Morris <rgm@gnu.org>
4212 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4213 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4214 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4216 * obsolete/iswitchb.el: Move to obsolete/.
4217 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4218 since obsolete/ is not scanned for autoloads.
4219 * emacs-lisp/authors.el (authors-valid-file-names):
4222 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4223 Disable now non-functional find-file-hook.
4225 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4227 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4228 instead of ";" in order to avoid additional prompts. Let heredoc
4229 scripts read from tty. (Bug#16582)
4230 (tramp-send-command): No special handling of heredocs, it isn't
4233 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4235 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4236 with a space (bug#16664). Limit the symbols considered to the ones
4237 that are bound or fbound (bug#16646).
4239 2014-02-06 Glenn Morris <rgm@gnu.org>
4241 * epa.el (epa-mail-aliases): Doc fix.
4243 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4245 * emacs-lisp/lisp.el (lisp-completion-at-point):
4246 Use `completion-table-merge' instead of `completion-table-in-turn'
4249 * minibuffer.el (completion-table-merge): New function.
4251 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4253 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4254 (tramp-sh-handle-set-file-acl)
4255 (tramp-sh-handle-start-file-process)
4256 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4257 (tramp-find-executable, tramp-send-command): Use it.
4259 2014-02-05 Glenn Morris <rgm@gnu.org>
4261 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4263 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4265 * progmodes/python.el (python-shell-send-string)
4266 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4268 2014-02-04 Anders Lindgren <andlind@gmail.com>
4270 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4271 the names (bug#16620).
4273 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4275 * faces.el (window-divider): New default value. Rewrite doc-string.
4276 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4278 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4280 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4281 `protected' and `public' can also be called without arguments.
4283 2014-02-03 Glenn Morris <rgm@gnu.org>
4285 * register.el (window-configuration-to-register)
4286 (frame-configuration-to-register): Unadvertise unused argument.
4287 * frameset.el (frameset-to-register): Remove unused argument.
4289 * frameset.el (frameset-to-register):
4290 * kmacro.el (kmacro-to-register):
4291 * register.el (increment-register):
4292 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4293 (calc-append-to-register, calc-prepend-to-register):
4294 * play/gametree.el (gametree-layout-to-register)
4295 (gametree-apply-register-layout):
4296 * textmodes/picture.el (picture-clear-rectangle-to-register)
4297 (picture-yank-rectangle-from-register):
4298 * vc/emerge.el (emerge-combine-versions-register):
4299 Use register-read-with-preview to read registers.
4301 2014-02-03 João Távora <joaotavora@gmail.com>
4303 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4304 when at beginning of (possibly narrowed) buffer.
4306 2014-02-02 Daniel Colascione <dancol@dancol.org>
4308 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4309 Also try to display local help from just before point.
4311 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4313 c-parse-state. Don't "append-lower-brace-pair" in certain
4314 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4315 recognised as a comment.
4317 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4318 as well as normal comment starter.
4319 (c-parse-state-get-strategy): Extra return possibility
4321 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4322 return value list to indicate replacement of a brace-pair cons
4324 (c-parse-state-1): With 'back-and-forward, only call
4325 c-append-lower-brace-pair-to state-cache when cons-separated.
4327 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4329 * term/ns-win.el (ns-suspend-error): New function.
4330 (ns-initialize-window-system): Add ns-suspend-error to
4331 suspend-hook (Bug#16612).
4333 2014-02-02 Daniel Colascione <dancol@dancol.org>
4335 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4336 Make loading cc-mode silent.
4338 2014-02-02 Daniel Colascione <dancol@dancol.org>
4340 * comint.el (comint-prompt-read-only): Change doc to suggest
4343 2014-02-02 Glenn Morris <rgm@gnu.org>
4345 * register.el (register-read-with-preview, point-to-register)
4346 (window-configuration-to-register, frame-configuration-to-register)
4347 (jump-to-register, number-to-register, view-register, insert-register)
4348 (copy-to-register, append-to-register, prepend-to-register)
4349 (copy-rectangle-to-register): Doc fixes.
4351 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4354 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4355 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4356 * help-fns.el (describe-function-1): Use it.
4358 2014-02-02 Glenn Morris <rgm@gnu.org>
4360 * register.el (register-preview-default): New function,
4361 split from register-preview.
4362 (register-preview-function): Rename from register-preview-functions,
4364 (register-preview): Use register-preview-function.
4365 (register-read-with-preview): Error on non-character event. (Bug#16595)
4367 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4369 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4370 `:' before binary operators (bug#16609). Don't check for `:'
4371 before `[' and `(', or their syntax status. A percent literal
4372 can't end with either.
4373 (ruby-font-lock-keywords): For built-ins that require arguments,
4374 check that they're followed by something that looks like argument
4377 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4379 * subr.el (butlast): Document what an omitted N means (bug#13437).
4382 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4384 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4385 depth shallower (bug#16587).
4386 (shr-tag-svg): Respect `shr-inhibit-images'.
4387 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4389 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4391 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4392 (ruby-smie-grammar): Make "." right-associative. Make its priority
4393 lower than the ternary and all binary operators.
4394 (ruby-smie-rules): Indent "(" relative to the first non-"."
4395 parent, or the first "." parent at indentation.
4396 Use `ruby-align-chained-calls' for indentation of "." tokens.
4399 2014-01-31 Juri Linkov <juri@jurta.org>
4401 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4402 from `make-hash-table'.
4404 * textmodes/ispell.el (ispell-init-process): Change message format
4405 to be consistent with other messages.
4407 2014-01-31 Glenn Morris <rgm@gnu.org>
4409 * delsel.el (delete-selection-mode): Doc fix.
4411 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4412 (trace-function-background): Doc fixes.
4414 * ido.el (ido-use-virtual-buffers): Doc fix.
4415 Reset :version, since the default value has not changed.
4417 * register.el (register-preview-delay, register-read-with-preview):
4420 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4421 do not mess with mail-buffer position (fixes 2009-11-03 change).
4422 * progmodes/cc-mode.el (c-submit-bug-report):
4423 Check auto-fill-mode is bound. (Bug#16592)
4425 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4427 * startup.el (fancy-splash-image-file): New function,
4428 split from fancy-splash-head.
4429 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4430 so that we are both using the same image. (Bug#16574)
4432 2014-01-30 Glenn Morris <rgm@gnu.org>
4434 * simple.el (eval-expression): Doc fix.
4436 * hexl.el (hexl-mode-hook):
4437 * ielm.el (ielm-mode-hook):
4438 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4439 (lisp-interaction-mode-hook):
4440 * progmodes/cfengine.el (cfengine3-documentation-function):
4441 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4443 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4445 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4446 is a symbol (bug#16584).
4448 2014-01-30 Glenn Morris <rgm@gnu.org>
4450 * help.el (help-for-help-internal): Add "P" to text.
4452 2014-01-29 Glenn Morris <rgm@gnu.org>
4454 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4456 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4458 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4461 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4463 * progmodes/hideif.el: Extend to full CPP expression syntax.
4464 (hif-token-alist): Add missing tokens.
4465 (hif-token-regexp): Add support for float/octal/hex immediates.
4466 (hif-string-literal-regexp): New const.
4467 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4468 (hif-exprlist): New function.
4469 (hif-parse-if-exp): Use it.
4470 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4471 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4472 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4473 (hif-logxor, hif-comma): New functions.
4475 2014-01-28 Glenn Morris <rgm@gnu.org>
4477 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4479 * indent.el (tab-stop-list): Doc fix. Add :version.
4481 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4482 (cvs-append-to-ignore): Add compatibility alias.
4484 2014-01-27 Glenn Morris <rgm@gnu.org>
4486 * dired.el (dired-hide-details-mode): Don't autoload it,
4487 since it cannot be used outside Dired buffers anyway.
4489 * emulation/cua-base.el (cua-mode): Doc fix.
4491 * dired.el (dired-hide-details-hide-symlink-targets)
4492 (dired-hide-details-hide-information-lines)
4493 (dired-hide-details-mode): Doc fixes.
4495 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4496 * strokes.el (strokes-file): Doc fix. Bump :version.
4497 (strokes-help): Doc fix.
4498 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4499 * emulation/viper.el (viper): Doc fix for custom group.
4500 (top-level): Remove oh-so-no-longer-relevant text about vip.
4501 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4503 * ido.el (ido-save-directory-list-file):
4504 * saveplace.el (save-place-file):
4505 * calendar/timeclock.el (timeclock-file):
4506 * net/quickurl.el (quickurl-url-file):
4507 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4508 * progmodes/idlwave.el (idlwave-config-directory):
4509 * textmodes/remember.el (remember-data-file):
4512 2014-01-26 Glenn Morris <rgm@gnu.org>
4514 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4515 Doc fix. Make obsolete.
4516 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4518 * sort.el (delete-duplicate-lines): Doc fix.
4520 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4522 * progmodes/ada-mode.el (ada):
4523 * woman.el (woman): Link to info manual and Commentary section.
4525 * progmodes/flymake.el (flymake):
4526 * nxml/nxml-mode.el (nxml):
4528 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4529 * htmlfontify.el (htmlfontify):
4532 * ido.el (ido): Link to info manual.
4534 2014-01-25 Leo Liu <sdl.web@gmail.com>
4536 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4538 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4540 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4543 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4545 * net/eww.el (eww-download-callback):
4546 Fix reference to eww-download-directory.
4548 * emacs-lisp/bytecomp.el (byte-compile-file):
4549 Remove unused local variable `file-name'.
4551 2014-01-24 Glenn Morris <rgm@gnu.org>
4553 * woman.el (woman-default-faces, woman-monochrome-faces):
4554 Fix obsolescence specification.
4556 * subr.el (with-demoted-errors): Doc fix.
4558 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4561 (cl--macroexp-fboundp): New function.
4562 (cl--make-type-test): Use it.
4564 2014-01-23 Glenn Morris <rgm@gnu.org>
4566 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4567 * simple.el (eval-expression): Doc fixes.
4569 2014-01-22 Glenn Morris <rgm@gnu.org>
4571 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4573 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * emacs-lisp/package.el: Write files silently.
4576 (package-autoload-ensure-default-file, package--write-file-no-coding)
4577 (package-generate-description-file, package--download-one-archive)
4578 (package-install-from-archive): Tell `write-region' to stay quiet.
4579 (package-menu-mode, package-menu--print-info): Omit the Archive column
4580 if there's only one archive.
4581 (package-all-keywords, package--has-keyword-p): Remove dead code.
4583 2014-01-22 Glenn Morris <rgm@gnu.org>
4585 * version.el (emacs-bzr-version-bzr): Fix typo.
4587 * version.el (emacs-repository-get-version):
4588 Check either .bzr or .git, but not both.
4589 Make the git case actually use the DIR argument, and return nil
4590 rather than the empty string.
4591 Avoid error if .git exists but the git executable is not found.
4593 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4595 Fixes in window size functions around Bug#16430 and Bug#16470.
4596 * window.el (window-total-size, window-size): New argument ROUND.
4597 (window--min-delta-1, window-min-delta, window--max-delta-1):
4598 Be more conservative when calculating the numbers of lines or
4599 columns a window can shrink (Bug#16430).
4600 (fit-window-to-buffer): Simplify code.
4601 * term.el (term-window-width): Call window-body-width again.
4603 2014-01-22 Glenn Morris <rgm@gnu.org>
4605 * image.el (image-format-suffixes): Doc fix.
4607 * international/quail.el (quail-define-package): Doc fix.
4609 * emacs-lisp/authors.el (authors-valid-file-names)
4610 (authors-renamed-files-alist): Additions.
4612 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4613 reverts 2014-01-09 change. (Bug#16422)
4615 * calc/calc-embed.el (thing-at-point-looking-at):
4616 * emacs-lisp/map-ynp.el (x-popup-dialog):
4617 * obsolete/lmenu.el (x-popup-dialog):
4618 * emacs-lisp/package.el (url-recreate-url):
4619 * mail/mailclient.el (clipboard-kill-ring-save):
4620 * subr.el (x-popup-dialog): Update declaration.
4621 * mail/rmail.el (rmail-mime-message-p):
4622 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4624 2014-01-21 Daniel Colascione <dancol@dancol.org>
4626 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4627 Correctly detect when we're inside an arithmetic expansion form
4628 containing nested parenthesis.
4629 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4630 to detect cases where we shouldn't expand "<<" to a heredoc
4633 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4636 (eldoc--message-command-p): New function.
4637 (eldoc-display-message-p): Use it.
4638 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4639 message is not automatically erased for us.
4640 (eldoc-print-current-symbol-info): Erase previous message, if any.
4642 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4644 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4645 specify it's an interactive function.
4647 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4648 Fix regex used for scanning for citation keys which failed for
4649 citations with optional arguments.
4651 2014-01-21 Leo Liu <sdl.web@gmail.com>
4653 * simple.el (read--expression): Don't enable eldoc-mode.
4655 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4657 * simple.el (move-beginning-of-line): Make sure we don't move forward
4660 2014-01-20 Juri Linkov <juri@jurta.org>
4662 * saveplace.el (toggle-save-place, save-place-to-alist)
4663 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4664 'dired-mode) before checking for dired-directory. (Bug#16477)
4666 2014-01-20 Juri Linkov <juri@jurta.org>
4668 * indent.el (indent-line-to): Use backward-to-indentation
4669 instead of back-to-indentation. (Bug#16461)
4671 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4673 Revert some of the CANNOT_DUMP fix (Bug#16494).
4674 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4675 but fixing this can wait until after the next release.
4676 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4678 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4680 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4681 Use `password-word-equivalents'.
4682 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4683 to t. (Bug#5664, Bug#13124)
4685 2014-01-19 Alan Mackenzie <acm@muc.de>
4687 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4689 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4690 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4691 * progmodes/cc-mode.el (c-before-change, c-after-change)
4692 (c-font-lock-fontify-region): Bind it here.
4694 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4696 * term.el (term-window-width): Call window-text-width instead of
4697 window-width (Bug#16470).
4699 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4701 * simple.el (password-word-equivalents): Remove duplicates.
4702 Sort, to make this easier next time.
4703 Downcase. Omit ": " after "jelszó".
4705 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4707 * term/common-win.el (saved-region-selection): Defvar it.
4708 (x-select-text): Set saved-region-selection (Bug#16382).
4710 2014-01-18 Glenn Morris <rgm@gnu.org>
4712 * emacs-lisp/authors.el (authors-aliases)
4713 (authors-renamed-files-alist): Add some entries.
4715 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4717 * net/tramp.el (tramp-password-prompt-regexp):
4718 Use `password-word-equivalents' if available.
4719 (tramp-action-password, tramp-process-one-action)
4720 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4722 2014-01-17 Chong Yidong <cyd@gnu.org>
4724 * simple.el (password-word-equivalents): New defcustom.
4725 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4727 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4730 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4732 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4733 (ruby-align-to-stmt-keywords): Change the default value.
4734 Use `ruby-alignable-keywords' to generate the possible customization
4736 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4737 keywords, check against the value of `ruby-alignable-keywords'
4738 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4740 2014-01-17 Glenn Morris <rgm@gnu.org>
4742 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4744 Make M-x authors return zero *Authors Errors* from current logs.
4745 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4746 (authors-ignored-files): Add some entries, remove others.
4747 (authors-ambiguous-files, authors-valid-file-names):
4749 (authors-renamed-files-alist): Add, remove, and adjust entries.
4750 (authors-renamed-files-regexps): Add some entries.
4751 Remove some very broad ones. Make some entries `lax'.
4752 (authors-lax-changelogs): New constant.
4753 (authors-disambiguate-file-name): Treat top-level specially.
4754 (authors-lax-changelog-p): New function.
4755 (authors-canonical-file-name): Check file as written against
4756 authors-valid-file-names. Do not special-case etc/.
4757 Handle `lax' logs and authors-renamed-files-regexps elements.
4759 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4761 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4762 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4765 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4767 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4768 Assume we're already in the proper buffer.
4769 Inspired by Anders Lindgren <andlind@gmail.com>.
4770 (follow-post-command-hook): Call it from the right buffer.
4771 (follow-comint-scroll-to-bottom): Adjust call.
4772 (follow-all-followers): Use get-buffer-window-list.
4774 2014-01-15 Daniel Colascione <dancol@dancol.org>
4776 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4777 `buffer-file-name' in interactive-form so that we don't leave
4778 pathless file names in `file-name-history'.
4780 2014-01-15 Juri Linkov <juri@jurta.org>
4782 * indent.el (indent-rigidly): Set deactivate-mark to nil
4783 in transient indentation mode. (Bug#16438)
4785 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4787 * emacs-lisp/package.el (package-desc-keywords): New function
4789 (describe-package-1, package-all-keywords)
4790 (package--has-keyword-p): Use it.
4792 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4794 * simple.el (define-alternatives): When creating the
4795 COMMAND-alternatives variable, assign COMMAND as its definition
4796 name so that `describe-variable' can relocate it.
4798 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4800 * font-lock.el (font-lock-keywords): Fix typo in docstring
4803 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4805 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4806 line instead of wrongly reset `add-coment' (bug#13577).
4808 2014-01-14 Daiki Ueno <ueno@gnu.org>
4810 * epa-file.el (epa-file-write-region): Encode the region according
4811 to `buffer-file-format'. Problem reported at:
4812 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4814 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4816 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4817 so it applies in the right buffer (bug#16410).
4819 2014-01-13 Daniel Colascione <dancol@dancol.org>
4821 * textmodes/rst.el (rst-define-key): Provide deprecated
4822 keybindings through named functions instead of anonymous ones so
4823 that "??" doesn't appear in describe-mode output.
4825 2014-01-13 Bastien Guerry <bzg@gnu.org>
4827 * simple.el (define-alternatives): Call the selected command
4828 interactively. When setting `COMMAND--implementation' for the
4829 first time, tell the user how to chose another implementation.
4830 Enhance the docstring.
4832 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4835 (log-edit--match-first-line): New function.
4836 (log-edit-font-lock-keywords): Use it.
4837 (log-edit-mode): Make jit-lock-defer-multiline work.
4839 2014-01-13 Bastien Guerry <bzg@gnu.org>
4841 * rect.el (rectangle-mark-mode): When the region is not active,
4842 display a message saying that the mark as been set and that
4843 rectangle mode is in use.
4844 (rectangle--highlight-for-redisplay): Only put an overlay with a
4845 visible vertical bar when (display-graphic-p) is non-nil.
4846 This partially fixes Bug#16403.
4848 2014-01-13 Juri Linkov <juri@jurta.org>
4850 * info.el (Info-find-file): Go to DIR before displaying the error
4851 about a nonexistent file if no previous Info file is visited.
4852 Use `user-error' instead of `error' for "Info file %s does not exist".
4853 (Info-find-node-2): In case of a nonexistent node in unwind forms
4854 go to the Top node if there is no previous node to revert to.
4857 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4859 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4860 * window.el (fit-frame-to-buffer): Fix doc-string.
4861 Respect window-min-height/-width. Fit pixelwise when
4862 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4863 when avoiding that frame goes partially off-screen.
4864 (fit-window-to-buffer): Respect window-min-height/-width
4867 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4869 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4870 after an empty line.
4872 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4874 * net/shr.el (shr-render-region): Autoload.
4876 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4878 * net/eww.el (eww-download-directory): Rename from
4879 `eww-download-path' (Bug#16419).
4881 2014-01-12 Leo Liu <sdl.web@gmail.com>
4883 * dired-x.el (dired-mode-map): Fix last change.
4885 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4887 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4890 * emacs-lisp/generic.el (generic--normalize-comments):
4891 Rename from generic--normalise-comments. All uses changed.
4892 * play/bubbles.el (bubbles--neighborhood-score)
4893 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4894 (bubbles--neighborhood-available)
4895 (bubbles--update-neighborhood-score):
4896 Rename from names with 'neighbourhood'. All uses changed.
4898 2014-01-12 Leo Liu <sdl.web@gmail.com>
4900 Re-implement the feature of showing eldoc info after editing.
4901 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4902 (eldoc-edit-message-commands): New function.
4903 (eldoc-print-after-edit): New variable.
4904 (eldoc-pre-command-refresh-echo-area): Emit message only by
4905 eldoc-message-commands.
4906 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4907 if eldoc-print-after-edit is set. (Bug#16346)
4908 * simple.el (read--expression): Enable eldoc-mode.
4909 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4911 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4912 Eric S. Raymond <esr@thyrsus.com>
4914 * version.el (emacs-repository-get-version): Enhance so the
4915 function works correctly in either a Bazaar or Git repo.
4917 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4919 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4920 Goes with removal of the joke manpages from /etc.
4922 2014-01-10 Kenichi Handa <handa@gnu.org>
4924 * mail/rmail.el (rmail-get-coding-system):
4925 Check rmail-get-coding-function before "funcall"ing it.
4927 2014-01-10 Glenn Morris <rgm@gnu.org>
4929 * emacs-lisp/authors.el (authors-fixed-entries):
4930 Update for files that no longer exist.
4932 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4934 * version.el (emacs-bzr-get-version): Restore compatibilty with
4937 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4939 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4942 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4944 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4946 2014-01-10 Chong Yidong <cyd@gnu.org>
4948 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4950 2014-01-10 Anders Lindgren <andlind@gmail.com>
4952 * follow.el (follow-cache-command-list): Include right-char and
4955 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4958 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4959 * woman.el (woman-mark-horizontal-position):
4960 Rename from woman-mark-horizonal-position. Use changed.
4962 2014-01-10 Glenn Morris <rgm@gnu.org>
4964 * info.el (info-initialize): If running uninstalled, ensure our
4965 own info files are always found first, even if INFOPATH is set.
4967 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4969 2014-01-09 David Engster <deng@randomsample.de>
4971 * emacs-lisp/eieio-custom.el:
4972 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4973 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4974 * emacs-lisp/eieio.el: Regenerate autoloads.
4976 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4978 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4979 following renames. (Bug#8756)
4981 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4985 (activate-mark): Add `no-tmm' argument.
4986 (set-mark, push-mark-command): Use it instead of running
4987 activate-mark-hook by hand.
4989 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4991 In preparation for the move to git, sanitize out some
4992 Bazaar-specific names.
4994 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4996 * version.el (emacs-bzr-version): Name changed to
4997 emacs-repository-version. Obsolete-variable alias made.
4998 * loadup.el: Follow through on this name change.
4999 * mail/emacsbug.el (report-emacs-bug): Factor out any
5000 assumption about the version control system in use.
5002 2014-01-08 David Engster <deng@randomsample.de>
5004 * help-fns.el (help-fns-describe-function-functions):
5005 New variable to call functions for augmenting help buffers.
5006 (describe-function-1): Remove explicit calls to
5007 `help-fns--compiler-macro', `help-fns--parent-mode' and
5008 `help-fns--obsolete'. Put them in above new variable instead, and
5009 call them through `run-hook-with-args'.
5010 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5011 `eieio-describe-class'. Not meant for interactive use anymore,
5012 but to augment existing help buffers. Remove optional second
5013 argument. Create proper button for file location.
5014 Rewrite function to use `insert' instead of `princ' and `prin1' where
5016 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5017 (eieio-method-def, eieio-class-def): Move further up.
5018 (describe-method, describe-generic, eieio-describe-method):
5020 (eieio-help-constructor, eieio-help-generic): Rename from
5021 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5022 Rewrite to use `insert' in the current buffer and use proper help
5024 (eieio-help-find-method-definition)
5025 (eieio-help-find-class-definition): Also accept symbols as
5027 (eieio-help-mode-augmentation-maybee): Remove.
5028 (eieio-describe-class-sb): Use `describe-function'.
5029 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5030 Add `eieio-help-generic' and `eieio-help-constructor'.
5032 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5035 * language/china-util.el (hz-ascii-designation):
5036 Rename from hz-ascii-designnation.
5037 (hz-ascii-designation): Rename from hz-ascii-designnation.
5040 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5042 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5045 2014-01-08 Bastien Guerry <bzg@gnu.org>
5047 * emacs-lisp/package.el (package-delete):
5048 Correctly delete the package from package-alist.
5050 2014-01-08 Daiki Ueno <ueno@gnu.org>
5052 * emacs-lisp/package.el (url-recreate-url): Declare.
5053 (url-http-target-url): Declare.
5054 (package-handle-response): Include requested URL in the error message.
5055 (package--check-signature): Don't re-signal errors from
5056 package--with-work-buffer. Suggested by Stefan Monnier.
5058 2014-01-07 Bastien Guerry <bzg@gnu.org>
5060 * minibuffer.el (completion--try-word-completion): When both a
5061 hyphen and a space are possible candidates for the character
5062 following a word, display both candidates. (Bug#15980)
5064 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5066 * window.el (balance-windows-2): While rounding don't give a
5067 window more than the remainder. Bug#16351, bug#16383.
5069 2014-01-07 Glenn Morris <rgm@gnu.org>
5071 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5072 (menu-bar-help-menu): Use view-external-packages instead.
5074 2014-01-07 Bastien Guerry <bzg@gnu.org>
5076 * emacs-lisp/package.el (package-delete): Also delete the package
5077 name from `package-alist', not its description only.
5079 2014-01-07 Glenn Morris <rgm@gnu.org>
5081 * help.el (view-external-packages):
5082 * menu-bar.el (menu-bar-help-extra-packages):
5083 Visit efaq.info rather than etc/MORE.STUFF.
5085 2014-01-07 Juri Linkov <juri@jurta.org>
5087 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5088 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5090 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5091 that shadows RET. (Bug#16342)
5093 2014-01-07 Chong Yidong <cyd@gnu.org>
5095 * isearch.el (isearch-yank-char, isearch-yank-word)
5096 (isearch-yank-line): Doc fix.
5098 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5101 * emacs-lisp/elint.el (elint-find-builtins):
5102 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5103 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5104 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5105 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5106 * apropos.el (apropos-safe-documentation):
5107 * subr.el (symbol-file): Remove redundant fboundp.
5108 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5110 2014-01-06 Bastien Guerry <bzg@gnu.org>
5112 * hl-line.el (global-hl-line-overlay): Make a local variable.
5113 (global-hl-line-overlays): New variable to store all overlays.
5114 (global-hl-line-mode): Don't delete overlays from the current
5115 buffer when `global-hl-line-sticky-flag' is non-nil.
5116 (global-hl-line-highlight): Add new overlays to
5117 `global-hl-line-overlays'.
5118 (global-hl-line-unhighlight-all): New function to delete all
5119 overlays when turning off `global-hl-line-mode'.
5120 This fixes Bug#16183.
5122 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * subr.el (set-transient-map): Fix nested case and docstring.
5126 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5128 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5131 2014-01-06 Daniel Colascione <dancol@dancol.org>
5133 Fix defun navigation in vc log view.
5135 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5136 like `beginning-of-defun'.
5137 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5138 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5139 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5140 (log-view-extract-comment): Call `log-view-current-entry' directly
5141 instead of relying on broken `log-view-beginning-of-defun' behavior.
5143 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5146 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5147 * emacs-lisp/debug.el (cancel-debug-on-entry):
5148 * epg.el (epg-error-to-string):
5149 * files.el (recover-file):
5150 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5151 * mail/emacsbug.el (report-emacs-bug-hook):
5152 * mail/sendmail.el (mail-recover):
5153 * ses.el (ses-yank-resize):
5154 * term/ns-win.el (ns-print-buffer):
5155 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5156 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5158 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5160 2014-01-06 Leo Liu <sdl.web@gmail.com>
5162 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5163 to avoid shadowing global key. (Bug#16354)
5165 2014-01-06 Daniel Colascione <dancol@dancol.org>
5167 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5170 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5172 * window.el (balance-windows): Add mising t to fix Bug#16351.
5174 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5176 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5178 (shr-insert): If we have a word that's longer than `shr-width',
5179 break after it anyway. Otherwise we'll do no breaking once we get
5182 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5184 * net/eww.el (eww): Support single/double quote for search.
5185 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5186 (eww-history-quit): Delete and use quit-window.
5187 (eww-history-kill): Delete, because it doesn't work well and
5189 (eww-history-mode-map): Delete some keys and add easy-menu.
5191 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5193 Fix misspelling of 'chinese' in rx (Bug#16237).
5194 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5197 Change subword regexps back to vars (Bug#16296).
5198 * progmodes/subword.el (subword-forward-regexp)
5199 (subword-backward-regexp): Change these back to variables.
5201 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5203 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5204 syntax-begin-function (bug#16247).
5206 2014-01-03 Chong Yidong <cyd@gnu.org>
5208 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5209 (advice--docstring): Delete variable.
5210 (advice--make-1): Leave the docstring empty.
5211 (advice-add): Use function-documentation for advised docstring.
5213 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5214 Ignore function-documentation property when getting documentation.
5215 (ad-activate-advised-definition): Use function-documentation
5216 generate the docstring.
5217 (ad-make-advised-definition): Don't call
5218 ad-make-advised-definition-docstring.
5219 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5222 * progmodes/sql.el (sql-help): Use function-documentation instead
5223 of dynamic-docstring-function property. No need to autoload now.
5224 (sql--help-docstring): New variable.
5225 (sql--make-help-docstring): Use it.
5227 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5229 * ielm.el (ielm-tab): Retarget.
5230 (ielm-map): Use ielm-tab for tab.
5231 (ielm-complete-filename): Use comint-filename-completion.
5232 (ielm-complete-symbol): Remove.
5233 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5234 remove ielm-tab from completion-at-point-functions (bug#16224).
5236 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5237 Beware signals raised by predicates (bug#16201).
5239 2014-01-02 Richard Stallman <rms@gnu.org>
5241 * dired-aux.el (dired-do-print): Handle printer-name.
5243 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5244 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5245 (rmail-epa-decrypt): Turn off mime processing.
5247 * mail/rmail.el (rmail-make-in-reply-to-field):
5248 Add parens in message-id.
5250 * mail/rmail.el (rmail-get-coding-function): Variable.
5251 (rmail-get-coding-system): Use it.
5253 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5255 * international/mule-conf.el: Unify the charset indian-is13194.
5256 (indian-is13194): Specify unify-map.
5258 2013-12-31 Leo Liu <sdl.web@gmail.com>
5260 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5262 2013-12-30 Daniel Colascione <dancol@dancol.org>
5264 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5265 of printing a useless when we resume from sleep.
5267 * progmodes/sh-script.el
5268 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5269 in indentation code. (Bug#16233)
5271 2013-12-28 João Távora <joaotavora@gmail.com>
5273 * elec-pair.el (electric-pair-post-self-insert-function):
5274 Don't open extra newlines at beginning of buffer. (Bug#16272)
5276 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5278 * frame.el (window-system-for-display): Don't allow to create a
5279 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5281 2013-12-28 Glenn Morris <rgm@gnu.org>
5283 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5286 * apropos.el (apropos-match-face):
5287 * calculator.el (calculator-displayer):
5288 * dabbrev.el (dabbrev-search-these-buffers-only):
5289 * face-remap.el (buffer-face-mode-face):
5290 * simple.el (yank-handled-properties):
5291 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5292 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5293 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5294 (hashcash-double-spend-database):
5295 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5296 (ruby-deep-indent-paren-style):
5297 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5298 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5299 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5300 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5301 Specify custom types.
5303 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5304 * bookmark.el (bookmark-bmenu-use-header-line):
5305 * doc-view.el (doc-view-scale-internally):
5306 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5307 * register.el (register-preview-delay):
5308 * net/shr.el (shr-bullet):
5309 * progmodes/cfengine.el (cfengine-cf-promises)
5310 (cfengine-parameters-indent):
5311 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5312 * textmodes/reftex-vars.el (reftex-label-regexps):
5313 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5315 * net/tls.el (tls-certtool-program): Fix default value.
5317 * desktop.el (desktop-restore-in-current-display):
5318 * newcomment.el (comment-empty-lines):
5319 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5320 (idlwave-pad-keyword):
5321 * progmodes/tcl.el (tcl-tab-always-indent):
5322 * textmodes/reftex-vars.el (reftex-index-default-tag):
5323 * elec-pair.el (electric-pair-skip-whitespace):
5324 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5326 * emacs-lisp/authors.el (authors-ignored-files)
5327 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5329 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5331 * shell.el (shell-dynamic-complete-command): Doc fix.
5332 (shell--command-completion-data): Shell completion now matches
5333 executable filenames from the current buffer's directory, on
5334 systems in which this behavior is the default (windows-nt, ms-dos).
5336 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5338 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5340 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5345 * electric.el: Move all electric-pair-* to elec-pair.el.
5346 * elec-pair.el: New file, split from electric.el.
5348 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5350 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5351 indentation level is larger than the width, because that will
5353 (shr-insert): Fill repeatedly long texts, so that Japanese is
5354 formatted correctly (bug#16263).
5355 (shr-find-fill-point): Off by one error in comparison with the
5358 2013-12-26 João Távora <joaotavora@gmail.com>
5360 * electric.el (electric-pair-mode): More flexible engine for skip-
5361 and inhibit predicates, new options for pairing-related functionality.
5362 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5363 if that keeps or improves their balance in buffers.
5364 (electric-pair-delete-adjacent-pairs): Delete the pair when
5365 backspacing over adjacent matched delimiters.
5366 (electric-pair-open-extra-newline): Open extra newline when
5367 inserting newlines between adjacent matched delimiters.
5368 (electric--sort-post-self-insertion-hook):
5369 Sort post-self-insert-hook according to priority values when
5370 minor-modes are activated.
5371 * simple.el (newline-and-indent): Call newline with interactive
5373 (blink-paren-post-self-insert-function): Set priority to 100.
5374 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5375 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5376 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5377 electric-pair-open-newline-between-pairs to nil.
5379 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5381 * progmodes/python.el: Use lexical-binding.
5382 (python-nav-beginning-of-defun): Stop searching ASAP.
5384 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5386 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5387 Fix interactive spec. Doc fix. (Bug#15754)
5389 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5391 * emacs-lisp/byte-run.el (eval-when-compile):
5392 * progmodes/cc-defs.el (cc-eval-when-compile):
5393 Fix edebug spec (bug#16184).
5395 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5397 * net/shr.el (shr-visit-file): Remove debugging function.
5398 (shr-insert): Don't infloop if we can't find a good place to break
5399 the line (bug#16256).
5401 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5403 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5404 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5405 python-nav-lisp-forward-sexp-safe.
5406 (python-nav--forward-sexp): New argument SAFE allows switching
5407 forward sexp movement behavior for parens.
5408 (python-nav-forward-sexp): Throw errors on unterminated parens
5410 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5411 (python-nav-backward-sexp-safe): New functions.
5412 (python-shell-buffer-substring):
5413 Use `python-nav-forward-sexp-safe'.
5415 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5417 * net/shr.el (shr-find-fill-point): Don't break lines before a
5419 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5420 (shr-find-fill-point): Remove the special checks for the quotation
5421 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5423 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5425 * net/eww.el (eww-form-textarea): Use a different face for
5426 textareas than text input since they have different keymaps
5429 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5431 * progmodes/python.el (python-nav-beginning-of-statement):
5432 Speed up (Bug#15295).
5434 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5436 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5437 the window configuration.
5439 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5441 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5442 we run on MS-Windows or MS-DOS.
5444 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5446 * window.el (balance-windows-area): Call window-size instead of
5447 window-height and window-width. Bug#16241.
5449 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5451 * net/eww.el (eww-bookmark-quit): Remove.
5452 (eww-bookmark-browse): Restore the window configuration when you
5453 choose a bookmark (bug#16144).
5455 2013-12-24 Daniel Colascione <dancol@dancol.org>
5457 * icomplete.el: Remove redundant :group arguments to `defcustom'
5459 (icomplete-show-matches-on-no-input): New customizable variable.
5460 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5461 we have something to show.
5462 (icomplete-exhibit): Compute completions even if we have no user input.
5464 2013-12-23 Daniel Colascione <dancol@dancol.org>
5466 * icomplete.el: Move `provide' to end of file.
5468 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5470 * net/gnutls.el (gnutls-verify-error): Add version tag.
5472 2013-12-23 Chong Yidong <cyd@gnu.org>
5474 * subr.el (set-transient-map): Rename from
5475 set-temporary-overlay-map. Doc fix.
5477 * face-remap.el (text-scale-adjust):
5478 * indent.el (indent-rigidly):
5479 * kmacro.el (kmacro-call-macro):
5480 * minibuffer.el (minibuffer-force-complete):
5481 * repeat.el (repeat):
5482 * simple.el (universal-argument--mode):
5483 * calendar/todo-mode.el (todo-insert-item--next-param):
5484 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5486 * indent.el (indent-rigidly): Use substitute-command-keys.
5488 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5490 * net/eww.el (eww-tag-select): Add text-property to jump to next
5492 (eww): Add non-supported ftp error.
5494 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5496 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5497 comments. Handle electric indent after typing `?' and `!'.
5499 2013-12-22 Chong Yidong <cyd@gnu.org>
5501 * faces.el (face-spec-recalc): If the theme specs are not
5502 applicable to a frame, fall back on the defface spec.
5503 This prevents themes from obliterating faces on low-color terminals.
5505 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5507 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5508 after `{'. We need it after block openers, and it doesn't seem
5509 to hurt after hash openers.
5511 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5513 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5514 extracted from `ruby-smie-rules'.
5515 (ruby--electric-indent-chars): New variable.
5516 (ruby--electric-indent-p): New function.
5517 (ruby-mode): Use `electric-indent-functions' instead of
5518 `electric-indent-chars'.
5520 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5522 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5524 (ruby-smie-rules): Indent plus one level after `=>'.
5526 2013-12-21 Richard Stallman <rms@gnu.org>
5528 * simple.el (newline): Doc fix.
5530 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5532 * net/eww.el (eww-list-histories, eww-list-histories)
5533 (eww-history-browse, eww-history-quit, eww-history-kill)
5534 (eww-history-mode-map, eww-history-mode): New command and
5535 functions to list browser histories.
5536 (eww-form-text): Support text form with disabled
5537 and readonly attributes.
5538 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5540 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5542 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5543 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5544 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5545 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5547 (eww-bookmark-mode-map): Add menu.
5548 (eww-render, eww-mode): Use `setq-local'.
5549 (eww-tool-bar-map): New variable.
5550 (eww-mode): Set `tool-bar-map'.
5551 (eww-view-source): Check for `html-mode' with `fboundp'.
5553 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5555 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5556 elements with text inside. Also remove debugging.
5558 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5560 * cus-start.el (all): Add ns-use-srgb-colorspace.
5562 2013-12-21 Chong Yidong <cyd@gnu.org>
5564 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5565 undefined. Thus, theme settings for undefined faces do not take
5566 effect until the faces are defined with defface, the same as with
5569 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5570 (face-spec-reset-face): Don't assign extra properties in temacs.
5571 (face-spec-recalc): Apply X resources too.
5573 2013-12-21 Chong Yidong <cyd@gnu.org>
5575 * faces.el (face-spec-set):
5576 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5577 * custom.el (defface): Doc fixes (Bug#16203).
5579 * indent.el (indent-rigidly-map): Add docstring, and move commands
5580 into named functions.
5581 (indent-rigidly-left, indent-rigidly-right)
5582 (indent-rigidly-left-to-tab-stop)
5583 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5584 indentation direction based on bidi direction, and accumulate
5585 sequential commands in a single undo boundary.
5586 (indent-rigidly--pop-undo): New utility function.
5588 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5590 * faces.el (read-face-name): Require crm.el when using crm-separator.
5592 2013-12-20 Daniel Colascione <dancol@dancol.org>
5594 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5595 so that we don't reflow comments into the shebang line.
5597 2013-12-20 Juri Linkov <juri@jurta.org>
5599 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5600 a position when `dired-directory' is non-nil. Check integer
5601 positions with `integerp'.
5602 (toggle-save-place, save-places-to-alist): Add check for
5604 (save-place-find-file-hook): Check integer positions with
5606 (save-place-dired-hook): Use `dired-goto-file' when
5607 `dired-filename' is found in the assoc list. Check integer
5608 positions with `integerp'.
5609 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5611 * dired.el (dired-initial-position-hook): Rename back from
5612 `dired-initial-point-hook'.
5613 (dired-initial-position): Rename `dired-initial-point-hook' to
5614 `dired-initial-position-hook'.
5615 (dired-file-name-at-point): Doc fix. (Bug#15329)
5617 2013-12-20 Juri Linkov <juri@jurta.org>
5619 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5620 (read-regexp-suggestions): New function.
5621 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5622 Use `read-regexp-suggestions'. Add non-empty default to history
5624 (occur-read-regexp-defaults-function): Remove function.
5625 (occur-read-primary-args): Use `regexp-history-last' instead of
5626 `occur-read-regexp-defaults-function'.
5628 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5629 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5630 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5631 `hi-lock-read-regexp-defaults-function'. Doc fix.
5632 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5633 with `find-tag-default-as-symbol-regexp'. Doc fix.
5634 (hi-lock-read-regexp-defaults): Remove function.
5635 (hi-lock-regexp-okay): Add check for null.
5637 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5638 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5640 * subr.el (find-tag-default-as-symbol-regexp): New function.
5641 (find-tag-default-as-regexp): Move symbol regexp formatting to
5642 `find-tag-default-as-symbol-regexp'.
5644 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5646 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5649 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5651 * calendar/todo-mode.el: New implementation of item insertion
5652 commands and key bindings.
5653 (todo-key-prompt): New face.
5654 (todo-insert-item): New command.
5655 (todo-insert-item--parameters): New defconst, replacing defvar
5656 todo-insertion-commands-args-genlist.
5657 (todo-insert-item--param-key-alist): New defconst, replacing
5658 defvar todo-insertion-commands-arg-key-list.
5659 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5660 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5661 (todo-insert-item--next-param): New functions.
5662 (todo-insert-item--args, todo-insert-item--argleft)
5663 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5665 (todo-key-bindings-t): Change binding of "i" from
5666 todo-insertion-map to todo-insert-item.
5667 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5668 (todo-insertion-command-name, todo-insertion-commands-names)
5669 (todo-define-insertion-command, todo-insertion-commands)
5670 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5672 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5674 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5675 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5677 (todo-move-category): Allow choosing a non-existing todo file to
5678 move the category to, and create that file.
5679 (todo-default-priority): New user option.
5680 (todo-set-item-priority): Use it.
5681 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5682 (desktop-restore-file-buffer): Declare.
5683 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5684 (todo-modes-set-2): Locally set desktop-save-buffer to
5685 todo-desktop-save-buffer.
5686 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5687 (auto-mode-alist): Add autoload cookie.
5689 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5691 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5692 helpers.el was a poor choice of name.
5693 (string-remove-prefix): New function.
5694 (string-remove-suffix): New function.
5696 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5698 Fix assignment for new window total sizes.
5699 * window.el (window--pixel-to-size): Remove function.
5700 (window--pixel-to-total-1, window--pixel-to-total):
5701 Fix calculation of new total sizes.
5703 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5705 * comint.el (comint-output-filter): Fix rear-nonsticky property
5706 placement (Bug#16010).
5708 2013-12-20 Chong Yidong <cyd@gnu.org>
5710 * faces.el (read-color): Minor fix for completion function.
5712 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5714 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5715 New option. (Bug#16182)
5716 (ruby-smie--indent-to-stmt-p): Use it.
5717 (ruby-smie-rules): Revert the logic in the handling of `when'.
5718 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5719 (ruby-deep-arglist, ruby-deep-indent-paren)
5720 (ruby-deep-indent-paren-style): Update docstrings to note that the
5721 vars don't have any effect with SMIE.
5723 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5725 * calc/calc.el (calc-enter, calc-pop): Use the variable
5726 `calc-context-sensitive-enter'.
5728 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5730 * net/shr.el (shr-insert): Protect against infloops in degenerate
5733 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5735 * progmodes/octave.el (octave): Add link to manual and octave
5737 (octave-mode-menu): Link to octave-mode manual.
5739 2013-12-20 Leo Liu <sdl.web@gmail.com>
5741 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5742 insertion using skeleton-end-newline. (Bug#16138)
5744 2013-12-20 Juri Linkov <juri@jurta.org>
5746 * replace.el (occur-engine): Use `add-face-text-property'
5747 to add the face property to matches and titles. (Bug#14645)
5749 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5750 the palette of other hi-lock colors.
5751 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5753 2013-12-19 Juri Linkov <juri@jurta.org>
5755 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5756 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5757 (minibuffer-history-symbol): Move variable declaration closer to
5760 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5763 2013-12-19 Juri Linkov <juri@jurta.org>
5765 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5767 (log-edit-hook): Add it to :options. (Bug#16170)
5769 2013-12-19 Juri Linkov <juri@jurta.org>
5771 * simple.el (eval-expression-print-format): Don't check for
5772 command names and the last command. Always display additional
5773 formats of the integer result in the echo area, and insert them
5774 to the current buffer only with a zero prefix arg.
5775 Display character when char-displayable-p is non-nil.
5776 (eval-expression): With a zero prefix arg, set `print-length' and
5777 `print-level' to nil, and insert the integer values from
5778 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5780 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5781 `eval-last-sexp-arg-internal'. Doc fix.
5782 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5783 `eval-last-sexp-print-value'. Doc fix.
5784 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5785 Set `print-length' and `print-level' to nil when arg is zero.
5786 (eval-last-sexp): Doc fix.
5787 (eval-defun-2): Print the integer values from
5788 `eval-expression-print-format' at the end.
5790 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5791 values from `eval-expression-print-format' at the end.
5793 * ielm.el (ielm-eval-input): Print the integer
5794 values from `eval-expression-print-format' at the end.
5796 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5798 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5799 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5801 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5803 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5804 (hl-line-highlight, global-hl-line-highlight): Use it.
5805 (hl-line-overlay): Use defvar-local.
5807 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5809 * term/ns-win.el: Require dnd.
5810 (global-map): Remove drag items.
5811 (ns-insert-text, ns-set-foreground-at-mouse)
5812 (ns-set-background-at-mouse):
5813 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5814 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5817 2013-12-19 Glenn Morris <rgm@gnu.org>
5819 * emacs-lisp/ert.el (ert-select-tests):
5820 Fix string/symbol mixup. (Bug#16121)
5822 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5824 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5825 keywords to their parent.
5827 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5829 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5830 first arg to be a string (fixed dead code), or an operator symbol.
5831 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5833 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5834 did nothing. Don't respond to `(:after ".")', it will be called
5835 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5836 change anything. Only return indentation for binary operators
5837 when they are hanging. De-dent opening paren when its parent is
5838 `.', otherwise it looks bad when the dot is not at bol or eol
5841 2013-12-19 Juri Linkov <juri@jurta.org>
5843 * replace.el (query-replace-read-args): Split a non-negative arg
5844 and a negative arg into separate elements.
5845 (query-replace, query-replace-regexp, replace-string)
5846 (replace-regexp): Add arg `backward'. Doc fix.
5847 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5848 move point to the beginning of the match.
5849 (replace-search, replace-highlight): Use new arg `backward'
5850 to set the value of `isearch-forward'.
5851 (perform-replace): Add arg `backward' and use it to perform
5852 replacement backward. (Bug#14979)
5854 * isearch.el (isearch-query-replace): Use a negative prefix arg
5855 to call `perform-replace' with a non-nil arg `backward'.
5857 2013-12-18 Juri Linkov <juri@jurta.org>
5859 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5860 to the default list. Move `log-edit-show-files' to the end.
5861 Add more available functions to options.
5862 (log-edit): Move default specific settings to
5863 `log-edit-insert-message-template'. Don't move point.
5864 (log-edit-insert-message-template): New function.
5865 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5868 2013-12-18 Juri Linkov <juri@jurta.org>
5870 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5871 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5873 2013-12-18 Leo Liu <sdl.web@gmail.com>
5875 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5878 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5880 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5881 formats for displaying file sizes when the -s switch is given.
5882 Instead, compute a separate format for displaying the size in
5883 blocks, which is displayed in addition to the "regular" size.
5884 When -h is given in addition to -s, produce size in blocks in
5885 human-readable form as well. (Bug#16179)
5887 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5889 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5890 Reference tables with ~\ref{...} instead of only \ref{...}.
5892 2013-12-18 Chong Yidong <cyd@gnu.org>
5894 * cus-edit.el (custom-magic-alist): Fix "themed" description
5897 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5898 is non-nil, do not create a new entry in the symbol's theme-value
5899 or theme-face property; update theme-settings only (Bug#14664).
5900 (custom-available-themes): Doc fix.
5902 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5905 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5907 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5909 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5912 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5914 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5916 2013-12-18 Glenn Morris <rgm@gnu.org>
5918 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5919 * cus-start.el (load-prefer-newer): New option.
5921 2013-12-18 Le Wang <l26wang@gmail.com>
5923 * comint.el (comint-previous-matching-input-from-input):
5924 Retain point (Bug#13404).
5926 2013-12-18 Chong Yidong <cyd@gnu.org>
5928 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5930 2013-12-18 Glenn Morris <rgm@gnu.org>
5932 * mail/emacsbug.el (report-emacs-bug):
5933 Only mention enable-multibyte-characters if non-standard.
5935 2013-12-17 Juri Linkov <juri@jurta.org>
5937 * arc-mode.el (archive-extract-by-file): Check if directory exists
5938 before deletion to not show irrelevant errors if it doesn't exist.
5940 2013-12-17 Juri Linkov <juri@jurta.org>
5942 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5945 * net/eww.el (browse-web): Add alias to `eww'.
5946 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5947 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5949 * net/browse-url.el (browse-url-browser-function): Move `eww'
5950 closer to similar functions.
5952 * startup.el (fancy-startup-screen, fancy-about-screen):
5953 Set browse-url-browser-function to eww-browse-url locally.
5956 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5958 * window.el (window--pixel-to-total): Remove unused `mini' var.
5959 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5960 (split-window): Remove unused `new' var.
5961 (window--display-buffer): Remove unused `frame' and `delta' vars.
5962 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5965 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5967 * dired.el (dired-mark-pop-up):
5968 * register.el (register-preview): Don't bind
5969 split-height-threshold here since it's now done in
5970 display-buffer-below-selected.
5972 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5974 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5975 xterm-rgb-convert-to-16bit.
5976 (rxvt-register-default-colors): Standardize with
5977 xterm-register-default-colors (Bug#14078).
5979 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5981 * simple.el (kill-region): Pass mark first, then point, so that
5982 kill-append works right (Bug#12819).
5983 (copy-region-as-kill, kill-ring-save): Likewise.
5985 2013-12-17 Leo Liu <sdl.web@gmail.com>
5987 * net/rcirc.el (rcirc-add-face):
5988 * eshell/em-prompt.el (eshell-emit-prompt):
5989 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5992 2013-12-17 Chong Yidong <cyd@gnu.org>
5994 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5995 Suggested by Xue Fuqiao.
5997 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5999 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6001 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6003 * net/shr.el (shr-insert-document): Remove unused var
6004 `shr-preliminary-table-render'.
6005 (shr-rescale-image): Remove unused arg `force'.
6006 (shr-put-image): Update calls accordingly.
6007 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6009 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6011 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6012 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6013 :close-all, to see which indentation method to use (Bug#16116).
6014 (smie-rules-function): Document the method :close-all.
6016 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6018 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6020 * net/eww.el (eww-display-html): If we can't find the anchor we're
6021 looking for, then go to point-min.
6023 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6025 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6026 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6027 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6028 Expand dir too, in case it's relative.
6030 2013-12-16 Juri Linkov <juri@jurta.org>
6032 * desktop.el (desktop-auto-save-timeout): Change default to
6033 `auto-save-timeout'. Doc fix.
6034 (desktop-save): Skip the timestamp in desktop-saved-frameset
6035 when checking for auto-save changes.
6036 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6037 `desktop-auto-save' is called repeatedly by the idle timer.
6038 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6039 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6042 2013-12-16 Juri Linkov <juri@jurta.org>
6044 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6046 (isearch-pre-command-hook): Check `this-command' for symbolp.
6048 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6050 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6052 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6054 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6055 (cfengine3--current-function): Bring in the current-function
6056 functionality from `cfengine3--current-word'.
6057 (cfengine3-completion-function): Bring in the
6058 bounds-of-current-word functionality from
6059 `cfengine3--current-word'.
6061 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6063 * window.el (display-buffer-below-selected):
6064 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6066 2013-12-16 Leo Liu <sdl.web@gmail.com>
6068 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6069 Remove NOMSG arg and all uses changed.
6071 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6073 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6074 (cua--deactivate-rectangle): Don't deactivate the mark.
6075 (cua-set-rectangle-mark): Don't set mark-active since
6076 cua--activate-rectangle already does it for us.
6077 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6078 non-rectangular region.
6080 * emulation/cua-base.el (cua-repeat-replace-region):
6081 Use with-current-buffer.
6083 * net/gnutls.el: Use cl-lib.
6084 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6086 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6088 * emacs-lisp/package.el (package-built-in-p): Support both
6089 built-in and the package.el converted package descriptions.
6090 (package-show-package-list): Allow keywords.
6091 (package-keyword-button-action): Use it instead of
6092 `finder-list-matches'.
6093 (package-menu-filter-interactive): Interactive filtering (by
6095 (package-menu--generate): Support keywords and change keymappings
6096 and headers when they are given.
6097 (package--has-keyword-p): Helper function.
6098 (package-menu--refresh): Use it.
6099 (package--mapc): Helper function.
6100 (package-all-keywords): Use it.
6101 (package-menu-mode-map): Set up menu items and keybindings to
6102 provide a filtering UI.
6104 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6106 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6107 the behavior when a certificate fails validation. Defaults to
6108 old behavior: never abort, just warn.
6109 (gnutls-negotiate): Use it.
6111 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6113 * window.el (display-buffer-below-selected): Never split window
6114 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6116 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6118 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6119 (package-buffer-info): Use it (bug#15108).
6121 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * icomplete.el (icomplete-completions): Make sure the prefix is already
6124 displayed elsewhere before hiding it (bug#16219).
6126 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6128 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6129 open-paren tokens when preceded by a open-paren, too.
6130 (ruby-smie-rules): Handle virtual indentation after open-paren
6131 tokens specially. If there is code between it and eol, return the
6132 column where is starts (Bug#16118).
6134 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6136 * progmodes/cfengine.el: Fix `add-hook' doc.
6137 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6138 (cfengine3--current-word): Fix parameters.
6139 (cfengine3-make-syntax-cache): Simplify further.
6140 (cfengine3-completion-function, cfengine3--current-function):
6141 Use `assq' for symbols.
6142 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6144 2013-12-13 Glenn Morris <rgm@gnu.org>
6146 * loadup.el (load-path): Warn if site-load or site-init changes it.
6147 No more need to reset it when bootstrapping.
6149 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6151 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6152 locations for cf-promises.
6153 (cfengine-mode-syntax-functions-regex): New caching variable.
6154 (cfengine3-fallback-syntax): Fallback syntax for cases where
6155 cf-promises doesn't run.
6156 (cfengine3--current-word): Reimplement using
6157 `cfengine-mode-syntax-functions-regex'.
6158 (cfengine3-completion-function, cfengine3--current-function):
6159 Use `cfengine3-make-syntax-cache' directly.
6160 (cfengine3-clear-syntax-cache): New function.
6161 (cfengine3-make-syntax-cache): Simplify and create
6162 `cfengine-mode-syntax-functions-regex' on demand.
6163 (cfengine3-format-function-docstring): Don't call
6164 `cfengine3-make-syntax-cache' explicitly.
6166 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6168 Fix windmove-find-other-window broken after pixelwise resizing
6170 * windmove.el (windmove-other-window-loc): Revert change from
6172 (windmove-find-other-window): Call window-in-direction.
6173 * window.el (window-in-direction): New arguments SIGN, WRAP and
6174 MINI to emulate original windmove-find-other-window behavior.
6176 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6178 * simple.el (blink-matching--overlay): New variable.
6179 (blink-matching-open): Instead of moving point, highlight the
6180 matching paren with an overlay
6181 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6183 * faces.el (paren-showing-faces, show-paren-match)
6184 (show-paren-mismatch): Move from paren.el.
6186 2013-12-13 Leo Liu <sdl.web@gmail.com>
6188 * indent.el (indent-region): Disable progress reporter in
6189 minibuffer. (Bug#16108)
6191 * bindings.el (visual-order-cursor-movement): Fix version.
6193 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6195 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6196 Also match after beginning of line.
6197 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6198 files. Thanks to Russell Sim. (Bug#15378)
6200 2013-12-13 Juri Linkov <juri@jurta.org>
6202 * simple.el <Keypad support>: Remove key bindings duplicated
6203 with bindings.el. (Bug#14397)
6205 2013-12-13 Juri Linkov <juri@jurta.org>
6207 * comint.el (comint-mode-map): Replace `delete-char' with
6208 `delete-forward-char'. (Bug#16109)
6210 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6212 * progmodes/python.el (python-indent-calculate-indentation):
6213 Fix de-denters cornercase. (Bug#15731)
6215 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6217 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6218 (advice--make): Pay attention to `depth'.
6219 (advice--make-1): Don't autoload commands eagerly.
6220 * emacs-lisp/elp.el (elp-instrument-function):
6221 * emacs-lisp/trace.el (trace-function-internal):
6222 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6224 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6226 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6228 * term/w32-win.el (w32-handle-dropped-file):
6229 * startup.el (normal-top-level):
6230 * net/browse-url.el (browse-url-file-url):
6231 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6232 decode file names using 'utf-8' rather than
6233 file-name-coding-system.
6235 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6237 * progmodes/python.el (python-indent-context)
6238 (python-indent-calculate-indentation): Fix auto-identation
6239 behavior for comment blocks. (Bug#15916)
6241 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6243 * progmodes/python.el (python-indent-calculate-indentation):
6244 When determining indentation, don't treat "return", "pass", etc., as
6245 operators when they are just string constituents. (Bug#15812)
6247 2013-12-12 Juri Linkov <juri@jurta.org>
6249 * uniquify.el (uniquify-buffer-name-style): Change default to
6250 `post-forward-angle-brackets'.
6252 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6253 `uniquify'. Change default to `post-forward-angle-brackets'.
6255 2013-12-11 Glenn Morris <rgm@gnu.org>
6257 * emacs-lisp/package.el (finder-list-matches):
6258 Autoload rather than falsely declaring.
6260 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6262 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6263 (eww-mode-map): Use them.
6265 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6267 * window.el (display-buffer-in-side-window): Fix doc-string
6270 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6272 * vc/vc-git.el: Silence byte-compiler warnings.
6273 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6274 (log-edit-set-header): Declare.
6276 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6278 * Makefile.in (custom-deps, finder-data): Run output file names
6279 through unmsys--file-name. (Bug#16099)
6281 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6284 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6286 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6287 instead of deleting the selection "by hand" (bug#16098).
6288 Rely on insert-for-yank to yank rectangles.
6289 (cua-highlight-region-shift-only): Mark obsolete.
6290 (cua-mode): Don't enable/disable transient-mark-mode,
6291 shift-select-mode (cua-mode works both with and without them), and
6292 pc-selection-mode (obsolete).
6293 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6294 (cua--deactivate-rectangle): Deactivate it.
6296 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6297 (delete-selection-helper): Make sure yank starts at the top of the
6299 (minibuffer-keyboard-quit): Use region-active-p.
6301 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6303 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6304 to `delete' (bug#16109).
6306 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6308 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6309 info manual and show keybindings and set `:group' keyword.
6311 2013-12-11 Juri Linkov <juri@jurta.org>
6313 * delsel.el (delete-active-region): Let-bind `this-command'
6314 to prevent `kill-region' from changing its original value.
6315 (delete-selection-helper): Handle `overwrite-mode' for the type
6316 `kill' exactly the same way as for the type `t'.
6317 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6318 Support more commands. (Bug#13312)
6320 2013-12-11 Juri Linkov <juri@jurta.org>
6322 * bindings.el: Map kp keys to non-kp keys systematically
6323 with basic modifiers control, meta and shift. (Bug#14397)
6325 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6327 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6328 "Close browser" menu items. Fix wrong function of "List
6331 2013-12-11 Juri Linkov <juri@jurta.org>
6333 * misearch.el (multi-isearch-buffers): Set the value of
6334 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6335 arg of isearch-forward to t.
6336 (multi-isearch-buffers-regexp): Set the value of
6337 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6338 arg of isearch-forward-regexp to t.
6339 (multi-isearch-files): Set the value of
6340 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6341 arg of isearch-forward to t.
6342 (multi-isearch-files-regexp): Set the value of
6343 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6344 arg of isearch-forward-regexp to t. (Bug#16035)
6346 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6347 arg of isearch-forward to t.
6348 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6349 arg of isearch-forward-regexp to t.
6350 (dired-isearch-filter-filenames): Remove unnecessary check for
6351 `dired-isearch-filenames'.
6353 * comint.el (comint-history-isearch-backward):
6354 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6355 (comint-history-isearch-backward-regexp):
6356 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6358 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6360 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6361 unmsys--file-name. (Bug#16099)
6363 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6365 * emacs-lisp/package.el (package-keyword-button-action):
6366 Remove finder.el require dependency.
6368 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6370 * emacs-lisp/package.el: Require finder.el.
6371 (describe-package-1): Add keyword buttons.
6372 (package-make-button): New convenience function.
6373 (package-keyword-button-action): Keyword button action using
6374 `finder-list-matches'.
6376 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6378 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6381 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6383 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6386 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6388 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6389 after the end of a percent literal.
6391 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6393 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6394 Handle caret-delimited strings (Bug#16079).
6396 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6398 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6399 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6400 `ruby-parse-partial' (Bug#16078).
6402 2013-12-09 Leo Liu <sdl.web@gmail.com>
6404 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6406 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6408 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6409 (js-switch-indent-offset): New option.
6410 (js--proper-indentation): Use it. And handle the case when
6411 "default" is actually a key in an object literal.
6412 (js--same-line): New function.
6413 (js--multi-line-declaration-indentation): Use it.
6414 (js--indent-in-array-comp, js--array-comp-indentation):
6416 (js--proper-indentation): Use them, to handle array comprehension
6419 2013-12-08 Leo Liu <sdl.web@gmail.com>
6421 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6422 (flymake-make-overlay): Remove arg MOUSE-FACE.
6423 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6425 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6429 (redisplay-highlight-region-function): Use it.
6431 * emulation/cua-base.el (cua--explicit-region-start)
6432 (cua--last-region-shifted): Remove.
6433 (cua--deactivate): Use deactivate-mark.
6434 (cua--pre-command-handler-1): Don't handle shift-selection.
6435 (cua--post-command-handler-1): Don't change transient-mark-mode.
6436 (cua--select-keymaps): Use region-active-p rather than
6437 cua--explicit-region-start or cua--last-region-shifted.
6438 (cua-mode): Enable shift-select-mode.
6440 2013-12-08 Leo Liu <sdl.web@gmail.com>
6442 * progmodes/flymake.el (flymake-popup-current-error-menu):
6443 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6444 (flymake-posn-at-point-as-event, flymake-popup-menu)
6445 (flymake-make-emacs-menu): Remove. (Bug#16077)
6447 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6449 * rect.el (rectangle-mark-mode): Activate mark even if
6450 transient-mark-mode is off (bug#16066).
6451 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6452 is > mark and at bolp.
6454 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6455 (region-extract-function): Use it.
6456 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6457 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6459 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6460 kill-ring-save, kill-region, delete-char, delete-forward-char.
6461 Ignore self-insert-iso.
6463 * emulation/cua-gmrk.el (cua--init-global-mark):
6464 Ignore `self-insert-iso'.
6466 * emulation/cua-base.el (cua--prefix-copy-handler)
6467 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6468 checking cua--rectangle.
6469 (cua-delete-region): Use region-extract-function.
6470 (cua-replace-region): Delete function.
6471 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6472 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6473 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6474 (cua--init-keymaps): Don't remap delete-selection commands.
6475 (cua-mode): Use delete-selection-mode instead of rolling our own
6478 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6479 Obey region-extract-function.
6481 Make registers and delete-selection-mode work on rectangles.
6482 * register.el (describe-register-1): Don't modify the register's value.
6483 (copy-to-register): Obey region-extract-function.
6484 * delsel.el (delete-active-region): Obey region-extract-function.
6486 2013-12-08 Leo Liu <sdl.web@gmail.com>
6488 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6489 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6490 (flymake-compilation-prevents-syntax-check)
6491 (flymake-start-syntax-check-on-newline)
6492 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6493 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6494 (flymake-xml-program, flymake-master-file-dirs)
6495 (flymake-master-file-count-limit)
6496 (flymake-allowed-file-name-masks): Relocate.
6497 (flymake-makehash, flymake-float-time)
6498 (flymake-replace-regexp-in-string, flymake-split-string)
6499 (flymake-get-temp-dir): Remove.
6500 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6501 (flymake-current-row, flymake-selected-frame)
6502 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6503 related functions. (Bug#16077)
6505 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6507 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6509 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6511 * help-fns.el (describe-function-1): Use new advice-* functions
6512 rather than old ad-* functions. Fix function type description and
6513 source links for advised functions and subrs.
6515 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6517 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6519 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6521 * progmodes/compile.el (compilation-start):
6522 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6524 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6525 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6527 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6529 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6530 Touch up the last change.
6532 2013-12-06 Leo Liu <sdl.web@gmail.com>
6534 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6535 (inferior-octave-startup): Always use "octave> " for prompt.
6536 (octave-goto-function-definition)
6537 (octave-sync-function-file-names)
6538 (octave-find-definition-default-filename): Remove redundant backquotes.
6540 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6542 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6544 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6545 where appropriate already.
6546 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6547 end of method names (Bug#15874).
6549 2013-12-06 Juri Linkov <juri@jurta.org>
6551 * isearch.el (isearch--saved-overriding-local-map):
6552 New internal variable.
6553 (isearch-mode): Set it to the initial value of
6554 `overriding-terminal-local-map'.
6555 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6556 with `isearch--saved-overriding-local-map'. (Bug#16035)
6558 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6560 * progmodes/octave.el (inferior-octave-completion-table):
6561 Turn back into function, use `completion-table-with-cache'
6562 (Bug#11906). Update all references.
6564 * minibuffer.el (completion-table-with-cache): New function.
6566 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6568 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6570 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6572 * net/eww.el (eww-current-source): New variable to store page
6574 (eww-display-html, eww-mode, eww-save-history)
6575 (eww-restore-history): Use it.
6576 (eww-view-source): New command to view page source.
6577 Opportunistically uses `html-mode' to highlight the buffer.
6578 (eww-mode-map): Install it.
6580 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6582 * net/dbus.el (dbus-unregister-service)
6583 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6585 (dbus-unregister-service): Skip :serial entries in
6586 `dbus-registered-objects-table'.
6587 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6589 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6591 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6592 around keywords with extra `split-string' argument.
6594 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6596 * windmove.el (windmove-other-window-loc): Handle navigation
6597 between windows (excluding the minibuffer window - Bug#16017).
6599 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6601 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6602 in D-Bus type syntax.
6603 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6604 preserve unibyte strings. (Bug#16048)
6606 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6609 Call force-mode-line-update is the proper buffer (bug#16042).
6611 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6613 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6614 `log-edit-remember-comment', make argument optional. Adjust all
6616 (log-edit-mode): Add `log-edit-remember-comment' to
6617 `kill-buffer-hook' locally.
6618 (log-edit-kill-buffer): Don't remember comment explicitly since
6619 the buffer is killed anyway.
6621 2013-12-04 Juri Linkov <juri@jurta.org>
6623 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6624 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6626 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6628 * notifications.el (notifications-close-notification): Call the
6629 D-Bus method with ID being a `:uint32'. (Bug#16030)
6631 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6633 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6635 2013-12-03 Juri Linkov <juri@jurta.org>
6637 * progmodes/compile.el (compilation-start): Rename window alist
6638 entry `no-display-ok' to `allow-no-window'.
6640 * simple.el (shell-command): Add window alist entry
6641 `allow-no-window' to `display-buffer'.
6642 (async-shell-command): Doc fix.
6644 * window.el (display-buffer-no-window): New action function.
6645 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6647 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6649 * vc/log-edit.el (log-edit-set-header): Extract from
6650 `log-edit-toggle-header'.
6651 (log-edit-extract-headers): Separate the summary, when extracted
6652 from header, from the rest of the message with an empty line.
6654 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6655 line, if present, to the Summary header.
6657 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6659 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6660 in current-buffer (bug#16029).
6662 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6664 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6665 (debugger-mode-map): Bind it.
6666 (debugger--backtrace-base): New function.
6667 (debugger-eval-expression): Use it.
6668 (debugger-frame-number): Skip local vars when present.
6669 (debugger--locals-visible-p, debugger--insert-locals)
6670 (debugger--show-locals, debugger--hide-locals): New functions.
6672 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6674 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6676 (tramp-get-remote-locale): New defun.
6677 (tramp-open-connection-setup-interactive-shell): Use it.
6679 2013-12-02 Leo Liu <sdl.web@gmail.com>
6681 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6683 * progmodes/sh-script.el (sh-shell-process):
6684 * progmodes/octave.el (inferior-octave-process-live-p):
6685 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6686 (gdb-inferior-io-sentinel):
6687 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6689 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6691 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6692 `save-selected-window' to `log-edit-hide-buf'. This makes
6693 `log-edit-show-files' idempotent.
6694 (log-edit-show-files): Mark the new window as dedicated.
6696 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6698 * vc/log-edit.el (log-edit-mode-map): Add binding for
6699 `log-edit-kill-biffer'.
6700 (log-edit-hide-buf): Add a FIXME comment.
6701 (log-edit-add-new-comment): New function, extracted from
6703 (log-edit-done, log-edit-add-to-changelog): Use it.
6704 (log-edit-kill-buffer): New command.
6706 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6708 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6709 instead of killing the buffer.
6711 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6713 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6715 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6717 * net/eww.el (eww-form-checkbox-selected-symbol)
6718 (eww-form-checkbox-symbol): New customizable variable.
6719 (eww-form-checkbox, eww-toggle-checkbox):
6720 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6722 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6723 (shr--get-media-pref, shr--extract-best-source): New function.
6724 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6725 no :src tag was specified.
6727 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6728 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6729 Use \\` to match beginning of string instead of ^.
6730 (eww-browse-with-external-browser): Provide optional URL parameter.
6731 (eww-render): Set `eww-current-title' back to "".
6733 * net/shr.el (shr-tag-video): Display content for video if no
6734 poster is available.
6735 (shr-tag-audio): Add support for <audio> tag.
6737 * net/eww.el (eww-text-input-types): New const.
6738 (eww-process-text-input): Treat input types in
6739 `eww-text-input-types' as text.
6741 * net/shr.el (shr-tag-table): Fix comment typo.
6743 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745 * net/eww.el (eww-follow-link): New command to avoid reloading
6746 pages when we follow #target links (bug#15243).
6747 (eww-quit): Special mode buffers shouldn't query before exiting.
6749 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6751 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6754 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6756 * net/eww.el (eww-restore-history): Update the window title after
6757 moving in the history.
6758 (eww-current-dom): New variable used to save the current DOM.
6760 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6762 * vc/log-edit.el (log-edit-mode-map): Add binding for
6763 `log-edit-beginning-of-line'.
6764 (log-edit-setup-add-author): New user option.
6765 (log-edit-beginning-of-line): New command.
6766 (log-edit): Move major mode call above the contents setup so that
6767 the local variable values are already applied.
6768 (log-edit): Only insert "Author: " when
6769 `log-edit-setup-add-author' is non-nil.
6770 (log-edit): When SETUP is non-nil, position point after ": "
6771 instead of point-min.
6773 2013-12-01 Glenn Morris <rgm@gnu.org>
6775 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6777 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6779 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6780 redisplay to make sure the initial frame gets a chance to become
6781 visible. (Bug#16014)
6783 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6785 Support resizing frames and windows pixelwise.
6786 * cus-start.el (frame-resize-pixelwise)
6787 (window-resize-pixelwise): New entries.
6788 * emacs-lisp/debug.el (debug): Use window-total-height instead
6789 of window-total-size.
6790 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6791 * help.el (describe-bindings-internal): Use help-buffer as
6792 argument for with-help-window.
6793 (temp-buffer-max-width): New option.
6794 (resize-temp-buffer-window, help-window-setup)
6795 (with-help-window): Rewrite.
6796 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6798 * window.el (frame-char-size, window-min-pixel-height)
6799 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6800 (window-min-pixel-width, window-safe-min-pixel-size)
6801 (window-combination-p, window-safe-min-size)
6802 (window-resizable-p, window--size-to-pixel)
6803 (window--pixel-to-size, window--resize-apply-p): New functions.
6804 (window-safe-min-height): Fix doc-string.
6805 (window-size, window-min-size, window--min-size-1)
6806 (window-sizable, window-sizable-p, window--min-delta-1)
6807 (window-min-delta, window--max-delta-1, window-max-delta)
6808 (window--resizable, window--resizable-p, window-resizable)
6809 (window-full-height-p, window-full-width-p, window-at-side-p)
6810 (window--in-direction-2, window-in-direction)
6811 (window--resize-reset-1, window--resize-mini-window)
6812 (window-resize, window-resize-no-error)
6813 (window--resize-child-windows-normal)
6814 (window--resize-child-windows, window--resize-siblings)
6815 (window--resize-this-window, window--resize-root-window)
6816 (window--resize-root-window-vertically)
6817 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6818 (maximize-window, minimize-window, delete-window)
6819 (quit-restore-window, window-split-min-size, split-window)
6820 (balance-windows-2, balance-windows)
6821 (balance-windows-area-adjust, balance-windows-area)
6822 (window--state-get-1, window-state-get, window--state-put-1)
6823 (window--state-put-2, window-state-put)
6824 (display-buffer-record-window, window--display-buffer):
6825 Make functions handle pixelwise sizing of windows.
6826 (display-buffer--action-function-custom-type)
6827 (display-buffer-fallback-action):
6828 Add display-buffer-in-previous-window.
6829 (display-buffer-use-some-window): Resize window to height it had
6831 (fit-window-to-buffer-horizontally): New option.
6832 (fit-frame-to-buffer): Describe new values.
6833 (fit-frame-to-buffer-bottom-margin): Replace with
6834 fit-frame-to-buffer-margins.
6835 (window--sanitize-margin): New function.
6836 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6837 using window-text-pixel-size.
6839 2013-11-30 Glenn Morris <rgm@gnu.org>
6841 * emacs-lisp/bytecomp.el (byte-compile-form):
6842 Make the `interactive-only' warning like the `obsolete' one.
6843 * comint.el (comint-run):
6844 * files.el (insert-file-literally, insert-file):
6845 * replace.el (replace-string, replace-regexp):
6846 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6847 (goto-line, insert-buffer, next-line, previous-line):
6848 Tweak `interactive-only' spec.
6850 Stop keeping (most) generated cedet grammar files in the repository.
6851 * Makefile.in (semantic): New.
6852 (compile-main): Depend on semantic.
6854 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6856 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6857 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6859 * uniquify.el (uniquify-buffer-name-style): Change default.
6861 * loadup.el: Preload "uniquify".
6863 * time.el (display-time-update): Update all mode lines (bug#15999).
6865 * electric.el (electric-indent-mode): Enable by default.
6866 * loadup.el: Preload "electric".
6868 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6870 * emacs-lisp/helpers.el (string-empty-p): New function.
6871 (string-blank-p): New function.
6873 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6875 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6878 2013-11-29 Andreas Politz <politza@fh-trier.de>
6879 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6880 allow non-lambda lists as functions.
6881 (imenu--in-alist): Don't recurse into non-subalists.
6882 (imenu): Don't pass function itself as an argument (Bug#14029).
6884 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * progmodes/python.el (python-mode-map): Remove binding for ":".
6887 (python-indent-electric-colon): Remove command.
6888 (python-indent-post-self-insert-function): Integrate the previous code
6889 of python-indent-electric-colon. Make it conditional on
6890 electric-indent-mode.
6891 (python-mode): Add ?: to electric-indent-chars.
6892 Move python-indent-post-self-insert-function to the end of
6893 post-self-insert-hook.
6895 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6897 * doc-view.el (doc-view-goto-page): Update mode-line.
6899 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6901 2013-11-27 Glenn Morris <rgm@gnu.org>
6903 * international/charprop.el, international/uni-bidi.el:
6904 * international/uni-category.el, international/uni-combining.el:
6905 * international/uni-comment.el, international/uni-decimal.el:
6906 * international/uni-decomposition.el, international/uni-digit.el:
6907 * international/uni-lowercase.el, international/uni-mirrored.el:
6908 * international/uni-name.el, international/uni-numeric.el:
6909 * international/uni-old-name.el, international/uni-titlecase.el:
6910 * international/uni-uppercase.el:
6911 Remove generated files from VCS repository.
6913 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6915 * filenotify.el (file-notify-add-watch): Don't special-case
6916 w32notify when computing the directory to watch.
6918 2013-11-27 Glenn Morris <rgm@gnu.org>
6920 Make bootstrap without generated uni-*.el files possible again.
6921 * loadup.el: Update command-line-args checking for unidata-gen.
6922 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6923 * composite.el, international/characters.el:
6924 Handle unicode tables being undefined.
6926 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6927 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6928 (compile-main): Depend on leim rule.
6930 * loadup.el: Move leim-list.el to leim/ subdirectory.
6931 * startup.el (normal-top-level): No more leim directory.
6932 * international/ja-dic-cnv.el (skkdic-convert):
6933 Disable version-control and autoloads in output files.
6934 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6935 Disable version-control and autoloads in output files.
6936 * leim/quail: Move here from ../leim.
6937 * leim/quail/hangul.el (hangul-input-method-activate):
6938 Add autoload cookie.
6939 (generated-autoload-load-name): Set file-local value.
6940 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6941 (generated-autoload-load-name): Set file-local value.
6943 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6945 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6946 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6947 (eww-quit): Ask confirmation before quitting eww.
6949 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6951 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6952 reading output from Diff on MS-Windows and MS-DOS.
6954 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6956 * emacs-lisp/helpers.el (string-reverse): New function.
6958 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6960 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6961 names on MS Windows, like "/[::1]:".
6963 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6966 2013-11-26 Glenn Morris <rgm@gnu.org>
6968 * progmodes/python.el (python-indent-guess-indent-offset):
6969 Avoid corner-case error. (Bug#15975)
6971 Preload leim-list.el. (Bug#4789)
6972 * loadup.el: Load leim-list.el when found.
6973 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6975 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6977 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6979 * emacs-lisp/helpers.el (string-join): New function.
6981 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6983 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6984 Mark as obsolete and replace it with a symbol property.
6985 (byte-compile-form): Use new 'interactive-only property.
6986 * comint.el, files.el, replace.el, simple.el:
6987 Apply new 'interactive-only properly.
6989 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6991 * window.el (display-buffer-at-bottom): Make sure that
6992 split-window-sensibly creates the new window on bottom
6995 2013-11-23 David Kastrup <dak@gnu.org>
6997 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6998 on the conflict markers when available.
6999 (smerge--get-marker): New function.
7000 (smerge-end-re, smerge-base-re): Add subgroup.
7002 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7004 * frame.el (handle-focus-in, handle-focus-out): Add missing
7007 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7009 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7010 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7012 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7015 (gomoku--last-pos): New var.
7016 (gomoku--intangible-chars): New const.
7017 (gomoku--intangible): New function.
7018 (gomoku-mode): Use it. Derive from special-mode.
7019 (gomoku-move-up): Adjust line count.
7020 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7021 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7022 Simplify accordingly.
7024 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7025 Remove blink-cursor code.
7026 (blink-cursor-timer-function, blink-cursor-suspend):
7027 Don't special-case GUIs.
7028 (blink-cursor-mode): Use focus-in/out-hook.
7030 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7032 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7033 work when annotation is invisible (Bug#13886).
7035 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7037 * json.el (json-alist-p): Only return non-nil if the alist has
7038 simple keys (Bug#13518).
7040 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7042 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7043 when control-statement is the first statement in a buffer (Bug#15956).
7045 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7047 * imenu.el (imenu-generic-skip-comments-and-strings):
7048 New option (Bug#15560).
7049 (imenu--generic-function): Use it.
7051 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7053 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7056 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7058 * emacs-lisp/helpers.el: Add some string helpers.
7059 (string-trim-left): Removes leading whitespace.
7060 (string-trim-right): Removes trailing whitespace.
7061 (string-trim): Removes leading and trailing whitespace.
7063 * subr.el (string-suffix-p): New function.
7065 2013-11-23 Glenn Morris <rgm@gnu.org>
7067 * progmodes/python.el (python-shell-send-file):
7068 Add option to delete file when done. (Bug#15647)
7069 (python-shell-send-string, python-shell-send-region): Use it.
7071 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7073 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7074 to set buffer-read-only to t, never to nil. (Bug#15938)
7076 * textmodes/tex-mode.el (latex-noindent-environments):
7077 Add safe-local-variable property. (Bug#15936)
7079 2013-11-23 Glenn Morris <rgm@gnu.org>
7081 * textmodes/enriched.el (enriched-mode): Doc fix.
7082 * emacs-lisp/authors.el (authors-renamed-files-alist):
7083 Add enriched.doc -> enriched.txt.
7085 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7087 2013-11-22 Leo Liu <sdl.web@gmail.com>
7089 * progmodes/octave.el (inferior-octave-startup): Spit out error
7092 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7094 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7097 (ruby-encoding-magic-comment-style): Add :version.
7099 2013-11-22 Leo Liu <sdl.web@gmail.com>
7101 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7103 (octave-help-mode): Adapt to change to help-mode-finish to use
7104 derived-mode-p on 2013-09-17.
7105 (inferior-octave-prompt): Also match octave-gui.
7106 (octave-kill-process): Don't ask twice. (Bug#10564)
7108 2013-11-22 Leo Liu <sdl.web@gmail.com>
7110 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7111 (inferior-octave-startup, inferior-octave-check-process)
7112 (inferior-octave-track-window-width-change)
7113 (octave-completion-at-point, octave-eldoc-function): Use it.
7114 (octave-kill-process): Provide confirmation. (Bug#10564)
7116 2013-11-21 Leo Liu <sdl.web@gmail.com>
7118 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7119 Fix obsolete variable comment-use-global-state.
7121 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7123 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7124 Add `octave-source-file'.
7125 (octave-source-file): New function. (Bug#15935)
7127 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7129 * net/eww.el (eww-local-regex): New variable.
7130 (eww): Use it to detect localhost and similar.
7132 2013-11-21 Leo Liu <sdl.web@gmail.com>
7134 Add completion for command `ag'.
7135 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7136 (pcomplete/ag): New function.
7137 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7139 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7143 (make-obsolete): Remove interactive spec.
7145 2013-11-21 Glenn Morris <rgm@gnu.org>
7147 * startup.el (command-line-1): Use path-separator with -L.
7149 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7151 * emacs-lisp/package.el (describe-package-1): Add package archive
7154 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7156 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7157 Change default to "# encoding: %s" to differentiate it from the
7158 default Ruby encoding comment template.
7160 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7162 * ses.el (ses-mode): Doc fix. (Bug#14748)
7164 2013-11-20 Leo Liu <sdl.web@gmail.com>
7166 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7168 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7170 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7171 when rebase or bisect are in progress.
7173 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7175 * filenotify.el (file-notify-add-watch): Doc fix.
7177 2013-11-19 Leo Liu <sdl.web@gmail.com>
7179 * obsolete/rcompile.el: Mark obsolete.
7181 * progmodes/compile.el (compilation-start)
7182 (compilation-goto-locus, compilation-find-file):
7183 Pass no-display-ok and handle nil value from display-buffer.
7186 * window.el (display-buffer-alist, display-buffer): Document the
7187 new parameter no-display-ok. Return either a window or nil
7188 but never a non-window value.
7190 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7192 * electric.el (electric-indent-mode-map): Remove.
7193 (electric-indent-mode): Change the global-map instead (bug#15915).
7195 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7198 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * emacs-lisp/nadvice.el (remove-function): Align with
7201 add-function's behavior.
7203 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7204 (gdb--string-regexp): New constant.
7205 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7206 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7207 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7209 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7210 Adjust use accordingly.
7211 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7213 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7215 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7216 interpolation curlies (Bug#15914).
7218 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7220 * calc/calc.el (calc-context-sensitive-enter): New variable.
7221 (calc-enter): Use `calc-context-sensitive-enter'.
7223 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7225 * progmodes/cfengine.el: Version bump.
7226 (cfengine-cf-promises): New defcustom to locate cf-promises.
7227 (cfengine3-vartypes): Add new "data" type.
7228 (cfengine3--current-word): New function to get current name-like
7230 (cfengine3--current-function): New function to look up a CFEngine
7231 function's definition.
7232 (cfengine3-format-function-docstring): New function.
7233 (cfengine3-make-syntax-cache): New function.
7234 (cfengine3-documentation-function): New function: ElDoc glue.
7235 (cfengine3-completion-function): New function: completion glue.
7236 (cfengine3-mode): Set `compile-command',
7237 `eldoc-documentation-function', and add to
7238 `completion-at-point-functions'.
7240 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7242 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7243 `tramp-current-connection'.
7245 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7247 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7248 nil/self/true/false with "end of symbol".
7250 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7252 * subr.el (version-regexp-alist): Fix a typo.
7254 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7256 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7257 "en_US.utf8" and "LC_CTYPE" to "".
7258 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7259 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7261 2013-11-15 Leo Liu <sdl.web@gmail.com>
7263 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7265 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * progmodes/gud.el (ctl-x-map):
7268 Remove C-x SPC binding. (Bug#12342)
7269 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7271 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7273 * subr.el (version-regexp-alist):
7274 Recognize hg, svn and darcs versions as snapshot versions.
7276 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7277 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7278 (ruby--encoding-comment-required-p): Extract from
7279 `ruby-mode-set-encoding'.
7280 (ruby-mode-set-encoding): Add the ability to always insert an
7281 utf-8 encoding comment. Fix and simplify coding comment update
7284 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7286 * net/tramp-gvfs.el (top): Run init code only when
7287 `tramp-gvfs-enabled' is not nil.
7288 (tramp-gvfs-enabled): Check also :system bus.
7290 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7292 Sync with upstream verilog-mode revision 78e66ba.
7293 * progmodes/verilog-mode.el (verilog-end-of-defun)
7294 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7295 (verilog-get-end-of-defun): Remove unused argument.
7296 (verilog-comment-depth): Remove unused local `e'.
7297 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7298 Don't pass arg to verilog-get-end-of-defun.
7300 2013-11-14 Glenn Morris <rgm@gnu.org>
7302 * obsolete/assoc.el (aget): Prefix dynamic variable.
7304 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7306 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7308 * widget.el, hfy-cmap.el: Remove bogus package version number.
7310 2013-11-13 Glenn Morris <rgm@gnu.org>
7312 * replace.el (replace-eval-replacement):
7313 Try to give more helpful error message. (Bug#15836)
7315 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7316 (archive-7z-update): Avoid custom type mismatches.
7318 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7320 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7322 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7323 address can be empty.
7325 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7326 Accept nil SWITCHES.
7327 (tramp-gvfs-handle-write-region): Implement APPEND.
7329 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7331 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7332 binary "|" operator and closing block args delimiter.
7333 Remove FIXME comment referring to Ruby 1.8-only syntax.
7334 (ruby-smie--implicit-semi-p): Not after "|" operator.
7335 (ruby-smie--closing-pipe-p): New function.
7336 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7337 (ruby-smie-rules): Indent after "|".
7339 2013-11-12 Glenn Morris <rgm@gnu.org>
7341 * ps-print.el (ps-face-attribute-list):
7342 Handle anonymous faces. (Bug#15827)
7344 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7346 * window.el (display-buffer-other-frame): Fix doc-string.
7349 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7351 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7353 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7355 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7356 (tramp-sh-handle-file-local-copy): Don't write a message when
7357 saving temporary files.
7359 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7360 both directories are remote.
7361 (tramp-smb-handle-directory-files): Do not return double entries.
7362 Do not expand full file names.
7363 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7364 (tramp-smb-handle-write-region): Implement APPEND.
7365 (tramp-smb-get-stat-capability): Fix a stupid bug.
7367 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7369 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7371 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7373 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7374 throwing error over malformed let/let* (bug#15814).
7376 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7378 * iswitchb.el (iswitchb-mode): Mark obsolete.
7380 2013-11-11 Glenn Morris <rgm@gnu.org>
7382 * international/uni-bidi.el, international/uni-category.el:
7383 * international/uni-name.el, international/uni-numeric.el:
7384 Regenerate for Unicode 6.3.0.
7386 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7388 * net/tramp.el (tramp-methods):
7389 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7390 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7392 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7394 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7395 Force highlighting text after Summary keyword in doc face for rpm.
7397 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7399 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7400 available and the word has no wildcards, append one to the grep pattern.
7401 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7402 (ispell-complete-word): Call `ispell-lookup-words' with the value
7403 independent of `ispell-look-p'.
7405 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7407 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7409 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7412 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7414 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7415 (ruby-font-lock-keywords): Use backquote.
7417 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7419 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7420 (ruby-smie--backward-token): Only consider full-string matches.
7422 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7424 * faces.el (describe-face): Add distant-foreground.
7426 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7428 * progmodes/ruby-mode.el: Improve encoding comment handling.
7429 (ruby-encoding-magic-comment-style): New option.
7430 (ruby-custom-encoding-magic-comment-template): New option.
7431 (ruby--insert-coding-comment, ruby--detect-encoding):
7432 New functions extracted from `ruby-mode-set-encoding'.
7433 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7434 to control the style of the auto-inserted encoding comment.
7436 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7438 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7439 Use `smie-backward-sexp' with token argument.
7441 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7443 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7444 Remove instrumentation code.
7446 2013-11-08 Glenn Morris <rgm@gnu.org>
7448 * progmodes/autoconf.el (autoconf-mode):
7449 Tweak comment-start-skip. (Bug#15822)
7451 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7454 at bobp (bug#15826).
7455 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7457 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7459 * man.el (Man-start-calling): New macro, extracted from
7460 Man-getpage-in-background.
7461 (Man-getpage-in-background): Use it.
7462 (Man-update-manpage): New command.
7463 (Man-mode-map): Bind it.
7465 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7467 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7468 of "and", "or", "&&" and "||".
7469 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7470 argument. Prohibit opening curly brace because it could only be a
7471 block opener in that position.
7472 (ruby-smie--forward-token, ruby-smie--backward-token):
7473 Separate "|" from "&" or "*" going after it. That can happen in block
7475 (ruby-smie--indent-to-stmt): New function, seeks the end of
7476 previous statement or beginning of buffer.
7477 (ruby-smie-rules): Use it.
7478 (ruby-smie-rules): Check if there's a ":" before a curly block
7479 opener candidate; if there is, it's a hash.
7481 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7483 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7484 (cl--block-wrapper): Fix last accidental change.
7486 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7488 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7489 Instrument, in order to hunt failure on hydra.
7491 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7493 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7494 malformed bindings form (bug#15814).
7496 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7498 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7499 "." compared to " @ ". This incidentally fixes some indentation
7501 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7502 (ruby-smie-grammar): New tokens: "and" and "or".
7503 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7504 Exclude "and" and "or". Remove "do" in order to work around token
7506 (ruby-smie-rules): Add all infix tokens. Handle the case of
7507 beginning-of-buffer.
7509 2013-11-06 Glenn Morris <rgm@gnu.org>
7511 * Makefile.in (setwins_almost, setwins_for_subdirs):
7512 Avoid accidental matches.
7514 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7516 * menu-bar.el (popup-menu): Use key-binding.
7518 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7520 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7521 menus, support also the menus produced by minor modes.
7524 2013-11-06 Leo Liu <sdl.web@gmail.com>
7526 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7527 DISTANCE to bound the search. All uses changed. (Bug#15808)
7529 2013-11-06 Glenn Morris <rgm@gnu.org>
7531 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7532 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7533 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7535 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7537 * electric.el (electric-indent-just-newline): New command.
7538 (electric-indent-mode-map): New keymap.
7539 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7540 Re-add :group which weren't redundant.
7542 * electric.el (electric-indent-local-mode): New minor mode.
7543 (electric-indent-functions-without-reindent): New var.
7544 (electric-indent-post-self-insert-function): Use it.
7545 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7547 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7549 * international/quail.el (quail-help): Be more explicit about the
7550 meaning of the labels shown on the keys. (Bug#15800)
7552 * startup.el (normal-top-level): Load the subdirs.el files before
7553 setting the locale environment. (Bug#15805)
7555 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7557 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7558 via arguments so as to get the right ones (bug#15418).
7560 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7562 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7564 Fix problems found while writing a test suite.
7566 * net/tramp-compat.el (tramp-compat-load): New defun.
7567 * net/tramp.el (tramp-handle-load): Use it.
7569 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7570 "(numberp ok-if-already-exists)" correctly.
7572 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7574 * international/characters.el (glyphless-char-display-control):
7577 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7579 * progmodes/python.el (python-mode):
7580 * progmodes/scheme.el (scheme-mode):
7581 * progmodes/prolog.el (prolog-mode):
7582 * progmodes/ruby-mode.el (ruby-mode):
7583 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7584 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7586 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7588 * rect.el (rectangle--highlight-for-redisplay):
7589 * emacs-lisp/smie.el (smie--next-indent-change):
7590 Use buffer-chars-modified-tick.
7592 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7594 * electric.el (electric-indent-post-self-insert-function):
7595 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7597 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7599 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7601 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7603 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7606 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7610 * progmodes/python.el: Fix up last change.
7611 (python-shell--save-temp-file): New function.
7612 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7613 `string' comes from the current buffer.
7614 (python-shell-send-string-no-output): Remove `msg' arg.
7615 (python--use-fake-loc): New var.
7616 (python-shell-buffer-substring): Obey it. Try to compensate for the
7617 extra coding line added by python-shell--save-temp-file.
7618 (python-shell-send-region): Use python-shell--save-temp-file and
7619 python-shell-send-file directly. Add `nomain' argument.
7620 (python-shell-send-buffer): Use python-shell-send-region.
7621 (python-electric-pair-string-delimiter): New function.
7622 (python-mode): Use it.
7624 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7626 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7627 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7628 environment and decoding all of the default-directory's to here
7630 (command-line): Decode also argv[0].
7632 * loadup.el: Error out if default-directory is a multibyte string
7633 when we are dumping.
7635 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7637 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7639 * emacs-lisp/package.el (package-menu-mode)
7640 (package-menu--print-info, package-menu--archive-predicate):
7641 Add Archive column to package list.
7643 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7645 Fix problems found while writing a test suite.
7647 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7648 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7649 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7650 to nil when running original file name handler. Otherwise,
7651 there are problems with constructs like "$$FOO".
7653 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7656 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7658 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7660 * subr.el (version<, version<=, version=):
7661 Update docstrings with information for snapshot versions.
7663 * helpers.el: New library for misc helper functions.
7664 (hash-table-keys): New function returning a list of hash keys.
7665 (hash-table-values): New function returning a list of hash values.
7667 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7669 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7670 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7672 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7674 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7675 checking whether point is after a 1-letter word.
7677 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7679 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7680 Don't infloop when expanding region over `multiline' syntax-type that
7681 begins a line (bug#15778).
7683 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7685 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7686 Make it into a proper minor mode.
7687 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7688 (rectangle-mark-mode-map): New keymap.
7689 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7691 2013-11-04 Glenn Morris <rgm@gnu.org>
7693 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7695 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7698 (ruby-smie-rules): Use smie-rule-parent instead.
7700 * emacs-lisp/smie.el (smie-rule-parent): Always call
7701 smie-indent-virtual rather than only for hanging tokens.
7702 (smie--next-indent-change): New helper command.
7704 2013-11-03 Glenn Morris <rgm@gnu.org>
7706 * Makefile.in (abs_srcdir): Remove.
7707 (emacs): Unset EMACSLOADPATH.
7709 2013-11-02 Glenn Morris <rgm@gnu.org>
7711 * Makefile.in (EMACS): Use a relative filename.
7712 (abs_top_builddir): Remove.
7713 (custom-deps, finder-data, autoloads): Use --chdir.
7715 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7717 Use relative filenames in TAGS files.
7718 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7719 (lisptagsfiles4, TAGS): Use relative file names.
7720 (TAGS-LISP): Remove.
7721 (maintainer-clean): No more TAGS-LISP file.
7723 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7724 (lisptagsfiles4): Use absolute filenames again.
7725 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7726 Remove all *loaddefs files, not just the first. Remove esh-groups.
7727 (maintainer-clean): Delete TAGS, TAGS-LISP.
7729 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7731 * emacs-lisp/package.el (package-version-join):
7732 Recognize snapshot versions.
7734 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7736 * subr.el (version-regexp-alist): Add support for snapshot versions.
7738 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7740 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7741 New function, replacement for `smie-rule-parent' for when we want to
7742 skip over our direct parent if it's an assignment token..
7743 (ruby-smie-rules): Use it.
7745 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7747 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7748 unconditionally. Remove now unnecessary forward declarations.
7749 Remove XEmacs-specific setup.
7750 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7751 (ruby-font-lock-syntactic-keywords)
7752 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7753 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7754 (ruby-here-doc-end-syntax): Remove.
7755 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7756 defined as function.
7758 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7760 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7762 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7764 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7765 table and abbrev table, `define-derived-mode' does that for us
7768 2013-11-01 Glenn Morris <rgm@gnu.org>
7770 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7771 files is atomic for some time, so no parallel compilation issues).
7773 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7775 * faces.el (face-x-resources): Add :distant-foreground.
7776 (region): Use :distant-foreground for gtk and ns.
7778 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7780 Allow multiple bibliographies when BibLaTeX is used rather than
7782 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7783 (reftex-locate-bibliography-files): Us it.
7785 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7787 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7788 allow comments in pbm files.
7790 * term/w32-win.el (dynamic-library-alist): Support newer versions
7791 of libjpeg starting with v7: look only for the DLL from the
7792 version against which Emacs was built.
7793 Support versions of libpng beyond 1.4.x.
7794 Support libtiff v4.x.
7796 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7798 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7799 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7801 (ruby-deep-arglist): Add property :type.
7803 2013-10-31 Glenn Morris <rgm@gnu.org>
7805 * Makefile.in (custom-deps, finder-data): No need to setq the target
7806 variables, we are in the right directory and the defaults work fine.
7808 2013-10-30 Glenn Morris <rgm@gnu.org>
7810 * Makefile.in (autoloads): Do not use abs_lisp.
7812 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7813 `newline' does not respect `standard-output', so use `princ'.
7815 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7817 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7818 * buff-menu.el (Buffer-menu--unmark): New function.
7819 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7821 2013-10-30 Glenn Morris <rgm@gnu.org>
7823 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7825 * emacs-lisp/package.el (lm-homepage): Declare.
7827 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7830 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7832 * Makefile.in (finder-data, autoloads, update-subdirs)
7833 (compile-main, compile-clean, compile-always, bootstrap-clean):
7834 Check return value of cd.
7835 (compile-calc): Remove.
7837 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7841 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7842 (byte-compile-and-folded): New function.
7843 (=, <, >, <=, >=): Use it.
7845 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7846 (path-separator, null-device, buffer-file-coding-system)
7847 (lpr-headers-switches): Check system-type before modifying them.
7848 (find-buffer-file-type-coding-system): Mark obsolete.
7849 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7850 find-file-not-found-set-buffer-file-coding-system.
7851 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7852 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7853 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7854 (w32-direct-print-region-helper, w32-direct-print-region-function)
7855 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7856 * startup.el (normal-top-level-add-subdirs-to-load-path):
7857 * ps-print.el (ps-print-region-function):
7858 * lpr.el (print-region-function): Use new name.
7860 * subr.el (custom-declare-variable-early): Remove function.
7861 (custom-declare-variable-list): Remove var.
7862 (error, user-error): Remove `while' loop.
7863 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7864 (user-emacs-directory-warning, locate-user-emacs-file):
7866 * simple.el (read-quoted-char-radix, read-quoted-char):
7867 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7869 * custom.el (custom-declare-variable-list): Don't process
7870 custom-declare-variable-list.
7872 * progmodes/python.el (python-shell-get-buffer): New function.
7873 (python-shell-get-process): Use it.
7874 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7875 Python which encoding was used. Don't split-string since we only care
7876 about the first line. Return the temp-file, if applicable.
7877 (python-shell-send-region): Tell compile.el how to turn locations in
7878 the temp-file into locations in the source buffer.
7880 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7882 * subr.el (undefined): Add missing behavior from the C code for
7885 * rect.el: Use lexical-binding. Add new rectangular region support.
7886 (rectangle-mark): New command.
7887 (rectangle--region): New var.
7888 (deactivate-mark-hook): Reset rectangle--region.
7889 (rectangle--extract-region, rectangle--insert-for-yank)
7890 (rectangle--highlight-for-redisplay)
7891 (rectangle--unhighlight-for-redisplay): New functions.
7892 (region-extract-function, redisplay-unhighlight-region-function)
7893 (redisplay-highlight-region-function): Use them to handle
7895 * simple.el (region-extract-function): New var.
7896 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7897 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7898 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7899 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7900 (redisplay-unhighlight-region-function)
7901 (redisplay-highlight-region-function): New vars.
7902 (redisplay--update-region-highlight): New function.
7903 (pre-redisplay-function): Use it.
7904 (exchange-point-and-mark): Don't deactivate the mark before
7905 reactivate-it anyway.
7906 * comint.el (comint-kill-region): Remove yank-handler argument.
7907 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7908 (delete-char): Remove property, since it's now part of their
7910 (self-insert-iso): Remove property since this command doesn't exist.
7912 * emacs-lisp/package.el (package--download-one-archive)
7913 (describe-package-1): Don't query the user about final newline.
7915 2013-10-29 Daniel Colascione <dancol@dancol.org>
7917 * net/tramp.el (tramp-methods): Document new functionality.
7918 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7919 tramp-hostname-checker if method provides one instead of scanning
7920 argument list for "%h" to decide hostname acceptability.
7922 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7924 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7925 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7926 Handle COPY-CONTENTS. (Bug#15737)
7928 2013-10-28 Daiki Ueno <ueno@gnu.org>
7931 (epa-file-cache-passphrase-for-symmetric-encryption):
7932 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7934 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7936 * image.el (defimage, image-load-path): Doc fixes.
7938 2013-10-27 Alan Mackenzie <acm@muc.de>
7940 Indent statements in macros following "##" correctly.
7941 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7942 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7944 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7946 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7948 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7950 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7951 after `=' is probably a new expression.
7953 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7955 * man.el (man-imenu-title): New option.
7956 (Man-mode-map): Add menu. (Bug#15722)
7957 (Man-mode): Add imenu to menu.
7959 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7961 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7962 specific in what the first arg can be: a non-keyword word,
7963 string/regexp/percent literal opener, opening paren, or unary
7964 operator followed directly by word.
7966 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7969 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7970 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7971 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7972 Remove vars, they do not apply any more.
7973 (prolog-mode-abbrev-table): Remove redundant declaration.
7974 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7975 (prolog-use-smie): Remove.
7976 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7977 supported by prolog-electric-if-then-else-flag.
7978 (prolog-mode-variables, prolog-menu): Use setq-local.
7979 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7980 Remove binding to `Backspace' since this key doesn't exist anyway.
7981 Remove bindings for electric self-inserting keys.
7982 (prog-mode): Assume it's defined.
7983 (prolog-post-self-insert): New function.
7984 (prolog-mode): Use it.
7985 (prolog-indent-line, prolog-indent-level)
7986 (prolog-find-indent-of-matching-paren)
7987 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7988 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7989 (prolog-goto-next-paren, prolog-in-string-or-comment)
7990 (prolog-tokenize, prolog-inside-mline-comment)
7991 (prolog-find-start-of-mline-comment): Remove functions.
7992 (prolog-find-unmatched-paren, prolog-clause-end)
7993 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7994 (prolog-electric--if-then-else): Rename from
7995 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7996 (prolog-tokenize-searchkey): Remove const.
7997 (prolog-clause-info): Use forward-sexp.
7998 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7999 (prolog-electric-if-then-else): Remove commands.
8000 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8001 for use in post-self-insert-hook.
8002 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8003 for use in post-self-insert-hook.
8004 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8005 for use in post-self-insert-hook.
8006 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8007 adapt it for use in post-self-insert-hook.
8009 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8011 * emacs-lisp/ert.el (ert-run-tests-interactively):
8012 Use `completing-read'. (Bug#9756)
8014 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8016 * simple.el (line-move): Call line-move-1 instead of
8017 line-move-visual when the current window hscroll is zero, but
8018 temporary-goal-column indicates we will need to hscroll as result
8019 of the movement. (Bug#15712)
8021 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8023 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8024 capitalization. Use :visible instead of :active.
8025 Fix `ruby-indent-exp' reference. Add menu items for the generic
8026 commands that are used with SMIE.
8027 (ruby-do-end-to-brace): Insert space after `{'.
8029 2013-10-25 John Anthony <john@jo.hnanthony.com>
8031 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8033 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8035 2013-10-25 Glenn Morris <rgm@gnu.org>
8037 * vc/vc.el (vc-print-log): Don't use a working revision unless
8038 one was explicitly specified. (Bug#15322)
8040 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8042 * subr.el (add-to-list): Preserve return value in compiler-macro
8045 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8047 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8048 result. Ask user to retry using '-all' flag. (Bug#15701)
8050 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * emacs-lisp/smie.el: New smie-config system.
8053 (smie-config): New defcustom.
8054 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8055 (smie-config-guess, smie-config-save): New commands.
8056 (smie-config--mode-local, smie-config--buffer-local)
8057 (smie-config--trace, smie-config--modefuns): New vars.
8058 (smie-config--advice, smie-config--mode-hook)
8059 (smie-config--setter, smie-config-local, smie-config--get-trace)
8060 (smie-config--guess-value, smie-config--guess): New functions.
8061 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8062 text properties. Treat "string fence" syntax like string syntax.
8064 * progmodes/sh-script.el (sh-use-smie): Change default.
8065 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8066 (sh-var-value): Simplify by CSE.
8067 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8068 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8070 (sh-guess-basic-offset): Use cl-incf.
8071 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8073 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8075 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8078 2013-10-24 Glenn Morris <rgm@gnu.org>
8080 * Makefile.in (abs_top_srcdir): Remove.
8081 (update-subdirs): Use relative path to update-subdirs.
8083 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8085 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8086 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8087 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8088 Call unmsys--file-name before expand-file-name, not after it.
8090 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8092 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8093 (ert-test-skipped): New error.
8094 (ert-skip, ert-stats-skipped): New defuns.
8095 (ert--skip-unless): New macro.
8096 (ert-test-skipped): New struct.
8097 (ert--run-test-debugger, ert-test-result-type-p)
8098 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8099 (ert--stats-set-test-and-result, ert-char-for-test-result)
8100 (ert-string-for-test-result, ert-run-tests-batch)
8101 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8102 Handle skipped tests. (Bug#9803)
8104 2013-10-24 Glenn Morris <rgm@gnu.org>
8106 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8108 * Makefile.in (abs_top_srcdir): New, set by configure.
8109 (update-subdirs): Correct build-aux location.
8111 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8113 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8114 value, whether we could auto-deduce `backend', or not.
8116 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8117 with parameters" example. Simplify the "is it block or is it
8118 hash" check, but also make it more thorough.
8120 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8122 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8124 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8126 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8129 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8132 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8134 * progmodes/compile.el (compilation-directory-matcher)
8135 (compilation-page-delimiter):
8136 Support GNU Make-4.0 directory quoting. (Bug#15678)
8138 2013-10-23 Leo Liu <sdl.web@gmail.com>
8140 * ido.el (ido-tidy): Handle read-only text.
8142 2013-10-23 Glenn Morris <rgm@gnu.org>
8144 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8145 (emacs, compile, compile-always):
8146 Quote entities that might contain whitespace.
8147 (custom-deps, finder-data, autoloads): Use abs_lisp.
8148 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8149 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8150 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8152 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8154 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8155 Use `following-char'.
8157 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8159 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8160 * progmodes/ruby-mode.el (ruby-smie-rules):
8161 Remove corresponding workaround. Fix indentation rule of ";" so it
8162 also applies when ";" is the parent.
8164 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8166 * frame.el (display-screens, display-pixel-height)
8167 (display-pixel-width, display-mm-width, display-backing-store)
8168 (display-save-under, display-planes, display-color-cells)
8169 (display-visual-class, display-monitor-attributes-list):
8170 Mention the optional ‘display’ argument in doc strings.
8172 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8174 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8175 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8177 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8179 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8180 TODO. Add "." after " @ ".
8181 (ruby-smie--at-dot-call): New function. Checks if point at method
8182 call with explicit target.
8183 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8184 to the method name tokens when it precedes them.
8185 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8186 (ruby-smie-rules): Add rule for indentation before and after "."
8189 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8191 * textmodes/remember.el (remember-diary-extract-entries):
8194 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8197 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8199 * progmodes/ruby-mode.el (ruby-smie-grammar):
8200 Add (almost) all infix operators.
8201 (ruby-smie--implicit-semi-p): Add new operator chars.
8203 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8205 (ruby-smie--args-separator-p): Check that there's no newline
8206 between method call and its arguments.
8208 2013-10-20 Alan Mackenzie <acm@muc.de>
8210 Allow comma separated lists after Java "implements".
8212 * progmodes/cc-engine.el (c-backward-over-enum-header):
8214 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8215 from a "disallowed" list in enum fontification.
8217 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8219 * startup.el (default-frame-background-mode): Remove unused defvar.
8221 * progmodes/verilog-mode.el (verilog-mode): Don't set
8222 comment-indent-function globally.
8224 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8226 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8227 Move Info menu item creation to ns-win.el.
8229 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8232 * menu-bar.el: Move GNUstep specific menus...
8234 * term/ns-win.el (ns-initialize-window-system): ... to here.
8236 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8238 * simple.el (newline): Only run post-self-insert-hook when
8239 called interactively.
8241 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8243 * icomplete.el (icomplete-with-completion-tables): Add :version.
8245 2013-10-19 Alan Mackenzie <acm@muc.de>
8247 Fix fontification bugs with constructors and const.
8249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8250 CASE 2) Remove the check for the absence of a suffix construct
8251 after a function declaration with only types (no identifiers) in
8252 the parentheses. Also, accept a function declaration with just a
8253 type inside the parentheses, if this type can be positively
8254 recognised as such, or if a prefix keyword like "explicit" nails
8255 down the construct as a declaration.
8257 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8259 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8260 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8261 the problem whereby selecting a menu item that leads to a
8262 minibuffer prompt moves the cursor out of the minibuffer window,
8263 making it hard to type at the prompt. Suggested by Stefan Monnier
8264 <monnier@iro.umontreal.ca>.
8266 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8268 * menu-bar.el: Don't make Services menu.
8270 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8272 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8273 (ffap-alist): Use ffap-c++-mode for c++-mode.
8274 (ffap-c++-path): New variable.
8275 (ffap-c++-mode): New function.
8277 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8279 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8281 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8283 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8284 introduced on 2013-09-08, which results in an infinite loop
8285 requesting a password.
8287 2013-10-18 Glenn Morris <rgm@gnu.org>
8289 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8291 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8293 Sync with upstream verilog-mode revision 1a6ecec7.
8294 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8295 (verilog-mode-release-date): Remove.
8296 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8297 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8298 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8299 (verilog-auto-tieoff-ignore-regexp)
8300 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8301 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8302 (verilog-signals-with, verilog-dir-cache-preserving)
8303 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8305 (verilog-case-fold): New option, to control case folding in
8306 regexp searches, bug597.
8307 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8308 (verilog-string-match-fold, verilog-in-paren-count)
8309 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8310 (verilog-at-close-struct-p): New functions.
8311 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8312 (verilog-forward-sexp, verilog-set-auto-endcomments)
8313 (verilog-leap-to-case-head): Handle "unique0" case.
8314 (verilog-in-constraint-re): New constant.
8315 (verilog-keywords, verilog-type-font-keywords):
8316 Add some SystemVerilog 1800-2012 keywords.
8317 (verilog-label-be): Remove unimplemented argument, bug669.
8318 (verilog-batch-execute-func): When batch expanding clear
8319 create-lockfiles to prevent spurious user locks when a file ends
8321 (verilog-calculate-indent, verilog-calc-1)
8322 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8323 (verilog-do-indent): Fix indentation of nested constraints
8325 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8326 (verilog-auto-inst-param): Use verilog-string-match-fold.
8327 (verilog-read-inst-module-matcher):
8328 Fix AUTOINST on gate primitives with #1.
8329 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8330 Reads all user-defined typed variables.
8331 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8332 (verilog-signals-matching-regexp)
8333 (verilog-signals-not-matching-regexp, verilog-auto):
8334 Respect verilog-case-fold.
8335 (verilog-diff-report): Fix line count.
8336 (verilog-auto-assign-modport): Remove unused local `modi'.
8337 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8338 better handle multidimensional arrays.
8339 Fix packed array ports misadding bit index in AUTOINST, bug637.
8340 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8341 to not double-declare existing outputs and inputs, respectively.
8342 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8343 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8344 (verilog-sk-uvm-component): New skeleton.
8345 (verilog-submit-bug-report): Add verilog-case-fold,
8346 remove verilog-mode-release-date.
8348 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8350 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8353 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8355 * textmodes/remember.el (remember): Set buffer-offer-save in
8356 remember buffers (bug#13566).
8358 2013-10-18 Daniel Colascione <dancol@dancol.org>
8360 When evaluating forms in ielm, direct standard output to ielm
8361 buffer. Add new ielm-return-for-effect command. Remove trailing
8362 whitespace throughout.
8364 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8365 (ielm-return-for-effect): New command.
8366 (ielm-send-input): Accept optional `for-effect' parameter.
8367 (ielm-eval-input): Accept optional `for-effect' parameter.
8368 Bind `standard-output' to stream we create using
8369 `ielm-standard-output-impl'. Suppress printing result when
8371 (ielm-standard-output-impl): New function.
8372 (inferior-emacs-lisp-mode): Explain new features in documentation.
8374 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8378 * net/tramp.el (tramp-debug-message): Do not check for connection
8380 (tramp-message): Use "vector" connection property.
8382 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8383 (tramp-equal-remote, tramp-eshell-directory-change)
8384 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8385 (tramp-adb-handle-rename-file)
8386 * net/tramp-cmds.el (tramp-list-remote-buffers)
8387 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8388 * net/tramp-compat.el (tramp-compat-process-running-p)
8389 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8390 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8391 (tramp-gvfs-handle-rename-file)
8392 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8393 (tramp-set-file-uid-gid)
8394 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8395 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8398 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8399 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8400 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8401 (tramp-gw-open-network-stream): Suppress unrelated traces.
8403 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8404 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8405 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8406 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8407 connection property.
8409 * net/tramp-cache.el (top): Suppress traces when reading
8412 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8413 Refactor common code. Improve debug message.
8414 (tramp-maybe-open-connection)
8415 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8416 connection buffer too early.
8418 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8419 from `tramp-smb-actions-with-acl'.
8420 (tramp-smb-actions-set-acl): New defconst.
8421 (tramp-smb-handle-copy-directory)
8422 (tramp-smb-action-get-acl): New defun, renamed from
8423 `tramp-smb-action-with-acl'.
8424 (tramp-smb-action-set-acl): New defun.
8425 (tramp-smb-handle-set-file-acl): Rewrite.
8427 2013-10-17 Glenn Morris <rgm@gnu.org>
8429 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8431 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * skeleton.el (skeleton-newline): Remove.
8434 (skeleton-internal-1): Use (insert "\n") instead.
8436 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8439 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8440 forward-sexp-function while we redo its job (bug#15613).
8442 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8444 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8445 represented by lists.
8447 2013-10-16 Glenn Morris <rgm@gnu.org>
8449 * tmm.el (tmm--history): New dynamic variable.
8450 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8452 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8454 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8455 (tramp-smb-errors): Add error messages.
8456 (tramp-smb-actions-with-acl): New defconst.
8457 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8458 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8459 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8460 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8461 (tramp-smb-get-stat-capability): Fix tests.
8463 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8465 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8468 2013-10-16 Glenn Morris <rgm@gnu.org>
8470 * ansi-color.el (ansi-color-drop-regexp):
8471 Add 1J, 1K, 2K. (Bug#15617)
8473 * files.el (hack-local-variables--warned-lexical): New.
8474 (hack-local-variables):
8475 Warn about misplaced lexical-binding. (Bug#15616)
8477 * net/eww.el (eww-render): Always set eww-current-url,
8478 and update header line. (Bug#15622)
8479 (eww-display-html): ... Rather than just doing it here.
8481 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8483 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8484 menu navigations commands.
8486 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8488 * progmodes/subword.el (subword-capitalize): Be careful when
8489 the search for [[:alpha:]] fails (bug#15580).
8491 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8493 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8494 to commands that scroll the menu.
8496 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8498 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8499 Handle methods ending with `?' and `!'.
8501 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8503 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8504 `japanese-cp932' to `cp932' to fix the problem where saving a
8505 source file written in Shift_JIS twice would end up having
8506 `coding: japanese-cp932' which Ruby could not recognize.
8507 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8508 in `ruby-encoding-map'.
8509 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8510 doesn't need to be explicitly declared in magic comment.
8511 (ruby-encoding-map): Add type declaration for better customize UI.
8513 2013-10-13 Glenn Morris <rgm@gnu.org>
8515 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8516 Occur buffers are read-only. http://bugs.debian.org/720775
8518 * emacs-lisp/authors.el (authors-fixed-entries):
8519 Comment out old alpha stuff.
8521 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8523 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8524 to `after-save-hook' instead of `before-save-hook'.
8525 (ruby-mode-set-encoding): Use the value of coding system used to
8526 write the file. Call `basic-save-buffer-1' after modifying the
8529 2013-10-13 Alan Mackenzie <acm@muc.de>
8531 Fix indentation/fontification of Java enum with
8532 "implements"/generic.
8534 * progmodes/cc-engine.el (c-backward-over-enum-header):
8535 Extracted from the three other places and enhanced to handle generics.
8536 (c-inside-bracelist-p): Uses new function above.
8537 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8539 (c-font-lock-enum-tail): Uses new function above.
8541 2013-10-13 Kenichi Handa <handa@gnu.org>
8543 * international/mule-cmds.el (select-safe-coding-system): Remove a
8544 superfluous condition in chekcing whether a coding system is safe
8547 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8549 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8551 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8553 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8555 2013-10-13 Glenn Morris <rgm@gnu.org>
8557 * menu-bar.el (menu-bar-update-buffers):
8558 Unify Buffers menu prompt string. (Bug#15576)
8560 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8562 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8564 (authors-fixed-entries): Use accented form of name.
8566 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8569 method calls (bug#15594).
8570 (ruby-smie--args-separator-p): New function.
8571 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8572 recognize paren-free method calls.
8574 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8575 internals of universal-argument.
8577 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8579 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8580 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8581 dropped menu on second mouse click on the menu bar.
8583 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8586 (explicit-shell-file-name): Declare.
8587 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8588 (sh-completion-at-point-function): New function.
8590 (sh-smie--keyword-p): Remove unused argument.
8591 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8593 (sh-set-shell): Always setup SMIE, even if we use the
8594 old indentation code.
8596 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8598 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8600 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8601 predicate would return nil are almost non-existent.
8602 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8604 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8605 cache also after commands that modify the buffer but don't move
8608 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8610 * env.el (substitute-env-in-file-name): New function.
8611 (substitute-env-vars): Extend the meaning of the optional arg.
8613 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8615 * term/w32-win.el (dynamic-library-alist): Define separate lists
8616 of GIF DLLs for versions before and after 5.0.0 of giflib.
8619 2013-10-10 João Távora <joaotavora@gmail.com>
8621 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8622 not locked, use last revision and current source as
8623 defaults. (Bug#15569)
8625 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8627 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8630 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8632 * window.el (pop-to-buffer-same-window): Fix doc-string.
8635 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8637 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8639 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8641 * calendar/icalendar.el (icalendar-import-file):
8642 Fix interactive spec. (Bug#15482)
8644 2013-10-10 Glenn Morris <rgm@gnu.org>
8646 * desktop.el (desktop-save): Default to saving in .emacs.d,
8647 since PWD is no longer in desktop-path by default. (Bug#15319)
8649 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8650 now that text mode has a menu with the same entry.
8651 (menu-bar-text-mode-auto-fill): Remove now unused func.
8652 * textmodes/text-mode.el (text-mode-map):
8653 Use auto-fill help text from menu-bar.el.
8655 2013-10-10 John Anthony <john@jo.hnanthony.com>
8657 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8659 2013-10-09 Juri Linkov <juri@jurta.org>
8661 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8662 instead of this-command-keys. Add universal-argument-more and
8663 universal-argument-minus to the list of prefix commands. (Bug#15568)
8665 2013-10-09 Glenn Morris <rgm@gnu.org>
8667 * vc/vc-svn.el (vc-svn-create-repo):
8668 Expand paths in file://... url. (Bug#15446)
8670 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8672 (authors): Remove unused local variables.
8674 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * profiler.el: Create a more coherent calltree from partial backtraces.
8677 (profiler-format): Hide the tail with `invisible' so that C-s can still
8678 find the hidden elements.
8679 (profiler-calltree-depth): Don't recurse so enthusiastically.
8680 (profiler-function-equal): New hash-table-test.
8681 (profiler-calltree-build-unified): New function.
8682 (profiler-calltree-build): Use it.
8683 (profiler-report-make-name-part): Indent the calltree less.
8684 (profiler-report-mode): Add visibility specs for profiler-format.
8685 (profiler-report-expand-entry, profiler-report-toggle-entry):
8686 Expand the whole subtree when provided with a prefix arg.
8688 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8690 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8692 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8693 hanging iuwu-mod token.
8694 (ruby-smie--forward-token): Do not include a dot after a token in
8696 (ruby-smie--backward-token): Likewise.
8698 2013-10-08 Juri Linkov <juri@jurta.org>
8700 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8701 to isearch-other-control-char.
8702 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8703 and isearch-post-command-hook to post-command-hook.
8704 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8705 and isearch-post-command-hook from post-command-hook.
8706 (isearch-unread-key-sequence)
8707 (isearch-reread-key-sequence-naturally)
8708 (isearch-lookup-scroll-key, isearch-other-control-char)
8709 (isearch-other-meta-char): Remove functions.
8710 (isearch-pre-command-hook, isearch-post-command-hook):
8711 New functions based on isearch-other-meta-char rewritten
8712 relying on the new behavior of overriding-terminal-local-map
8713 that does not replace the local keymaps any more. (Bug#15200)
8715 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8717 Support menus on text-mode terminals.
8718 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8721 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8723 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8724 Move here from mouse.el.
8725 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8727 (tty-menu-navigation-map): New map for TTY menu navigation.
8729 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8731 * frame.el (display-mouse-p): Report text-mode mouse as available
8733 (display-popup-menus-p): Report availability if mouse is
8734 available; don't condition on window-system.
8736 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8737 (tty-menu-selected-face): New faces.
8739 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8741 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8742 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8743 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8744 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8746 (lisp-mode-variables): New `elisp' argument.
8747 (emacs-lisp-mode): Use it.
8748 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8749 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8751 * indent.el: Use lexical-binding.
8752 (indent-region): Add progress reporter.
8753 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8755 (indent--next-tab-stop): New function to implement this behavior.
8756 (tab-to-tab-stop, move-to-tab-stop): Use it.
8758 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8760 * indent.el (indent-rigidly--current-indentation): New function.
8761 (indent-rigidly-map): New var.
8762 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8764 2013-10-08 Bastien Guerry <bzg@gnu.org>
8766 * register.el (insert-register): Fix 2013-10-07 change.
8768 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8770 * progmodes/perl-mode.el: Use lexical-binding.
8771 Remove redundant :group args.
8772 (perl-nochange): Change default to be closer to other major modes's
8774 (perl-indent-line): Don't consider text on current line as a
8775 valid beginning of function from which to indent.
8777 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8778 with more than one argument (bug#15538).
8780 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8782 * vc/pcvs.el: Use lexical-binding.
8783 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8784 environment of `eval'.
8785 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8786 than a list of expressions. Adjust callers.
8787 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8789 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8791 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8792 case of the dot in a chained method call being on the following line.
8794 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8796 * electric.el (electric-indent-inhibit): New var.
8797 (electric-indent-post-self-insert-function): Use it.
8798 * progmodes/python.el (python-mode): Set it.
8800 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8803 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8805 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8806 (css-mode): Use electric-indent-chars.
8808 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8809 (font-lock-beg, font-lock-end): Move before first use.
8810 (nxml-mode): Use syntax-propertize-function.
8811 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8812 (nxml-extend-after-change-region): Remove.
8813 * nxml/xmltok.el: Use lexical-binding.
8814 (xmltok-save): Use `declare'.
8815 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8816 * nxml/nxml-util.el: Use lexical-binding.
8817 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8819 * nxml/nxml-ns.el: Use lexical-binding.
8820 (nxml-ns-save): Use `declare'.
8821 (nxml-ns-prefixes-for): Avoid add-to-list.
8822 * nxml/rng-match.el: Use lexical-binding.
8823 (rng--ipattern): Use cl-defstruct.
8824 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8825 (rng-cons-group-after, rng-subst-group-after)
8826 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8827 Use closures instead of `(lambda...).
8829 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8831 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8835 Use `tramp-handle-insert-file-contents'.
8836 (tramp-gvfs-handle-insert-file-contents): Remove function.
8838 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8839 Use `save-restriction' in order to keep markers.
8841 * net/trampver.el: Update release number.
8843 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * progmodes/compile.el (compilation-parse-errors):
8846 Use compilation--put-prop.
8847 (compilation--ensure-parse): Check compilation-multiline.
8849 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8851 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8854 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8856 * progmodes/ruby-mode.el: Fix recently added tests.
8857 (ruby-smie-grammar): Add - and +.
8858 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8859 (ruby-smie--backward-id): New functions.
8860 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8861 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8864 2013-10-07 Leo Liu <sdl.web@gmail.com>
8866 * register.el (register-preview-delay)
8867 (register-preview-functions): New variables.
8868 (register-read-with-preview, register-preview)
8869 (register-describe-oneline): New functions.
8870 (point-to-register, window-configuration-to-register)
8871 (frame-configuration-to-register, jump-to-register)
8872 (number-to-register, view-register, insert-register)
8873 (copy-to-register, append-to-register, prepend-to-register)
8874 (copy-rectangle-to-register): Use register-read-with-preview to
8875 read register. (Bug#15525)
8877 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8879 * net/network-stream.el (network-stream-open-starttls): Don't add
8880 --insecure if it's already present, because that gnutls-cli
8881 rejects getting that parameter twice.
8883 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8885 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8888 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8890 * newcomment.el (comment-use-global-state): Change default value
8891 to t, mark obsolete (Bug#15251).
8892 (comment-beginning): In addition to `comment-to-syntax', check the
8893 value of `comment-use-global-state'.
8895 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8898 (ruby-comment-column): Follow the global default, by default.
8899 (ruby-smie-grammar): Add assignment syntax.
8900 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8901 open-paren, a comma, or a \.
8902 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8903 and line continuations.
8904 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8905 followed by implicit semi-colons. Add rule for string concatenation
8906 and for indentation at BOB.
8907 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8909 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8910 calling next-sexp, since next-token may have skipped chars which
8911 next-sexp doesn't know should be skipped!
8913 2013-10-05 Leo Liu <sdl.web@gmail.com>
8915 * progmodes/octave.el (octave-send-region):
8916 Call compilation-forget-errors.
8918 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8920 * vc/vc-svn.el (vc-svn-find-admin-dir):
8921 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8922 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8923 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8924 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8926 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8928 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8930 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8932 * subr.el (read-passwd): Hide chars even when called within a context
8933 where after-change-functions is disabled (bug#15501).
8934 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8935 until we removed ourself from overriding-terminal-local-map.
8937 2013-10-04 Leo Liu <sdl.web@gmail.com>
8939 * progmodes/octave.el (inferior-octave-mode):
8940 Call compilation-forget-errors.
8942 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8944 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8946 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8948 * net/secrets.el (secrets-create-collection): Add optional
8949 argument ALIAS. Use proper Label keyword. Append ALIAS as
8950 dbus-call-method argument. (Bug#15516)
8952 2013-10-04 Leo Liu <sdl.web@gmail.com>
8954 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8955 (inferior-octave-compilation-font-lock-keywords): New variables.
8956 (compilation-error-regexp-alist)
8957 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8958 (inferior-octave-mode): Use compilation-shell-minor-mode.
8960 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8962 * minibuffer.el (completion--replace): Be careful that `end' might be
8965 2013-10-03 Daiki Ueno <ueno@gnu.org>
8967 Add support for package signature checking.
8968 * emacs-lisp/package.el (url-http-file-exists-p)
8969 (epg-make-context, epg-context-set-home-directory)
8970 (epg-verify-string, epg-context-result-for)
8971 (epg-signature-status, epg-signature-to-string)
8972 (epg-check-configuration, epg-configuration)
8973 (epg-import-keys-from-file): Declare.
8974 (package-check-signature): New user option.
8975 (package-unsigned-archives): New user option.
8976 (package-desc): Add `signed' field.
8977 (package-load-descriptor): Set `signed' field if .signed file exists.
8978 (package--archive-file-exists-p): New function.
8979 (package--check-signature): New function.
8980 (package-install-from-archive): Check package signature.
8981 (package--download-one-archive): Check archive signature.
8982 (package-delete): Remove .signed file.
8983 (package-import-keyring): New command.
8984 (package-refresh-contents): Import default keyring.
8985 (package-desc-status): Add "unsigned" status.
8986 (describe-package-1, package-menu--print-info)
8987 (package-menu-mark-delete, package-menu--find-upgrades)
8988 (package-menu--status-predicate): Support "unsigned" status.
8990 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8992 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8993 the new compilation scheme using the new byte-codes.
8995 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8996 (byte-pophandler): New byte codes.
8997 (byte-goto-ops): Adjust accordingly.
8998 (byte-compile--use-old-handlers): New var.
8999 (byte-compile-catch): Use new byte codes depending on
9000 byte-compile--use-old-handlers.
9001 (byte-compile-condition-case--old): Rename from
9002 byte-compile-condition-case.
9003 (byte-compile-condition-case--new): New function.
9004 (byte-compile-condition-case): New function that dispatches depending
9005 on byte-compile--use-old-handlers.
9006 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9009 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9010 Optimize under `condition-case' and `catch' if
9011 byte-compile--use-old-handlers is nil.
9012 (disassemble-offset): Handle new bytecodes.
9014 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9016 * subr.el (error): Use `declare'.
9017 (decode-char, encode-char): Use advertised-calling-convention instead
9018 of the docstring to discourage use of the `restriction' arg.
9020 2013-10-03 Daiki Ueno <ueno@gnu.org>
9022 * epg.el (epg-verify-file): Add a comment saying that it does not
9023 notify verification error as a return value nor a signal.
9024 (epg-verify-string): Ditto.
9026 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9028 * progmodes/compile.el (compilation-start): Try globbing the arg to
9031 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9033 Sync with Tramp 2.2.8.
9035 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9036 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9037 * net/trampver.el: Update release number.
9039 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9041 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9042 and default-process-coding-system for darwin only.
9044 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9046 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9048 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9050 * vc/vc-git.el (vc-git-grep): Disable pager.
9052 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9054 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9055 Use :url instead of :homepage, as per
9056 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9058 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9059 non-nil, use `syntax-ppss' (Bug#15251).
9061 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9063 * progmodes/octave.el (inferior-octave-startup-file):
9064 Prefer ~/.emacs.d/init_octave.m.
9066 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9068 * emacs-lisp/package.el (package-desc-from-define):
9069 Accept additional arguments as plist, convert them to an alist and store
9070 them in the `extras' slot.
9071 (package-generate-description-file): Convert extras alist back to
9072 plist and append to the `define-package' form arguments.
9073 (package--alist-to-plist): New function.
9074 (package--ac-desc): Add `extras' slot.
9075 (package--add-to-archive-contents): Check if the archive-contents
9076 vector is long enough, and if it is, pass its `extras' slot value
9077 to `package-desc-create'.
9078 (package-buffer-info): Call `lm-homepage', pass the returned value
9079 to `package-desc-from-define'.
9080 (describe-package-1): Render the homepage button (Bug#13291).
9082 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9083 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9085 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9087 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9088 and default-process-coding-system to utf-8-unix (Bug#15402).
9090 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9092 * subr.el (looking-back): Do not recommend using looking-back.
9094 2013-09-28 Alan Mackenzie <acm@muc.de>
9096 Fix indentation/fontification of Java enum with "implements".
9098 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9099 regexp which matches "implements", etc., in Java.
9100 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9101 specifier clauses coming after "enum".
9102 * progmodes/cc-fonts.el (c-font-lock-declarations)
9103 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9106 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9108 * faces.el (region): Change ns_selection_color to
9109 ns_selection_fg_color, add ns_selection_bg_color.
9111 2013-09-28 Leo Liu <sdl.web@gmail.com>
9113 * progmodes/octave.el (inferior-octave-completion-table)
9114 (inferior-octave-completion-at-point): Minor tweaks.
9116 * textmodes/ispell.el (ispell-lookup-words): Rename from
9117 lookup-words. (Bug#15460)
9118 (lookup-words): Obsolete.
9119 (ispell-complete-word, ispell-command-loop): All uses changed.
9121 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9123 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9124 (octave-mode-menu): Add octave-send-buffer.
9125 (octave-send-buffer): New function.
9127 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9129 * progmodes/octave.el (octave-mode-map): Add key binding for
9131 (octave-mode-menu): Add octave-lookfor.
9132 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9134 (octave-lookfor): New function.
9136 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9139 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9141 (cl--loop-set-iterator-function): New function.
9142 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9143 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9144 Bind `it' with `let' instead of substituting it with `cl-subst'.
9145 (cl--unused-var-p): New function.
9146 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9147 Eliminate some unused variable warnings (bug#15326).
9149 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9151 * doc-view.el (doc-view-scale-reset): Rename from
9152 `doc-view-reset-zoom-level'.
9153 (doc-view-scale-adjust): New command.
9154 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9155 `doc-view-scale-adjust'.
9157 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9159 * doc-view.el (doc-view-reset-zoom-level): New command.
9160 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9161 zoom commands (bug#15466).
9163 2013-09-26 Kenichi Handa <handa@gnu.org>
9165 * international/quail.el (quail-help): Make it not a command.
9167 2013-09-26 Leo Liu <sdl.web@gmail.com>
9169 * minibuffer.el (completion-all-sorted-completions): Make args
9170 optional as they are.
9172 2013-09-25 Daniel Colascione <dancol@dancol.org>
9174 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9175 specs are and that they're not evaluated.
9177 2013-09-24 Sam Steingold <sds@gnu.org>
9179 * midnight.el (clean-buffer-list-kill-regexps)
9180 (clean-buffer-list-kill-buffer-names): Update for the new Man
9181 buffer naming which includes the object name.
9183 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9185 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9186 (eshell-parse-command, eshell-parse-pipeline): Use it since
9187 eshell-separate-commands requires a dynamic scoped var.
9188 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9190 2013-09-23 Leo Liu <sdl.web@gmail.com>
9192 * autoinsert.el (auto-insert-alist): Make the value of
9193 lexical-binding match its file setting.
9195 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9197 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9199 * autoarg.el (autoarg-kp-digit-argument):
9200 * electric.el (Electric-command-loop):
9201 * kmacro.el (kmacro-step-edit-insert):
9202 Do not set universal-argument-num-events.
9204 2013-09-22 Leo Liu <sdl.web@gmail.com>
9206 * files.el (interpreter-mode-alist): Add octave.
9208 2013-09-21 Alan Mackenzie <acm@muc.de>
9210 C++: fontify identifier in declaration following "public:" correctly.
9211 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9212 to match "public", etc.
9213 (c-decl-prefix-re): Add ":" into the C++ value.
9214 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9215 bit. Add a check for a ":" preceded by "public", etc.
9217 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9219 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9220 recognized by GDB 7.5 and later.
9222 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9224 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9226 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9228 * subr.el (internal--call-interactively): New const.
9229 (called-interactively-p): Use it (bug#3984).
9231 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9233 * vc/pcvs.el (cvs-mode-ignore):
9234 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9235 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9237 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9239 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9240 (eshell-ls-orig-insert-directory): Remove.
9241 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9242 (eshell-ls-use-in-dired): Use advice-add/remove.
9243 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9244 Add `orig-fun' arg for use in :around advice.
9245 Make it check (redundantly) eshell-ls-use-in-dired.
9247 2013-09-19 Glenn Morris <rgm@gnu.org>
9249 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9251 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9253 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9255 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9257 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9258 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9259 (tramp-get-remote-python): New defuns.
9260 (tramp-get-remote-uid-with-perl)
9261 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9262 contributed by yary <not.com@gmail.com> (tiny change).
9263 (tramp-get-remote-uid-with-python)
9264 (tramp-get-remote-gid-with-python): New defuns. Python code
9265 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9266 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9268 2013-09-19 Glenn Morris <rgm@gnu.org>
9270 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9272 * eshell/em-unix.el (eshell-remove-entries):
9273 Rename argument to avoid name-clash with global `top-level'.
9275 * eshell/esh-proc.el (eshell-kill-process-function):
9276 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9277 (eshell-reset-after-proc): Remove unused arg `proc'.
9279 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9280 (directory-files-and-attributes): Mark unused arg.
9282 * eshell/em-unix.el (eshell-remove-entries):
9283 Remove unused arg `path'. Update callers.
9285 * eshell/em-hist.el (eshell-hist-parse-arguments):
9286 Remove unused arg `silent'. Update callers.
9288 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9289 Fix (f)boundp mix-up.
9291 * eshell/em-smart.el (eshell-smart-scroll-window)
9292 (eshell-disable-after-change):
9293 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9295 2013-09-18 Alan Mackenzie <acm@muc.de>
9297 Fix fontification of type when followed by "const".
9298 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9299 "known" types from fontification.
9301 2013-09-18 Glenn Morris <rgm@gnu.org>
9303 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9304 (chart-face-list): Drop Emacsen without display-color-p.
9306 * net/eww.el (libxml-parse-html-region): Declare.
9307 (eww-display-html): Explicit error if no libxml2 support.
9309 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9311 * image.el (image-type-from-buffer, image-multi-frame-p):
9312 Remove --without-x warning/error.
9314 * mouse.el (mouse-yank-primary):
9315 * term.el (term-mouse-paste):
9316 Reorder to silence --without-x compilation.
9318 * mpc.el (doc-view-mode): Silence --without-x compilation.
9320 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9321 Silence --without-x compilation.
9323 * progmodes/gud.el (gud-find-file, gud-mode):
9324 Silence --without-x compilation.
9325 (tooltip-mode): Declare.
9327 * wdired.el (dired-backup-overwrite): Remove declaration.
9328 (wdired-mode-map): Add doc string.
9330 * custom.el (x-get-resource): Declare.
9332 * eshell/em-glob.el (ange-cache):
9333 * eshell/em-unix.el (ange-cache): Declare.
9335 * faces.el (x-display-list, x-open-connection, x-get-resource):
9338 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9339 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9342 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9344 * net/gnutls.el (gnutls-log-level): Declare.
9346 * net/shr.el (image-size, image-animate): Declare.
9348 * simple.el (font-info): Declare.
9350 * subr.el (x-popup-dialog): Declare.
9352 * term/common-win.el (x-select-enable-primary)
9353 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9356 * term/ns-win.el (x-handle-args): Declare.
9358 * term/x-win.el (x-select-enable-clipboard): Declare.
9360 * term/w32-win.el (create-default-fontset): Declare.
9362 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9365 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9366 (fit-frame-to-buffer): Explicit error if --without-x.
9367 (mouse-autoselect-window-select): Silence compiler.
9369 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9371 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9372 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9373 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9374 * eshell/esh-util.el (eshell-sublist):
9375 Remove unused local variables.
9377 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9379 * textmodes/two-column.el: Make 2C-split work for --without-x.
9380 (scroll-bar-columns): Autoload.
9381 (top-level): Require fringe when compiling.
9383 2013-09-18 Leo Liu <sdl.web@gmail.com>
9385 * subr.el (add-hook): Robustify to handle closure as well.
9387 2013-09-17 Glenn Morris <rgm@gnu.org>
9389 * simple.el (messages-buffer-mode-map): Unbind "g".
9391 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9393 * help-mode.el (help-mode-finish): Use derived-mode-p.
9394 Remove obsolete highlighting.
9396 * play/life.el (life-mode): Use define-derived-mode. Derive from
9398 (life): Let-bind inhibit-read-only.
9399 (life-setup): Avoid `setq'. Use `life-mode'.
9401 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9402 which should not be needed any more.
9403 (package-menu-refresh, package-menu-describe-package): Use user-error.
9405 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9406 (eshell-post-rewrite-command-hook): Make obsolete.
9407 (eshell-parse-command): Simplify.
9408 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9409 (eshell--cmd): Declare.
9410 (eshell-parse-pipeline): Remove unused var `final-p'.
9411 Pass a dynvar to eshell-post-rewrite-command-hook.
9412 Implement the new eshell-post-rewrite-command-function.
9413 (eshell-invoke-directly): Remove unused arg `input'.
9414 * eshell/esh-io.el (eshell-io-initialize):
9415 Use eshell-post-rewrite-command-function (bug#15399).
9416 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9417 adjust to new calling convention.
9418 (eshell-create-handles): Rename args to avoid clashing with dynvar
9421 2013-09-17 Glenn Morris <rgm@gnu.org>
9423 * simple.el (messages-buffer-mode): New major mode.
9424 (messages-buffer): New function.
9425 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9426 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9427 (ert-run-test): Use `messages-buffer' function.
9428 (ert--force-message-log-buffer-truncation): Ignore read-only.
9429 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9430 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9432 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9434 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9436 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9438 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9440 * icomplete.el (icomplete-in-buffer): New var.
9441 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9442 vars and replace them with functions.
9443 (icomplete-minibuffer-setup): Adjust accordingly.
9444 (icomplete--completion-table, icomplete--completion-predicate)
9445 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9447 (icomplete-forward-completions, icomplete-backward-completions)
9448 (icomplete-simple-completing-p, icomplete-exhibit)
9449 (icomplete-completions): Use them.
9450 (icomplete--in-region-buffer): New var.
9451 (icomplete--in-region-setup): New function.
9452 (icomplete-mode): Use it.
9454 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9456 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9457 return args and options.
9458 (eshell-eval-using-options): Use the new return value of
9459 eshell--do-opts to set the options's vars in their scope.
9460 (eshell--set-option): Rename from eshell-set-option.
9462 (eshell--process-option): Rename from eshell-process-option.
9464 (eshell--process-args): Use an `opt-vals' alist to store the options's
9465 values during their processing and return them additionally to the
9468 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9470 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9471 continuation character an operator, as far as indentation is
9472 concerned (Bug#15369).
9474 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9476 * window.el (window--state-put-2): Don't process buffer state
9477 when buffer doesn't exist any more (Bug#15382).
9479 2013-09-15 Glenn Morris <rgm@gnu.org>
9481 * eshell/em-unix.el (eshell/rm):
9482 Make -f ignore missing files. (Bug#15373)
9484 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9485 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9486 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9488 2013-09-14 Glenn Morris <rgm@gnu.org>
9490 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9492 2013-09-13 Glenn Morris <rgm@gnu.org>
9494 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9495 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9497 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9499 * frame.el (x-focus-frame): Mark as declared in frame.c.
9501 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9503 * ls-lisp.el: Use advice-add.
9504 (original-insert-directory): Remove.
9505 (ls-lisp--insert-directory): Rename from insert-directory; add
9506 `orig-fun' argument.
9507 (insert-directory): Advise.
9509 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9511 * term.el (term-emulate-terminal): Decode the command string
9512 before passing it to term-command-hook. (Bug#15337)
9514 2013-09-13 Glenn Morris <rgm@gnu.org>
9516 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9518 * eshell/esh-ext.el (eshell-search-path): Declare.
9520 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9521 Otherwise an error occurs if eshell-dirs module not loaded.
9523 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9525 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9527 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9528 `tramp-check-proper-host'. Check for a valid method name.
9530 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9531 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9532 * net/tramp-sh.el (tramp-maybe-open-connection):
9533 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9535 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9536 also for hash values.
9538 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9540 * term/ns-win.el (parameters): Don't declare as dynamic.
9541 (before-make-frame-hook): Don't add ineffective function.
9543 * eshell/*.el: Use lexical-binding (bug#15231).
9545 2013-09-12 Kenichi Handa <handa@gnu.org>
9547 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9549 2013-09-12 Glenn Morris <rgm@gnu.org>
9551 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9552 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9554 * subr.el (do-after-load-evaluation): Also give compiler warnings
9555 when obsolete files are used (except by obsolete files).
9557 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9558 in the status output, assume `filename' is the first. (Bug#15322)
9560 * vc/vc.el (vc-deduce-fileset): Doc fix.
9562 * calc/calc-help.el (Info-goto-node):
9563 * progmodes/cperl-mode.el (Info-find-node):
9564 * vc/ediff.el (Info-goto-node): Update declarations.
9566 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9568 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9569 (vc-bzr-pull): Require vc-dispatcher.
9570 * vc/vc-git.el (vc-compilation-mode): Declare.
9571 (vc-git-pull): Require vc-dispatcher.
9573 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9575 * progmodes/octave.el (help-button-action): Declare.
9577 * shell.el (shell-directory-tracker): Output error as a message
9578 rather than just returning it as a string.
9579 (shell-process-pushd): Remove useless use of message.
9581 * dframe.el (dframe-timer-fn):
9582 * files.el (dir-locals-read-from-file):
9583 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9585 * reveal.el (reveal-post-command):
9586 * saveplace.el (load-save-place-alist-from-file):
9587 * shell.el (shell-resync-dirs):
9588 * w32-common-fns.el (x-get-selection-value):
9589 * emacs-lisp/copyright.el (copyright-find-copyright):
9590 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9591 * emulation/tpu-edt.el (tpu-copy-keyfile):
9592 * play/bubbles.el (bubbles--mark-neighbourhood):
9593 * progmodes/executable.el
9594 (executable-make-buffer-file-executable-if-script-p):
9595 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9597 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9599 Cleanup Eshell to rely less on dynamic scoping.
9600 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9601 last-value, and ext-command here. Bind `args' closer to `body'.
9602 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9603 (eshell--args): Declare new dynamic var.
9604 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9605 last-value, and ext-command. Pass `args' to `body'.
9606 (eshell-process-args): Bind eshell--args.
9607 (eshell-set-option): Use eshell--args.
9608 * eshell/eshell.el (eshell): Use derived-mode-p.
9609 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9610 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9611 (eshell-glob-function): Declare.
9612 * eshell/esh-util.el: Require cl-lib.
9613 (eshell-read-hosts-file): Avoid add-to-list.
9614 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9616 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9618 (eshell/diff): Remove unused var `err'.
9619 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9621 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9622 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9624 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9625 Move declaration before first use.
9626 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9627 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9630 2013-09-12 Glenn Morris <rgm@gnu.org>
9632 * term/ns-win.el (global-map): Remove binding for ispell-next,
9633 deleted 1999-05-29. (Bug#15357)
9635 2013-09-11 Glenn Morris <rgm@gnu.org>
9637 * echistory.el (electric-command-history): Remove call to deleted func.
9639 * play/landmark.el (landmark-mode): Fix typos.
9641 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9642 Check cvs-sort-ignore-file is bound.
9644 * savehist.el: No need for cl when compiling on Emacs.
9646 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9648 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9650 (eshell-self-insert-command, eshell-send-invisible):
9651 Remove unused argument.
9652 (eshell-handle-control-codes): Remove unused var `orig'.
9653 Avoid delete-backward-char.
9655 * files.el (set-auto-mode): Simplify a bit further.
9657 2013-09-11 Glenn Morris <rgm@gnu.org>
9659 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9660 (set-auto-mode): Don't regexp-quote elements.
9661 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9662 * progmodes/cc-mode.el (interpreter-mode-alist):
9663 * progmodes/ruby-mode.el (interpreter-mode-alist):
9664 Revert previous change.
9666 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9668 * play/snake.el (snake-mode):
9669 * play/mpuz.el (mpuz-mode):
9670 * play/landmark.el (lm-mode):
9671 * play/blackbox.el (blackbox-mode):
9672 * play/5x5.el (5x5-mode):
9673 * obsolete/options.el (Edit-options-mode):
9674 * net/quickurl.el (quickurl-list-mode):
9675 * net/newst-treeview.el (newsticker-treeview-mode):
9676 * mail/rmailsum.el (rmail-summary-mode):
9677 * mail/mspools.el (mspools-mode):
9678 * locate.el (locate-mode):
9679 * ibuffer.el (ibuffer-mode):
9680 * emulation/ws-mode.el (wordstar-mode):
9681 * emacs-lisp/debug.el (debugger-mode):
9682 * array.el (array-mode):
9683 * net/eudc.el (eudc-mode): Use define-derived-mode.
9684 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9685 Move initialization into declaration.
9686 (mairix-searches-mode): Use define-derived-mode.
9687 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9688 (eudc-edit-hotlist): Use dolist.
9689 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9690 (Man-mode): Use define-derived-mode.
9691 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9692 (Info-edit-mode): Use define-derived-mode.
9693 (Info-cease-edit): Use Info-mode.
9694 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9696 (eshell-mode): Use define-derived-mode.
9697 * chistory.el (command-history-mode-map): Rename from
9698 command-history-map.
9699 (command-history-mode): Use define-derived-mode.
9700 (Command-history-setup): Remove function.
9701 * calc/calc.el (calc-trail-mode-map): New var.
9702 (calc-trail-mode): Use define-derived-mode.
9703 (calc-trail-buffer): Set calc-main-buffer manually.
9704 * bookmark.el (bookmark-insert-annotation): New function.
9705 (bookmark-edit-annotation): Use it.
9706 (bookmark-edit-annotation-mode): Make it a proper major mode.
9707 (bookmark-send-edited-annotation): Use derived-mode-p.
9708 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9709 closer to its ideal place. Use \' to match EOS.
9711 * profiler.el (profiler-calltree-find): Use function-equal.
9713 2013-09-10 Glenn Morris <rgm@gnu.org>
9715 * files.el (interpreter-mode-alist): Convert to regexps.
9716 (set-auto-mode): Adapt for this. (Bug#15306)
9717 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9718 Comment out unused variable.
9719 * progmodes/cc-mode.el (interpreter-mode-alist):
9720 * progmodes/python.el (interpreter-mode-alist):
9721 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9722 * progmodes/sh-script.el (sh-set-shell):
9723 No longer use interpreter-mode-alist to get list of shells.
9725 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9727 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9729 * simple.el: Use set-temporary-overlay-map for universal-argument.
9730 (universal-argument-map): Don't use default-bindings (bug#15317).
9731 Bind switch-frame explicitly. Replace universal-argument-minus with
9732 a conditional binding.
9733 (universal-argument-num-events, saved-overriding-map): Remove.
9734 (restore-overriding-map): Remove.
9735 (universal-argument--mode): Rename from save&set-overriding-map,
9737 (universal-argument, universal-argument-more, negative-argument)
9738 (digit-argument): Adjust accordingly.
9739 (universal-argument-minus): Remove.
9740 (universal-argument-other-key): Remove.
9742 * subr.el (with-demoted-errors): Add `format' argument.
9744 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9746 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9747 `tramp-cleanup-connection'.
9749 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9750 parameters KEEP-DEBUG and KEEP-PASSWORD.
9752 * net/tramp.el (tramp-file-name-handler):
9753 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9754 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9755 (tramp-maybe-open-connection):
9756 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9757 Use `tramp-cleanup-connection'.
9759 * net/tramp-sh.el (tramp-maybe-open-connection):
9760 Catch 'uname-changed inside the progress reporter.
9762 2013-09-10 Glenn Morris <rgm@gnu.org>
9764 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9766 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9767 returns "alternate access method" in mode (eg "-rw-r--r--.").
9769 2013-09-08 Glenn Morris <rgm@gnu.org>
9771 * saveplace.el (load-save-place-alist-from-file):
9772 Demote errors. (Bug#15305)
9774 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9776 Improve compatibility with older Emacsen, and XEmacs.
9778 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9779 only if it is bound. It isn't for XEmacs.
9780 (with-tramp-progress-reporter): Do not let-bind `result'.
9781 This yields to scoping errors in XEmacs.
9782 (tramp-handle-make-auto-save-file-name): New function, moved from
9785 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9786 for `make-auto-save-file-name'.
9787 (tramp-adb--gnu-switches-to-ash):
9788 Use `tramp-compat-replace-regexp-in-string'.
9790 * net/tramp-cache.el (tramp-cache-print): Call
9791 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9793 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9794 bound. It isn't for XEmacs.
9796 * net/tramp-compat.el (tramp-compat-copy-file):
9797 Catch `wrong-number-of-arguments' error.
9798 (tramp-compat-replace-regexp-in-string): New defun.
9800 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9801 for `make-auto-save-file-name'.
9802 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9804 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9805 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9806 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9808 * net/tramp-gw.el (tramp-gw-open-network-stream):
9809 Use `tramp-compat-replace-regexp-in-string'.
9811 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9812 Call `tramp-handle-make-auto-save-file-name'.
9813 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9814 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9815 (tramp-sh-file-inotifywait-process-filter):
9816 Use `tramp-compat-replace-regexp-in-string'.
9817 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9819 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9820 for `make-auto-save-file-name'.
9821 (tramp-smb-handle-copy-directory):
9822 Call `tramp-compat-replace-regexp-in-string'.
9823 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9824 (tramp-smb-handle-copy-file): Improve error message.
9825 (tramp-smb-handle-rename-file): Rename directly only in case
9826 `newname' does not exist yet. This is a restriction of smbclient.
9827 (tramp-smb-maybe-open-connection): Rerun the function only when
9828 `auth-sources' is non-nil.
9830 2013-09-08 Kenichi Handa <handa@gnu.org>
9832 * international/characters.el: Set category "^" (Combining) for
9835 2013-09-07 Alan Mackenzie <acm@muc.de>
9837 Correctly fontify Java class constructors.
9838 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9840 (c-recognize-typeless-decls): Set the Java value to t.
9841 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9842 While handling a "(", add a check for, effectively, Java, and handle a
9843 "typeless" declaration there.
9845 2013-09-07 Roland Winkler <winkler@gnu.org>
9847 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9848 field subtitle for entry type book.
9850 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9852 * minibuffer.el: Make minibuffer-complete call completion-in-region
9853 rather than other way around.
9854 (completion--some, completion-pcm--find-all-completions):
9855 Don't delay signals when debugging.
9856 (minibuffer-completion-contents): Beware fields within the
9857 minibuffer contents.
9858 (completion-all-sorted-completions): Use defvar-local.
9859 (completion--do-completion, completion--cache-all-sorted-completions)
9860 (completion-all-sorted-completions, minibuffer-force-complete):
9861 Add args `beg' and `end'.
9862 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9863 (minibuffer-complete): Use completion-in-region.
9864 (completion-complete-and-exit): New fun, extracted from
9865 minibuffer-complete-and-exit.
9866 (minibuffer-complete-and-exit): Use it.
9867 (completion--complete-and-exit): Rename from
9868 minibuffer--complete-and-exit.
9869 (completion-in-region--single-word): New function, extracted from
9870 minibuffer-complete-word.
9871 (minibuffer-complete-word): Use it.
9872 (display-completion-list): Make `common-substring' argument obsolete.
9873 (completion--in-region): Call completion--in-region-1 instead of
9874 minibuffer-complete.
9875 (completion-help-at-point): Pass boundaries to
9876 minibuffer-completion-help as args rather than via an overlay.
9877 (completion-pcm--string->pattern): Use `any-delim'.
9878 (completion-pcm--optimize-pattern): New function.
9879 (completion-pcm--pattern->regex): Handle `any-delim'.
9880 * icomplete.el (icomplete-forward-completions)
9881 (icomplete-backward-completions, icomplete-completions):
9882 Adjust calls to completion-all-sorted-completions and
9883 completion--cache-all-sorted-completions.
9884 (icomplete-with-completion-tables): Default to t.
9885 * emacs-lisp/crm.el (crm--current-element): Rename from
9886 crm--select-current-element. Don't put an overlay but return the
9888 (crm--completion-command): Take two new args to bind to the boundaries.
9889 (crm-completion-help): Adjust accordingly.
9890 (crm-complete): Use completion-in-region.
9891 (crm-complete-word): Use completion-in-region--single-word.
9892 (crm-complete-and-exit): Use completion-complete-and-exit.
9894 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9896 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9899 2013-09-06 Juri Linkov <juri@jurta.org>
9901 * info.el (Info-display-images-node): When image file doesn't exist
9902 display text version of the image if it's provided in the Info file.
9903 Otherwise, display the location of missing image from SRC attribute.
9904 Add help-echo text property from ALT attribute. (Bug#15279)
9906 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9908 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9909 (edit-abbrevs-mode): Use define-derived-mode.
9911 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9912 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9914 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9915 Use define-derived-mode.
9917 * epg.el (epg-start-encrypt): Minor CSE simplification.
9919 2013-09-06 William Xu <william.xwl@gmail.com>
9921 * arc-mode.el: Add support for 7za (bug#15264).
9922 (archive-7z-program): New var.
9923 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9924 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9925 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9927 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9931 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9932 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9933 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9934 (tramp-postfix-host-format, tramp-file-name-regexp)
9935 (tramp-completion-file-name-regexp)
9936 (tramp-completion-dissect-file-name)
9937 (tramp-handle-substitute-in-file-name): Remove 'url case.
9938 (tramp-file-name-regexp-url)
9939 (tramp-completion-file-name-regexp-url): Remove constants.
9941 2013-09-06 Glenn Morris <rgm@gnu.org>
9943 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9945 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9947 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9948 keywords" below "here-doc beginnings" (Bug#15270).
9950 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9952 * subr.el (pop): Use `car-safe'.
9953 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9954 to detect unused `pop' return value.
9956 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9958 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9959 (python-fill-string): Remove unused var `marker'.
9960 (python-skeleton-add-menu-items): Remove unused var `items'.
9962 * international/mule-cmds.el: Require CL.
9963 (find-coding-systems-for-charsets): Avoid add-to-list.
9964 (sanitize-coding-system-list): New function, extracted from
9965 select-safe-coding-system-interactively.
9966 (select-safe-coding-system-interactively): Use it.
9967 (read-input-method-name): Accept symbols for `default'.
9969 * emacs-lisp/advice.el (defadvice): Add indent rule.
9971 2013-09-05 Daniel Hackney <dan@haxney.org>
9975 * net/browse-url.el:
9978 * net/eudcb-ldap.el:
9991 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9992 byte compiler. Remove some unused let-bound variables.
9994 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9996 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9997 a "ref-cell", since it gets better optimized (bug#14883).
9999 2013-09-05 Glenn Morris <rgm@gnu.org>
10001 * progmodes/cc-awk.el (c-forward-sws): Declare.
10003 2013-09-04 Glenn Morris <rgm@gnu.org>
10005 * generic-x.el [rul-generic-mode]: Require cc-mode.
10006 (c++-mode-syntax-table): Declare.
10007 (rul-generic-mode-syntax-table): Init in the defvar.
10009 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10012 (vc-do-command, vc-set-async-update):
10013 * vc/vc-mtn.el (vc-mtn-dir-status):
10014 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10015 (vc-hg-pull, vc-hg-merge-branch):
10016 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10017 (vc-git-merge-branch):
10018 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10019 (vc-cvs-dir-status-files):
10020 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10021 (vc-bzr-dir-status-files):
10022 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10023 * vc/vc-annotate.el: Use lexical-binding.
10024 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10025 (vc-sentinel-movepoint): Declare.
10026 (vc-annotate): Don't use `goto-line'.
10027 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10028 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10029 (vc-sentinel-movepoint): Declare.
10030 * vc/vc-svn.el: Use lexical-binding.
10031 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10033 * vc/vc-rcs.el: Use lexical-binding.
10035 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10036 `deleted'. Don't drop errors silently.
10038 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10040 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10042 * vc/vc.el (vc-ignore): Rewrite.
10043 (vc-default-ignore): New function.
10044 (vc-default-ignore-completion-table): Use find-ignore-file.
10046 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10047 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10048 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10049 Remove. Most code moved to vc.el.
10051 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10054 * net/tramp-smb.el (tramp-smb-get-file-entries):
10055 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10056 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10058 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10060 (eww-change-select): Remove unused var `properties'.
10061 (eww-make-unique-file-name): Remove unused var `base'.
10063 * finder.el (finder-compile-keywords): Don't mess with windows.
10065 * calculator.el (calculator-funcall): Fix typo in last change.
10067 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10069 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10070 <pkg>-autoloads.el file stop us.
10072 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10073 warnings, and factor out common code.
10075 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10077 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10078 two-character operators and whether the character preceding them
10079 changes their meaning (Bug#15208).
10081 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10083 Format code sent to Python shell for robustness.
10084 * progmodes/python.el (python-shell-buffer-substring):
10086 (python-shell-send-region, python-shell-send-buffer): Use it.
10088 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10090 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10091 * net/tramp.el (tramp-user-error): ... here.
10092 (tramp-find-method, tramp-check-proper-host)
10093 (tramp-dissect-file-name, tramp-debug-message)
10094 (tramp-handle-shell-command):
10095 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10096 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10098 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10100 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10102 * avoid.el (mouse-avoidance-point-position)
10103 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10106 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10108 * progmodes/python.el (python-shell-completion-get-completions):
10109 Drop use of deleted `comint-last-prompt-overlay'.
10110 (python-nav-if-name-main): New command.
10112 2013-09-01 Glenn Morris <rgm@gnu.org>
10114 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10115 Avoid leading space in $wins. Otherwise the sed command used by
10116 eg compile-main ends up containing "/*.el". (Bug#15170)
10118 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10120 2013-08-30 Glenn Morris <rgm@gnu.org>
10122 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10123 Fix is-this-a-directory logic. (Bug#15220)
10125 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10127 * textmodes/css-mode.el: Use SMIE.
10128 (css-smie-grammar): New var.
10129 (css-smie--forward-token, css-smie--backward-token)
10130 (css-smie-rules): New functions.
10131 (css-mode): Use them.
10132 (css-navigation-syntax-table): Remove var.
10133 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10134 (css-indent-calculate, css-indent-line): Remove functions.
10136 Misc changes to reduce use of `(lambda...); and other cleanups.
10137 * cus-edit.el: Use lexical-binding.
10138 (customize-push-and-save, customize-apropos)
10139 (custom-buffer-create-internal): Use closures.
10140 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10141 * progmodes/ada-xref.el: Use setq.
10142 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10143 * dframe.el: Use lexical-binding.
10144 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10145 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10146 * descr-text.el: Use lexical-binding.
10147 (describe-text-widget, describe-text-sexp, describe-property-list):
10149 * comint.el (comint-history-isearch-push-state): Use a closure.
10150 * calculator.el: Use lexical-binding.
10151 (calculator-number-to-string): Make it work with lexical-binding.
10152 (calculator-funcall): Same and use cl-letf.
10154 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10155 (lisp--company-doc-string, lisp--company-location): New functions.
10156 (lisp-completion-at-point): Use them to improve Company support.
10158 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10159 params of lambda expressions.
10160 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10161 (ruby-smie--opening-pipe-p): New function.
10162 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10163 symbols and matched |...| for formal params.
10164 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10165 from being treated as hanging. Handle "rescue".
10167 2013-08-29 Glenn Morris <rgm@gnu.org>
10169 * progmodes/cc-engine.el (c-pull-open-brace):
10170 Move definition before use.
10172 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10174 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10175 are immutable. Don't use `unsafe' any more.
10176 (cl--defsubst-expand): Don't substitute at the same time as keeping
10177 a residual unused let-binding. Don't use `unsafe' any more.
10179 2013-08-29 Glenn Morris <rgm@gnu.org>
10181 * calendar/cal-china.el (calendar-chinese-year-cache):
10184 * nxml/nxml-util.el (nxml-debug-clear-inside):
10185 Use cl-loop rather than loop.
10187 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10189 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10191 2013-08-28 Glenn Morris <rgm@gnu.org>
10193 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10195 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10197 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10199 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10201 * simple.el (repeat-complex-command--called-interactively-skip):
10203 (repeat-complex-command): Use it (bug#14136).
10205 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10206 (c-define-abbrev-table): Add `doc' argument.
10207 (c-mode-abbrev-table, c++-mode-abbrev-table)
10208 (objc-mode-abbrev-table, java-mode-abbrev-table)
10209 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10210 (awk-mode-abbrev-table): Use it.
10211 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10212 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10213 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10214 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10215 Move initialization into the declaration; and remove any
10218 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10219 and dynamic let binding.
10221 * vc/smerge-mode.el: Remove redundant :group args.
10223 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10226 2013-08-28 Juri Linkov <juri@jurta.org>
10228 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10229 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10230 (isearch-other-meta-char): Handle an undefined shifted printing
10231 character by downshifting it. (Bug#15200)
10233 2013-08-28 Juri Linkov <juri@jurta.org>
10235 * isearch.el (isearch-search): Change regexp error message for
10236 non-regexp searches. (Bug#15166)
10238 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10240 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10241 for portability to hosts where /bin/sh has problems.
10243 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10247 2013-08-27 Juri Linkov <juri@jurta.org>
10249 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10250 in the keyboard macro. (Bug#15126)
10252 2013-08-27 Juri Linkov <juri@jurta.org>
10254 * isearch.el (isearch-quote-char): Comment out converting unibyte
10255 to multibyte, thus syncing with its `quoted-insert' counterpart.
10258 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10260 * window.el (display-buffer-use-some-window): Add missing
10261 argument in call of get-largest-window (Bug#15185).
10262 Reported by Stephen Leake.
10264 2013-08-27 Glenn Morris <rgm@gnu.org>
10266 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10268 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10270 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10271 from a matcher-function unless there's no more matches (bug#15161).
10273 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10275 * minibuffer.el: Revert change from 2013-08-20.
10277 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10278 with text property `tramp-default', if appropriate.
10279 (tramp-check-proper-host): New defun.
10280 (tramp-dissect-file-name): Do not check hostname. Revert change
10282 (tramp-backtrace): Make VEC-OR-PROC optional.
10284 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10285 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10286 * net/tramp-sh.el (tramp-maybe-open-connection):
10287 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10288 Apply `tramp-check-proper-host'.
10290 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10292 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10293 lambda expression in order to have `describe-variable' display it.
10295 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10297 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10298 BUF can be optional. (Bug#15186)
10300 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10302 * progmodes/flymake.el (flymake-get-real-file-name-function):
10303 Fix broken customization. (Bug#15184)
10305 2013-08-25 Alan Mackenzie <acm@muc.de>
10307 Improve indentation of bracelists defined by macros (without "=").
10309 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10310 expansion begins with "{", regard it as bracelist when it doesn't
10313 Parse C++ inher-intro when there's a template split over 2 lines.
10315 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10316 rigorously the search for "class" etc. followed by ":".
10318 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10319 random languages a regexp which never matches rather than nil.
10321 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10323 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10324 (c-awk-regexp-one-line-possibly-open-char-list-re)
10325 (c-awk-one-line-possibly-open-regexp-re)
10326 (c-awk-one-line-non-syn-ws*-re): Remove.
10327 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10328 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10329 (c-awk-space*-unclosed-regexp-/-re): New constants.
10330 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10331 aren't regexp delimiters.
10333 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10334 handling for a rare situation in AWK Mode involving unterminated
10337 2013-08-23 Glenn Morris <rgm@gnu.org>
10339 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10341 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10343 * files.el (create-file-buffer): If the result would begin with
10344 spaces, prepend a "|" instead of removing them. (Bug#15162)
10346 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10349 text-properties (bug#15155).
10351 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10353 (calc-keypad-redraw): Remove unused var `pad'.
10354 (calc-keypad-press): Remove unused var `menu'.
10356 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10358 * window.el (display-buffer-pop-up-frame):
10359 Call pop-up-frame-function with BUFFER current so `make-frame' will
10360 use it as the new frame's buffer (Bug#15133).
10362 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10364 * calendar/timeclock.el: Minor cleanups.
10365 (timeclock-ask-before-exiting, timeclock-use-display-time):
10367 (timeclock-modeline-display): Define as alias before the
10369 (timeclock-mode-line-display): Use define-minor-mode.
10370 (timeclock-day-list-template): Make it a function, add an argument.
10371 (timeclock-day-list-required, timeclock-day-list-length)
10372 (timeclock-day-list-debt, timeclock-day-list-span)
10373 (timeclock-day-list-break): Adjust calls accordingly.
10375 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10377 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10378 Use read--expression so that completion works again.
10380 2013-08-21 Sam Steingold <sds@gnu.org>
10382 Add rudimentary inferior shell interaction
10383 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10384 (sh-set-shell): Reset it.
10385 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10386 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10388 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10390 * align.el: Use lexical-binding.
10391 (align-region): Simplify accordingly.
10393 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10395 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10397 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10398 `non-essential' up.
10400 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10403 * net/tramp-adb.el:
10404 * net/tramp-cmds.el:
10405 * net/tramp-ftp.el:
10406 * net/tramp-gvfs.el:
10408 * net/tramp-sh.el: Don't wrap external variable declarations by
10409 `eval-when-compile'.
10411 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10413 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10414 now that Emacs supports ImageMagick animations.
10416 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10418 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10419 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10421 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10423 * window.el (mouse-autoselect-window-select): Do autoselect when
10424 mouse pointer is on margin.
10426 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10428 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10430 2013-08-16 Glenn Morris <rgm@gnu.org>
10432 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10433 Handle "Remote Directory" response of some clients. (Bug#15058)
10435 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10436 Tweak warning. (Bug#14926)
10438 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10439 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10441 * image-mode.el (image-mode-map): Add menu items to reverse,
10442 increase, decrease, reset animation speed.
10443 (image--set-speed, image-increase-speed, image-decrease-speed)
10444 (image-reverse-speed, image-reset-speed): New functions.
10445 (image-mode-map): Add bindings for speed commands.
10447 * image.el (image-animate-get-speed, image-animate-set-speed):
10449 (image-animate-timeout): Respect image :speed property.
10451 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10453 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10454 previous line (bug#15101).
10455 (debugger-eval-expression, debugger-record-expression):
10456 Use read--expression (bug#15102).
10458 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10460 Remove byte compiler warnings, visible when compiling with
10461 `byte-compile-force-lexical-warnings' set to t.
10463 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10464 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10465 (tramp-handle-unhandled-file-name-directory)
10466 (tramp-handle-file-notify-add-watch, tramp-action-login)
10467 (tramp-action-succeed, tramp-action-permission-denied)
10468 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10469 arguments with "_".
10471 * net/tramp-adb.el (tramp-adb-parse-device-names)
10472 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10473 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10474 (tramp-adb-handle-file-truename): Remove unused arguments.
10476 * net/tramp-cache.el (tramp-flush-directory-property)
10477 (tramp-flush-connection-property, tramp-list-connections)
10478 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10480 * net/tramp-compat.el (tramp-compat-make-temp-file):
10481 Rename FILENAME to F.
10483 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10484 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10485 (tramp-zeroconf-parse-workstation-device-names)
10486 (tramp-zeroconf-parse-webdav-device-names)
10487 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10489 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10490 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10492 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10494 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10495 (tramp-sh-handle-insert-file-contents-literally)
10496 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10498 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10499 Remove unused variables.
10501 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10502 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10503 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10505 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10506 Make them a defconst.
10507 (tramp-uuencode-region): Remove unused variable.
10509 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10511 * frameset.el (frameset--prop-setter): New function.
10512 (frameset-prop): Add gv-setter declaration.
10513 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10514 parameter was already set in FILTERED. Doc fix.
10515 (frameset--record-minibuffer-relationships): Allow saving a
10516 minibufferless frame without its corresponding minibuffer frame.
10517 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10518 frame, if the frame id matches.
10519 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10520 frames before orphaned ones.
10521 (frameset-restore): Warn about orphaned windows, instead of error out.
10523 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10525 * window.el (window-make-atom): Don't overwrite parameter
10527 (display-buffer-in-atom-window): Handle special case where we
10528 split an already atomic window.
10529 (window--major-non-side-window, display-buffer-in-side-window)
10530 (window--side-check): Ignore minibuffer window when walking
10532 (window-deletable-p): Return 'frame only if no other frame uses
10533 our minibuffer window.
10534 (record-window-buffer): Run buffer-list-update-hook.
10535 (split-window): Make sure window--check-frame won't destroy an
10536 existing atomic window in case the new window gets nested
10538 (display-buffer-at-bottom): Ignore minibuffer window when
10539 walking window tree. Don't split a side window.
10540 (pop-to-buffer): Don't set-buffer here, the select-window call
10542 (mouse-autoselect-window-select): Autoselect only if we are in the
10543 text portion of the window.
10545 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10547 * net/shr.el (shr-parse-image-data): New function to grab both the
10548 data itself and the Content-Type.
10549 (shr-put-image): Use it.
10551 * net/eww.el (eww-display-image): Ditto.
10553 * image.el (image-content-type-suffixes): New variable.
10555 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10557 * progmodes/python.el (python-imenu--build-tree)
10558 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10560 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10562 * simple.el (backward-word): Mention the optional argument.
10564 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * frameset.el (frameset--make): Rename constructor from make-frameset.
10567 (frameset-p, frameset-valid-p): Don't autoload.
10568 (frameset-valid-p): Use normal accessors.
10570 2013-08-13 Glenn Morris <rgm@gnu.org>
10572 * progmodes/compile.el (compile-command): Tweak example in doc.
10573 * obsolete/scribe.el (scribe-mode):
10574 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10576 * mail/feedmail.el (feedmail-confirm-outgoing)
10577 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10579 * cus-start.el (truncate-partial-width-windows): Fix type.
10581 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10583 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10585 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10587 * emacs-lisp/timer.el (timer--time-setter): New function.
10588 (timer--time): Use it as gv-setter.
10590 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10591 setter is not a symbol.
10593 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10595 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10596 if sending fails. This makes debugging easier.
10598 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10600 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10601 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10602 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10604 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10606 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10608 2013-08-12 Glenn Morris <rgm@gnu.org>
10610 * format.el (format-annotate-function):
10611 Handle read-only text properties in the source. (Bug#14887)
10613 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10615 * net/eww.el (eww-display-html): Ignore coding system errors.
10616 One web site uses "utf-8lias" as the coding system.
10618 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10620 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10622 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10624 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10625 (tutorial--detailed-help): Remove unused local variables.
10626 (tutorial--save-tutorial-to): Use ignore-errors.
10627 (help-with-tutorial): Use looking-at-p.
10629 * view.el (view-buffer-other-window, view-buffer-other-frame):
10630 Mark unused arguments.
10632 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10633 (woman-select-symbol-fonts, woman, woman-find-file)
10634 (woman-insert-file-contents, woman-non-underline-faces):
10635 Use string-match-p.
10636 (woman1-unquote): Move declaration.
10638 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10639 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10640 argument. Remove unused local variable.
10641 (xml-parse-elem-type): Use string-match-p.
10642 (xml-substitute-numeric-entities): Use ignore-errors.
10644 * calculator.el (calculator): Mark unused argument.
10645 (calculator-paste, calculator-quit, calculator-integer-p):
10647 (calculator-string-to-number, calculator-decimal, calculator-exp)
10648 (calculator-op-or-exp): Use string-match-p.
10650 * dired.el (dired-buffer-more-recently-used-p): Declare.
10651 (dired-insert-set-properties, dired-insert-old-subdirs):
10654 * dired-aux.el (dired-compress): Use ignore-errors.
10655 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10656 (dired-do-async-shell-command, dired-do-shell-command)
10657 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10658 (dired-insert-subdir-validate): Use string-match-p.
10659 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10660 (dired-add-entry): Use string-match-p, looking-at-p.
10661 (dired-insert-subdir-newpos): Remove unused local variable.
10663 * filenotify.el (file-notify-callback): Remove unused local variable.
10665 * filesets.el (filesets-error): Mark unused argument.
10666 (filesets-which-command-p, filesets-filter-dir-names)
10667 (filesets-directory-files, filesets-get-external-viewer)
10668 (filesets-ingroup-get-data): Use string-match-p.
10670 * find-file.el (ff-other-file-name, ff-other-file-name)
10671 (ff-find-the-other-file, ff-cc-hh-converter):
10672 Remove unused local variables.
10673 (ff-get-file-name): Use string-match-p.
10674 (ff-all-dirs-under): Use ignore-errors.
10676 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10677 (follow-select-if-visible): Remove unused local variable.
10679 * forms.el (read-file-filter): Move declaration.
10680 (forms--make-format, forms--make-parser, forms-insert-record):
10681 Quote function with #'.
10682 (forms--update): Use string-match-p. Quote function with #'.
10684 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10685 (help-make-xrefs): Use looking-at-p.
10686 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10688 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10689 (ibuffer-confirm-operation-on): Use string-match-p.
10691 * msb.el (msb-item-handler, msb-dired-item-handler):
10692 Mark unused arguments.
10694 * ses.el (ses-decode-cell-symbol)
10695 (ses-kill-override): Remove unused local variable.
10696 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10697 (ses-load): Use ignore-errors, looking-at-p.
10698 (ses-jump-safe): Use ignore-errors.
10699 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10701 * tabify.el (untabify, tabify): Mark unused arguments.
10703 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10704 Mark unused argument.
10705 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10706 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10708 * emacs-lisp/timer.el (timer--time): Define setter with
10709 gv-define-setter to avoid deprecation warning.
10711 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10712 (*record-cmpl-statistics-p*): Remove (was commented out).
10713 (cmpl-statistics-block): Remove (body was commented out).
10714 All callers changed.
10715 (add-completions-from-buffer, load-completions-from-file):
10716 Remove unused variables.
10718 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10720 * filecache.el (file-cache-delete-file-list):
10721 Print message only when told so.
10722 (file-cache-files-matching): Use #' in mapconcat argument.
10724 * ffap.el (ffap-url-at-point): Fix reference to variable
10725 thing-at-point-default-mail-uri-scheme.
10727 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10729 * subr.el (define-error): New function.
10730 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10731 error-file-not-found and define with define-error.
10732 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10733 and define with define-error.
10734 * userlock.el (file-locked, file-supersession):
10735 * simple.el (mark-inactive):
10736 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10737 * progmodes/ada-mode.el (ada-mode-errors):
10738 * play/life.el (life-extinct):
10739 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10740 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10741 * nxml/rng-util.el (rng-error):
10742 * nxml/rng-uri.el (rng-uri-error):
10743 * nxml/rng-match.el (rng-compile-error):
10744 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10745 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10746 * nxml/nxml-rap.el (nxml-scan-error):
10747 * nxml/nxml-outln.el (nxml-outline-error):
10748 * net/soap-client.el (soap-error):
10749 * net/gnutls.el (gnutls-error):
10750 * net/ange-ftp.el (ftp-error):
10751 * mpc.el (mpc-proc-error):
10752 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10753 (json-number-format, json-string-escape, json-string-format)
10754 (json-key-format, json-object-format):
10755 * jka-compr.el (compression-error):
10756 * international/quail.el (quail-error):
10757 * international/kkc.el (kkc-error):
10758 * emacs-lisp/ert.el (ert-test-failed):
10759 * calc/calc.el (calc-error, inexact-result, math-overflow)
10761 * bookmark.el (bookmark-error-no-filename):
10762 * epg.el (epg-error): Define with define-error.
10764 * time.el (display-time-event-handler)
10765 (display-time-next-load-average): Don't call sit-for since it seems
10766 unnecessary (bug#15045).
10768 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10769 Use #' instead of ' to quote functions.
10770 (checkdoc-output-mode): Use setq-local.
10771 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10772 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10773 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10774 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10775 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10776 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10777 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10778 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10780 * ido.el (ido-completion-help): Fix up compiler warning.
10782 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10784 * frameset.el (frameset-p): Add autoload cookie.
10785 (frameset--jump-to-register): New function, based on code moved from
10787 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10789 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10790 (frameset-restore, frameset-save, frameset-session-filter-alist):
10791 Remove declarations.
10792 (register-alist): Doc fix.
10793 (frameset-to-register): Move to frameset.el.
10794 (jump-to-register, describe-register-1): Remove frameset-specific code.
10796 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10798 * allout-widgets.el (allout-widgets-pre-command-business)
10799 (allout-widgets-post-command-business)
10800 (allout-widgets-after-change-handler)
10801 (allout-decorate-item-and-context, allout-set-boundary-marker)
10802 (allout-body-modification-handler)
10803 (allout-graphics-modification-handler): Mark ignored arguments.
10804 (allout-widgets-post-command-business)
10805 (allout-widgets-exposure-change-processor)
10806 (allout-widgets-exposure-undo-processor)
10807 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10808 (allout-parse-item-at-point, allout-decorate-item-guides)
10809 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10810 * allout.el (epa-passphrase-callback-function): Declare.
10811 (allout-overlay-insert-in-front-handler)
10812 (allout-overlay-interior-modification-handler)
10813 (allout-isearch-end-handler, allout-chart-siblings)
10814 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10815 (allout-yank-processing, allout-process-exposed)
10816 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10817 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10818 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10819 (lisp-indent-defform): Mark ignored arguments.
10820 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10821 (calculate-lisp-indent): Remove unused variables.
10822 * international/characters.el (indian-2-column, arabic-2-column)
10823 (tibetan): Mark ignored arguments.
10824 (use-cjk-char-width-table): Mark ignored arguments.
10825 Remove unused variables.
10826 * international/fontset.el (build-default-fontset-data)
10827 (x-compose-font-name, create-fontset-from-fontset-spec):
10828 Mark ignored arguments.
10829 (fontset-plain-name): Remove unused variables.
10830 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10831 (keyboard-coding-system): Mark ignored arguments.
10832 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10833 * help.el (resize-temp-buffer-window):
10834 * window.el (display-buffer-in-major-side-window)
10835 (display-buffer-in-side-window, display-buffer-in-previous-window):
10836 Remove unused variables.
10837 * isearch.el (isearch-forward-symbol):
10838 * version.el (emacs-bzr-version-bzr):
10839 * international/mule-cmds.el (current-language-environment):
10840 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10841 (x-handle-display):
10842 * term/pc-win.el (x-list-fonts, x-display-planes)
10843 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10844 (x-server-version, x-display-screens, x-display-mm-height)
10845 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10846 (x-selection-owner-p, x-own-selection-internal)
10847 (x-disown-selection-internal, x-get-selection-internal)
10848 (msdos-initialize-window-system):
10849 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10850 * term/x-win.el (x-handle-no-bitmap-icon):
10851 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10852 (vc-default-find-file-hook, vc-default-extra-menu):
10853 Mark ignored arguments.
10855 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10858 break-condition in the context of the debugged code (bug#12685).
10860 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10863 Do not use an overlay to highlight the last prompt. (Bug#14744)
10864 (comint-mode): Make comint-last-prompt buffer local.
10865 (comint-last-prompt): New variable.
10866 (comint-last-prompt-overlay): Remove. Superseded by
10867 comint-last-prompt.
10868 (comint-snapshot-last-prompt, comint-output-filter):
10869 Use comint-last-prompt.
10871 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10873 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10874 (frameset-save): Check validity of the resulting frameset.
10876 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10878 * ido.el (ido-record-command): Add doc string.
10880 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10882 * frameset.el (frameset): Do not disable creation of the default
10883 frameset-p predicate. Doc fix.
10884 (frameset-valid-p): New function, copied from the old predicate-p.
10885 Add additional checks.
10886 (frameset-restore): Check with frameset-valid-p.
10887 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10888 (frameset-name, frameset-description, frameset-properties)
10889 (frameset-states): Add docstring.
10890 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10891 (frameset-filter-alist): Doc fixes.
10893 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10895 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10897 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10900 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10901 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10902 (byte-compile-normal-call): Remove obsolescence check.
10904 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10906 * frameset.el (frameset-restore): Doc fix.
10908 * register.el (frameset-frame-id, frameset-frame-with-id)
10909 (frameset-p, frameset-restore, frameset-save): Declare.
10910 (register-alist): Document framesets.
10911 (frameset-session-filter-alist): Declare.
10912 (frameset-to-register): New function.
10913 (jump-to-register): Implement jumping to framesets. Doc fix.
10914 (describe-register-1): Describe framesets.
10916 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10918 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10920 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10921 Use lexical-binding.
10923 * frameset.el (frameset): Use type vector, not list (incompatible
10924 change). Do not declare a new constructor, use the default one.
10925 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10926 `name' and `description', respectively, and add read-only slot
10927 `timestamp'. Doc fixes.
10928 (frameset-copy, frameset-persistent-filter-alist)
10929 (frameset-filter-alist, frameset-switch-to-gui-p)
10930 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10931 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10932 (frameset-filter-iconified, frameset-keep-original-display-p):
10934 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10935 Rename from frameset-filter-(save|restore)-param. All callers changed.
10937 (frameset-p): Adapt to change to vector and be more thorough.
10938 Change arg name to OBJECT. Doc fix.
10939 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10940 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10941 All callers changed.
10942 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10943 All callers changed.
10944 (frameset--record-minibuffer-relationships): Rename from
10945 frameset--process-minibuffer-frames. All callers changed.
10946 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10947 Use new default constructor (again). Doc fix.
10948 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10949 All callers changed.
10950 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10951 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10953 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10954 PARAMETERS and WINDOW-STATE, respectively.
10955 (frameset-restore): Add new keyword argument PREDICATE.
10956 Reset frameset--target-display to nil. Doc fix.
10958 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10960 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10961 (bat-mode): Use it.
10962 (bat-mode-syntax-table): Mark \n as end-of-comment.
10963 (bat-font-lock-keywords): Remove comment rule.
10965 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10966 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10968 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10969 (byte-compile-callargs-warn): Use `push'.
10970 (byte-compile-arglist-warn): Ignore higher-order "calls".
10971 (byte-compile-file-form-autoload): Use `pcase'.
10972 (byte-compile-function-form): If quoting a symbol, check that it exists.
10974 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10976 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10977 and add a few popular commands found in batch files.
10978 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10979 (dos-mode): Doc fixes.
10981 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10983 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10984 (dos-mode): Use setq-local. Add space after "rem".
10985 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10986 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10988 2013-08-07 Arni Magnusson <arnima@hafro.is>
10990 * progmodes/dos.el: New file.
10991 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10994 2013-08-06 Glenn Morris <rgm@gnu.org>
10996 * calendar/calendar.el: Add new faces, and day-header-array.
10997 (calendar-weekday-header, calendar-weekend-header)
10998 (calendar-month-header): New faces.
10999 (calendar-day-header-construct): New function.
11000 (calendar-day-header-width): Also :set calendar-day-header-array.
11001 (calendar-american-month-header, calendar-european-month-header)
11002 (calendar-iso-month-header): Use calendar- faces.
11003 (calendar-generate-month):
11004 Use calendar-day-header-array for day headers; apply faces to them.
11005 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11006 (calendar-abbrev-construct): Add optional maxlen argument.
11007 (calendar-day-name-array): Doc fix.
11008 (calendar-day-name-array, calendar-abbrev-length)
11009 (calendar-day-abbrev-array):
11010 Also :set calendar-day-header-array, and maybe redraw.
11011 (calendar-day-header-array): New option. (Bug#15007)
11012 (calendar-font-lock-keywords): Set to nil and make obsolete.
11013 (calendar-day-name): Add option to use header array.
11015 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11017 * net/shr.el (shr-render-td): Remove debugging.
11018 (shr-render-td): Make width computation consistent by defaulting
11019 all zero-width columns to 10 characters. This may not be optimal,
11020 but it's at least consistent.
11021 (shr-make-table-1): Redo last change to fix the real problem in
11024 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11026 * files.el (cache-long-line-scans):
11027 Make obsolete alias to `cache-long-scans'.
11029 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11031 * frameset.el (frameset, frameset-filter-alist)
11032 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11033 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11034 (frameset-compute-pos): Rename from frameset--compute-pos,
11036 (frameset-move-onscreen): Use frameset-compute-pos.
11037 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11039 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11040 Fix typos in docstrings.
11042 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11044 * frame.el (get-other-frame): Tiny cleanup.
11046 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11048 * vc/vc.el (vc-default-ignore-completion-table):
11049 Silence byte-compiler warning.
11051 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11052 slot, which can indeed be nil.
11053 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11054 Move entry for `left' from persistent to live filter alist.
11055 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11057 (frameset-filter-params): When restoring a frame, copy items added to
11058 `filtered', to avoid unwittingly modifying the original parameters.
11059 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11060 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11062 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11063 to use looking-at-p instead of looking-at. (Bug#15028)
11065 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11067 Revert introduction of isearch-filter-predicates (bug#14714).
11068 Rely on add-function instead.
11069 * isearch.el (isearch-filter-predicates): Rename it back to
11070 isearch-filter-predicate.
11071 (isearch-message-prefix): Use advice-function-mapc and advice
11072 properties to get the isearch-message-prefix.
11073 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11074 instead of run-hook-with-args-until-failure.
11075 (isearch-filter-visible): Not obsolete any more.
11076 * loadup.el: Preload nadvice.
11077 * replace.el (perform-replace): Revert to funcall
11078 instead of run-hook-with-args-until-failure.
11079 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11080 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11081 dired-isearch-filenames-toggle; make it into a proper minor mode.
11082 Use add/remove-function.
11083 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11084 Call the minor-mode rather than add/remove-hook.
11085 (dired-isearch-filter-filenames):
11086 Remove isearch-message-prefix property.
11087 * info.el (Info--search-loop): New function, extracted from Info-search.
11088 Funcall isearch-filter-predicate instead of
11089 run-hook-with-args-until-failure isearch-filter-predicates.
11090 (Info-search): Use it.
11091 (Info-mode): Use isearch-filter-predicate instead of
11092 isearch-filter-predicates.
11094 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11096 Do not call to `selected-window' where it is assumed by default.
11097 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11098 `window-hscroll', `window-width', `window-height', `window-buffer',
11099 `window-frame', `window-start', `window-point', `next-window'
11100 and `window-display-table'.
11101 * abbrev.el (abbrev--default-expand):
11102 * bs.el (bs--show-with-configuration):
11103 * buff-menu.el (Buffer-menu-mouse-select):
11104 * calc/calc.el (calc):
11105 * calendar/calendar.el (calendar-generate-window):
11106 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11107 (diary-make-entry):
11108 * comint.el (send-invisible, comint-dynamic-complete-filename)
11109 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11110 * completion.el (complete):
11111 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11112 * disp-table.el (describe-current-display-table):
11113 * doc-view.el (doc-view-insert-image):
11114 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11115 * ehelp.el (with-electric-help):
11116 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11117 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11118 * emacs-lisp/helper.el (Helper-help-scroller):
11119 * emulation/cua-base.el (cua--post-command-handler-1):
11120 * eshell/esh-mode.el (eshell-output-filter):
11121 * ffap.el (ffap-gnus-wrapper):
11122 * help-macro.el (make-help-screen):
11123 * hilit-chg.el (highlight-compare-buffers):
11124 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11125 * hl-line.el (global-hl-line-highlight):
11126 * icomplete.el (icomplete-simple-completing-p):
11127 * isearch.el (isearch-done):
11128 * jit-lock.el (jit-lock-stealth-fontify):
11129 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11130 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11131 * mpc.el (mpc-tagbrowser, mpc):
11132 * net/rcirc.el (rcirc-any-buffer):
11133 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11134 * play/landmark.el (landmark-max-width, landmark-max-height):
11135 * play/zone.el (zone):
11136 * progmodes/compile.el (compilation-goto-locus):
11137 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11138 * progmodes/etags.el (find-tag-other-window):
11139 * progmodes/fortran.el (fortran-column-ruler):
11140 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11141 * progmodes/verilog-mode.el (verilog-point-text):
11142 * reposition.el (reposition-window):
11143 * rot13.el (toggle-rot13-mode):
11144 * server.el (server-switch-buffer):
11145 * shell.el (shell-dynamic-complete-command)
11146 (shell-dynamic-complete-environment-variable):
11147 * simple.el (insert-buffer, set-selective-display)
11148 (delete-completion-window):
11149 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11150 (speedbar-recenter):
11151 * startup.el (fancy-splash-head):
11152 * textmodes/ispell.el (ispell-command-loop):
11153 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11154 * tutorial.el (help-with-tutorial):
11155 * vc/add-log.el (add-change-log-entry):
11156 * vc/compare-w.el (compare-windows):
11157 * vc/ediff-help.el (ediff-indent-help-message):
11158 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11159 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11160 (ediff-setup-control-frame):
11161 * vc/emerge.el (emerge-position-region):
11162 * vc/pcvs-util.el (cvs-bury-buffer):
11163 * window.el (walk-windows, mouse-autoselect-window-select):
11164 * winner.el (winner-set-conf, winner-undo): Related users changed.
11166 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11168 * frameset.el (frameset--set-id): Doc fix.
11169 (frameset-frame-id, frameset-frame-id-equal-p)
11170 (frameset-locate-frame-id): New functions.
11171 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11172 (frameset-restore): Use them.
11174 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11176 Do not call to `selected-frame' where it is assumed by default.
11177 Affected functions are `raise-frame', `redraw-frame',
11178 `frame-first-window', `frame-terminal' and `delete-frame'.
11179 * calendar/appt.el (appt-disp-window):
11180 * epg.el (epg-wait-for-completion):
11181 * follow.el (follow-delete-other-windows-and-split)
11182 (follow-avoid-tail-recenter):
11183 * international/mule.el (set-terminal-coding-system):
11184 * mail/rmail.el (rmail-mail-return):
11185 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11186 * progmodes/f90.el (f90-add-imenu-menu):
11187 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11188 * server.el (server-switch-buffer):
11189 * simple.el (delete-completion-window):
11191 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11192 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11193 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11194 * vc/ediff.el (ediff-documentation): Related users changed.
11195 * frame.el (selected-terminal): Remove the leftover.
11197 2013-08-05 Glenn Morris <rgm@gnu.org>
11199 * calendar/calendar.el (calendar-generate-month):
11200 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11201 (calendar-generate-month, calendar-font-lock-keywords):
11202 Fix for calendar-day-header-width > length of any day name.
11204 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11206 * desktop.el (desktop-clear): Use new name of sort predicate.
11208 * frameset.el (frameset): Add docstring. Move :version property to its
11209 own `version' slot.
11210 (frameset-copy): Rename from copy-frameset.
11211 (frameset-p): Check more thoroughly.
11212 (frameset-prop): Do not check for :version, which is no longer a prop.
11213 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11214 Use new :never value instead of t.
11215 (frameset-filter-alist): Expand and clarify docstring.
11216 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11217 (frameset-filter-minibuffer, frameset-filter-save-param)
11218 (frameset-filter-restore-param, frameset-filter-iconified):
11219 Add pointer to docstring of frameset-filter-alist.
11220 (frameset-filter-params): Rename filter values to be more meaningful:
11221 :never instead of t, and reverse the meanings of :save and :restore.
11222 (frameset--process-minibuffer-frames): Clarify error message.
11223 (frameset-save): Avoid unnecessary and confusing call to framep.
11224 Use new BOA constructor for framesets.
11225 (frameset--reuse-list): Doc fix.
11226 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11227 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11228 (frameset-minibufferless-first-p): Doc fix.
11229 Rename from frameset-sort-frames-for-deletion.
11230 (frameset-restore): Doc fixes. Use new function names.
11231 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11233 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11235 * desktop.el (desktop-restore-forces-onscreen)
11236 (desktop-restore-reuses-frames): Document :keyword constant values.
11237 (desktop-filter-parameters-alist): Remove, now identical to
11238 frameset-filter-alist.
11239 (desktop--filter-tty*): Remove, moved to frameset.el.
11240 (desktop-save-frameset, desktop-restore-frameset):
11241 Do not pass :filters argument.
11243 * frameset.el (frameset-live-filter-alist)
11244 (frameset-persistent-filter-alist): New variables.
11245 (frameset-filter-alist): Use them. Add autoload cookie.
11246 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11247 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11248 `frameset--id' (it's supposed to be internal to frameset.el).
11249 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11250 (frameset--initial-params): New function.
11251 (frameset--get-frame): Use it. Doc fix.
11252 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11253 Accept :all, not 'all.
11254 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11255 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11256 with fbound symbols. Fix frame id matching, and remove matching ids if
11257 the frame being restored is deleted. Obey :delete.
11259 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11261 * subr.el (macrop): New function.
11262 (text-clone--maintaining): New var.
11263 (text-clone--maintain): Rename from text-clone-maintain. Use it
11264 instead of inhibit-modification-hooks.
11266 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11267 a proxy, so as handle autoloads and redefinitions of the target.
11268 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11270 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11271 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11272 (pcase--mutually-exclusive-p): New function.
11273 (pcase--split-consp): Use it.
11274 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11275 mutually exclusive with the current predicate.
11277 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11278 (edebug-macrop): Remove. Use `macrop' instead.
11279 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11281 * eshell/esh-cmd.el (eshell-macrop):
11282 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11284 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11286 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11287 (advice-mapc): New function, using it.
11288 (advice-function-member-p): New function.
11289 (advice--normalize): Store the cdr in advice--saved-rewrite since
11290 that's the part that will be changed.
11291 (advice--symbol-function): New function.
11292 (advice-remove): Handle removal before the function is defined.
11293 Adjust to new advice--saved-rewrite.
11294 (advice-member-p): Use advice-function-member-p and
11295 advice--symbol-function.
11297 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11299 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11300 (frameset-filter-minibuffer): Doc fix.
11301 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11302 (frameset--set-id, frameset--process-minibuffer-frames)
11303 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11304 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11306 * desktop.el (desktop-clear): Only delete frames when called
11307 interactively and desktop-restore-frames is non-nil. Doc fix.
11308 (desktop-read): Set desktop-saved-frameset to nil.
11310 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11312 * vc/vc.el (vc-ignore): Rewrite.
11313 (vc-default-ignore-completion-table, vc--read-lines)
11314 (vc--add-line, vc--remove-regexp): New functions.
11316 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11317 (vc-svn-ignore-completion-table): New function.
11319 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11320 (vc-hg-ignore-completion-table)
11321 (vc-hg-find-ignore-file): New functions.
11323 * vc/vc-git.el (vc-git-ignore): Rewrite.
11324 (vc-git-ignore-completion-table)
11325 (vc-git-find-ignore-file): New functions.
11327 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11329 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11330 (vc-bzr-ignore-completion-table)
11331 (vc-bzr-find-ignore-file): New functions.
11333 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11335 * frameset.el (frameset-prop): New function and setter.
11336 (frameset-save): Do not modify frame list passed by the caller.
11338 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11342 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11344 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11345 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11347 * custom.el (custom-initialize-default, custom-initialize-set)
11348 (custom-initialize-reset, custom-initialize-changed): Affect the
11349 toplevel-default-value (bug#6275, bug#14586).
11350 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11353 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11355 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11356 Add cl-def* expressions.
11358 * frameset.el (frameset-filter-params): Fix order of arguments.
11360 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11362 Move code related to saving frames to frameset.el.
11363 * desktop.el: Require frameset.
11364 (desktop-restore-frames): Doc fix.
11365 (desktop-restore-reuses-frames): Rename from
11366 desktop-restoring-reuses-frames.
11367 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11368 (desktop-clear): Clear frames too.
11369 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11370 (desktop--filter-tty*, desktop-save, desktop-read):
11371 Use frameset functions.
11372 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11373 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11374 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11375 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11376 (desktop--process-minibuffer-frames, desktop-save-frames)
11377 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11378 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11379 (desktop--sort-states, desktop-restoring-frames-p)
11380 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11381 (desktop-restoring-frameset-p, desktop-restore-frameset)
11382 (desktop--check-dont-save, desktop-save-frameset): New functions.
11383 (desktop--app-id): New constant.
11384 (desktop-first-buffer, desktop-buffer-ok-count)
11385 (desktop-buffer-fail-count): Move before first use.
11386 * frameset.el: New file.
11388 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11390 * files.el: Use lexical-binding.
11391 (dir-locals-read-from-file): Remove unused `err' variable.
11392 (hack-dir-local-variables--warned-coding): New var.
11393 (hack-dir-local-variables): Use it to avoid repeated warnings.
11394 (make-backup-file-name--default-function): New function.
11395 (make-backup-file-name-function): Use it as default.
11396 (buffer-stale--default-function): New function.
11397 (buffer-stale-function): Use it as default.
11398 (revert-buffer-insert-file-contents--default-function): New function.
11399 (revert-buffer-insert-file-contents-function): Use it as default.
11400 (insert-directory): Avoid add-to-list.
11402 * autorevert.el (auto-revert-handler): Simplify.
11403 Use buffer-stale--default-function.
11405 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11407 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11409 * whitespace.el (whitespace-ensure-local-variables): New function.
11410 (whitespace-cleanup-region): Call it.
11411 (whitespace-turn-on): Call it.
11413 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11415 Complete file name handlers.
11417 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11418 (tramp-handle-verify-visited-file-modtime)
11419 (tramp-handle-file-notify-rm-watch): New functions.
11420 (tramp-call-process): Do not bind `default-directory'.
11422 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11423 Order alphabetically.
11424 <access-file, add-name-to-file, dired-call-process>:
11425 <dired-compress-file, file-acl, file-notify-rm-watch>:
11426 <file-ownership-preserved-p, file-selinux-context>:
11427 <make-directory-internal, make-symbolic-link, set-file-acl>:
11428 <set-file-selinux-context, set-visited-file-modtime>:
11429 <verify-visited-file-modtime>: Add handler.
11430 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11432 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11433 <file-notify-add-watch, file-notify-rm-watch>:
11434 <set-file-times, set-visited-file-modtime>:
11435 <verify-visited-file-modtime>: Add handler.
11436 (with-tramp-gvfs-error-message)
11437 (tramp-gvfs-handle-set-visited-file-modtime)
11438 (tramp-gvfs-fuse-file-name): Remove.
11439 (tramp-gvfs-handle-file-notify-add-watch)
11440 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11441 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11443 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11444 Order alphabetically.
11445 <file-notify-rm-watch>: Use default Tramp handler.
11446 <executable-find>: Remove private handler.
11447 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11448 `default-directory'.
11449 (tramp-sh-handle-executable-find)
11450 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11451 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11452 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11453 Do not use `format' in `tramp-message'.
11455 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11456 <file-notify-rm-watch, set-visited-file-modtime>:
11457 <verify-visited-file-modtime>: Add handler.
11458 (tramp-smb-call-winexe): Do not bind `default-directory'.
11460 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11462 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11464 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11466 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11468 (log-view-diff-changeset): Same.
11469 (log-view-diff-common): Call backend command `previous-revision'
11470 to find out the previous revision, in both cases. Swap the
11471 variables `to' and `fr', so that `fr' usually refers to the
11472 earlier revision (Bug#14989).
11474 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11476 * ibuf-ext.el (ibuffer-filter-by-filename):
11477 Make it work with dired buffers too.
11479 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11481 * emacs-lisp/re-builder.el (reb-color-display-p):
11482 * files.el (save-buffers-kill-terminal):
11483 * net/browse-url.el (browse-url):
11484 * server.el (server-save-buffers-kill-terminal):
11485 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11486 Prefer nil to selected-frame for the first arg of frame-parameter.
11488 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11490 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11492 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11494 * minibuffer.el (completion--twq-all): Try and preserve each
11495 completion's case choice (bug#14907).
11497 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11499 * net/network-stream.el (open-network-stream): Mention the new
11500 :nogreeting parameter.
11501 (network-stream-open-starttls): Use the :nogreeting parameter
11504 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11506 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11507 more natural than popping.
11509 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11510 (shr-urlify): Highlight under mouse.
11512 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11514 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11516 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11518 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11521 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11522 point-min==1. Fix search string. Fix parentheses missing.
11524 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11525 assume point-min==1. Fix search string. Fix parentheses missing.
11527 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11529 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11532 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11534 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11535 initial frame is minibuffer-less. (Bug#14841)
11537 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11539 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11542 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11543 (tramp-maybe-open-connection): Use it.
11545 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11547 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11548 minimal set of parameters passed when creating a frame, because
11549 the minibuffer status of a frame cannot be changed later.
11551 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11553 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11554 replace-regexp-in-string and inadvertent omissions in previous change.
11555 (todo-filter-items): Ensure only file names are comma-separated in
11556 name of filtered items buffer.
11558 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11560 * desktop.el: Optionally force offscreen frames back onscreen.
11561 (desktop-restoring-reuses-frames): New option.
11562 (desktop--compute-pos, desktop--move-onscreen): New functions.
11563 (desktop--make-frame): Use desktop--move-onscreen.
11565 2013-07-27 Alan Mackenzie <acm@muc.de>
11567 Fontify a Java generic method as a function.
11568 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11571 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11573 * calendar/todo-mode.el: Add command to rename todo files.
11574 (todo-rename-file): New command.
11575 (todo-key-bindings-t): Add key binding for it. Change the
11576 bindings of todo-filter-regexp-items(-multifile) to use `x'
11577 instead of `r', since the latter is better suited to the new
11580 2013-07-27 Alan Mackenzie <acm@muc.de>
11582 Make Java try-with-resources statement parse properly.
11583 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11584 (c-block-stmt-1-2-key): New language constants/variables.
11585 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11586 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11587 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11588 with c-block-stmt-1-2-key.
11590 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11592 * desktop.el (desktop--make-frame): Apply most frame parameters after
11593 creating the frame to force (partially or totally) offscreen frames to
11594 be restored as such.
11596 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11598 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11601 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11603 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11604 `base' arg of backtrace-frame.
11606 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11608 * simple.el (list-processes): Doc fix.
11610 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11612 * desktop.el (desktop--select-frame):
11613 Try harder to reuse existing frames.
11615 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11617 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11618 (edebug-eval): Use backtrace-eval.
11619 (edebug--display, edebug--recursive-edit): Don't let-bind the
11620 edebug-outer-* vars that keep track of variables we locally let-bind.
11621 (edebug-outside-excursion): Don't restore outside values of locally
11623 (edebug--display): Use user-error.
11624 (cl-lexical-debug, cl-debug-env): Remove.
11626 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11628 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11629 are restored to be sure that they are visible before deleting any
11632 2013-07-26 Matthias Meulien <orontee@gmail.com>
11634 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11635 vc-print-root-log. (Bug#14948)
11637 2013-07-26 Richard Stallman <rms@gnu.org>
11639 Add aliases for encrypting mail.
11640 * epa.el (epa-mail-aliases): New option.
11641 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11642 Bind inhibit-read-only so read-only text doesn't ruin everything.
11643 (epa-mail-default-recipients): New subroutine broken out.
11644 Handle epa-mail-aliases.
11646 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11648 Add support for lexical variables to the debugger's `e' command.
11649 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11650 vars, except for debugger-outer-match-data.
11651 (debugger-frame-number): Move check for "on a function call" from
11652 callers into it. Add `skip-base' argument.
11653 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11654 (debugger-env-macro): Only reset the state stored in non-variables,
11655 i.e. current-buffer and match-data.
11656 (debugger-eval-expression): Rewrite using backtrace-eval.
11657 * subr.el (internal--called-interactively-p--get-frame): Remove.
11658 (called-interactively-p):
11659 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11660 `base' arg of backtrace-frame instead.
11662 2013-07-26 Glenn Morris <rgm@gnu.org>
11664 * align.el (align-regexp): Doc fix. (Bug#14857)
11665 (align-region): Explicit error if subexpression missing/does not match.
11667 * simple.el (global-visual-line-mode):
11668 Do not duplicate the mode lighter. (Bug#14858)
11670 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11672 * window.el (display-buffer): In display-buffer bind
11673 split-window-keep-point to t, bug#14829.
11675 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11677 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11678 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11679 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11680 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11681 Change accordingly.
11682 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11683 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11685 2013-07-25 Glenn Morris <rgm@gnu.org>
11687 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11689 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11691 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11692 parameter to modify-frame-parameters if the value has not changed;
11693 this is a workaround for bug#14949.
11694 (desktop--make-frame): On cl-delete-if call, check parameter name,
11695 not full parameter.
11697 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11699 * vc/vc.el (vc-ignore): New function.
11701 * vc/vc-svn.el (vc-svn-ignore): New function.
11703 * vc/vc-hg.el (vc-hg-ignore): New function.
11705 * vc/vc-git.el (vc-git-ignore): New function.
11707 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11708 (vc-dir-ignore): New function.
11710 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11711 (cvs-append-to-ignore): Move here from pcvs.el.
11713 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11715 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11717 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11719 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11720 (desktop-restore-frames): Warn when deleting an existing frame failed.
11722 2013-07-24 Glenn Morris <rgm@gnu.org>
11724 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11726 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11728 * filenotify.el (file-notify-supported-p):
11729 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11732 * autorevert.el (auto-revert-use-notify)
11733 (auto-revert-notify-add-watch):
11734 * net/tramp.el (tramp-file-name-for-operation):
11735 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11736 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11737 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11738 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11739 Remove `file-notify-supported-p' entry.
11741 2013-07-24 Glenn Morris <rgm@gnu.org>
11743 * printing.el: Replace all uses of deleted ps-windows-system,
11744 ps-lp-system, ps-flatten-list with lpr- versions.
11746 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11748 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11749 checked with memq (bug#14935).
11751 * files.el (revert-buffer-function): Use a non-nil default.
11752 (revert-buffer-preserve-modes): Declare var to
11753 provide access to the `preserve-modes' argument.
11754 (revert-buffer): Let-bind it.
11755 (revert-buffer--default): New function, extracted from revert-buffer.
11757 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11759 * lpr.el: Signal print errors more prominently.
11760 (print-region-function): Don't default to nil.
11761 (lpr-print-region): New function, extracted from print-region-1.
11762 Check lpr's return value and signal an error in case of problem.
11763 (print-region-1): Use it.
11764 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11766 (ps-printer-name): Default to nil.
11767 (ps-printer-name-option): Default to lpr-printer-switch.
11768 (ps-print-region-function): Don't default to nil.
11769 (ps-postscript-code-directory): Simplify default.
11770 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11771 (ps-string-list, ps-eval-switch, ps-flatten-list)
11772 (ps-flatten-list-1): Remove.
11773 (ps-multibyte-buffer): Avoid setq.
11774 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11775 (print-region-function, ps-print-region-function): Don't set them here.
11777 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11779 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11780 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11781 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11782 (ido-decorations): Doc fix.
11784 * ansi-color.el: Fix old URL.
11786 2013-07-23 Michael R. Mauger <michael@mauger.com>
11788 * progmodes/sql.el: Version 3.3
11789 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11790 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11791 (sql-interactive-remove-continuation-prompt): Rewrite, use
11792 functions above. Fix continuation prompt and complete output line
11794 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11795 redirected output buffer.
11796 (sql-mode): Restore deleted code (Bug#13591).
11798 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11800 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11802 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11804 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11806 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11807 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11808 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11810 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11812 * desktop.el (desktop-clear): Simplify; remove useless checks
11813 against invalid buffer names.
11814 (desktop-list*): Use cl-list*.
11815 (desktop-buffer-info, desktop-create-buffer): Simplify.
11817 2013-07-23 Leo Liu <sdl.web@gmail.com>
11819 * bookmark.el (bookmark-make-record): Restore NAME as a default
11822 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11824 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11825 extracted from autoload--insert-text.
11826 (autoload--insert-text): Remove.
11827 (autoload--print-cookie-text): New function, extracted from
11828 autoload--insert-cookie-text.
11829 (autoload--insert-cookie-text): Remove.
11830 (autoload-generate-file-autoloads): Adjust calls accordingly.
11832 * winner.el (winner-hook-installed-p): Remove.
11833 (winner-mode): Simplify accordingly.
11835 * subr.el (add-to-list): Fix compiler-macro when `append' is
11836 not constant. Don't use `cl-member' for the base case.
11838 * progmodes/subword.el: Fix boundary case (bug#13758).
11839 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11841 (subword-backward-regexp): Make it a constant.
11842 (subword-forward-internal): Don't treat a trailing capital as the
11843 beginning of a word.
11845 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11847 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11848 global value of tabulated-list-revert-hook (bug#14930).
11850 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11852 * desktop.el: Require 'cl-lib.
11853 (desktop-before-saving-frames-functions): New hook.
11854 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11855 for frames being saved. Rename from desktop--save-minibuffer-frames.
11856 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11857 Do not save frames with non-nil `desktop-dont-save' parameter.
11858 Filter out deleted frames.
11859 (desktop--find-frame): Use cl-find-if.
11860 (desktop--select-frame): Use cl-(first|second|third) to access values
11862 (desktop--make-frame): Use cl-delete-if.
11863 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11864 (desktop-restore-frames): Use cl-(first|second|third) to access values
11865 of desktop-mini. Look for visible frame at the end, not while
11868 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11869 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11870 Use string-match-p, looking-at-p (bug#14927).
11872 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11874 * desktop.el (desktop-saved-frame-states):
11875 Rename from desktop--saved-states; all users changed.
11876 (desktop-save-frames): Rename from desktop--save-frames.
11877 Do not save state to desktop file.
11878 (desktop-save): Save desktop-saved-frame-states to desktop file
11880 (desktop-restoring-frames-p): New function.
11881 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11882 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11883 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11885 * desktop.el: Correctly restore iconified frames.
11886 (desktop--filter-iconified-position): New function.
11887 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11889 2013-07-20 Glenn Morris <rgm@gnu.org>
11891 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11892 Let `message' do the formatting.
11893 (def-gdb-preempt-display-buffer): Add explicit format.
11895 * image-dired.el (image-dired-track-original-file):
11896 Use with-current-buffer.
11897 (image-dired-track-thumbnail): Use with-current-buffer.
11898 Avoid changing point of wrong window.
11900 * image-dired.el (image-dired-track-original-file):
11901 Avoid changing point of wrong window. (Bug#14909)
11903 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11905 * progmodes/gdb-mi.el (gdb-done-or-error):
11906 Guard against "%" in gdb output. (Bug#14127)
11908 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11910 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11913 * international/mule.el (coding-system-iso-2022-flags): Fix last
11916 2013-07-20 Kenichi Handa <handa@gnu.org>
11918 * international/mule.el (coding-system-iso-2022-flags):
11919 Add `8-bit-level-4'. (Bug#8522)
11921 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11923 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11926 * net/eww.el (eww-process-text-input): Allow inputting when the
11927 point is at the start of the line, as the properties aren't
11930 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11933 2013-07-19 Richard Stallman <rms@gnu.org>
11935 * epa.el (epa-popup-info-window): Doc fix.
11937 * subr.el (split-string): New arg TRIM.
11939 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11941 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11942 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11944 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11946 * filenotify.el (file-notify--library): Rename from
11947 `file-notify-support'. Do not autoload. Adapt all uses.
11948 (file-notify-supported-p): New defun.
11950 * autorevert.el (auto-revert-use-notify):
11951 Use `file-notify-supported-p' instead of `file-notify-support'.
11953 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11955 * net/tramp.el (tramp-file-name-for-operation):
11956 Add `file-notify-supported-p'.
11958 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11960 (tramp-sh-file-name-handler-alist): Add it as handler for
11961 `file-notify-supported-p '.
11963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11966 Add `ignore' as handler for `file-notify-*' functions.
11968 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11970 * simple.el (line-move-partial, line-move): Don't start vscroll or
11971 scroll-up if the current line is not taller than the window.
11974 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11976 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11977 highlight question marks in the method names as strings.
11978 (ruby-block-beg-keywords): Inline.
11979 (ruby-font-lock-keyword-beg-re): Extract from
11980 `ruby-font-lock-keywords'.
11982 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11984 * frame.el (blink-cursor-blinks): New defcustom.
11985 (blink-cursor-blinks-done): New defvar.
11986 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11987 (blink-cursor-timer-function): Check if number of blinks has been
11989 (blink-cursor-suspend, blink-cursor-check): New defuns.
11991 2013-07-15 Glenn Morris <rgm@gnu.org>
11993 * edmacro.el (edmacro-format-keys): Fix previous change.
11995 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11997 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11998 The hack didn't work outside English locales anyway.
12000 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12002 * simple.el (define-alternatives): Rename from alternatives-define,
12003 per RMS' suggestion.
12005 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12007 * desktop.el (desktop-restore-frames): Change default to t.
12008 (desktop-restore-in-current-display): Now offer more options.
12009 (desktop-restoring-reuses-frames): New customization option.
12010 (desktop--saved-states): Doc fix.
12011 (desktop-filter-parameters-alist): New variable, renamed and expanded
12012 from desktop--excluded-frame-parameters.
12013 (desktop--target-display): New variable.
12014 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12015 (desktop--filter-tty*, desktop--filter-*-color)
12016 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12017 (desktop--filter-save-desktop-parm)
12018 (desktop-restore-in-original-display-p): New functions.
12019 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12020 (desktop--save-minibuffer-frames): New function, inspired by a similar
12021 function from Martin Rudalics.
12022 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12023 (desktop--restore-in-this-display-p): Remove.
12024 (desktop--find-frame): Rename from desktop--find-frame-in-display
12025 and add predicate argument.
12026 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12027 (desktop--reuse-list): New variable.
12028 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12030 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12032 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12034 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12036 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12038 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12039 Highlight conversion methods on Kernel.
12041 2013-07-13 Alan Mackenzie <acm@muc.de>
12043 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12044 and comment it out. This out-commenting enables certain C++
12045 declarations to be parsed correctly.
12047 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12049 * international/mule.el (define-coding-system): Doc fix.
12051 * simple.el (default-font-height): Don't call font-info if the
12052 frame's default font didn't change since the frame was created.
12055 2013-07-13 Leo Liu <sdl.web@gmail.com>
12057 * ido.el (ido-read-file-name): Guard against non-symbol value.
12059 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12061 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12064 2013-07-13 Leo Liu <sdl.web@gmail.com>
12066 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12067 ido-set-matches call. (Bug#6852)
12069 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12071 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12072 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12074 (ruby-font-lock-keywords): Distinguish calls to functions with
12075 module-like names from module references. Highlight character
12078 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12080 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12081 (gdb-send): Handle continued commands. (Bug#14847)
12083 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12085 * desktop.el (desktop--v2s): Remove unused local variable.
12086 (desktop-save-buffer): Make defvar-local; adjust docstring.
12087 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12088 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12090 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12092 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12094 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12096 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12099 2013-07-12 Glenn Morris <rgm@gnu.org>
12101 * doc-view.el: Require cl-lib at runtime too.
12102 (doc-view-remove-if): Remove.
12103 (doc-view-search-next-match, doc-view-search-previous-match):
12106 * edmacro.el: Require cl-lib at runtime too.
12107 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12108 (edmacro-mismatch, edmacro-subseq): Remove.
12110 * shadowfile.el: Require cl-lib.
12111 (shadow-remove-if): Remove.
12112 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12115 * wid-edit.el: Require cl-lib.
12116 (widget-choose): Use cl-remove-if.
12117 (widget-remove-if): Remove.
12119 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12120 (ebrowse-delete-if-not): Remove.
12121 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12122 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12123 Use cl-delete-if-not.
12125 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12127 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12128 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12130 2013-07-12 Leo Liu <sdl.web@gmail.com>
12132 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12134 2013-07-11 Glenn Morris <rgm@gnu.org>
12136 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12137 (edebug-gensym-index, edebug-gensym):
12138 Remove reimplementation of cl-gensym.
12139 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12141 * thumbs.el: Require cl-lib at run-time too.
12142 (thumbs-gensym-counter, thumbs-gensym):
12143 Remove reimplementation of cl-gensym.
12144 (thumbs-temp-file): Use cl-gensym.
12146 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12147 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12148 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12149 (ert--union, ert--gensym-counter, ert--gensym-counter)
12150 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12151 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12152 (ert-make-test-unbound, ert--expand-should-1)
12153 (ert--expand-should, ert--should-error-handle-error)
12154 (should-error, ert--explain-equal-rec)
12155 (ert--plist-difference-explanation, ert-select-tests)
12156 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12157 Use cl-lib functions rather than reimplementations.
12159 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12161 * net/tramp.el (tramp-methods): Extend docstring.
12162 (tramp-connection-timeout): New defcustom.
12163 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12164 (with-tramp-progress-reporter): Simplify.
12165 (tramp-process-actions): Improve messages.
12167 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12168 * net/tramp-sh.el (tramp-maybe-open-connection):
12169 Use `tramp-connection-timeout'.
12170 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12173 2013-07-11 Leo Liu <sdl.web@gmail.com>
12175 * ido.el (ido-read-file-name): Conform to the requirements of
12176 read-file-name. (Bug#11861)
12177 (ido-read-directory-name): Conform to the requirements of
12178 read-directory-name.
12180 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12182 * subr.el (delay-warning): New function.
12184 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12186 * simple.el (default-line-height): New function.
12187 (line-move-partial, line-move): Use it instead of computing the
12188 line height inline.
12189 (line-move-partial): Always compute ROWH. If the last line is
12190 partially-visible, but its text is completely visible, allow
12191 cursor to enter such a partially-visible line.
12193 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12195 Improve error messages. (Bug#14808)
12197 * net/tramp.el (tramp-current-connection): New defvar, moved from
12199 (tramp-message-show-progress-reporter-message): Remove, not
12201 (tramp-error-with-buffer): Show message in minibuffer.
12202 Discard input before waiting. Reset connection timestamp.
12203 (with-tramp-progress-reporter): Improve messages.
12204 (tramp-process-actions): Use progress reporter. Delete process in
12205 case of error. Improve messages.
12207 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12208 Call `tramp-error-with-buffer' with vector and buffer.
12209 (tramp-current-connection): Remove.
12210 (tramp-maybe-open-connection): The car of
12211 `tramp-current-connection' are the first 3 slots of the vector.
12213 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12215 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12216 inside continued strings.
12218 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12220 Timestamp fixes for undo (Bug#14824).
12221 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12223 2013-07-10 Leo Liu <sdl.web@gmail.com>
12225 * files.el (require-final-newline): Allow safe local value.
12228 2013-07-09 Leo Liu <sdl.web@gmail.com>
12230 * ido.el (ido-read-directory-name): Handle fallback.
12231 (ido-read-file-name): Update DIR to ido-current-directory.
12233 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12235 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12237 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12238 "autoload". Remove "warn lower camel case" section, previously
12239 commented out. Highlight negation char. Do not highlight the
12240 target in singleton method definitions.
12242 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12244 * faces.el (tty-setup-hook): Declare the hook.
12246 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12247 and detect when a guard/pred depends on local vars (bug#14773).
12248 (pcase--u1): Adjust caller.
12250 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12252 * simple.el (line-move-partial, line-move): Account for
12254 (line-move-partial): Avoid setting vscroll when the last
12255 partially-visible line in window is of default height.
12257 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12259 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12262 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12264 * subr.el (read-quoted-char): Remove unused local variable `char'.
12266 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12268 * vc/ediff.el (ediff-version): Version update.
12269 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12270 (ediff-merge-with-ancestor-command, ediff-directories-command)
12271 (ediff-directories3-command, ediff-merge-directories-command)
12272 (ediff-merge-directories-with-ancestor-command): New functions.
12273 All are command-line interfaces to ediff: to facilitate calling
12274 Emacs with the appropriate ediff functions invoked.
12276 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12278 (viper-save-kill-buffer): Check if buffer is modified.
12280 * emulation/viper.el (viper-version): Version update.
12281 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12283 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12285 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12286 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12287 (viper-intercept-ESC-key): Simplify.
12288 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12290 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12291 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12292 (viper-setup-ESC-to-escape): New functions.
12293 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12294 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12296 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12298 * simple.el (default-font-height, window-screen-lines):
12300 (line-move, line-move-partial): Use them instead of
12301 frame-char-height and window-text-height. This makes scrolling
12302 text smoother when the buffer's default face uses a font that is
12303 different from the frame's default font.
12305 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12307 * files.el (write-file): Do not display confirm dialog for NS,
12308 it does its own dialog, which can't be canceled (Bug#14578).
12310 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12312 * simple.el (line-move-partial): Adjust the row returned by
12313 posn-at-point for the current window-vscroll. (Bug#14567)
12315 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12317 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12318 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12321 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12323 * window.el (window-state-put-stale-windows): New variable.
12324 (window--state-put-2): Save list of windows without matching buffer.
12325 (window-state-put): Remove "bufferless" windows if possible.
12327 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12329 * simple.el (alternatives-define): Remove leftover :group keyword.
12332 2013-07-06 Leo Liu <sdl.web@gmail.com>
12334 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12335 (ido-enable-virtual-buffers): New variable.
12336 (ido-buffer-internal, ido-toggle-virtual-buffers)
12337 (ido-make-buffer-list): Use it.
12338 (ido-exhibit): Support turning on and off virtual buffers
12341 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12343 * simple.el (alternatives-define): New macro.
12345 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12347 * subr.el (read-quoted-char): Use read-key.
12348 (sit-for): Let read-event decode tty input (bug#14782).
12350 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12352 * calendar/todo-mode.el: Add handling of file deletion, both by
12353 mode command and externally. Fix various related bugs.
12354 Clarify Commentary and improve some documentation strings and code.
12355 (todo-delete-file): New command.
12356 (todo-check-file): New function.
12357 (todo-show): Handle external deletion of the file we're trying to
12358 show (bug#14688). Replace called-interactively-p by an optional
12359 prefix argument to avoid problematic interaction with catch form
12360 when byte compiled (bug#14702).
12361 (todo-quit): Handle external deletion of the archive's todo file.
12362 Make sure the buffer that was visiting the archive file is still
12363 live before trying to bury it.
12364 (todo-category-completions): Handle external deletion of any
12365 category completion files.
12366 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12367 of todo files, in case of external deletion.
12368 (todo-add-file): Replace unnecessary setq by let-binding.
12369 (todo-find-archive): Check whether there are any archives.
12370 Replace unnecessary setq by let-binding.
12371 (todo-archive-done-item): Use find-file-noselect to get the
12372 archive buffer whether or not the archive already exists.
12373 Remove superfluous code. Use file size instead of buffer-file-name to
12374 check if the archive is new; if it is, update list of archives.
12375 (todo-default-todo-file): Allow nil to be a valid value for when
12376 there are no todo files.
12377 (todo-reevaluate-default-file-defcustom): Use corrected definition
12378 of todo-default-todo-file.
12379 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12380 (todo-delete-category, todo-show-categories-table)
12381 (todo-category-number): Clarify comment.
12382 (todo-filter-items): Clarify documentation string.
12383 (todo-show-current-file, todo-display-as-todo-file)
12384 (todo-reset-and-enable-done-separator): Tweak documentation string.
12385 (todo-done-separator): Make separator length window-width, since
12386 bug#2749 is now fixed.
12388 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12390 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12391 Support both "gvfs-monitor-dir" and "inotifywait".
12392 (tramp-sh-file-inotifywait-process-filter): Rename from
12393 `tramp-sh-file-notify-process-filter'.
12394 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12395 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12397 2013-07-05 Leo Liu <sdl.web@gmail.com>
12399 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12401 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12403 * frame.el (display-pixel-height, display-pixel-width)
12404 (display-mm-height, display-mm-width): Mention behavior on
12405 multi-monitor setups in docstrings.
12406 (w32-display-monitor-attributes-list): Declare function.
12407 (display-monitor-attributes-list): Use it.
12409 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12411 * filenotify.el: New package.
12413 * autorevert.el (top): Require filenotify.el.
12414 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12416 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12417 (auto-revert-notify-handler): Use `file-notify-*' functions.
12419 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12421 * net/tramp.el (tramp-file-name-for-operation):
12422 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12424 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12425 for `file-notify-add-watch' and `file-notify-rm-watch'.
12426 (tramp-process-sentinel): Improve trace.
12427 (tramp-sh-handle-file-notify-add-watch)
12428 (tramp-sh-file-notify-process-filter)
12429 (tramp-sh-handle-file-notify-rm-watch)
12430 (tramp-get-remote-inotifywait): New defuns.
12432 2013-07-03 Juri Linkov <juri@jurta.org>
12434 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12435 call of `occur-read-primary-args' to interactive spec.
12437 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12438 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12440 2013-07-03 Matthias Meulien <orontee@gmail.com>
12442 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12443 `Buffer-menu-multi-occur'. Add it to the menu.
12444 (Buffer-menu-mode): Document it in docstring.
12445 (Buffer-menu-multi-occur): New command. (Bug#14673)
12447 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12450 keywords and built-ins.
12452 2013-07-03 Glenn Morris <rgm@gnu.org>
12454 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12456 Make info-xref checks case-sensitive by default
12457 * info.el (Info-find-node, Info-find-in-tag-table)
12458 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12459 Add option for exact case matching of nodes.
12460 * info-xref.el (info-xref): New custom group.
12461 (info-xref-case-fold): New option.
12462 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12464 2013-07-03 Leo Liu <sdl.web@gmail.com>
12466 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12468 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12470 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12471 middle of block statement initially, lower the depth. Remove
12472 FIXME comment, not longer valid. Remove middle of block statement
12473 detection, no need to do that anymore since we've been using
12474 `ruby-parse-region' here.
12476 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12478 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12480 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12482 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12484 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12486 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12487 (desktop-restore-in-current-display): New customization option.
12488 (desktop--excluded-frame-parameters): Add `font'.
12489 (desktop--save-frames): Rename from desktop--save-windows.
12490 (desktop--restore-in-this-display-p): New function.
12491 (desktop--make-full-frame): Remove unwanted width/height from
12492 full(width|height) frames.
12493 (desktop--restore-frames): Rename from desktop--restore-windows.
12494 Obey desktop-restore-current-display. Do not delete old frames or
12495 select a new frame unless we were able to restore at least one frame.
12497 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12499 * files.el (find-file-noselect): Simplify conditional expression.
12501 * textmodes/remember.el (remember-append-to-file):
12502 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12504 Add `remember-notes' function to store random notes across Emacs
12506 * textmodes/remember.el (remember-data-file): Add :set callback to
12507 affect notes buffer (if any).
12508 (remember-notes): New command.
12509 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12510 New defcustoms for the `remember-notes' function.
12511 (remember-notes-save-and-bury-buffer): New command.
12512 (remember-notes-mode-map): New variable.
12513 (remember-mode): New minor mode.
12514 (remember-notes--kill-buffer-query): New function.
12515 * startup.el (initial-buffer-choice): Add notes to custom type.
12517 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12519 * bindings.el (right-char, left-char): Don't call sit-for, this is
12520 no longer needed. Use arithmetic comparison only for numerical
12523 * international/mule-cmds.el (select-safe-coding-system):
12524 Handle the case of FROM being a string correctly. (Bug#14755)
12526 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12528 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12529 progression on degenerate tables.
12530 (shr-rescale-image): ImageMagick animated images currently don't work.
12532 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12534 Some fixes and improvements for desktop frame restoration.
12535 It is still experimental and disabled by default.
12536 * desktop.el (desktop--save-windows): Put the selected frame at
12537 the head of the list.
12538 (desktop--make-full-frame): New function.
12539 (desktop--restore-windows): Try to re-select the frame that was
12540 selected upon saving. Do not abort if some frames fail to restore,
12541 just show an error message and continue. Set up maximized frames
12542 so they have default non-maximized dimensions.
12544 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12546 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12547 Don't start heredoc inside a string or comment.
12549 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12551 * bindings.el (visual-order-cursor-movement): New defcustom.
12552 (right-char, left-char): Provide visual-order cursor motion by
12553 calling move-point-visually. Update the doc strings.
12555 2013-06-28 Kenichi Handa <handa@gnu.org>
12557 * international/mule.el (define-coding-system): New coding system
12558 properties :inhibit-null-byte-detection,
12559 :inhibit-iso-escape-detection, and :prefer-utf-8.
12560 (set-buffer-file-coding-system): If :charset-list property of
12561 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12562 appropriate for setting.
12564 * international/mule-cmds.el (select-safe-coding-system):
12565 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12566 multibyte characters, return utf-8 (or one of its siblings).
12568 * international/mule-conf.el (prefer-utf-8): New coding system.
12569 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12572 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12574 * net/shr.el (shr-render-region): New function.
12576 * net/eww.el: Autoload `eww-browse-url'.
12578 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12580 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12581 Adapt to `package-desc-version' being a list.
12582 Use `package--ac-desc-version' to retrieve version from a package
12585 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12587 New experimental feature to save&restore window and frame setup.
12588 * desktop.el (desktop-save-windows): New defcustom.
12589 (desktop--saved-states): New var.
12590 (desktop--excluded-frame-parameters): New defconst.
12591 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12592 (desktop--restore-windows, desktop--save-windows): New functions.
12593 (desktop-save): Call `desktop--save-windows'.
12594 (desktop-read): Call `desktop--restore-windows'.
12596 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12598 * net/shr.el (add-face-text-property): Remove compat definition.
12600 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12602 * info.el (Info-try-follow-nearest-node): Move search for footnote
12603 above search for node name to prevent missing a footnote (bug#14717).
12605 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12607 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12609 2013-06-27 Leo Liu <sdl.web@gmail.com>
12611 * net/eww.el (eww-read-bookmarks): Check file size.
12613 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12615 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12616 advice--pending if newdef is nil or an autoload (bug#13820).
12617 (advice-mapc): New function.
12619 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12621 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12623 (eww-mode-map): Add a menu bar.
12624 (eww-add-bookmark): New command.
12625 (eww-bookmark-mode): New mode and commands.
12626 (eww-add-bookmark): Remove newlines from the title.
12627 (eww-bookmark-browse): Don't bug out if it's the only window.
12629 2013-06-26 Glenn Morris <rgm@gnu.org>
12631 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12632 (hfy-size): Handle ttys. (Bug#14668)
12634 * info-xref.el: Update for Texinfo 5 change in *note format.
12635 (info-xref-node-re, info-xref-note-re): New constants.
12636 (info-xref-check-buffer): Use info-xref-note-re.
12638 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12640 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12642 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12643 nil terminate the loop (bug#14718).
12645 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12647 * net/eww.el: Rework history traversal. When going forward/back,
12648 put these actions into the history, too, so that they can be
12650 (eww-render): Move the history reset to the correct buffer.
12652 2013-06-25 Juri Linkov <juri@jurta.org>
12654 * files-x.el (modify-dir-local-variable): Change the header comment
12655 in the file with directory local variables. (Bug#14692)
12657 * files-x.el (read-file-local-variable-value): Add `default'.
12660 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12662 * net/eww.el (eww-make-unique-file-name): Create a unique file
12663 name before saving to entering `y' accidentally asynchronously.
12665 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12667 * net/eww.el (eww-download): New command and keystroke.
12669 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12671 * net/eww.el (eww-copy-page-url): Change name of command.
12673 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12674 be more consistent with Info and dired.
12676 * net/eww.el (eww-mode-map): Ditto.
12678 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12680 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12681 packages from archives.
12682 (package-archive-contents): Change format; include obsolete packages.
12683 (package-desc): Use `dir' to mark builtin packages.
12684 (package--from-builtin): Set the `dir' field to `builtin'.
12685 (generated-autoload-file, version-control): Declare.
12686 (package-compute-transaction): Change first arg and return value to be
12687 lists of package-descs. Adjust to new package-archive-contents format.
12688 (package--add-to-archive-contents): Adjust to new
12689 package-archive-contents format.
12690 (package-download-transaction): Arg is now a list of package-descs.
12691 (package-install): If `pkg' is a package name, pass it as
12692 a requirement, so it is subject to the usual (e.g. disabled) checks.
12693 (describe-package): Accept package-desc as well.
12694 (describe-package-1): Describe a specific package-desc. Add links to
12695 other package-descs for the same package name.
12696 (package-menu-describe-package): Pass the actual package-desc.
12697 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12699 (package-desc-status): New function.
12700 (package-menu--refresh): New function, extracted
12701 from package-menu--generate.
12702 (package-menu--generate): Use it.
12703 (package-delete): Update package-alist.
12704 (package-menu-execute): Don't call package-initialize.
12706 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12707 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12708 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12709 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12710 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12711 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12713 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12715 * window.el (window--state-get-1): Workaround for bug#14527.
12716 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12718 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12720 * net/eww.el (eww-back-url): Implement the history by stashing all
12721 the data into a list.
12722 (eww-forward-url): Allow going forward in the history, too.
12724 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12726 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12727 for values and use read--expression for expressions (bug#14710).
12728 (read-file-local-variable): Avoid setq.
12729 (read-file-local-variable-mode): Use minor-mode-list.
12731 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12733 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12736 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12738 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12739 Update imenu-support when dialect changes.
12741 2013-06-25 Leo Liu <sdl.web@gmail.com>
12743 * ido.el (ido-read-internal): Allow forward slash on windows.
12745 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12747 * net/eww.el (eww): Start of strings is \\`, not ^.
12749 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12751 * net/shr.el (shr-browse-url): Fix interactive spec.
12753 * net/eww.el (eww): Add a trailing slash to domain names.
12755 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12757 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12759 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12761 * net/shr.el (shr-browse-url): Use an external browser if given a
12764 * net/eww.el (eww-external-browser): Move to shr.
12766 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12768 * net/eww.el (eww): Work more correctly for file: URLs.
12769 (eww-detect-charset): Allow quoted charsets.
12770 (eww-yank-page-url): New command and keystroke.
12772 2013-06-24 Daiki Ueno <ueno@gnu.org>
12774 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12775 file name of gpg executable.
12776 (epg-context-program): New function.
12777 (epg-context-home-directory): New function.
12778 (epg-context-set-program): New function.
12779 (epg-context-set-home-directory): New function.
12780 (epg--start): Use `epg-context-program' instead of
12782 (epg--list-keys-1): Likewise.
12784 2013-06-24 Leo Liu <sdl.web@gmail.com>
12786 * ido.el (ido-read-internal): Fix bug#14620.
12788 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12790 * faces.el (face-documentation): Simplify.
12791 (read-face-attribute, tty-find-type, x-resolve-font-name):
12792 Use `string-match-p'.
12793 (list-faces-display): Use `string-match-p'. Simplify.
12794 (face-spec-recalc): Check face to avoid face alias loops.
12795 (read-color): Use `string-match-p' and non-capturing parenthesis.
12797 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12799 * net/shr.el (shr-rescale-image): Use the new
12800 :max-width/:max-height functionality.
12802 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12804 * net/eww.el (eww-search-prefix): New variable.
12806 (eww-external-browser): New variable.
12807 (eww-mode-map): New keystroke.
12808 (eww-browse-with-external-browser): New command.
12810 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12812 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12814 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12815 Don't skip aligning the next header field when padding is 0;
12816 otherwise, field width is not respected unless the title is as
12819 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * emacs-lisp/package.el (package-el-version): Remove.
12822 (package-process-define-package): Fix inf-loop.
12823 (package-install): Allow symbols as arguments again.
12825 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12827 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12828 add some more keyword-like methods.
12829 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12831 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12833 * bs.el (bs-buffer-show-mark): Make defvar-local.
12834 (bs-mode): Use setq-local.
12836 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12837 (emacs-lock--try-unlocking): Make defvar-local.
12839 2013-06-22 Glenn Morris <rgm@gnu.org>
12841 * play/cookie1.el (cookie-apropos): Minor simplification.
12843 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12845 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12847 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12848 `regexp-opt', it breaks the build during dumping.
12850 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12852 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12853 Highlight keyword-like methods on Kernel and Module with
12854 font-lock-builtin-face.
12855 (auto-mode-alist): Consolidate different entries into one regexp
12856 and add more *file-s.
12858 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12860 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12862 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12863 (diary-entry): Use it in the action of this button type instead of
12866 * calendar/todo-mode.el: New version.
12867 (todo-add-category): Append new category to end of file and give
12868 it the highest number, instead of putting it at the beginning and
12869 giving it 0. Incorporate noninteractive functionality.
12870 (todo-forward-category): Adapt to 1-based category numbering.
12871 Allow skipping over archived categories.
12872 (todo-backward-category): Derive from todo-forward-category.
12873 (todo-backward-item, todo-forward-item): Make noninteractive and
12874 delegate interactive part to new commands. Make sensitive to done items.
12875 (todo-categories): Make value an alist of category names and
12876 vectors of item counts.
12877 (todo-category-beg): Make a defconst.
12878 (todo-category-number): Use 1 instead of 0 as initial value.
12879 (todo-category-select): Make sensitive to overlays, optional item
12880 highlighting and done items.
12881 (todo-delete-item): Make sensitive to overlays and marked and done items.
12882 (todo-edit-item): Make sensitive to overlays and editing of
12883 date/time header optional. Add format checks.
12884 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12885 no-op if point is not on an item. Advertise using todo-edit-quit.
12886 (todo-edit-mode): Make sensitive to new format, font-locking, and
12887 multiple todo files.
12888 (todo-insert-item, todo-insert-item-here): Derive from
12889 todo-basic-insert-item and extend functionality.
12890 (todo-item-end, todo-item-start): Make sensitive to done items.
12891 (todo-item-string): Don't return text properties. Restore point.
12892 (todo-jump-to-category): Make sensitive to multiple todo files and
12893 todo archives. Use extended category completion.
12894 (todo-lower-item, todo-raise-item): Rename to *-priority and
12895 derive from todo-set-item-priority.
12896 (todo-mode): Derive from special-mode. Make sensitive to new
12897 format, font-locking and multiple todo files. Make read-only.
12898 (todo-mode-map): Don't suppress digit keys, so they can supply
12899 prefix arguments. Add many new key bindings.
12900 (todo-prefix): Insert as an overlay instead of file text.
12901 Change semantics from diary date expression to purely visual mark.
12902 (todo-print): Rename to todo-print-buffer. Make buffer display
12903 features printable. Remove option to restrict number of items
12904 printed. Add option to print to file.
12905 (todo-print-function): Rename to todo-print-buffer-function.
12906 (todo-quit): Extend to handle exiting new todo modes.
12907 (todo-remove-item): Make sensitive to overlays.
12908 (todo-save): Extend to buffers of filtered items.
12909 (todo-show): Make sensitive to done items, multiple todo files and
12910 new todo modes. Offer to convert legacy todo file before creating
12911 first new todo file.
12912 (todo-show-priorities): Rename to todo-top-priorities.
12913 Change semantics of value 0.
12914 (todo-top-priorities): Rename to todo-filter-top-priorities,
12915 derive from todo-filter-items and extend functionality.
12916 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12917 and extend functionality to other types of filtered items.
12918 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12919 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12920 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12921 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12922 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12923 (todo-edit-mode-hook, todo-entry-prefix-function)
12924 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12925 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12926 (todo-initials, todo-insert-threshold, todo-item-string-start)
12927 (todo-line-string, todo-menu, todo-mode-hook)
12928 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12929 (todo-print-priorities, todo-remove-separator)
12930 (todo-save-top-priorities-too, todo-string-count-lines)
12931 (todo-string-multiline-p, todo-time-string-format)
12932 (todo-tmp-buffer-name): Remove.
12933 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12934 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12935 (todo-edit-category-diary-inclusion)
12936 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12937 (todo-edit-file, todo-edit-item-date-day)
12938 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12939 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12940 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12941 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12942 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12943 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12944 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12945 (todo-filter-top-priorities-multifile, todo-find-archive)
12946 (todo-find-filtered-items-file, todo-go-to-source-item)
12947 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12948 (todo-jump-to-archive-category, todo-lower-category)
12949 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12950 (todo-move-category, todo-move-item, todo-next-button)
12951 (todo-next-item, todo-padded-string, todo-powerset)
12952 (todo-previous-button, todo-previous-item)
12953 (todo-print-buffer-to-file, todo-raise-category)
12954 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12955 (todo-set-category-number, todo-set-item-priority)
12956 (todo-set-top-priorities-in-category)
12957 (todo-set-top-priorities-in-file, todo-show-categories-table)
12958 (todo-sort-categories-alphabetically-or-numerically)
12959 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12960 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12961 (todo-toggle-item-header, todo-toggle-item-highlighting)
12962 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12963 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12964 (todo-unarchive-items, todo-unmark-category): New commands.
12965 (todo-absolute-file-name, todo-add-to-buffer-list)
12966 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12967 (todo-basic-insert-item, todo-category-completions)
12968 (todo-category-number, todo-category-string-matcher-1)
12969 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12970 (todo-check-format, todo-clear-matches)
12971 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12972 (todo-current-category, todo-date-string-matcher)
12973 (todo-define-insertion-command, todo-diary-expired-matcher)
12974 (todo-diary-goto-entry, todo-diary-item-p)
12975 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12976 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12977 (todo-done-item-section-p, todo-done-separator)
12978 (todo-done-string-matcher, todo-files, todo-filter-items)
12979 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12980 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12981 (todo-insert-category-line, todo-insert-item-from-calendar)
12982 (todo-insert-sort-button, todo-insert-with-overlays)
12983 (todo-insertion-command-name, todo-insertion-key-bindings)
12984 (todo-label-to-key, todo-longest-category-name-length)
12985 (todo-make-categories-list, todo-mode-external-set)
12986 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12987 (todo-modes-set-3, todo-multiple-filter-files)
12988 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12989 (todo-read-category, todo-read-date, todo-read-dayname)
12990 (todo-read-file-name, todo-read-time)
12991 (todo-reevaluate-category-completions-files-defcustom)
12992 (todo-reevaluate-default-file-defcustom)
12993 (todo-reevaluate-filelist-defcustoms)
12994 (todo-reevaluate-filter-files-defcustom)
12995 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12996 (todo-reset-done-separator, todo-reset-done-separator-string)
12997 (todo-reset-done-string, todo-reset-global-current-todo-file)
12998 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12999 (todo-reset-prefix, todo-set-categories)
13000 (todo-set-date-from-calendar, todo-set-show-current-file)
13001 (todo-set-top-priorities, todo-short-file-name)
13002 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13003 (todo-total-item-counts, todo-update-buffer-list)
13004 (todo-update-categories-display, todo-update-categories-sexp)
13005 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13007 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13009 (todo-categories, todo-display, todo-edit, todo-faces)
13010 (todo-filtered): New defgroups.
13011 (todo-archived-only, todo-button, todo-category-string, todo-date)
13012 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13013 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13014 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13015 (todo-add-item-if-new-category, todo-always-add-time-string)
13016 (todo-categories-align, todo-categories-archived-label)
13017 (todo-categories-category-label, todo-categories-diary-label)
13018 (todo-categories-done-label, todo-categories-number-separator)
13019 (todo-categories-todo-label, todo-categories-totals-label)
13020 (todo-category-completions-files, todo-completion-ignore-case)
13021 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13022 (todo-done-separator-string, todo-done-string)
13023 (todo-files-function, todo-filter-done-items, todo-filter-files)
13024 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13025 (todo-initial-category, todo-initial-file, todo-item-mark)
13026 (todo-legacy-date-time-regexp, todo-mode-line-function)
13027 (todo-nondiary-marker, todo-number-prefix)
13028 (todo-print-buffer-function, todo-show-current-file)
13029 (todo-show-done-only, todo-show-first, todo-show-with-done)
13030 (todo-skip-archived-categories, todo-top-priorities-overrides)
13031 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13032 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13034 (todo-category-done, todo-date-pattern, todo-date-string-start)
13035 (todo-diary-items-buffer, todo-done-string-start)
13036 (todo-filtered-items-buffer, todo-item-start)
13037 (todo-month-abbrev-array, todo-month-name-array)
13038 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13039 (todo-top-priorities-buffer): New defconsts.
13040 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13041 (todo-categories-with-marks, todo-category-string-face)
13042 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13043 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13044 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13045 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13046 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13047 (todo-font-lock-keywords, todo-global-current-todo-file)
13048 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13049 (todo-insertion-commands-args)
13050 (todo-insertion-commands-args-genlist)
13051 (todo-insertion-commands-names, todo-insertion-map)
13052 (todo-key-bindings-t, todo-key-bindings-t+a)
13053 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13054 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13055 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13056 (todo-visited): New variables.
13058 2013-06-21 Glenn Morris <rgm@gnu.org>
13060 * play/cookie1.el (cookie-apropos): Add optional display argument.
13061 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13062 (psychoanalyze-pinhead): Use cookie-doctor.
13064 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13066 * emacs-lisp/package.el (tar-get-file-descriptor)
13067 (tar--extract): Declare.
13069 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13071 Extend flymake's warning predicate to be a function (bug#14217).
13072 * progmodes/flymake.el (flymake-warning-predicate): New.
13073 (flymake-parse-line): Use it.
13074 (flymake-warning-re): Make obsolete alias to
13075 `flymake-warning-predicate'.
13077 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13079 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13080 (package-obsolete-list): Remove.
13081 (package-activate): Remove min-version argument. Add `force' argument.
13082 Adjust to new package-alist format.
13083 (package-mark-obsolete): Remove.
13084 (package-unpack): Force reload of the package's autoloads.
13085 (package-installed-p): Check builtins if the installed package is not
13087 (package-initialize): Don't reset package-obsolete-list.
13088 Don't specify which package version to activate.
13089 (package-process-define-package, describe-package-1)
13090 (package-menu--generate): Adjust to new package-alist format.
13092 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13094 * allout-widgets.el (allout-widgets-mode-off)
13095 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13096 (allout-widgets-post-command-business)
13097 (allout-widgets-after-copy-or-kill-function)
13098 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13099 (allout-decorate-item-and-context)
13100 (allout-graphics-modification-handler): Fix typos in docstrings.
13101 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13103 * cmuscheme.el (scheme-start-file): Doc fix.
13104 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13105 (scheme-input-filter): Use `string-match-p'.
13107 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13109 * dired-x.el: Use Dired consistently in docstrings.
13111 * dired.el: Use Dired consistently in docstrings.
13112 (dired-readin, dired-mode): Use `setq-local'.
13113 (dired-switches-alist): Make defvar-local.
13114 (dired-buffers-for-dir): Use `zerop'.
13115 (dired-safe-switches-p, dired-switches-escape-p)
13116 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13117 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13118 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13119 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13120 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13121 (dired-toggle-marks, dired-mark-files-containing-regexp)
13122 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13123 (dired-flag-auto-save-files, dired-flag-backup-files):
13124 Use `looking-at-p'.
13125 (dired-mark-files-regexp, dired-build-subdir-alist):
13126 Use `string-match-p', `looking-at-p'.
13128 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13129 (direct-print-region-helper): Use `string-match-p'.
13131 2013-06-21 Leo Liu <sdl.web@gmail.com>
13133 * comint.el (comint-redirect-results-list-from-process):
13136 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13138 * net/eww.el (eww-update-header-line-format): Quote % characters.
13140 2013-06-21 Glenn Morris <rgm@gnu.org>
13142 * play/cookie1.el (cookie): New custom group.
13143 (cookie-file): New option.
13144 (cookie-check-file): New function.
13145 (cookie): Make it interactive. Make start and end messages optional.
13146 Interactively, display the result. Default to cookie-file.
13147 (cookie-insert): Default to cookie-file.
13148 (cookie-snarf): Make start and end messages optional.
13149 Default to cookie-file. Use with-temp-buffer.
13150 (cookie-read): Rename from read-cookie.
13151 Make start and end messages optional. Default to cookie-file.
13152 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13153 Do not autoload it.
13154 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13155 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13157 2013-06-21 Leo Liu <sdl.web@gmail.com>
13159 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13161 2013-06-21 Glenn Morris <rgm@gnu.org>
13163 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13165 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13166 Daniel Hackney <dan@haxney.org>
13168 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13169 Consolidate the single-file vs tarball code.
13170 (package-desc-suffix): New function.
13171 (package-desc-full-name): Don't bother inlining it.
13172 (package-load-descriptor): Return the new package-desc.
13173 (package-mark-obsolete): Remove unused arg `package'.
13174 (package-unpack): Make it work for single files as well.
13175 Make it update package-alist.
13176 (package--make-autoloads-and-stuff): Rename from
13177 package--make-autoloads-and-compile. Don't compile any more.
13178 (package--compile): New function.
13179 (package-generate-description-file): New function, extracted from
13180 package-unpack-single.
13181 (package-unpack-single): Remove.
13182 (package--with-work-buffer): Add indentation and debugging info.
13183 (package-download-single): Remove.
13184 (package-install-from-archive): Rename from package-download-tar, make
13185 it take a pkg-desc, and make it work for single files as well.
13186 (package-download-transaction): Simplify.
13187 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13188 external tar program.
13189 (package-install-from-buffer): Remove `pkg-desc' argument.
13190 Use package-tar-file-info for tar-mode buffers.
13191 (package-install-file): Simplify accordingly.
13192 (package-archive-base): Change to take a pkg-desc.
13193 * tar-mode.el (tar--check-descriptor): New function, extracted from
13194 tar-get-descriptor.
13195 (tar-get-descriptor): Use it.
13196 (tar-get-file-descriptor): New function.
13197 (tar--extract): New function, extracted from tar-extract.
13198 (tar--extract): Use it.
13199 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13200 case the summary uses non-ascii. Adjust to new calling convention of
13201 package-tar-file-info.
13203 2013-06-21 Leo Liu <sdl.web@gmail.com>
13205 * comint.el (comint-redirect-results-list-from-process):
13206 Fix random delay. (Bug#14681)
13208 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13210 * profiler.el (profiler-format-number): Use log, not log10.
13212 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13214 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13216 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13218 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13219 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13221 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13222 (AUTOGENEL): ... here.
13223 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13224 (cl--defsubst-expand): Use it.
13226 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13228 * subr.el (log10): Move here from C code, and declare as obsolete.
13229 All uses of (log10 X) replaced with (log X 10).
13231 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13233 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13234 Declare with `defvar-local'.
13235 (tabulated-list-use-header-line, tabulated-list-entries)
13236 (tabulated-list-padding, tabulated-list-printer)
13237 (tabulated-list-sort-key): Declare with `defvar-local'.
13238 (tabulated-list-init-header, tabulated-list-print-fake-header):
13241 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13243 * arc-mode.el (archive-mode): Add `archive-write-file' to
13244 `write-contents-functions' also for remote files. (Bug#14652)
13246 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13248 * cus-edit.el (custom-commands): Fix typos.
13249 (custom-display): Fix tooltip text.
13250 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13251 Fix typos in docstrings.
13252 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13253 (custom-unlispify-menu-entry, custom-magic-value-create)
13254 (custom-add-see-also, custom-group-value-create): Use ?\s.
13255 (custom-guess-type, customize-apropos, editable-field)
13256 (custom-face-value-create): Use `string-match-p'.
13257 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13259 * custom.el (custom-load-symbol): Use `string-match-p'.
13261 * ansi-color.el: Convert to lexical binding.
13262 (ansi-colors): Fix URL.
13263 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13264 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13265 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13267 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13269 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13271 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13273 2013-06-19 Tom Tromey <tromey@redhat.com>
13275 * net/eww.el (eww-top-url): Remove.
13276 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13277 (eww-render): Set new variables. Don't set eww-top-url.
13278 (eww-handle-link): Handle "prev", "home", and "contents".
13279 Downcase the rel text.
13280 (eww-top-url): Choose best top URL.
13282 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13284 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13285 relying in widget.el. Using widget.el leads to too many
13286 user interface inconsistencies.
13287 (eww-self-insert): Implement entering commands in text fields.
13288 (eww-process-text-input): New function to make text input field editing
13290 (eww-submit): Rewrite to use the new-style form methods.
13291 (eww-select-display): Display the correct selected item.
13292 (eww-change-select): Implement changing the select value.
13293 (eww-toggle-checkbox): Implement radio/checkboxes.
13294 (eww-update-field): Fix compilation error.
13295 (eww-tag-textarea): Implement <textarea>.
13297 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13298 we don't shadow mode-specific bindings.
13300 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13303 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13305 2013-06-19 Glenn Morris <rgm@gnu.org>
13307 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13309 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13311 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13314 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13316 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13318 * net/browse-url.el (browse-url-browser-function):
13319 `eww-browse-url' has the right calling signature, `eww' does not.
13321 2013-06-19 Glenn Morris <rgm@gnu.org>
13323 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13324 Only eval autoloaded macros.
13325 (byte-compile-autoload): Only give the macro warning for macros.
13327 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13328 (ps-underlined-faces): Declare.
13330 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13331 (speedbar-add-supported-extension): Declare.
13333 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13334 Don't include a date stamp in the header of the generated file;
13335 it leads to needless differences between output files.
13337 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13339 * net/secrets.el (secrets-struct-secret-content-type):
13340 Replace check of introspection data by a test call of "CreateItem".
13341 Some servers do not offer introspection.
13343 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13345 * electric.el (electric-pair-mode): Improve interaction with
13346 electric-layout-mode.
13347 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13348 (electric-pair-syntax): Use text-mode-syntax-table in comments
13350 (electric-pair--insert): New function.
13351 (electric-pair-post-self-insert-function): Use it and
13352 electric--after-char-pos.
13354 2013-06-19 Leo Liu <sdl.web@gmail.com>
13356 * progmodes/octave.el (octave-help): Fix regexp.
13358 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13360 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13361 (shr-table-horizontal-line): Allow nil as a value, and change the
13363 (shr-insert-table-ruler): Respect the nil value.
13365 2013-06-18 Tom Tromey <tromey@barimba>
13367 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13369 (eww-open-file): New defun.
13370 (eww-render): Initialize new variables.
13371 (eww-display-html): Handle "link" and "a".
13372 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13373 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13374 (eww-back-url): Rename from eww-previous-url.
13375 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13378 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13380 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13381 Distinguish ternary operator tokens from slash symbol and slash
13384 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13386 Convert symbol prettification into minor mode and global minor mode.
13388 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13389 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13390 (prettify-symbols--keywords): Rename from
13391 `prog-prettify-symbols-alist' and make a local defvar.
13392 (prettify-symbols--compose-symbol): Rename from
13393 `prog--prettify-font-lock-compose-symbol'.
13394 (prettify-symbols--make-keywords): Rename from
13395 `prog-prettify-font-lock-symbols-keywords' and simplify.
13396 (prog-prettify-install): Remove.
13397 (prettify-symbols-mode): New minor mode, based on
13398 `prog-prettify-install'.
13399 (turn-on-prettify-symbols-mode): New function.
13400 (global-prettify-symbols-mode): New globalized minor mode.
13402 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13403 * progmodes/cfengine.el (cfengine3-mode):
13404 * progmodes/perl-mode.el (perl-mode): Don't call
13405 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13407 2013-06-18 Juri Linkov <juri@jurta.org>
13409 * files-x.el (modify-file-local-variable-message): New function.
13410 (modify-file-local-variable)
13411 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13412 and call `modify-file-local-variable-message' when it's non-nil.
13413 (add-file-local-variable, delete-file-local-variable)
13414 (add-file-local-variable-prop-line)
13415 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13416 and use it. (Bug#9820)
13418 2013-06-18 Juri Linkov <juri@jurta.org>
13420 * emulation/vi.el (vi-shell-op):
13421 * emulation/vip.el (vip-execute-com, ex-command):
13422 * emulation/viper-cmd.el (viper-exec-bang):
13423 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13424 the call of `shell-command-on-region'. (Bug#14637)
13426 * simple.el (shell-command-on-region): Doc fix.
13428 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13430 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13433 2013-06-18 Glenn Morris <rgm@gnu.org>
13435 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13437 * newcomment.el (comment-search-forward, comment-search-backward):
13438 Doc fix. (Bug#14376)
13440 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13442 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13443 (buffer-face-mode-invoke): Doc fix.
13445 2013-06-18 Matthias Meulien <orontee@gmail.com>
13447 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13448 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13450 2013-06-18 Glenn Morris <rgm@gnu.org>
13452 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13453 Replace obsolete function generic-make-keywords with its expansion.
13455 * progmodes/python.el (ffap-alist): Declare.
13457 * textmodes/reftex.el (bibtex-mode-map): Declare.
13459 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13461 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13462 (package-unpack, package-unpack-single): Return the pkg-dir.
13463 (package-download-transaction): Use it to update package-alist.
13465 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13467 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13470 2013-06-17 Juri Linkov <juri@jurta.org>
13472 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13474 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13476 * emacs-lisp/package.el (package-load-descriptor):
13477 Remove `with-syntax-table' call, `read' doesn't need it.
13478 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13480 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13482 * startup.el (command-line): Expand package name returned by
13483 `package--description-file' (bug#14639).
13485 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13487 * emacs-lisp/package.el (package-load-descriptor): Do not call
13488 `emacs-lisp-mode', just use its syntax table.
13490 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13492 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13493 `font-lock-extra-managed-props' if any prettifying keyword is added.
13494 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13495 (prog-mode): Use `setq-local'.
13497 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13499 * international/characters.el (standard-case-table): Set syntax of ?»
13500 and ?« to punctuation.
13502 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13504 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13505 Save relevant match data before calling `syntax-ppss' (bug#14595).
13507 2013-06-15 Juri Linkov <juri@jurta.org>
13509 * files-x.el (modify-file-local-variable-prop-line): Add local
13510 variables to the end of the existing comment on the first line.
13511 Use `file-auto-mode-skip' to skip interpreter magic line,
13512 and also skip XML declaration.
13514 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13516 * startup.el (package--builtin-versions): New var.
13517 (package-subdirectory-regexp): Remove.
13518 (package--description-file): Hard code its value instead.
13520 * emacs-lisp/package.el: Don't activate packages older than builtin.
13521 (package-obsolete-list): Rename from package-obsolete-alist, and make
13522 it into a simple list of package-desc.
13523 (package-strip-version): Remove.
13524 (package-built-in-p): Use package--builtin-versions.
13525 (package-mark-obsolete): Simplify.
13526 (package-process-define-package): Mark it obsolete if older than the
13528 (package-handle-response): Use line-end-position.
13529 (package-read-archive-contents, package--download-one-archive):
13531 (package--add-to-archive-contents): Skip if older than the builtin or
13533 (package-menu-describe-package): Fix last change.
13534 (package-list-unversioned): New var.
13535 (package-menu--generate): Use it.
13537 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13538 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13539 (autoload-builtin-package-versions): New variable.
13540 (autoload-generate-file-autoloads): Use them.
13541 Remove the list of autoloaded functions/macros from the
13542 (autoload...) comments.
13544 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13546 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13548 * simple.el (line-move-partial): Don't jump to the next screen
13549 line as soon as it becomes visible. Instead, continue enlarging
13550 the vscroll until the portion of a tall screen line that's left on
13551 display is about the height of the frame's default font.
13554 2013-06-15 Glenn Morris <rgm@gnu.org>
13556 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13557 compilation-error-regexp-alist void, or local while let-bound.
13559 * progmodes/make-mode.el (makefile-mode-syntax-table):
13560 Treat "=" as punctuation. (Bug#14614)
13562 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13564 * help-fns.el (describe-variable):
13565 Add extra line for permanent-local variables.
13567 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13569 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13570 Add export, import, library. (Bug#9164)
13571 (library): Set indent function.
13573 2013-06-14 Glenn Morris <rgm@gnu.org>
13575 * term/xterm.el (xterm--query):
13576 Stop after first matching handler. (Bug#14615)
13578 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13580 Add support for dired in saveplace.
13581 * dired.el (dired-initial-position-hook): New variable.
13582 (dired-initial-position): Call hook to place cursor position.
13583 * saveplace.el (save-place-to-alist): Add dired position.
13584 (save-place-dired-hook): New function.
13586 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13588 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13589 through a symbol rather than letrec.
13591 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13592 (package-desc): Add `dir' field.
13593 (package-desc-full-name): New function.
13594 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13595 (package-maybe-load-descriptor): Remove.
13596 (package-load-all-descriptors): Just call package-load-descriptor.
13597 (package--disabled-p): New function.
13598 (package-desc-vers, package-desc-doc): Remove aliases.
13599 (package--dir): Remove function.
13600 (package-activate): Check if a package is disabled.
13601 (package-process-define-package): New function, extracted from
13603 (define-package): Turn into a place holder.
13604 (package-unpack-single, package-tar-file-info):
13605 Use package--description-file.
13606 (package-compute-transaction): Use package--disabled-p.
13607 (package-download-transaction): Don't call
13608 package-maybe-load-descriptor since they're all loaded anyway.
13609 (package-install): Change argument to be a pkg-desc.
13610 (package-delete): Use a single pkg-desc argument.
13611 (describe-package-1): Use package-desc-dir instead of package--dir.
13612 Use package-desc property instead of package-symbol.
13613 (package-install-button-action): Adjust accordingly.
13614 (package--push): Rewrite.
13615 (package-menu--print-info): Adjust accordingly. Change the ID format
13617 (package-menu-describe-package, package-menu-get-status)
13618 (package-menu--find-upgrades, package-menu-mark-upgrades)
13619 (package-menu-execute, package-menu--name-predicate):
13620 Adjust accordingly.
13621 * startup.el (package--description-file): New function.
13622 (command-line): Use it.
13623 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13624 Use package-desc-version.
13626 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13627 (byte-compile-preprocess): Use it.
13628 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13629 can't quite recognize.
13630 (byte-compile-add-to-list): Remove.
13631 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13632 (cconv-closure-convert): Add assertion.
13634 * emacs-lisp/map-ynp.el: Use lexical-binding.
13635 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13636 Factor out some repeated code.
13638 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13640 * subr.el (with-eval-after-load): New macro.
13641 (eval-after-load): Allow form to be a function.
13642 take advantage of lexical-binding.
13643 (do-after-load-evaluation): Use dolist and adjust to new format.
13644 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13646 2013-06-13 Juri Linkov <juri@jurta.org>
13648 * replace.el (perform-replace): Display "symbol " and other search
13649 modes from `isearch-message-prefix' in the *Help* buffer.
13651 * isearch.el (isearch-query-replace): Add " symbol" and other
13652 possible search modes from `isearch-message-prefix' to the prompt.
13653 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13654 when reading a regexp to collect.
13656 2013-06-13 Juri Linkov <juri@jurta.org>
13658 * isearch.el (word-search-regexp): Match whitespace if the search
13659 string begins or ends in whitespace. The LAX arg is applied to
13660 both ends of the search string. Use `regexp-quote' and explicit
13661 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13662 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13663 boundaries are replaced with symbol boundaries, and characters
13664 between symbols match non-word non-symbol syntax. (Bug#14602)
13666 2013-06-13 Juri Linkov <juri@jurta.org>
13668 * isearch.el (isearch-del-char): Don't exceed the length of
13669 `isearch-string' by the prefix arg. (Bug#14563)
13671 2013-06-13 Juri Linkov <juri@jurta.org>
13673 * isearch.el (isearch-yank-word, isearch-yank-line)
13674 (isearch-char-by-name, isearch-quote-char)
13675 (isearch-printing-char, isearch-process-search-char):
13676 Add optional count prefix arg. (Bug#14563)
13678 * international/isearch-x.el
13679 (isearch-process-search-multibyte-characters):
13680 Add optional count prefix arg.
13682 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13684 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13685 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13688 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13690 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13692 2013-06-13 Glenn Morris <rgm@gnu.org>
13694 * startup.el (tty-handle-args):
13695 Don't just discard "--" and anything after. (Bug#14608)
13697 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13699 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13701 Implement changes in Secret Service API. Make it backward compatible.
13702 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13703 (secrets-create-item): Use it. Prefix properties with interface.
13705 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13707 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13708 (term-emulate-terminal): Respect term-suppress-hard-newline.
13710 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13712 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13713 Only remove a `thumb-file' overlay. (Bug#14548)
13715 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13717 * mail/reporter.el (reporter-submit-bug-report):
13718 Handle missing package-name. (Bug#14600)
13720 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13722 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13723 (reftex-citation-prompt, reftex-default-bibliography)
13724 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13725 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13726 (reftex-bib-sort-author, reftex-bib-sort-year)
13727 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13728 (reftex-extract-bib-entries-from-thebibliography)
13729 (reftex-get-bibkey-default, reftex-get-bib-names)
13730 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13731 (reftex-format-bib-entry, reftex-parse-bibitem)
13732 (reftex-format-bibitem, reftex-do-citation)
13733 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13734 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13735 (reftex-insert-bib-matches, reftex-format-citation)
13736 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13737 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13738 existing comments into docstrings.
13740 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13742 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13744 2013-06-12 Andreas Schwab <schwab@suse.de>
13746 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13747 for auto-save files.
13749 2013-06-12 Glenn Morris <rgm@gnu.org>
13751 * ido.el (ido-delete-ignored-files): Remove.
13752 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13753 Go back to calling ido-ignore-item-p directly.
13755 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13757 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13759 * ido.el (ido-delete-ignored-files): New function,
13760 split from ido-make-file-list-1.
13761 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13762 (ido-make-file-list-1): Use ido-delete-ignored-files.
13764 2013-06-12 Leo Liu <sdl.web@gmail.com>
13766 * progmodes/octave.el (inferior-octave-startup)
13767 (inferior-octave-completion-table)
13768 (inferior-octave-track-window-width-change)
13769 (octave-eldoc-function-signatures, octave-help)
13770 (octave-find-definition): Use single quoted strings.
13771 (inferior-octave-startup-args): Change default value.
13772 (inferior-octave-startup): Do not hard code "-i" and
13773 "--no-line-editing".
13774 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13775 (inferior-octave-directory-tracker): Use it.
13776 (octave-goto-function-definition): Robustify.
13777 (octave-help): Support highlighting operators in 'See also'.
13778 (octave-find-definition): Find subfunctions only in Octave mode.
13780 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13782 * help-fns.el (help-fns--compiler-macro): If the handler function is
13783 named, then put a link to it.
13784 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13785 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13786 (cl-typep): Use it.
13787 (cl-eval-when): Simplify debug spec.
13788 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13789 compiler-macro function instead of setting `compiler-macro-file'.
13791 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13793 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13794 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13796 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13797 Daniel Hackney <dan@haxney.org>
13799 First part of Daniel Hackney's patch to package.el.
13800 * emacs-lisp/package.el: Use defstruct.
13801 (package-desc): New, main struct.
13802 (package--bi-desc, package--ac-desc): New structs, used to describe the
13803 format in external files.
13804 (package-desc-vers): Replace with package-desc-version accessor.
13805 (package-desc-doc): Replace with package-desc-summary accessor.
13806 (package-activate-1): Remove `package' arg since the pkg-vec now
13808 (define-package): Use package-desc-from-define.
13809 (package-unpack-single): Change file-name arg to be a symbol.
13810 (package--add-to-archive-contents): Use package-desc-create and new
13811 accessor functions to package--ac-desc.
13812 (package-buffer-info, package-tar-file-info): Return a package-desc.
13813 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13814 arg to be a package-desc.
13815 (package-install-file): Adjust accordingly. Use \' to match EOS.
13816 (package--from-builtin): New function.
13817 (describe-package-1, package-menu--generate): Use it.
13818 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13819 (package-generate-autoloads): Idem and return the name of the file.
13820 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13821 Change pkg-info arg to be a package-desc.
13822 Use package-make-ac-desc.
13823 (package-upload-file): Use \' to match EOS.
13824 * finder.el (finder-compile-keywords): Use package-make-builtin.
13826 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13828 * vc/vc.el (vc-deduce-fileset): Change error message.
13829 (vc-read-backend): New function.
13830 (vc-next-action): Use it.
13832 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13834 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13835 (prolog-font-lock-keywords): Use regexp-opt instead.
13836 Don't manually highlight strings.
13837 (prolog-mode-variables): Simplify comment-start-skip.
13838 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13840 * emacs-lisp/generic.el (generic--normalise-comments)
13841 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13842 (generic-mode-set-comments): Use them.
13843 (generic-bracket-support): Use setq-local.
13844 (generic-make-keywords-list): Declare obsolete.
13846 2013-06-11 Glenn Morris <rgm@gnu.org>
13848 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13849 Prettify after setting font-lock-defaults. (Bug#14574)
13851 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13853 * replace.el (query-replace, occur-read-regexp-defaults-function)
13855 * subr.el (declare-function, number-sequence, local-set-key)
13856 (substitute-key-definition, locate-user-emacs-file)
13857 (with-silent-modifications, split-string, eval-after-load):
13858 Fix typos, remove unneeded backslashes and reflow some docstrings.
13860 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13862 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13863 default for Elisp files.
13865 2013-06-11 Glenn Morris <rgm@gnu.org>
13867 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13868 although define-derived-mode was doing this anyway. (Bug#14583)
13870 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13872 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13873 Fix make-variable-buffer-local call to refer to the correct variable.
13875 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13877 * eshell/em-term.el (eshell-visual-commands)
13878 (eshell-visual-subcommands, eshell-visual-options):
13879 Add summary line to docstrings. Add cross-references.
13881 2013-06-10 Glenn Morris <rgm@gnu.org>
13883 * epa.el (epa-read-file-name): New function. (Bug#14510)
13884 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13886 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13888 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13889 output redirection to be ignored with visual commands.
13891 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13893 * eshell/em-term.el (eshell-visual-command-p): New function.
13894 (eshell-term-initialize): Move long lambda to separate function
13895 eshell-visual-command-p.
13896 * eshell/em-dirs.el (eshell-dirs-initialize):
13897 * eshell/em-script.el (eshell-script-initialize):
13898 Add missing #' to lambda.
13900 2013-06-08 Leo Liu <sdl.web@gmail.com>
13902 * progmodes/octave.el (octave-add-log-current-defun): New function.
13903 (octave-mode): Set add-log-current-defun-function.
13904 (octave-goto-function-definition): Do not move point if not found.
13905 (octave-find-definition): Enhance to try subfunctions first.
13907 2013-06-08 Glenn Morris <rgm@gnu.org>
13909 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13910 (byte-compile-backward-char, byte-compile-backward-word):
13911 Improve previous change, to handle non-explicit nil.
13913 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13915 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13916 (smie--opener/closer-at-point): New function.
13917 (smie--matching-block-data): Use it. Don't match from right after an
13918 opener or right before a closer. Obey smie-blink-matching-inners.
13919 Don't signal a mismatch for repeated inners like "switch..case..case".
13921 2013-06-07 Leo Liu <sdl.web@gmail.com>
13923 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13925 (octave-function-header-regexp): Fix. (Bug#14570)
13926 (octave-help-mode-finish-hook, octave-help-mode-finish):
13927 Remove. Just use temp-buffer-show-hook.
13929 * newcomment.el (comment-search-backward): Revert last change.
13932 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13934 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13936 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13937 through xargs, to avoid failure due to MS-Windows limitations on
13938 command-line length.
13940 2013-06-06 Glenn Morris <rgm@gnu.org>
13942 * font-lock.el (lisp-font-lock-keywords-2):
13943 Treat user-error like error.
13945 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13946 (byte-compile-backward-char, byte-compile-backward-word):
13947 Handle explicit nil arguments. (Bug#14565)
13949 2013-06-05 Alan Mackenzie <acm@muc.de>
13951 * isearch.el (isearch-allow-prefix): New user option.
13952 (isearch-other-meta-char): Don't exit isearch when a prefix
13953 argument is typed whilst `isearch-allow-prefix' is non-nil.
13956 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13958 * autorevert.el (auto-revert-notify-handler): Use memq.
13959 Hide assertion failure.
13961 * skeleton.el: Use cl-lib.
13962 (skeleton-further-elements): Use defvar-local.
13963 (skeleton-insert): Use cl-progv.
13965 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13967 * progmodes/prog-mode.el (prog-prettify-symbols)
13968 (prog-prettify-install): Update docstrings.
13970 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13972 * simple.el: Move all the prog-mode code to prog-mode.el.
13973 * progmodes/prog-mode.el: New file.
13974 * loadup.el: Add prog-mode.el.
13976 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13978 * simple.el (prog-prettify-symbols): Add version.
13979 (prog-prettify-install): Add convenience function to prettify symbols.
13981 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13982 (perl--augmented-font-lock-keywords-1)
13983 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13984 variables and use it.
13986 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13987 (cfengine3-mode): Remove unneeded variable and use it.
13989 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13990 (lisp--augmented-font-lock-keywords-1)
13991 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13992 Remove unneeded variables and use it.
13994 2013-06-05 João Távora <joaotavora@gmail.com>
13996 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13997 to point when opening the connection. (Bug#14380)
13999 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14001 * subr.el (load-history-regexp, load-history-filename-element)
14002 (eval-after-load, after-load-functions, do-after-load-evaluation)
14003 (eval-next-after-load, display-delayed-warnings)
14004 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14005 definition of save-match-data.
14006 (overriding-local-map): Remove accidental obsolescence declaration.
14008 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14010 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14012 Generalize symbol prettify support to prog-mode and implement it
14013 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14014 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14015 (prog--prettify-font-lock-compose-symbol)
14016 (prog-prettify-font-lock-symbols-keywords): New variables and
14017 functions to support symbol prettification.
14018 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14019 (lisp--augmented-font-lock-keywords-1)
14020 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14021 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14022 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14023 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14024 Implement prettify of -> => :: strings.
14025 * progmodes/perl-mode.el (perl-prettify-symbols)
14026 (perl--font-lock-compose-symbol)
14027 (perl--font-lock-symbols-keywords): Move to prog-mode.
14028 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14029 (perl-font-lock-keywords-1)
14030 (perl-font-lock-keywords-2): Remove explicit prettify support.
14031 (perl--augmented-font-lock-keywords)
14032 (perl--augmented-font-lock-keywords-1)
14033 (perl--augmented-font-lock-keywords-2, perl-mode):
14034 Implement prettify support.
14036 2013-06-05 Leo Liu <sdl.web@gmail.com>
14038 Re-implement SMIE matching block highlight using
14039 show-paren-data-function. (Bug#14395)
14040 * emacs-lisp/smie.el (smie-matching-block-highlight)
14041 (smie--highlight-matching-block-overlay)
14042 (smie--highlight-matching-block-lastpos)
14043 (smie-highlight-matching-block)
14044 (smie-highlight-matching-block-mode): Remove.
14045 (smie--matching-block-data-cache): New variable.
14046 (smie--matching-block-data): New function.
14047 (smie-setup): Use smie--matching-block-data for
14048 show-paren-data-function.
14050 * progmodes/octave.el (octave-mode-menu): Fix.
14051 (octave-find-definition): Skip garbage lines.
14053 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14055 Fix compilation error with simultaneous dynamic+lexical scoping.
14056 Add warning when a defvar appears after the first let-binding.
14057 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14058 (byte-compile-close-variables): Initialize it.
14059 (byte-compile--declare-var): New function.
14060 (byte-compile-file-form-defvar)
14061 (byte-compile-file-form-define-abbrev-table)
14062 (byte-compile-file-form-custom-declare-variable): Use it.
14063 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14064 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14065 (byte-compile-bind): Handle dynamic bindings that shadow
14067 (byte-compile-unbind): Make arg non-optional.
14068 (byte-compile-let): Simplify.
14069 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14070 (cconv--analyse-function, cconv-analyse-form): Populate it.
14071 Protect byte-compile-bound-variables to limit the scope of defvars.
14072 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14073 Remove unneeded rule for `declare'.
14075 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14076 so as to avoid depending on cl-adjoin at run-time.
14077 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14079 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14080 (macroexp--warn-and-return): Use it.
14082 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14084 * subr.el: Convert to lexical binding.
14085 (overriding-local-map): Make obsolete.
14086 (add-to-list): Doc fix. Add compiler macro.
14087 (read-key): Swap values of local maps.
14089 2013-06-05 Leo Liu <sdl.web@gmail.com>
14091 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14093 2013-06-04 Leo Liu <sdl.web@gmail.com>
14095 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14096 (compilation-auto-jump): Suppress the "Mark set" message to give
14097 way to exit message.
14099 2013-06-04 Alan Mackenzie <acm@muc.de>
14101 Remove faulty optimisation from indentation calculation.
14102 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14103 search limit based on 2000 characters back from indent-point.
14105 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14107 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14109 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14111 * emacs-lisp/lisp.el: Use lexical-binding.
14112 (lisp--local-variables-1, lisp--local-variables): New functions.
14113 (lisp--local-variables-completion-table): New var.
14114 (lisp-completion-at-point): Use it complete let-bound vars.
14116 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14117 eagerly (bug#14422).
14119 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14121 * autorevert.el (auto-revert-notify-enabled)
14122 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14123 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14124 (auto-revert-notify-handler): Handle also gfilenotify.
14126 * subr.el (file-notify-handle-event): New defun. Replacing ...
14127 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14130 2013-06-03 Juri Linkov <juri@jurta.org>
14132 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14133 `M-s h .'. (Bug#14427)
14135 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14136 command `hi-lock-face-symbol-at-point'.
14137 (hi-lock-face-symbol-at-point): New command.
14138 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14139 (hi-lock-menu): Add `highlight-symbol-at-point'.
14140 (hi-lock-mode): Doc fix.
14142 * isearch.el (isearch-forward-symbol-at-point): New command.
14143 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14144 (isearch-highlight-regexp): Add a regexp which matches
14145 words/symbols for word/symbol mode.
14147 * subr.el (find-tag-default-bounds): New function with the body
14148 mostly moved from `find-tag-default'.
14149 (find-tag-default): Move most code to `find-tag-default-bounds',
14150 call it and apply `buffer-substring-no-properties' afterwards.
14152 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14154 * eshell/em-term.el (eshell-term-initialize):
14155 Use `cl-intersection' rather than `intersection'.
14157 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14159 * vc/log-view.el: Doc fix.
14160 (log-view-mode-map): Copy keymap from `special-mode-map'.
14162 2013-06-02 Eric Ludlam <zappo@gnu.org>
14164 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14165 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14166 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14167 (eieio-unbound, eieio-default-superclass)
14168 (eieio--define-field-accessors, method-static, method-before)
14169 (method-primary, method-after, method-num-lists)
14170 (method-generic-before, method-generic-primary)
14171 (method-generic-after, method-num-slots)
14172 (eieio-specialized-key-to-generic-key)
14173 (eieio--check-type, class-v, class-p)
14174 (eieio-class-name, define-obsolete-function-alias)
14175 (eieio-class-parents-fast, eieio-class-children-fast)
14176 (same-class-fast-p, class-constructor, generic-p)
14177 (generic-primary-only-p, generic-primary-only-one-p)
14178 (class-option-assoc, class-option, eieio-object-p)
14179 (class-abstract-p, class-method-invocation-order)
14180 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14181 (eieio-class-un-autoload, eieio-defclass)
14182 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14183 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14184 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14185 (eieio-defgeneric-reset-generic-form)
14186 (eieio-defgeneric-form-primary-only)
14187 (eieio-defgeneric-reset-generic-form-primary-only)
14188 (eieio-defgeneric-form-primary-only-one)
14189 (eieio-defgeneric-reset-generic-form-primary-only-one)
14190 (eieio-unbind-method-implementations)
14191 (eieio--defmethod, eieio--typep)
14192 (eieio-perform-slot-validation, eieio-validate-slot-value)
14193 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14194 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14195 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14196 (eieio-slot-name-index, eieio-class-slot-name-index)
14197 (eieio-set-defaults, eieio-initarg-to-attribute)
14198 (eieio-attribute-to-initarg, eieio-c3-candidate)
14199 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14200 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14201 (eieio-class-precedence-list, eieio-generic-call-methodname)
14202 (eieio-generic-call-arglst, eieio-generic-call-key)
14203 (eieio-generic-call-next-method-list)
14204 (eieio-pre-method-execution-functions, eieio-generic-call)
14205 (eieio-generic-call-primary-only, eieiomt-method-list)
14206 (eieiomt-optimizing-obarray, eieiomt-install)
14207 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14208 (eieio-generic-form, eieio-defmethod, make-obsolete)
14209 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14210 (defclass): Remove `eval-and-compile' from macro.
14211 (call-next-method, shared-initialize): Instead of using
14212 `scoped-class' variable, use new eieio--scoped-class, and
14213 eieio--with-scoped-class.
14214 (initialize-instance): Rename local variable 'scoped-class' to
14215 'this-class' to remove ambiguitity from old global.
14217 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14219 (eieio--scoped-class-stack): New variable.
14220 (eieio--scoped-class): New fcn.
14221 (eieio--with-scoped-class): New scoping macro.
14222 (eieio-defclass): Use pushnew instead of add-to-list.
14223 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14224 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14225 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14226 `scoped-class' variable, use new eieio--scoped-class, and
14227 eieio--with-scoped-class.
14229 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14231 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14233 * eshell/esh-ext.el (eshell-external-command): Pass args to
14234 `eshell-find-interpreter'.
14235 (eshell-find-interpreter): Add new second parameter ARGS.
14237 * eshell/em-script.el (eshell-script-initialize): Add second arg
14238 to the function added as MATCH to `eshell-interpreter-alist'.
14240 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14241 the function added as MATCH to `eshell-interpreter-alist'.
14243 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14244 (eshell-visual-options): New defcustom.
14245 (eshell-escape-control-x): Adapt docstring.
14246 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14247 `eshell-visual-options' in addition to `eshell-visual-commands'.
14248 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14250 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14252 * progmodes/python.el (python-indent-block-enders): Add break,
14253 continue and raise keywords.
14255 2013-06-01 Glenn Morris <rgm@gnu.org>
14257 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14259 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14260 * progmodes/cc-cmds.el (delete-forward-p):
14261 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14262 * progmodes/cc-engine.el (buffer-syntactic-context):
14263 * progmodes/cc-fonts.el (face-property-instance):
14264 * progmodes/cc-mode.el (set-keymap-parents):
14265 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14266 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14267 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14268 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14269 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14271 * progmodes/cc-vars.el (other): Emacs has this widget since
14272 at least 21.1, so don't (re)define it.
14274 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14275 Replace the obsolete alias pcomplete-arg-quote-list.
14277 2013-06-01 Leo Liu <sdl.web@gmail.com>
14279 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14280 punctuation syntax.
14281 (inferior-octave-minimal-columns)
14282 (inferior-octave-last-column-width): New variables.
14283 (inferior-octave-track-window-width-change): New function.
14284 (inferior-octave-mode): Adjust column width so that Octave output,
14285 for example from 'ls', can fit into the window nicely.
14287 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14289 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14290 Highlight expansions inside regexp literals.
14292 2013-05-31 Glenn Morris <rgm@gnu.org>
14294 * obsolete/sym-comp.el (symbol-complete):
14295 Replace obsolete completion-annotate-function.
14297 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14299 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14301 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14302 New function, checks if point is inside a literal that allows
14303 expression expansion.
14304 (ruby-syntax-propertize-expansion): Use it.
14305 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14308 2013-05-30 Juri Linkov <juri@jurta.org>
14310 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14312 (isearch-invisible): New variable.
14313 (isearch-forward): Doc fix.
14314 (isearch-mode): Set `isearch-invisible'
14315 to the value of `search-invisible'.
14316 (isearch-toggle-case-fold): Doc fix.
14317 (isearch-toggle-invisible): New command.
14318 (isearch-query-replace): Let-bind `search-invisible'
14319 to the value of `isearch-invisible'.
14320 (isearch-search): Use `isearch-invisible' instead of
14321 `search-invisible'. Let-bind `search-invisible'
14322 to the value of `isearch-invisible'. (Bug#11378)
14324 2013-05-30 Juri Linkov <juri@jurta.org>
14326 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14327 call when `query-flag' is nil and `search-invisible' is non-nil.
14330 2013-05-30 Glenn Morris <rgm@gnu.org>
14332 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14334 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14335 (cc-require): Suppress spurious "noruntime" warnings.
14336 (cc-require-when-compile): Use fboundp, for sake of compiler.
14338 * progmodes/cc-mode.el: Move load of cc-vars before that of
14339 cc-langs (which in turn loads cc-vars), to quieten compiler.
14341 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14343 * paren.el: Simplify the code.
14344 (show-paren-mode): Always start the timer.
14345 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14346 (show-paren--overlay, show-paren--overlay-1): Rename from
14347 show-paren-overlay and show-paren-overlay-1, and initialize to an
14348 overlay rather than to nil.
14349 (show-paren-function): Misc cleanup and simplifications.
14351 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14353 * paren.el (show-paren-data-function): New hook.
14354 (show-paren--default): New function, extracted from show-paren-function.
14355 (show-paren-function): Use show-paren-data-function.
14357 2013-05-30 Glenn Morris <rgm@gnu.org>
14359 * ielm.el (ielm-map, ielm-complete-symbol):
14360 Use completion-at-point rather than obsolete functions.
14361 (inferior-emacs-lisp-mode): Doc fix.
14362 Set completion-at-point-functions, rather than
14363 comint-dynamic-complete-functions.
14365 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14366 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14367 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14369 * image.el (image-animated-p): Tweak definition.
14371 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14372 (rlogin-process-connection-type): Tweak default. Add set-after.
14373 (rlogin-host): Doc fix.
14374 (rlogin): Tweak prompt.
14375 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14377 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14378 * progmodes/tcl.el (inferior-tcl-mode-map):
14379 Use completion-at-point rather than obsolete alias.
14381 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14383 * minibuffer.el (read-file-name-completion-ignore-case):
14384 Move before completion--in-region, for eager macro expansion.
14386 2013-05-29 Juri Linkov <juri@jurta.org>
14388 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14389 for total count of matching lines. Add `global-matches' for total
14390 count of matches. Rename `matches' to `lines' for count of
14391 matching lines. Add `matches' for count of matches.
14392 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14393 to `prev-line' for line number of prev match endpt.
14394 Increment `matches' for every match. Print the number of
14395 matching lines in the header.
14396 (occur-context-lines): Rename `lines' to `curr-line'.
14397 Rename `prev-lines' to `prev-line'. (Bug#14017)
14399 2013-05-29 Juri Linkov <juri@jurta.org>
14401 * replace.el (perform-replace): Add `skip-read-only-count',
14402 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14403 Increment them for corresponding conditions and report the number
14404 of skipped occurrences in the final message. (Bug#11746)
14405 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14406 (replace-string, replace-regexp): Doc fix.
14408 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14410 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14412 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14413 prog-mode-map (bug#14504).
14415 2013-05-29 Leo Liu <sdl.web@gmail.com>
14417 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14418 (octave-help): Small simplification.
14420 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14421 off the highlight first.
14423 2013-05-29 Glenn Morris <rgm@gnu.org>
14425 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14426 Handle idlwave-last-system-routine-info-cons-cell being nil.
14428 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14429 (idlwave-write-paths): Simplify via with-temp-buffer.
14431 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14432 * emulation/cua-rect.el: Also load cua-base at run time.
14434 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14435 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14436 (cperl-imenu-on-info): Require imenu.
14438 2013-05-28 Alan Mackenzie <acm@muc.de>
14440 Handle "capitalised keywords" correctly.
14441 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14443 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14445 * eshell/em-unix.el: Add -r option to cp.
14447 2013-05-28 Glenn Morris <rgm@gnu.org>
14449 * vc/vc-arch.el (vc-exec-after): Declare.
14450 (vc-switches): Autoload.
14451 * vc/vc-bzr.el: No need to require vc when compiling.
14452 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14453 (vc-resynch-buffer, vc-dir-refresh): Declare.
14454 (vc-setup-buffer, vc-switches): Autoload.
14455 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14456 (vc-resynch-buffer): Declare.
14457 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14458 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14459 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14460 (grep-read-regexp, grep-read-files, grep-expand-template)
14461 (vc-dir-refresh): Declare.
14462 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14463 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14464 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14465 * vc/vc-mtn.el (vc-exec-after): Declare.
14466 (vc-switches): Autoload.
14467 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14468 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14469 (vc-file-tree-walk): Declare.
14470 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14471 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14472 (vc-tag-precondition, vc-rename-master): Autoload.
14473 * vc/vc-svn.el (vc-exec-after): Declare.
14474 (vc-switches, vc-setup-buffer): Autoload.
14475 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14477 (vc-resynch-buffer): Declare.
14479 * obsolete/fast-lock.el (byte-compile-warnings):
14480 Don't warn about obsolete features in this obsolete file.
14482 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14483 Move definition before use.
14485 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14486 (dun-unix-verbs): Remove dun-zippy.
14487 (dun-zippy): Remove function.
14489 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14491 2013-05-27 Juri Linkov <juri@jurta.org>
14493 * replace.el (replace-search): New function with code moved out
14494 from `perform-replace'.
14495 (replace-highlight, replace-dehighlight): Move function definitions
14496 up closer to `replace-search'. (Bug#11746)
14498 2013-05-27 Juri Linkov <juri@jurta.org>
14500 * replace.el (perform-replace): Ignore invisible matches.
14501 In addition to checking `query-replace-skip-read-only', also
14502 filter out matches by calling `run-hook-with-args-until-failure'
14503 on `isearch-filter-predicates', and also check `search-invisible'
14504 for t or call `isearch-range-invisible'.
14505 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14507 2013-05-27 Juri Linkov <juri@jurta.org>
14509 * isearch.el (isearch-filter-predicates): Rename from
14510 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14511 (isearch-message-prefix): Display text from the property
14512 `isearch-message-prefix' of the currently active filters.
14513 (isearch-search): Don't compare `isearch-filter-predicate' with
14514 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14515 on `isearch-filter-predicates'. Also check `search-invisible' for t
14516 or call `isearch-range-invisible'.
14517 (isearch-filter-visible): Make obsolete.
14518 (isearch-lazy-highlight-search):
14519 Call `run-hook-with-args-until-failure' on
14520 `isearch-filter-predicates' and use `isearch-range-invisible'.
14522 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14523 `isearch-filter-predicates' instead of `funcall'ing
14524 `isearch-filter-predicate'.
14525 (Info-mode): Set `Info-isearch-filter' to
14526 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14528 * dired-aux.el (dired-isearch-filter-predicate-orig):
14530 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14531 (dired-isearch-filenames-end): Add and remove
14532 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14533 instead of changing the value of `isearch-filter-predicate'.
14534 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14535 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14536 Put property `isearch-message-prefix' to "filename " on
14537 `dired-isearch-filter-filenames'.
14539 * wdired.el (wdired-change-to-wdired-mode):
14540 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14541 locally instead of changing `isearch-filter-predicate'.
14542 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14544 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14546 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14547 return the commit hash (Bug#14459). Also set the
14548 `vc-git-detached' property.
14549 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14550 (vc-git-mode-line-string): Use the same help-echo format whether
14551 in detached mode or not, because we know the actual revision now.
14552 When in detached mode, shorten the revision to 7 chars.
14554 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14556 * emacs-lisp/easy-mmode.el (define-minor-mode):
14557 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14558 mode hook and provide a docstring.
14560 2013-05-27 Alan Mackenzie <acm@muc.de>
14562 Remove spurious syntax-table text properties inserted by C-y.
14563 * progmodes/cc-mode.el (c-after-change): Also clear hard
14564 syntax-table property with value nil.
14566 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14568 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14569 when reading the events; the buffer layout shall not be changed.
14571 2013-05-27 Leo Liu <sdl.web@gmail.com>
14573 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14575 (inferior-octave-directory-tracker): Automatically re-sync
14577 (octave-help): Improve handling of 'See also'.
14579 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14581 * doc-view.el: Minor naming convention tweaks.
14582 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14584 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14585 even if there's no `display' property yet (bug#14435).
14587 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14589 * subr.el (unmsys--file-name): Rename from reveal-filename.
14591 * Makefile.in (custom-deps, finder-data, autoloads)
14592 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14593 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14594 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14596 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14598 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14599 error-completion on the first 2 args of condition-case (bug#14446).
14602 2013-05-25 Leo Liu <sdl.web@gmail.com>
14604 * comint.el (comint-previous-matching-input): Do not flood the
14605 *Messages* buffer with trivial messages.
14607 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14609 * progmodes/flymake.el (flymake-nop): Don't return a string.
14610 (flymake-set-at): Fix typo.
14612 * simple.el (read--expression): New function, extracted from
14613 eval-expression. Set completion-at-point-functions (bug#14465).
14614 (eval-expression, eval-minibuffer): Use it.
14616 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14618 * progmodes/flymake.el (flymake-save-buffer-in-file)
14619 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14620 (flymake-selected-frame, flymake-log, flymake-ins-after)
14621 (flymake-set-at, flymake-get-buildfile-from-cache)
14622 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14623 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14624 Refine the doc string.
14625 (flymake-get-file-name-mode-and-masks): Reformat.
14626 (flymake-get-real-file-name-function): Fix a minor bug.
14628 2013-05-24 Juri Linkov <juri@jurta.org>
14630 * progmodes/grep.el (grep-mode-font-lock-keywords):
14631 Support =linenumber= format used by git-grep for lines with
14632 function names. (Bug#13549)
14634 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14636 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14637 0 after a semi-colon; it works better for smie-auto-fill.
14638 (octave--indent-new-comment-line): New function.
14639 (octave-indent-new-comment-line): Use it (indirectly).
14640 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14641 modify comment-line-break-function.
14643 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14644 (smie-setup): Use add-function to set it.
14646 2013-05-24 Sam Steingold <sds@gnu.org>
14648 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14649 argument (before the `interactive' argument).
14651 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14653 * image-mode.el (image-mode-winprops): Add winprops to
14654 image-mode-winprops-alist before running
14655 image-mode-new-window-functions.
14656 * doc-view.el (doc-view-new-window-function): Don't delay
14657 doc-view-goto-page via timers (bug#14435).
14659 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14661 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14662 (doc-view-desktop-save-buffer): New function.
14663 (doc-view-restore-desktop-buffer): New function.
14664 (desktop-buffer-mode-handlers):
14665 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14667 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14668 `desktop-save-buffer' function.
14670 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14672 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14673 (tramp-gvfs-file-name-handler): Raise a user error when
14674 `tramp-gvfs-enabled' is nil.
14675 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14676 Do not raise a user error when loading package. (Bug#14447)
14678 * net/xesam.el: Move to obsolete/.
14680 2013-05-24 Glenn Morris <rgm@gnu.org>
14682 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14684 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14686 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14687 (Info-find-node, Man-getpage-in-background): Declare.
14689 * mail/unrmail.el (unrmail):
14690 Replace obsolete detect-coding-with-priority.
14692 * net/socks.el (socks-split-string): Use this rather than split-string.
14693 (socks-nslookup-host): Update for above change.
14694 (dynamic-choice, s5-dynamic-choice-match)
14695 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14696 Comment out unused code.
14698 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14699 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14700 (gud-tooltip-echo-area): Make obsolete.
14701 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14703 * progmodes/js.el (js--optimize-arglist): Declare.
14705 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14707 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14708 (ediff-window-C): Declare.
14710 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14711 Tweak requires to silence compiler.
14713 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14714 (he-search-string, he-tried-table, he-expand-list)
14715 (he-init-string, he-string-member, he-substitute-string)
14716 (he-reset-string): Declare.
14718 * obsolete/options.el (list-options): Use custom-variable-p,
14719 rather than obsolete alias.
14721 2013-05-23 Sam Steingold <sds@gnu.org>
14723 * simple.el (shell-command-on-region): Pass the `replace' argument
14724 down to `call-process-region' to comply with the doc as reported on
14725 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14727 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14729 * emacs-lisp/smie.el (smie-indent-forward-token)
14730 (smie-indent-backward-token): Handle string tokens (bug#14381).
14732 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14734 * ielm.el (ielm-menu): New menu.
14735 (inferior-emacs-lisp-mode): Set comment-start.
14737 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14739 * textmodes/reftex.el (reftex-ref-style-toggle):
14740 Fix deactivate action.
14742 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14743 Add cleveref macros.
14745 * textmodes/reftex-parse.el
14746 (reftex-locate-bibliography-files): Accept options for
14747 bibliography commands.
14748 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14749 Add addbibresource. Basic Biblatex support.
14751 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14753 * net/tramp-gvfs.el (top):
14754 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14755 when loading package. (Bug#14447)
14757 2013-05-23 Glenn Morris <rgm@gnu.org>
14759 * progmodes/js.el: No need to load comint when compiling.
14760 (ring-insert, comint-send-string, comint-send-input)
14761 (comint-last-input-end, ido-chop): Declare.
14763 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14764 * vc/ediff-mult.el: Adjust requires.
14765 (ediff-directories-internal, ediff-directory-revisions-internal)
14766 (ediff-patch-file-internal): Declare.
14767 * vc/ediff-ptch.el: Adjust requires.
14768 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14769 (ediff-find-file): Autoload.
14770 * vc/ediff-util.el: No need to load ediff when compiling.
14771 (ediff-regions-internal): Declare.
14772 * vc/ediff-wind.el: Adjust requires.
14773 (ediff-compute-toolbar-width): Define when compiling.
14774 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14775 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14776 (dired-get-filename, dired-get-marked-files)
14777 (ediff-last-dir-patch, ediff-patch-default-directory)
14778 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14779 (ediff-patch-buffer-internal): Declare.
14781 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14782 (ispell-process, ispell-buffer-local-words, lm-summary)
14783 (lm-section-start, lm-section-end): Declare.
14784 (checkdoc-ispell-init): Simplify.
14786 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14787 (he-string-member, he-reset-string, he-substitute-string): Declare.
14789 * eshell/em-ls.el: Adjust requires.
14790 (eshell-glob-regexp): Declare.
14791 * eshell/em-tramp.el: Adjust requires.
14792 (eshell-parse-command): Autoload.
14793 * eshell/em-xtra.el: Adjust requires.
14794 (eshell-parse-command): Autoload.
14795 * eshell/esh-ext.el: Adjust requires.
14796 (eshell-parse-command, eshell-close-handles): Autoload.
14797 * eshell/esh-io.el: Adjust requires.
14798 (eshell-output-filter): Autoload.
14799 * eshell/esh-util.el: No need to load tramp when compiling.
14800 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14802 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14803 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14804 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14805 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14806 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14807 * eshell/esh-opt.el, eshell/esh-proc.el:
14808 * eshell/esh-var.el: Adjust requires.
14809 * eshell/eshell.el: Do not require esh-util twice.
14810 (eshell-add-input-to-history): Declare.
14811 (eshell-command): Check history module is active before using it.
14813 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14815 2013-05-22 Leo Liu <sdl.web@gmail.com>
14817 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14819 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14821 * autorevert.el (auto-revert-notify-add-watch)
14822 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14823 it indicates changes in file modification time.
14825 2013-05-22 Glenn Morris <rgm@gnu.org>
14827 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14828 Always delete the autoloaded function from the noruntime and
14829 unresolved functions lists.
14831 * allout.el: No need to load epa, epg, overlay when compiling.
14832 (epg-context-set-passphrase-callback, epg-list-keys)
14833 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14834 (epg-key-user-id-list): Declare.
14836 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14837 (viper-set-parsing-style-toggling-macro)
14838 (viper-set-emacs-state-searchstyle-macros):
14839 Use called-interactively-p on Emacs.
14840 (viper-looking-back): Make it an obsolete alias. Update callers.
14841 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14842 Use looking-back rather than viper-looking-back.
14843 (viper-tmp-insert-at-eob, viper-enlarge-region)
14844 (viper-read-string-with-history, viper-register-to-point)
14845 (viper-append-to-register, viper-change-state-to-vi)
14846 (viper-backward-char-carefully, viper-forward-char-carefully)
14847 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14848 (viper-change-state-to-emacs): Declare.
14849 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14850 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14851 * emulation/viper-mous.el: Do not load viper-cmd.
14852 (viper-backward-char-carefully, viper-forward-char-carefully)
14853 (viper-forward-word, viper-adjust-window): Declare.
14855 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14857 * progmodes/idlw-help.el (idlwave-help-fontify):
14858 Use called-interactively-p.
14860 * term/w32console.el (w32-get-console-codepage)
14861 (w32-get-console-output-codepage): Declare.
14863 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14864 Remove unnecessary declarations.
14865 (dframe-message): Doc fix.
14867 * info.el (dframe-select-attached-frame, dframe-current-frame):
14870 * speedbar.el (speedbar-message): Make it an obsolete alias.
14871 Update all callers.
14872 (speedbar-with-attached-buffer)
14873 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14874 (speedbar-with-writable): Use backquote.
14875 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14876 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14877 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14878 rather than speedbar- aliases.
14879 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14880 (speedbar-make-specialized-keymap, speedbar-insert-button)
14881 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14882 (speedbar-do-function-pointer): Declare.
14883 (rmail-speedbar-button, rmail-speedbar-find-file)
14884 (rmail-speedbar-move-message):
14885 Use dframe-with-attached-buffer rather than speedbar- alias.
14886 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14887 (dframe-message, speedbar-make-specialized-keymap)
14888 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14889 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14890 (speedbar-insert-button, dframe-select-attached-frame)
14891 (dframe-maybee-jump-to-attached-frame)
14892 (speedbar-change-initial-expansion-list)
14893 (speedbar-previously-used-expansion-list-name): Declare.
14894 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14895 Use dframe-message, dframe-with-attached-buffer rather than
14897 (gud-sentinel): Silence compiler.
14898 * progmodes/vhdl-mode.el (speedbar-refresh)
14899 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14900 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14901 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14902 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14903 (speedbar-file-lists, speedbar-make-tag-line)
14904 (speedbar-line-directory, speedbar-goto-this-file)
14905 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14906 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14907 (speedbar-make-button, speedbar-reset-scanners)
14908 (speedbar-files-item-info, speedbar-line-text)
14909 (speedbar-find-file-in-frame, speedbar-set-timer)
14910 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14911 (speedbar-with-writable): Do not (re)define it.
14912 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14913 rather than speedbar- alias.
14915 2013-05-21 Leo Liu <sdl.web@gmail.com>
14917 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14919 (octave-mode): Tweak fill-nobreak-predicate.
14920 (inferior-octave-startup): Check process to avoid infinite loop.
14921 (inferior-octave): Pop to buffer first to show abornmal process
14924 2013-05-21 Glenn Morris <rgm@gnu.org>
14926 * printing.el (pr-menu-bar): Define when compiling.
14928 2013-05-21 Leo Liu <sdl.web@gmail.com>
14930 * progmodes/octave.el (octave-auto-fill): Remove.
14931 (octave-indent-new-comment-line): Improve.
14932 (octave-mode): Use auto fill mode through
14933 comment-line-break-function and fill-nobreak-predicate.
14934 (octave-goto-function-definition): Support DEFUN_DLD.
14935 (octave-beginning-of-defun): Small tweak.
14936 (octave-help): Show parent directory.
14938 2013-05-21 Glenn Morris <rgm@gnu.org>
14940 * files.el (dired-unmark):
14941 * progmodes/gud.el (gdb-input): Update declarations.
14943 * calculator.el (electric, ehelp): No need to load when compiling.
14944 (Electric-command-loop, electric-describe-mode): Declare.
14946 * doc-view.el (doc-view-current-converter-processes): Move before use.
14948 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14949 Move MODE-set-explicitly definition before use.
14951 * international/mule-diag.el (mule-diag):
14952 Don't use obsolete window-system-version.
14954 * mail/feedmail.el (smtpmail): No need to load when compiling.
14955 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14957 * mail/mail-utils.el (rfc822): No need to load when compiling.
14958 (rfc822-addresses): Autoload it.
14959 (mail-strip-quoted-names): Trivial simplification.
14961 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14962 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14964 * net/snmp-mode.el (tempo): Don't duplicate requires.
14966 * progmodes/prolog.el (info): No need to load when compiling.
14967 (comint): Require before shell requires it.
14968 (Info-goto-node): Autoload it.
14969 (Info-follow-nearest-node): Declare.
14970 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14972 * textmodes/artist.el (picture-mode-exit): Declare.
14974 * textmodes/reftex-parse.el (reftex-parse-from-file):
14975 Trivial rewrite so the compiler can parse it better.
14977 2013-05-20 Leo Liu <sdl.web@gmail.com>
14979 * progmodes/octave.el (octave-help-mode-map)
14980 (octave-help-mode-finish-hook): New variables.
14981 (octave-help-mode, octave-help-mode-finish): New functions.
14982 (octave-help): Use octave-help-mode.
14984 2013-05-20 Glenn Morris <rgm@gnu.org>
14986 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14988 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14990 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14991 start at point, so that expansion starting right after opening
14992 slash in a regexp is recognized.
14993 (ruby-syntax-before-regexp-re): New defvar, extracted from
14994 ruby-syntax-propertize-function. Since the value of this regexp
14995 is looked up at runtime now, we should be able to turn
14996 `ruby-syntax-methods-before-regexp' into a defcustom later.
14997 (ruby-syntax-propertize-function): Split regexp matching into two
14998 parts, for opening and closing slashes. That allows us to skip
14999 over string interpolations and support multiline regexps.
15000 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15001 for them, which calls `ruby-syntax-propertize-expansion'.
15002 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15003 call to `ruby-syntax-propertize-function'.
15004 (ruby-syntax-propertize-expansion): Extracted from
15005 `ruby-syntax-propertize-expansions'. Handles one expansion.
15006 (ruby-syntax-propertize-percent-literal): Leave point right after
15007 the percent symbol, so that the expression expansion rule can
15008 propertize the contents.
15009 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15011 (ruby-syntax-propertize-expansions): Remove.
15013 2013-05-18 Juri Linkov <juri@jurta.org>
15015 * man.el (Man-default-man-entry): Remove `-' from the end
15016 of the default value. (Bug#14400)
15018 2013-05-18 Glenn Morris <rgm@gnu.org>
15020 * comint.el (comint-password-prompt-regexp):
15021 Allow "password for XXX" where XXX contains colons (eg https://...).
15023 2013-05-18 Leo Liu <sdl.web@gmail.com>
15025 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15026 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15027 (octave-source-directories): Don't check process.
15028 (octave-source-directories, octave-find-definition): Doc fix.
15030 2013-05-18 Glenn Morris <rgm@gnu.org>
15032 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15033 Remove backspace/delete bindings. (Bug#14392)
15035 * cus-dep.el (custom-make-dependencies): Sort the output.
15036 (custom-versions-load-alist): Convert comment to doc.
15038 2013-05-17 Leo Liu <sdl.web@gmail.com>
15040 * newcomment.el (comment-search-backward): Stricter in finding
15041 comment start. (Bug#14303)
15043 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15044 (octave-comment-start-skip): Properly anchored.
15046 2013-05-17 Leo Liu <sdl.web@gmail.com>
15048 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15049 Clean up when turned off. (Bug#14395)
15050 (smie--highlight-matching-block-overlay): No longer buffer-local.
15051 (smie-highlight-matching-block): Adjust.
15053 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15055 Doc string fix for "nanoseconds" (Bug#14406).
15056 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15057 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15059 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15061 * calc/calc-units.el (math-extract-units): Preserve powers
15064 2013-05-17 Leo Liu <sdl.web@gmail.com>
15066 * subr.el (delete-consecutive-dups): New function.
15067 * ido.el (ido-set-matches-1): Use it.
15068 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15069 * ido.el (ido-remove-consecutive-dups): Remove.
15071 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15073 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15074 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15075 regexp-opt's `words'.
15077 2013-05-16 Leo Liu <sdl.web@gmail.com>
15079 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15080 (smie--highlight-matching-block-overlay)
15081 (smie--highlight-matching-block-lastpos)
15082 (smie--highlight-matching-block-timer): New variables.
15083 (smie-highlight-matching-block): New function.
15084 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15085 (smie-setup): Conditionally enable smie-blink-matching-open.
15087 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15089 Sync with upstream verilog-mode r840.
15090 * progmodes/verilog-mode.el (verilog-mode-version)
15091 (verilog-mode-release-date): Update.
15092 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15093 (verilog-sig-tieoff): Fix string error on
15094 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15095 (verilog-read-decls): Fix parameters confusing
15096 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15098 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15100 * subr.el (reveal-filename): New function.
15102 * loadup.el: Compute Emacs executable versions on MS-Windows,
15103 where executables have the .exe extension. Add a hard link
15104 emacs-XX.YY.ZZ.exe on MS-Windows.
15106 * Makefile.in (XARGS_LIMIT): New variable.
15107 (custom-deps, finder-data, autoloads)
15108 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15109 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15110 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15111 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15113 2013-05-16 Leo Liu <sdl.web@gmail.com>
15115 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15116 (octave-mode-menu, octave-mode-map): Remove its uses.
15118 2013-05-16 Reto Zimmermann <reto@gnu.org>
15120 Sync with upstream vhdl mode v3.34.2.
15121 * progmodes/vhdl-mode.el: Use `push' throughout.
15122 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15123 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15124 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15125 (vhdl-actual-generic-name): New option to derive actual generic name.
15126 (vhdl-port-paste-signals): Replace formal by actual generics.
15127 (vhdl-beautify): New name for old group vhdl-align. Update users.
15128 (vhdl-beautify-options): New option.
15129 (vhdl-last-input-event): New compat alias. Use throughout.
15130 (vhdl-goto-line): Replace user level function `goto-line'.
15131 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15132 vhdl-fix-statement-buffer.
15133 (vhdl-create-mode-menu): Add some entries.
15134 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15135 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15136 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15137 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15138 to force statements on one line.
15139 (vhdl-remove-trailing-spaces-region):
15140 New, split from vhdl-remove-trailing-spaces.
15141 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15142 Respect vhdl-beautify-options.
15143 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15144 (vhdl-update-sensitivity-list): Not add with index if exists without.
15145 Not include array index with signal. Ignore keywords in comments.
15146 (vhdl-get-visible-signals): Regexp tweaks.
15147 (vhdl-template-component-inst): Handle empty library.
15148 (vhdl-template-type): Add template for 'enum' type.
15149 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15150 Use vhdl-replace-string.
15151 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15152 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15153 (vhdl-speedbar-initialize): Update for above name change.
15154 (vhdl-compose-wire-components): Fix in handling of constants.
15155 (vhdl-error-regexp-emacs-alist): New variable.
15156 (vhdl-error-regexp-add-emacs): New function;
15157 adds support for new compile.el (Emacs 22+)
15158 (vhdl-generate-makefile-1): Change target order for single lib. units.
15159 Allow use of absolute file names.
15161 2013-05-16 Leo Liu <sdl.web@gmail.com>
15163 * simple.el (prog-indent-sexp): Indent enclosing defun.
15165 2013-05-15 Glenn Morris <rgm@gnu.org>
15167 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15168 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15169 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15170 (whitespace-highlight): Move to whitespace group.
15172 * comint.el (comint-source):
15173 * pcmpl-linux.el (pcmpl-linux):
15174 * shell.el (shell-faces):
15175 * eshell/esh-opt.el (eshell-opt):
15176 * international/ccl.el (ccl): Remove empty custom groups.
15178 * completion.el (dynamic-completion-mode):
15179 * jit-lock.el (jit-lock-debug-mode):
15180 * minibuffer.el (completion-in-region-mode):
15181 * type-break.el (type-break-mode-line-message-mode)
15182 (type-break-query-mode):
15183 * emulation/tpu-edt.el (tpu-edt-mode):
15184 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15185 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15186 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15188 * term/xterm.el (xterm): Change parent group to terminals.
15190 * master.el (master): Remove empty custom group.
15191 (master-mode): Remove unused :group argument.
15192 * textmodes/refill.el (refill): Remove empty custom group.
15193 (refill-mode): Remove unused :group argument.
15195 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15197 * cus-dep.el: Provide a feature.
15198 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15199 Don't mistakenly ignore files whose basenames match a basename
15200 from preloaded-file-list (eg cedet/ede/simple.el).
15201 Add a fallback method for getting :group.
15203 2013-05-15 Juri Linkov <juri@jurta.org>
15205 * isearch.el (isearch-char-by-name): Rename from
15206 `isearch-insert-char-by-name'. Doc fix.
15207 (isearch-forward): Mention `isearch-char-by-name' in
15208 the docstring. (Bug#13348)
15210 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15211 `exit-minibuffer' instead of
15212 `isearch-nonincremental-exit-minibuffer'.
15213 (isearch-edit-string): Remove mention of
15214 `isearch-nonincremental-exit-minibuffer' from docstring.
15215 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15216 (isearch-forward-exit-minibuffer)
15217 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15219 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15221 * loadup.el: Just use unversioned DOC.
15223 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15224 literals as extending to EOB.
15225 (nxml-last-fontify-end): Remove unused variable.
15226 (nxml-after-change1): Use with-silent-modifications.
15227 (nxml-extend-after-change-region): Simplify.
15228 (nxml-extend-after-change-region1): Remove function.
15229 (nxml-after-change1): Don't adjust for dependent regions.
15230 (nxml-fontify-matcher): Simplify.
15231 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15232 (xmltok-add-dependent): Remove function.
15233 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15234 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15235 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15236 unclosed <[[, <?, comment, and other literals as extending to EOB.
15237 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15238 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15240 (rng-do-some-validation-1): Don't mark dependent regions.
15241 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15242 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15243 (nxml-clear-dependent-regions): Remove functions.
15244 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15245 (nxml-ensure-scan-up-to-date):
15246 Don't clear&mark dependent regions.
15248 2013-05-15 Leo Liu <sdl.web@gmail.com>
15250 * progmodes/octave.el (octave-goto-function-definition):
15251 Improve and fix callers.
15253 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15255 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15256 the setter (bug#14387).
15258 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15259 surrounding group (bug#14402).
15261 2013-05-14 Juri Linkov <juri@jurta.org>
15263 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15266 2013-05-14 Glenn Morris <rgm@gnu.org>
15268 * progmodes/f90.el (f90-imenu-generic-expression):
15269 Fix typo in 2013-05-08 change. (Bug#14402)
15271 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15273 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15274 Remove signals for which replies are never received.
15276 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15278 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15279 (gdb-handler-alist, gdb-handler-number): Remove variables.
15280 (gdb-handler-list): New variable.
15281 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15282 (gdb-pending-handler-p, gdb-handle-reply)
15283 (gdb-remove-all-pending-triggers): New functions.
15284 (gdb-discard-unordered-replies): New defcustom.
15285 (gdb-handler): New defstruct.
15286 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15287 instead of gdb-pending-triggers. Update docstring.
15288 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15289 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15290 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15291 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15292 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15293 (gdb-frame-handler): Pending triggers are now automatically managed.
15294 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15296 (gdb-input): Automatically handles pending triggers. Update docstring.
15297 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15298 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15300 (gdb-done-or-error): Now use gdb-handle-reply.
15302 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15304 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15307 2013-05-14 Glenn Morris <rgm@gnu.org>
15309 * subr.el (user-emacs-directory-warning): New option.
15310 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15312 2013-05-14 Leo Liu <sdl.web@gmail.com>
15314 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15316 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15317 (octave-font-lock-texinfo-comment): Fix invalid search bound
15318 error: wrong side of point.
15320 2013-05-14 Glenn Morris <rgm@gnu.org>
15322 * progmodes/flymake.el (flymake-xml-program): New option.
15323 (flymake-xml-init): Use it.
15325 * term/xterm.el: Provide a feature.
15327 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15329 2013-05-13 Glenn Morris <rgm@gnu.org>
15331 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15332 Add compat aliases as a hack workaround. (Bug#14384)
15334 2013-05-13 Leo Liu <sdl.web@gmail.com>
15336 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15338 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15340 (octave-comment-start-skip): Include %!.
15341 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15343 2013-05-12 Leo Liu <sdl.web@gmail.com>
15345 * progmodes/octave.el (inferior-octave-startup): Store the value
15346 of __octave_srcdir__ for octave-source-directories.
15347 (inferior-octave-check-process): New function refactored out of
15348 inferior-octave-send-list-and-digest.
15349 (octave-source-directories)
15350 (octave-find-definition-filename-function): New variables.
15351 (octave-source-directories)
15352 (octave-find-definition-default-filename): New functions.
15353 (octave-find-definition): Improve to find functions implemented in C++.
15355 2013-05-12 Glenn Morris <rgm@gnu.org>
15357 * calendar/diary-lib.el (diary-outlook-format-1):
15358 Don't include dayname in the output. (Bug#14349)
15360 2013-05-11 Glenn Morris <rgm@gnu.org>
15362 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15364 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15365 Treat cc-provide like provide.
15367 2013-05-11 Kevin Ryde <user42@zip.com.au>
15369 * cus-dep.el (custom-make-dependencies):
15370 Use generated-autoload-load-name for the sake of files such
15371 such cedet/semantic/bovine/c.el, where the base file name
15372 is not in load-path. (Bug#5277)
15374 2013-05-11 Glenn Morris <rgm@gnu.org>
15376 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15379 2013-05-11 Leo Liu <sdl.web@gmail.com>
15381 * progmodes/octave.el (octave-indent-comment): Improve.
15382 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15383 (octave-eldoc-function-signatures, octave-eldoc-function):
15385 (octave-mode, inferior-octave-mode): Add eldoc support.
15387 2013-05-11 Richard Stallman <rms@gnu.org>
15389 * epa.el (epa-decrypt-file): Take output file name as argument
15390 and read it using `interactive'.
15392 2013-05-11 Leo Liu <sdl.web@gmail.com>
15394 * progmodes/octave.el (octave-beginning-of-line)
15395 (octave-end-of-line): Check before using up-list because it jumps
15396 out of more syntactic contructs since moving to smie.
15397 (octave-indent-comment): New function.
15398 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15399 (octave-begin-keywords, octave-end-keywords)
15400 (octave-reserved-words, octave-smie-bnf-table)
15401 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15403 2013-05-11 Glenn Morris <rgm@gnu.org>
15405 * faces.el (internal-face-x-get-resource):
15406 * frame.el (ns-display-monitor-attributes-list):
15407 * calc/calc-aent.el (math-to-radians-2):
15408 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15411 * calc/calc-menu.el: Make it loadable in isolation.
15413 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15414 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15415 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15416 (eudc-bbdb-query-internal): Require 'bbdb.
15418 * lpr.el (lpr-headers-switches):
15419 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15421 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15423 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15425 * term.el (term-set-escape-char): Make it idempotent.
15427 2013-05-10 Leo Liu <sdl.web@gmail.com>
15429 * progmodes/octave.el (inferior-octave-completion-table):
15430 No longer a function and all uses changed. Use cache to speed up
15431 completion due to bug#11906.
15432 (octave-beginning-of-defun): Re-write to be more general.
15434 2013-05-10 Glenn Morris <rgm@gnu.org>
15436 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15438 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15440 * comint.el (comint-redirect-send-command-to-process): Use :around
15441 rather than :override for comint-redirect-filter.
15442 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15443 Call it instead of comint-redirect-original-filter-function (which
15444 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15446 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15448 * frame.el (display-monitor-attributes-list): Add NS case.
15449 (ns-display-monitor-attributes-list): Declare.
15451 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15453 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15455 2013-05-09 Glenn Morris <rgm@gnu.org>
15457 * international/fontset.el (vertical-centering-font-regexp):
15458 Set standard-value.
15460 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15462 * bookmark.el (bookmark-search-delay):
15463 * cus-start.el (vertical-centering-font-regexp):
15464 * ps-mule.el (ps-mule-font-info-database-default):
15465 * ps-print.el (ps-default-fg, ps-default-bg):
15466 * type-break.el (type-break-good-break-interval):
15467 * whitespace.el (whitespace-indentation-regexp)
15468 (whitespace-space-after-tab-regexp):
15469 * emacs-lisp/testcover.el (testcover-1value-functions)
15470 (testcover-noreturn-functions, testcover-progn-functions)
15471 (testcover-prog1-functions):
15472 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15473 * eshell/em-glob.el (eshell-glob-translate-alist):
15474 * play/tetris.el (tetris-tty-colors):
15475 * progmodes/cpp.el (cpp-face-default-list):
15476 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15477 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15478 (idlwave-help-browser-generic-args):
15479 * progmodes/make-mode.el (makefile-special-targets-list):
15480 * progmodes/python.el (python-shell-virtualenv-path):
15481 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15482 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15483 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15484 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15485 * textmodes/reftex-vars.el (reftex-format-label-function):
15486 * textmodes/remember.el (remember-diary-file): Fix custom types.
15488 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15491 2013-05-09 Leo Liu <sdl.web@gmail.com>
15493 * progmodes/octave.el (inferior-octave-completion-at-point):
15494 Restore file completion. (Bug#14300)
15495 (inferior-octave-startup): Fix incorrect highlighting for the
15498 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15500 * progmodes/ruby-mode.el: First cut at SMIE support.
15501 (ruby-use-smie): New var.
15502 (ruby-smie-grammar): New constant.
15503 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15504 (ruby-smie--forward-token, ruby-smie--backward-token)
15505 (ruby-smie-rules): New functions.
15506 (ruby-mode-variables): Setup SMIE if applicable.
15508 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15510 * simple.el (line-move-visual): Signal beginning/end of buffer
15511 only if vertical-motion moved less than it was requested. Avoids
15512 silly incorrect error messages when there are display strings with
15513 multiple newlines at EOL.
15515 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15517 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15518 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15519 (prolog-char-quote-workaround):
15520 * progmodes/cperl-mode.el (cperl-under-as-char):
15521 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15523 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15525 (vhdl-mode-syntax-table-init): Remove.
15527 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15530 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15532 (ld-script-font-lock-keywords):
15533 Change regexps to use things like \_< and \_>.
15535 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15536 Change all regexps to use things like \_< and \_>.
15538 * progmodes/autoconf.el (autoconf-definition-regexp)
15539 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15540 Handle a _ with symbol syntax.
15541 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15543 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15544 Consolidate declaration.
15545 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15547 (ada-create-syntax-table): Remove.
15548 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15549 already has the right syntax nowadays.
15550 (ada-goto-next-word): Don't change the syntax of "_".
15552 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15555 2013-05-08 Sam Steingold <sds@gnu.org>
15557 * thingatpt.el (thing-at-point): Accept optional second argument
15558 NO-PROPERTIES to strip the text properties from the return value.
15559 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15560 to `thing-at-point' instead of stripping the properties ourselves.
15561 Also, when `thing-at-point' fails to find a url, prepend "http://"
15562 to the filename at point on the assumption that the user is
15563 pointing at something like gnu.org/gnu.
15565 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15567 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15568 * faces.el (crm-separator):
15569 Silence byte-compiler.
15571 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15572 (tool-bar-map): Remove unneeded defvars.
15574 2013-05-08 Leo Liu <sdl.web@gmail.com>
15576 Re-work a fix for bug#10994 based on Le Wang's patch.
15577 * ido.el (ido-remove-consecutive-dups): New helper.
15578 (ido-completing-read): Use it.
15579 (ido-chop): Revert fix for bug#10994.
15581 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15583 * cus-edit.el (custom-save-variables):
15584 Pretty-print long values. (Bug#14187)
15586 2013-05-08 Glenn Morris <rgm@gnu.org>
15588 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15589 (m4-mode-syntax-table): Init in the defvar.
15590 (m4-mode-abbrev-table): Let define-derived-mode define it.
15592 2013-05-08 Tom Tromey <tromey@redhat.com>
15594 * progmodes/m4-mode.el (m4-mode-syntax-table):
15595 Do not treat "_" as word constituent. (Bug#14167)
15597 2013-05-07 Glenn Morris <rgm@gnu.org>
15599 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15600 Remove explicit eshell-isearch-cancel-map.
15602 * progmodes/f90.el (f90-smart-end-names): New option.
15603 (f90-smart-end): Doc fix.
15604 (f90-end-block-optional-name): New constant.
15605 (f90-block-match): Respect f90-smart-end-names.
15607 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15609 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15610 about implicit semi-colons (bug#14218).
15612 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15614 * frame.el (display-monitor-attributes-list)
15615 (frame-monitor-attributes): New functions.
15617 2013-05-06 Leo Liu <sdl.web@gmail.com>
15619 * progmodes/octave.el (octave-syntax-propertize-function): Change
15620 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15621 (octave-font-lock-keywords): Use octave-operator-regexp.
15622 (octave-completion-at-point): Rename from
15623 octave-completion-at-point-function.
15624 (inferior-octave-directory-tracker): Robustify.
15625 (octave-text-functions): Remove and fix its uses. No such things
15628 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15630 * emacs-lisp/trace.el (trace--display-buffer): New function.
15631 (trace-make-advice): Use it.
15633 2013-05-06 Juri Linkov <juri@jurta.org>
15635 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15636 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15638 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15639 in the help string. (Bug#12985)
15641 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15643 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15645 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15647 * progmodes/perl-mode.el: Add support for here documents.
15648 (perl-syntax-propertize-function): Match here-doc markers.
15649 (perl-syntax-propertize-special-constructs): Find their end.
15650 (perl-imenu-generic-expression): Use [:alnum:].
15652 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15653 (advice--add-function): Refresh the advice if already present
15656 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15658 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15660 2013-05-06 Glenn Morris <rgm@gnu.org>
15662 * w32-fns.el (w32-charset-info-alist): Declare.
15664 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15665 of its defcustom properties.
15666 (eshell-cmpl-initialize): No need to load pcomplete.
15668 * generic-x.el: No need to require comint when compiling.
15670 * net/eudc-export.el: Make it loadable without bbdb.
15671 (top-level): Use require rather than load-library.
15672 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15673 (eudc-batch-export-records-to-bbdb)
15674 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15677 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15679 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15680 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15681 some tweaks, instead.
15683 2013-05-05 Leo Liu <sdl.web@gmail.com>
15685 * progmodes/octave.el (octave-font-lock-keywords)
15686 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15687 (inferior-octave-send-list-and-digest): Improve error message.
15688 (octave-mode, inferior-octave-mode): Use setq-local.
15689 (octave-help): Set info-lookup-mode.
15691 2013-05-05 Richard Stallman <rms@gnu.org>
15693 * vc/compare-w.el (compare-windows-whitespace):
15694 Treat no-break space as whitespace.
15696 * mail/rmailsum.el (rmail-summary-rmail-update):
15697 Detect empty summary and don't change selected message.
15698 (rmail-summary-goto-msg): Likewise.
15700 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15701 Doc fixes, rename args.
15703 2013-05-05 Alan Mackenzie <acm@muc.de>
15705 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15707 2013-05-05 Juri Linkov <juri@jurta.org>
15709 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15710 to not add the length of the summary segment to the return value.
15713 2013-05-05 Leo Liu <sdl.web@gmail.com>
15715 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15716 (inferior-octave-output-filter): Remove.
15717 (octave-send-region, inferior-octave-startup): Fix callers.
15718 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15719 (octave-binary-file-extensions): New user variable.
15720 (octave-find-definition): Confirm if opening binary files.
15721 (octave-help-file): Use octave-find-definition to get the binary
15723 (octave-help): Adjust for octave-help-file change.
15725 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15727 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15728 Merge the two entries that handle function definitions.
15729 (pascal--syntax-propertize): New const.
15730 (pascal-mode): Use it. Use setq-local.
15732 2013-05-04 Glenn Morris <rgm@gnu.org>
15734 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15735 (diary-from-outlook): Respect diary-from-outlook-function.
15737 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15739 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15740 Move the declaration from C.
15741 (read-minibuffer, eval-minibuffer): Move from C.
15742 (completion-setup-function): Avoid minibuffer-completion-contents.
15744 2013-05-03 Leo Liu <sdl.web@gmail.com>
15746 * progmodes/octave.el (octave-font-lock-keywords): Do not
15747 dehighlight 'end' in comments or strings.
15748 (octave-completing-read, octave-goto-function-definition):
15750 (octave-help-buffer): New user variable.
15751 (octave-help-file, octave-help-function): New button types.
15752 (octave-help): New command and bind it to C-h ;.
15753 (octave-find-definition): New command and bind it to M-.
15754 (user-error): Alias to error if not defined.
15756 2013-05-02 Leo Liu <sdl.web@gmail.com>
15758 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15760 (octave-font-lock-keywords): Include [ and {.
15762 2013-05-02 Leo Liu <sdl.web@gmail.com>
15764 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15765 (inferior-octave): Remove calling comint-mode and return the buffer.
15766 (inferior-octave-startup): Cosmetic changes.
15768 2013-05-02 Leo Liu <sdl.web@gmail.com>
15770 * progmodes/octave.el (octave-syntax-propertize-function):
15771 Include the case when ' is at line beginning. (Bug#14336)
15773 2013-05-02 Glenn Morris <rgm@gnu.org>
15775 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15776 * desktop.el (vc-dir-mode): Just autoload it here.
15778 2013-05-02 Alan Mackenzie <acm@muc.de>
15780 Eliminate variable c-standard-font-lock-fontify-region-function.
15781 * progmodes/cc-mode.el
15782 (c-standard-font-lock-fontify-region-function): Remove.
15783 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15785 2013-05-01 Leo Liu <sdl.web@gmail.com>
15787 * progmodes/octave.el: Compatible with older emacs-24 releases.
15788 (inferior-octave-has-built-in-variables): Remove. Built-in
15789 variables were removed from Octave in 2007.
15790 (inferior-octave-startup): Fix uses.
15791 (comint-line-beginning-position): Remove compatibility code for
15794 2013-05-01 Juri Linkov <juri@jurta.org>
15796 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15798 2013-05-01 Juri Linkov <juri@jurta.org>
15800 * comint.el (comint-previous-matching-input): Don't print message
15801 "History item: %d" when `isearch-mode' is active.
15802 (comint-history-isearch-message): Print message "History item: %d"
15803 when `comint-input-ring-index' is not empty and this function is
15804 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15806 2013-05-01 Leo Liu <sdl.web@gmail.com>
15808 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15809 definitions. Use completion-at-point to insert keywords.
15810 (octave-abbrev-start): Remove.
15811 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15813 2013-04-30 Leo Liu <sdl.web@gmail.com>
15815 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15818 2013-04-30 Alan Mackenzie <acm@muc.de>
15820 Handle arbitrarily long C++ member initialisation lists.
15821 * progmodes/cc-engine.el (c-back-over-member-initializers):
15823 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15824 (most) member init lists.
15826 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15828 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15831 2013-04-30 Leo Liu <sdl.web@gmail.com>
15833 * progmodes/octave.el (octave-variables): Remove. No builtin
15834 variables any more. All converted to functions.
15835 (octave-font-lock-keywords, octave-completion-at-point-function):
15837 (octave-font-lock-texinfo-comment): New user variable.
15838 (octave-texinfo-font-lock-keywords): New variable for texinfo
15840 (octave-function-comment-block): New face.
15841 (octave-font-lock-texinfo-comment): New function.
15842 (octave-mode): Font lock texinfo comment block.
15844 2013-04-29 Leo Liu <sdl.web@gmail.com>
15846 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15847 indexing expression.
15848 (octave-continuation-string): Do not use \.
15849 (inferior-octave-complete-impossible): Remove.
15850 (inferior-octave-completion-table)
15851 (inferior-octave-completion-at-point): Remove its uses.
15852 (inferior-octave-startup): completion_matches was introduced to
15853 Octave in 1996 so safe to assume it.
15854 (octave-function-file-comment): Improve to follow how Octave does it.
15855 (octave-update-function-file-comment): Tweak.
15857 2013-04-29 Leo Liu <sdl.web@gmail.com>
15859 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15860 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15861 (octave-function-file-comment): Fix typo.
15862 (octave-sync-function-file-names): Use read-char-choice.
15864 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15866 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15867 to t for the less important warnings.
15869 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15871 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15873 2013-04-27 Glenn Morris <rgm@gnu.org>
15875 * vc/log-view.el (log-view-current-entry):
15876 Treat "---" separator lines as part of the following rev. (Bug#14169)
15878 2013-04-27 Juri Linkov <juri@jurta.org>
15880 * subr.el (read-number): Doc fix about using it by interactive
15881 code letter `n'. (Bug#14254)
15883 2013-04-27 Juri Linkov <juri@jurta.org>
15885 * desktop.el (desktop-auto-save-timeout): New option.
15886 (desktop-file-checksum): New variable.
15887 (desktop-save): Add optional arg `auto-save' and don't auto-save
15888 if nothing changed.
15889 (desktop-auto-save-timer): New variable.
15890 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15891 (after-init-hook): Call `desktop-auto-save-set-timer'.
15892 Suggested by Reuben Thomas <rrt@sc3d.org> in
15893 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15895 2013-04-27 Leo Liu <sdl.web@gmail.com>
15897 * progmodes/octave.el (octave-function-file-p)
15898 (octave-skip-comment-forward, octave-function-file-comment)
15899 (octave-update-function-file-comment): New functions.
15900 (octave-mode-map): Bind C-c ; to
15901 octave-update-function-file-comment.
15902 (octave-mode-menu): Add octave-update-function-file-comment.
15903 (octave-mode, inferior-octave-mode): Fix doc-string.
15904 (octave-insert-defun): Conform to Octave's coding convention.
15907 * files.el (basic-save-buffer): Don't let errors in
15908 before-save-hook prevent saving buffer.
15910 2013-04-20 Roland Winkler <winkler@gnu.org>
15912 * faces.el (read-face-name): Use completing-read if arg multiple
15915 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15917 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15918 displayed, move point to after the totals line.
15919 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15922 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15924 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15925 Add current dir to the load-path.
15926 (package-generate-autoloads): Don't rely on
15927 autoload-ensure-default-file.
15929 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15931 * textmodes/remember.el (remember-store-in-files): Document that
15932 the file name format is passed to `format-time-string'.
15934 2013-04-26 Leo Liu <sdl.web@gmail.com>
15936 * progmodes/octave.el (octave-sync-function-file-names): New function.
15937 (octave-mode): Use it in before-save-hook.
15939 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15941 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15944 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15945 \n and comment, even if it's not an implicit ; (bug#14218).
15947 2013-04-26 Glenn Morris <rgm@gnu.org>
15949 * subr.el (read-number): Once more use `read' rather than
15950 `string-to-number', to trap non-numeric input. (Bug#14254)
15952 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15954 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15955 Use `syntax-multiline' text property consistently instead of
15956 `font-lock-multiline'. (Bug#14237)
15958 2013-04-26 Glenn Morris <rgm@gnu.org>
15960 * emacs-lisp/shadow.el (list-load-path-shadows):
15961 No longer necessary to check for duplicate simple.el, since
15962 2012-07-07 change to init_lread to not include installation lisp
15963 directories in load-path when running uninstalled. (Bug#14270)
15965 2013-04-26 Leo Liu <sdl.web@gmail.com>
15967 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15968 (octave-mode, inferior-octave-mode): Use setq-local.
15969 (octave-not-in-string-or-comment-p): Rename to
15970 octave-in-string-or-comment-p.
15971 (octave-in-comment-p, octave-in-string-p)
15972 (octave-in-string-or-comment-p): Replace defsubst with defun.
15974 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15976 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15978 2013-04-25 Bastien Guerry <bzg@gnu.org>
15980 * textmodes/remember.el (remember-data-directory)
15981 (remember-directory-file-name-format): Fix custom types.
15983 2013-04-25 Leo Liu <sdl.web@gmail.com>
15985 * progmodes/octave.el (octave-completion-at-point-function):
15986 Make use of inferior octave process.
15987 (octave-initialize-completions): Remove.
15988 (inferior-octave-completion-table): New function.
15989 (inferior-octave-completion-at-point): Use it.
15990 (octave-completion-alist): Remove.
15992 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15994 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15995 (opascal-mode-syntax-table): New var.
15996 (opascal-literal-kind, opascal-is-literal-end)
15997 (opascal-literal-token-at): Rewrite.
15998 (opascal--literal-start-re, opascal-font-lock-keywords)
15999 (opascal--syntax-propertize): New constants.
16000 (opascal-font-lock-defaults): Adjust.
16001 (opascal-mode): Use them. Set comment-<foo> variables as well.
16002 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16003 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16004 (delphi-other-face, opascal-other-face): Remove face variables.
16005 (opascal-save-state): Remove macro.
16006 (opascal-fontifying-progress-step): Remove constant.
16007 (opascal--ignore-changes): Remove var.
16008 (opascal-set-token-property, opascal-parse-next-literal)
16009 (opascal-is-stable-literal, opascal-complete-literal)
16010 (opascal-is-literal-start, opascal-face-of)
16011 (opascal-parse-region, opascal-parse-region-until-stable)
16012 (opascal-fontify-region, opascal-after-change)
16013 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16014 (opascal-debug-parse-region, opascal-debug-parse-window)
16015 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16016 (opascal-debug-fontify-buffer): Remove.
16017 (opascal-debug-mode-map): Adjust accordingly.
16019 2013-04-25 Leo Liu <sdl.web@gmail.com>
16021 Merge octave-mod.el and octave-inf.el into octave.el with some
16023 * progmodes/octave.el: New file renamed from octave-mod.el.
16024 * progmodes/octave-inf.el: Merged into octave.el.
16025 * progmodes/octave-mod.el: Renamed to octave.el.
16027 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16029 * textmodes/reftex-vars.el
16030 (reftex-label-ignored-macros-and-environments): New defcustom.
16032 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16034 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16036 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16037 (smie-indent-keyword): Improve the check to ensure that the next
16038 comment is really on the same line.
16039 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16041 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16042 semi-colons if the line is not otherwise empty (bug#14218).
16044 2013-04-25 Glenn Morris <rgm@gnu.org>
16046 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16048 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16050 * progmodes/opascal.el (opascal-set-token-property): Rename from
16051 opascal-set-text-properties and only set `token' (bug#14134).
16052 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16053 (opascal-literal-text-properties): Remove.
16054 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16057 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16059 * textmodes/remember.el (remember-handler-functions): Add an
16060 option for a new handler `remember-store-in-files'.
16061 (remember-data-directory, remember-directory-file-name-format):
16063 (remember-store-in-files): New function to store remember notes
16064 as separate files within a directory.
16066 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16068 * progmodes/compile.el (compilation-next-error-function):
16069 Pass "formats" to compilation-find-file (bug#11777).
16071 2013-04-24 Glenn Morris <rgm@gnu.org>
16073 * vc/vc-bzr.el (vc-bzr-print-log):
16074 * vc/vc-hg.el (vc-hg-print-log):
16075 * vc/vc-svn.el (vc-svn-print-log):
16076 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16078 * vc/vc-bzr.el (vc-bzr-print-log):
16079 * vc/vc-cvs.el (vc-cvs-print-log):
16080 * vc/vc-git.el (vc-git-print-log):
16081 * vc/vc-hg.el (vc-hg-print-log):
16082 * vc/vc-mtn.el (vc-mtn-print-log):
16083 * vc/vc-rcs.el (vc-rcs-print-log):
16084 * vc/vc-sccs.el (vc-sccs-print-log):
16085 * vc/vc-svn.el (vc-svn-print-log):
16086 * vc/vc.el (vc-print-log-internal): Doc fixes.
16088 2013-04-23 Glenn Morris <rgm@gnu.org>
16090 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16091 Remove venerable code attempting to avoid substitute-command-keys.
16093 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16095 * textmodes/reftex-vars.el (reftex-label-regexps):
16096 Call `reftex-compile-variables' after changes to this variable.
16098 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16100 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16101 Use lexical-binding.
16102 (jit-lock-force-redisplay): Use markers, check buffer's continued
16103 existence and beware narrowed buffers.
16104 (jit-lock-fontify-now): Adjust call accordingly.
16106 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16108 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16109 to avoid misleading the user.
16111 2013-04-22 Leo Liu <sdl.web@gmail.com>
16113 * info-look.el: Prefer latex2e.info. (Bug#14240)
16115 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16117 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16119 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16120 * net/tramp.el (tramp-call-process): ... here.
16121 (tramp-set-completion-function, tramp-parse-putty):
16122 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16123 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16124 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16125 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16126 (tramp-call-local-coding-command): Use `tramp-call-process'
16127 instead of `tramp-compat-call-process'.
16129 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16130 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16131 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16132 (tramp-find-inline-compress): Improve traces.
16133 (tramp-maybe-send-script): Check for Perl binary.
16134 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16136 2013-04-22 Daiki Ueno <ueno@gnu.org>
16138 * epg.el (epg-context-pinentry-mode): New function.
16139 (epg-context-set-pinentry-mode): New function.
16140 (epg--start): Pass --pinentry-mode option to gpg command.
16142 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16144 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16145 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16146 `completion-at-point'. (Bug#13774)
16148 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16149 default key binding for `describe-distribution' has been moved to
16150 `C-h C-o'. (Bug#13970)
16152 2013-04-21 Glenn Morris <rgm@gnu.org>
16154 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16156 (vc-print-log): Clarify interactive prompt.
16158 2013-04-20 Glenn Morris <rgm@gnu.org>
16160 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16161 No longer include timestamp etc information.
16163 2013-04-20 Roland Winkler <winkler@gnu.org>
16165 * faces.el (read-face-name): Bug fix, return just one face if arg
16166 multiple is nil. (Bug#14209)
16168 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16170 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16171 (remove-function): Autoload.
16173 * comint.el (comint-redirect-original-filter-function): Remove.
16174 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16175 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16176 (vc-cvs-annotate-command):
16177 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16178 * progmodes/prolog.el (prolog-consult-compile):
16179 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16180 Use add/remove-function instead.
16181 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16182 (gud-tooltip-process-output, gud-tooltip-tips):
16183 Use add/remove-function instead.
16184 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16185 (scheme-interaction-mode, exit-scheme-interaction-mode):
16186 Use add/remove-function instead.
16188 * vc/vc-dispatcher.el: Use lexical-binding.
16189 (vc--process-sentinel): Rename from vc-process-sentinel.
16190 Change last arg to be the code to run. Don't use vc-previous-sentinel
16191 and vc-sentinel-commands any more.
16192 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16193 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16195 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16197 * progmodes/sh-script.el (sh-imenu-generic-expression):
16198 Handle function names with a single character. (Bug#14111)
16200 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16202 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16203 for subroutines defined in an eval (bug#14182).
16205 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16207 * bookmark.el (bookmark-completing-read): Improve handling of empty
16208 string (bug#14176).
16210 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16212 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16214 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16216 New faster Imenu implementation (bug#14058).
16217 * progmodes/python.el:
16218 (python-imenu-prev-index-position):
16219 (python-imenu-format-item-label-function)
16220 (python-imenu-format-parent-item-label-function)
16221 (python-imenu-format-parent-item-jump-label-function):
16223 (python-imenu-format-item-label)
16224 (python-imenu-format-parent-item-label)
16225 (python-imenu-format-parent-item-jump-label)
16226 (python-imenu--put-parent, python-imenu--build-tree)
16227 (python-imenu-create-index, python-imenu-create-flat-index)
16228 (python-util-popn): New functions.
16229 (python-mode): Set imenu-create-index-function to
16230 python-imenu-create-index.
16232 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16234 * winner.el (winner-active-region): Use region-active-p, activate-mark
16235 and deactivate-mark (bug#14225).
16237 * simple.el (deactivate-mark): Don't inline it.
16239 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16241 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16243 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16245 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16246 file extensions from the archive-mode entry in order to prefer
16247 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16249 2013-04-18 Leo Liu <sdl.web@gmail.com>
16251 * bindings.el (help-event-list): Add ?\?.
16253 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16255 * subr.el (with-wrapper-hook): Declare obsolete.
16256 * simple.el (filter-buffer-substring-function): New hook.
16257 (filter-buffer-substring): Use it.
16258 (filter-buffer-substring-functions): Mark obsolete.
16259 * minibuffer.el (completion-in-region-function): New hook.
16260 (completion-in-region): Use it.
16261 (completion-in-region-functions): Mark obsolete.
16262 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16263 * abbrev.el (abbrev-expand-function): New hook.
16264 (expand-abbrev): Use it.
16265 (abbrev-expand-functions): Mark obsolete.
16266 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16267 and :filter-return.
16269 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16271 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16272 and do not care about match data.
16274 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16276 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16277 completion tables when completing error conditions and
16278 `declare' arguments.
16279 (lisp-complete-symbol, field-complete): Mark as obsolete.
16280 (check-parens): Unmatched parens are user errors.
16281 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16283 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16285 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16286 command changed buffer (ie. `flyspell-pre-buffer' is not current
16287 buffer), which prevents making decisions based on invalid value of
16288 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16289 cause an error when `flyspell-pre-point' was nil after switching
16291 (flyspell-post-command-hook): No longer needs to change buffers when
16292 checking pre-word. While at it remove unnecessary progn.
16294 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16296 * textmodes/ispell.el (ispell-add-per-file-word-list):
16297 Fix `flyspell-correct-word-before-point' error when accepting
16298 words and `coment-padding' is an integer by using
16299 `comment-normalize-vars' (Bug #14214).
16301 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16303 New defun movement commands.
16304 * progmodes/python.el (python-nav--syntactically)
16305 (python-nav--forward-defun, python-nav-backward-defun)
16306 (python-nav-forward-defun): New functions.
16308 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16310 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16311 (python-syntax-context): Use named compiler-macro for backwards
16312 compatibility with Emacs 24.x.
16314 2013-04-17 Leo Liu <sdl.web@gmail.com>
16316 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16317 octave-hide-process-buffer.
16319 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16321 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16324 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16326 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16327 Fix adjustment of offset when receiving incomplete responses from GDB
16330 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16332 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16333 python-mode-abbrev-table.
16334 (python-skeleton-define): Adjust accordingly.
16335 (python-mode-abbrev-table): New table that inherits from it so that
16336 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16338 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16339 (abbrev-symbol): Use it.
16340 (abbrev--before-point): Use it since we already handle inheritance.
16342 2013-04-16 Leo Liu <sdl.web@gmail.com>
16344 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16345 binding to info-lookup-symbol.
16347 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16349 * minibuffer.el (completion--twq-all):
16350 * term/ns-win.el (ns-initialize-window-system):
16351 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16353 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16355 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16358 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16360 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16362 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16363 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16365 (ruby-end-of-defun): Remove the unused arg, change the docstring
16366 to reflect that this function is only used as the value of
16367 `end-of-defun-function'.
16368 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16369 to reflect an earlier change that beginning/end-of-defun functions
16370 jump between methods in a class definition, as well as top-level
16373 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16375 * minibuffer.el (minibuffer-complete): Don't just scroll
16376 a *Completions* that's been iconified.
16377 (minibuffer-force-complete): Make sure repetitions do cycle when going
16378 through completion-in-region -> minibuffer-complete.
16380 2013-04-15 Alan Mackenzie <acm@muc.de>
16382 Correct the placement of c-cpp-delimiters when there're #s not at
16385 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16386 place a submatch around the #.
16387 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16388 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16391 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16394 (advice--member-p): New arg `name'.
16395 (advice--add-function, advice-member-p): Use it (bug#14202).
16397 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16399 Reformulate java imenu-generic-expression.
16400 The old expression contained ill formed regexps.
16402 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16403 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16404 (cc-imenu-java-method-arg-regexp): New defconsts.
16405 (cc-imenu-java-build-type-args-regex): New defun.
16406 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16407 handling of spaces in the regexp.
16409 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16411 * textmodes/ispell.el (ispell-command-loop): Remove
16412 flyspell highlight of a word when ispell accepts it (bug #14178).
16414 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16416 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16417 uses code from the previous `ange-ftp-run-real-handler'.
16418 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16419 only in case that function exist. This is needed for proper
16420 unloading of Tramp.
16422 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16424 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16426 * textmodes/reftex.el (reftex-compile-variables): Use it.
16428 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16430 * files.el (normal-mode): Only use default major-mode if no other mode
16433 * emacs-lisp/trace.el (trace-values): New function.
16435 * files.el: Allow : in local variables (bug#14089).
16436 (hack-local-variable-regexp): New var.
16437 (hack-local-variables-prop-line, hack-local-variables): Use it.
16439 2013-04-13 Roland Winkler <winkler@gnu.org>
16441 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16442 data before it gets modified by bibtex-beginning-of-entry.
16444 2013-04-13 Roland Winkler <winkler@gnu.org>
16446 * textmodes/bibtex.el (bibtex-url): Doc fix.
16448 2013-04-13 Roland Winkler <winkler@gnu.org>
16450 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16451 does not visit a BibTeX file, exclude it from the list of buffers
16452 returned by bibtex-initialize.
16454 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16456 * window.el (split-window): Remove interactive form, since as a
16457 command this function is a special case of split-window-below.
16458 Correct doc string.
16460 2013-04-12 Roland Winkler <winkler@gnu.org>
16462 * faces.el (read-face-name): Do not override value of arg default.
16463 Allow single faces and strings as default values. Remove those
16464 elements from return value that are not faces.
16465 (describe-face): Simplify.
16466 (face-at-point): New optional args thing and multiple so that this
16467 function can provide the same functionality previously provided by
16469 (make-face-bold, make-face-unbold, make-face-italic)
16470 (make-face-unitalic, make-face-bold-italic, invert-face)
16471 (modify-face, read-face-and-attribute): Use face-at-point.
16473 * cus-edit.el (customize-face, customize-face-other-window)
16474 * cus-theme.el (custom-theme-add-face)
16475 * face-remap.el (buffer-face-set)
16476 * facemenu.el (facemenu-set-face): Use face-at-point.
16478 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16480 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16482 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16484 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16485 off leading { and trailing } from field values.
16487 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16489 * emacs-lisp/timer.el (timer--check): New function.
16490 (timer--time, timer-set-function, timer-event-handler): Use it.
16491 (timer-set-idle-time): Simplify.
16492 (timer--activate): CSE.
16493 (timer-event-handler): Give more info in error message.
16494 (internal-timer-start-idle): New function, moved from C.
16496 * mpc.el (mpc-proc): Add `restart' argument.
16497 (mpc-proc-cmd): Use it.
16498 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16499 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16502 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16504 * progmodes/sh-script.el: Implement `sh-mode' own
16505 `add-log-current-defun-function' (bug#14112).
16506 (sh-current-defun-name): New function.
16507 (sh-mode): Use the function.
16509 2013-04-09 Bastien Guerry <bzg@gnu.org>
16511 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16513 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16517 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16520 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16522 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16525 2013-04-07 Leo Liu <sdl.web@gmail.com>
16527 * pcmpl-x.el: New file.
16529 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16531 Do not set x-display-name until X connection is established.
16532 This is needed to prevent from weird situation described at
16533 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16534 * frame.el (make-frame): Set x-display-name after call to
16535 window system initialization function, not before.
16536 * term/x-win.el (x-initialize-window-system): Add optional
16537 display argument and use it.
16538 * term/w32-win.el (w32-initialize-window-system):
16539 * term/ns-win.el (ns-initialize-window-system):
16540 * term/pc-win.el (msdos-initialize-window-system):
16541 Add compatible optional display argument.
16543 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16545 * files.el (normal-backup-enable-predicate): On MS-Windows and
16546 MS-DOS compare truenames of temporary-file-directory and of the
16547 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16548 don't fail comparison by compare-strings. Also, compare file
16549 names case-insensitively on MS-Windows and MS-DOS.
16551 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16553 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16554 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16556 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16558 * whitespace.el (whitespace-color-on, whitespace-color-off):
16559 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16561 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16563 * ispell.el (ispell-set-spellchecker-params):
16564 Really set `ispell-args' for all equivs.
16566 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16568 * ido.el (ido-completions): Use extra elements of ido-decorations
16570 (ido-decorations): Update docstring.
16572 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16574 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16575 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16576 nil during initialization, in order not to miss changes since the
16577 file was opened. (Bug#14140)
16579 2013-04-05 Leo Liu <sdl.web@gmail.com>
16581 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16583 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16585 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16587 2013-04-04 Glenn Morris <rgm@gnu.org>
16589 * electric.el (electric-pair-inhibit-predicate): Add :version.
16591 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16593 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16594 when a package is required several times (bug#14082).
16596 2013-04-04 Roland Winkler <winkler@gnu.org>
16598 * faces.el (read-face-name): Behave as promised by the docstring.
16599 Assume that arg default is a list of faces.
16600 (describe-face): Call read-face-name with list of default faces.
16602 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16604 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16605 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16606 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16608 (bookmark-exit-hook-internal): Save even if list is empty.
16610 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16612 * emacs-lisp/package.el (package-pinned-packages): New var.
16613 (package--add-to-archive-contents): Obey it (bug#14118).
16615 2013-04-03 Alan Mackenzie <acm@muc.de>
16617 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16618 Also adapt to the new values of element 7 of a parse state.
16620 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16621 parameter `not-in-delimiter'. Handle being inside comment opener.
16622 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16623 character in case we're typing a '*' after a '/'.
16624 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16625 instead by passing the parameter to c-state-pp-to-literal.
16627 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16628 for elt. 7 of a parse state.
16630 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16632 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16633 * international/latin1-disp.el, international/mule-util.el:
16634 * language/cyril-util.el, language/european.el, language/ind-util.el:
16635 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16636 * language/tibetan.el, language/viet-util.el:
16637 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16639 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16641 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16642 (electric-pair-post-self-insert-function): Use it.
16643 (electric-pair-default-inhibit): New function, extracted from
16644 electric-pair-post-self-insert-function.
16646 2013-03-31 Roland Winkler <winkler@gnu.org>
16648 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16650 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16652 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16654 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16656 Un-indent after "pass" and "return" statements (Bug#13888)
16657 * progmodes/python.el (python-indent-block-enders): New var.
16658 (python-indent-calculate-indentation): Use it.
16660 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16662 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16663 defun. Defining it as defalias could introduce too eager
16664 byte-compiler optimization. (Bug#14030)
16666 2013-03-30 Chong Yidong <cyd@gnu.org>
16668 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16670 2013-03-30 Leo Liu <sdl.web@gmail.com>
16672 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16673 (kmacro-execute-from-register): Pass the keyboard macro to
16674 kmacro-call-macro or repeating won't work correctly.
16676 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16678 * progmodes/subword.el: Back to using `forward-symbol'.
16680 * subr.el (forward-whitespace, forward-symbol)
16681 (forward-same-syntax): Move from thingatpt.el.
16683 2013-03-29 Leo Liu <sdl.web@gmail.com>
16685 * kmacro.el (kmacro-to-register): New command.
16686 (kmacro-execute-from-register): New function.
16687 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16689 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16691 * mpc.el: Use defvar-local and setq-local.
16692 (mpc--proc-connect): Connection failures are not bugs.
16693 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16694 (mpc-volume-map): Bind to the up-events.
16696 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16698 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16699 instead of `forward-symbol'.
16701 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16704 (edebug--recursive-edit): Use it.
16705 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16706 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16708 2013-03-28 Leo Liu <sdl.web@gmail.com>
16710 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16712 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16714 * facemenu.el (list-colors-callback): New defvar.
16715 (list-colors-redisplay): New function.
16716 (list-colors-display): Install list-colors-redisplay as the
16717 revert-buffer-function. (Bug#14063)
16719 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16721 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16722 and suffixes don't overlap (bug#14061).
16724 * case-table.el: Use lexical-binding.
16725 (case-table-get-table): New function.
16726 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16728 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16730 * progmodes/subword.el: Add `superword-mode' to do word motion
16731 over symbol_words (parallels and leverages `subword-mode' which
16732 does word motion inside MixedCaseWords).
16734 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16736 * eshell/em-unix.el: Move su and sudo to...
16737 * eshell/em-tramp.el: ...Eshell tramp module.
16739 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16741 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16742 Change return value to be a sexp. Delay `get-buffer' to after
16743 restoring the desktop (bug#13951).
16745 2013-03-26 Leo Liu <sdl.web@gmail.com>
16747 * register.el: Move semantic tag handling back to
16748 cedet/semantic/senator.el. (Bug#14052)
16750 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16752 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16753 into the prompt either (bug#13963).
16755 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16757 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16758 part of "(error-foo)".
16760 2013-03-24 Juri Linkov <juri@jurta.org>
16762 * replace.el (list-matching-lines-prefix-face): New defcustom.
16763 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16764 `occur-engine' if `face-differs-from-default-p' returns t.
16765 (occur-engine): Add `,' inside backquote construct to evaluate
16766 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16767 Pass `prefix-face' to the functions `occur-context-lines' and
16768 `occur-engine-add-prefix'.
16769 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16770 `prefix-face' and propertize the prefix with `prefix-face'.
16773 2013-03-24 Leo Liu <sdl.web@gmail.com>
16775 * nxml/rng-valid.el (rng-validate-while-idle)
16776 (rng-validate-quick-while-idle): Guard against deleted buffer.
16779 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16780 is the last entry in kill-buffer-hook.
16782 * files.el (kill-buffer-hook): Doc fix.
16784 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16786 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16787 Make it safe-local.
16789 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16791 2013-03-23 Leo Liu <sdl.web@gmail.com>
16793 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16796 * nxml/rng-valid.el (rng-validate-mode)
16797 (rng-after-change-function, rng-do-some-validation):
16798 * nxml/rng-maint.el (rng-validate-buffer):
16799 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16800 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16801 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16802 (nxml-extend-after-change-region): Use with-silent-modifications.
16804 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16807 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16808 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16809 timer-idle-list. (Bug#13999)
16811 2013-03-23 Juri Linkov <juri@jurta.org>
16813 * info.el (info-index-match): New face.
16814 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16815 main pattern and add text properties with the new face to matches
16816 in index entries relative to the beginning of the index entry.
16819 2013-03-21 Eric Ludlam <zappo@gnu.org>
16821 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16822 Inhibit read only while inserting objects.
16824 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16826 * progmodes/cfengine.el: Update docs to mention
16827 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16828 symbol motion. Remove "_" from the word syntax.
16830 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16832 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16833 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16835 2013-03-20 Juri Linkov <juri@jurta.org>
16837 * info.el (Info-next-reference-or-link)
16838 (Info-prev-reference-or-link): New functions.
16839 (Info-next-reference, Info-prev-reference): Use them.
16840 (Info-try-follow-nearest-node): Handle footnote navigation.
16841 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16843 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16845 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16846 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16848 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16850 Suppress unnecessary non-ASCII chatter during build process.
16851 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16852 (batch-skkdic-convert): Suppress most of the chatter.
16853 It's not needed so much now that machines are faster,
16854 and its non-ASCII component was confusing; see Dmitry Gutov in
16855 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16857 2013-03-20 Leo Liu <sdl.web@gmail.com>
16859 * ido.el (ido-chop): Fix bug#10994.
16861 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16863 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16865 (whitespace-color-on, whitespace-color-off):
16866 Use `font-lock-fontify-buffer' (Bug#13817).
16868 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16870 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16871 remapping in mode-line.
16872 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16874 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16876 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16877 value for `whitespace-line' face (Bug#13875).
16878 (whitespace-font-lock-keywords): Change description.
16879 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16880 the constructed keywords instead.
16881 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16883 2013-03-19 Leo Liu <sdl.web@gmail.com>
16885 * progmodes/compile.el (compilation-display-error): New command.
16886 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16889 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16891 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16893 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16895 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16897 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16899 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16901 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16902 * net/tramp-gvfs.el (top):
16903 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16904 (tramp-handle-shell-command): Use it.
16905 (tramp-dissect-file-name): Raise an error when hostname is a
16906 method name, and neither method nor user is specified.
16908 * net/trampver.el: Update release number.
16910 2013-03-18 Leo Liu <sdl.web@gmail.com>
16912 Make sure eldoc can be turned off properly.
16913 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16915 (eldoc-display-message-p): Revert last change.
16916 (eldoc-display-message-no-interference-p)
16917 (eldoc-print-current-symbol-info): Tweak.
16919 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16921 * doc-view.el (doc-view-new-window-function): Check the new window
16922 overlay's display property instead the char property of the
16923 buffer's first char. Use `with-selected-window' instead of
16924 `save-window-excursion' with `select-window'.
16925 (doc-view-document->bitmap): Check the current doc-view overlay's
16926 display property instead the char property of the buffer's first char.
16928 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16930 Automate the build of ja-dic.el (Bug#13984).
16931 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16932 from the input, rather than assume that it's been done for us by the
16933 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16934 the current date into a ja-dic.el comment, as that complicates
16935 regression testing.
16937 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16939 * whitespace.el: Fix double evaluation.
16940 (whitespace-space, whitespace-hspace, whitespace-tab)
16941 (whitespace-newline, whitespace-trailing, whitespace-line)
16942 (whitespace-space-before-tab, whitespace-indentation)
16943 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16945 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16946 (whitespace-color-on): Use a single font-lock-add-keywords call.
16947 Fix double-evaluation of face variables.
16949 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16951 * net/tramp-adb.el (tramp-adb-parse-device-names):
16952 Use `start-process' instead of `call-process'. Otherwise, the
16953 function might be blocked under MS Windows. (Bug#13299)
16955 2013-03-17 Leo Liu <sdl.web@gmail.com>
16957 Extend eldoc to display info in the mode-line. (Bug#13978)
16958 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16959 (eldoc-mode-line-string): New variable.
16960 (eldoc-minibuffer-message): New function.
16961 (eldoc-message-function): New variable.
16962 (eldoc-message): Use it.
16963 (eldoc-display-message-p)
16964 (eldoc-display-message-no-interference-p):
16965 Support eldoc-post-insert-mode.
16967 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16968 (eval-expression): Run it.
16970 2013-03-17 Roland Winkler <winkler@gnu.org>
16972 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16973 strings in the list of return values.
16975 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16977 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16978 radix before checking for HMS forms.
16980 2013-03-16 Leo Liu <sdl.web@gmail.com>
16982 * progmodes/scheme.el: Add indentation and font-locking for λ.
16985 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16987 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16988 token before point (bug#13942).
16990 2013-03-16 Leo Liu <sdl.web@gmail.com>
16992 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16994 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16996 * startup.el (command-line-normalize-file-name): Fix handling of
16997 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16998 <xfq.free@gmail.com> in
16999 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17001 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17003 Sync with Tramp 2.2.7.
17005 * net/trampver.el: Update release number.
17007 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17009 * doc-view.el: Fix bug#13887.
17010 (doc-view-insert-image): Don't modify overlay associated to
17011 non-live windows, and implement horizontal centering of image in
17012 case it's smaller than the window.
17013 (doc-view-new-window-function): Force redisplay of new windows on
17016 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17018 * saveplace.el (save-place-alist-to-file): Don't sort
17019 `save-place-alist', just pretty-print it (bug#13882).
17021 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17023 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17024 Check whether `default-file-name-coding-system' is bound.
17025 It isn't in XEmacs.
17027 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17029 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17030 backquotes for `obsolete' (bug#13929).
17032 * international/mule.el (find-auto-coding): Include file name in
17033 obsolescence warning (bug#13922).
17035 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17037 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17038 for CFEngine 3-specific indentation.
17039 (cfengine3-indent-line): Use it. Fix up category regex.
17040 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17042 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17044 * type-break.el (type-break-file-name):
17045 * textmodes/remember.el (remember-data-file):
17046 * strokes.el (strokes-file):
17047 * shadowfile.el (shadow-initialize):
17048 * saveplace.el (save-place-file):
17049 * ps-bdf.el (bdf-cache-file):
17050 * progmodes/idlwave.el (idlwave-config-directory):
17051 * net/quickurl.el (quickurl-url-file):
17052 * international/kkc.el (kkc-init-file-name):
17053 * ido.el (ido-save-directory-list-file):
17054 * emulation/viper.el (viper-custom-file-name):
17055 * emulation/vip.el (vip-startup-file):
17056 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17057 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17059 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17061 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17062 * language/thai-word.el: Switch to UTF-8.
17064 See ChangeLog.16 for earlier changes.
17066 ;; Local Variables:
17070 Copyright (C) 2011-2015 Free Software Foundation, Inc.
17072 This file is part of GNU Emacs.
17074 GNU Emacs is free software: you can redistribute it and/or modify
17075 it under the terms of the GNU General Public License as published by
17076 the Free Software Foundation, either version 3 of the License, or
17077 (at your option) any later version.
17079 GNU Emacs is distributed in the hope that it will be useful,
17080 but WITHOUT ANY WARRANTY; without even the implied warranty of
17081 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17082 GNU General Public License for more details.
17084 You should have received a copy of the GNU General Public License
17085 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.