1 2015-02-04 Nicolas Petton <nicolas@petton.fr>
3 * emacs-lisp/authors.el (authors-ignored-files)
4 (authors-renamed-files-alist): Additions.
6 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
8 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
9 tempfile for ControlPath. (Bug#19702)
11 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
13 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
14 ControlPath if possible. (Bug#19702)
16 2015-02-02 Glenn Morris <rgm@gnu.org>
18 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
19 (authors-valid-file-names, authors-renamed-files-alist): Additions.
21 2015-02-01 Alan Mackenzie <acm@muc.de>
23 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
26 * progmodes/cc-mode.el (c-font-lock-init): Setq
27 font-lock-extend-region-functions to nil.
29 2015-01-31 Alan Mackenzie <acm@muc.de>
31 Handle "#" operator properly inside macro. Fix coding bug.
33 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
34 finding a "#" which looks like the start of a macro, check it
35 isn't already inside a macro.
37 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
38 "safe" position into the list of them when this is beyond our
41 2015-01-31 Martin Rudalics <rudalics@gmx.at>
43 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
44 the menu frame is dead. (Bug#19728)
46 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
48 python.el: Handle tabs in python-indent-dedent-line.
50 * progmodes/python.el (python-indent-dedent-line): Fixes for
51 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
53 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
55 * progmodes/python.el (python-indent-context): Respect user
56 indentation after comment.
58 2015-01-29 Tassilo Horn <tsdh@gnu.org>
60 * textmodes/reftex-vars.el (featurep): Conditionalize value of
61 reftex-label-regexps in order to stay compatible with XEmacs 21.5
62 which has no explicitly numbered groups in regexps (bug#19714).
64 2015-01-28 Tassilo Horn <tsdh@gnu.org>
66 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
67 punctuation syntax since to allow bibtex fields with values such
68 as {Test 1) and 2)} (bug#19205, bug#19707).
69 (reftex--prepare-syntax-tables): New function.
70 (reftex-mode): Use it.
72 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
74 python.el: New non-global state dependent indentation engine.
75 (Bug#18319, Bug#19595)
77 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
79 (python-syntax-closing-paren-p): New function.
80 (python-indent-current-level)
81 (python-indent-levels): Mark obsolete.
82 (python-indent-context): Return more context cases.
83 (python-indent--calculate-indentation)
84 (python-indent--calculate-levels): New functions.
85 (python-indent-calculate-levels): Use them.
86 (python-indent-calculate-indentation, python-indent-line):
87 (python-indent-line-function): Rewritten to use new API.
88 (python-indent-dedent-line): Simplify logic.
89 (python-indent-dedent-line-backspace): Use `unless`.
90 (python-indent-toggle-levels): Delete function.
92 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
94 * calc/calc-units.el (math-units-in-expr-p)
95 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
96 (math-extract-units): Handle the `neg' operator. (Bug#19582)
99 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
101 * subr.el (posnp): Correct docstring of `posnp'.
102 (posn-col-row): Make it work with all mouse position objects.
103 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
104 timers if an error occurs during continuous drawing. (Bug#6130)
106 2015-01-20 Eli Zaretskii <eliz@gnu.org>
108 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
110 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
112 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
113 regardless of pcomplete-cycle-completions's value. (Bug#18950)
115 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
117 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
119 (file-notify--descriptor): New defun.
120 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
121 Adapt docstring. Handle multiple values for
122 `file-notify-descriptors' entries. (Bug#18880)
124 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
125 `file-notify-descriptors', the implementation has been changed.
127 2015-01-13 Juri Linkov <juri@linkov.net>
129 * comint.el (comint-history-isearch-search)
130 (comint-history-isearch-wrap): Use field-beginning instead of
131 comint-line-beginning-position.
132 (comint-send-input): Go to the end of the field instead of the end
133 of the line to accept whole multi-line input.
134 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
135 (comint-history-isearch-message): Use field-beginning
136 instead of comint-line-beginning-position - that's more fixes for
137 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
138 (comint-history-isearch-message): Fix args of isearch-message-prefix.
142 2015-01-09 Eli Zaretskii <eliz@gnu.org>
144 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
145 On MS-Windows, bind coding-system-for-read to the console output
146 codepage. (Bug#19458)
148 2015-01-08 Eli Zaretskii <eliz@gnu.org>
150 * simple.el (line-move-visual): When converting X pixel coordinate
151 to temporary-goal-column, adjust the value for right-to-left
152 screen lines. This fixes vertical-motion, next/prev-line, etc.
154 2015-01-06 Glenn Morris <rgm@gnu.org>
156 * progmodes/sh-script.el (sh-mode): Doc fix.
157 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
159 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
161 * emacs-lisp/package.el (package-menu-mode): Use an extra column
162 for the "Version" column, to accomodate date-and-time-based versions.
164 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
166 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
167 * files.el (shell-quote-wildcard-pattern): Also quote "`".
169 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
171 Unbreak `mouse-action' property in text buttons.
172 * button.el (push-button): Fix regression from 2012-12-06.
174 2015-01-01 Eli Zaretskii <eliz@gnu.org>
176 * tool-bar.el (tool-bar-local-item)
177 (tool-bar-local-item-from-menu): Call force-mode-line-update to
178 make sure the tool-bar changes show on display.
180 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
182 Sync with Tramp 2.2.11.
184 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
185 Make an alias for `default-toplevel-value' if it doesn't exist.
187 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
188 Use `tramp-compat-delete-directory'.
190 * net/trampver.el: Update release number.
192 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
194 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
195 for remote files. (Bug#19449)
197 2014-12-28 Eli Zaretskii <eliz@gnu.org>
199 * international/mule.el (define-coding-system): Fix typos in the
202 2014-12-28 Kenichi Handa <handa@gnu.org>
204 * international/mule.el (define-coding-system): Improve the doc
207 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
209 * progmodes/python.el (python-shell-buffer-substring): Handle
210 cornercase when region sent starts at point-min.
212 2014-12-27 Eli Zaretskii <eliz@gnu.org>
214 * language/misc-lang.el (composition-function-table): Add Syriac
215 characters and also ZWJ/ZWNJ. See
216 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
219 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
221 python.el: Fix message when sending region.
223 * progmodes/python.el (python-shell-send-region): Rename argument
224 send-main from nomain. Fix message.
225 (python-shell-send-buffer): Rename argument send-main from arg.
227 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
229 python.el: Cleanup temp files even with eval errors.
231 * progmodes/python.el (python-shell-send-file): Make file-name
232 mandatory. Fix temp file removal in the majority of cases.
234 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
236 python.el: Handle file encoding for shell.
238 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
239 (python-shell--save-temp-file): Write file with proper encoding.
240 (python-shell-buffer-substring): Add coding cookie for detected
241 encoding to generated content. Fix blank lines when removing
243 (python-shell-send-file): Handle file encoding.
244 (python-info-encoding-from-cookie)
245 (python-info-encoding): New functions.
247 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
249 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
250 Use `tramp-rsh-end-of-line', it ought to be more robust.
252 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
254 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
257 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
259 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
261 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
262 as end-of-line delimeter for passwords, when running on MS Windows.
264 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
266 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
267 of indent-line-function (bug#19433).
269 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
271 Fix line numbers on Python shell.
272 * progmodes/python.el (python-shell--save-temp-file): Do not
273 append coding cookie.
274 (python-shell-send-string): Generalize for
275 python-shell-send-region.
276 (python--use-fake-loc): Delete var.
277 (python-shell-buffer-substring): Cleanup fake-loc logic.
278 (python-shell-send-region): Remove fake-loc logic, simplify.
280 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
282 * progmodes/python.el (python-indent-post-self-insert-function):
283 Make colon to re-indent only for dedenters, handling
284 multiline-statements gracefully.
286 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
288 * net/tramp.el (tramp-handle-insert-file-contents):
289 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
291 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
293 * net/tramp-sh.el (tramp-send-command-and-read): New optional
295 (tramp-get-remote-path): Use it.
297 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
299 * subr.el (redisplay-dont-pause): Mark as obsolete.
301 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
303 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
304 (tramp-accept-process-output): Use nil as argument for
305 `accept-process-output', when there is a gateway prepended.
307 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
309 (tramp-gw-open-connection): Set process coding system 'binary.
310 (tramp-gw-open-network-stream): Handle HTTP error 403.
312 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
314 (tramp-maybe-open-connection): Set connection property "gateway".
316 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
318 * subr.el (sit-for): Tweak docstring (bug#19381).
320 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
322 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
323 stage to after `diff-index' (bug#19386).
325 2014-12-14 João Távora <joaotavora@gmail.com>
327 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
328 `electric-pair-mode' (bug#19356).
330 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
332 * simple.el (password-word-equivalents): Add "passcode", used for
333 numeric secrets like PINs or RSA tokens.
335 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
337 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
338 order to determine `tramp-own-remote-path'.
340 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
342 * progmodes/python.el (python-shell-parse-command):
343 Quote `python-shell-interpreter`. (Bug#19289)
345 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
347 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
348 of the whole pipe when indenting an opening keyword after a |.
349 Generalize this treatment to opening keywords like "while" (bug#18031).
351 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
353 * simple.el (newline): Place the hook buffer-locally,
354 to make sure it's first.
356 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
357 Fix handling of symbols with different syntax at beginning/end or with
358 symbol rather than word syntax.
360 2014-11-30 Eli Zaretskii <eliz@gnu.org>
362 * simple.el (line-move): If noninteractive, call line-move-1, not
363 forward-line, since the former is compatible with line-move-visual
364 both in terms of the column to which it moves and the return
367 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
368 Stefan Monnier <monnier@iro.umontreal.ca>
370 * outline.el (outline-move-subtree-down): Make sure we can move
371 forward to find the end of the subtree and the insertion point
374 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
376 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
377 for comment lines non-greedy and stopping at newlines to fix stack
378 overflows with large files. [Backport]
380 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
382 * progmodes/python.el (python-shell-completion-setup-code):
383 Use __builtin__ module (or builtins in Python 3) and catch all errors
384 when importing readline and rlcompleter.
386 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
388 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
389 (todo-revert-buffer): New function.
390 (todo-modes-set-1): Use it as the buffer-local value of
391 revert-buffer-function.
393 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
395 * calendar/todo-mode.el (todo-mode): If called interactively, just
396 display a message saying to call todo-show to enter Todo mode
399 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
401 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
404 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
407 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
409 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
410 remote `buffer-file-name'.
412 2014-11-23 Leo Liu <sdl.web@gmail.com>
414 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
416 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
418 Set PYTHONUNBUFFERED on shell startup.
420 * progmodes/python.el (python-shell-unbuffered): New var.
421 (python-shell-calculate-process-environment): Use it.
423 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
425 * net/tramp.el (tramp-action-password): Clean password on subsequent
426 attempts even if there was no wrong password indication. (Bug#19047)
428 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
430 (tramp-open-connection-setup-interactive-shell): No need to check
431 for nil as `tramp-get-remote-locale' return value.
433 2014-11-21 Eli Zaretskii <eliz@gnu.org>
435 * vc/vc-git.el (vc-git-command, vc-git--call):
436 Bind coding-system-for-read and coding-system-for-write to
437 vc-git-commits-coding-system.
438 (vc-git-previous-revision): Use "~1" instead of "^", since the
439 latter is a special character for MS-Windows system shells.
441 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
443 Improve XEmacs compatibility.
445 * net/tramp.el (tramp-autoload-file-name-handler):
446 Wrap `temporary-file-directory' by `symbol-value', it doesn't
448 (tramp-read-passwd): Don't use `with-timeout-suspend' and
449 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
450 (tramp-time-less-p, tramp-time-subtract): Remove functions.
451 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
452 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
453 * net/tramp-cache.el (tramp-get-file-property):
454 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
455 Use `time-less-p' and `time-subtract, respectively.
457 * net/tramp-adb.el (top): Do not require time-date.el.
459 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
461 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
462 Check, whether `utf-8' is a valid coding system.
464 2014-11-19 Eli Zaretskii <eliz@gnu.org>
466 * vc/vc.el (vc-retrieve-tag): Doc fix.
468 2014-11-17 Eli Zaretskii <eliz@gnu.org>
470 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
471 Don't assume --long is the default for "bzr log", always specify
472 it explicitly, in case the user defined an alias for 'log' that
473 uses some other format.
475 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
477 * progmodes/python.el (python-eldoc--get-doc-at-point):
478 Strip shell output before returning. (bug#18794)
480 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
482 Fix indentation before `!=' and after `+='. Originally reported
483 in https://github.com/mooz/js2-mode/issues/174.
484 * progmodes/js.el (js--indent-operator-re): Make assignments and
485 (in)equality operator a separate case.
486 (js--continued-expression-p): Escape the second `+' in the regexp.
488 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
490 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
492 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
494 * version.el (emacs-repository-get-version): Use git rev-parse
497 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
499 * progmodes/python.el (python-indent-calculate-levels):
500 Fix indentation behavior multiline dedenter statement. (Bug#18432)
502 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
504 * progmodes/python.el (python-indent-region):
505 Use python-indent-line and skip special cases. (Bug#18843)
507 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
509 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
511 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
513 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
514 envelope-from when reporting through sendmail (bug#19054).
516 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
518 * progmodes/python.el (python-ffap-module-path):
519 Use `derived-mode-p' instead of equality test on `major-mode'.
521 2014-11-13 Ulrich Müller <ulm@gentoo.org>
523 * version.el (emacs-repository-get-version): Call `git log'
524 command with proper format argument (bug#19049).
526 2014-11-10 Glenn Morris <rgm@gnu.org>
528 * startup.el (command-line): Handle nil elements in load-path.
530 2014-11-08 Glenn Morris <rgm@gnu.org>
532 * emacs-lisp/bytecomp.el (byte-compile-report-error):
533 Allow the argument to be a string. Due to the vague doc,
534 it was already being used this way.
536 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
538 * net/tramp.el (tramp-check-cached-permissions): Include hop in
539 the constructed Tramp file name. (Bug#18943)
541 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
543 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
545 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
546 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
548 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
550 * files.el (file-name-non-special): Wrap the call of
551 `insert-file-contents' by `unwind-protect', in order to set the
552 buffer's file name anyway. (Bug#18891)
554 2014-11-07 Daiki Ueno <ueno@gnu.org>
556 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
557 (bug#18979). Reported by Hideki Saito.
559 2014-10-18 Alan Mackenzie <acm@muc.de>
561 Check that a "macro" found near point-min isn't a ## operator.
562 Fixes bug #18749. Backported from trunk, 2014-11-05.
563 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
564 (c-beginning-of-macro): Use the above new function.
566 2014-11-05 Alan Mackenzie <acm@muc.de>
568 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
569 * progmodes/cc-fonts.el (c-font-lock-declarations):
570 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
571 the buffer is sometimes narrowed to less than "limit" (e.g., in
572 the presence of macros).
574 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
576 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
577 only when message appeared in minibuffer. (Bug#18891)
579 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
580 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
581 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
584 2014-11-04 Eli Zaretskii <eliz@gnu.org>
586 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
587 returned by load-average.
589 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
592 a local copy; setting `inhibit-file-name-handlers' proper might be
593 more performant. (Bug#18751)
595 2014-11-04 Glenn Morris <rgm@gnu.org>
597 * mail/emacsbug.el (report-emacs-bug): No longer include
598 recent-keys in the report. (Bug#18900)
600 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
602 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
603 local copy of FILENAME, when it is remote. (Bug#18751)
605 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
607 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
608 an error when the command fails; the return code must indicate.
609 (tramp-adb-send-command-and-check): Fix docstring.
611 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
613 * net/tramp-cache.el (tramp-get-file-property)
614 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
615 and `tramp-cache-set-count-*' are bound. Otherwise, there might
616 be compiler warnings.
618 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
619 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
621 2014-11-01 Eli Zaretskii <eliz@gnu.org>
623 * progmodes/compile.el (compilation-mode): Turn off deferred
624 fontifications locally. (Bug#18856)
626 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
628 * net/tramp-sh.el (tramp-send-command): Fix the case where the
629 remote-echo connection property is non-nil (bug#18858).
631 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
633 Backport Tramp changes from trunk.
635 * net/tramp.el (tramp-methods): Tweak docstring.
636 (tramp-file-name-handler): Apply `cons' where appropriate.
637 (tramp-handle-file-accessible-directory-p): Check for
638 `file-readable-p' instead of `file-executable-p'.
639 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
640 (tramp-handle-unhandled-file-name-directory): Return "/".
641 (tramp-check-cached-permissions):
642 Use `tramp-compat-file-attributes'.
643 (tramp-call-process): Add new argument VEC. Adapt callees in all
646 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
647 (tramp-adb-handle-write-region): Improve messages.
648 (tramp-adb-maybe-open-connection): Don't set
649 `tramp-current-*' variables.
651 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
652 Suppress debug messages.
654 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
655 (tramp-ftp-file-name-handler):
657 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
658 (tramp-gvfs-methods-mounttracker)
659 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
660 during initialization. (Bug#18774)
661 (tramp-gvfs-handle-delete-file): Flush file properties, not
662 directory properties.
663 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
664 reading "unix::mode".
665 (tramp-gvfs-handle-file-name-all-completions):
666 Use "-h" option for "gvfs-ls".
667 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
668 `user' and `localname' could be nil.
669 (tramp-gvfs-send-command): Simplify traces.
671 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
672 (vc-git-program, vc-hg-program): Declare.
673 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
674 (tramp-methods) <nc>: Add new method.
675 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
676 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
678 (tramp-default-user-alist): Add "nc".
679 (top): Remove completion function for "sftp". Add completion
680 functions for "nc" and "psftp".
681 (tramp-sh-handle-set-visited-file-modtime):
682 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
683 (tramp-do-copy-or-rename-file-out-of-band):
684 Use cached "remote-copy-args" value, if available. (Bug#18199)
685 Tweak docstring. Implement support for "nc" method.
686 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
687 (tramp-remote-coding-commands, tramp-call-local-coding-command):
689 (tramp-sh-handle-start-file-process): Expand `default-directory'.
690 (tramp-sh-handle-write-region): Tweak error message.
691 (tramp-sh-handle-vc-registered): Remove backends when the remote
692 binary does not exist.
693 (tramp-open-connection-setup-interactive-shell):
694 Prefer utf-8 coding. (Bug#17859)
695 (tramp-find-inline-encoding): Do not raise an error.
696 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
697 the "nc" case. Quote result also locally.
698 (tramp-get-remote-id): Check also for "gid".
699 (tramp-get-remote-python):
701 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
702 (tramp-smb-handle-set-file-acl): Use `start-process'.
703 (tramp-smb-handle-insert-directory): Use progress reporter.
704 (tramp-smb-handle-rename-file): Flush also file properties of
707 * net/trampver.el: Update release number.
709 2014-11-01 Reuben Thomas <rrt@sc3d.org>
711 * net/tramp.el (tramp-handle-file-symlink-p):
712 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
713 about VMS, which we no longer support.
715 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
717 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
718 the global vc-handled-backends (bug#18535).
720 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
721 Michael Albinus <michael.albinus@gmx.de>
723 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
724 Reduce the amount of set environment variable commands.
726 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
728 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
731 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
733 * net/tramp-sh.el (tramp-get-remote-python): Also search for
734 executables named "python2" or "python3".
735 (tramp-get-remote-uid-with-python): Use parentheses around
736 arguments to `print' to make it compatible with Python 3.
737 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
739 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
741 * simple.el (newline): Add assertions to try and help catch bug#18913.
743 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
745 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
747 2014-10-31 Eli Zaretskii <eliz@gnu.org>
749 * Makefile.in (repo-update): Fix a typo and slightly reword
752 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
754 * Makefile.in: Change some production names so they're neutral
755 about the repository type.
757 2014-10-30 Kim F. Storm <storm@cua.dk>
759 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
760 * delsel.el (delete-selection-save-to-register)
761 (delsel--replace-text-or-position): New vars.
762 (delete-active-region): Use them.
763 (delete-selection-repeat-replace-region): New command, moved from
765 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
766 (cua-repeat-replace-region): Move command to delsel.el.
767 (cua--init-keymaps): Update binding accordingly.
768 (cua-mode): Set delete-selection-save-to-register.
770 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
772 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
774 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
776 2014-10-29 Eli Zaretskii <eliz@gnu.org>
778 * progmodes/compile.el (compilation-start):
779 If compilation-scroll-output is non-nil, don't force window-start of
780 the compilation buffer to be at beginning of buffer. (Bug#18874)
782 2014-10-23 Tassilo Horn <tsdh@gnu.org>
784 * doc-view.el (doc-view-open-text): View the document's plain text
785 in the current buffer instead of a new one.
786 (doc-view-toggle-display): Handle the case where the current
787 buffer contains the plain text contents of the document.
788 (doc-view-initiate-display): Don't switch to fallback mode if the
789 user wants to view the doc's plain text. [Backport]
791 2014-10-23 Eli Zaretskii <eliz@gnu.org>
793 * startup.el (fancy-about-text): Read the entire tutorial, not
794 just its first 256 bytes. (Bug#18760)
796 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
798 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
799 * emacs-lisp/cl-extra.el: Add missing provide.
801 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
803 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
804 all args are copyable (bug#18767).
805 (=, <, >, <=, >=): Re-enable the optimization.
807 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
809 * vc/vc-hg.el (vc-hg-log-graph): New var.
810 (vc-hg-print-log): Use it.
811 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
812 graph output (bug#17515).
814 2014-10-20 Juri Linkov <juri@jurta.org>
816 * vc/diff-mode.el (diff-refine-changed): Rename from
817 `diff-refine-change' for consistency with `diff-changed'.
818 (diff-refine-change): Add obsolete face alias. (Bug#10181)
820 * vc/smerge-mode.el (smerge-refined-changed): Rename from
821 `smerge-refined-change'.
822 (smerge-refined-change): Add obsolete face alias.
824 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
826 * subr.el (call-process-shell-command, process-file-shell-command):
827 Make the `args' obsolete (bug#18409).
828 (start-process-shell-command, start-file-process-shell-command):
831 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
833 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
835 2014-10-20 Glenn Morris <rgm@gnu.org>
837 * dired.el (dired-read-regexp): Make obsolete.
838 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
839 (dired-flag-files-regexp):
840 * dired-aux.el (dired-mark-read-regexp):
841 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
843 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
845 * progmodes/python.el (inferior-python-mode): Use add-hook.
847 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
849 2014-10-20 Glenn Morris <rgm@gnu.org>
851 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
852 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
853 * emulation/ws-mode.el: Move to obsolete/. [Backport]
855 2014-10-20 Glenn Morris <rgm@gnu.org>
857 * cus-start.el (history-length): Bump :version. [Backport]
859 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
861 * obsolete/cc-compat.el: Make obsolete (bug#18561).
863 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
865 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
868 2014-10-20 Glenn Morris <rgm@gnu.org>
870 * Version 24.4 released.
872 2014-10-15 Alan Mackenzie <acm@muc.de>
874 * cus-edit.el (custom-command-apply): Specify the return value in
876 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
877 custom-command-apply has returned non-nil.
879 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
881 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
882 Backported (bug#18688).
884 2014-10-14 Eli Zaretskii <eliz@gnu.org>
886 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
887 Force bidi-paragraph-direction to 'left-to-right'. This fixes
888 buffer-menu display when the first buffer happens to start with
891 2014-10-13 Glenn Morris <rgm@gnu.org>
893 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
894 (authors-obsolete-files-regexps): Additions.
895 (authors-no-scan-regexps): New constant.
896 (authors-no-scan-file-p): New function.
897 (authors): Respect authors-no-scan-file-p.
899 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
901 Fix import completion. (Bug#18582)
902 * progmodes/python.el (python-shell-completion-get-completions):
903 Fix import case regexp.
905 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
907 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
908 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
909 * progmodes/prolog.el (prolog-electric--underscore): Same.
911 2014-10-09 Glenn Morris <rgm@gnu.org>
913 * frame.el (display-monitor-attributes-list): Doc tweaks.
915 2014-10-08 Eli Zaretskii <eliz@gnu.org>
917 * faces.el (display-grayscale-p): Mention in the doc string that
918 the argument can be either a display name or a frame.
920 * frame.el (display-pixel-height, display-pixel-width)
921 (display-mm-height, display-mm-width, display-backing-store)
922 (display-save-under, display-planes, display-color-cells)
923 (display-visual-class, display-monitor-attributes-list)
924 (display-screens): Mention in the doc string that the argument can
925 be either a display name or a frame. Improve the docs of the
926 monitor attributes. (Bug#18636)
928 2014-10-06 Martin Rudalics <rudalics@gmx.at>
930 * term.el (term-window-width): Subtract 1 from the width when
931 any fringe has zero width, not just the right fringe. (Bug#18601)
933 2014-10-05 Leo Liu <sdl.web@gmail.com>
935 * imenu.el (imenu-default-goto-function): Fix typo.
937 2014-10-04 Glenn Morris <rgm@gnu.org>
939 * frame.el (frame-monitor-attributes)
940 (display-monitor-attributes-list): Doc fixes.
942 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
944 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
945 (vc-svn-ignore): Use it. (Bug#18619)
947 2014-10-03 Martin Rudalics <rudalics@gmx.at>
949 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
950 In doc-string mention need to set `frame-resize-pixelwise'.
952 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
954 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
955 similarly to Rogers's 2010-06-16 change for the remote case
958 2014-10-01 Glenn Morris <rgm@gnu.org>
960 * emacs-lisp/package.el (package-import-keyring):
961 Create gnupg directory private. (Bug#17625#155)
963 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
965 * progmodes/python.el (python-shell-completion-get-completions):
966 Use python-shell--prompt-calculated-input-regexp from the
967 process buffer (bug#18582).
968 Don't assume that `line' comes from the process buffer.
970 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
972 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
975 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
977 * emacs-lisp/package.el (package-check-signature): Default to nil if
978 GPG is not available.
979 (package-refresh-contents): Don't mess with the keyring if we won't
980 check the signatures anyway.
982 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
984 * window.el (fit-window-to-buffer): When counting buffer width,
985 count the whole visible buffer. Correctly convert the body-height
986 to pixel size for window-text-pixel-size (Bug#18498).
988 2014-09-14 Glenn Morris <rgm@gnu.org>
990 * image.el (image-multi-frame-p): Fix thinko - do not force
991 a delay if none was specified. (Bug#18334)
993 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
995 * window.el (fit-window-to-buffer): Doc fix.
997 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
999 * desktop.el (desktop-create-buffer): Check that buffers are still live
1000 before burying them (bug#18373).
1002 2014-09-09 Glenn Morris <rgm@gnu.org>
1004 * calendar/diary-lib.el (diary-list-entries):
1005 Restore 24.3 display behavior. (Bug#18381)
1007 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1009 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1010 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1011 discrepancy between window-pixel-edges and mouse events, and
1012 avoids moving mode line up when the mouse click is on the modeline
1013 and no drag is attempted.
1015 2014-09-08 Glenn Morris <rgm@gnu.org>
1017 * calendar/calendar.el (calendar-basic-setup):
1018 Avoid clobbering calendar with diary. (Bug#18381)
1020 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1024 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1026 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1027 as well (bug#18400).
1029 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1031 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1033 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * emacs-lisp/package.el (package-generate-description-file):
1036 Properly quote the arguments (bug#18332). Change second arg.
1037 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1039 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1040 the *-pkg.el file. Adjust to new calling convention of
1041 package-generate-description-file.
1043 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1044 (gud-gdb-completions): Remove obsolete workaround.
1046 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1048 * subr.el (posn-col-row): Revert the change from commit
1049 2010-11-13T21:07:58Z!eliz@gnu.org, which
1050 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1051 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1052 introduced an off-by-one error in the reported row when there is a
1053 header line. (Bug#18384)
1055 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1057 * progmodes/python.el (python-indent-post-self-insert-function):
1058 Avoid electric colon at beginning-of-defun. (Bug#18228)
1060 2014-09-01 Glenn Morris <rgm@gnu.org>
1062 * tutorial.el (tutorial--display-changes):
1063 Fix 2014-07-29 change. (Bug#18382)
1065 2014-08-29 Ken Brown <kbrown@cornell.edu>
1067 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1068 the Cygwin-w32 build. (Bug#18347)
1070 2014-08-28 Glenn Morris <rgm@gnu.org>
1072 * tar-mode.el (tar--extract, tar-extract):
1073 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1075 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1077 * emacs-lisp/authors.el (authors-aliases): Addition.
1079 * net/tramp-adb.el: Spell author name correctly.
1081 2014-08-27 João Távora <joaotavora@gmail.com>
1083 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1084 use url-expand-file-name. (Bug#18310)
1086 2014-08-25 Glenn Morris <rgm@gnu.org>
1088 * emulation/cua-rect.el (cua--highlight-rectangle):
1089 Avoid error at point-min. (Bug#18309)
1091 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1093 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1094 executable-find (bug#18244).
1096 * simple.el (self-insert-uses-region-functions): Defvar.
1098 2014-08-13 Leo Liu <sdl.web@gmail.com>
1100 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1101 elements from imenu.
1103 2014-08-11 Glenn Morris <rgm@gnu.org>
1105 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1107 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1108 chose coding system for writing before backing up, since it causes
1109 a more serious problem than the one it solves. (Closes Bug#18141,
1112 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1114 * window.el (window-total-size): Make doc-string more
1117 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1119 * window.el (display-buffer-below-selected): Restore original
1120 behavior if buffer is already displayed in the window below the
1121 selected one (Bug#18181).
1123 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1128 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1130 * info.el (info): Doc fix.
1132 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1134 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1137 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1139 * simple.el (default-line-height): A floating-point value of
1140 line-spacing means a fraction of the default frame font's height,
1141 not of the font currently used by the 'default' face.
1142 Truncate the pixel value, like the display engine does.
1143 (window-screen-lines): Use window-inside-pixel-edges for
1144 determining the window height in pixels. (Bug#18195)
1146 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1148 * tutorial.el (tutorial--display-changes): Accept punctuation
1149 characters before the key binding. (Bug#18146)
1151 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1153 * doc-view.el (doc-view-open-text): Don't require that the
1154 document is saved in a file (e.g., email attachment).
1156 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1158 * window.el (window--pixel-to-total): Use FRAME's root window, not
1159 that of the selected frame. (Bug#18112, Bug#16674)
1161 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1163 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1166 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1168 * progmodes/python.el (inferior-python-mode): Doc fix.
1170 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1172 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1173 not a character, ignore it instead of raising an error.
1175 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1177 * calendar/todo-mode.el: Fix handling of marked items and make
1178 minor code improvements.
1179 (todo-edit-item): If there are marked items, ensure user can only
1180 invoke editing commands that work with marked items.
1181 (todo-edit-item--text): When there are marked items, make it a
1182 noop if invoked with point not on an item; otherwise, ensure it
1183 applies only to item at point.
1184 (todo-item-undone): If there are marked not-done items, return
1185 point to its original position before signaling user error.
1186 (todo--user-error-if-marked-done-item): New function.
1187 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1188 (todo-item-done): Use it.
1190 2014-07-25 Glenn Morris <rgm@gnu.org>
1192 * files.el (toggle-read-only): Re-add basic doc-string.
1193 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1195 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1196 Replace missing `switch-to-prolog' with `run-prolog'.
1197 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1199 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1201 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1202 of file-wide setting when changing category-wide setting.
1204 2014-07-21 Glenn Morris <rgm@gnu.org>
1206 * progmodes/hideif.el (hide-ifdef-mode-submap):
1207 Also substitute read-only-mode.
1208 * bindings.el (mode-line-toggle-read-only):
1209 * bs.el (bs-toggle-readonly):
1210 * buff-menu.el (Buffer-menu-toggle-read-only):
1211 * dired.el (dired-toggle-read-only):
1212 * files.el (view-read-only, find-file-read-only)
1213 (find-file-read-only-other-window)
1214 (find-file-read-only-other-frame):
1215 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1216 Doc fixes re toggle-read-only.
1218 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1220 * progmodes/python.el: Add comment about pipe buffering and
1221 solutions for missing/delayed output in inferior Python shells.
1224 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1226 * progmodes/python.el (python-mode): Don't set
1227 mode-require-final-newline. (Bug#17990)
1229 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1231 Make python.el work with IPython automatically. (Bug#15510)
1232 * progmodes/python.el:
1233 (python-shell-completion-setup-code): New value supporting iPython.
1234 (python-shell-completion-string-code): New value supporting iPython.
1235 (python-shell-completion-get-completions): Use them.
1236 (python-shell-completion-module-string-code): Make obsolete.
1237 (python-shell-prompt-input-regexps)
1238 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1239 (python-shell-output-filter): Fix comment typo.
1241 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1243 Fix Python shell prompts detection for remote hosts.
1244 * progmodes/python.el (python-shell-prompt-detect):
1245 Replace call-process with process-file and make it more robust.
1247 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1249 Autodetect Python shell prompts. (Bug#17370)
1250 * progmodes/python.el:
1251 (python-shell-interpreter-interactive-arg)
1252 (python-shell-prompt-detect-enabled)
1253 (python-shell-prompt-detect-failure-warning)
1254 (python-shell-prompt-input-regexps)
1255 (python-shell-prompt-output-regexps): New vars.
1256 (python-shell-prompt-calculated-input-regexp)
1257 (python-shell-prompt-calculated-output-regexp): New vars.
1258 (python-shell-get-process-name)
1259 (python-shell-internal-get-process-name)
1260 (python-shell-output-filter)
1261 (python-shell-completion-get-completions): Use them.
1262 (python-shell-prompt-detect)
1263 (python-shell-prompt-validate-regexps): New functions.
1264 (python-shell-prompt-set-calculated-regexps): New function.
1265 (inferior-python-mode): Use it. Also honor overridden
1266 python-shell-interpreter and python-shell-interpreter-args.
1267 (python-shell-make-comint): Honor overridden
1268 python-shell-interpreter and python-shell-interpreter-args.
1269 (python-shell-get-or-create-process): Make it testable by allowing
1270 to call run-python non-interactively.
1271 (python-util-valid-regexp-p): New function.
1272 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1273 (python-shell-prompt-output-regexp)
1274 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1276 2014-07-16 Glenn Morris <rgm@gnu.org>
1278 * desktop.el (after-init-hook): Disable startup frame restoration
1279 in non-graphical situations. (Bug#17693)
1281 2014-07-14 Glenn Morris <rgm@gnu.org>
1283 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1284 if it was "empty", or used for a different set of files. (Bug#17884)
1286 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1288 * bindings.el (mode-line-remote): If default-directory is not a
1289 string, don't call file-remote-p on it; instead state in the
1290 help-echo that it is nil. (Bug#17986)
1292 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1294 Fix bug: C-x v v discarded existing log message (Bug#17884).
1295 * vc/vc-dispatcher.el (vc-log-edit):
1296 Don't clobber an already-existing log message.
1298 2014-07-10 Glenn Morris <rgm@gnu.org>
1300 * vc/log-edit.el (log-edit-changelog-entries):
1301 Check for a visited-but-never-saved ChangeLog.
1303 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1306 a non-existing file (bug#17970).
1308 * faces.el (face-name): Undo last change.
1309 (x-resolve-font-name): Don't call face-name (bug#17956).
1311 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1313 Fix dedenters and electric colon handling. (Bug#15163)
1315 * progmodes/python.el
1316 (python-rx-constituents): Add dedenter and block-ender.
1317 (python-indent-dedenters, python-indent-block-enders): Delete.
1318 (python-indent-context): Return new case for dedenter-statement.
1319 (python-indent-calculate-indentation): Handle new case.
1320 (python-indent-calculate-levels): Fix levels calculation for
1321 dedenter statements.
1322 (python-indent-post-self-insert-function): Fix colon handling.
1323 (python-info-dedenter-opening-block-message): New function.
1324 (python-indent-line): Use it.
1325 (python-info-closing-block)
1326 (python-info-closing-block-message): Remove.
1327 (python-info-dedenter-opening-block-position)
1328 (python-info-dedenter-opening-block-positions)
1329 (python-info-dedenter-statement-p): New functions.
1331 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1334 the middle of a line (bug#17896).
1336 2014-07-08 Juri Linkov <juri@jurta.org>
1338 * startup.el (command-line): Append displaying the warning about
1339 the errors in the init file to the end of `after-init-hook'.
1342 2014-07-08 Juri Linkov <juri@jurta.org>
1344 * faces.el (face-name): Return input arg `face' as is
1345 when it's not a symbol.
1346 (x-resolve-font-name): Don't check if the face is a symbol.
1349 2014-07-08 Juri Linkov <juri@jurta.org>
1351 * facemenu.el (list-colors-print): In help-echo format use %.2f
1352 instead of %d because now HSV values are floating-point components
1353 between 0.0 and 1.0.
1355 2014-07-06 Glenn Morris <rgm@gnu.org>
1357 * emulation/cua-rect.el (cua--activate-rectangle):
1358 Avoid setting cua--rectangle to nil. (Bug#17877)
1360 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1362 * calendar/todo-mode.el: Fix wrong-type-argument error when
1363 marking multiple consecutive items.
1364 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1365 end of the todo and done items sections. Note in doc string that
1366 items marked by passing a numeric prefix argument can include the
1367 last todo and first done items.
1368 (todo-mark-category): Don't try to mark the empty line between the
1369 todo and done items sections.
1371 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1373 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1374 proper Lisp quoting (bug#17934).
1376 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1377 require-final-newline since prog-mode already took care of it (bug#17947).
1379 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1381 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1382 refer to the Todo mode Info manual. Update the comment on
1384 (todo-find-filtered-items-file): Add todo-prefix overlays.
1385 (todo-filter-items): Reorder a let-bound variable to avoid a
1386 wrong-type-argument error on canceling the file choice dialog.
1388 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * progmodes/octave.el (inferior-octave-mode):
1391 Set comint-input-ring-size to a number (bug#17912).
1393 2014-07-03 Juri Linkov <juri@jurta.org>
1395 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1396 and `isearch-mode' associated with nil. (Bug#17849)
1398 2014-07-02 Juri Linkov <juri@jurta.org>
1400 * desktop.el (desktop-save): Rename arg `auto-save' to
1401 `only-if-changed'. Doc fix. (Bug#17873)
1403 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1406 Use insert-for-yank (bug#17271).
1408 2014-07-02 Leo Liu <sdl.web@gmail.com>
1410 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1411 Support lexical-binding.
1413 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1415 * vc/log-edit.el (log-edit-goto-eoh): New function.
1416 (log-edit--match-first-line): Use it (bug#17861).
1418 2014-07-01 Glenn Morris <rgm@gnu.org>
1420 * vc/log-edit.el (log-edit-hook): Add missing :version.
1422 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1424 * progmodes/python.el (python-indent-post-self-insert-function):
1425 Enhancements to electric indentation behavior inside
1428 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1431 buffer-invisibility-spec (bug#17867).
1433 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1435 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1438 2014-06-29 Glenn Morris <rgm@gnu.org>
1440 * cus-edit.el (help):
1441 * finder.el (finder-known-keywords):
1442 * help.el (help-for-help-internal):
1443 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1444 (ediff-redraw-registry-buffer):
1445 * vc/ediff-ptch.el (ediff-patch-file-internal):
1446 Doc fixes re "online" help. (Bug#17803)
1448 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1449 (idlwave-mode): Doc URL update.
1451 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1453 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1454 account for file-wide setting of todo-top-priorities-overrides.
1455 Make code a bit cleaner.
1457 2014-06-27 Leo Liu <sdl.web@gmail.com>
1459 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1461 2014-06-27 Glenn Morris <rgm@gnu.org>
1463 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1465 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1467 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1468 category-wide setting of todo-top-priorities-overrides, check for
1469 a file-wide setting and fontify accordingly.
1471 2014-06-26 Glenn Morris <rgm@gnu.org>
1473 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1475 2014-06-26 Daiki Ueno <ueno@gnu.org>
1477 * emacs-lisp/package.el (package--check-signature):
1478 If package-check-signature is allow-unsigned, don't signal error when
1479 we can't verify signature because of missing public key
1480 (backport for bug#17625).
1482 2014-06-26 Glenn Morris <rgm@gnu.org>
1484 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1485 Remove outdated declaration.
1487 * emacs-lisp/authors.el (authors-valid-file-names)
1488 (authors-renamed-files-alist): Additions.
1490 2014-06-25 Leo Liu <sdl.web@gmail.com>
1492 * textmodes/picture.el (picture-set-tab-stops):
1493 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1494 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1496 * progmodes/asm-mode.el (asm-calculate-indentation):
1497 Use indent-next-tab-stop.
1499 * indent.el (indent-accumulate-tab-stops): New function.
1501 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1504 (package-desc-status): Obey it.
1506 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1508 * calendar/todo-mode.el: Fix two bugs.
1509 (todo-insert-item--basic): If user cancels item insertion to
1510 another category before setting priority, show original category
1511 whether it is in the same or a different file.
1512 (todo-set-item-priority): After selecting category, instead of
1513 moving point to top, which extends an active region, restore it.
1515 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1517 * help-fns.el (describe-function-1): Check file-name is a string before
1518 calling help-fns--autoloaded-p (bug#17564).
1520 2014-06-24 Juri Linkov <juri@jurta.org>
1522 * desktop.el (desktop-auto-save-enable)
1523 (desktop-auto-save-disable): New functions.
1524 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1525 (desktop-read): Disable the autosave before loading the desktop,
1526 and enable afterwards. (Bug#17351)
1528 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1530 Fix some indentation problem with \; and pipes (bug#17842).
1531 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1532 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1534 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1535 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1536 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1538 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1540 * international/fontset.el (script-representative-chars):
1541 Add representative characters for scripts added in Unicode 7.0.
1542 (otf-script-alist): Synchronize with the latest registry of OTF
1545 * international/characters.el (char-script-table): Update for
1546 scripts added and codepoint ranges changed in Unicode 7.0.
1548 2014-06-23 Leo Liu <sdl.web@gmail.com>
1550 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1551 tab-stop-list to nil. (Bug#16381)
1553 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1554 (indent-rigidly-left-to-tab-stop)
1555 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1556 (move-to-tab-stop): Change callers.
1558 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1560 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1561 wrt behavior of \n as the first/last element of a skeleton.
1563 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1565 * net/tramp-adb.el (tramp-adb-handle-process-file):
1566 * net/tramp-sh.el (tramp-sh-handle-process-file):
1567 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1568 the output buffer when DISPLAY is non-nil. (Bug#17815)
1570 2014-06-21 Glenn Morris <rgm@gnu.org>
1572 * play/landmark.el (landmark-move-down, landmark-move-up):
1573 Fix 2007-10-20 change - preserve horizontal position.
1575 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1577 Fix completion retrieval parsing (bug#17209).
1578 * progmodes/python.el (python-mode):
1579 (python-util-strip-string): New function.
1580 (python-shell-completion-get-completions): Use it.
1582 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1584 * skeleton.el (skeleton-insert): Fix last change.
1586 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1588 Enhancements for outline integration (bug#17796).
1589 * progmodes/python.el (python-mode): Properly set
1590 outline-heading-end-regexp so that comments after colons for
1591 defuns are supported.
1593 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1595 * skeleton.el (skeleton-insert): Doc fix.
1597 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1600 (smie-config-guess): Use smie-config-local so the rules are obeyed
1603 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1604 since it's already done inside the loop (bug#17819).
1606 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1608 * mouse.el (mouse-drag-line): Re-remove code initially removed
1609 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1612 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1614 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1615 align with the surrounding parent (bug#17721).
1617 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1619 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1621 (texinfo-insert-block, texinfo-insert-@end)
1622 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1623 local setting of skeleton-end-newline by adding an explicit \n to
1624 the skeletons where appropriate. (Bug#17801)
1626 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1629 (smie-indent--hanging-p): Use it.
1630 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1632 2014-06-20 Leo Liu <sdl.web@gmail.com>
1634 * simple.el (read-quoted-char): Don't let help chars pop up help
1637 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1642 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1644 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1645 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1648 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1650 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1651 and later. (Bug#17790)
1653 2014-06-18 Juri Linkov <juri@jurta.org>
1655 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1656 to `soft'. (Bug#17554)
1658 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1660 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1663 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1665 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1666 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1668 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1670 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1671 `unread-command-events'.
1673 2014-06-14 Glenn Morris <rgm@gnu.org>
1675 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1676 Replace delete-duplicates and mapcan by cl- versions throughout.
1677 And cl-macroexpand-all by macroexpand-all.
1678 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1680 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1682 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1684 2014-06-14 Juri Linkov <juri@jurta.org>
1686 * bindings.el: Put `ascii-character' property on keypad keys
1687 mapped to characters. (Bug#17759)
1689 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1692 bumping forward into a closing paren (bug#17761).
1694 * term/xterm.el (xterm--version-handler): Work around for OSX
1695 Terminal.app (bug#17607).
1697 2014-06-08 Glenn Morris <rgm@gnu.org>
1699 * startup.el (initial-buffer-choice): Doc fix.
1700 Reset :version (adding an option does not merit a :version bump).
1702 * bookmark.el (bookmark-load):
1703 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1705 2014-06-06 Juri Linkov <juri@jurta.org>
1707 * desktop.el: Activate auto-saving on window configuration changes.
1708 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1709 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1710 (desktop-auto-save-set-timer): Change REPEAT arg of
1711 `run-with-idle-timer' from t to nil.
1712 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1714 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1716 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1717 vc-hg-command (bug#17570).
1719 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1724 2014-06-06 Glenn Morris <rgm@gnu.org>
1726 * startup.el (window-setup-hook): Doc fix.
1728 2014-06-05 Glenn Morris <rgm@gnu.org>
1730 * emacs-lisp/package.el (package-check-signature)
1731 (package-unsigned-archives): Doc fixes.
1733 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1735 * window.el (display-buffer-use-some-window): Don't make window
1736 used smaller than it was before (Bug#17671).
1738 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1740 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1741 'redisplay' instead of '(sit-for 0)'.
1743 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1745 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1748 2014-06-03 Glenn Morris <rgm@gnu.org>
1750 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1752 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1754 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1756 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1758 * simple.el (keyboard-quit): Force update of mode lines, to remove
1759 the "Def" indicator, if we were defining a macro. (Bug#17615)
1761 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1763 * minibuffer.el (minibuffer-force-complete-and-exit):
1764 Obey minibuffer-default (bug#17545).
1766 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1769 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1771 * subr.el (set-transient-map): Don't wait for some "nested"
1772 transient-map to finish if we're only supposed to be active for
1773 the next command (bug#17642).
1775 2014-05-31 Leo Liu <sdl.web@gmail.com>
1777 * emacs-lisp/gv.el (window-buffer, window-display-table)
1778 (window-dedicated-p, window-hscroll, window-point, window-start):
1779 Fix gv-expander. (Bug#17630)
1781 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1783 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1786 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1787 for the single comma, since ", " is *very* common in normal French text
1790 2014-05-30 Glenn Morris <rgm@gnu.org>
1792 * emacs-lisp/package.el (package-check-signature)
1793 (package-unsigned-archives): Fix :version.
1795 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1797 * subr.el (sit-for): Don't run input-methods (bug#15614).
1799 2014-05-28 Glenn Morris <rgm@gnu.org>
1801 * cus-start.el: Fix some :version numbers.
1803 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1805 * simple.el (deactivate-mark): Set mark-active to nil even if
1806 deactivation is done via setting transient-mark-mode to nil,
1807 since one is buffer-local and the other is global.
1809 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1810 there can't be more than 2 arguments (bug#17584).
1812 2014-05-27 Glenn Morris <rgm@gnu.org>
1814 * simple.el (filter-buffer-substring-functions)
1815 (filter-buffer-substring-function, buffer-substring-filters)
1816 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1818 * minibuffer.el (completion-in-region-functions, completion-in-region)
1819 (completion--in-region): Doc fixes.
1821 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1822 (expand-abbrev, abbrev--default-expand): Doc fixes.
1824 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1826 Include sources used to create macuvs.h.
1827 * international/README: Refer to the Unicode Terms of Use rather
1828 than copying it bodily here, as that simplifies maintenance.
1830 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1832 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1834 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1836 * window.el (window--dump-frame): Remove interactive
1839 2014-05-23 Glenn Morris <rgm@gnu.org>
1841 * hippie-exp.el (he-line-search-regexp):
1842 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1844 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1846 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1847 to avoid errors when trying to create or visit a file foo.todo
1848 located outside to todo-directory, and to allow having such files
1849 without them being tied to Todo mode (bug#17482).
1850 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1851 (todo-archive-done-item, todo-find-filtered-items-file)
1852 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1853 (todo-category-completions, todo-read-category): When visiting a
1854 Todo file, make sure we're in the right mode and the buffer local
1856 (todo-make-categories-list, todo-reset-nondiary-marker)
1857 (todo-reset-done-string, todo-reset-comment-string):
1858 After processing all Todo files, kill the buffers of those files that
1859 weren't being visited before the processing.
1860 (todo-display-as-todo-file, todo-add-to-buffer-list)
1861 (todo-visit-files-commands): Comment out.
1862 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1863 (auto-mode-alist): Remove add-to-list calls making Todo file
1864 extensions unrestrictedly tied to Todo modes.
1866 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1869 (advice-function-member-p): Tell it to check both names and functions
1871 (advice--add-function): Adjust call accordingly.
1873 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1875 * calendar/todo-mode.el: Miscellaneous bug fixes.
1876 (todo-delete-file): When deleting an archive but not its todo
1877 file, make sure to update the todo file's category sexp.
1878 (todo-move-category): Keep the moved category's name unless the
1879 file moved to already has a category with that name. If the
1880 numerically last category of the source file was moved, make the
1881 first category current to avoid selecting a nonexisting category.
1882 (todo-merge-category): Fix implementation to make merging to a
1883 category in another file work as documented. Eliminate now
1884 insufficient and unnecessary renaming of archive category, correct
1885 document string accordingly, and clarify it. If the numerically
1886 last category of the source file was merged, make the first
1887 category current to avoid selecting a nonexisting category.
1888 (todo-archive-done-item): When there are marked items and point
1889 happens to be on an unmarked item, ignore the latter. Don't leave
1890 point below last item after archiving marked items.
1891 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1892 from an archive with only one category deletes the archive only
1893 when the category is empty after unarchiving. Make sure the todo
1894 file's category sexp is updated.
1895 (todo-read-file-name): Allow an existing file name even when it is
1896 not required (todo-move-category needs this to work as documented).
1897 (todo-add-file): Call todo-validate-name to reject the name of an
1898 existing todo file (needed due to fix in todo-read-file-name).
1899 (todo-reset-nondiary-marker): Also reset in filtered items files.
1900 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1901 regexp filtered items files.
1902 (todo-reset-highlight-item): Also reset in filtered items files.
1903 Fix incorrect variable reference in document string.
1905 2014-05-22 Glenn Morris <rgm@gnu.org>
1907 * window.el (window--dump-frame): Avoid error in --without-x builds.
1909 2014-05-21 Glenn Morris <rgm@gnu.org>
1911 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1913 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1915 * frame.el (set-frame-font): Doc fix.
1917 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1919 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1921 * emacs-lisp/package.el (package--download-one-archive):
1922 Use `write-region' instead of `save-buffer' to avoid running various
1924 (describe-package-1): Same. Insert newline at the end of the
1925 buffer if appropriate.
1927 2014-05-20 Juri Linkov <juri@jurta.org>
1929 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1930 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1931 Add more modifiers: meta, control, shift, hyper, super, alt.
1934 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1935 to allow changing its value with `set-variable'.
1937 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1941 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1943 (scheme-mode-variables): Set syntax-propertize-function instead of
1944 font-lock-syntactic-face-function.
1945 (scheme-font-lock-syntactic-face-function): Delete.
1947 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1949 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1954 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1956 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1957 for a temporary file name.
1959 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1961 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1963 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1965 * net/dbus.el (dbus-init-bus, dbus-call-method)
1966 (dbus-call-method-asynchronously, dbus-send-signal)
1967 (dbus-method-return-internal, dbus-method-error-internal):
1968 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1970 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1972 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1973 methods which do not have a doc string. (Bug#17490)
1975 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1976 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1981 2014-05-14 Glenn Morris <rgm@gnu.org>
1983 * vc/emerge.el (emerge-temp-file-prefix):
1984 Make pointless option obsolete.
1985 (emerge-temp-file-mode): Make non-functional option obsolete.
1987 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1989 * net/browse-url.el (browse-url):
1990 Use `unhandled-file-name-directory' when setting `default-directory',
1991 in order to circumvent stalled remote connections. (Bug#17425)
1993 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1995 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1996 into autoloading just because of a silly indirection.
1998 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2000 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2002 2014-05-11 Glenn Morris <rgm@gnu.org>
2004 * emacs-lisp/find-gc.el: Move to ../admin.
2006 2014-05-10 Glenn Morris <rgm@gnu.org>
2008 * printing.el (pr-version):
2009 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2011 * net/browse-url.el (browse-url-mosaic):
2012 Create /tmp/Mosaic.PID as a private file.
2014 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2016 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2017 (advice--member-p): If name is given, only compare the name.
2018 (advice--remove-function): Don't stop at the first match.
2019 (advice--normalize-place): New function.
2020 (add-function, remove-function): Use it.
2021 (advice--add-function): Pass the name, if any, to
2022 advice--remove-function.
2024 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2026 * electric.el (electric-indent-post-self-insert-function): Don't use
2027 `pos' after modifying the buffer (bug#17449).
2029 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * subr.el (function-put): Add function.
2033 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2035 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2036 Correct argument list to conform to todo-insert-item--basic.
2038 2014-05-09 Glenn Morris <rgm@gnu.org>
2040 * files.el (cd-absolute): Test if directory is accessible
2041 rather than executable. (Bug#17330)
2043 * progmodes/compile.el (recompile):
2044 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2046 2014-05-08 Juri Linkov <juri@jurta.org>
2048 * dired.el (dired-check-switches, dired-switches-recursive-p):
2049 New functions. (Bug#17218)
2050 (dired-switches-escape-p, dired-move-to-end-of-filename):
2051 Use `dired-check-switches'.
2052 (dired-insert-old-subdirs, dired-build-subdir-alist)
2053 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2055 2014-05-08 Glenn Morris <rgm@gnu.org>
2057 * net/browse-url.el (browse-url-mosaic):
2058 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2059 This is CVE-2014-3423.
2061 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2064 (xterm-mouse--read-event-sequence-1000): Return nil if something
2066 (xterm-mouse-event): Propagate it.
2067 (xterm-mouse-translate-1): Handle it.
2069 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2071 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2072 four slots of the parameter list are filled, make sure to pass it
2073 to the argument list of todo-insert-item--basic.
2075 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2078 Add optional `seen' argument to detect and break infinite loops.
2080 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2082 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2083 (trace-unsafe, trace-use-tree): Make parentheses style be
2084 according to Emacs style.
2086 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2088 * net/tramp-sh.el (tramp-remote-process-environment):
2089 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2091 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2092 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2093 extra "PSx=..." commands.
2094 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2097 (tramp-uudecode): Replace the hard-coded temporary file name by a
2099 (tramp-remote-coding-commands): Enhance docstring.
2100 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2102 This is CVE-2014-3424.
2104 2014-05-06 Glenn Morris <rgm@gnu.org>
2106 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2107 (find-gc-source-files): Update some names.
2108 (trace-call-tree): Simplify and update.
2109 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2110 This is CVE-2014-3422.
2112 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2114 * minibuffer.el (completion--try-word-completion): Revert fix for
2115 Bug#15980 (bug#17375).
2117 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2118 Always store button numbers in the same way in xterm-mouse-last;
2119 Don't burp is xterm-mouse-last is not set as expected.
2120 Never return negative indices.
2122 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2124 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2125 Backtrack one char if the global/char-literal var matcher hits
2126 inside a string. The next char could be the beginning of an
2127 expression expansion.
2129 2014-05-05 Glenn Morris <rgm@gnu.org>
2131 * help-fns.el (describe-function-1): Test for an autoload before a
2132 macro, since `macrop' works on autoloads. (Bug#17410)
2134 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2136 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2138 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2139 Make sure the new point we return is within the new string (bug#17239).
2141 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2143 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2145 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2147 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2148 Use nil rather than `default' for the "default" appearance (bug#17388).
2149 * vc/ediff-util.el (ediff-inferior-compare-regions)
2150 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2151 a misleading `default' value when it's really a boolean.
2152 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2153 overlay is not visible.
2155 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2157 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2158 (todo-menu): Uncomment and update.
2160 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2162 * calendar/todo-mode.el: Reimplement item editing to have the same
2163 basic user interface as item insertion, and make small UI and
2164 larger internal improvements to the latter.
2165 (todo-insert-item): Add reference to the Todo mode user manual to
2166 the documentation string.
2167 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2168 adjust all callers. Change signature to combine diary and
2169 nonmarking arguments. Incorporate functionality of deleted item
2170 copying command and add error checking. Remove detailed
2171 descriptions of the arguments from the documentation string, since
2172 this is treated in the Todo mode user manual.
2173 (todo-copy-item, todo-edit-multiline-item)
2174 (todo-edit-done-item-comment, todo-edit-item-header)
2175 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2176 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2177 (todo-edit-item-date-year, todo-edit-item-date-month)
2178 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2180 (todo-edit-item): Reimplement as wrapper command for
2181 todo-edit-item--next-key and make it distinguish done and not done
2183 (todo-edit-item--text): New function, replacing old command
2184 todo-edit-item and incorporating deleted commands
2185 todo-edit-multiline-item and todo-edit-done-item-comment.
2186 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2187 Use only numeric value of prefix argument. Remove detailed
2188 descriptions of the arguments from the documentation string, since
2189 this is treated in the Todo mode user manual.
2190 (todo-edit-item--diary-inclusion): New function, replacing old
2191 command todo-edit-item-diary-inclusion and incorporating and fixing
2192 functionality of deleted command todo-edit-item-diary-nonmarking,
2193 making sure to remove todo-nondiary-marker when adding
2194 diary-nonmarking-symbol.
2195 (todo-edit-category-diary-inclusion): Make sure to delete
2196 diary-nonmarking-symbol when adding todo-nondiary-marker.
2197 (todo-edit-category-diary-nonmarking): Fix indentation.
2198 (todo-insert-item--parameters): Group diary and nonmarking
2199 parameters together.
2200 (todo-insert-item--apply-args): Adjust to signature of
2201 todo-insert-item--basic and incorporate copy parameter.
2202 Make small code improvements.
2203 (todo-insert-item--next-param): Improve prompt and adjust it to
2204 new parameter grouping. Remove obsolete code.
2205 (todo-edit-item--param-key-alist)
2206 (todo-edit-item--date-param-key-alist)
2207 (todo-edit-done-item--param-key-alist): New defconsts.
2208 (todo-edit-item--prompt): New variable.
2209 (todo-edit-item--next-key): New function.
2210 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2211 Remove bindings of deleted commands.
2213 2014-05-02 Leo Liu <sdl.web@gmail.com>
2215 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2217 2014-05-01 Glenn Morris <rgm@gnu.org>
2219 * allout-widgets.el (allout-widgets-tally)
2220 (allout-decorate-item-guides):
2221 * menu-bar.el (menu-bar-positive-p):
2222 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2223 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2224 * progmodes/js.el (js--inside-param-list-p)
2225 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2226 * progmodes/prolog.el (region-exists-p):
2227 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2228 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2229 Doc fixes (replace `iff').
2231 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2235 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2237 * dired.el (dired-initial-position-hook, dired-initial-position):
2240 2014-04-29 Glenn Morris <rgm@gnu.org>
2242 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2244 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2246 * faces.el (face-spec-recalc): Apply X resources only after the
2247 defface spec has been applied. Thus, X resources are no longer
2248 overridden by the defface spec which also fixes issues on win32 where
2249 the toolbar coloring was wrong because it is set through X resources
2250 and was (wrongfully) overridden. (Bug#16694)
2252 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * textmodes/rst.el (electric-pair-pairs): Declare.
2255 (rst-mode): Set it (bug#17131).
2257 2014-04-27 Juri Linkov <juri@jurta.org>
2259 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2260 and `print-level' to nil. (Bug#17351)
2262 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2264 * battery.el (battery-update): Handle the case where battery
2265 status is "N/A" (bug#17319).
2267 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2269 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2270 Use equal-including-properties to compare help-echo strings (bug#17331).
2272 2014-04-24 Leo Liu <sdl.web@gmail.com>
2274 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2275 Fix syntax for @. (Bug#17325)
2277 2014-04-24 Daniel Colascione <dancol@dancol.org>
2279 * emacs-lisp/cl.el (gv): Require gv early to break eager
2280 macro-expansion cycles.
2282 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2284 * simple.el (region-active-p): Check there's a mark (bug#17324).
2286 * simple.el (completion-list-mode-map): Use choose-completion for the
2287 mouse binding as well (bug#17302).
2288 (completion-list-mode, completion-setup-function): Adjust docstring and
2289 echo area message accordingly.
2290 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2291 calling convention of choose-completion.
2292 * comint.el (comint-dynamic-list-completions):
2293 * term.el (term-dynamic-list-completions): Accept choose-completion.
2295 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2296 &, |, +, - and * can't be a division (bug#17317).
2298 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2300 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2301 features on gnome-terminal (bug#16988).
2303 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2305 * dired.el (dired-insert-set-properties): Do not consider
2306 subdirectory headings and empty lines to be information that
2307 `dired-hide-details-mode' should hide. (Bug#17228)
2309 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2311 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2312 Remove test messages.
2313 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2316 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2318 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2319 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2321 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2323 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2325 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2326 Set "IFS=" when using read builtin, in order to preserve spaces in
2327 the file name. Add test messages for hunting a bug on hydra.
2328 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2330 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2333 Don't prettify a word within a symbol.
2335 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2337 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2340 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2342 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2343 assignments such as "case=hello" (bug#17297).
2345 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2347 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2349 (tramp-file-name-handler, tramp-completion-file-name-handler):
2350 Revert patch from 2014-04-10, it isn't necessary anymore.
2351 (tramp-autoload-file-name-handler)
2352 (tramp-register-autoload-file-name-handlers): New defuns.
2353 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2354 (tramp-register-file-name-handlers): Remove also
2355 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2356 Do not autoload its invocation, but eval it after loading of 'tramp.
2358 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2360 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2362 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2365 was done (bug#17264).
2366 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2369 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2370 here-documents (bug#17262).
2372 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2374 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2375 Provide doc strings, as required by snarf-documentation.
2377 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2379 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2380 arg of overlays-at. Use `invisible-p'.
2382 * obsolete/lucid.el (extent-at):
2383 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2385 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2387 2014-04-14 João Távora <joaotavora@gmail.com>
2389 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2392 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2394 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2395 Use mapc to loop over a vector. (Bug#17257).
2397 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2399 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2400 patch, there are new problems with file names containing spaces.
2401 Get rid of backticks. (Bug#17238)
2403 2014-04-13 João Távora <joaotavora@gmail.com>
2405 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2408 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2410 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2411 (blink-cursor-mode): Mention customization variables and the
2412 effect of 'blink-cursor-blinks'.
2414 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2416 * simple.el (undo): Prevent insertion of identity mapping into
2417 undo-equiv-table so as undo-only does not inf loop in the presence
2418 of consecutive nils in undo list.
2420 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2422 * faces.el (make-face): Deprecate optional argument as it is no
2423 longer needed/used since the conditional X resources handling
2424 has been pushed down to make-face-x-resource-internal itself.
2425 (make-empty-face): Don't pass optional argument to make-face.
2427 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2429 * international/characters.el <standard-case-table>: Add entries
2430 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2431 Set category of Coptic characters be 'g' (Greek).
2433 2014-04-12 Leo Liu <sdl.web@gmail.com>
2435 * progmodes/octave.el (completion-table-with-cache): Define if not
2437 (octave-goto-function-definition)
2438 (octave-sync-function-file-names)
2439 (octave-find-definition-default-filename): Backquote upattern for
2442 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2444 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2445 name twice due to backticks. (Bug#17238)
2447 2014-04-11 Glenn Morris <rgm@gnu.org>
2449 * term/w32-win.el (x-win-suspend-error):
2450 * term/x-win.el (x-win-suspend-error): Sync docs.
2452 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2454 Ediff's overlay priorities cause more trouble than they solve.
2455 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2456 (ediff-highest-priority): Remove function (bug#17234).
2457 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2458 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2459 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2462 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2464 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2465 entry; use symbol boundaries to avoid mis-matches.
2467 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2469 * net/tramp.el (tramp-file-name-handler)
2470 (tramp-completion-file-name-handler): Avoid recursive loading.
2472 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2473 Quote result also locally.
2475 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2477 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2478 Module methods. (Bug#17216)
2480 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2482 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2483 (describe-bindings-internal): Mark obsolete.
2485 2014-04-07 João Távora <joaotavora@gmail.com>
2488 (electric-pair--syntax-ppss): When inside comments parse from
2490 (electric-pair--balance-info): Fix typo in comment.
2491 (electric-pair--in-unterminated-string-p): Delete.
2492 (electric-pair--unbalanced-strings-p): New function.
2493 (electric-pair-string-bound-function): New var.
2494 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2495 according to `electric-pair--in-unterminated-string-p'
2497 2014-04-07 João Távora <joaotavora@gmail.com>
2499 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2500 Inhibit quote pairing if point-max is inside an unterminated string.
2501 (electric-pair--looking-at-unterminated-string-p): Delete.
2502 (electric-pair--in-unterminated-string-p): New function.
2504 2014-04-07 Glenn Morris <rgm@gnu.org>
2506 * shell.el (shell-directory-tracker):
2507 Go back to just ignoring failures. (Bug#17159)
2509 2014-04-06 João Távora <joaotavora@gmail.com>
2511 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2512 backspace. (bug#16981)
2513 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2514 (electric-pair-backward-delete-char-untabify): Delete.
2515 (electric-pair-mode-map): Bind backspace to a menu item filtering
2516 a new `electric-pair-delete-pair' command.
2517 (electric-pair-delete-pair): New command.
2519 2014-04-06 João Távora <joaotavora@gmail.com>
2521 * progmodes/python.el (python-electric-pair-string-delimiter):
2522 Fix triple-quoting electricity. (Bug#17192)
2524 2014-04-06 João Távora <joaotavora@gmail.com>
2526 * elec-pair.el (electric-pair-post-self-insert-function):
2527 Don't skip whitespace when `electric-pair-text-pairs' and
2528 `electric-pair-pairs' were used. syntax to
2529 electric-pair--skip-whitespace. (Bug#17183)
2531 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2533 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2536 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2539 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2541 2014-04-05 Glenn Morris <rgm@gnu.org>
2543 * help.el (view-lossage): Doc tweak.
2545 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2547 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2548 only when inhibit-x-resources is nil, and do that earlier in the
2549 function. Doc fix. (Bug#16694)
2550 (face-spec-choose): Accept additional optional argument, whose
2551 value is returned if no matching attributes are found.
2552 (face-spec-recalc): Use the new optional argument when calling
2553 face-spec-choose. (Bug#16378)
2554 (make-face-x-resource-internal): Do nothing when
2555 inhibit-x-resources is non-nil. Don't touch the default face if
2556 reversed video is given--as was done in previous versions of Emacs.
2557 (face-set-after-frame-default): Don't call
2558 make-face-x-resource-internal here. (Bug#16434)
2560 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2562 * doc-view.el (doc-view-bookmark-jump):
2563 Use `bookmark-after-jump-hook' to jump to the right page after the
2564 buffer is shown in a window. (bug#16090)
2566 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2568 * international/characters.el (mirroring): Fix last change:
2569 instead of loading uni-mirrored.el explicitly, do that implicitly
2570 by creating the 'mirroring' uniprop table. This avoids announcing
2571 the loading of uni-mirrored.el.
2573 2014-04-04 Glenn Morris <rgm@gnu.org>
2575 * files.el (buffer-stale--default-function)
2576 (buffer-stale-function, revert-buffer--default):
2577 * autorevert.el (auto-revert-buffers): Doc tweaks.
2579 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2581 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2583 2014-04-03 Glenn Morris <rgm@gnu.org>
2585 * files.el (make-backup-file-name-function)
2586 (make-backup-file-name, make-backup-file-name--default-function)
2587 (make-backup-file-name-1, find-backup-file-name)
2588 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2589 (buffer-stale--default-function, buffer-stale-function)
2590 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2591 (revert-buffer, revert-buffer--default)
2592 (revert-buffer-insert-file-contents--default-function):
2593 Doc fixes related to defaults no longer being nil.
2594 (make-backup-file-name-function): Bump :version.
2595 Restore nil as a valid but deprecated custom type.
2597 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2599 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2600 used as a variable (bug#17174).
2602 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * progmodes/perl-mode.el (perl-indent-new-calculate):
2605 Handle forward-sexp failure (bug#16985).
2606 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2607 modifiers introducing expressions (bug#17116).
2609 2014-04-02 Glenn Morris <rgm@gnu.org>
2611 * menu-bar.el (menu-bar-file-menu):
2612 * vc/ediff.el (ediff-current-file):
2613 Update for revert-buffer-function no longer being nil by default.
2615 * simple.el (command-execute): Respect nil disabled-command-function.
2617 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2619 * simple.el (command-execute): Do not execute the command when it
2620 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2622 2014-03-29 Juri Linkov <juri@jurta.org>
2624 * dired-aux.el (dired-compress-file): Don't use string-match-p
2625 because its match data is used afterwards.
2627 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2629 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2632 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2634 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2635 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2637 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2638 Don't propertize `?' or `!' as symbol constituent when after
2641 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2643 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2644 which is no longer needed and causes trouble in GTK builds (bug#17046).
2646 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2647 Use url-insert-file-contents; package-handle-response no longer exists.
2649 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2651 * emacs-lisp/package.el: Fix bug#16733 (again).
2652 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2653 (url-http-target-url): Remove unused declarations.
2654 (package-handle-response): Remove.
2655 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2656 (package--download-one-archive): Use current-buffer instead of
2657 dynamic binding of `buffer'.
2658 (describe-package-1): Do not decode readme-string.
2660 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2662 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2664 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2666 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2668 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2669 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2670 `remote-file-name-inhibit-cache' to nil in the second pass.
2671 (tramp-find-executable): Do not call "which" on SunOS.
2672 (tramp-send-command-and-check): Fix docstring.
2673 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2674 check whether source directory has set the sticky bit.
2676 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2678 * simple.el (primitive-undo): Only process marker adjustments
2679 validated against their corresponding (TEXT . POS). Issue warning
2680 for lone marker adjustments in undo history. (Bug#16818)
2681 (undo-make-selective-list): Add marker adjustments to selective
2682 undo list based on whether their corresponding (TEXT . POS) is in
2683 the region. Remove variable adjusted-markers, which was unused
2684 and only non nil during undo-make-selective-list.
2685 (undo-elt-in-region): Return nil when passed a marker adjustment
2686 and explain in function doc.
2688 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2690 * emacs-lisp/package.el (package--add-to-archive-contents):
2691 Include already installed and built-in packages in
2692 `package-archive-contents'.
2693 (package-install): Don't include already installed packages in the
2694 options during interactive invocation. (Bug#16762)
2696 2014-03-24 Daniel Colascione <dancol@dancol.org>
2698 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2699 instead of cl-loop search function.
2701 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2703 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2705 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2707 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2709 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2711 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2712 Match special global variables without curlies, too.
2713 (ruby-font-lock-keywords): Simplify the matcher for special global
2714 variables. Don't require a non-word character after the variable.
2717 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * simple.el (redisplay-highlight-region-function): Increase priority of
2720 overlay to make sure boundaries are visible (bug#15899).
2722 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2724 * frameset.el (frameset-restore): Compare display strings with equal.
2726 * frame.el (make-frame): Don't quote display name in error message,
2727 it is already a string.
2729 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2731 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2734 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2736 * emacs-lisp/package.el (package-show-package-list): If the buffer
2737 is already displayed in another window, switch to that window.
2739 2014-03-21 Daniel Colascione <dancol@dancol.org>
2741 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2742 information in bug reports.
2744 2014-03-23 Daniel Colascione <dancol@dancol.org>
2746 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2747 list to look for keyword arguments instead of `memq', fixing
2748 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2749 Please make bootstrap.
2751 2014-03-23 Richard Stallman <rms@gnu.org>
2753 * battery.el (battery-linux-sysfs): Search for each field
2754 from the beginning of the buffer.
2756 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2758 * emacs-lisp/package.el (package-desc): Use the contents of the
2759 quoted form, not its cdr. (Bug#16873)
2761 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2763 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2764 benefit of doc.c; change parameter profile to match the X function.
2766 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2768 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2769 and `tramp-copy-env'.
2771 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2772 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2774 2014-03-21 Glenn Morris <rgm@gnu.org>
2776 * electric.el (electric-indent-post-self-insert-function): Add doc.
2778 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2780 * emacs-lisp/package.el (package-compute-transaction):
2781 Use `version-list-<=' to compare the requirement version against
2782 the version of package already to be installed. Update the error
2783 message. (Bug#16826)
2785 * progmodes/ruby-mode.el (ruby-smie-rules):
2786 Add indentation rule for ` @ '. (Bug#17050)
2788 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2790 * align.el (align-regexp): Remove superfluous backslash.
2792 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2793 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2794 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2795 Fix docstring typos.
2796 (ffap-next): Use C-u in docstring.
2797 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2798 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2799 Remove superfluous backslashes.
2800 (ffap-string-at-point): Reflow docstring.
2802 * server.el (server-host): Reflow docstring.
2803 (server-unload-function): Fix docstring typo.
2804 (server-eval-at): Remove superfluous backslash.
2806 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2807 (skeleton-insert): Doc fix.
2808 (skeleton-insert): Reflow docstring.
2810 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2811 (tty-color-approximate, tty-color-by-index, tty-color-values)
2812 (tty-color-desc): Remove superfluous backslashes.
2814 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * electric.el (electric-newline-and-maybe-indent): New command.
2817 Bind it globally to C-j.
2818 (electric-indent-mode): Don't mess with the global map any more.
2819 Don't drop the post-self-insert-hook is some buffer is still using it
2822 * bindings.el (global-map): Remove C-j binding.
2824 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2825 the docstring of functions advised before dumping (bug#16993).
2827 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2829 * ps-print.el (ps-generate-postscript-with-faces):
2830 Explicitly deactivate the mark (bug#16866).
2831 * simple.el (deactivate-mark): Update region highlight.
2833 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2835 * emacs-lisp/package.el (describe-package-1):
2836 Decode commentary (bug#16733).
2838 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2840 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2841 modification of the value argument of :set (bug#16755).
2843 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2845 * simple.el (newline-and-indent): Do autofill (bug#17031).
2847 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2849 * newcomment.el (comment-normalize-vars): Only add escaping check
2850 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2851 (comment-beginning): Use `narrow-to-region' instead of moving back
2853 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2854 (comment-start-skip): Update the docstring.
2856 2014-03-18 Richard Stallman <rms@gnu.org>
2858 * dired.el (dired-display-file): Force use of other window.
2860 2014-03-18 Daniel Colascione <dancol@dancol.org>
2862 * startup.el (tty-handle-args): Remove debug message from 2007.
2864 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2867 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2868 (advice--make-1, advice-add, advice-remove):
2869 Remove braindead :advice-pending hack.
2871 2014-03-17 Glenn Morris <rgm@gnu.org>
2873 * calendar/calendar.el (calendar-generate-month): Apply weekend
2874 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2876 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2878 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2879 (tramp-call-process): Trace also DESTINATION.
2881 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2882 Quote file names when they are local. Remove superfluous trace.
2884 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2886 * newcomment.el (comment-beginning): If `comment-start-skip'
2887 doesn't match, move back one char and try again. (Bug#16971)
2889 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2890 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2891 Set `comment-start-skip' to a simpler value that doesn't try to
2892 check if the semicolon is escaped (this is handled by
2893 `syntax-ppss' now). (Bug#16971)
2895 * progmodes/scheme.el (scheme-mode-variables): Same.
2897 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2899 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2900 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2901 current (Bug#16816, Bug#17007).
2902 (with-current-buffer-window): New macro doing the same as
2903 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2904 * help.el (help-print-return-message): Warn in doc-string to not
2905 use this in `with-help-window'.
2906 (describe-bindings-internal): Call `describe-buffer-bindings'
2907 from within help buffer. See Juanma's scenario in (Bug#16816).
2908 (with-help-window): Update doc-string.
2909 * dired.el (dired-mark-pop-up):
2910 * files.el (save-buffers-kill-emacs):
2911 * register.el (register-preview): Use `with-current-buffer-window'
2912 instead of `with-temp-buffer-window'.
2914 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2916 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2917 Implement inserting into current buffer, documented in their docstrings.
2918 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2919 (rst-section-tree-point, rst-forward-section, rst-indent)
2920 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2921 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2922 (rst-font-lock-handle-adornment-pre-match-form)
2923 (rst-repeat-last-character): Reflow docstrings.
2924 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2925 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2926 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2927 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2928 Fix docstring typos.
2929 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2930 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2931 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2933 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2935 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2936 for compatibility with other ports.
2937 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2938 from the -xrm command line argument, but in the Nextstep port its value
2939 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2941 * progmodes/python.el (defconst, python-syntax-count-quotes)
2942 (python-indent-region, python-indent-shift-right)
2943 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2944 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2945 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2946 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2947 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2948 (python-shell-buffer-substring, python-shell-send-buffer)
2949 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2950 (python-completion-complete-at-point, python-fill-docstring-style)
2951 (python-eldoc-function, python-imenu-format-item-label)
2952 (python-imenu-format-parent-item-label)
2953 (python-imenu-format-parent-item-jump-label)
2954 (python-imenu--build-tree, python-imenu-create-index)
2955 (python-imenu-create-flat-index): Fix docstring typos.
2956 (python-indent-context, python-shell-prompt-regexp, run-python):
2957 Remove superfluous backslashes.
2958 (python-indent-line, python-nav-beginning-of-defun)
2959 (python-shell-get-buffer, python-shell-get-process)
2960 (python-info-current-defun, python-info-current-line-comment-p)
2961 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2962 (python-indent-post-self-insert-function, python-shell-send-file)
2963 (python-shell-completion-get-completions)
2964 (python-shell-completion-complete-or-indent)
2965 (python-eldoc--get-doc-at-point): Reflow docstrings.
2967 2014-03-14 Glenn Morris <rgm@gnu.org>
2969 * emacs-lisp/package.el (package-menu-mode-map):
2970 Replace use of obsolete function alias. Tweak menu item text.
2972 * info.el (Info-finder-find-node):
2973 Ignore the `emacs' metapackage. (Bug#10813)
2975 * finder.el (finder-list-matches): Include unversioned packages
2976 in the result of a keyword search.
2978 * finder.el (finder--builtins-descriptions): New constant.
2979 (finder-compile-keywords): Use finder--builtins-descriptions.
2981 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2983 * simple.el (blink-matching-paren): Describe the new value,
2984 `jump', enabling the old behavior.
2985 (blink-matching-open): Use that value. (Bug#17008)
2987 2014-03-14 Glenn Morris <rgm@gnu.org>
2989 * finder.el (finder-no-scan-regexp): Add leim-list.
2990 (finder-compile-keywords):
2991 Don't skip files with same basename. (Bug#14010)
2992 * Makefile.in (setwins_finder): New, excluding leim.
2993 (finder-data): Use setwins_finder.
2995 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2996 (help-function-arglist, help-make-usage): Move from here...
2997 * help.el (help-split-fundoc, help-add-fundoc-usage)
2998 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2999 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3001 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3003 * net/socks.el (socks, socks-override-functions)
3004 (socks-find-services-entry):
3005 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3006 (hif-find-ifdef-block):
3007 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3009 * net/tls.el (tls-program): Reflow docstring.
3011 * progmodes/pascal.el (pascal-mode-abbrev-table)
3012 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3013 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3014 (pascal-outline-mode): Fix docstring typos.
3015 (pascal-mode): Let define-derived-mode document mode hook.
3016 (pascal-uncomment-area): Reflow.
3017 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3019 * progmodes/opascal.el (opascal-compound-block-indent)
3020 (opascal-case-label-indent): Fix docstring typos.
3021 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3023 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3025 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3026 Fontify multiple adjacent negation chars. (Bug#17004)
3028 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3030 * emacs-lisp/package.el (package--prepare-dependencies):
3031 Accept requirements without explicit version (bug#14941).
3033 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3035 * register.el (register-separator, copy-to-register): Doc fixes.
3036 (register-preview-default): Remove unnecessary call to concat.
3038 * frameset.el (frameset-restore): When checking for a visible frame,
3039 use the action map instead of calling visible-frame-list.
3041 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3043 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3045 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3047 * window.el (fit-frame-to-buffer): Get maximum width from
3048 display's width instead of height.
3050 2014-03-12 Glenn Morris <rgm@gnu.org>
3052 * desktop.el (desktop-restore-frames)
3053 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3054 (desktop-restore-reuses-frames): Doc tweaks.
3056 * electric.el (electric-indent-mode): Doc fix.
3058 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3060 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3061 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3062 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3063 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3064 (cvs-dired-use-hook): Fix docstring typos.
3065 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3068 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3069 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3070 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3071 (cvs-execute-single-dir): Fix docstring typos.
3073 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3074 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3076 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3078 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3079 Fix docstring typos.
3081 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3083 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3084 called from jump-to-register after unloading the frameset package.
3086 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3088 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3089 (bug#16975). Deactivate the mark before setting it to nil.
3090 (activate-mark): Do nothing if region is already active.
3092 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3094 * frameset.el (frameset--target-display): Remove definition; declare.
3095 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3097 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3100 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3101 when the advice is pending.
3102 (advice-remove): Remove this marker when not needed any more.
3104 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3106 * frameset.el: Separate options for reusing frames and cleaning up.
3107 (frameset--reuse-list): Remove definition; declare.
3108 (frameset--action-map): Declare.
3109 (frameset--find-frame-if): Doc fix.
3110 (frameset--restore-frame): Cache frame action.
3111 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3112 how to clean up the frame list after restoring. Remove cleaning
3113 options from REUSE-FRAMES. Change all keyword values to symbols.
3114 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3116 * desktop.el (desktop-restore-forces-onscreen)
3117 (desktop-restore-reuses-frames): Use non-keyword values.
3118 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3120 2014-03-10 Glenn Morris <rgm@gnu.org>
3122 * files.el (find-file): Doc fix: update info node name.
3124 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3125 Doc fix: remove references to deleted info nodes.
3127 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3129 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3130 Do not add `nil' to the environment, when there's no remote `locale'.
3131 (tramp-find-inline-encoding): Check, that the remote host has
3132 installed perl, before sending scripts.
3134 2014-03-10 Leo Liu <sdl.web@gmail.com>
3136 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3137 Clear eldoc-last-message. (Bug#16920)
3139 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3144 2014-03-09 Juri Linkov <juri@jurta.org>
3146 * ansi-color.el (ansi-color-names-vector): Copy default colors
3147 from `xterm-standard-colors' that look well on the default white
3148 background (and also on the black background) to avoid illegible
3149 color combinations like yellow-on-white and white-on-white.
3150 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3152 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3154 * frameset.el (frameset-restore): When no frame is visible, do not
3155 generate a list of frames, just make visible the selected one.
3157 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3159 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3160 it only contains the repository root. (Bug#16897)
3162 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3164 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3165 only when `remote-file-name-inhibit-cache' is nil.
3166 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3168 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3170 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3172 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3173 fit-frame-to-buffer variable. Fix doc-string.
3174 (fit-window-to-buffer): Set ONLY argument in call of
3175 fit-frame-to-buffer. Fix doc-string.
3177 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3179 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3180 (tramp-action-password): Clear password cache if needed.
3181 (tramp-read-passwd): Do not clear password cache.
3183 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3184 cache unless it is the first password request.
3186 2014-03-06 Glenn Morris <rgm@gnu.org>
3188 * simple.el (newline): Doc tweak.
3190 * emacs-lisp/shadow.el (load-path-shadows-find):
3191 Ignore dir-locals. (Bug#12357)
3193 2014-03-05 Glenn Morris <rgm@gnu.org>
3195 * files.el (interpreter-mode-alist):
3196 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3198 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3200 * frameset.el (frameset--initial-params): Filter out null entries.
3202 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3204 * window.el (window-min-height, window-min-width):
3205 Rewrite doc-strings.
3206 (window-body-size): Add PIXELWISE argument to make it consistent
3209 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3211 * finder.el (finder-mode-map, finder-mode-syntax-table):
3212 Revert part of 2014-02-28 change.
3214 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3216 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3217 (eww-setup-buffer): Clear next/prev/etc more reliably.
3218 (eww-textarea-map): [tab] doesn't work on tty.
3219 Reported by Mario Lang.
3221 * net/shr.el (shr-map): Ditto.
3223 2014-03-04 Glenn Morris <rgm@gnu.org>
3225 * minibuffer.el (completion-hilit-commonality):
3226 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3228 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3230 * hilit-chg.el (hilit-chg-unload-function): New function.
3231 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3232 (hilit-chg-map-changes): Prefer cardinal number to digit.
3233 (hilit-chg-display-changes): Reflow docstring.
3234 (highlight-changes-rotate-faces): Remove superfluous backslash.
3236 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3238 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3239 `tramp-send-command-and-check'.
3241 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3243 * hexl.el (hexl-address-region, hexl-ascii-region)
3244 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3245 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3246 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3247 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3248 (hexl-mode): Doc fix.
3249 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3250 (hexl-mode-ruler): Fix typos in docstrings.
3252 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3253 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3254 Remove superfluous backslashes.
3255 (strokes-last-stroke, strokes-global-map, strokes-mode):
3257 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3258 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3259 (strokes-distance-squared, strokes-global-set-stroke)
3260 (strokes-global-set-stroke-string): Doc fixes.
3261 (strokes-help): Fix typos; reflow docstring.
3263 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3265 * window.el (window-in-direction): Fix doc-string.
3267 2014-03-04 Glenn Morris <rgm@gnu.org>
3269 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3270 Explicit error if no grammar.
3271 (smie-config-save): Doc fix. Fix quote typo.
3273 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3275 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3276 electric-indent-mode-hook if we obey electric-indent-mode.
3277 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3278 decide whether we obey electric-indent-mode.
3279 (c-change-set-fl-decl-start, c-extend-after-change-region):
3281 (c-electric-indent-mode-hook): Assume we do want to obey
3282 electric-indent-mode.
3284 * electric.el (electric-indent-mode-has-been-called): Remove.
3285 (electric-indent-mode): Fix accordingly.
3287 * files.el (hack-local-variables): Mention file name in warning.
3289 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3291 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3293 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3294 * simple.el (delete-forward-char): Mark as interactive-only.
3296 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3298 * icomplete.el (icomplete-completions):
3299 Follow-up to 2014-03-01 change.
3301 * icomplete.el: Miscellaneous doc fixes.
3302 Use Icomplete everywhere instead of icomplete for consistency.
3303 (icomplete-max-delay-chars): Fix typo.
3304 (icomplete-mode): Use \[].
3305 (icomplete-tidy, icomplete-exhibit): Reflow.
3306 (icomplete-minibuffer-setup-hook, icomplete-completions):
3307 Remove superfluous backlashes.
3309 * ido.el: Miscellaneous doc fixes.
3310 Use Ido everywhere instead of ido or `ido' for consistency.
3311 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3312 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3313 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3314 (ido-separator): Extract obsolescence info from docstring and declare
3315 with make-obsolete-variable.
3316 (ido-minibuffer-setup-hook): Simplify example.
3317 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3318 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3319 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3320 (ido-everywhere): Reflow docstring.
3321 (ido-toggle-vc): Doc fix.
3322 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3323 of long list of keybindings.
3325 2014-03-03 Glenn Morris <rgm@gnu.org>
3327 * frame.el (display-pixel-height, display-pixel-width)
3328 (display-mm-dimensions-alist, display-mm-height)
3329 (display-mm-width): Doc tweaks.
3331 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3333 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3334 case of undo in region.
3336 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3338 * window.el (fit-window-to-buffer): Fix argument in window-size
3339 call when window is horizontally combined.
3341 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3343 * icomplete.el (icomplete-completions): Use string-width.
3344 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3346 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3348 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3349 Highlight regexp options. (Bug#16914)
3351 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3353 * window.el (window--max-delta-1): Round down when calculating
3354 how many lines/columns we can get from a window.
3356 2014-03-01 Glenn Morris <rgm@gnu.org>
3358 * isearch.el (search-invisible): Doc fix.
3360 * minibuffer.el (completion-hilit-commonality):
3361 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3362 * comint.el (comint-dynamic-list-completions): Doc fix.
3363 * comint.el (comint-dynamic-list-completions):
3364 * filecache.el (file-cache-minibuffer-complete):
3365 * tempo.el (tempo-display-completions):
3366 * eshell/em-hist.el (eshell-list-history):
3367 Replace use of obsolete argument of display-completion-list.
3369 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3371 * icomplete.el (icomplete-completions):
3372 Revert back to using "..." when ?… cannot be displayed.
3374 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3376 * finder.el (finder-unload-function): New function.
3378 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3380 * dframe.el (dframe-detach):
3381 * find-dired.el (find-dired, find-name-dired):
3382 * finder.el (finder-mode-map, finder-mode-syntax-table)
3383 (finder-headmark, finder-select, finder-mouse-select):
3384 Fix docstring typos.
3386 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3388 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3389 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3390 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3391 Fix doc-string based on a suggestion by Nicolas Richard
3392 <theonewiththeevillook@yahoo.fr>.
3393 * help.el (with-help-window): Fix doc-string.
3395 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3397 * net/shr.el (shr-image-animate): New option.
3398 (shr-put-image): Respect shr-image-animate.
3400 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3402 * net/tramp-adb.el (tramp-adb-parse-device-names):
3403 Use `accept-process-output'.
3404 (tramp-adb-handle-file-truename): Cache the localname only.
3405 (tramp-adb-handle-make-directory)
3406 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3407 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3408 modes cannot be changed.
3410 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3411 file properties of symlinks.
3413 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3415 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3416 required/optional fields to match development biblatex. (Bug#16781)
3418 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3420 * saveplace.el (toggle-save-place):
3421 Fix argument handling. (Bug#16673)
3423 2014-02-28 Glenn Morris <rgm@gnu.org>
3425 * minibuffer.el (completions-first-difference)
3426 (completions-common-part, completion-hilit-commonality): Doc fixes.
3428 2014-02-28 Karl Berry <karl@gnu.org>
3430 * info.el (Info-mode-map): Add H for describe-mode,
3431 to synchronize with standalone Info.
3433 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3435 * progmodes/sql.el (sql-interactive-mode):
3436 Avoid setting global comint-input-ring-separator. (Bug#16814)
3438 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3440 * net/dbus.el (dbus--init-bus): Declare function.
3441 (dbus-path-local, dbus-interface-local): New defconst.
3442 (dbus-init-bus): Use them.
3443 (dbus-return-values-table): Extend doc.
3444 (dbus-handle-bus-disconnect): Extend error message.
3446 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3448 * subr.el (y-or-n-p): Fix double space issue in message.
3450 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3452 * net/tramp.el (tramp-call-process): Improve trace message.
3453 (tramp-handle-insert-file-contents): Trace error case.
3455 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3456 <insert-directory>: Use `tramp-handle-insert-directory'.
3457 (tramp-adb-handle-insert-directory): Remove function.
3458 (tramp-adb-send-command-and-check): New defun, replacing
3459 `tramp-adb-command-exit-status'. Change all callees.
3460 (tramp-adb-handle-file-attributes)
3461 (tramp-adb-handle-directory-files-and-attributes): Use it.
3462 (tramp-adb-ls-output-name-less-p):
3463 Use `directory-listing-before-filename-regexp'.
3464 (tramp-adb-handle-delete-directory): Flush also file properties of
3465 the truename of directory.
3466 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3467 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3468 (tramp-adb-handle-write-region): Implement APPEND.
3469 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3470 properties correctly.
3471 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3472 variables. Check for connected devices only when needed.
3474 2014-02-27 Glenn Morris <rgm@gnu.org>
3476 * minibuffer.el (completion-table-dynamic)
3477 (completion-table-with-cache): Doc fixes.
3479 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3480 (completing-read-multiple): Doc fixes.
3482 2014-02-27 Daniel Colascione <dancol@dancol.org>
3484 * minibuffer.el (completion--nth-completion): Fix indentation.
3486 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3487 explicit tramp path is empty.
3489 2014-02-27 Glenn Morris <rgm@gnu.org>
3491 * emacs-lisp/crm.el (completing-read-multiple):
3492 Empower help-enable-auto-load.
3494 2014-02-26 Glenn Morris <rgm@gnu.org>
3496 * startup.el (command-line): Don't init the tty in daemon mode.
3498 Avoid calling tty-setup-hook twice, eg if a term file
3499 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3500 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3501 (tty-create-frame-with-faces): Use it.
3502 * startup.el (command-line): Pass run-hook argument
3503 to tty-run-terminal-initialization.
3505 * dired.el (dired-restore-desktop-buffer): Demote errors;
3506 eg in case a glob match fails. (Bug#16884)
3508 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3510 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3511 error from `read-from-string'. (Bug#16850)
3513 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3514 result of `completing-read' in the interactive form. (Bug#16854)
3516 2014-02-25 Glenn Morris <rgm@gnu.org>
3518 * image.el (image-animate, image-animate-timeout):
3519 Stop animating images in dead buffers. (Bug#16878)
3521 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3523 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3525 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3526 * term/sun.el (sun-raw-prefix-hooks):
3527 Use tty-setup-hook instead of term-setup-hook.
3528 (terminal-init-sun): Construct message from bytecomp plist.
3529 * term/wyse50.el (enable-arrow-keys): Doc fix.
3531 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3533 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3534 Fix docstring typos.
3536 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3538 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3540 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3542 * minibuffer.el (completion--try-word-completion):
3543 Fix error when completing M-x commands (bug#16808).
3545 2014-02-24 Leo Liu <sdl.web@gmail.com>
3547 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3549 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3551 * apropos.el (apropos-print): Avoid formatting error when
3552 apropos-do-all and apropos-compact-layout are both t.
3554 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3556 * apropos.el (apropos-property, apropos-all-words-regexp)
3557 (apropos-true-hit, apropos-variable, apropos-print):
3558 Fix docstring typos, and remove obsolete comment.
3560 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3562 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3563 Preserve trailing "/". (Bug#16851)
3565 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3567 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3568 after `=>' (bug#16811).
3569 (ruby-smie-rules): Handle the inconsistent second element of the
3570 list returned by `smie-indent--parent'.
3571 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3574 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3576 * elec-pair.el (electric-pair-text-syntax-table)
3577 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3578 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3579 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3580 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3582 2014-02-22 Glenn Morris <rgm@gnu.org>
3584 * imenu.el (imenu--generic-function): Doc fix.
3586 * register.el (frame-configuration-to-register): Make obsolete.
3588 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3590 * desktop.el (desktop-save-buffer-p): Do not fail when
3591 desktop-files-not-to-save is nil. Return t for true result
3594 2014-02-22 Daniel Colascione <dancol@dancol.org>
3596 * net/secrets.el (secrets-create-item, secrets-search-items):
3597 Check that attribute values are strings, avoiding the construction
3598 of invalid dbus messages.
3600 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3602 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3603 defun-declarations-alist.
3605 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3607 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3610 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3612 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3613 (whitespace-newline, whitespace-trailing, whitespace-line)
3614 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3615 (whitespace-space-after-tab): Fix typo in docstrings.
3617 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3619 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3621 * electric.el (electric-indent-functions-without-reindent):
3622 Add `yaml-indent-line'.
3624 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3626 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3627 It has done nothing for years; should be removed after the release.
3629 * simple.el (choose-completion): Fix docstring typo.
3630 (read-quoted-char-radix): Remove unneeded * in docstring.
3631 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3632 Don't escape parentheses unnecessarily in docstrings.
3634 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3636 Fix handling of window-min-height/-width (Bug#16738).
3637 * window.el (window--dump-window, window--dump-frame):
3639 (window--min-size-1): Account for window dividers.
3640 When window-resize-pixelwise is nil, delay rounding till after the
3641 sum of the window components has been calculated.
3642 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3643 nil make sure at least one text line and two text columns remain
3645 (window-resize): Signal an error when window-resize-apply fails.
3646 (window--resize-child-windows): Fix calculation of by how many
3647 pixels a window can still be shrunk via window-new-normal.
3648 (adjust-window-trailing-edge): Call window--resizable with
3649 correct TRAIL argument.
3651 (with-temp-buffer-window): Don't evaluate BODY within
3652 with-current-buffer (Bug#16816).
3654 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3656 * net/tramp.el (tramp-check-cached-permissions):
3657 Call `file-attributes' with `suffix' being a symbol but a string.
3659 2014-02-21 Daniel Colascione <dancol@dancol.org>
3661 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3662 (dbus-init-bus): New function: call into dbus-init-bus-1
3663 and installs a handler for the disconnect signal.
3664 (dbus-call-method): Rewrite to look for result in cons.
3665 (dbus-call-method-handler): Store result in cons.
3666 (dbus-check-event): Recognize events with nil sender as valid.
3667 (dbus-handle-bus-disconnect): New function. React to bus
3668 disconnection signal by synthesizing dbus error for each
3669 pending synchronous or asynchronous call.
3670 (dbus-notice-synchronous-call-errors): New function.
3671 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3672 is true, not all the time.
3674 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3676 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3677 Remove obsolescence declarations, these variables do not exist anymore.
3679 * savehist.el (savehist-save-minibuffer-history)
3680 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3681 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3682 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3683 mostly, refer to "Savehist mode" when talking about the mode,
3684 and not the function.
3686 * saveplace.el (save-place): Remove redundant info in docstring.
3687 (save-place-forget-unreadable-files, toggle-save-place)
3688 (save-place-forget-unreadable-files, save-place-dired-hook):
3689 Fix typos and remove unneeded backslashes.
3691 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3693 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3694 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3696 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3697 <insert-directory>: Use `tramp-handle-insert-directory'.
3698 (tramp-gvfs-handle-insert-directory): Remove function.
3700 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3701 Call `tramp-handle-insert-directory'.
3703 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3705 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3706 before the start of buffer/region (bug#16799).
3708 2014-02-20 Glenn Morris <rgm@gnu.org>
3710 * isearch.el (search-invisible): Doc fix.
3712 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3714 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3717 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3719 * frameset.el (frameset-restore): Delay removing an old frame's
3720 duplicate id until the new frame has been correctly created.
3722 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3724 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3725 (tramp-check-cached-permissions): Call `file-attributes' if the
3728 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3729 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3731 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3732 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3733 (tramp-gvfs-maybe-open-connection): Set always connection
3734 properties, even if target is mounted already.
3736 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3737 Set tramp-autoload cookie.
3738 (tramp-get-remote-touch): New defun.
3739 (tramp-sh-handle-set-file-times): Use it.
3740 (tramp-sh-handle-directory-files-and-attributes):
3741 Use `tramp-handle-directory-files-and-attributes' if neither stat
3742 nor perl are available on the remote host.
3744 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3745 "/". Write long listing only when "l" belongs to the switches.
3747 * net/trampver.el: Update release number.
3749 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3751 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3753 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3755 * window.el (window-state-put): Allow WINDOW to refer to an
3756 internal window (Bug#16793).
3758 2014-02-19 Glenn Morris <rgm@gnu.org>
3760 * textmodes/remember.el: Move provide statement to end.
3761 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3762 (remember-notes): Doc fixes.
3764 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3766 * delsel.el (delete-char): Restore incorrectly erased property
3769 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3771 * frameset.el (frameset--restore-frame): When a frame is being reused
3772 and its root window is not alive, delete all the frame's windows before
3773 restoring the window state. This works around the issue in bug#16793.
3775 2014-02-18 Glenn Morris <rgm@gnu.org>
3777 * textmodes/remember.el (remember-data-directory)
3778 (remember-directory-file-name-format, remember-store-in-files)
3779 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3780 (remember-notes-save-and-bury-buffer)
3781 (remember-notes--kill-buffer-query): Doc fixes.
3783 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3785 2014-02-17 Alan Mackenzie <acm@muc.de>
3787 Connect electric-indent-mode up with CC Mode. Bug #15478.
3788 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3789 to electric-indent-{,local-}-mode.
3790 (c-basic-common-init): Set electric-indent-inhibit.
3791 Initialise c-electric-flag from electric-indent-mode.
3792 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3793 New hook functions which propagate electric-indent-mode to CC mode.
3795 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3796 hit, toggle electric-indent-local-mode.
3798 * electric.el (electric-indent-mode-has-been-called):
3801 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3803 * frameset.el (frameset-cfg-id): New function.
3804 (frameset--reuse-frame, frameset-restore): Use it.
3805 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3807 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * ido.el (ido-file-internal): Remove unused var `d'.
3810 Use \` for to match BoS. Fit within 80n columns.
3812 2014-02-17 Daniel Colascione <dancol@dancol.org>
3814 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3815 dbus-call-method check for completion using a busy-wait loop with
3818 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3820 Sync with Tramp 2.2.9.
3822 * net/trampver.el: Update release number.
3824 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3826 * ido.el (ido-file-internal): Don't add the name of an existing
3827 directory twice. (Bug#16747)
3829 2014-02-16 Glenn Morris <rgm@gnu.org>
3831 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3832 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3834 2014-02-15 Michael R. Mauger <michael@mauger.com>
3836 * progmodes/sql.el: Version 3.4
3837 (sql-oracle-options): New default value ("-L").
3838 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3839 (sql-placeholders-filter): Correct placeholder pattern.
3840 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3841 (sql-login-delay): New variable.
3842 (sql-product-interactive): Use it.
3844 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3846 * frameset.el (frameset--jump-to-register): Check that buffer is live
3849 2014-02-15 Glenn Morris <rgm@gnu.org>
3851 * info.el (info-initialize): Revert 2014-01-10 change.
3853 2014-02-14 Glenn Morris <rgm@gnu.org>
3855 * replace.el (map-query-replace-regexp)
3856 (read-regexp-defaults-function, read-regexp): Doc fixes.
3858 * dired.el (dired-read-regexp):
3859 * faces.el (list-faces-display):
3860 * misearch.el (multi-isearch-read-matching-buffers)
3861 (multi-isearch-read-matching-files):
3862 * play/cookie1.el (cookie-apropos):
3863 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3865 * textmodes/remember.el (remember): Use frameset-to-register
3866 rather than frame-configuration-to-register.
3868 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3870 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3871 incorrect keybinding.
3873 2014-02-13 Daniel Colascione <dancol@dancol.org>
3875 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3876 when adding overlays so that line numbers from compiler match line
3879 2014-02-13 Glenn Morris <rgm@gnu.org>
3881 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3883 * jit-lock.el (jit-lock-mode): Doc fix.
3885 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3887 * apropos.el (apropos-read-pattern): When the user passes an empty
3888 string, give a more helpful error message than "Wrong type
3889 argument: stringp, nil".
3891 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3893 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3895 2014-02-13 Glenn Morris <rgm@gnu.org>
3897 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3899 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3901 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3902 shift-select commands.
3904 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3906 * progmodes/js.el (js-indent-line): Don't widen.
3907 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3909 2014-02-12 Glenn Morris <rgm@gnu.org>
3911 * icomplete.el (icomplete): Add info-link to defgroup.
3912 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3913 (icomplete-minibuffer-map, icomplete-mode)
3914 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3916 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3917 (package-menu-filter): Rename from package-menu-filter-interactive.
3920 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3922 * frameset.el (frameset--jump-to-register): Select the required
3923 window and buffer before restoring position (bug#16696).
3925 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3927 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3929 2014-02-10 Glenn Morris <rgm@gnu.org>
3931 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3933 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3935 * w32-common-fns.el (x-get-selection): Doc fix.
3936 * select.el (x-get-selection): Doc fix. (Bug#15109)
3938 * face-remap.el (face-remap-add-relative)
3939 (face-remap-remove-relative, face-remap-reset-base)
3940 (face-remap-set-base): Call force-mode-line-update to redisplay
3941 the current buffer due to potential change in faces. (Bug#16709)
3943 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3945 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3946 script more robustly.
3948 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3950 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3952 * simple.el (choose-completion): Doc fix (bug#14160).
3954 * subr.el (event-start): Say what a nil EVENT value means.
3956 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3959 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3961 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3963 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3965 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3966 predicate function (bug#15455).
3968 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3970 * ielm.el (inferior-emacs-lisp-mode): Instead of
3971 `comment-use-global-state', set `comment-use-syntax'.
3973 2014-02-10 Glenn Morris <rgm@gnu.org>
3975 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3977 2014-02-09 Alan Mackenzie <acm@muc.de>
3979 Fix c-invalidate-state-cache on narrowed buffers.
3980 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3981 Widen when setting and clearing the CPP delimiter properties.
3983 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3985 * help.el (describe-bindings): Doc fix (bug#9888).
3987 * files.el (save-buffer): Use ARG as the parameter name for
3988 consistency (bug#10346).
3989 (save-buffer): Clarify the 0 argument (bug#10346).
3991 * cus-edit.el (customize-apropos): Fix error string.
3992 (custom-buffer-create): Doc fix (bug#11122).
3993 (custom-sort-items): Doc fix (bug#11121).
3995 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3997 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3998 (icomplete-simple-completing-p): Mention the previous variable.
4000 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4001 meaning of the parameter (bug#12282).
4003 * files.el (find-file-noselect): Clarify prompt when changing
4004 readedness (bug#13261).
4005 (locate-file): Suffixes aren't returned, so don't say that they
4007 (backup-inhibited): Doc clarification (bug#12525).
4009 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4010 before we actually start to delete things (bug#16331).
4012 * subr.el (event-start): Doc fix (bug#14228).
4015 2014-02-09 Glenn Morris <rgm@gnu.org>
4017 * emacs-lisp/warnings.el (lwarn):
4018 Empower help-enable-auto-load. (Bug#15940)
4020 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4022 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4025 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4027 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4028 Insert output at end of buffer. (Bug#16120)
4030 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4032 * simple.el (choose-completion-string-functions): Document new
4033 calling convention (bug#14153).
4034 (execute-extended-command): Clarify doc string (bug#13373).
4036 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4038 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4039 (find-grep-dired): Doc fix (bug#14288).
4041 2014-02-08 Juri Linkov <juri@jurta.org>
4043 * isearch.el (isearch-quote-char): Check character validity
4044 like in `quoted-insert' (bug#16677).
4046 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4048 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4050 * isearch.el (isearch-hide-immediately): Doc clarification
4053 * simple.el (line-move): Document utility function used many
4054 places in the Emacs sources (bug#14843).
4056 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4057 (dired-prev-marked-file): Doc fix (bug#14855).
4058 (dired-up-directory): Doc fix (bug#14848).
4060 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4062 * files.el (file-relative-name): Doc fix (bug#15159).
4064 * fringe.el (fringe-styles): Doc fix (bug#15239).
4066 * isearch.el (isearch-filter-predicate): Documentation typo fix
4069 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4071 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4073 * replace.el (replace-match-maybe-edit): Doc clarification
4076 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4078 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4080 2014-02-08 Glenn Morris <rgm@gnu.org>
4082 * help-fns.el (describe-variable):
4083 Check {file,dir}-local-variables-alist, and buffer-file-name,
4084 in the correct buffer.
4086 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4088 * help-fns.el (describe-variable): Fix the case where
4089 a value is directory-local with no dir-locals file. (Bug#16635)
4091 2014-02-08 Glenn Morris <rgm@gnu.org>
4093 * abbrev.el (edit-abbrevs-mode):
4094 Derive from fundamental-mode. (Bug#16682)
4096 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4098 * simple.el (quoted-insert): Check character validity (bug#16677).
4100 2014-02-07 Juri Linkov <juri@jurta.org>
4102 * desktop.el (desktop-read): Claim the lock when the owner is not
4103 the current process. (Bug#16157)
4105 2014-02-07 Juri Linkov <juri@jurta.org>
4107 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4108 to "\\` ". (Bug#16651)
4110 2014-02-07 Juri Linkov <juri@jurta.org>
4112 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4113 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4114 (desktop-auto-save-cancel-timer): New function with some code from
4115 `desktop-auto-save-set-timer'.
4116 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4117 Instead of setting `desktop-save-mode' to nil, call
4118 `desktop-save-mode' with arg 0. (Bug#16630)
4120 2014-02-07 Glenn Morris <rgm@gnu.org>
4122 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4123 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4124 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4126 * obsolete/iswitchb.el: Move to obsolete/.
4127 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4128 since obsolete/ is not scanned for autoloads.
4129 * emacs-lisp/authors.el (authors-valid-file-names):
4132 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4133 Disable now non-functional find-file-hook.
4135 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4137 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4138 instead of ";" in order to avoid additional prompts. Let heredoc
4139 scripts read from tty. (Bug#16582)
4140 (tramp-send-command): No special handling of heredocs, it isn't
4143 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4145 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4146 with a space (bug#16664). Limit the symbols considered to the ones
4147 that are bound or fbound (bug#16646).
4149 2014-02-06 Glenn Morris <rgm@gnu.org>
4151 * epa.el (epa-mail-aliases): Doc fix.
4153 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4155 * emacs-lisp/lisp.el (lisp-completion-at-point):
4156 Use `completion-table-merge' instead of `completion-table-in-turn'
4159 * minibuffer.el (completion-table-merge): New function.
4161 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4163 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4164 (tramp-sh-handle-set-file-acl)
4165 (tramp-sh-handle-start-file-process)
4166 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4167 (tramp-find-executable, tramp-send-command): Use it.
4169 2014-02-05 Glenn Morris <rgm@gnu.org>
4171 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4173 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4175 * progmodes/python.el (python-shell-send-string)
4176 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4178 2014-02-04 Anders Lindgren <andlind@gmail.com>
4180 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4181 the names (bug#16620).
4183 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4185 * faces.el (window-divider): New default value. Rewrite doc-string.
4186 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4188 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4191 `protected' and `public' can also be called without arguments.
4193 2014-02-03 Glenn Morris <rgm@gnu.org>
4195 * register.el (window-configuration-to-register)
4196 (frame-configuration-to-register): Unadvertise unused argument.
4197 * frameset.el (frameset-to-register): Remove unused argument.
4199 * frameset.el (frameset-to-register):
4200 * kmacro.el (kmacro-to-register):
4201 * register.el (increment-register):
4202 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4203 (calc-append-to-register, calc-prepend-to-register):
4204 * play/gametree.el (gametree-layout-to-register)
4205 (gametree-apply-register-layout):
4206 * textmodes/picture.el (picture-clear-rectangle-to-register)
4207 (picture-yank-rectangle-from-register):
4208 * vc/emerge.el (emerge-combine-versions-register):
4209 Use register-read-with-preview to read registers.
4211 2014-02-03 João Távora <joaotavora@gmail.com>
4213 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4214 when at beginning of (possibly narrowed) buffer.
4216 2014-02-02 Daniel Colascione <dancol@dancol.org>
4218 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4219 Also try to display local help from just before point.
4221 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4223 c-parse-state. Don't "append-lower-brace-pair" in certain
4224 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4225 recognised as a comment.
4227 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4228 as well as normal comment starter.
4229 (c-parse-state-get-strategy): Extra return possibility
4231 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4232 return value list to indicate replacement of a brace-pair cons
4234 (c-parse-state-1): With 'back-and-forward, only call
4235 c-append-lower-brace-pair-to state-cache when cons-separated.
4237 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4239 * term/ns-win.el (ns-suspend-error): New function.
4240 (ns-initialize-window-system): Add ns-suspend-error to
4241 suspend-hook (Bug#16612).
4243 2014-02-02 Daniel Colascione <dancol@dancol.org>
4245 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4246 Make loading cc-mode silent.
4248 2014-02-02 Daniel Colascione <dancol@dancol.org>
4250 * comint.el (comint-prompt-read-only): Change doc to suggest
4253 2014-02-02 Glenn Morris <rgm@gnu.org>
4255 * register.el (register-read-with-preview, point-to-register)
4256 (window-configuration-to-register, frame-configuration-to-register)
4257 (jump-to-register, number-to-register, view-register, insert-register)
4258 (copy-to-register, append-to-register, prepend-to-register)
4259 (copy-rectangle-to-register): Doc fixes.
4261 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4264 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4265 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4266 * help-fns.el (describe-function-1): Use it.
4268 2014-02-02 Glenn Morris <rgm@gnu.org>
4270 * register.el (register-preview-default): New function,
4271 split from register-preview.
4272 (register-preview-function): Rename from register-preview-functions,
4274 (register-preview): Use register-preview-function.
4275 (register-read-with-preview): Error on non-character event. (Bug#16595)
4277 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4279 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4280 `:' before binary operators (bug#16609). Don't check for `:'
4281 before `[' and `(', or their syntax status. A percent literal
4282 can't end with either.
4283 (ruby-font-lock-keywords): For built-ins that require arguments,
4284 check that they're followed by something that looks like argument
4287 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4289 * subr.el (butlast): Document what an omitted N means (bug#13437).
4292 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4294 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4295 depth shallower (bug#16587).
4296 (shr-tag-svg): Respect `shr-inhibit-images'.
4297 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4299 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4301 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4302 (ruby-smie-grammar): Make "." right-associative. Make its priority
4303 lower than the ternary and all binary operators.
4304 (ruby-smie-rules): Indent "(" relative to the first non-"."
4305 parent, or the first "." parent at indentation.
4306 Use `ruby-align-chained-calls' for indentation of "." tokens.
4309 2014-01-31 Juri Linkov <juri@jurta.org>
4311 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4312 from `make-hash-table'.
4314 * textmodes/ispell.el (ispell-init-process): Change message format
4315 to be consistent with other messages.
4317 2014-01-31 Glenn Morris <rgm@gnu.org>
4319 * delsel.el (delete-selection-mode): Doc fix.
4321 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4322 (trace-function-background): Doc fixes.
4324 * ido.el (ido-use-virtual-buffers): Doc fix.
4325 Reset :version, since the default value has not changed.
4327 * register.el (register-preview-delay, register-read-with-preview):
4330 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4331 do not mess with mail-buffer position (fixes 2009-11-03 change).
4332 * progmodes/cc-mode.el (c-submit-bug-report):
4333 Check auto-fill-mode is bound. (Bug#16592)
4335 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4337 * startup.el (fancy-splash-image-file): New function,
4338 split from fancy-splash-head.
4339 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4340 so that we are both using the same image. (Bug#16574)
4342 2014-01-30 Glenn Morris <rgm@gnu.org>
4344 * simple.el (eval-expression): Doc fix.
4346 * hexl.el (hexl-mode-hook):
4347 * ielm.el (ielm-mode-hook):
4348 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4349 (lisp-interaction-mode-hook):
4350 * progmodes/cfengine.el (cfengine3-documentation-function):
4351 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4353 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4356 is a symbol (bug#16584).
4358 2014-01-30 Glenn Morris <rgm@gnu.org>
4360 * help.el (help-for-help-internal): Add "P" to text.
4362 2014-01-29 Glenn Morris <rgm@gnu.org>
4364 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4366 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4368 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4371 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4373 * progmodes/hideif.el: Extend to full CPP expression syntax.
4374 (hif-token-alist): Add missing tokens.
4375 (hif-token-regexp): Add support for float/octal/hex immediates.
4376 (hif-string-literal-regexp): New const.
4377 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4378 (hif-exprlist): New function.
4379 (hif-parse-if-exp): Use it.
4380 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4381 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4382 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4383 (hif-logxor, hif-comma): New functions.
4385 2014-01-28 Glenn Morris <rgm@gnu.org>
4387 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4389 * indent.el (tab-stop-list): Doc fix. Add :version.
4391 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4392 (cvs-append-to-ignore): Add compatibility alias.
4394 2014-01-27 Glenn Morris <rgm@gnu.org>
4396 * dired.el (dired-hide-details-mode): Don't autoload it,
4397 since it cannot be used outside Dired buffers anyway.
4399 * emulation/cua-base.el (cua-mode): Doc fix.
4401 * dired.el (dired-hide-details-hide-symlink-targets)
4402 (dired-hide-details-hide-information-lines)
4403 (dired-hide-details-mode): Doc fixes.
4405 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4406 * strokes.el (strokes-file): Doc fix. Bump :version.
4407 (strokes-help): Doc fix.
4408 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4409 * emulation/viper.el (viper): Doc fix for custom group.
4410 (top-level): Remove oh-so-no-longer-relevant text about vip.
4411 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4413 * ido.el (ido-save-directory-list-file):
4414 * saveplace.el (save-place-file):
4415 * calendar/timeclock.el (timeclock-file):
4416 * net/quickurl.el (quickurl-url-file):
4417 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4418 * progmodes/idlwave.el (idlwave-config-directory):
4419 * textmodes/remember.el (remember-data-file):
4422 2014-01-26 Glenn Morris <rgm@gnu.org>
4424 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4425 Doc fix. Make obsolete.
4426 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4428 * sort.el (delete-duplicate-lines): Doc fix.
4430 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4432 * progmodes/ada-mode.el (ada):
4433 * woman.el (woman): Link to info manual and Commentary section.
4435 * progmodes/flymake.el (flymake):
4436 * nxml/nxml-mode.el (nxml):
4438 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4439 * htmlfontify.el (htmlfontify):
4442 * ido.el (ido): Link to info manual.
4444 2014-01-25 Leo Liu <sdl.web@gmail.com>
4446 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4448 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4450 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4453 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4455 * net/eww.el (eww-download-callback):
4456 Fix reference to eww-download-directory.
4458 * emacs-lisp/bytecomp.el (byte-compile-file):
4459 Remove unused local variable `file-name'.
4461 2014-01-24 Glenn Morris <rgm@gnu.org>
4463 * woman.el (woman-default-faces, woman-monochrome-faces):
4464 Fix obsolescence specification.
4466 * subr.el (with-demoted-errors): Doc fix.
4468 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4470 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4471 (cl--macroexp-fboundp): New function.
4472 (cl--make-type-test): Use it.
4474 2014-01-23 Glenn Morris <rgm@gnu.org>
4476 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4477 * simple.el (eval-expression): Doc fixes.
4479 2014-01-22 Glenn Morris <rgm@gnu.org>
4481 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4483 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4485 * emacs-lisp/package.el: Write files silently.
4486 (package-autoload-ensure-default-file, package--write-file-no-coding)
4487 (package-generate-description-file, package--download-one-archive)
4488 (package-install-from-archive): Tell `write-region' to stay quiet.
4489 (package-menu-mode, package-menu--print-info): Omit the Archive column
4490 if there's only one archive.
4491 (package-all-keywords, package--has-keyword-p): Remove dead code.
4493 2014-01-22 Glenn Morris <rgm@gnu.org>
4495 * version.el (emacs-bzr-version-bzr): Fix typo.
4497 * version.el (emacs-repository-get-version):
4498 Check either .bzr or .git, but not both.
4499 Make the git case actually use the DIR argument, and return nil
4500 rather than the empty string.
4501 Avoid error if .git exists but the git executable is not found.
4503 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4505 Fixes in window size functions around Bug#16430 and Bug#16470.
4506 * window.el (window-total-size, window-size): New argument ROUND.
4507 (window--min-delta-1, window-min-delta, window--max-delta-1):
4508 Be more conservative when calculating the numbers of lines or
4509 columns a window can shrink (Bug#16430).
4510 (fit-window-to-buffer): Simplify code.
4511 * term.el (term-window-width): Call window-body-width again.
4513 2014-01-22 Glenn Morris <rgm@gnu.org>
4515 * image.el (image-format-suffixes): Doc fix.
4517 * international/quail.el (quail-define-package): Doc fix.
4519 * emacs-lisp/authors.el (authors-valid-file-names)
4520 (authors-renamed-files-alist): Additions.
4522 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4523 reverts 2014-01-09 change. (Bug#16422)
4525 * calc/calc-embed.el (thing-at-point-looking-at):
4526 * emacs-lisp/map-ynp.el (x-popup-dialog):
4527 * obsolete/lmenu.el (x-popup-dialog):
4528 * emacs-lisp/package.el (url-recreate-url):
4529 * mail/mailclient.el (clipboard-kill-ring-save):
4530 * subr.el (x-popup-dialog): Update declaration.
4531 * mail/rmail.el (rmail-mime-message-p):
4532 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4534 2014-01-21 Daniel Colascione <dancol@dancol.org>
4536 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4537 Correctly detect when we're inside an arithmetic expansion form
4538 containing nested parenthesis.
4539 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4540 to detect cases where we shouldn't expand "<<" to a heredoc
4543 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4545 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4546 (eldoc--message-command-p): New function.
4547 (eldoc-display-message-p): Use it.
4548 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4549 message is not automatically erased for us.
4550 (eldoc-print-current-symbol-info): Erase previous message, if any.
4552 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4554 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4555 specify it's an interactive function.
4557 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4558 Fix regex used for scanning for citation keys which failed for
4559 citations with optional arguments.
4561 2014-01-21 Leo Liu <sdl.web@gmail.com>
4563 * simple.el (read--expression): Don't enable eldoc-mode.
4565 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4567 * simple.el (move-beginning-of-line): Make sure we don't move forward
4570 2014-01-20 Juri Linkov <juri@jurta.org>
4572 * saveplace.el (toggle-save-place, save-place-to-alist)
4573 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4574 'dired-mode) before checking for dired-directory. (Bug#16477)
4576 2014-01-20 Juri Linkov <juri@jurta.org>
4578 * indent.el (indent-line-to): Use backward-to-indentation
4579 instead of back-to-indentation. (Bug#16461)
4581 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4583 Revert some of the CANNOT_DUMP fix (Bug#16494).
4584 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4585 but fixing this can wait until after the next release.
4586 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4588 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4590 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4591 Use `password-word-equivalents'.
4592 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4593 to t. (Bug#5664, Bug#13124)
4595 2014-01-19 Alan Mackenzie <acm@muc.de>
4597 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4599 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4600 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4601 * progmodes/cc-mode.el (c-before-change, c-after-change)
4602 (c-font-lock-fontify-region): Bind it here.
4604 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4606 * term.el (term-window-width): Call window-text-width instead of
4607 window-width (Bug#16470).
4609 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4611 * simple.el (password-word-equivalents): Remove duplicates.
4612 Sort, to make this easier next time.
4613 Downcase. Omit ": " after "jelszó".
4615 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4617 * term/common-win.el (saved-region-selection): Defvar it.
4618 (x-select-text): Set saved-region-selection (Bug#16382).
4620 2014-01-18 Glenn Morris <rgm@gnu.org>
4622 * emacs-lisp/authors.el (authors-aliases)
4623 (authors-renamed-files-alist): Add some entries.
4625 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4627 * net/tramp.el (tramp-password-prompt-regexp):
4628 Use `password-word-equivalents' if available.
4629 (tramp-action-password, tramp-process-one-action)
4630 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4632 2014-01-17 Chong Yidong <cyd@gnu.org>
4634 * simple.el (password-word-equivalents): New defcustom.
4635 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4637 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4640 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4642 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4643 (ruby-align-to-stmt-keywords): Change the default value.
4644 Use `ruby-alignable-keywords' to generate the possible customization
4646 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4647 keywords, check against the value of `ruby-alignable-keywords'
4648 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4650 2014-01-17 Glenn Morris <rgm@gnu.org>
4652 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4654 Make M-x authors return zero *Authors Errors* from current logs.
4655 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4656 (authors-ignored-files): Add some entries, remove others.
4657 (authors-ambiguous-files, authors-valid-file-names):
4659 (authors-renamed-files-alist): Add, remove, and adjust entries.
4660 (authors-renamed-files-regexps): Add some entries.
4661 Remove some very broad ones. Make some entries `lax'.
4662 (authors-lax-changelogs): New constant.
4663 (authors-disambiguate-file-name): Treat top-level specially.
4664 (authors-lax-changelog-p): New function.
4665 (authors-canonical-file-name): Check file as written against
4666 authors-valid-file-names. Do not special-case etc/.
4667 Handle `lax' logs and authors-renamed-files-regexps elements.
4669 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4671 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4672 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4675 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4677 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4678 Assume we're already in the proper buffer.
4679 Inspired by Anders Lindgren <andlind@gmail.com>.
4680 (follow-post-command-hook): Call it from the right buffer.
4681 (follow-comint-scroll-to-bottom): Adjust call.
4682 (follow-all-followers): Use get-buffer-window-list.
4684 2014-01-15 Daniel Colascione <dancol@dancol.org>
4686 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4687 `buffer-file-name' in interactive-form so that we don't leave
4688 pathless file names in `file-name-history'.
4690 2014-01-15 Juri Linkov <juri@jurta.org>
4692 * indent.el (indent-rigidly): Set deactivate-mark to nil
4693 in transient indentation mode. (Bug#16438)
4695 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4697 * emacs-lisp/package.el (package-desc-keywords): New function
4699 (describe-package-1, package-all-keywords)
4700 (package--has-keyword-p): Use it.
4702 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4704 * simple.el (define-alternatives): When creating the
4705 COMMAND-alternatives variable, assign COMMAND as its definition
4706 name so that `describe-variable' can relocate it.
4708 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4710 * font-lock.el (font-lock-keywords): Fix typo in docstring
4713 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4715 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4716 line instead of wrongly reset `add-coment' (bug#13577).
4718 2014-01-14 Daiki Ueno <ueno@gnu.org>
4720 * epa-file.el (epa-file-write-region): Encode the region according
4721 to `buffer-file-format'. Problem reported at:
4722 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4724 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4727 so it applies in the right buffer (bug#16410).
4729 2014-01-13 Daniel Colascione <dancol@dancol.org>
4731 * textmodes/rst.el (rst-define-key): Provide deprecated
4732 keybindings through named functions instead of anonymous ones so
4733 that "??" doesn't appear in describe-mode output.
4735 2014-01-13 Bastien Guerry <bzg@gnu.org>
4737 * simple.el (define-alternatives): Call the selected command
4738 interactively. When setting `COMMAND--implementation' for the
4739 first time, tell the user how to chose another implementation.
4740 Enhance the docstring.
4742 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4744 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4745 (log-edit--match-first-line): New function.
4746 (log-edit-font-lock-keywords): Use it.
4747 (log-edit-mode): Make jit-lock-defer-multiline work.
4749 2014-01-13 Bastien Guerry <bzg@gnu.org>
4751 * rect.el (rectangle-mark-mode): When the region is not active,
4752 display a message saying that the mark as been set and that
4753 rectangle mode is in use.
4754 (rectangle--highlight-for-redisplay): Only put an overlay with a
4755 visible vertical bar when (display-graphic-p) is non-nil.
4756 This partially fixes Bug#16403.
4758 2014-01-13 Juri Linkov <juri@jurta.org>
4760 * info.el (Info-find-file): Go to DIR before displaying the error
4761 about a nonexistent file if no previous Info file is visited.
4762 Use `user-error' instead of `error' for "Info file %s does not exist".
4763 (Info-find-node-2): In case of a nonexistent node in unwind forms
4764 go to the Top node if there is no previous node to revert to.
4767 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4769 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4770 * window.el (fit-frame-to-buffer): Fix doc-string.
4771 Respect window-min-height/-width. Fit pixelwise when
4772 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4773 when avoiding that frame goes partially off-screen.
4774 (fit-window-to-buffer): Respect window-min-height/-width
4777 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4780 after an empty line.
4782 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4784 * net/shr.el (shr-render-region): Autoload.
4786 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4788 * net/eww.el (eww-download-directory): Rename from
4789 `eww-download-path' (Bug#16419).
4791 2014-01-12 Leo Liu <sdl.web@gmail.com>
4793 * dired-x.el (dired-mode-map): Fix last change.
4795 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4797 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4800 * emacs-lisp/generic.el (generic--normalize-comments):
4801 Rename from generic--normalise-comments. All uses changed.
4802 * play/bubbles.el (bubbles--neighborhood-score)
4803 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4804 (bubbles--neighborhood-available)
4805 (bubbles--update-neighborhood-score):
4806 Rename from names with 'neighbourhood'. All uses changed.
4808 2014-01-12 Leo Liu <sdl.web@gmail.com>
4810 Re-implement the feature of showing eldoc info after editing.
4811 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4812 (eldoc-edit-message-commands): New function.
4813 (eldoc-print-after-edit): New variable.
4814 (eldoc-pre-command-refresh-echo-area): Emit message only by
4815 eldoc-message-commands.
4816 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4817 if eldoc-print-after-edit is set. (Bug#16346)
4818 * simple.el (read--expression): Enable eldoc-mode.
4819 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4821 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4822 Eric S. Raymond <esr@thyrsus.com>
4824 * version.el (emacs-repository-get-version): Enhance so the
4825 function works correctly in either a Bazaar or Git repo.
4827 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4829 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4830 Goes with removal of the joke manpages from /etc.
4832 2014-01-10 Kenichi Handa <handa@gnu.org>
4834 * mail/rmail.el (rmail-get-coding-system):
4835 Check rmail-get-coding-function before "funcall"ing it.
4837 2014-01-10 Glenn Morris <rgm@gnu.org>
4839 * emacs-lisp/authors.el (authors-fixed-entries):
4840 Update for files that no longer exist.
4842 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4844 * version.el (emacs-bzr-get-version): Restore compatibilty with
4847 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4849 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4852 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4854 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4856 2014-01-10 Chong Yidong <cyd@gnu.org>
4858 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4860 2014-01-10 Anders Lindgren <andlind@gmail.com>
4862 * follow.el (follow-cache-command-list): Include right-char and
4865 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4868 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4869 * woman.el (woman-mark-horizontal-position):
4870 Rename from woman-mark-horizonal-position. Use changed.
4872 2014-01-10 Glenn Morris <rgm@gnu.org>
4874 * info.el (info-initialize): If running uninstalled, ensure our
4875 own info files are always found first, even if INFOPATH is set.
4877 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4879 2014-01-09 David Engster <deng@randomsample.de>
4881 * emacs-lisp/eieio-custom.el:
4882 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4883 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4884 * emacs-lisp/eieio.el: Regenerate autoloads.
4886 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4888 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4889 following renames. (Bug#8756)
4891 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4895 (activate-mark): Add `no-tmm' argument.
4896 (set-mark, push-mark-command): Use it instead of running
4897 activate-mark-hook by hand.
4899 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4901 In preparation for the move to git, sanitize out some
4902 Bazaar-specific names.
4904 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4906 * version.el (emacs-bzr-version): Name changed to
4907 emacs-repository-version. Obsolete-variable alias made.
4908 * loadup.el: Follow through on this name change.
4909 * mail/emacsbug.el (report-emacs-bug): Factor out any
4910 assumption about the version control system in use.
4912 2014-01-08 David Engster <deng@randomsample.de>
4914 * help-fns.el (help-fns-describe-function-functions):
4915 New variable to call functions for augmenting help buffers.
4916 (describe-function-1): Remove explicit calls to
4917 `help-fns--compiler-macro', `help-fns--parent-mode' and
4918 `help-fns--obsolete'. Put them in above new variable instead, and
4919 call them through `run-hook-with-args'.
4920 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4921 `eieio-describe-class'. Not meant for interactive use anymore,
4922 but to augment existing help buffers. Remove optional second
4923 argument. Create proper button for file location.
4924 Rewrite function to use `insert' instead of `princ' and `prin1' where
4926 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4927 (eieio-method-def, eieio-class-def): Move further up.
4928 (describe-method, describe-generic, eieio-describe-method):
4930 (eieio-help-constructor, eieio-help-generic): Rename from
4931 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4932 Rewrite to use `insert' in the current buffer and use proper help
4934 (eieio-help-find-method-definition)
4935 (eieio-help-find-class-definition): Also accept symbols as
4937 (eieio-help-mode-augmentation-maybee): Remove.
4938 (eieio-describe-class-sb): Use `describe-function'.
4939 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4940 Add `eieio-help-generic' and `eieio-help-constructor'.
4942 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4945 * language/china-util.el (hz-ascii-designation):
4946 Rename from hz-ascii-designnation.
4947 (hz-ascii-designation): Rename from hz-ascii-designnation.
4950 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4952 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4955 2014-01-08 Bastien Guerry <bzg@gnu.org>
4957 * emacs-lisp/package.el (package-delete):
4958 Correctly delete the package from package-alist.
4960 2014-01-08 Daiki Ueno <ueno@gnu.org>
4962 * emacs-lisp/package.el (url-recreate-url): Declare.
4963 (url-http-target-url): Declare.
4964 (package-handle-response): Include requested URL in the error message.
4965 (package--check-signature): Don't re-signal errors from
4966 package--with-work-buffer. Suggested by Stefan Monnier.
4968 2014-01-07 Bastien Guerry <bzg@gnu.org>
4970 * minibuffer.el (completion--try-word-completion): When both a
4971 hyphen and a space are possible candidates for the character
4972 following a word, display both candidates. (Bug#15980)
4974 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4976 * window.el (balance-windows-2): While rounding don't give a
4977 window more than the remainder. Bug#16351, bug#16383.
4979 2014-01-07 Glenn Morris <rgm@gnu.org>
4981 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4982 (menu-bar-help-menu): Use view-external-packages instead.
4984 2014-01-07 Bastien Guerry <bzg@gnu.org>
4986 * emacs-lisp/package.el (package-delete): Also delete the package
4987 name from `package-alist', not its description only.
4989 2014-01-07 Glenn Morris <rgm@gnu.org>
4991 * help.el (view-external-packages):
4992 * menu-bar.el (menu-bar-help-extra-packages):
4993 Visit efaq.info rather than etc/MORE.STUFF.
4995 2014-01-07 Juri Linkov <juri@jurta.org>
4997 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4998 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5000 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5001 that shadows RET. (Bug#16342)
5003 2014-01-07 Chong Yidong <cyd@gnu.org>
5005 * isearch.el (isearch-yank-char, isearch-yank-word)
5006 (isearch-yank-line): Doc fix.
5008 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5011 * emacs-lisp/elint.el (elint-find-builtins):
5012 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5013 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5014 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5015 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5016 * apropos.el (apropos-safe-documentation):
5017 * subr.el (symbol-file): Remove redundant fboundp.
5018 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5020 2014-01-06 Bastien Guerry <bzg@gnu.org>
5022 * hl-line.el (global-hl-line-overlay): Make a local variable.
5023 (global-hl-line-overlays): New variable to store all overlays.
5024 (global-hl-line-mode): Don't delete overlays from the current
5025 buffer when `global-hl-line-sticky-flag' is non-nil.
5026 (global-hl-line-highlight): Add new overlays to
5027 `global-hl-line-overlays'.
5028 (global-hl-line-unhighlight-all): New function to delete all
5029 overlays when turning off `global-hl-line-mode'.
5030 This fixes Bug#16183.
5032 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * subr.el (set-transient-map): Fix nested case and docstring.
5036 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5038 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5041 2014-01-06 Daniel Colascione <dancol@dancol.org>
5043 Fix defun navigation in vc log view.
5045 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5046 like `beginning-of-defun'.
5047 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5048 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5049 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5050 (log-view-extract-comment): Call `log-view-current-entry' directly
5051 instead of relying on broken `log-view-beginning-of-defun' behavior.
5053 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5056 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5057 * emacs-lisp/debug.el (cancel-debug-on-entry):
5058 * epg.el (epg-error-to-string):
5059 * files.el (recover-file):
5060 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5061 * mail/emacsbug.el (report-emacs-bug-hook):
5062 * mail/sendmail.el (mail-recover):
5063 * ses.el (ses-yank-resize):
5064 * term/ns-win.el (ns-print-buffer):
5065 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5066 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5068 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5070 2014-01-06 Leo Liu <sdl.web@gmail.com>
5072 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5073 to avoid shadowing global key. (Bug#16354)
5075 2014-01-06 Daniel Colascione <dancol@dancol.org>
5077 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5080 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5082 * window.el (balance-windows): Add mising t to fix Bug#16351.
5084 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5086 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5088 (shr-insert): If we have a word that's longer than `shr-width',
5089 break after it anyway. Otherwise we'll do no breaking once we get
5092 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5094 * net/eww.el (eww): Support single/double quote for search.
5095 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5096 (eww-history-quit): Delete and use quit-window.
5097 (eww-history-kill): Delete, because it doesn't work well and
5099 (eww-history-mode-map): Delete some keys and add easy-menu.
5101 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5103 Fix misspelling of 'chinese' in rx (Bug#16237).
5104 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5107 Change subword regexps back to vars (Bug#16296).
5108 * progmodes/subword.el (subword-forward-regexp)
5109 (subword-backward-regexp): Change these back to variables.
5111 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5114 syntax-begin-function (bug#16247).
5116 2014-01-03 Chong Yidong <cyd@gnu.org>
5118 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5119 (advice--docstring): Delete variable.
5120 (advice--make-1): Leave the docstring empty.
5121 (advice-add): Use function-documentation for advised docstring.
5123 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5124 Ignore function-documentation property when getting documentation.
5125 (ad-activate-advised-definition): Use function-documentation
5126 generate the docstring.
5127 (ad-make-advised-definition): Don't call
5128 ad-make-advised-definition-docstring.
5129 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5132 * progmodes/sql.el (sql-help): Use function-documentation instead
5133 of dynamic-docstring-function property. No need to autoload now.
5134 (sql--help-docstring): New variable.
5135 (sql--make-help-docstring): Use it.
5137 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * ielm.el (ielm-tab): Retarget.
5140 (ielm-map): Use ielm-tab for tab.
5141 (ielm-complete-filename): Use comint-filename-completion.
5142 (ielm-complete-symbol): Remove.
5143 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5144 remove ielm-tab from completion-at-point-functions (bug#16224).
5146 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5147 Beware signals raised by predicates (bug#16201).
5149 2014-01-02 Richard Stallman <rms@gnu.org>
5151 * dired-aux.el (dired-do-print): Handle printer-name.
5153 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5154 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5155 (rmail-epa-decrypt): Turn off mime processing.
5157 * mail/rmail.el (rmail-make-in-reply-to-field):
5158 Add parens in message-id.
5160 * mail/rmail.el (rmail-get-coding-function): Variable.
5161 (rmail-get-coding-system): Use it.
5163 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5165 * international/mule-conf.el: Unify the charset indian-is13194.
5166 (indian-is13194): Specify unify-map.
5168 2013-12-31 Leo Liu <sdl.web@gmail.com>
5170 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5172 2013-12-30 Daniel Colascione <dancol@dancol.org>
5174 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5175 of printing a useless when we resume from sleep.
5177 * progmodes/sh-script.el
5178 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5179 in indentation code. (Bug#16233)
5181 2013-12-28 João Távora <joaotavora@gmail.com>
5183 * elec-pair.el (electric-pair-post-self-insert-function):
5184 Don't open extra newlines at beginning of buffer. (Bug#16272)
5186 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5188 * frame.el (window-system-for-display): Don't allow to create a
5189 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5191 2013-12-28 Glenn Morris <rgm@gnu.org>
5193 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5196 * apropos.el (apropos-match-face):
5197 * calculator.el (calculator-displayer):
5198 * dabbrev.el (dabbrev-search-these-buffers-only):
5199 * face-remap.el (buffer-face-mode-face):
5200 * simple.el (yank-handled-properties):
5201 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5202 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5203 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5204 (hashcash-double-spend-database):
5205 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5206 (ruby-deep-indent-paren-style):
5207 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5208 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5209 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5210 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5211 Specify custom types.
5213 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5214 * bookmark.el (bookmark-bmenu-use-header-line):
5215 * doc-view.el (doc-view-scale-internally):
5216 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5217 * register.el (register-preview-delay):
5218 * net/shr.el (shr-bullet):
5219 * progmodes/cfengine.el (cfengine-cf-promises)
5220 (cfengine-parameters-indent):
5221 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5222 * textmodes/reftex-vars.el (reftex-label-regexps):
5223 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5225 * net/tls.el (tls-certtool-program): Fix default value.
5227 * desktop.el (desktop-restore-in-current-display):
5228 * newcomment.el (comment-empty-lines):
5229 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5230 (idlwave-pad-keyword):
5231 * progmodes/tcl.el (tcl-tab-always-indent):
5232 * textmodes/reftex-vars.el (reftex-index-default-tag):
5233 * elec-pair.el (electric-pair-skip-whitespace):
5234 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5236 * emacs-lisp/authors.el (authors-ignored-files)
5237 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5239 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5241 * shell.el (shell-dynamic-complete-command): Doc fix.
5242 (shell--command-completion-data): Shell completion now matches
5243 executable filenames from the current buffer's directory, on
5244 systems in which this behavior is the default (windows-nt, ms-dos).
5246 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5248 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5250 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5255 * electric.el: Move all electric-pair-* to elec-pair.el.
5256 * elec-pair.el: New file, split from electric.el.
5258 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5260 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5261 indentation level is larger than the width, because that will
5263 (shr-insert): Fill repeatedly long texts, so that Japanese is
5264 formatted correctly (bug#16263).
5265 (shr-find-fill-point): Off by one error in comparison with the
5268 2013-12-26 João Távora <joaotavora@gmail.com>
5270 * electric.el (electric-pair-mode): More flexible engine for skip-
5271 and inhibit predicates, new options for pairing-related functionality.
5272 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5273 if that keeps or improves their balance in buffers.
5274 (electric-pair-delete-adjacent-pairs): Delete the pair when
5275 backspacing over adjacent matched delimiters.
5276 (electric-pair-open-extra-newline): Open extra newline when
5277 inserting newlines between adjacent matched delimiters.
5278 (electric--sort-post-self-insertion-hook):
5279 Sort post-self-insert-hook according to priority values when
5280 minor-modes are activated.
5281 * simple.el (newline-and-indent): Call newline with interactive
5283 (blink-paren-post-self-insert-function): Set priority to 100.
5284 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5285 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5286 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5287 electric-pair-open-newline-between-pairs to nil.
5289 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5291 * progmodes/python.el: Use lexical-binding.
5292 (python-nav-beginning-of-defun): Stop searching ASAP.
5294 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5296 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5297 Fix interactive spec. Doc fix. (Bug#15754)
5299 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5301 * emacs-lisp/byte-run.el (eval-when-compile):
5302 * progmodes/cc-defs.el (cc-eval-when-compile):
5303 Fix edebug spec (bug#16184).
5305 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5307 * net/shr.el (shr-visit-file): Remove debugging function.
5308 (shr-insert): Don't infloop if we can't find a good place to break
5309 the line (bug#16256).
5311 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5313 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5314 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5315 python-nav-lisp-forward-sexp-safe.
5316 (python-nav--forward-sexp): New argument SAFE allows switching
5317 forward sexp movement behavior for parens.
5318 (python-nav-forward-sexp): Throw errors on unterminated parens
5320 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5321 (python-nav-backward-sexp-safe): New functions.
5322 (python-shell-buffer-substring):
5323 Use `python-nav-forward-sexp-safe'.
5325 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5327 * net/shr.el (shr-find-fill-point): Don't break lines before a
5329 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5330 (shr-find-fill-point): Remove the special checks for the quotation
5331 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5333 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5335 * net/eww.el (eww-form-textarea): Use a different face for
5336 textareas than text input since they have different keymaps
5339 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5341 * progmodes/python.el (python-nav-beginning-of-statement):
5342 Speed up (Bug#15295).
5344 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5346 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5347 the window configuration.
5349 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5351 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5352 we run on MS-Windows or MS-DOS.
5354 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5356 * window.el (balance-windows-area): Call window-size instead of
5357 window-height and window-width. Bug#16241.
5359 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5361 * net/eww.el (eww-bookmark-quit): Remove.
5362 (eww-bookmark-browse): Restore the window configuration when you
5363 choose a bookmark (bug#16144).
5365 2013-12-24 Daniel Colascione <dancol@dancol.org>
5367 * icomplete.el: Remove redundant :group arguments to `defcustom'
5369 (icomplete-show-matches-on-no-input): New customizable variable.
5370 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5371 we have something to show.
5372 (icomplete-exhibit): Compute completions even if we have no user input.
5374 2013-12-23 Daniel Colascione <dancol@dancol.org>
5376 * icomplete.el: Move `provide' to end of file.
5378 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5380 * net/gnutls.el (gnutls-verify-error): Add version tag.
5382 2013-12-23 Chong Yidong <cyd@gnu.org>
5384 * subr.el (set-transient-map): Rename from
5385 set-temporary-overlay-map. Doc fix.
5387 * face-remap.el (text-scale-adjust):
5388 * indent.el (indent-rigidly):
5389 * kmacro.el (kmacro-call-macro):
5390 * minibuffer.el (minibuffer-force-complete):
5391 * repeat.el (repeat):
5392 * simple.el (universal-argument--mode):
5393 * calendar/todo-mode.el (todo-insert-item--next-param):
5394 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5396 * indent.el (indent-rigidly): Use substitute-command-keys.
5398 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5400 * net/eww.el (eww-tag-select): Add text-property to jump to next
5402 (eww): Add non-supported ftp error.
5404 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5406 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5407 comments. Handle electric indent after typing `?' and `!'.
5409 2013-12-22 Chong Yidong <cyd@gnu.org>
5411 * faces.el (face-spec-recalc): If the theme specs are not
5412 applicable to a frame, fall back on the defface spec.
5413 This prevents themes from obliterating faces on low-color terminals.
5415 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5417 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5418 after `{'. We need it after block openers, and it doesn't seem
5419 to hurt after hash openers.
5421 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5423 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5424 extracted from `ruby-smie-rules'.
5425 (ruby--electric-indent-chars): New variable.
5426 (ruby--electric-indent-p): New function.
5427 (ruby-mode): Use `electric-indent-functions' instead of
5428 `electric-indent-chars'.
5430 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5432 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5434 (ruby-smie-rules): Indent plus one level after `=>'.
5436 2013-12-21 Richard Stallman <rms@gnu.org>
5438 * simple.el (newline): Doc fix.
5440 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5442 * net/eww.el (eww-list-histories, eww-list-histories)
5443 (eww-history-browse, eww-history-quit, eww-history-kill)
5444 (eww-history-mode-map, eww-history-mode): New command and
5445 functions to list browser histories.
5446 (eww-form-text): Support text form with disabled
5447 and readonly attributes.
5448 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5450 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5452 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5453 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5454 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5455 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5457 (eww-bookmark-mode-map): Add menu.
5458 (eww-render, eww-mode): Use `setq-local'.
5459 (eww-tool-bar-map): New variable.
5460 (eww-mode): Set `tool-bar-map'.
5461 (eww-view-source): Check for `html-mode' with `fboundp'.
5463 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5465 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5466 elements with text inside. Also remove debugging.
5468 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5470 * cus-start.el (all): Add ns-use-srgb-colorspace.
5472 2013-12-21 Chong Yidong <cyd@gnu.org>
5474 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5475 undefined. Thus, theme settings for undefined faces do not take
5476 effect until the faces are defined with defface, the same as with
5479 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5480 (face-spec-reset-face): Don't assign extra properties in temacs.
5481 (face-spec-recalc): Apply X resources too.
5483 2013-12-21 Chong Yidong <cyd@gnu.org>
5485 * faces.el (face-spec-set):
5486 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5487 * custom.el (defface): Doc fixes (Bug#16203).
5489 * indent.el (indent-rigidly-map): Add docstring, and move commands
5490 into named functions.
5491 (indent-rigidly-left, indent-rigidly-right)
5492 (indent-rigidly-left-to-tab-stop)
5493 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5494 indentation direction based on bidi direction, and accumulate
5495 sequential commands in a single undo boundary.
5496 (indent-rigidly--pop-undo): New utility function.
5498 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5500 * faces.el (read-face-name): Require crm.el when using crm-separator.
5502 2013-12-20 Daniel Colascione <dancol@dancol.org>
5504 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5505 so that we don't reflow comments into the shebang line.
5507 2013-12-20 Juri Linkov <juri@jurta.org>
5509 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5510 a position when `dired-directory' is non-nil. Check integer
5511 positions with `integerp'.
5512 (toggle-save-place, save-places-to-alist): Add check for
5514 (save-place-find-file-hook): Check integer positions with
5516 (save-place-dired-hook): Use `dired-goto-file' when
5517 `dired-filename' is found in the assoc list. Check integer
5518 positions with `integerp'.
5519 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5521 * dired.el (dired-initial-position-hook): Rename back from
5522 `dired-initial-point-hook'.
5523 (dired-initial-position): Rename `dired-initial-point-hook' to
5524 `dired-initial-position-hook'.
5525 (dired-file-name-at-point): Doc fix. (Bug#15329)
5527 2013-12-20 Juri Linkov <juri@jurta.org>
5529 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5530 (read-regexp-suggestions): New function.
5531 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5532 Use `read-regexp-suggestions'. Add non-empty default to history
5534 (occur-read-regexp-defaults-function): Remove function.
5535 (occur-read-primary-args): Use `regexp-history-last' instead of
5536 `occur-read-regexp-defaults-function'.
5538 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5539 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5540 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5541 `hi-lock-read-regexp-defaults-function'. Doc fix.
5542 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5543 with `find-tag-default-as-symbol-regexp'. Doc fix.
5544 (hi-lock-read-regexp-defaults): Remove function.
5545 (hi-lock-regexp-okay): Add check for null.
5547 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5548 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5550 * subr.el (find-tag-default-as-symbol-regexp): New function.
5551 (find-tag-default-as-regexp): Move symbol regexp formatting to
5552 `find-tag-default-as-symbol-regexp'.
5554 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5556 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5559 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5561 * calendar/todo-mode.el: New implementation of item insertion
5562 commands and key bindings.
5563 (todo-key-prompt): New face.
5564 (todo-insert-item): New command.
5565 (todo-insert-item--parameters): New defconst, replacing defvar
5566 todo-insertion-commands-args-genlist.
5567 (todo-insert-item--param-key-alist): New defconst, replacing
5568 defvar todo-insertion-commands-arg-key-list.
5569 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5570 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5571 (todo-insert-item--next-param): New functions.
5572 (todo-insert-item--args, todo-insert-item--argleft)
5573 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5575 (todo-key-bindings-t): Change binding of "i" from
5576 todo-insertion-map to todo-insert-item.
5577 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5578 (todo-insertion-command-name, todo-insertion-commands-names)
5579 (todo-define-insertion-command, todo-insertion-commands)
5580 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5582 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5584 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5585 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5587 (todo-move-category): Allow choosing a non-existing todo file to
5588 move the category to, and create that file.
5589 (todo-default-priority): New user option.
5590 (todo-set-item-priority): Use it.
5591 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5592 (desktop-restore-file-buffer): Declare.
5593 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5594 (todo-modes-set-2): Locally set desktop-save-buffer to
5595 todo-desktop-save-buffer.
5596 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5597 (auto-mode-alist): Add autoload cookie.
5599 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5601 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5602 helpers.el was a poor choice of name.
5603 (string-remove-prefix): New function.
5604 (string-remove-suffix): New function.
5606 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5608 Fix assignment for new window total sizes.
5609 * window.el (window--pixel-to-size): Remove function.
5610 (window--pixel-to-total-1, window--pixel-to-total):
5611 Fix calculation of new total sizes.
5613 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5615 * comint.el (comint-output-filter): Fix rear-nonsticky property
5616 placement (Bug#16010).
5618 2013-12-20 Chong Yidong <cyd@gnu.org>
5620 * faces.el (read-color): Minor fix for completion function.
5622 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5624 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5625 New option. (Bug#16182)
5626 (ruby-smie--indent-to-stmt-p): Use it.
5627 (ruby-smie-rules): Revert the logic in the handling of `when'.
5628 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5629 (ruby-deep-arglist, ruby-deep-indent-paren)
5630 (ruby-deep-indent-paren-style): Update docstrings to note that the
5631 vars don't have any effect with SMIE.
5633 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5635 * calc/calc.el (calc-enter, calc-pop): Use the variable
5636 `calc-context-sensitive-enter'.
5638 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5640 * net/shr.el (shr-insert): Protect against infloops in degenerate
5643 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5645 * progmodes/octave.el (octave): Add link to manual and octave
5647 (octave-mode-menu): Link to octave-mode manual.
5649 2013-12-20 Leo Liu <sdl.web@gmail.com>
5651 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5652 insertion using skeleton-end-newline. (Bug#16138)
5654 2013-12-20 Juri Linkov <juri@jurta.org>
5656 * replace.el (occur-engine): Use `add-face-text-property'
5657 to add the face property to matches and titles. (Bug#14645)
5659 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5660 the palette of other hi-lock colors.
5661 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5663 2013-12-19 Juri Linkov <juri@jurta.org>
5665 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5666 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5667 (minibuffer-history-symbol): Move variable declaration closer to
5670 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5673 2013-12-19 Juri Linkov <juri@jurta.org>
5675 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5677 (log-edit-hook): Add it to :options. (Bug#16170)
5679 2013-12-19 Juri Linkov <juri@jurta.org>
5681 * simple.el (eval-expression-print-format): Don't check for
5682 command names and the last command. Always display additional
5683 formats of the integer result in the echo area, and insert them
5684 to the current buffer only with a zero prefix arg.
5685 Display character when char-displayable-p is non-nil.
5686 (eval-expression): With a zero prefix arg, set `print-length' and
5687 `print-level' to nil, and insert the integer values from
5688 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5690 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5691 `eval-last-sexp-arg-internal'. Doc fix.
5692 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5693 `eval-last-sexp-print-value'. Doc fix.
5694 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5695 Set `print-length' and `print-level' to nil when arg is zero.
5696 (eval-last-sexp): Doc fix.
5697 (eval-defun-2): Print the integer values from
5698 `eval-expression-print-format' at the end.
5700 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5701 values from `eval-expression-print-format' at the end.
5703 * ielm.el (ielm-eval-input): Print the integer
5704 values from `eval-expression-print-format' at the end.
5706 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5708 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5709 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5711 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5713 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5714 (hl-line-highlight, global-hl-line-highlight): Use it.
5715 (hl-line-overlay): Use defvar-local.
5717 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5719 * term/ns-win.el: Require dnd.
5720 (global-map): Remove drag items.
5721 (ns-insert-text, ns-set-foreground-at-mouse)
5722 (ns-set-background-at-mouse):
5723 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5724 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5727 2013-12-19 Glenn Morris <rgm@gnu.org>
5729 * emacs-lisp/ert.el (ert-select-tests):
5730 Fix string/symbol mixup. (Bug#16121)
5732 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5734 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5735 keywords to their parent.
5737 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5739 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5740 first arg to be a string (fixed dead code), or an operator symbol.
5741 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5743 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5744 did nothing. Don't respond to `(:after ".")', it will be called
5745 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5746 change anything. Only return indentation for binary operators
5747 when they are hanging. De-dent opening paren when its parent is
5748 `.', otherwise it looks bad when the dot is not at bol or eol
5751 2013-12-19 Juri Linkov <juri@jurta.org>
5753 * replace.el (query-replace-read-args): Split a non-negative arg
5754 and a negative arg into separate elements.
5755 (query-replace, query-replace-regexp, replace-string)
5756 (replace-regexp): Add arg `backward'. Doc fix.
5757 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5758 move point to the beginning of the match.
5759 (replace-search, replace-highlight): Use new arg `backward'
5760 to set the value of `isearch-forward'.
5761 (perform-replace): Add arg `backward' and use it to perform
5762 replacement backward. (Bug#14979)
5764 * isearch.el (isearch-query-replace): Use a negative prefix arg
5765 to call `perform-replace' with a non-nil arg `backward'.
5767 2013-12-18 Juri Linkov <juri@jurta.org>
5769 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5770 to the default list. Move `log-edit-show-files' to the end.
5771 Add more available functions to options.
5772 (log-edit): Move default specific settings to
5773 `log-edit-insert-message-template'. Don't move point.
5774 (log-edit-insert-message-template): New function.
5775 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5778 2013-12-18 Juri Linkov <juri@jurta.org>
5780 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5781 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5783 2013-12-18 Leo Liu <sdl.web@gmail.com>
5785 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5788 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5790 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5791 formats for displaying file sizes when the -s switch is given.
5792 Instead, compute a separate format for displaying the size in
5793 blocks, which is displayed in addition to the "regular" size.
5794 When -h is given in addition to -s, produce size in blocks in
5795 human-readable form as well. (Bug#16179)
5797 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5799 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5800 Reference tables with ~\ref{...} instead of only \ref{...}.
5802 2013-12-18 Chong Yidong <cyd@gnu.org>
5804 * cus-edit.el (custom-magic-alist): Fix "themed" description
5807 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5808 is non-nil, do not create a new entry in the symbol's theme-value
5809 or theme-face property; update theme-settings only (Bug#14664).
5810 (custom-available-themes): Doc fix.
5812 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5815 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5817 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5819 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5822 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5824 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5826 2013-12-18 Glenn Morris <rgm@gnu.org>
5828 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5829 * cus-start.el (load-prefer-newer): New option.
5831 2013-12-18 Le Wang <l26wang@gmail.com>
5833 * comint.el (comint-previous-matching-input-from-input):
5834 Retain point (Bug#13404).
5836 2013-12-18 Chong Yidong <cyd@gnu.org>
5838 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5840 2013-12-18 Glenn Morris <rgm@gnu.org>
5842 * mail/emacsbug.el (report-emacs-bug):
5843 Only mention enable-multibyte-characters if non-standard.
5845 2013-12-17 Juri Linkov <juri@jurta.org>
5847 * arc-mode.el (archive-extract-by-file): Check if directory exists
5848 before deletion to not show irrelevant errors if it doesn't exist.
5850 2013-12-17 Juri Linkov <juri@jurta.org>
5852 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5855 * net/eww.el (browse-web): Add alias to `eww'.
5856 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5857 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5859 * net/browse-url.el (browse-url-browser-function): Move `eww'
5860 closer to similar functions.
5862 * startup.el (fancy-startup-screen, fancy-about-screen):
5863 Set browse-url-browser-function to eww-browse-url locally.
5866 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * window.el (window--pixel-to-total): Remove unused `mini' var.
5869 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5870 (split-window): Remove unused `new' var.
5871 (window--display-buffer): Remove unused `frame' and `delta' vars.
5872 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5875 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5877 * dired.el (dired-mark-pop-up):
5878 * register.el (register-preview): Don't bind
5879 split-height-threshold here since it's now done in
5880 display-buffer-below-selected.
5882 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5884 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5885 xterm-rgb-convert-to-16bit.
5886 (rxvt-register-default-colors): Standardize with
5887 xterm-register-default-colors (Bug#14078).
5889 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5891 * simple.el (kill-region): Pass mark first, then point, so that
5892 kill-append works right (Bug#12819).
5893 (copy-region-as-kill, kill-ring-save): Likewise.
5895 2013-12-17 Leo Liu <sdl.web@gmail.com>
5897 * net/rcirc.el (rcirc-add-face):
5898 * eshell/em-prompt.el (eshell-emit-prompt):
5899 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5902 2013-12-17 Chong Yidong <cyd@gnu.org>
5904 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5905 Suggested by Xue Fuqiao.
5907 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5909 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5911 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * net/shr.el (shr-insert-document): Remove unused var
5914 `shr-preliminary-table-render'.
5915 (shr-rescale-image): Remove unused arg `force'.
5916 (shr-put-image): Update calls accordingly.
5917 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5919 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5921 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5922 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5923 :close-all, to see which indentation method to use (Bug#16116).
5924 (smie-rules-function): Document the method :close-all.
5926 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5928 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5930 * net/eww.el (eww-display-html): If we can't find the anchor we're
5931 looking for, then go to point-min.
5933 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5935 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5936 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5937 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5938 Expand dir too, in case it's relative.
5940 2013-12-16 Juri Linkov <juri@jurta.org>
5942 * desktop.el (desktop-auto-save-timeout): Change default to
5943 `auto-save-timeout'. Doc fix.
5944 (desktop-save): Skip the timestamp in desktop-saved-frameset
5945 when checking for auto-save changes.
5946 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5947 `desktop-auto-save' is called repeatedly by the idle timer.
5948 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5949 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5952 2013-12-16 Juri Linkov <juri@jurta.org>
5954 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5956 (isearch-pre-command-hook): Check `this-command' for symbolp.
5958 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5960 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5962 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5964 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5965 (cfengine3--current-function): Bring in the current-function
5966 functionality from `cfengine3--current-word'.
5967 (cfengine3-completion-function): Bring in the
5968 bounds-of-current-word functionality from
5969 `cfengine3--current-word'.
5971 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5973 * window.el (display-buffer-below-selected):
5974 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5976 2013-12-16 Leo Liu <sdl.web@gmail.com>
5978 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5979 Remove NOMSG arg and all uses changed.
5981 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5983 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5984 (cua--deactivate-rectangle): Don't deactivate the mark.
5985 (cua-set-rectangle-mark): Don't set mark-active since
5986 cua--activate-rectangle already does it for us.
5987 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5988 non-rectangular region.
5990 * emulation/cua-base.el (cua-repeat-replace-region):
5991 Use with-current-buffer.
5993 * net/gnutls.el: Use cl-lib.
5994 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5996 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5998 * emacs-lisp/package.el (package-built-in-p): Support both
5999 built-in and the package.el converted package descriptions.
6000 (package-show-package-list): Allow keywords.
6001 (package-keyword-button-action): Use it instead of
6002 `finder-list-matches'.
6003 (package-menu-filter-interactive): Interactive filtering (by
6005 (package-menu--generate): Support keywords and change keymappings
6006 and headers when they are given.
6007 (package--has-keyword-p): Helper function.
6008 (package-menu--refresh): Use it.
6009 (package--mapc): Helper function.
6010 (package-all-keywords): Use it.
6011 (package-menu-mode-map): Set up menu items and keybindings to
6012 provide a filtering UI.
6014 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6016 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6017 the behavior when a certificate fails validation. Defaults to
6018 old behavior: never abort, just warn.
6019 (gnutls-negotiate): Use it.
6021 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6023 * window.el (display-buffer-below-selected): Never split window
6024 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6026 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6028 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6029 (package-buffer-info): Use it (bug#15108).
6031 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6033 * icomplete.el (icomplete-completions): Make sure the prefix is already
6034 displayed elsewhere before hiding it (bug#16219).
6036 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6038 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6039 open-paren tokens when preceded by a open-paren, too.
6040 (ruby-smie-rules): Handle virtual indentation after open-paren
6041 tokens specially. If there is code between it and eol, return the
6042 column where is starts (Bug#16118).
6044 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6046 * progmodes/cfengine.el: Fix `add-hook' doc.
6047 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6048 (cfengine3--current-word): Fix parameters.
6049 (cfengine3-make-syntax-cache): Simplify further.
6050 (cfengine3-completion-function, cfengine3--current-function):
6051 Use `assq' for symbols.
6052 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6054 2013-12-13 Glenn Morris <rgm@gnu.org>
6056 * loadup.el (load-path): Warn if site-load or site-init changes it.
6057 No more need to reset it when bootstrapping.
6059 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6061 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6062 locations for cf-promises.
6063 (cfengine-mode-syntax-functions-regex): New caching variable.
6064 (cfengine3-fallback-syntax): Fallback syntax for cases where
6065 cf-promises doesn't run.
6066 (cfengine3--current-word): Reimplement using
6067 `cfengine-mode-syntax-functions-regex'.
6068 (cfengine3-completion-function, cfengine3--current-function):
6069 Use `cfengine3-make-syntax-cache' directly.
6070 (cfengine3-clear-syntax-cache): New function.
6071 (cfengine3-make-syntax-cache): Simplify and create
6072 `cfengine-mode-syntax-functions-regex' on demand.
6073 (cfengine3-format-function-docstring): Don't call
6074 `cfengine3-make-syntax-cache' explicitly.
6076 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6078 Fix windmove-find-other-window broken after pixelwise resizing
6080 * windmove.el (windmove-other-window-loc): Revert change from
6082 (windmove-find-other-window): Call window-in-direction.
6083 * window.el (window-in-direction): New arguments SIGN, WRAP and
6084 MINI to emulate original windmove-find-other-window behavior.
6086 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6088 * simple.el (blink-matching--overlay): New variable.
6089 (blink-matching-open): Instead of moving point, highlight the
6090 matching paren with an overlay
6091 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6093 * faces.el (paren-showing-faces, show-paren-match)
6094 (show-paren-mismatch): Move from paren.el.
6096 2013-12-13 Leo Liu <sdl.web@gmail.com>
6098 * indent.el (indent-region): Disable progress reporter in
6099 minibuffer. (Bug#16108)
6101 * bindings.el (visual-order-cursor-movement): Fix version.
6103 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6105 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6106 Also match after beginning of line.
6107 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6108 files. Thanks to Russell Sim. (Bug#15378)
6110 2013-12-13 Juri Linkov <juri@jurta.org>
6112 * simple.el <Keypad support>: Remove key bindings duplicated
6113 with bindings.el. (Bug#14397)
6115 2013-12-13 Juri Linkov <juri@jurta.org>
6117 * comint.el (comint-mode-map): Replace `delete-char' with
6118 `delete-forward-char'. (Bug#16109)
6120 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6122 * progmodes/python.el (python-indent-calculate-indentation):
6123 Fix de-denters cornercase. (Bug#15731)
6125 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6128 (advice--make): Pay attention to `depth'.
6129 (advice--make-1): Don't autoload commands eagerly.
6130 * emacs-lisp/elp.el (elp-instrument-function):
6131 * emacs-lisp/trace.el (trace-function-internal):
6132 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6134 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6136 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6138 * term/w32-win.el (w32-handle-dropped-file):
6139 * startup.el (normal-top-level):
6140 * net/browse-url.el (browse-url-file-url):
6141 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6142 decode file names using 'utf-8' rather than
6143 file-name-coding-system.
6145 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6147 * progmodes/python.el (python-indent-context)
6148 (python-indent-calculate-indentation): Fix auto-identation
6149 behavior for comment blocks. (Bug#15916)
6151 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6153 * progmodes/python.el (python-indent-calculate-indentation):
6154 When determining indentation, don't treat "return", "pass", etc., as
6155 operators when they are just string constituents. (Bug#15812)
6157 2013-12-12 Juri Linkov <juri@jurta.org>
6159 * uniquify.el (uniquify-buffer-name-style): Change default to
6160 `post-forward-angle-brackets'.
6162 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6163 `uniquify'. Change default to `post-forward-angle-brackets'.
6165 2013-12-11 Glenn Morris <rgm@gnu.org>
6167 * emacs-lisp/package.el (finder-list-matches):
6168 Autoload rather than falsely declaring.
6170 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6172 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6173 (eww-mode-map): Use them.
6175 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6177 * window.el (display-buffer-in-side-window): Fix doc-string
6180 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6182 * vc/vc-git.el: Silence byte-compiler warnings.
6183 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6184 (log-edit-set-header): Declare.
6186 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6188 * Makefile.in (custom-deps, finder-data): Run output file names
6189 through unmsys--file-name. (Bug#16099)
6191 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6193 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6194 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6196 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6197 instead of deleting the selection "by hand" (bug#16098).
6198 Rely on insert-for-yank to yank rectangles.
6199 (cua-highlight-region-shift-only): Mark obsolete.
6200 (cua-mode): Don't enable/disable transient-mark-mode,
6201 shift-select-mode (cua-mode works both with and without them), and
6202 pc-selection-mode (obsolete).
6203 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6204 (cua--deactivate-rectangle): Deactivate it.
6206 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6207 (delete-selection-helper): Make sure yank starts at the top of the
6209 (minibuffer-keyboard-quit): Use region-active-p.
6211 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6213 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6214 to `delete' (bug#16109).
6216 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6218 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6219 info manual and show keybindings and set `:group' keyword.
6221 2013-12-11 Juri Linkov <juri@jurta.org>
6223 * delsel.el (delete-active-region): Let-bind `this-command'
6224 to prevent `kill-region' from changing its original value.
6225 (delete-selection-helper): Handle `overwrite-mode' for the type
6226 `kill' exactly the same way as for the type `t'.
6227 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6228 Support more commands. (Bug#13312)
6230 2013-12-11 Juri Linkov <juri@jurta.org>
6232 * bindings.el: Map kp keys to non-kp keys systematically
6233 with basic modifiers control, meta and shift. (Bug#14397)
6235 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6237 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6238 "Close browser" menu items. Fix wrong function of "List
6241 2013-12-11 Juri Linkov <juri@jurta.org>
6243 * misearch.el (multi-isearch-buffers): Set the value of
6244 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6245 arg of isearch-forward to t.
6246 (multi-isearch-buffers-regexp): Set the value of
6247 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6248 arg of isearch-forward-regexp to t.
6249 (multi-isearch-files): Set the value of
6250 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6251 arg of isearch-forward to t.
6252 (multi-isearch-files-regexp): Set the value of
6253 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6254 arg of isearch-forward-regexp to t. (Bug#16035)
6256 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6257 arg of isearch-forward to t.
6258 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6259 arg of isearch-forward-regexp to t.
6260 (dired-isearch-filter-filenames): Remove unnecessary check for
6261 `dired-isearch-filenames'.
6263 * comint.el (comint-history-isearch-backward):
6264 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6265 (comint-history-isearch-backward-regexp):
6266 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6268 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6270 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6271 unmsys--file-name. (Bug#16099)
6273 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6275 * emacs-lisp/package.el (package-keyword-button-action):
6276 Remove finder.el require dependency.
6278 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6280 * emacs-lisp/package.el: Require finder.el.
6281 (describe-package-1): Add keyword buttons.
6282 (package-make-button): New convenience function.
6283 (package-keyword-button-action): Keyword button action using
6284 `finder-list-matches'.
6286 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6288 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6291 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6293 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6296 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6298 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6299 after the end of a percent literal.
6301 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6303 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6304 Handle caret-delimited strings (Bug#16079).
6306 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6308 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6309 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6310 `ruby-parse-partial' (Bug#16078).
6312 2013-12-09 Leo Liu <sdl.web@gmail.com>
6314 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6316 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6318 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6319 (js-switch-indent-offset): New option.
6320 (js--proper-indentation): Use it. And handle the case when
6321 "default" is actually a key in an object literal.
6322 (js--same-line): New function.
6323 (js--multi-line-declaration-indentation): Use it.
6324 (js--indent-in-array-comp, js--array-comp-indentation):
6326 (js--proper-indentation): Use them, to handle array comprehension
6329 2013-12-08 Leo Liu <sdl.web@gmail.com>
6331 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6332 (flymake-make-overlay): Remove arg MOUSE-FACE.
6333 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6335 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6337 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6339 (redisplay-highlight-region-function): Use it.
6341 * emulation/cua-base.el (cua--explicit-region-start)
6342 (cua--last-region-shifted): Remove.
6343 (cua--deactivate): Use deactivate-mark.
6344 (cua--pre-command-handler-1): Don't handle shift-selection.
6345 (cua--post-command-handler-1): Don't change transient-mark-mode.
6346 (cua--select-keymaps): Use region-active-p rather than
6347 cua--explicit-region-start or cua--last-region-shifted.
6348 (cua-mode): Enable shift-select-mode.
6350 2013-12-08 Leo Liu <sdl.web@gmail.com>
6352 * progmodes/flymake.el (flymake-popup-current-error-menu):
6353 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6354 (flymake-posn-at-point-as-event, flymake-popup-menu)
6355 (flymake-make-emacs-menu): Remove. (Bug#16077)
6357 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6359 * rect.el (rectangle-mark-mode): Activate mark even if
6360 transient-mark-mode is off (bug#16066).
6361 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6362 is > mark and at bolp.
6364 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6365 (region-extract-function): Use it.
6366 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6367 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6369 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6370 kill-ring-save, kill-region, delete-char, delete-forward-char.
6371 Ignore self-insert-iso.
6373 * emulation/cua-gmrk.el (cua--init-global-mark):
6374 Ignore `self-insert-iso'.
6376 * emulation/cua-base.el (cua--prefix-copy-handler)
6377 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6378 checking cua--rectangle.
6379 (cua-delete-region): Use region-extract-function.
6380 (cua-replace-region): Delete function.
6381 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6382 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6383 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6384 (cua--init-keymaps): Don't remap delete-selection commands.
6385 (cua-mode): Use delete-selection-mode instead of rolling our own
6388 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6389 Obey region-extract-function.
6391 Make registers and delete-selection-mode work on rectangles.
6392 * register.el (describe-register-1): Don't modify the register's value.
6393 (copy-to-register): Obey region-extract-function.
6394 * delsel.el (delete-active-region): Obey region-extract-function.
6396 2013-12-08 Leo Liu <sdl.web@gmail.com>
6398 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6399 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6400 (flymake-compilation-prevents-syntax-check)
6401 (flymake-start-syntax-check-on-newline)
6402 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6403 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6404 (flymake-xml-program, flymake-master-file-dirs)
6405 (flymake-master-file-count-limit)
6406 (flymake-allowed-file-name-masks): Relocate.
6407 (flymake-makehash, flymake-float-time)
6408 (flymake-replace-regexp-in-string, flymake-split-string)
6409 (flymake-get-temp-dir): Remove.
6410 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6411 (flymake-current-row, flymake-selected-frame)
6412 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6413 related functions. (Bug#16077)
6415 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6417 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6419 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6421 * help-fns.el (describe-function-1): Use new advice-* functions
6422 rather than old ad-* functions. Fix function type description and
6423 source links for advised functions and subrs.
6425 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6427 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6429 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6431 * progmodes/compile.el (compilation-start):
6432 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6434 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6435 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6437 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6439 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6440 Touch up the last change.
6442 2013-12-06 Leo Liu <sdl.web@gmail.com>
6444 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6445 (inferior-octave-startup): Always use "octave> " for prompt.
6446 (octave-goto-function-definition)
6447 (octave-sync-function-file-names)
6448 (octave-find-definition-default-filename): Remove redundant backquotes.
6450 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6452 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6454 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6455 where appropriate already.
6456 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6457 end of method names (Bug#15874).
6459 2013-12-06 Juri Linkov <juri@jurta.org>
6461 * isearch.el (isearch--saved-overriding-local-map):
6462 New internal variable.
6463 (isearch-mode): Set it to the initial value of
6464 `overriding-terminal-local-map'.
6465 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6466 with `isearch--saved-overriding-local-map'. (Bug#16035)
6468 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6470 * progmodes/octave.el (inferior-octave-completion-table):
6471 Turn back into function, use `completion-table-with-cache'
6472 (Bug#11906). Update all references.
6474 * minibuffer.el (completion-table-with-cache): New function.
6476 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6478 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6480 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6482 * net/eww.el (eww-current-source): New variable to store page
6484 (eww-display-html, eww-mode, eww-save-history)
6485 (eww-restore-history): Use it.
6486 (eww-view-source): New command to view page source.
6487 Opportunistically uses `html-mode' to highlight the buffer.
6488 (eww-mode-map): Install it.
6490 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6492 * net/dbus.el (dbus-unregister-service)
6493 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6495 (dbus-unregister-service): Skip :serial entries in
6496 `dbus-registered-objects-table'.
6497 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6499 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6501 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6502 around keywords with extra `split-string' argument.
6504 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6506 * windmove.el (windmove-other-window-loc): Handle navigation
6507 between windows (excluding the minibuffer window - Bug#16017).
6509 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6511 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6512 in D-Bus type syntax.
6513 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6514 preserve unibyte strings. (Bug#16048)
6516 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6518 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6519 Call force-mode-line-update is the proper buffer (bug#16042).
6521 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6523 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6524 `log-edit-remember-comment', make argument optional. Adjust all
6526 (log-edit-mode): Add `log-edit-remember-comment' to
6527 `kill-buffer-hook' locally.
6528 (log-edit-kill-buffer): Don't remember comment explicitly since
6529 the buffer is killed anyway.
6531 2013-12-04 Juri Linkov <juri@jurta.org>
6533 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6534 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6536 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6538 * notifications.el (notifications-close-notification): Call the
6539 D-Bus method with ID being a `:uint32'. (Bug#16030)
6541 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6543 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6545 2013-12-03 Juri Linkov <juri@jurta.org>
6547 * progmodes/compile.el (compilation-start): Rename window alist
6548 entry `no-display-ok' to `allow-no-window'.
6550 * simple.el (shell-command): Add window alist entry
6551 `allow-no-window' to `display-buffer'.
6552 (async-shell-command): Doc fix.
6554 * window.el (display-buffer-no-window): New action function.
6555 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6557 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6559 * vc/log-edit.el (log-edit-set-header): Extract from
6560 `log-edit-toggle-header'.
6561 (log-edit-extract-headers): Separate the summary, when extracted
6562 from header, from the rest of the message with an empty line.
6564 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6565 line, if present, to the Summary header.
6567 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6569 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6570 in current-buffer (bug#16029).
6572 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6574 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6575 (debugger-mode-map): Bind it.
6576 (debugger--backtrace-base): New function.
6577 (debugger-eval-expression): Use it.
6578 (debugger-frame-number): Skip local vars when present.
6579 (debugger--locals-visible-p, debugger--insert-locals)
6580 (debugger--show-locals, debugger--hide-locals): New functions.
6582 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6584 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6586 (tramp-get-remote-locale): New defun.
6587 (tramp-open-connection-setup-interactive-shell): Use it.
6589 2013-12-02 Leo Liu <sdl.web@gmail.com>
6591 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6593 * progmodes/sh-script.el (sh-shell-process):
6594 * progmodes/octave.el (inferior-octave-process-live-p):
6595 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6596 (gdb-inferior-io-sentinel):
6597 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6599 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6601 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6602 `save-selected-window' to `log-edit-hide-buf'. This makes
6603 `log-edit-show-files' idempotent.
6604 (log-edit-show-files): Mark the new window as dedicated.
6606 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6608 * vc/log-edit.el (log-edit-mode-map): Add binding for
6609 `log-edit-kill-biffer'.
6610 (log-edit-hide-buf): Add a FIXME comment.
6611 (log-edit-add-new-comment): New function, extracted from
6613 (log-edit-done, log-edit-add-to-changelog): Use it.
6614 (log-edit-kill-buffer): New command.
6616 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6618 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6619 instead of killing the buffer.
6621 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6625 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6627 * net/eww.el (eww-form-checkbox-selected-symbol)
6628 (eww-form-checkbox-symbol): New customizable variable.
6629 (eww-form-checkbox, eww-toggle-checkbox):
6630 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6632 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6633 (shr--get-media-pref, shr--extract-best-source): New function.
6634 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6635 no :src tag was specified.
6637 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6638 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6639 Use \\` to match beginning of string instead of ^.
6640 (eww-browse-with-external-browser): Provide optional URL parameter.
6641 (eww-render): Set `eww-current-title' back to "".
6643 * net/shr.el (shr-tag-video): Display content for video if no
6644 poster is available.
6645 (shr-tag-audio): Add support for <audio> tag.
6647 * net/eww.el (eww-text-input-types): New const.
6648 (eww-process-text-input): Treat input types in
6649 `eww-text-input-types' as text.
6651 * net/shr.el (shr-tag-table): Fix comment typo.
6653 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6655 * net/eww.el (eww-follow-link): New command to avoid reloading
6656 pages when we follow #target links (bug#15243).
6657 (eww-quit): Special mode buffers shouldn't query before exiting.
6659 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6661 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6664 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666 * net/eww.el (eww-restore-history): Update the window title after
6667 moving in the history.
6668 (eww-current-dom): New variable used to save the current DOM.
6670 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6672 * vc/log-edit.el (log-edit-mode-map): Add binding for
6673 `log-edit-beginning-of-line'.
6674 (log-edit-setup-add-author): New user option.
6675 (log-edit-beginning-of-line): New command.
6676 (log-edit): Move major mode call above the contents setup so that
6677 the local variable values are already applied.
6678 (log-edit): Only insert "Author: " when
6679 `log-edit-setup-add-author' is non-nil.
6680 (log-edit): When SETUP is non-nil, position point after ": "
6681 instead of point-min.
6683 2013-12-01 Glenn Morris <rgm@gnu.org>
6685 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6687 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6689 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6690 redisplay to make sure the initial frame gets a chance to become
6691 visible. (Bug#16014)
6693 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6695 Support resizing frames and windows pixelwise.
6696 * cus-start.el (frame-resize-pixelwise)
6697 (window-resize-pixelwise): New entries.
6698 * emacs-lisp/debug.el (debug): Use window-total-height instead
6699 of window-total-size.
6700 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6701 * help.el (describe-bindings-internal): Use help-buffer as
6702 argument for with-help-window.
6703 (temp-buffer-max-width): New option.
6704 (resize-temp-buffer-window, help-window-setup)
6705 (with-help-window): Rewrite.
6706 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6708 * window.el (frame-char-size, window-min-pixel-height)
6709 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6710 (window-min-pixel-width, window-safe-min-pixel-size)
6711 (window-combination-p, window-safe-min-size)
6712 (window-resizable-p, window--size-to-pixel)
6713 (window--pixel-to-size, window--resize-apply-p): New functions.
6714 (window-safe-min-height): Fix doc-string.
6715 (window-size, window-min-size, window--min-size-1)
6716 (window-sizable, window-sizable-p, window--min-delta-1)
6717 (window-min-delta, window--max-delta-1, window-max-delta)
6718 (window--resizable, window--resizable-p, window-resizable)
6719 (window-full-height-p, window-full-width-p, window-at-side-p)
6720 (window--in-direction-2, window-in-direction)
6721 (window--resize-reset-1, window--resize-mini-window)
6722 (window-resize, window-resize-no-error)
6723 (window--resize-child-windows-normal)
6724 (window--resize-child-windows, window--resize-siblings)
6725 (window--resize-this-window, window--resize-root-window)
6726 (window--resize-root-window-vertically)
6727 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6728 (maximize-window, minimize-window, delete-window)
6729 (quit-restore-window, window-split-min-size, split-window)
6730 (balance-windows-2, balance-windows)
6731 (balance-windows-area-adjust, balance-windows-area)
6732 (window--state-get-1, window-state-get, window--state-put-1)
6733 (window--state-put-2, window-state-put)
6734 (display-buffer-record-window, window--display-buffer):
6735 Make functions handle pixelwise sizing of windows.
6736 (display-buffer--action-function-custom-type)
6737 (display-buffer-fallback-action):
6738 Add display-buffer-in-previous-window.
6739 (display-buffer-use-some-window): Resize window to height it had
6741 (fit-window-to-buffer-horizontally): New option.
6742 (fit-frame-to-buffer): Describe new values.
6743 (fit-frame-to-buffer-bottom-margin): Replace with
6744 fit-frame-to-buffer-margins.
6745 (window--sanitize-margin): New function.
6746 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6747 using window-text-pixel-size.
6749 2013-11-30 Glenn Morris <rgm@gnu.org>
6751 * emacs-lisp/bytecomp.el (byte-compile-form):
6752 Make the `interactive-only' warning like the `obsolete' one.
6753 * comint.el (comint-run):
6754 * files.el (insert-file-literally, insert-file):
6755 * replace.el (replace-string, replace-regexp):
6756 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6757 (goto-line, insert-buffer, next-line, previous-line):
6758 Tweak `interactive-only' spec.
6760 Stop keeping (most) generated cedet grammar files in the repository.
6761 * Makefile.in (semantic): New.
6762 (compile-main): Depend on semantic.
6764 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6766 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6767 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6769 * uniquify.el (uniquify-buffer-name-style): Change default.
6771 * loadup.el: Preload "uniquify".
6773 * time.el (display-time-update): Update all mode lines (bug#15999).
6775 * electric.el (electric-indent-mode): Enable by default.
6776 * loadup.el: Preload "electric".
6778 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6780 * emacs-lisp/helpers.el (string-empty-p): New function.
6781 (string-blank-p): New function.
6783 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6785 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6788 2013-11-29 Andreas Politz <politza@fh-trier.de>
6789 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6790 allow non-lambda lists as functions.
6791 (imenu--in-alist): Don't recurse into non-subalists.
6792 (imenu): Don't pass function itself as an argument (Bug#14029).
6794 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * progmodes/python.el (python-mode-map): Remove binding for ":".
6797 (python-indent-electric-colon): Remove command.
6798 (python-indent-post-self-insert-function): Integrate the previous code
6799 of python-indent-electric-colon. Make it conditional on
6800 electric-indent-mode.
6801 (python-mode): Add ?: to electric-indent-chars.
6802 Move python-indent-post-self-insert-function to the end of
6803 post-self-insert-hook.
6805 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6807 * doc-view.el (doc-view-goto-page): Update mode-line.
6809 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6811 2013-11-27 Glenn Morris <rgm@gnu.org>
6813 * international/charprop.el, international/uni-bidi.el:
6814 * international/uni-category.el, international/uni-combining.el:
6815 * international/uni-comment.el, international/uni-decimal.el:
6816 * international/uni-decomposition.el, international/uni-digit.el:
6817 * international/uni-lowercase.el, international/uni-mirrored.el:
6818 * international/uni-name.el, international/uni-numeric.el:
6819 * international/uni-old-name.el, international/uni-titlecase.el:
6820 * international/uni-uppercase.el:
6821 Remove generated files from VCS repository.
6823 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6825 * filenotify.el (file-notify-add-watch): Don't special-case
6826 w32notify when computing the directory to watch.
6828 2013-11-27 Glenn Morris <rgm@gnu.org>
6830 Make bootstrap without generated uni-*.el files possible again.
6831 * loadup.el: Update command-line-args checking for unidata-gen.
6832 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6833 * composite.el, international/characters.el:
6834 Handle unicode tables being undefined.
6836 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6837 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6838 (compile-main): Depend on leim rule.
6840 * loadup.el: Move leim-list.el to leim/ subdirectory.
6841 * startup.el (normal-top-level): No more leim directory.
6842 * international/ja-dic-cnv.el (skkdic-convert):
6843 Disable version-control and autoloads in output files.
6844 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6845 Disable version-control and autoloads in output files.
6846 * leim/quail: Move here from ../leim.
6847 * leim/quail/hangul.el (hangul-input-method-activate):
6848 Add autoload cookie.
6849 (generated-autoload-load-name): Set file-local value.
6850 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6851 (generated-autoload-load-name): Set file-local value.
6853 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6855 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6856 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6857 (eww-quit): Ask confirmation before quitting eww.
6859 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6861 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6862 reading output from Diff on MS-Windows and MS-DOS.
6864 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6866 * emacs-lisp/helpers.el (string-reverse): New function.
6868 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6870 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6871 names on MS Windows, like "/[::1]:".
6873 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6876 2013-11-26 Glenn Morris <rgm@gnu.org>
6878 * progmodes/python.el (python-indent-guess-indent-offset):
6879 Avoid corner-case error. (Bug#15975)
6881 Preload leim-list.el. (Bug#4789)
6882 * loadup.el: Load leim-list.el when found.
6883 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6885 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6887 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6889 * emacs-lisp/helpers.el (string-join): New function.
6891 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6893 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6894 Mark as obsolete and replace it with a symbol property.
6895 (byte-compile-form): Use new 'interactive-only property.
6896 * comint.el, files.el, replace.el, simple.el:
6897 Apply new 'interactive-only properly.
6899 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6901 * window.el (display-buffer-at-bottom): Make sure that
6902 split-window-sensibly creates the new window on bottom
6905 2013-11-23 David Kastrup <dak@gnu.org>
6907 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6908 on the conflict markers when available.
6909 (smerge--get-marker): New function.
6910 (smerge-end-re, smerge-base-re): Add subgroup.
6912 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6914 * frame.el (handle-focus-in, handle-focus-out): Add missing
6917 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6919 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6920 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6922 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6925 (gomoku--last-pos): New var.
6926 (gomoku--intangible-chars): New const.
6927 (gomoku--intangible): New function.
6928 (gomoku-mode): Use it. Derive from special-mode.
6929 (gomoku-move-up): Adjust line count.
6930 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6931 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6932 Simplify accordingly.
6934 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6935 Remove blink-cursor code.
6936 (blink-cursor-timer-function, blink-cursor-suspend):
6937 Don't special-case GUIs.
6938 (blink-cursor-mode): Use focus-in/out-hook.
6940 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6942 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6943 work when annotation is invisible (Bug#13886).
6945 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6947 * json.el (json-alist-p): Only return non-nil if the alist has
6948 simple keys (Bug#13518).
6950 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6952 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6953 when control-statement is the first statement in a buffer (Bug#15956).
6955 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6957 * imenu.el (imenu-generic-skip-comments-and-strings):
6958 New option (Bug#15560).
6959 (imenu--generic-function): Use it.
6961 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6963 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6966 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6968 * emacs-lisp/helpers.el: Add some string helpers.
6969 (string-trim-left): Removes leading whitespace.
6970 (string-trim-right): Removes trailing whitespace.
6971 (string-trim): Removes leading and trailing whitespace.
6973 * subr.el (string-suffix-p): New function.
6975 2013-11-23 Glenn Morris <rgm@gnu.org>
6977 * progmodes/python.el (python-shell-send-file):
6978 Add option to delete file when done. (Bug#15647)
6979 (python-shell-send-string, python-shell-send-region): Use it.
6981 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6983 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6984 to set buffer-read-only to t, never to nil. (Bug#15938)
6986 * textmodes/tex-mode.el (latex-noindent-environments):
6987 Add safe-local-variable property. (Bug#15936)
6989 2013-11-23 Glenn Morris <rgm@gnu.org>
6991 * textmodes/enriched.el (enriched-mode): Doc fix.
6992 * emacs-lisp/authors.el (authors-renamed-files-alist):
6993 Add enriched.doc -> enriched.txt.
6995 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6997 2013-11-22 Leo Liu <sdl.web@gmail.com>
6999 * progmodes/octave.el (inferior-octave-startup): Spit out error
7002 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7004 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7007 (ruby-encoding-magic-comment-style): Add :version.
7009 2013-11-22 Leo Liu <sdl.web@gmail.com>
7011 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7013 (octave-help-mode): Adapt to change to help-mode-finish to use
7014 derived-mode-p on 2013-09-17.
7015 (inferior-octave-prompt): Also match octave-gui.
7016 (octave-kill-process): Don't ask twice. (Bug#10564)
7018 2013-11-22 Leo Liu <sdl.web@gmail.com>
7020 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7021 (inferior-octave-startup, inferior-octave-check-process)
7022 (inferior-octave-track-window-width-change)
7023 (octave-completion-at-point, octave-eldoc-function): Use it.
7024 (octave-kill-process): Provide confirmation. (Bug#10564)
7026 2013-11-21 Leo Liu <sdl.web@gmail.com>
7028 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7029 Fix obsolete variable comment-use-global-state.
7031 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7033 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7034 Add `octave-source-file'.
7035 (octave-source-file): New function. (Bug#15935)
7037 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7039 * net/eww.el (eww-local-regex): New variable.
7040 (eww): Use it to detect localhost and similar.
7042 2013-11-21 Leo Liu <sdl.web@gmail.com>
7044 Add completion for command `ag'.
7045 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7046 (pcomplete/ag): New function.
7047 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7049 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7051 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7053 (make-obsolete): Remove interactive spec.
7055 2013-11-21 Glenn Morris <rgm@gnu.org>
7057 * startup.el (command-line-1): Use path-separator with -L.
7059 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7061 * emacs-lisp/package.el (describe-package-1): Add package archive
7064 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7066 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7067 Change default to "# encoding: %s" to differentiate it from the
7068 default Ruby encoding comment template.
7070 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7072 * ses.el (ses-mode): Doc fix. (Bug#14748)
7074 2013-11-20 Leo Liu <sdl.web@gmail.com>
7076 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7078 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7080 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7081 when rebase or bisect are in progress.
7083 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7085 * filenotify.el (file-notify-add-watch): Doc fix.
7087 2013-11-19 Leo Liu <sdl.web@gmail.com>
7089 * obsolete/rcompile.el: Mark obsolete.
7091 * progmodes/compile.el (compilation-start)
7092 (compilation-goto-locus, compilation-find-file):
7093 Pass no-display-ok and handle nil value from display-buffer.
7096 * window.el (display-buffer-alist, display-buffer): Document the
7097 new parameter no-display-ok. Return either a window or nil
7098 but never a non-window value.
7100 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * electric.el (electric-indent-mode-map): Remove.
7103 (electric-indent-mode): Change the global-map instead (bug#15915).
7105 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7108 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * emacs-lisp/nadvice.el (remove-function): Align with
7111 add-function's behavior.
7113 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7114 (gdb--string-regexp): New constant.
7115 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7116 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7117 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7119 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7120 Adjust use accordingly.
7121 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7123 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7125 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7126 interpolation curlies (Bug#15914).
7128 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7130 * calc/calc.el (calc-context-sensitive-enter): New variable.
7131 (calc-enter): Use `calc-context-sensitive-enter'.
7133 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7135 * progmodes/cfengine.el: Version bump.
7136 (cfengine-cf-promises): New defcustom to locate cf-promises.
7137 (cfengine3-vartypes): Add new "data" type.
7138 (cfengine3--current-word): New function to get current name-like
7140 (cfengine3--current-function): New function to look up a CFEngine
7141 function's definition.
7142 (cfengine3-format-function-docstring): New function.
7143 (cfengine3-make-syntax-cache): New function.
7144 (cfengine3-documentation-function): New function: ElDoc glue.
7145 (cfengine3-completion-function): New function: completion glue.
7146 (cfengine3-mode): Set `compile-command',
7147 `eldoc-documentation-function', and add to
7148 `completion-at-point-functions'.
7150 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7152 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7153 `tramp-current-connection'.
7155 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7157 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7158 nil/self/true/false with "end of symbol".
7160 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7162 * subr.el (version-regexp-alist): Fix a typo.
7164 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7166 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7167 "en_US.utf8" and "LC_CTYPE" to "".
7168 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7169 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7171 2013-11-15 Leo Liu <sdl.web@gmail.com>
7173 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7175 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7177 * progmodes/gud.el (ctl-x-map):
7178 Remove C-x SPC binding. (Bug#12342)
7179 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7181 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7183 * subr.el (version-regexp-alist):
7184 Recognize hg, svn and darcs versions as snapshot versions.
7186 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7187 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7188 (ruby--encoding-comment-required-p): Extract from
7189 `ruby-mode-set-encoding'.
7190 (ruby-mode-set-encoding): Add the ability to always insert an
7191 utf-8 encoding comment. Fix and simplify coding comment update
7194 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7196 * net/tramp-gvfs.el (top): Run init code only when
7197 `tramp-gvfs-enabled' is not nil.
7198 (tramp-gvfs-enabled): Check also :system bus.
7200 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7202 Sync with upstream verilog-mode revision 78e66ba.
7203 * progmodes/verilog-mode.el (verilog-end-of-defun)
7204 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7205 (verilog-get-end-of-defun): Remove unused argument.
7206 (verilog-comment-depth): Remove unused local `e'.
7207 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7208 Don't pass arg to verilog-get-end-of-defun.
7210 2013-11-14 Glenn Morris <rgm@gnu.org>
7212 * obsolete/assoc.el (aget): Prefix dynamic variable.
7214 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7216 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7218 * widget.el, hfy-cmap.el: Remove bogus package version number.
7220 2013-11-13 Glenn Morris <rgm@gnu.org>
7222 * replace.el (replace-eval-replacement):
7223 Try to give more helpful error message. (Bug#15836)
7225 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7226 (archive-7z-update): Avoid custom type mismatches.
7228 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7230 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7232 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7233 address can be empty.
7235 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7236 Accept nil SWITCHES.
7237 (tramp-gvfs-handle-write-region): Implement APPEND.
7239 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7241 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7242 binary "|" operator and closing block args delimiter.
7243 Remove FIXME comment referring to Ruby 1.8-only syntax.
7244 (ruby-smie--implicit-semi-p): Not after "|" operator.
7245 (ruby-smie--closing-pipe-p): New function.
7246 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7247 (ruby-smie-rules): Indent after "|".
7249 2013-11-12 Glenn Morris <rgm@gnu.org>
7251 * ps-print.el (ps-face-attribute-list):
7252 Handle anonymous faces. (Bug#15827)
7254 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7256 * window.el (display-buffer-other-frame): Fix doc-string.
7259 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7263 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7265 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7266 (tramp-sh-handle-file-local-copy): Don't write a message when
7267 saving temporary files.
7269 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7270 both directories are remote.
7271 (tramp-smb-handle-directory-files): Do not return double entries.
7272 Do not expand full file names.
7273 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7274 (tramp-smb-handle-write-region): Implement APPEND.
7275 (tramp-smb-get-stat-capability): Fix a stupid bug.
7277 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7281 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7283 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7284 throwing error over malformed let/let* (bug#15814).
7286 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7288 * iswitchb.el (iswitchb-mode): Mark obsolete.
7290 2013-11-11 Glenn Morris <rgm@gnu.org>
7292 * international/uni-bidi.el, international/uni-category.el:
7293 * international/uni-name.el, international/uni-numeric.el:
7294 Regenerate for Unicode 6.3.0.
7296 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7298 * net/tramp.el (tramp-methods):
7299 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7300 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7302 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7304 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7305 Force highlighting text after Summary keyword in doc face for rpm.
7307 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7309 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7310 available and the word has no wildcards, append one to the grep pattern.
7311 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7312 (ispell-complete-word): Call `ispell-lookup-words' with the value
7313 independent of `ispell-look-p'.
7315 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7317 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7319 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7322 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7325 (ruby-font-lock-keywords): Use backquote.
7327 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7329 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7330 (ruby-smie--backward-token): Only consider full-string matches.
7332 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7334 * faces.el (describe-face): Add distant-foreground.
7336 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7338 * progmodes/ruby-mode.el: Improve encoding comment handling.
7339 (ruby-encoding-magic-comment-style): New option.
7340 (ruby-custom-encoding-magic-comment-template): New option.
7341 (ruby--insert-coding-comment, ruby--detect-encoding):
7342 New functions extracted from `ruby-mode-set-encoding'.
7343 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7344 to control the style of the auto-inserted encoding comment.
7346 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7348 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7349 Use `smie-backward-sexp' with token argument.
7351 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7353 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7354 Remove instrumentation code.
7356 2013-11-08 Glenn Morris <rgm@gnu.org>
7358 * progmodes/autoconf.el (autoconf-mode):
7359 Tweak comment-start-skip. (Bug#15822)
7361 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7363 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7364 at bobp (bug#15826).
7365 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7367 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7369 * man.el (Man-start-calling): New macro, extracted from
7370 Man-getpage-in-background.
7371 (Man-getpage-in-background): Use it.
7372 (Man-update-manpage): New command.
7373 (Man-mode-map): Bind it.
7375 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7377 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7378 of "and", "or", "&&" and "||".
7379 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7380 argument. Prohibit opening curly brace because it could only be a
7381 block opener in that position.
7382 (ruby-smie--forward-token, ruby-smie--backward-token):
7383 Separate "|" from "&" or "*" going after it. That can happen in block
7385 (ruby-smie--indent-to-stmt): New function, seeks the end of
7386 previous statement or beginning of buffer.
7387 (ruby-smie-rules): Use it.
7388 (ruby-smie-rules): Check if there's a ":" before a curly block
7389 opener candidate; if there is, it's a hash.
7391 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7393 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7394 (cl--block-wrapper): Fix last accidental change.
7396 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7398 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7399 Instrument, in order to hunt failure on hydra.
7401 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7403 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7404 malformed bindings form (bug#15814).
7406 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7408 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7409 "." compared to " @ ". This incidentally fixes some indentation
7411 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7412 (ruby-smie-grammar): New tokens: "and" and "or".
7413 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7414 Exclude "and" and "or". Remove "do" in order to work around token
7416 (ruby-smie-rules): Add all infix tokens. Handle the case of
7417 beginning-of-buffer.
7419 2013-11-06 Glenn Morris <rgm@gnu.org>
7421 * Makefile.in (setwins_almost, setwins_for_subdirs):
7422 Avoid accidental matches.
7424 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7426 * menu-bar.el (popup-menu): Use key-binding.
7428 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7430 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7431 menus, support also the menus produced by minor modes.
7434 2013-11-06 Leo Liu <sdl.web@gmail.com>
7436 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7437 DISTANCE to bound the search. All uses changed. (Bug#15808)
7439 2013-11-06 Glenn Morris <rgm@gnu.org>
7441 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7442 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7443 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7445 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7447 * electric.el (electric-indent-just-newline): New command.
7448 (electric-indent-mode-map): New keymap.
7449 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7450 Re-add :group which weren't redundant.
7452 * electric.el (electric-indent-local-mode): New minor mode.
7453 (electric-indent-functions-without-reindent): New var.
7454 (electric-indent-post-self-insert-function): Use it.
7455 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7457 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7459 * international/quail.el (quail-help): Be more explicit about the
7460 meaning of the labels shown on the keys. (Bug#15800)
7462 * startup.el (normal-top-level): Load the subdirs.el files before
7463 setting the locale environment. (Bug#15805)
7465 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7467 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7468 via arguments so as to get the right ones (bug#15418).
7470 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7472 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7474 Fix problems found while writing a test suite.
7476 * net/tramp-compat.el (tramp-compat-load): New defun.
7477 * net/tramp.el (tramp-handle-load): Use it.
7479 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7480 "(numberp ok-if-already-exists)" correctly.
7482 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7484 * international/characters.el (glyphless-char-display-control):
7487 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7489 * progmodes/python.el (python-mode):
7490 * progmodes/scheme.el (scheme-mode):
7491 * progmodes/prolog.el (prolog-mode):
7492 * progmodes/ruby-mode.el (ruby-mode):
7493 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7494 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7496 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7498 * rect.el (rectangle--highlight-for-redisplay):
7499 * emacs-lisp/smie.el (smie--next-indent-change):
7500 Use buffer-chars-modified-tick.
7502 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7504 * electric.el (electric-indent-post-self-insert-function):
7505 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7507 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7509 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7511 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7513 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7516 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7520 * progmodes/python.el: Fix up last change.
7521 (python-shell--save-temp-file): New function.
7522 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7523 `string' comes from the current buffer.
7524 (python-shell-send-string-no-output): Remove `msg' arg.
7525 (python--use-fake-loc): New var.
7526 (python-shell-buffer-substring): Obey it. Try to compensate for the
7527 extra coding line added by python-shell--save-temp-file.
7528 (python-shell-send-region): Use python-shell--save-temp-file and
7529 python-shell-send-file directly. Add `nomain' argument.
7530 (python-shell-send-buffer): Use python-shell-send-region.
7531 (python-electric-pair-string-delimiter): New function.
7532 (python-mode): Use it.
7534 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7536 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7537 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7538 environment and decoding all of the default-directory's to here
7540 (command-line): Decode also argv[0].
7542 * loadup.el: Error out if default-directory is a multibyte string
7543 when we are dumping.
7545 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7547 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7549 * emacs-lisp/package.el (package-menu-mode)
7550 (package-menu--print-info, package-menu--archive-predicate):
7551 Add Archive column to package list.
7553 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7555 Fix problems found while writing a test suite.
7557 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7558 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7559 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7560 to nil when running original file name handler. Otherwise,
7561 there are problems with constructs like "$$FOO".
7563 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7566 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7568 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7570 * subr.el (version<, version<=, version=):
7571 Update docstrings with information for snapshot versions.
7573 * helpers.el: New library for misc helper functions.
7574 (hash-table-keys): New function returning a list of hash keys.
7575 (hash-table-values): New function returning a list of hash values.
7577 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7579 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7580 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7582 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7584 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7585 checking whether point is after a 1-letter word.
7587 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7589 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7590 Don't infloop when expanding region over `multiline' syntax-type that
7591 begins a line (bug#15778).
7593 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7595 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7596 Make it into a proper minor mode.
7597 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7598 (rectangle-mark-mode-map): New keymap.
7599 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7601 2013-11-04 Glenn Morris <rgm@gnu.org>
7603 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7605 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7607 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7608 (ruby-smie-rules): Use smie-rule-parent instead.
7610 * emacs-lisp/smie.el (smie-rule-parent): Always call
7611 smie-indent-virtual rather than only for hanging tokens.
7612 (smie--next-indent-change): New helper command.
7614 2013-11-03 Glenn Morris <rgm@gnu.org>
7616 * Makefile.in (abs_srcdir): Remove.
7617 (emacs): Unset EMACSLOADPATH.
7619 2013-11-02 Glenn Morris <rgm@gnu.org>
7621 * Makefile.in (EMACS): Use a relative filename.
7622 (abs_top_builddir): Remove.
7623 (custom-deps, finder-data, autoloads): Use --chdir.
7625 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7627 Use relative filenames in TAGS files.
7628 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7629 (lisptagsfiles4, TAGS): Use relative file names.
7630 (TAGS-LISP): Remove.
7631 (maintainer-clean): No more TAGS-LISP file.
7633 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7634 (lisptagsfiles4): Use absolute filenames again.
7635 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7636 Remove all *loaddefs files, not just the first. Remove esh-groups.
7637 (maintainer-clean): Delete TAGS, TAGS-LISP.
7639 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7641 * emacs-lisp/package.el (package-version-join):
7642 Recognize snapshot versions.
7644 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7646 * subr.el (version-regexp-alist): Add support for snapshot versions.
7648 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7650 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7651 New function, replacement for `smie-rule-parent' for when we want to
7652 skip over our direct parent if it's an assignment token..
7653 (ruby-smie-rules): Use it.
7655 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7657 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7658 unconditionally. Remove now unnecessary forward declarations.
7659 Remove XEmacs-specific setup.
7660 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7661 (ruby-font-lock-syntactic-keywords)
7662 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7663 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7664 (ruby-here-doc-end-syntax): Remove.
7665 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7666 defined as function.
7668 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7670 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7672 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7674 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7675 table and abbrev table, `define-derived-mode' does that for us
7678 2013-11-01 Glenn Morris <rgm@gnu.org>
7680 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7681 files is atomic for some time, so no parallel compilation issues).
7683 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7685 * faces.el (face-x-resources): Add :distant-foreground.
7686 (region): Use :distant-foreground for gtk and ns.
7688 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7690 Allow multiple bibliographies when BibLaTeX is used rather than
7692 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7693 (reftex-locate-bibliography-files): Us it.
7695 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7697 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7698 allow comments in pbm files.
7700 * term/w32-win.el (dynamic-library-alist): Support newer versions
7701 of libjpeg starting with v7: look only for the DLL from the
7702 version against which Emacs was built.
7703 Support versions of libpng beyond 1.4.x.
7704 Support libtiff v4.x.
7706 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7708 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7709 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7711 (ruby-deep-arglist): Add property :type.
7713 2013-10-31 Glenn Morris <rgm@gnu.org>
7715 * Makefile.in (custom-deps, finder-data): No need to setq the target
7716 variables, we are in the right directory and the defaults work fine.
7718 2013-10-30 Glenn Morris <rgm@gnu.org>
7720 * Makefile.in (autoloads): Do not use abs_lisp.
7722 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7723 `newline' does not respect `standard-output', so use `princ'.
7725 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7727 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7728 * buff-menu.el (Buffer-menu--unmark): New function.
7729 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7731 2013-10-30 Glenn Morris <rgm@gnu.org>
7733 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7735 * emacs-lisp/package.el (lm-homepage): Declare.
7737 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7740 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7742 * Makefile.in (finder-data, autoloads, update-subdirs)
7743 (compile-main, compile-clean, compile-always, bootstrap-clean):
7744 Check return value of cd.
7745 (compile-calc): Remove.
7747 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7749 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7751 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7752 (byte-compile-and-folded): New function.
7753 (=, <, >, <=, >=): Use it.
7755 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7756 (path-separator, null-device, buffer-file-coding-system)
7757 (lpr-headers-switches): Check system-type before modifying them.
7758 (find-buffer-file-type-coding-system): Mark obsolete.
7759 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7760 find-file-not-found-set-buffer-file-coding-system.
7761 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7762 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7763 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7764 (w32-direct-print-region-helper, w32-direct-print-region-function)
7765 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7766 * startup.el (normal-top-level-add-subdirs-to-load-path):
7767 * ps-print.el (ps-print-region-function):
7768 * lpr.el (print-region-function): Use new name.
7770 * subr.el (custom-declare-variable-early): Remove function.
7771 (custom-declare-variable-list): Remove var.
7772 (error, user-error): Remove `while' loop.
7773 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7774 (user-emacs-directory-warning, locate-user-emacs-file):
7776 * simple.el (read-quoted-char-radix, read-quoted-char):
7777 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7779 * custom.el (custom-declare-variable-list): Don't process
7780 custom-declare-variable-list.
7782 * progmodes/python.el (python-shell-get-buffer): New function.
7783 (python-shell-get-process): Use it.
7784 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7785 Python which encoding was used. Don't split-string since we only care
7786 about the first line. Return the temp-file, if applicable.
7787 (python-shell-send-region): Tell compile.el how to turn locations in
7788 the temp-file into locations in the source buffer.
7790 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7792 * subr.el (undefined): Add missing behavior from the C code for
7795 * rect.el: Use lexical-binding. Add new rectangular region support.
7796 (rectangle-mark): New command.
7797 (rectangle--region): New var.
7798 (deactivate-mark-hook): Reset rectangle--region.
7799 (rectangle--extract-region, rectangle--insert-for-yank)
7800 (rectangle--highlight-for-redisplay)
7801 (rectangle--unhighlight-for-redisplay): New functions.
7802 (region-extract-function, redisplay-unhighlight-region-function)
7803 (redisplay-highlight-region-function): Use them to handle
7805 * simple.el (region-extract-function): New var.
7806 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7807 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7808 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7809 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7810 (redisplay-unhighlight-region-function)
7811 (redisplay-highlight-region-function): New vars.
7812 (redisplay--update-region-highlight): New function.
7813 (pre-redisplay-function): Use it.
7814 (exchange-point-and-mark): Don't deactivate the mark before
7815 reactivate-it anyway.
7816 * comint.el (comint-kill-region): Remove yank-handler argument.
7817 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7818 (delete-char): Remove property, since it's now part of their
7820 (self-insert-iso): Remove property since this command doesn't exist.
7822 * emacs-lisp/package.el (package--download-one-archive)
7823 (describe-package-1): Don't query the user about final newline.
7825 2013-10-29 Daniel Colascione <dancol@dancol.org>
7827 * net/tramp.el (tramp-methods): Document new functionality.
7828 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7829 tramp-hostname-checker if method provides one instead of scanning
7830 argument list for "%h" to decide hostname acceptability.
7832 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7834 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7835 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7836 Handle COPY-CONTENTS. (Bug#15737)
7838 2013-10-28 Daiki Ueno <ueno@gnu.org>
7841 (epa-file-cache-passphrase-for-symmetric-encryption):
7842 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7844 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7846 * image.el (defimage, image-load-path): Doc fixes.
7848 2013-10-27 Alan Mackenzie <acm@muc.de>
7850 Indent statements in macros following "##" correctly.
7851 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7852 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7854 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7856 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7858 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7860 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7861 after `=' is probably a new expression.
7863 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7865 * man.el (man-imenu-title): New option.
7866 (Man-mode-map): Add menu. (Bug#15722)
7867 (Man-mode): Add imenu to menu.
7869 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7871 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7872 specific in what the first arg can be: a non-keyword word,
7873 string/regexp/percent literal opener, opening paren, or unary
7874 operator followed directly by word.
7876 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7878 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7879 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7880 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7881 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7882 Remove vars, they do not apply any more.
7883 (prolog-mode-abbrev-table): Remove redundant declaration.
7884 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7885 (prolog-use-smie): Remove.
7886 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7887 supported by prolog-electric-if-then-else-flag.
7888 (prolog-mode-variables, prolog-menu): Use setq-local.
7889 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7890 Remove binding to `Backspace' since this key doesn't exist anyway.
7891 Remove bindings for electric self-inserting keys.
7892 (prog-mode): Assume it's defined.
7893 (prolog-post-self-insert): New function.
7894 (prolog-mode): Use it.
7895 (prolog-indent-line, prolog-indent-level)
7896 (prolog-find-indent-of-matching-paren)
7897 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7898 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7899 (prolog-goto-next-paren, prolog-in-string-or-comment)
7900 (prolog-tokenize, prolog-inside-mline-comment)
7901 (prolog-find-start-of-mline-comment): Remove functions.
7902 (prolog-find-unmatched-paren, prolog-clause-end)
7903 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7904 (prolog-electric--if-then-else): Rename from
7905 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7906 (prolog-tokenize-searchkey): Remove const.
7907 (prolog-clause-info): Use forward-sexp.
7908 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7909 (prolog-electric-if-then-else): Remove commands.
7910 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7911 for use in post-self-insert-hook.
7912 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7913 for use in post-self-insert-hook.
7914 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7915 for use in post-self-insert-hook.
7916 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7917 adapt it for use in post-self-insert-hook.
7919 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7921 * emacs-lisp/ert.el (ert-run-tests-interactively):
7922 Use `completing-read'. (Bug#9756)
7924 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7926 * simple.el (line-move): Call line-move-1 instead of
7927 line-move-visual when the current window hscroll is zero, but
7928 temporary-goal-column indicates we will need to hscroll as result
7929 of the movement. (Bug#15712)
7931 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7933 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7934 capitalization. Use :visible instead of :active.
7935 Fix `ruby-indent-exp' reference. Add menu items for the generic
7936 commands that are used with SMIE.
7937 (ruby-do-end-to-brace): Insert space after `{'.
7939 2013-10-25 John Anthony <john@jo.hnanthony.com>
7941 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7943 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7945 2013-10-25 Glenn Morris <rgm@gnu.org>
7947 * vc/vc.el (vc-print-log): Don't use a working revision unless
7948 one was explicitly specified. (Bug#15322)
7950 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7952 * subr.el (add-to-list): Preserve return value in compiler-macro
7955 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7957 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7958 result. Ask user to retry using '-all' flag. (Bug#15701)
7960 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7962 * emacs-lisp/smie.el: New smie-config system.
7963 (smie-config): New defcustom.
7964 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7965 (smie-config-guess, smie-config-save): New commands.
7966 (smie-config--mode-local, smie-config--buffer-local)
7967 (smie-config--trace, smie-config--modefuns): New vars.
7968 (smie-config--advice, smie-config--mode-hook)
7969 (smie-config--setter, smie-config-local, smie-config--get-trace)
7970 (smie-config--guess-value, smie-config--guess): New functions.
7971 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7972 text properties. Treat "string fence" syntax like string syntax.
7974 * progmodes/sh-script.el (sh-use-smie): Change default.
7975 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7976 (sh-var-value): Simplify by CSE.
7977 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7978 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7980 (sh-guess-basic-offset): Use cl-incf.
7981 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7983 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7985 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7988 2013-10-24 Glenn Morris <rgm@gnu.org>
7990 * Makefile.in (abs_top_srcdir): Remove.
7991 (update-subdirs): Use relative path to update-subdirs.
7993 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7995 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7996 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7997 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7998 Call unmsys--file-name before expand-file-name, not after it.
8000 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8002 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8003 (ert-test-skipped): New error.
8004 (ert-skip, ert-stats-skipped): New defuns.
8005 (ert--skip-unless): New macro.
8006 (ert-test-skipped): New struct.
8007 (ert--run-test-debugger, ert-test-result-type-p)
8008 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8009 (ert--stats-set-test-and-result, ert-char-for-test-result)
8010 (ert-string-for-test-result, ert-run-tests-batch)
8011 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8012 Handle skipped tests. (Bug#9803)
8014 2013-10-24 Glenn Morris <rgm@gnu.org>
8016 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8018 * Makefile.in (abs_top_srcdir): New, set by configure.
8019 (update-subdirs): Correct build-aux location.
8021 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8023 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8024 value, whether we could auto-deduce `backend', or not.
8026 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8027 with parameters" example. Simplify the "is it block or is it
8028 hash" check, but also make it more thorough.
8030 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8032 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8034 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8036 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8039 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8042 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8044 * progmodes/compile.el (compilation-directory-matcher)
8045 (compilation-page-delimiter):
8046 Support GNU Make-4.0 directory quoting. (Bug#15678)
8048 2013-10-23 Leo Liu <sdl.web@gmail.com>
8050 * ido.el (ido-tidy): Handle read-only text.
8052 2013-10-23 Glenn Morris <rgm@gnu.org>
8054 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8055 (emacs, compile, compile-always):
8056 Quote entities that might contain whitespace.
8057 (custom-deps, finder-data, autoloads): Use abs_lisp.
8058 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8059 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8060 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8062 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8064 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8065 Use `following-char'.
8067 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8069 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8070 * progmodes/ruby-mode.el (ruby-smie-rules):
8071 Remove corresponding workaround. Fix indentation rule of ";" so it
8072 also applies when ";" is the parent.
8074 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8076 * frame.el (display-screens, display-pixel-height)
8077 (display-pixel-width, display-mm-width, display-backing-store)
8078 (display-save-under, display-planes, display-color-cells)
8079 (display-visual-class, display-monitor-attributes-list):
8080 Mention the optional ‘display’ argument in doc strings.
8082 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8084 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8085 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8087 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8089 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8090 TODO. Add "." after " @ ".
8091 (ruby-smie--at-dot-call): New function. Checks if point at method
8092 call with explicit target.
8093 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8094 to the method name tokens when it precedes them.
8095 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8096 (ruby-smie-rules): Add rule for indentation before and after "."
8099 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8101 * textmodes/remember.el (remember-diary-extract-entries):
8104 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8107 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8109 * progmodes/ruby-mode.el (ruby-smie-grammar):
8110 Add (almost) all infix operators.
8111 (ruby-smie--implicit-semi-p): Add new operator chars.
8113 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8115 (ruby-smie--args-separator-p): Check that there's no newline
8116 between method call and its arguments.
8118 2013-10-20 Alan Mackenzie <acm@muc.de>
8120 Allow comma separated lists after Java "implements".
8122 * progmodes/cc-engine.el (c-backward-over-enum-header):
8124 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8125 from a "disallowed" list in enum fontification.
8127 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8129 * startup.el (default-frame-background-mode): Remove unused defvar.
8131 * progmodes/verilog-mode.el (verilog-mode): Don't set
8132 comment-indent-function globally.
8134 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8136 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8137 Move Info menu item creation to ns-win.el.
8139 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8142 * menu-bar.el: Move GNUstep specific menus...
8144 * term/ns-win.el (ns-initialize-window-system): ... to here.
8146 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8148 * simple.el (newline): Only run post-self-insert-hook when
8149 called interactively.
8151 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8153 * icomplete.el (icomplete-with-completion-tables): Add :version.
8155 2013-10-19 Alan Mackenzie <acm@muc.de>
8157 Fix fontification bugs with constructors and const.
8159 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8160 CASE 2) Remove the check for the absence of a suffix construct
8161 after a function declaration with only types (no identifiers) in
8162 the parentheses. Also, accept a function declaration with just a
8163 type inside the parentheses, if this type can be positively
8164 recognised as such, or if a prefix keyword like "explicit" nails
8165 down the construct as a declaration.
8167 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8169 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8170 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8171 the problem whereby selecting a menu item that leads to a
8172 minibuffer prompt moves the cursor out of the minibuffer window,
8173 making it hard to type at the prompt. Suggested by Stefan Monnier
8174 <monnier@iro.umontreal.ca>.
8176 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8178 * menu-bar.el: Don't make Services menu.
8180 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8182 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8183 (ffap-alist): Use ffap-c++-mode for c++-mode.
8184 (ffap-c++-path): New variable.
8185 (ffap-c++-mode): New function.
8187 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8189 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8191 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8193 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8194 introduced on 2013-09-08, which results in an infinite loop
8195 requesting a password.
8197 2013-10-18 Glenn Morris <rgm@gnu.org>
8199 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8201 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8203 Sync with upstream verilog-mode revision 1a6ecec7.
8204 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8205 (verilog-mode-release-date): Remove.
8206 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8207 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8208 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8209 (verilog-auto-tieoff-ignore-regexp)
8210 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8211 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8212 (verilog-signals-with, verilog-dir-cache-preserving)
8213 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8215 (verilog-case-fold): New option, to control case folding in
8216 regexp searches, bug597.
8217 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8218 (verilog-string-match-fold, verilog-in-paren-count)
8219 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8220 (verilog-at-close-struct-p): New functions.
8221 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8222 (verilog-forward-sexp, verilog-set-auto-endcomments)
8223 (verilog-leap-to-case-head): Handle "unique0" case.
8224 (verilog-in-constraint-re): New constant.
8225 (verilog-keywords, verilog-type-font-keywords):
8226 Add some SystemVerilog 1800-2012 keywords.
8227 (verilog-label-be): Remove unimplemented argument, bug669.
8228 (verilog-batch-execute-func): When batch expanding clear
8229 create-lockfiles to prevent spurious user locks when a file ends
8231 (verilog-calculate-indent, verilog-calc-1)
8232 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8233 (verilog-do-indent): Fix indentation of nested constraints
8235 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8236 (verilog-auto-inst-param): Use verilog-string-match-fold.
8237 (verilog-read-inst-module-matcher):
8238 Fix AUTOINST on gate primitives with #1.
8239 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8240 Reads all user-defined typed variables.
8241 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8242 (verilog-signals-matching-regexp)
8243 (verilog-signals-not-matching-regexp, verilog-auto):
8244 Respect verilog-case-fold.
8245 (verilog-diff-report): Fix line count.
8246 (verilog-auto-assign-modport): Remove unused local `modi'.
8247 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8248 better handle multidimensional arrays.
8249 Fix packed array ports misadding bit index in AUTOINST, bug637.
8250 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8251 to not double-declare existing outputs and inputs, respectively.
8252 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8253 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8254 (verilog-sk-uvm-component): New skeleton.
8255 (verilog-submit-bug-report): Add verilog-case-fold,
8256 remove verilog-mode-release-date.
8258 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8260 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8263 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8265 * textmodes/remember.el (remember): Set buffer-offer-save in
8266 remember buffers (bug#13566).
8268 2013-10-18 Daniel Colascione <dancol@dancol.org>
8270 When evaluating forms in ielm, direct standard output to ielm
8271 buffer. Add new ielm-return-for-effect command. Remove trailing
8272 whitespace throughout.
8274 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8275 (ielm-return-for-effect): New command.
8276 (ielm-send-input): Accept optional `for-effect' parameter.
8277 (ielm-eval-input): Accept optional `for-effect' parameter.
8278 Bind `standard-output' to stream we create using
8279 `ielm-standard-output-impl'. Suppress printing result when
8281 (ielm-standard-output-impl): New function.
8282 (inferior-emacs-lisp-mode): Explain new features in documentation.
8284 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8288 * net/tramp.el (tramp-debug-message): Do not check for connection
8290 (tramp-message): Use "vector" connection property.
8292 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8293 (tramp-equal-remote, tramp-eshell-directory-change)
8294 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8295 (tramp-adb-handle-rename-file)
8296 * net/tramp-cmds.el (tramp-list-remote-buffers)
8297 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8298 * net/tramp-compat.el (tramp-compat-process-running-p)
8299 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8300 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8301 (tramp-gvfs-handle-rename-file)
8302 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8303 (tramp-set-file-uid-gid)
8304 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8305 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8308 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8309 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8310 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8311 (tramp-gw-open-network-stream): Suppress unrelated traces.
8313 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8314 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8315 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8316 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8317 connection property.
8319 * net/tramp-cache.el (top): Suppress traces when reading
8322 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8323 Refactor common code. Improve debug message.
8324 (tramp-maybe-open-connection)
8325 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8326 connection buffer too early.
8328 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8329 from `tramp-smb-actions-with-acl'.
8330 (tramp-smb-actions-set-acl): New defconst.
8331 (tramp-smb-handle-copy-directory)
8332 (tramp-smb-action-get-acl): New defun, renamed from
8333 `tramp-smb-action-with-acl'.
8334 (tramp-smb-action-set-acl): New defun.
8335 (tramp-smb-handle-set-file-acl): Rewrite.
8337 2013-10-17 Glenn Morris <rgm@gnu.org>
8339 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8341 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8343 * skeleton.el (skeleton-newline): Remove.
8344 (skeleton-internal-1): Use (insert "\n") instead.
8346 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8349 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8350 forward-sexp-function while we redo its job (bug#15613).
8352 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8354 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8355 represented by lists.
8357 2013-10-16 Glenn Morris <rgm@gnu.org>
8359 * tmm.el (tmm--history): New dynamic variable.
8360 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8362 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8364 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8365 (tramp-smb-errors): Add error messages.
8366 (tramp-smb-actions-with-acl): New defconst.
8367 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8368 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8369 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8370 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8371 (tramp-smb-get-stat-capability): Fix tests.
8373 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8375 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8378 2013-10-16 Glenn Morris <rgm@gnu.org>
8380 * ansi-color.el (ansi-color-drop-regexp):
8381 Add 1J, 1K, 2K. (Bug#15617)
8383 * files.el (hack-local-variables--warned-lexical): New.
8384 (hack-local-variables):
8385 Warn about misplaced lexical-binding. (Bug#15616)
8387 * net/eww.el (eww-render): Always set eww-current-url,
8388 and update header line. (Bug#15622)
8389 (eww-display-html): ... Rather than just doing it here.
8391 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8393 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8394 menu navigations commands.
8396 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8398 * progmodes/subword.el (subword-capitalize): Be careful when
8399 the search for [[:alpha:]] fails (bug#15580).
8401 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8403 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8404 to commands that scroll the menu.
8406 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8408 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8409 Handle methods ending with `?' and `!'.
8411 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8413 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8414 `japanese-cp932' to `cp932' to fix the problem where saving a
8415 source file written in Shift_JIS twice would end up having
8416 `coding: japanese-cp932' which Ruby could not recognize.
8417 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8418 in `ruby-encoding-map'.
8419 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8420 doesn't need to be explicitly declared in magic comment.
8421 (ruby-encoding-map): Add type declaration for better customize UI.
8423 2013-10-13 Glenn Morris <rgm@gnu.org>
8425 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8426 Occur buffers are read-only. http://bugs.debian.org/720775
8428 * emacs-lisp/authors.el (authors-fixed-entries):
8429 Comment out old alpha stuff.
8431 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8433 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8434 to `after-save-hook' instead of `before-save-hook'.
8435 (ruby-mode-set-encoding): Use the value of coding system used to
8436 write the file. Call `basic-save-buffer-1' after modifying the
8439 2013-10-13 Alan Mackenzie <acm@muc.de>
8441 Fix indentation/fontification of Java enum with
8442 "implements"/generic.
8444 * progmodes/cc-engine.el (c-backward-over-enum-header):
8445 Extracted from the three other places and enhanced to handle generics.
8446 (c-inside-bracelist-p): Uses new function above.
8447 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8449 (c-font-lock-enum-tail): Uses new function above.
8451 2013-10-13 Kenichi Handa <handa@gnu.org>
8453 * international/mule-cmds.el (select-safe-coding-system): Remove a
8454 superfluous condition in chekcing whether a coding system is safe
8457 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8459 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8461 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8463 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8465 2013-10-13 Glenn Morris <rgm@gnu.org>
8467 * menu-bar.el (menu-bar-update-buffers):
8468 Unify Buffers menu prompt string. (Bug#15576)
8470 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8472 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8474 (authors-fixed-entries): Use accented form of name.
8476 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8478 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8479 method calls (bug#15594).
8480 (ruby-smie--args-separator-p): New function.
8481 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8482 recognize paren-free method calls.
8484 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8485 internals of universal-argument.
8487 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8489 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8490 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8491 dropped menu on second mouse click on the menu bar.
8493 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8495 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8496 (explicit-shell-file-name): Declare.
8497 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8498 (sh-completion-at-point-function): New function.
8500 (sh-smie--keyword-p): Remove unused argument.
8501 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8503 (sh-set-shell): Always setup SMIE, even if we use the
8504 old indentation code.
8506 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8508 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8510 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8511 predicate would return nil are almost non-existent.
8512 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8514 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8515 cache also after commands that modify the buffer but don't move
8518 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8520 * env.el (substitute-env-in-file-name): New function.
8521 (substitute-env-vars): Extend the meaning of the optional arg.
8523 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8525 * term/w32-win.el (dynamic-library-alist): Define separate lists
8526 of GIF DLLs for versions before and after 5.0.0 of giflib.
8529 2013-10-10 João Távora <joaotavora@gmail.com>
8531 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8532 not locked, use last revision and current source as
8533 defaults. (Bug#15569)
8535 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8537 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8540 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8542 * window.el (pop-to-buffer-same-window): Fix doc-string.
8545 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8547 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8549 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8551 * calendar/icalendar.el (icalendar-import-file):
8552 Fix interactive spec. (Bug#15482)
8554 2013-10-10 Glenn Morris <rgm@gnu.org>
8556 * desktop.el (desktop-save): Default to saving in .emacs.d,
8557 since PWD is no longer in desktop-path by default. (Bug#15319)
8559 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8560 now that text mode has a menu with the same entry.
8561 (menu-bar-text-mode-auto-fill): Remove now unused func.
8562 * textmodes/text-mode.el (text-mode-map):
8563 Use auto-fill help text from menu-bar.el.
8565 2013-10-10 John Anthony <john@jo.hnanthony.com>
8567 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8569 2013-10-09 Juri Linkov <juri@jurta.org>
8571 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8572 instead of this-command-keys. Add universal-argument-more and
8573 universal-argument-minus to the list of prefix commands. (Bug#15568)
8575 2013-10-09 Glenn Morris <rgm@gnu.org>
8577 * vc/vc-svn.el (vc-svn-create-repo):
8578 Expand paths in file://... url. (Bug#15446)
8580 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8582 (authors): Remove unused local variables.
8584 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8586 * profiler.el: Create a more coherent calltree from partial backtraces.
8587 (profiler-format): Hide the tail with `invisible' so that C-s can still
8588 find the hidden elements.
8589 (profiler-calltree-depth): Don't recurse so enthusiastically.
8590 (profiler-function-equal): New hash-table-test.
8591 (profiler-calltree-build-unified): New function.
8592 (profiler-calltree-build): Use it.
8593 (profiler-report-make-name-part): Indent the calltree less.
8594 (profiler-report-mode): Add visibility specs for profiler-format.
8595 (profiler-report-expand-entry, profiler-report-toggle-entry):
8596 Expand the whole subtree when provided with a prefix arg.
8598 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8600 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8602 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8603 hanging iuwu-mod token.
8604 (ruby-smie--forward-token): Do not include a dot after a token in
8606 (ruby-smie--backward-token): Likewise.
8608 2013-10-08 Juri Linkov <juri@jurta.org>
8610 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8611 to isearch-other-control-char.
8612 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8613 and isearch-post-command-hook to post-command-hook.
8614 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8615 and isearch-post-command-hook from post-command-hook.
8616 (isearch-unread-key-sequence)
8617 (isearch-reread-key-sequence-naturally)
8618 (isearch-lookup-scroll-key, isearch-other-control-char)
8619 (isearch-other-meta-char): Remove functions.
8620 (isearch-pre-command-hook, isearch-post-command-hook):
8621 New functions based on isearch-other-meta-char rewritten
8622 relying on the new behavior of overriding-terminal-local-map
8623 that does not replace the local keymaps any more. (Bug#15200)
8625 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8627 Support menus on text-mode terminals.
8628 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8631 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8633 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8634 Move here from mouse.el.
8635 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8637 (tty-menu-navigation-map): New map for TTY menu navigation.
8639 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8641 * frame.el (display-mouse-p): Report text-mode mouse as available
8643 (display-popup-menus-p): Report availability if mouse is
8644 available; don't condition on window-system.
8646 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8647 (tty-menu-selected-face): New faces.
8649 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8651 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8652 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8653 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8654 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8656 (lisp-mode-variables): New `elisp' argument.
8657 (emacs-lisp-mode): Use it.
8658 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8659 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8661 * indent.el: Use lexical-binding.
8662 (indent-region): Add progress reporter.
8663 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8665 (indent--next-tab-stop): New function to implement this behavior.
8666 (tab-to-tab-stop, move-to-tab-stop): Use it.
8668 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8670 * indent.el (indent-rigidly--current-indentation): New function.
8671 (indent-rigidly-map): New var.
8672 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8674 2013-10-08 Bastien Guerry <bzg@gnu.org>
8676 * register.el (insert-register): Fix 2013-10-07 change.
8678 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8680 * progmodes/perl-mode.el: Use lexical-binding.
8681 Remove redundant :group args.
8682 (perl-nochange): Change default to be closer to other major modes's
8684 (perl-indent-line): Don't consider text on current line as a
8685 valid beginning of function from which to indent.
8687 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8688 with more than one argument (bug#15538).
8690 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8692 * vc/pcvs.el: Use lexical-binding.
8693 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8694 environment of `eval'.
8695 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8696 than a list of expressions. Adjust callers.
8697 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8699 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8701 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8702 case of the dot in a chained method call being on the following line.
8704 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8706 * electric.el (electric-indent-inhibit): New var.
8707 (electric-indent-post-self-insert-function): Use it.
8708 * progmodes/python.el (python-mode): Set it.
8710 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8713 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8715 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8716 (css-mode): Use electric-indent-chars.
8718 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8719 (font-lock-beg, font-lock-end): Move before first use.
8720 (nxml-mode): Use syntax-propertize-function.
8721 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8722 (nxml-extend-after-change-region): Remove.
8723 * nxml/xmltok.el: Use lexical-binding.
8724 (xmltok-save): Use `declare'.
8725 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8726 * nxml/nxml-util.el: Use lexical-binding.
8727 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8729 * nxml/nxml-ns.el: Use lexical-binding.
8730 (nxml-ns-save): Use `declare'.
8731 (nxml-ns-prefixes-for): Avoid add-to-list.
8732 * nxml/rng-match.el: Use lexical-binding.
8733 (rng--ipattern): Use cl-defstruct.
8734 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8735 (rng-cons-group-after, rng-subst-group-after)
8736 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8737 Use closures instead of `(lambda...).
8739 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8741 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8744 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8745 Use `tramp-handle-insert-file-contents'.
8746 (tramp-gvfs-handle-insert-file-contents): Remove function.
8748 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8749 Use `save-restriction' in order to keep markers.
8751 * net/trampver.el: Update release number.
8753 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8755 * progmodes/compile.el (compilation-parse-errors):
8756 Use compilation--put-prop.
8757 (compilation--ensure-parse): Check compilation-multiline.
8759 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8761 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8764 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8766 * progmodes/ruby-mode.el: Fix recently added tests.
8767 (ruby-smie-grammar): Add - and +.
8768 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8769 (ruby-smie--backward-id): New functions.
8770 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8771 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8774 2013-10-07 Leo Liu <sdl.web@gmail.com>
8776 * register.el (register-preview-delay)
8777 (register-preview-functions): New variables.
8778 (register-read-with-preview, register-preview)
8779 (register-describe-oneline): New functions.
8780 (point-to-register, window-configuration-to-register)
8781 (frame-configuration-to-register, jump-to-register)
8782 (number-to-register, view-register, insert-register)
8783 (copy-to-register, append-to-register, prepend-to-register)
8784 (copy-rectangle-to-register): Use register-read-with-preview to
8785 read register. (Bug#15525)
8787 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8789 * net/network-stream.el (network-stream-open-starttls): Don't add
8790 --insecure if it's already present, because that gnutls-cli
8791 rejects getting that parameter twice.
8793 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8795 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8798 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8800 * newcomment.el (comment-use-global-state): Change default value
8801 to t, mark obsolete (Bug#15251).
8802 (comment-beginning): In addition to `comment-to-syntax', check the
8803 value of `comment-use-global-state'.
8805 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8808 (ruby-comment-column): Follow the global default, by default.
8809 (ruby-smie-grammar): Add assignment syntax.
8810 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8811 open-paren, a comma, or a \.
8812 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8813 and line continuations.
8814 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8815 followed by implicit semi-colons. Add rule for string concatenation
8816 and for indentation at BOB.
8817 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8819 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8820 calling next-sexp, since next-token may have skipped chars which
8821 next-sexp doesn't know should be skipped!
8823 2013-10-05 Leo Liu <sdl.web@gmail.com>
8825 * progmodes/octave.el (octave-send-region):
8826 Call compilation-forget-errors.
8828 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8830 * vc/vc-svn.el (vc-svn-find-admin-dir):
8831 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8832 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8833 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8834 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8836 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8838 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8840 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8842 * subr.el (read-passwd): Hide chars even when called within a context
8843 where after-change-functions is disabled (bug#15501).
8844 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8845 until we removed ourself from overriding-terminal-local-map.
8847 2013-10-04 Leo Liu <sdl.web@gmail.com>
8849 * progmodes/octave.el (inferior-octave-mode):
8850 Call compilation-forget-errors.
8852 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8854 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8856 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8858 * net/secrets.el (secrets-create-collection): Add optional
8859 argument ALIAS. Use proper Label keyword. Append ALIAS as
8860 dbus-call-method argument. (Bug#15516)
8862 2013-10-04 Leo Liu <sdl.web@gmail.com>
8864 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8865 (inferior-octave-compilation-font-lock-keywords): New variables.
8866 (compilation-error-regexp-alist)
8867 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8868 (inferior-octave-mode): Use compilation-shell-minor-mode.
8870 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8872 * minibuffer.el (completion--replace): Be careful that `end' might be
8875 2013-10-03 Daiki Ueno <ueno@gnu.org>
8877 Add support for package signature checking.
8878 * emacs-lisp/package.el (url-http-file-exists-p)
8879 (epg-make-context, epg-context-set-home-directory)
8880 (epg-verify-string, epg-context-result-for)
8881 (epg-signature-status, epg-signature-to-string)
8882 (epg-check-configuration, epg-configuration)
8883 (epg-import-keys-from-file): Declare.
8884 (package-check-signature): New user option.
8885 (package-unsigned-archives): New user option.
8886 (package-desc): Add `signed' field.
8887 (package-load-descriptor): Set `signed' field if .signed file exists.
8888 (package--archive-file-exists-p): New function.
8889 (package--check-signature): New function.
8890 (package-install-from-archive): Check package signature.
8891 (package--download-one-archive): Check archive signature.
8892 (package-delete): Remove .signed file.
8893 (package-import-keyring): New command.
8894 (package-refresh-contents): Import default keyring.
8895 (package-desc-status): Add "unsigned" status.
8896 (describe-package-1, package-menu--print-info)
8897 (package-menu-mark-delete, package-menu--find-upgrades)
8898 (package-menu--status-predicate): Support "unsigned" status.
8900 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8902 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8903 the new compilation scheme using the new byte-codes.
8905 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8906 (byte-pophandler): New byte codes.
8907 (byte-goto-ops): Adjust accordingly.
8908 (byte-compile--use-old-handlers): New var.
8909 (byte-compile-catch): Use new byte codes depending on
8910 byte-compile--use-old-handlers.
8911 (byte-compile-condition-case--old): Rename from
8912 byte-compile-condition-case.
8913 (byte-compile-condition-case--new): New function.
8914 (byte-compile-condition-case): New function that dispatches depending
8915 on byte-compile--use-old-handlers.
8916 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8919 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8920 Optimize under `condition-case' and `catch' if
8921 byte-compile--use-old-handlers is nil.
8922 (disassemble-offset): Handle new bytecodes.
8924 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8926 * subr.el (error): Use `declare'.
8927 (decode-char, encode-char): Use advertised-calling-convention instead
8928 of the docstring to discourage use of the `restriction' arg.
8930 2013-10-03 Daiki Ueno <ueno@gnu.org>
8932 * epg.el (epg-verify-file): Add a comment saying that it does not
8933 notify verification error as a return value nor a signal.
8934 (epg-verify-string): Ditto.
8936 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8938 * progmodes/compile.el (compilation-start): Try globbing the arg to
8941 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8943 Sync with Tramp 2.2.8.
8945 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8946 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8947 * net/trampver.el: Update release number.
8949 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8951 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8952 and default-process-coding-system for darwin only.
8954 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8958 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8960 * vc/vc-git.el (vc-git-grep): Disable pager.
8962 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8964 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8965 Use :url instead of :homepage, as per
8966 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8968 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8969 non-nil, use `syntax-ppss' (Bug#15251).
8971 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8973 * progmodes/octave.el (inferior-octave-startup-file):
8974 Prefer ~/.emacs.d/init_octave.m.
8976 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8978 * emacs-lisp/package.el (package-desc-from-define):
8979 Accept additional arguments as plist, convert them to an alist and store
8980 them in the `extras' slot.
8981 (package-generate-description-file): Convert extras alist back to
8982 plist and append to the `define-package' form arguments.
8983 (package--alist-to-plist): New function.
8984 (package--ac-desc): Add `extras' slot.
8985 (package--add-to-archive-contents): Check if the archive-contents
8986 vector is long enough, and if it is, pass its `extras' slot value
8987 to `package-desc-create'.
8988 (package-buffer-info): Call `lm-homepage', pass the returned value
8989 to `package-desc-from-define'.
8990 (describe-package-1): Render the homepage button (Bug#13291).
8992 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8993 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8995 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8997 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8998 and default-process-coding-system to utf-8-unix (Bug#15402).
9000 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9002 * subr.el (looking-back): Do not recommend using looking-back.
9004 2013-09-28 Alan Mackenzie <acm@muc.de>
9006 Fix indentation/fontification of Java enum with "implements".
9008 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9009 regexp which matches "implements", etc., in Java.
9010 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9011 specifier clauses coming after "enum".
9012 * progmodes/cc-fonts.el (c-font-lock-declarations)
9013 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9016 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9018 * faces.el (region): Change ns_selection_color to
9019 ns_selection_fg_color, add ns_selection_bg_color.
9021 2013-09-28 Leo Liu <sdl.web@gmail.com>
9023 * progmodes/octave.el (inferior-octave-completion-table)
9024 (inferior-octave-completion-at-point): Minor tweaks.
9026 * textmodes/ispell.el (ispell-lookup-words): Rename from
9027 lookup-words. (Bug#15460)
9028 (lookup-words): Obsolete.
9029 (ispell-complete-word, ispell-command-loop): All uses changed.
9031 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9033 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9034 (octave-mode-menu): Add octave-send-buffer.
9035 (octave-send-buffer): New function.
9037 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9039 * progmodes/octave.el (octave-mode-map): Add key binding for
9041 (octave-mode-menu): Add octave-lookfor.
9042 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9044 (octave-lookfor): New function.
9046 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9048 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9049 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9051 (cl--loop-set-iterator-function): New function.
9052 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9053 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9054 Bind `it' with `let' instead of substituting it with `cl-subst'.
9055 (cl--unused-var-p): New function.
9056 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9057 Eliminate some unused variable warnings (bug#15326).
9059 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9061 * doc-view.el (doc-view-scale-reset): Rename from
9062 `doc-view-reset-zoom-level'.
9063 (doc-view-scale-adjust): New command.
9064 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9065 `doc-view-scale-adjust'.
9067 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9069 * doc-view.el (doc-view-reset-zoom-level): New command.
9070 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9071 zoom commands (bug#15466).
9073 2013-09-26 Kenichi Handa <handa@gnu.org>
9075 * international/quail.el (quail-help): Make it not a command.
9077 2013-09-26 Leo Liu <sdl.web@gmail.com>
9079 * minibuffer.el (completion-all-sorted-completions): Make args
9080 optional as they are.
9082 2013-09-25 Daniel Colascione <dancol@dancol.org>
9084 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9085 specs are and that they're not evaluated.
9087 2013-09-24 Sam Steingold <sds@gnu.org>
9089 * midnight.el (clean-buffer-list-kill-regexps)
9090 (clean-buffer-list-kill-buffer-names): Update for the new Man
9091 buffer naming which includes the object name.
9093 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9095 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9096 (eshell-parse-command, eshell-parse-pipeline): Use it since
9097 eshell-separate-commands requires a dynamic scoped var.
9098 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9100 2013-09-23 Leo Liu <sdl.web@gmail.com>
9102 * autoinsert.el (auto-insert-alist): Make the value of
9103 lexical-binding match its file setting.
9105 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9107 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9109 * autoarg.el (autoarg-kp-digit-argument):
9110 * electric.el (Electric-command-loop):
9111 * kmacro.el (kmacro-step-edit-insert):
9112 Do not set universal-argument-num-events.
9114 2013-09-22 Leo Liu <sdl.web@gmail.com>
9116 * files.el (interpreter-mode-alist): Add octave.
9118 2013-09-21 Alan Mackenzie <acm@muc.de>
9120 C++: fontify identifier in declaration following "public:" correctly.
9121 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9122 to match "public", etc.
9123 (c-decl-prefix-re): Add ":" into the C++ value.
9124 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9125 bit. Add a check for a ":" preceded by "public", etc.
9127 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9129 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9130 recognized by GDB 7.5 and later.
9132 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9134 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9136 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * subr.el (internal--call-interactively): New const.
9139 (called-interactively-p): Use it (bug#3984).
9141 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9143 * vc/pcvs.el (cvs-mode-ignore):
9144 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9145 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9147 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9149 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9150 (eshell-ls-orig-insert-directory): Remove.
9151 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9152 (eshell-ls-use-in-dired): Use advice-add/remove.
9153 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9154 Add `orig-fun' arg for use in :around advice.
9155 Make it check (redundantly) eshell-ls-use-in-dired.
9157 2013-09-19 Glenn Morris <rgm@gnu.org>
9159 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9161 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9163 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9165 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9167 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9168 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9169 (tramp-get-remote-python): New defuns.
9170 (tramp-get-remote-uid-with-perl)
9171 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9172 contributed by yary <not.com@gmail.com> (tiny change).
9173 (tramp-get-remote-uid-with-python)
9174 (tramp-get-remote-gid-with-python): New defuns. Python code
9175 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9176 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9178 2013-09-19 Glenn Morris <rgm@gnu.org>
9180 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9182 * eshell/em-unix.el (eshell-remove-entries):
9183 Rename argument to avoid name-clash with global `top-level'.
9185 * eshell/esh-proc.el (eshell-kill-process-function):
9186 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9187 (eshell-reset-after-proc): Remove unused arg `proc'.
9189 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9190 (directory-files-and-attributes): Mark unused arg.
9192 * eshell/em-unix.el (eshell-remove-entries):
9193 Remove unused arg `path'. Update callers.
9195 * eshell/em-hist.el (eshell-hist-parse-arguments):
9196 Remove unused arg `silent'. Update callers.
9198 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9199 Fix (f)boundp mix-up.
9201 * eshell/em-smart.el (eshell-smart-scroll-window)
9202 (eshell-disable-after-change):
9203 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9205 2013-09-18 Alan Mackenzie <acm@muc.de>
9207 Fix fontification of type when followed by "const".
9208 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9209 "known" types from fontification.
9211 2013-09-18 Glenn Morris <rgm@gnu.org>
9213 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9214 (chart-face-list): Drop Emacsen without display-color-p.
9216 * net/eww.el (libxml-parse-html-region): Declare.
9217 (eww-display-html): Explicit error if no libxml2 support.
9219 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9221 * image.el (image-type-from-buffer, image-multi-frame-p):
9222 Remove --without-x warning/error.
9224 * mouse.el (mouse-yank-primary):
9225 * term.el (term-mouse-paste):
9226 Reorder to silence --without-x compilation.
9228 * mpc.el (doc-view-mode): Silence --without-x compilation.
9230 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9231 Silence --without-x compilation.
9233 * progmodes/gud.el (gud-find-file, gud-mode):
9234 Silence --without-x compilation.
9235 (tooltip-mode): Declare.
9237 * wdired.el (dired-backup-overwrite): Remove declaration.
9238 (wdired-mode-map): Add doc string.
9240 * custom.el (x-get-resource): Declare.
9242 * eshell/em-glob.el (ange-cache):
9243 * eshell/em-unix.el (ange-cache): Declare.
9245 * faces.el (x-display-list, x-open-connection, x-get-resource):
9248 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9249 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9252 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9254 * net/gnutls.el (gnutls-log-level): Declare.
9256 * net/shr.el (image-size, image-animate): Declare.
9258 * simple.el (font-info): Declare.
9260 * subr.el (x-popup-dialog): Declare.
9262 * term/common-win.el (x-select-enable-primary)
9263 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9266 * term/ns-win.el (x-handle-args): Declare.
9268 * term/x-win.el (x-select-enable-clipboard): Declare.
9270 * term/w32-win.el (create-default-fontset): Declare.
9272 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9275 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9276 (fit-frame-to-buffer): Explicit error if --without-x.
9277 (mouse-autoselect-window-select): Silence compiler.
9279 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9281 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9282 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9283 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9284 * eshell/esh-util.el (eshell-sublist):
9285 Remove unused local variables.
9287 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9289 * textmodes/two-column.el: Make 2C-split work for --without-x.
9290 (scroll-bar-columns): Autoload.
9291 (top-level): Require fringe when compiling.
9293 2013-09-18 Leo Liu <sdl.web@gmail.com>
9295 * subr.el (add-hook): Robustify to handle closure as well.
9297 2013-09-17 Glenn Morris <rgm@gnu.org>
9299 * simple.el (messages-buffer-mode-map): Unbind "g".
9301 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9303 * help-mode.el (help-mode-finish): Use derived-mode-p.
9304 Remove obsolete highlighting.
9306 * play/life.el (life-mode): Use define-derived-mode. Derive from
9308 (life): Let-bind inhibit-read-only.
9309 (life-setup): Avoid `setq'. Use `life-mode'.
9311 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9312 which should not be needed any more.
9313 (package-menu-refresh, package-menu-describe-package): Use user-error.
9315 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9316 (eshell-post-rewrite-command-hook): Make obsolete.
9317 (eshell-parse-command): Simplify.
9318 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9319 (eshell--cmd): Declare.
9320 (eshell-parse-pipeline): Remove unused var `final-p'.
9321 Pass a dynvar to eshell-post-rewrite-command-hook.
9322 Implement the new eshell-post-rewrite-command-function.
9323 (eshell-invoke-directly): Remove unused arg `input'.
9324 * eshell/esh-io.el (eshell-io-initialize):
9325 Use eshell-post-rewrite-command-function (bug#15399).
9326 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9327 adjust to new calling convention.
9328 (eshell-create-handles): Rename args to avoid clashing with dynvar
9331 2013-09-17 Glenn Morris <rgm@gnu.org>
9333 * simple.el (messages-buffer-mode): New major mode.
9334 (messages-buffer): New function.
9335 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9336 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9337 (ert-run-test): Use `messages-buffer' function.
9338 (ert--force-message-log-buffer-truncation): Ignore read-only.
9339 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9340 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9342 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9344 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9346 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9348 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9350 * icomplete.el (icomplete-in-buffer): New var.
9351 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9352 vars and replace them with functions.
9353 (icomplete-minibuffer-setup): Adjust accordingly.
9354 (icomplete--completion-table, icomplete--completion-predicate)
9355 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9357 (icomplete-forward-completions, icomplete-backward-completions)
9358 (icomplete-simple-completing-p, icomplete-exhibit)
9359 (icomplete-completions): Use them.
9360 (icomplete--in-region-buffer): New var.
9361 (icomplete--in-region-setup): New function.
9362 (icomplete-mode): Use it.
9364 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9366 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9367 return args and options.
9368 (eshell-eval-using-options): Use the new return value of
9369 eshell--do-opts to set the options's vars in their scope.
9370 (eshell--set-option): Rename from eshell-set-option.
9372 (eshell--process-option): Rename from eshell-process-option.
9374 (eshell--process-args): Use an `opt-vals' alist to store the options's
9375 values during their processing and return them additionally to the
9378 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9380 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9381 continuation character an operator, as far as indentation is
9382 concerned (Bug#15369).
9384 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9386 * window.el (window--state-put-2): Don't process buffer state
9387 when buffer doesn't exist any more (Bug#15382).
9389 2013-09-15 Glenn Morris <rgm@gnu.org>
9391 * eshell/em-unix.el (eshell/rm):
9392 Make -f ignore missing files. (Bug#15373)
9394 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9395 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9396 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9398 2013-09-14 Glenn Morris <rgm@gnu.org>
9400 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9402 2013-09-13 Glenn Morris <rgm@gnu.org>
9404 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9405 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9407 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9409 * frame.el (x-focus-frame): Mark as declared in frame.c.
9411 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * ls-lisp.el: Use advice-add.
9414 (original-insert-directory): Remove.
9415 (ls-lisp--insert-directory): Rename from insert-directory; add
9416 `orig-fun' argument.
9417 (insert-directory): Advise.
9419 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9421 * term.el (term-emulate-terminal): Decode the command string
9422 before passing it to term-command-hook. (Bug#15337)
9424 2013-09-13 Glenn Morris <rgm@gnu.org>
9426 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9428 * eshell/esh-ext.el (eshell-search-path): Declare.
9430 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9431 Otherwise an error occurs if eshell-dirs module not loaded.
9433 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9435 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9437 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9438 `tramp-check-proper-host'. Check for a valid method name.
9440 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9441 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9442 * net/tramp-sh.el (tramp-maybe-open-connection):
9443 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9445 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9446 also for hash values.
9448 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9450 * term/ns-win.el (parameters): Don't declare as dynamic.
9451 (before-make-frame-hook): Don't add ineffective function.
9453 * eshell/*.el: Use lexical-binding (bug#15231).
9455 2013-09-12 Kenichi Handa <handa@gnu.org>
9457 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9459 2013-09-12 Glenn Morris <rgm@gnu.org>
9461 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9462 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9464 * subr.el (do-after-load-evaluation): Also give compiler warnings
9465 when obsolete files are used (except by obsolete files).
9467 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9468 in the status output, assume `filename' is the first. (Bug#15322)
9470 * vc/vc.el (vc-deduce-fileset): Doc fix.
9472 * calc/calc-help.el (Info-goto-node):
9473 * progmodes/cperl-mode.el (Info-find-node):
9474 * vc/ediff.el (Info-goto-node): Update declarations.
9476 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9478 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9479 (vc-bzr-pull): Require vc-dispatcher.
9480 * vc/vc-git.el (vc-compilation-mode): Declare.
9481 (vc-git-pull): Require vc-dispatcher.
9483 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9485 * progmodes/octave.el (help-button-action): Declare.
9487 * shell.el (shell-directory-tracker): Output error as a message
9488 rather than just returning it as a string.
9489 (shell-process-pushd): Remove useless use of message.
9491 * dframe.el (dframe-timer-fn):
9492 * files.el (dir-locals-read-from-file):
9493 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9495 * reveal.el (reveal-post-command):
9496 * saveplace.el (load-save-place-alist-from-file):
9497 * shell.el (shell-resync-dirs):
9498 * w32-common-fns.el (x-get-selection-value):
9499 * emacs-lisp/copyright.el (copyright-find-copyright):
9500 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9501 * emulation/tpu-edt.el (tpu-copy-keyfile):
9502 * play/bubbles.el (bubbles--mark-neighbourhood):
9503 * progmodes/executable.el
9504 (executable-make-buffer-file-executable-if-script-p):
9505 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9507 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9509 Cleanup Eshell to rely less on dynamic scoping.
9510 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9511 last-value, and ext-command here. Bind `args' closer to `body'.
9512 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9513 (eshell--args): Declare new dynamic var.
9514 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9515 last-value, and ext-command. Pass `args' to `body'.
9516 (eshell-process-args): Bind eshell--args.
9517 (eshell-set-option): Use eshell--args.
9518 * eshell/eshell.el (eshell): Use derived-mode-p.
9519 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9520 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9521 (eshell-glob-function): Declare.
9522 * eshell/esh-util.el: Require cl-lib.
9523 (eshell-read-hosts-file): Avoid add-to-list.
9524 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9526 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9528 (eshell/diff): Remove unused var `err'.
9529 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9531 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9532 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9534 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9535 Move declaration before first use.
9536 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9537 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9540 2013-09-12 Glenn Morris <rgm@gnu.org>
9542 * term/ns-win.el (global-map): Remove binding for ispell-next,
9543 deleted 1999-05-29. (Bug#15357)
9545 2013-09-11 Glenn Morris <rgm@gnu.org>
9547 * echistory.el (electric-command-history): Remove call to deleted func.
9549 * play/landmark.el (landmark-mode): Fix typos.
9551 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9552 Check cvs-sort-ignore-file is bound.
9554 * savehist.el: No need for cl when compiling on Emacs.
9556 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9558 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9560 (eshell-self-insert-command, eshell-send-invisible):
9561 Remove unused argument.
9562 (eshell-handle-control-codes): Remove unused var `orig'.
9563 Avoid delete-backward-char.
9565 * files.el (set-auto-mode): Simplify a bit further.
9567 2013-09-11 Glenn Morris <rgm@gnu.org>
9569 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9570 (set-auto-mode): Don't regexp-quote elements.
9571 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9572 * progmodes/cc-mode.el (interpreter-mode-alist):
9573 * progmodes/ruby-mode.el (interpreter-mode-alist):
9574 Revert previous change.
9576 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9578 * play/snake.el (snake-mode):
9579 * play/mpuz.el (mpuz-mode):
9580 * play/landmark.el (lm-mode):
9581 * play/blackbox.el (blackbox-mode):
9582 * play/5x5.el (5x5-mode):
9583 * obsolete/options.el (Edit-options-mode):
9584 * net/quickurl.el (quickurl-list-mode):
9585 * net/newst-treeview.el (newsticker-treeview-mode):
9586 * mail/rmailsum.el (rmail-summary-mode):
9587 * mail/mspools.el (mspools-mode):
9588 * locate.el (locate-mode):
9589 * ibuffer.el (ibuffer-mode):
9590 * emulation/ws-mode.el (wordstar-mode):
9591 * emacs-lisp/debug.el (debugger-mode):
9592 * array.el (array-mode):
9593 * net/eudc.el (eudc-mode): Use define-derived-mode.
9594 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9595 Move initialization into declaration.
9596 (mairix-searches-mode): Use define-derived-mode.
9597 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9598 (eudc-edit-hotlist): Use dolist.
9599 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9600 (Man-mode): Use define-derived-mode.
9601 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9602 (Info-edit-mode): Use define-derived-mode.
9603 (Info-cease-edit): Use Info-mode.
9604 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9606 (eshell-mode): Use define-derived-mode.
9607 * chistory.el (command-history-mode-map): Rename from
9608 command-history-map.
9609 (command-history-mode): Use define-derived-mode.
9610 (Command-history-setup): Remove function.
9611 * calc/calc.el (calc-trail-mode-map): New var.
9612 (calc-trail-mode): Use define-derived-mode.
9613 (calc-trail-buffer): Set calc-main-buffer manually.
9614 * bookmark.el (bookmark-insert-annotation): New function.
9615 (bookmark-edit-annotation): Use it.
9616 (bookmark-edit-annotation-mode): Make it a proper major mode.
9617 (bookmark-send-edited-annotation): Use derived-mode-p.
9618 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9619 closer to its ideal place. Use \' to match EOS.
9621 * profiler.el (profiler-calltree-find): Use function-equal.
9623 2013-09-10 Glenn Morris <rgm@gnu.org>
9625 * files.el (interpreter-mode-alist): Convert to regexps.
9626 (set-auto-mode): Adapt for this. (Bug#15306)
9627 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9628 Comment out unused variable.
9629 * progmodes/cc-mode.el (interpreter-mode-alist):
9630 * progmodes/python.el (interpreter-mode-alist):
9631 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9632 * progmodes/sh-script.el (sh-set-shell):
9633 No longer use interpreter-mode-alist to get list of shells.
9635 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9637 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9639 * simple.el: Use set-temporary-overlay-map for universal-argument.
9640 (universal-argument-map): Don't use default-bindings (bug#15317).
9641 Bind switch-frame explicitly. Replace universal-argument-minus with
9642 a conditional binding.
9643 (universal-argument-num-events, saved-overriding-map): Remove.
9644 (restore-overriding-map): Remove.
9645 (universal-argument--mode): Rename from save&set-overriding-map,
9647 (universal-argument, universal-argument-more, negative-argument)
9648 (digit-argument): Adjust accordingly.
9649 (universal-argument-minus): Remove.
9650 (universal-argument-other-key): Remove.
9652 * subr.el (with-demoted-errors): Add `format' argument.
9654 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9656 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9657 `tramp-cleanup-connection'.
9659 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9660 parameters KEEP-DEBUG and KEEP-PASSWORD.
9662 * net/tramp.el (tramp-file-name-handler):
9663 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9664 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9665 (tramp-maybe-open-connection):
9666 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9667 Use `tramp-cleanup-connection'.
9669 * net/tramp-sh.el (tramp-maybe-open-connection):
9670 Catch 'uname-changed inside the progress reporter.
9672 2013-09-10 Glenn Morris <rgm@gnu.org>
9674 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9676 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9677 returns "alternate access method" in mode (eg "-rw-r--r--.").
9679 2013-09-08 Glenn Morris <rgm@gnu.org>
9681 * saveplace.el (load-save-place-alist-from-file):
9682 Demote errors. (Bug#15305)
9684 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9686 Improve compatibility with older Emacsen, and XEmacs.
9688 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9689 only if it is bound. It isn't for XEmacs.
9690 (with-tramp-progress-reporter): Do not let-bind `result'.
9691 This yields to scoping errors in XEmacs.
9692 (tramp-handle-make-auto-save-file-name): New function, moved from
9695 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9696 for `make-auto-save-file-name'.
9697 (tramp-adb--gnu-switches-to-ash):
9698 Use `tramp-compat-replace-regexp-in-string'.
9700 * net/tramp-cache.el (tramp-cache-print): Call
9701 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9703 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9704 bound. It isn't for XEmacs.
9706 * net/tramp-compat.el (tramp-compat-copy-file):
9707 Catch `wrong-number-of-arguments' error.
9708 (tramp-compat-replace-regexp-in-string): New defun.
9710 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9711 for `make-auto-save-file-name'.
9712 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9714 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9715 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9716 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9718 * net/tramp-gw.el (tramp-gw-open-network-stream):
9719 Use `tramp-compat-replace-regexp-in-string'.
9721 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9722 Call `tramp-handle-make-auto-save-file-name'.
9723 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9724 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9725 (tramp-sh-file-inotifywait-process-filter):
9726 Use `tramp-compat-replace-regexp-in-string'.
9727 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9729 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9730 for `make-auto-save-file-name'.
9731 (tramp-smb-handle-copy-directory):
9732 Call `tramp-compat-replace-regexp-in-string'.
9733 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9734 (tramp-smb-handle-copy-file): Improve error message.
9735 (tramp-smb-handle-rename-file): Rename directly only in case
9736 `newname' does not exist yet. This is a restriction of smbclient.
9737 (tramp-smb-maybe-open-connection): Rerun the function only when
9738 `auth-sources' is non-nil.
9740 2013-09-08 Kenichi Handa <handa@gnu.org>
9742 * international/characters.el: Set category "^" (Combining) for
9745 2013-09-07 Alan Mackenzie <acm@muc.de>
9747 Correctly fontify Java class constructors.
9748 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9750 (c-recognize-typeless-decls): Set the Java value to t.
9751 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9752 While handling a "(", add a check for, effectively, Java, and handle a
9753 "typeless" declaration there.
9755 2013-09-07 Roland Winkler <winkler@gnu.org>
9757 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9758 field subtitle for entry type book.
9760 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9762 * minibuffer.el: Make minibuffer-complete call completion-in-region
9763 rather than other way around.
9764 (completion--some, completion-pcm--find-all-completions):
9765 Don't delay signals when debugging.
9766 (minibuffer-completion-contents): Beware fields within the
9767 minibuffer contents.
9768 (completion-all-sorted-completions): Use defvar-local.
9769 (completion--do-completion, completion--cache-all-sorted-completions)
9770 (completion-all-sorted-completions, minibuffer-force-complete):
9771 Add args `beg' and `end'.
9772 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9773 (minibuffer-complete): Use completion-in-region.
9774 (completion-complete-and-exit): New fun, extracted from
9775 minibuffer-complete-and-exit.
9776 (minibuffer-complete-and-exit): Use it.
9777 (completion--complete-and-exit): Rename from
9778 minibuffer--complete-and-exit.
9779 (completion-in-region--single-word): New function, extracted from
9780 minibuffer-complete-word.
9781 (minibuffer-complete-word): Use it.
9782 (display-completion-list): Make `common-substring' argument obsolete.
9783 (completion--in-region): Call completion--in-region-1 instead of
9784 minibuffer-complete.
9785 (completion-help-at-point): Pass boundaries to
9786 minibuffer-completion-help as args rather than via an overlay.
9787 (completion-pcm--string->pattern): Use `any-delim'.
9788 (completion-pcm--optimize-pattern): New function.
9789 (completion-pcm--pattern->regex): Handle `any-delim'.
9790 * icomplete.el (icomplete-forward-completions)
9791 (icomplete-backward-completions, icomplete-completions):
9792 Adjust calls to completion-all-sorted-completions and
9793 completion--cache-all-sorted-completions.
9794 (icomplete-with-completion-tables): Default to t.
9795 * emacs-lisp/crm.el (crm--current-element): Rename from
9796 crm--select-current-element. Don't put an overlay but return the
9798 (crm--completion-command): Take two new args to bind to the boundaries.
9799 (crm-completion-help): Adjust accordingly.
9800 (crm-complete): Use completion-in-region.
9801 (crm-complete-word): Use completion-in-region--single-word.
9802 (crm-complete-and-exit): Use completion-complete-and-exit.
9804 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9809 2013-09-06 Juri Linkov <juri@jurta.org>
9811 * info.el (Info-display-images-node): When image file doesn't exist
9812 display text version of the image if it's provided in the Info file.
9813 Otherwise, display the location of missing image from SRC attribute.
9814 Add help-echo text property from ALT attribute. (Bug#15279)
9816 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9819 (edit-abbrevs-mode): Use define-derived-mode.
9821 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9822 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9824 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9825 Use define-derived-mode.
9827 * epg.el (epg-start-encrypt): Minor CSE simplification.
9829 2013-09-06 William Xu <william.xwl@gmail.com>
9831 * arc-mode.el: Add support for 7za (bug#15264).
9832 (archive-7z-program): New var.
9833 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9834 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9835 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9837 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9841 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9842 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9843 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9844 (tramp-postfix-host-format, tramp-file-name-regexp)
9845 (tramp-completion-file-name-regexp)
9846 (tramp-completion-dissect-file-name)
9847 (tramp-handle-substitute-in-file-name): Remove 'url case.
9848 (tramp-file-name-regexp-url)
9849 (tramp-completion-file-name-regexp-url): Remove constants.
9851 2013-09-06 Glenn Morris <rgm@gnu.org>
9853 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9855 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9857 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9858 keywords" below "here-doc beginnings" (Bug#15270).
9860 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9862 * subr.el (pop): Use `car-safe'.
9863 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9864 to detect unused `pop' return value.
9866 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9868 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9869 (python-fill-string): Remove unused var `marker'.
9870 (python-skeleton-add-menu-items): Remove unused var `items'.
9872 * international/mule-cmds.el: Require CL.
9873 (find-coding-systems-for-charsets): Avoid add-to-list.
9874 (sanitize-coding-system-list): New function, extracted from
9875 select-safe-coding-system-interactively.
9876 (select-safe-coding-system-interactively): Use it.
9877 (read-input-method-name): Accept symbols for `default'.
9879 * emacs-lisp/advice.el (defadvice): Add indent rule.
9881 2013-09-05 Daniel Hackney <dan@haxney.org>
9885 * net/browse-url.el:
9888 * net/eudcb-ldap.el:
9901 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9902 byte compiler. Remove some unused let-bound variables.
9904 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9906 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9907 a "ref-cell", since it gets better optimized (bug#14883).
9909 2013-09-05 Glenn Morris <rgm@gnu.org>
9911 * progmodes/cc-awk.el (c-forward-sws): Declare.
9913 2013-09-04 Glenn Morris <rgm@gnu.org>
9915 * generic-x.el [rul-generic-mode]: Require cc-mode.
9916 (c++-mode-syntax-table): Declare.
9917 (rul-generic-mode-syntax-table): Init in the defvar.
9919 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9921 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9922 (vc-do-command, vc-set-async-update):
9923 * vc/vc-mtn.el (vc-mtn-dir-status):
9924 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9925 (vc-hg-pull, vc-hg-merge-branch):
9926 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9927 (vc-git-merge-branch):
9928 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9929 (vc-cvs-dir-status-files):
9930 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9931 (vc-bzr-dir-status-files):
9932 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9933 * vc/vc-annotate.el: Use lexical-binding.
9934 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9935 (vc-sentinel-movepoint): Declare.
9936 (vc-annotate): Don't use `goto-line'.
9937 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9938 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9939 (vc-sentinel-movepoint): Declare.
9940 * vc/vc-svn.el: Use lexical-binding.
9941 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9943 * vc/vc-rcs.el: Use lexical-binding.
9945 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9946 `deleted'. Don't drop errors silently.
9948 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9950 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9952 * vc/vc.el (vc-ignore): Rewrite.
9953 (vc-default-ignore): New function.
9954 (vc-default-ignore-completion-table): Use find-ignore-file.
9956 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9957 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9958 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9959 Remove. Most code moved to vc.el.
9961 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9963 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9964 * net/tramp-smb.el (tramp-smb-get-file-entries):
9965 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9966 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9968 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9970 (eww-change-select): Remove unused var `properties'.
9971 (eww-make-unique-file-name): Remove unused var `base'.
9973 * finder.el (finder-compile-keywords): Don't mess with windows.
9975 * calculator.el (calculator-funcall): Fix typo in last change.
9977 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9979 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9980 <pkg>-autoloads.el file stop us.
9982 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9983 warnings, and factor out common code.
9985 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9987 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9988 two-character operators and whether the character preceding them
9989 changes their meaning (Bug#15208).
9991 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9993 Format code sent to Python shell for robustness.
9994 * progmodes/python.el (python-shell-buffer-substring):
9996 (python-shell-send-region, python-shell-send-buffer): Use it.
9998 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10000 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10001 * net/tramp.el (tramp-user-error): ... here.
10002 (tramp-find-method, tramp-check-proper-host)
10003 (tramp-dissect-file-name, tramp-debug-message)
10004 (tramp-handle-shell-command):
10005 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10006 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10008 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10010 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10012 * avoid.el (mouse-avoidance-point-position)
10013 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10016 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10018 * progmodes/python.el (python-shell-completion-get-completions):
10019 Drop use of deleted `comint-last-prompt-overlay'.
10020 (python-nav-if-name-main): New command.
10022 2013-09-01 Glenn Morris <rgm@gnu.org>
10024 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10025 Avoid leading space in $wins. Otherwise the sed command used by
10026 eg compile-main ends up containing "/*.el". (Bug#15170)
10028 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10030 2013-08-30 Glenn Morris <rgm@gnu.org>
10032 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10033 Fix is-this-a-directory logic. (Bug#15220)
10035 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10037 * textmodes/css-mode.el: Use SMIE.
10038 (css-smie-grammar): New var.
10039 (css-smie--forward-token, css-smie--backward-token)
10040 (css-smie-rules): New functions.
10041 (css-mode): Use them.
10042 (css-navigation-syntax-table): Remove var.
10043 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10044 (css-indent-calculate, css-indent-line): Remove functions.
10046 Misc changes to reduce use of `(lambda...); and other cleanups.
10047 * cus-edit.el: Use lexical-binding.
10048 (customize-push-and-save, customize-apropos)
10049 (custom-buffer-create-internal): Use closures.
10050 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10051 * progmodes/ada-xref.el: Use setq.
10052 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10053 * dframe.el: Use lexical-binding.
10054 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10055 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10056 * descr-text.el: Use lexical-binding.
10057 (describe-text-widget, describe-text-sexp, describe-property-list):
10059 * comint.el (comint-history-isearch-push-state): Use a closure.
10060 * calculator.el: Use lexical-binding.
10061 (calculator-number-to-string): Make it work with lexical-binding.
10062 (calculator-funcall): Same and use cl-letf.
10064 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10065 (lisp--company-doc-string, lisp--company-location): New functions.
10066 (lisp-completion-at-point): Use them to improve Company support.
10068 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10069 params of lambda expressions.
10070 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10071 (ruby-smie--opening-pipe-p): New function.
10072 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10073 symbols and matched |...| for formal params.
10074 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10075 from being treated as hanging. Handle "rescue".
10077 2013-08-29 Glenn Morris <rgm@gnu.org>
10079 * progmodes/cc-engine.el (c-pull-open-brace):
10080 Move definition before use.
10082 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10084 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10085 are immutable. Don't use `unsafe' any more.
10086 (cl--defsubst-expand): Don't substitute at the same time as keeping
10087 a residual unused let-binding. Don't use `unsafe' any more.
10089 2013-08-29 Glenn Morris <rgm@gnu.org>
10091 * calendar/cal-china.el (calendar-chinese-year-cache):
10094 * nxml/nxml-util.el (nxml-debug-clear-inside):
10095 Use cl-loop rather than loop.
10097 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10099 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10101 2013-08-28 Glenn Morris <rgm@gnu.org>
10103 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10105 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10107 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10109 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10111 * simple.el (repeat-complex-command--called-interactively-skip):
10113 (repeat-complex-command): Use it (bug#14136).
10115 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10116 (c-define-abbrev-table): Add `doc' argument.
10117 (c-mode-abbrev-table, c++-mode-abbrev-table)
10118 (objc-mode-abbrev-table, java-mode-abbrev-table)
10119 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10120 (awk-mode-abbrev-table): Use it.
10121 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10122 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10123 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10124 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10125 Move initialization into the declaration; and remove any
10128 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10129 and dynamic let binding.
10131 * vc/smerge-mode.el: Remove redundant :group args.
10133 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10136 2013-08-28 Juri Linkov <juri@jurta.org>
10138 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10139 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10140 (isearch-other-meta-char): Handle an undefined shifted printing
10141 character by downshifting it. (Bug#15200)
10143 2013-08-28 Juri Linkov <juri@jurta.org>
10145 * isearch.el (isearch-search): Change regexp error message for
10146 non-regexp searches. (Bug#15166)
10148 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10150 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10151 for portability to hosts where /bin/sh has problems.
10153 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10155 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10157 2013-08-27 Juri Linkov <juri@jurta.org>
10159 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10160 in the keyboard macro. (Bug#15126)
10162 2013-08-27 Juri Linkov <juri@jurta.org>
10164 * isearch.el (isearch-quote-char): Comment out converting unibyte
10165 to multibyte, thus syncing with its `quoted-insert' counterpart.
10168 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10170 * window.el (display-buffer-use-some-window): Add missing
10171 argument in call of get-largest-window (Bug#15185).
10172 Reported by Stephen Leake.
10174 2013-08-27 Glenn Morris <rgm@gnu.org>
10176 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10178 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10181 from a matcher-function unless there's no more matches (bug#15161).
10183 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10185 * minibuffer.el: Revert change from 2013-08-20.
10187 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10188 with text property `tramp-default', if appropriate.
10189 (tramp-check-proper-host): New defun.
10190 (tramp-dissect-file-name): Do not check hostname. Revert change
10192 (tramp-backtrace): Make VEC-OR-PROC optional.
10194 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10195 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10196 * net/tramp-sh.el (tramp-maybe-open-connection):
10197 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10198 Apply `tramp-check-proper-host'.
10200 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10202 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10203 lambda expression in order to have `describe-variable' display it.
10205 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10207 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10208 BUF can be optional. (Bug#15186)
10210 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10212 * progmodes/flymake.el (flymake-get-real-file-name-function):
10213 Fix broken customization. (Bug#15184)
10215 2013-08-25 Alan Mackenzie <acm@muc.de>
10217 Improve indentation of bracelists defined by macros (without "=").
10219 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10220 expansion begins with "{", regard it as bracelist when it doesn't
10223 Parse C++ inher-intro when there's a template split over 2 lines.
10225 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10226 rigorously the search for "class" etc. followed by ":".
10228 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10229 random languages a regexp which never matches rather than nil.
10231 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10233 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10234 (c-awk-regexp-one-line-possibly-open-char-list-re)
10235 (c-awk-one-line-possibly-open-regexp-re)
10236 (c-awk-one-line-non-syn-ws*-re): Remove.
10237 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10238 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10239 (c-awk-space*-unclosed-regexp-/-re): New constants.
10240 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10241 aren't regexp delimiters.
10243 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10244 handling for a rare situation in AWK Mode involving unterminated
10247 2013-08-23 Glenn Morris <rgm@gnu.org>
10249 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10251 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10253 * files.el (create-file-buffer): If the result would begin with
10254 spaces, prepend a "|" instead of removing them. (Bug#15162)
10256 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10258 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10259 text-properties (bug#15155).
10261 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10263 (calc-keypad-redraw): Remove unused var `pad'.
10264 (calc-keypad-press): Remove unused var `menu'.
10266 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10268 * window.el (display-buffer-pop-up-frame):
10269 Call pop-up-frame-function with BUFFER current so `make-frame' will
10270 use it as the new frame's buffer (Bug#15133).
10272 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10274 * calendar/timeclock.el: Minor cleanups.
10275 (timeclock-ask-before-exiting, timeclock-use-display-time):
10277 (timeclock-modeline-display): Define as alias before the
10279 (timeclock-mode-line-display): Use define-minor-mode.
10280 (timeclock-day-list-template): Make it a function, add an argument.
10281 (timeclock-day-list-required, timeclock-day-list-length)
10282 (timeclock-day-list-debt, timeclock-day-list-span)
10283 (timeclock-day-list-break): Adjust calls accordingly.
10285 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10287 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10288 Use read--expression so that completion works again.
10290 2013-08-21 Sam Steingold <sds@gnu.org>
10292 Add rudimentary inferior shell interaction
10293 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10294 (sh-set-shell): Reset it.
10295 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10296 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10298 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10300 * align.el: Use lexical-binding.
10301 (align-region): Simplify accordingly.
10303 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10305 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10307 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10308 `non-essential' up.
10310 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10313 * net/tramp-adb.el:
10314 * net/tramp-cmds.el:
10315 * net/tramp-ftp.el:
10316 * net/tramp-gvfs.el:
10318 * net/tramp-sh.el: Don't wrap external variable declarations by
10319 `eval-when-compile'.
10321 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10323 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10324 now that Emacs supports ImageMagick animations.
10326 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10328 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10329 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10331 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10333 * window.el (mouse-autoselect-window-select): Do autoselect when
10334 mouse pointer is on margin.
10336 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10338 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10340 2013-08-16 Glenn Morris <rgm@gnu.org>
10342 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10343 Handle "Remote Directory" response of some clients. (Bug#15058)
10345 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10346 Tweak warning. (Bug#14926)
10348 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10349 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10351 * image-mode.el (image-mode-map): Add menu items to reverse,
10352 increase, decrease, reset animation speed.
10353 (image--set-speed, image-increase-speed, image-decrease-speed)
10354 (image-reverse-speed, image-reset-speed): New functions.
10355 (image-mode-map): Add bindings for speed commands.
10357 * image.el (image-animate-get-speed, image-animate-set-speed):
10359 (image-animate-timeout): Respect image :speed property.
10361 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10363 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10364 previous line (bug#15101).
10365 (debugger-eval-expression, debugger-record-expression):
10366 Use read--expression (bug#15102).
10368 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10370 Remove byte compiler warnings, visible when compiling with
10371 `byte-compile-force-lexical-warnings' set to t.
10373 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10374 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10375 (tramp-handle-unhandled-file-name-directory)
10376 (tramp-handle-file-notify-add-watch, tramp-action-login)
10377 (tramp-action-succeed, tramp-action-permission-denied)
10378 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10379 arguments with "_".
10381 * net/tramp-adb.el (tramp-adb-parse-device-names)
10382 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10383 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10384 (tramp-adb-handle-file-truename): Remove unused arguments.
10386 * net/tramp-cache.el (tramp-flush-directory-property)
10387 (tramp-flush-connection-property, tramp-list-connections)
10388 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10390 * net/tramp-compat.el (tramp-compat-make-temp-file):
10391 Rename FILENAME to F.
10393 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10394 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10395 (tramp-zeroconf-parse-workstation-device-names)
10396 (tramp-zeroconf-parse-webdav-device-names)
10397 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10399 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10400 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10402 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10404 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10405 (tramp-sh-handle-insert-file-contents-literally)
10406 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10408 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10409 Remove unused variables.
10411 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10412 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10413 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10415 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10416 Make them a defconst.
10417 (tramp-uuencode-region): Remove unused variable.
10419 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10421 * frameset.el (frameset--prop-setter): New function.
10422 (frameset-prop): Add gv-setter declaration.
10423 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10424 parameter was already set in FILTERED. Doc fix.
10425 (frameset--record-minibuffer-relationships): Allow saving a
10426 minibufferless frame without its corresponding minibuffer frame.
10427 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10428 frame, if the frame id matches.
10429 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10430 frames before orphaned ones.
10431 (frameset-restore): Warn about orphaned windows, instead of error out.
10433 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10435 * window.el (window-make-atom): Don't overwrite parameter
10437 (display-buffer-in-atom-window): Handle special case where we
10438 split an already atomic window.
10439 (window--major-non-side-window, display-buffer-in-side-window)
10440 (window--side-check): Ignore minibuffer window when walking
10442 (window-deletable-p): Return 'frame only if no other frame uses
10443 our minibuffer window.
10444 (record-window-buffer): Run buffer-list-update-hook.
10445 (split-window): Make sure window--check-frame won't destroy an
10446 existing atomic window in case the new window gets nested
10448 (display-buffer-at-bottom): Ignore minibuffer window when
10449 walking window tree. Don't split a side window.
10450 (pop-to-buffer): Don't set-buffer here, the select-window call
10452 (mouse-autoselect-window-select): Autoselect only if we are in the
10453 text portion of the window.
10455 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10457 * net/shr.el (shr-parse-image-data): New function to grab both the
10458 data itself and the Content-Type.
10459 (shr-put-image): Use it.
10461 * net/eww.el (eww-display-image): Ditto.
10463 * image.el (image-content-type-suffixes): New variable.
10465 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10467 * progmodes/python.el (python-imenu--build-tree)
10468 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10470 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10472 * simple.el (backward-word): Mention the optional argument.
10474 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10476 * frameset.el (frameset--make): Rename constructor from make-frameset.
10477 (frameset-p, frameset-valid-p): Don't autoload.
10478 (frameset-valid-p): Use normal accessors.
10480 2013-08-13 Glenn Morris <rgm@gnu.org>
10482 * progmodes/compile.el (compile-command): Tweak example in doc.
10483 * obsolete/scribe.el (scribe-mode):
10484 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10486 * mail/feedmail.el (feedmail-confirm-outgoing)
10487 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10489 * cus-start.el (truncate-partial-width-windows): Fix type.
10491 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10493 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10495 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10497 * emacs-lisp/timer.el (timer--time-setter): New function.
10498 (timer--time): Use it as gv-setter.
10500 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10501 setter is not a symbol.
10503 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10505 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10506 if sending fails. This makes debugging easier.
10508 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10510 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10511 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10512 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10514 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10516 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10518 2013-08-12 Glenn Morris <rgm@gnu.org>
10520 * format.el (format-annotate-function):
10521 Handle read-only text properties in the source. (Bug#14887)
10523 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10525 * net/eww.el (eww-display-html): Ignore coding system errors.
10526 One web site uses "utf-8lias" as the coding system.
10528 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10530 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10532 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10534 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10535 (tutorial--detailed-help): Remove unused local variables.
10536 (tutorial--save-tutorial-to): Use ignore-errors.
10537 (help-with-tutorial): Use looking-at-p.
10539 * view.el (view-buffer-other-window, view-buffer-other-frame):
10540 Mark unused arguments.
10542 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10543 (woman-select-symbol-fonts, woman, woman-find-file)
10544 (woman-insert-file-contents, woman-non-underline-faces):
10545 Use string-match-p.
10546 (woman1-unquote): Move declaration.
10548 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10549 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10550 argument. Remove unused local variable.
10551 (xml-parse-elem-type): Use string-match-p.
10552 (xml-substitute-numeric-entities): Use ignore-errors.
10554 * calculator.el (calculator): Mark unused argument.
10555 (calculator-paste, calculator-quit, calculator-integer-p):
10557 (calculator-string-to-number, calculator-decimal, calculator-exp)
10558 (calculator-op-or-exp): Use string-match-p.
10560 * dired.el (dired-buffer-more-recently-used-p): Declare.
10561 (dired-insert-set-properties, dired-insert-old-subdirs):
10564 * dired-aux.el (dired-compress): Use ignore-errors.
10565 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10566 (dired-do-async-shell-command, dired-do-shell-command)
10567 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10568 (dired-insert-subdir-validate): Use string-match-p.
10569 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10570 (dired-add-entry): Use string-match-p, looking-at-p.
10571 (dired-insert-subdir-newpos): Remove unused local variable.
10573 * filenotify.el (file-notify-callback): Remove unused local variable.
10575 * filesets.el (filesets-error): Mark unused argument.
10576 (filesets-which-command-p, filesets-filter-dir-names)
10577 (filesets-directory-files, filesets-get-external-viewer)
10578 (filesets-ingroup-get-data): Use string-match-p.
10580 * find-file.el (ff-other-file-name, ff-other-file-name)
10581 (ff-find-the-other-file, ff-cc-hh-converter):
10582 Remove unused local variables.
10583 (ff-get-file-name): Use string-match-p.
10584 (ff-all-dirs-under): Use ignore-errors.
10586 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10587 (follow-select-if-visible): Remove unused local variable.
10589 * forms.el (read-file-filter): Move declaration.
10590 (forms--make-format, forms--make-parser, forms-insert-record):
10591 Quote function with #'.
10592 (forms--update): Use string-match-p. Quote function with #'.
10594 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10595 (help-make-xrefs): Use looking-at-p.
10596 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10598 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10599 (ibuffer-confirm-operation-on): Use string-match-p.
10601 * msb.el (msb-item-handler, msb-dired-item-handler):
10602 Mark unused arguments.
10604 * ses.el (ses-decode-cell-symbol)
10605 (ses-kill-override): Remove unused local variable.
10606 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10607 (ses-load): Use ignore-errors, looking-at-p.
10608 (ses-jump-safe): Use ignore-errors.
10609 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10611 * tabify.el (untabify, tabify): Mark unused arguments.
10613 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10614 Mark unused argument.
10615 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10616 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10618 * emacs-lisp/timer.el (timer--time): Define setter with
10619 gv-define-setter to avoid deprecation warning.
10621 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10622 (*record-cmpl-statistics-p*): Remove (was commented out).
10623 (cmpl-statistics-block): Remove (body was commented out).
10624 All callers changed.
10625 (add-completions-from-buffer, load-completions-from-file):
10626 Remove unused variables.
10628 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10630 * filecache.el (file-cache-delete-file-list):
10631 Print message only when told so.
10632 (file-cache-files-matching): Use #' in mapconcat argument.
10634 * ffap.el (ffap-url-at-point): Fix reference to variable
10635 thing-at-point-default-mail-uri-scheme.
10637 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10639 * subr.el (define-error): New function.
10640 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10641 error-file-not-found and define with define-error.
10642 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10643 and define with define-error.
10644 * userlock.el (file-locked, file-supersession):
10645 * simple.el (mark-inactive):
10646 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10647 * progmodes/ada-mode.el (ada-mode-errors):
10648 * play/life.el (life-extinct):
10649 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10650 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10651 * nxml/rng-util.el (rng-error):
10652 * nxml/rng-uri.el (rng-uri-error):
10653 * nxml/rng-match.el (rng-compile-error):
10654 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10655 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10656 * nxml/nxml-rap.el (nxml-scan-error):
10657 * nxml/nxml-outln.el (nxml-outline-error):
10658 * net/soap-client.el (soap-error):
10659 * net/gnutls.el (gnutls-error):
10660 * net/ange-ftp.el (ftp-error):
10661 * mpc.el (mpc-proc-error):
10662 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10663 (json-number-format, json-string-escape, json-string-format)
10664 (json-key-format, json-object-format):
10665 * jka-compr.el (compression-error):
10666 * international/quail.el (quail-error):
10667 * international/kkc.el (kkc-error):
10668 * emacs-lisp/ert.el (ert-test-failed):
10669 * calc/calc.el (calc-error, inexact-result, math-overflow)
10671 * bookmark.el (bookmark-error-no-filename):
10672 * epg.el (epg-error): Define with define-error.
10674 * time.el (display-time-event-handler)
10675 (display-time-next-load-average): Don't call sit-for since it seems
10676 unnecessary (bug#15045).
10678 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10679 Use #' instead of ' to quote functions.
10680 (checkdoc-output-mode): Use setq-local.
10681 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10682 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10683 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10684 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10685 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10686 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10687 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10688 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10690 * ido.el (ido-completion-help): Fix up compiler warning.
10692 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10694 * frameset.el (frameset-p): Add autoload cookie.
10695 (frameset--jump-to-register): New function, based on code moved from
10697 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10699 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10700 (frameset-restore, frameset-save, frameset-session-filter-alist):
10701 Remove declarations.
10702 (register-alist): Doc fix.
10703 (frameset-to-register): Move to frameset.el.
10704 (jump-to-register, describe-register-1): Remove frameset-specific code.
10706 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10708 * allout-widgets.el (allout-widgets-pre-command-business)
10709 (allout-widgets-post-command-business)
10710 (allout-widgets-after-change-handler)
10711 (allout-decorate-item-and-context, allout-set-boundary-marker)
10712 (allout-body-modification-handler)
10713 (allout-graphics-modification-handler): Mark ignored arguments.
10714 (allout-widgets-post-command-business)
10715 (allout-widgets-exposure-change-processor)
10716 (allout-widgets-exposure-undo-processor)
10717 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10718 (allout-parse-item-at-point, allout-decorate-item-guides)
10719 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10720 * allout.el (epa-passphrase-callback-function): Declare.
10721 (allout-overlay-insert-in-front-handler)
10722 (allout-overlay-interior-modification-handler)
10723 (allout-isearch-end-handler, allout-chart-siblings)
10724 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10725 (allout-yank-processing, allout-process-exposed)
10726 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10727 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10728 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10729 (lisp-indent-defform): Mark ignored arguments.
10730 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10731 (calculate-lisp-indent): Remove unused variables.
10732 * international/characters.el (indian-2-column, arabic-2-column)
10733 (tibetan): Mark ignored arguments.
10734 (use-cjk-char-width-table): Mark ignored arguments.
10735 Remove unused variables.
10736 * international/fontset.el (build-default-fontset-data)
10737 (x-compose-font-name, create-fontset-from-fontset-spec):
10738 Mark ignored arguments.
10739 (fontset-plain-name): Remove unused variables.
10740 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10741 (keyboard-coding-system): Mark ignored arguments.
10742 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10743 * help.el (resize-temp-buffer-window):
10744 * window.el (display-buffer-in-major-side-window)
10745 (display-buffer-in-side-window, display-buffer-in-previous-window):
10746 Remove unused variables.
10747 * isearch.el (isearch-forward-symbol):
10748 * version.el (emacs-bzr-version-bzr):
10749 * international/mule-cmds.el (current-language-environment):
10750 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10751 (x-handle-display):
10752 * term/pc-win.el (x-list-fonts, x-display-planes)
10753 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10754 (x-server-version, x-display-screens, x-display-mm-height)
10755 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10756 (x-selection-owner-p, x-own-selection-internal)
10757 (x-disown-selection-internal, x-get-selection-internal)
10758 (msdos-initialize-window-system):
10759 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10760 * term/x-win.el (x-handle-no-bitmap-icon):
10761 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10762 (vc-default-find-file-hook, vc-default-extra-menu):
10763 Mark ignored arguments.
10765 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10767 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10768 break-condition in the context of the debugged code (bug#12685).
10770 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10773 Do not use an overlay to highlight the last prompt. (Bug#14744)
10774 (comint-mode): Make comint-last-prompt buffer local.
10775 (comint-last-prompt): New variable.
10776 (comint-last-prompt-overlay): Remove. Superseded by
10777 comint-last-prompt.
10778 (comint-snapshot-last-prompt, comint-output-filter):
10779 Use comint-last-prompt.
10781 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10783 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10784 (frameset-save): Check validity of the resulting frameset.
10786 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10788 * ido.el (ido-record-command): Add doc string.
10790 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10792 * frameset.el (frameset): Do not disable creation of the default
10793 frameset-p predicate. Doc fix.
10794 (frameset-valid-p): New function, copied from the old predicate-p.
10795 Add additional checks.
10796 (frameset-restore): Check with frameset-valid-p.
10797 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10798 (frameset-name, frameset-description, frameset-properties)
10799 (frameset-states): Add docstring.
10800 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10801 (frameset-filter-alist): Doc fixes.
10803 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10805 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10807 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10809 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10810 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10811 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10812 (byte-compile-normal-call): Remove obsolescence check.
10814 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10816 * frameset.el (frameset-restore): Doc fix.
10818 * register.el (frameset-frame-id, frameset-frame-with-id)
10819 (frameset-p, frameset-restore, frameset-save): Declare.
10820 (register-alist): Document framesets.
10821 (frameset-session-filter-alist): Declare.
10822 (frameset-to-register): New function.
10823 (jump-to-register): Implement jumping to framesets. Doc fix.
10824 (describe-register-1): Describe framesets.
10826 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10828 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10830 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10831 Use lexical-binding.
10833 * frameset.el (frameset): Use type vector, not list (incompatible
10834 change). Do not declare a new constructor, use the default one.
10835 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10836 `name' and `description', respectively, and add read-only slot
10837 `timestamp'. Doc fixes.
10838 (frameset-copy, frameset-persistent-filter-alist)
10839 (frameset-filter-alist, frameset-switch-to-gui-p)
10840 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10841 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10842 (frameset-filter-iconified, frameset-keep-original-display-p):
10844 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10845 Rename from frameset-filter-(save|restore)-param. All callers changed.
10847 (frameset-p): Adapt to change to vector and be more thorough.
10848 Change arg name to OBJECT. Doc fix.
10849 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10850 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10851 All callers changed.
10852 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10853 All callers changed.
10854 (frameset--record-minibuffer-relationships): Rename from
10855 frameset--process-minibuffer-frames. All callers changed.
10856 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10857 Use new default constructor (again). Doc fix.
10858 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10859 All callers changed.
10860 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10861 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10863 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10864 PARAMETERS and WINDOW-STATE, respectively.
10865 (frameset-restore): Add new keyword argument PREDICATE.
10866 Reset frameset--target-display to nil. Doc fix.
10868 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10871 (bat-mode): Use it.
10872 (bat-mode-syntax-table): Mark \n as end-of-comment.
10873 (bat-font-lock-keywords): Remove comment rule.
10875 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10876 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10878 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10879 (byte-compile-callargs-warn): Use `push'.
10880 (byte-compile-arglist-warn): Ignore higher-order "calls".
10881 (byte-compile-file-form-autoload): Use `pcase'.
10882 (byte-compile-function-form): If quoting a symbol, check that it exists.
10884 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10886 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10887 and add a few popular commands found in batch files.
10888 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10889 (dos-mode): Doc fixes.
10891 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10894 (dos-mode): Use setq-local. Add space after "rem".
10895 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10896 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10898 2013-08-07 Arni Magnusson <arnima@hafro.is>
10900 * progmodes/dos.el: New file.
10901 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10904 2013-08-06 Glenn Morris <rgm@gnu.org>
10906 * calendar/calendar.el: Add new faces, and day-header-array.
10907 (calendar-weekday-header, calendar-weekend-header)
10908 (calendar-month-header): New faces.
10909 (calendar-day-header-construct): New function.
10910 (calendar-day-header-width): Also :set calendar-day-header-array.
10911 (calendar-american-month-header, calendar-european-month-header)
10912 (calendar-iso-month-header): Use calendar- faces.
10913 (calendar-generate-month):
10914 Use calendar-day-header-array for day headers; apply faces to them.
10915 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10916 (calendar-abbrev-construct): Add optional maxlen argument.
10917 (calendar-day-name-array): Doc fix.
10918 (calendar-day-name-array, calendar-abbrev-length)
10919 (calendar-day-abbrev-array):
10920 Also :set calendar-day-header-array, and maybe redraw.
10921 (calendar-day-header-array): New option. (Bug#15007)
10922 (calendar-font-lock-keywords): Set to nil and make obsolete.
10923 (calendar-day-name): Add option to use header array.
10925 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10927 * net/shr.el (shr-render-td): Remove debugging.
10928 (shr-render-td): Make width computation consistent by defaulting
10929 all zero-width columns to 10 characters. This may not be optimal,
10930 but it's at least consistent.
10931 (shr-make-table-1): Redo last change to fix the real problem in
10934 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10936 * files.el (cache-long-line-scans):
10937 Make obsolete alias to `cache-long-scans'.
10939 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10941 * frameset.el (frameset, frameset-filter-alist)
10942 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10943 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10944 (frameset-compute-pos): Rename from frameset--compute-pos,
10946 (frameset-move-onscreen): Use frameset-compute-pos.
10947 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10949 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10950 Fix typos in docstrings.
10952 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10954 * frame.el (get-other-frame): Tiny cleanup.
10956 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10958 * vc/vc.el (vc-default-ignore-completion-table):
10959 Silence byte-compiler warning.
10961 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10962 slot, which can indeed be nil.
10963 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10964 Move entry for `left' from persistent to live filter alist.
10965 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10967 (frameset-filter-params): When restoring a frame, copy items added to
10968 `filtered', to avoid unwittingly modifying the original parameters.
10969 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10970 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10972 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10973 to use looking-at-p instead of looking-at. (Bug#15028)
10975 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10977 Revert introduction of isearch-filter-predicates (bug#14714).
10978 Rely on add-function instead.
10979 * isearch.el (isearch-filter-predicates): Rename it back to
10980 isearch-filter-predicate.
10981 (isearch-message-prefix): Use advice-function-mapc and advice
10982 properties to get the isearch-message-prefix.
10983 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10984 instead of run-hook-with-args-until-failure.
10985 (isearch-filter-visible): Not obsolete any more.
10986 * loadup.el: Preload nadvice.
10987 * replace.el (perform-replace): Revert to funcall
10988 instead of run-hook-with-args-until-failure.
10989 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10990 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10991 dired-isearch-filenames-toggle; make it into a proper minor mode.
10992 Use add/remove-function.
10993 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10994 Call the minor-mode rather than add/remove-hook.
10995 (dired-isearch-filter-filenames):
10996 Remove isearch-message-prefix property.
10997 * info.el (Info--search-loop): New function, extracted from Info-search.
10998 Funcall isearch-filter-predicate instead of
10999 run-hook-with-args-until-failure isearch-filter-predicates.
11000 (Info-search): Use it.
11001 (Info-mode): Use isearch-filter-predicate instead of
11002 isearch-filter-predicates.
11004 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11006 Do not call to `selected-window' where it is assumed by default.
11007 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11008 `window-hscroll', `window-width', `window-height', `window-buffer',
11009 `window-frame', `window-start', `window-point', `next-window'
11010 and `window-display-table'.
11011 * abbrev.el (abbrev--default-expand):
11012 * bs.el (bs--show-with-configuration):
11013 * buff-menu.el (Buffer-menu-mouse-select):
11014 * calc/calc.el (calc):
11015 * calendar/calendar.el (calendar-generate-window):
11016 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11017 (diary-make-entry):
11018 * comint.el (send-invisible, comint-dynamic-complete-filename)
11019 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11020 * completion.el (complete):
11021 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11022 * disp-table.el (describe-current-display-table):
11023 * doc-view.el (doc-view-insert-image):
11024 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11025 * ehelp.el (with-electric-help):
11026 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11027 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11028 * emacs-lisp/helper.el (Helper-help-scroller):
11029 * emulation/cua-base.el (cua--post-command-handler-1):
11030 * eshell/esh-mode.el (eshell-output-filter):
11031 * ffap.el (ffap-gnus-wrapper):
11032 * help-macro.el (make-help-screen):
11033 * hilit-chg.el (highlight-compare-buffers):
11034 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11035 * hl-line.el (global-hl-line-highlight):
11036 * icomplete.el (icomplete-simple-completing-p):
11037 * isearch.el (isearch-done):
11038 * jit-lock.el (jit-lock-stealth-fontify):
11039 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11040 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11041 * mpc.el (mpc-tagbrowser, mpc):
11042 * net/rcirc.el (rcirc-any-buffer):
11043 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11044 * play/landmark.el (landmark-max-width, landmark-max-height):
11045 * play/zone.el (zone):
11046 * progmodes/compile.el (compilation-goto-locus):
11047 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11048 * progmodes/etags.el (find-tag-other-window):
11049 * progmodes/fortran.el (fortran-column-ruler):
11050 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11051 * progmodes/verilog-mode.el (verilog-point-text):
11052 * reposition.el (reposition-window):
11053 * rot13.el (toggle-rot13-mode):
11054 * server.el (server-switch-buffer):
11055 * shell.el (shell-dynamic-complete-command)
11056 (shell-dynamic-complete-environment-variable):
11057 * simple.el (insert-buffer, set-selective-display)
11058 (delete-completion-window):
11059 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11060 (speedbar-recenter):
11061 * startup.el (fancy-splash-head):
11062 * textmodes/ispell.el (ispell-command-loop):
11063 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11064 * tutorial.el (help-with-tutorial):
11065 * vc/add-log.el (add-change-log-entry):
11066 * vc/compare-w.el (compare-windows):
11067 * vc/ediff-help.el (ediff-indent-help-message):
11068 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11069 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11070 (ediff-setup-control-frame):
11071 * vc/emerge.el (emerge-position-region):
11072 * vc/pcvs-util.el (cvs-bury-buffer):
11073 * window.el (walk-windows, mouse-autoselect-window-select):
11074 * winner.el (winner-set-conf, winner-undo): Related users changed.
11076 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11078 * frameset.el (frameset--set-id): Doc fix.
11079 (frameset-frame-id, frameset-frame-id-equal-p)
11080 (frameset-locate-frame-id): New functions.
11081 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11082 (frameset-restore): Use them.
11084 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11086 Do not call to `selected-frame' where it is assumed by default.
11087 Affected functions are `raise-frame', `redraw-frame',
11088 `frame-first-window', `frame-terminal' and `delete-frame'.
11089 * calendar/appt.el (appt-disp-window):
11090 * epg.el (epg-wait-for-completion):
11091 * follow.el (follow-delete-other-windows-and-split)
11092 (follow-avoid-tail-recenter):
11093 * international/mule.el (set-terminal-coding-system):
11094 * mail/rmail.el (rmail-mail-return):
11095 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11096 * progmodes/f90.el (f90-add-imenu-menu):
11097 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11098 * server.el (server-switch-buffer):
11099 * simple.el (delete-completion-window):
11101 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11102 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11103 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11104 * vc/ediff.el (ediff-documentation): Related users changed.
11105 * frame.el (selected-terminal): Remove the leftover.
11107 2013-08-05 Glenn Morris <rgm@gnu.org>
11109 * calendar/calendar.el (calendar-generate-month):
11110 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11111 (calendar-generate-month, calendar-font-lock-keywords):
11112 Fix for calendar-day-header-width > length of any day name.
11114 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11116 * desktop.el (desktop-clear): Use new name of sort predicate.
11118 * frameset.el (frameset): Add docstring. Move :version property to its
11119 own `version' slot.
11120 (frameset-copy): Rename from copy-frameset.
11121 (frameset-p): Check more thoroughly.
11122 (frameset-prop): Do not check for :version, which is no longer a prop.
11123 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11124 Use new :never value instead of t.
11125 (frameset-filter-alist): Expand and clarify docstring.
11126 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11127 (frameset-filter-minibuffer, frameset-filter-save-param)
11128 (frameset-filter-restore-param, frameset-filter-iconified):
11129 Add pointer to docstring of frameset-filter-alist.
11130 (frameset-filter-params): Rename filter values to be more meaningful:
11131 :never instead of t, and reverse the meanings of :save and :restore.
11132 (frameset--process-minibuffer-frames): Clarify error message.
11133 (frameset-save): Avoid unnecessary and confusing call to framep.
11134 Use new BOA constructor for framesets.
11135 (frameset--reuse-list): Doc fix.
11136 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11137 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11138 (frameset-minibufferless-first-p): Doc fix.
11139 Rename from frameset-sort-frames-for-deletion.
11140 (frameset-restore): Doc fixes. Use new function names.
11141 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11143 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11145 * desktop.el (desktop-restore-forces-onscreen)
11146 (desktop-restore-reuses-frames): Document :keyword constant values.
11147 (desktop-filter-parameters-alist): Remove, now identical to
11148 frameset-filter-alist.
11149 (desktop--filter-tty*): Remove, moved to frameset.el.
11150 (desktop-save-frameset, desktop-restore-frameset):
11151 Do not pass :filters argument.
11153 * frameset.el (frameset-live-filter-alist)
11154 (frameset-persistent-filter-alist): New variables.
11155 (frameset-filter-alist): Use them. Add autoload cookie.
11156 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11157 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11158 `frameset--id' (it's supposed to be internal to frameset.el).
11159 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11160 (frameset--initial-params): New function.
11161 (frameset--get-frame): Use it. Doc fix.
11162 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11163 Accept :all, not 'all.
11164 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11165 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11166 with fbound symbols. Fix frame id matching, and remove matching ids if
11167 the frame being restored is deleted. Obey :delete.
11169 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11171 * subr.el (macrop): New function.
11172 (text-clone--maintaining): New var.
11173 (text-clone--maintain): Rename from text-clone-maintain. Use it
11174 instead of inhibit-modification-hooks.
11176 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11177 a proxy, so as handle autoloads and redefinitions of the target.
11178 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11180 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11181 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11182 (pcase--mutually-exclusive-p): New function.
11183 (pcase--split-consp): Use it.
11184 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11185 mutually exclusive with the current predicate.
11187 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11188 (edebug-macrop): Remove. Use `macrop' instead.
11189 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11191 * eshell/esh-cmd.el (eshell-macrop):
11192 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11194 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11197 (advice-mapc): New function, using it.
11198 (advice-function-member-p): New function.
11199 (advice--normalize): Store the cdr in advice--saved-rewrite since
11200 that's the part that will be changed.
11201 (advice--symbol-function): New function.
11202 (advice-remove): Handle removal before the function is defined.
11203 Adjust to new advice--saved-rewrite.
11204 (advice-member-p): Use advice-function-member-p and
11205 advice--symbol-function.
11207 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11209 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11210 (frameset-filter-minibuffer): Doc fix.
11211 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11212 (frameset--set-id, frameset--process-minibuffer-frames)
11213 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11214 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11216 * desktop.el (desktop-clear): Only delete frames when called
11217 interactively and desktop-restore-frames is non-nil. Doc fix.
11218 (desktop-read): Set desktop-saved-frameset to nil.
11220 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11222 * vc/vc.el (vc-ignore): Rewrite.
11223 (vc-default-ignore-completion-table, vc--read-lines)
11224 (vc--add-line, vc--remove-regexp): New functions.
11226 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11227 (vc-svn-ignore-completion-table): New function.
11229 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11230 (vc-hg-ignore-completion-table)
11231 (vc-hg-find-ignore-file): New functions.
11233 * vc/vc-git.el (vc-git-ignore): Rewrite.
11234 (vc-git-ignore-completion-table)
11235 (vc-git-find-ignore-file): New functions.
11237 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11239 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11240 (vc-bzr-ignore-completion-table)
11241 (vc-bzr-find-ignore-file): New functions.
11243 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11245 * frameset.el (frameset-prop): New function and setter.
11246 (frameset-save): Do not modify frame list passed by the caller.
11248 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11250 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11252 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11254 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11255 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11257 * custom.el (custom-initialize-default, custom-initialize-set)
11258 (custom-initialize-reset, custom-initialize-changed): Affect the
11259 toplevel-default-value (bug#6275, bug#14586).
11260 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11263 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11265 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11266 Add cl-def* expressions.
11268 * frameset.el (frameset-filter-params): Fix order of arguments.
11270 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11272 Move code related to saving frames to frameset.el.
11273 * desktop.el: Require frameset.
11274 (desktop-restore-frames): Doc fix.
11275 (desktop-restore-reuses-frames): Rename from
11276 desktop-restoring-reuses-frames.
11277 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11278 (desktop-clear): Clear frames too.
11279 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11280 (desktop--filter-tty*, desktop-save, desktop-read):
11281 Use frameset functions.
11282 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11283 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11284 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11285 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11286 (desktop--process-minibuffer-frames, desktop-save-frames)
11287 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11288 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11289 (desktop--sort-states, desktop-restoring-frames-p)
11290 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11291 (desktop-restoring-frameset-p, desktop-restore-frameset)
11292 (desktop--check-dont-save, desktop-save-frameset): New functions.
11293 (desktop--app-id): New constant.
11294 (desktop-first-buffer, desktop-buffer-ok-count)
11295 (desktop-buffer-fail-count): Move before first use.
11296 * frameset.el: New file.
11298 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11300 * files.el: Use lexical-binding.
11301 (dir-locals-read-from-file): Remove unused `err' variable.
11302 (hack-dir-local-variables--warned-coding): New var.
11303 (hack-dir-local-variables): Use it to avoid repeated warnings.
11304 (make-backup-file-name--default-function): New function.
11305 (make-backup-file-name-function): Use it as default.
11306 (buffer-stale--default-function): New function.
11307 (buffer-stale-function): Use it as default.
11308 (revert-buffer-insert-file-contents--default-function): New function.
11309 (revert-buffer-insert-file-contents-function): Use it as default.
11310 (insert-directory): Avoid add-to-list.
11312 * autorevert.el (auto-revert-handler): Simplify.
11313 Use buffer-stale--default-function.
11315 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11317 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11319 * whitespace.el (whitespace-ensure-local-variables): New function.
11320 (whitespace-cleanup-region): Call it.
11321 (whitespace-turn-on): Call it.
11323 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11325 Complete file name handlers.
11327 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11328 (tramp-handle-verify-visited-file-modtime)
11329 (tramp-handle-file-notify-rm-watch): New functions.
11330 (tramp-call-process): Do not bind `default-directory'.
11332 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11333 Order alphabetically.
11334 <access-file, add-name-to-file, dired-call-process>:
11335 <dired-compress-file, file-acl, file-notify-rm-watch>:
11336 <file-ownership-preserved-p, file-selinux-context>:
11337 <make-directory-internal, make-symbolic-link, set-file-acl>:
11338 <set-file-selinux-context, set-visited-file-modtime>:
11339 <verify-visited-file-modtime>: Add handler.
11340 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11342 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11343 <file-notify-add-watch, file-notify-rm-watch>:
11344 <set-file-times, set-visited-file-modtime>:
11345 <verify-visited-file-modtime>: Add handler.
11346 (with-tramp-gvfs-error-message)
11347 (tramp-gvfs-handle-set-visited-file-modtime)
11348 (tramp-gvfs-fuse-file-name): Remove.
11349 (tramp-gvfs-handle-file-notify-add-watch)
11350 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11351 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11353 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11354 Order alphabetically.
11355 <file-notify-rm-watch>: Use default Tramp handler.
11356 <executable-find>: Remove private handler.
11357 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11358 `default-directory'.
11359 (tramp-sh-handle-executable-find)
11360 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11361 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11362 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11363 Do not use `format' in `tramp-message'.
11365 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11366 <file-notify-rm-watch, set-visited-file-modtime>:
11367 <verify-visited-file-modtime>: Add handler.
11368 (tramp-smb-call-winexe): Do not bind `default-directory'.
11370 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11372 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11374 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11376 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11378 (log-view-diff-changeset): Same.
11379 (log-view-diff-common): Call backend command `previous-revision'
11380 to find out the previous revision, in both cases. Swap the
11381 variables `to' and `fr', so that `fr' usually refers to the
11382 earlier revision (Bug#14989).
11384 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11386 * ibuf-ext.el (ibuffer-filter-by-filename):
11387 Make it work with dired buffers too.
11389 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11391 * emacs-lisp/re-builder.el (reb-color-display-p):
11392 * files.el (save-buffers-kill-terminal):
11393 * net/browse-url.el (browse-url):
11394 * server.el (server-save-buffers-kill-terminal):
11395 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11396 Prefer nil to selected-frame for the first arg of frame-parameter.
11398 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11400 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11402 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11404 * minibuffer.el (completion--twq-all): Try and preserve each
11405 completion's case choice (bug#14907).
11407 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11409 * net/network-stream.el (open-network-stream): Mention the new
11410 :nogreeting parameter.
11411 (network-stream-open-starttls): Use the :nogreeting parameter
11414 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11416 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11417 more natural than popping.
11419 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11420 (shr-urlify): Highlight under mouse.
11422 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11424 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11426 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11428 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11431 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11432 point-min==1. Fix search string. Fix parentheses missing.
11434 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11435 assume point-min==1. Fix search string. Fix parentheses missing.
11437 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11439 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11442 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11444 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11445 initial frame is minibuffer-less. (Bug#14841)
11447 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11449 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11452 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11453 (tramp-maybe-open-connection): Use it.
11455 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11457 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11458 minimal set of parameters passed when creating a frame, because
11459 the minibuffer status of a frame cannot be changed later.
11461 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11463 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11464 replace-regexp-in-string and inadvertent omissions in previous change.
11465 (todo-filter-items): Ensure only file names are comma-separated in
11466 name of filtered items buffer.
11468 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11470 * desktop.el: Optionally force offscreen frames back onscreen.
11471 (desktop-restoring-reuses-frames): New option.
11472 (desktop--compute-pos, desktop--move-onscreen): New functions.
11473 (desktop--make-frame): Use desktop--move-onscreen.
11475 2013-07-27 Alan Mackenzie <acm@muc.de>
11477 Fontify a Java generic method as a function.
11478 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11481 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11483 * calendar/todo-mode.el: Add command to rename todo files.
11484 (todo-rename-file): New command.
11485 (todo-key-bindings-t): Add key binding for it. Change the
11486 bindings of todo-filter-regexp-items(-multifile) to use `x'
11487 instead of `r', since the latter is better suited to the new
11490 2013-07-27 Alan Mackenzie <acm@muc.de>
11492 Make Java try-with-resources statement parse properly.
11493 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11494 (c-block-stmt-1-2-key): New language constants/variables.
11495 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11496 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11497 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11498 with c-block-stmt-1-2-key.
11500 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11502 * desktop.el (desktop--make-frame): Apply most frame parameters after
11503 creating the frame to force (partially or totally) offscreen frames to
11504 be restored as such.
11506 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11508 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11511 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11514 `base' arg of backtrace-frame.
11516 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11518 * simple.el (list-processes): Doc fix.
11520 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11522 * desktop.el (desktop--select-frame):
11523 Try harder to reuse existing frames.
11525 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11527 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11528 (edebug-eval): Use backtrace-eval.
11529 (edebug--display, edebug--recursive-edit): Don't let-bind the
11530 edebug-outer-* vars that keep track of variables we locally let-bind.
11531 (edebug-outside-excursion): Don't restore outside values of locally
11533 (edebug--display): Use user-error.
11534 (cl-lexical-debug, cl-debug-env): Remove.
11536 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11538 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11539 are restored to be sure that they are visible before deleting any
11542 2013-07-26 Matthias Meulien <orontee@gmail.com>
11544 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11545 vc-print-root-log. (Bug#14948)
11547 2013-07-26 Richard Stallman <rms@gnu.org>
11549 Add aliases for encrypting mail.
11550 * epa.el (epa-mail-aliases): New option.
11551 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11552 Bind inhibit-read-only so read-only text doesn't ruin everything.
11553 (epa-mail-default-recipients): New subroutine broken out.
11554 Handle epa-mail-aliases.
11556 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11558 Add support for lexical variables to the debugger's `e' command.
11559 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11560 vars, except for debugger-outer-match-data.
11561 (debugger-frame-number): Move check for "on a function call" from
11562 callers into it. Add `skip-base' argument.
11563 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11564 (debugger-env-macro): Only reset the state stored in non-variables,
11565 i.e. current-buffer and match-data.
11566 (debugger-eval-expression): Rewrite using backtrace-eval.
11567 * subr.el (internal--called-interactively-p--get-frame): Remove.
11568 (called-interactively-p):
11569 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11570 `base' arg of backtrace-frame instead.
11572 2013-07-26 Glenn Morris <rgm@gnu.org>
11574 * align.el (align-regexp): Doc fix. (Bug#14857)
11575 (align-region): Explicit error if subexpression missing/does not match.
11577 * simple.el (global-visual-line-mode):
11578 Do not duplicate the mode lighter. (Bug#14858)
11580 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11582 * window.el (display-buffer): In display-buffer bind
11583 split-window-keep-point to t, bug#14829.
11585 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11587 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11588 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11589 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11590 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11591 Change accordingly.
11592 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11593 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11595 2013-07-25 Glenn Morris <rgm@gnu.org>
11597 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11599 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11601 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11602 parameter to modify-frame-parameters if the value has not changed;
11603 this is a workaround for bug#14949.
11604 (desktop--make-frame): On cl-delete-if call, check parameter name,
11605 not full parameter.
11607 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11609 * vc/vc.el (vc-ignore): New function.
11611 * vc/vc-svn.el (vc-svn-ignore): New function.
11613 * vc/vc-hg.el (vc-hg-ignore): New function.
11615 * vc/vc-git.el (vc-git-ignore): New function.
11617 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11618 (vc-dir-ignore): New function.
11620 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11621 (cvs-append-to-ignore): Move here from pcvs.el.
11623 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11625 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11627 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11629 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11630 (desktop-restore-frames): Warn when deleting an existing frame failed.
11632 2013-07-24 Glenn Morris <rgm@gnu.org>
11634 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11636 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11638 * filenotify.el (file-notify-supported-p):
11639 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11642 * autorevert.el (auto-revert-use-notify)
11643 (auto-revert-notify-add-watch):
11644 * net/tramp.el (tramp-file-name-for-operation):
11645 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11647 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11648 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11649 Remove `file-notify-supported-p' entry.
11651 2013-07-24 Glenn Morris <rgm@gnu.org>
11653 * printing.el: Replace all uses of deleted ps-windows-system,
11654 ps-lp-system, ps-flatten-list with lpr- versions.
11656 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11659 checked with memq (bug#14935).
11661 * files.el (revert-buffer-function): Use a non-nil default.
11662 (revert-buffer-preserve-modes): Declare var to
11663 provide access to the `preserve-modes' argument.
11664 (revert-buffer): Let-bind it.
11665 (revert-buffer--default): New function, extracted from revert-buffer.
11667 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11669 * lpr.el: Signal print errors more prominently.
11670 (print-region-function): Don't default to nil.
11671 (lpr-print-region): New function, extracted from print-region-1.
11672 Check lpr's return value and signal an error in case of problem.
11673 (print-region-1): Use it.
11674 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11676 (ps-printer-name): Default to nil.
11677 (ps-printer-name-option): Default to lpr-printer-switch.
11678 (ps-print-region-function): Don't default to nil.
11679 (ps-postscript-code-directory): Simplify default.
11680 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11681 (ps-string-list, ps-eval-switch, ps-flatten-list)
11682 (ps-flatten-list-1): Remove.
11683 (ps-multibyte-buffer): Avoid setq.
11684 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11685 (print-region-function, ps-print-region-function): Don't set them here.
11687 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11689 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11690 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11691 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11692 (ido-decorations): Doc fix.
11694 * ansi-color.el: Fix old URL.
11696 2013-07-23 Michael R. Mauger <michael@mauger.com>
11698 * progmodes/sql.el: Version 3.3
11699 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11700 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11701 (sql-interactive-remove-continuation-prompt): Rewrite, use
11702 functions above. Fix continuation prompt and complete output line
11704 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11705 redirected output buffer.
11706 (sql-mode): Restore deleted code (Bug#13591).
11708 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11710 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11712 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11714 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11716 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11717 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11718 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11720 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11722 * desktop.el (desktop-clear): Simplify; remove useless checks
11723 against invalid buffer names.
11724 (desktop-list*): Use cl-list*.
11725 (desktop-buffer-info, desktop-create-buffer): Simplify.
11727 2013-07-23 Leo Liu <sdl.web@gmail.com>
11729 * bookmark.el (bookmark-make-record): Restore NAME as a default
11732 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11735 extracted from autoload--insert-text.
11736 (autoload--insert-text): Remove.
11737 (autoload--print-cookie-text): New function, extracted from
11738 autoload--insert-cookie-text.
11739 (autoload--insert-cookie-text): Remove.
11740 (autoload-generate-file-autoloads): Adjust calls accordingly.
11742 * winner.el (winner-hook-installed-p): Remove.
11743 (winner-mode): Simplify accordingly.
11745 * subr.el (add-to-list): Fix compiler-macro when `append' is
11746 not constant. Don't use `cl-member' for the base case.
11748 * progmodes/subword.el: Fix boundary case (bug#13758).
11749 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11751 (subword-backward-regexp): Make it a constant.
11752 (subword-forward-internal): Don't treat a trailing capital as the
11753 beginning of a word.
11755 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11757 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11758 global value of tabulated-list-revert-hook (bug#14930).
11760 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11762 * desktop.el: Require 'cl-lib.
11763 (desktop-before-saving-frames-functions): New hook.
11764 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11765 for frames being saved. Rename from desktop--save-minibuffer-frames.
11766 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11767 Do not save frames with non-nil `desktop-dont-save' parameter.
11768 Filter out deleted frames.
11769 (desktop--find-frame): Use cl-find-if.
11770 (desktop--select-frame): Use cl-(first|second|third) to access values
11772 (desktop--make-frame): Use cl-delete-if.
11773 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11774 (desktop-restore-frames): Use cl-(first|second|third) to access values
11775 of desktop-mini. Look for visible frame at the end, not while
11778 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11779 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11780 Use string-match-p, looking-at-p (bug#14927).
11782 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11784 * desktop.el (desktop-saved-frame-states):
11785 Rename from desktop--saved-states; all users changed.
11786 (desktop-save-frames): Rename from desktop--save-frames.
11787 Do not save state to desktop file.
11788 (desktop-save): Save desktop-saved-frame-states to desktop file
11790 (desktop-restoring-frames-p): New function.
11791 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11792 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11793 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11795 * desktop.el: Correctly restore iconified frames.
11796 (desktop--filter-iconified-position): New function.
11797 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11799 2013-07-20 Glenn Morris <rgm@gnu.org>
11801 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11802 Let `message' do the formatting.
11803 (def-gdb-preempt-display-buffer): Add explicit format.
11805 * image-dired.el (image-dired-track-original-file):
11806 Use with-current-buffer.
11807 (image-dired-track-thumbnail): Use with-current-buffer.
11808 Avoid changing point of wrong window.
11810 * image-dired.el (image-dired-track-original-file):
11811 Avoid changing point of wrong window. (Bug#14909)
11813 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11815 * progmodes/gdb-mi.el (gdb-done-or-error):
11816 Guard against "%" in gdb output. (Bug#14127)
11818 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11820 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11823 * international/mule.el (coding-system-iso-2022-flags): Fix last
11826 2013-07-20 Kenichi Handa <handa@gnu.org>
11828 * international/mule.el (coding-system-iso-2022-flags):
11829 Add `8-bit-level-4'. (Bug#8522)
11831 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11833 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11836 * net/eww.el (eww-process-text-input): Allow inputting when the
11837 point is at the start of the line, as the properties aren't
11840 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11843 2013-07-19 Richard Stallman <rms@gnu.org>
11845 * epa.el (epa-popup-info-window): Doc fix.
11847 * subr.el (split-string): New arg TRIM.
11849 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11851 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11852 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11854 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11856 * filenotify.el (file-notify--library): Rename from
11857 `file-notify-support'. Do not autoload. Adapt all uses.
11858 (file-notify-supported-p): New defun.
11860 * autorevert.el (auto-revert-use-notify):
11861 Use `file-notify-supported-p' instead of `file-notify-support'.
11863 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11865 * net/tramp.el (tramp-file-name-for-operation):
11866 Add `file-notify-supported-p'.
11868 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11870 (tramp-sh-file-name-handler-alist): Add it as handler for
11871 `file-notify-supported-p '.
11873 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11874 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11875 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11876 Add `ignore' as handler for `file-notify-*' functions.
11878 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11880 * simple.el (line-move-partial, line-move): Don't start vscroll or
11881 scroll-up if the current line is not taller than the window.
11884 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11886 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11887 highlight question marks in the method names as strings.
11888 (ruby-block-beg-keywords): Inline.
11889 (ruby-font-lock-keyword-beg-re): Extract from
11890 `ruby-font-lock-keywords'.
11892 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11894 * frame.el (blink-cursor-blinks): New defcustom.
11895 (blink-cursor-blinks-done): New defvar.
11896 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11897 (blink-cursor-timer-function): Check if number of blinks has been
11899 (blink-cursor-suspend, blink-cursor-check): New defuns.
11901 2013-07-15 Glenn Morris <rgm@gnu.org>
11903 * edmacro.el (edmacro-format-keys): Fix previous change.
11905 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11907 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11908 The hack didn't work outside English locales anyway.
11910 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11912 * simple.el (define-alternatives): Rename from alternatives-define,
11913 per RMS' suggestion.
11915 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11917 * desktop.el (desktop-restore-frames): Change default to t.
11918 (desktop-restore-in-current-display): Now offer more options.
11919 (desktop-restoring-reuses-frames): New customization option.
11920 (desktop--saved-states): Doc fix.
11921 (desktop-filter-parameters-alist): New variable, renamed and expanded
11922 from desktop--excluded-frame-parameters.
11923 (desktop--target-display): New variable.
11924 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11925 (desktop--filter-tty*, desktop--filter-*-color)
11926 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11927 (desktop--filter-save-desktop-parm)
11928 (desktop-restore-in-original-display-p): New functions.
11929 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11930 (desktop--save-minibuffer-frames): New function, inspired by a similar
11931 function from Martin Rudalics.
11932 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11933 (desktop--restore-in-this-display-p): Remove.
11934 (desktop--find-frame): Rename from desktop--find-frame-in-display
11935 and add predicate argument.
11936 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11937 (desktop--reuse-list): New variable.
11938 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11940 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11942 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11944 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11946 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11948 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11949 Highlight conversion methods on Kernel.
11951 2013-07-13 Alan Mackenzie <acm@muc.de>
11953 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11954 and comment it out. This out-commenting enables certain C++
11955 declarations to be parsed correctly.
11957 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11959 * international/mule.el (define-coding-system): Doc fix.
11961 * simple.el (default-font-height): Don't call font-info if the
11962 frame's default font didn't change since the frame was created.
11965 2013-07-13 Leo Liu <sdl.web@gmail.com>
11967 * ido.el (ido-read-file-name): Guard against non-symbol value.
11969 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11971 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11974 2013-07-13 Leo Liu <sdl.web@gmail.com>
11976 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11977 ido-set-matches call. (Bug#6852)
11979 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11981 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11982 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11984 (ruby-font-lock-keywords): Distinguish calls to functions with
11985 module-like names from module references. Highlight character
11988 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11990 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11991 (gdb-send): Handle continued commands. (Bug#14847)
11993 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11995 * desktop.el (desktop--v2s): Remove unused local variable.
11996 (desktop-save-buffer): Make defvar-local; adjust docstring.
11997 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11998 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12000 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12002 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12004 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12006 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12009 2013-07-12 Glenn Morris <rgm@gnu.org>
12011 * doc-view.el: Require cl-lib at runtime too.
12012 (doc-view-remove-if): Remove.
12013 (doc-view-search-next-match, doc-view-search-previous-match):
12016 * edmacro.el: Require cl-lib at runtime too.
12017 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12018 (edmacro-mismatch, edmacro-subseq): Remove.
12020 * shadowfile.el: Require cl-lib.
12021 (shadow-remove-if): Remove.
12022 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12025 * wid-edit.el: Require cl-lib.
12026 (widget-choose): Use cl-remove-if.
12027 (widget-remove-if): Remove.
12029 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12030 (ebrowse-delete-if-not): Remove.
12031 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12032 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12033 Use cl-delete-if-not.
12035 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12037 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12038 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12040 2013-07-12 Leo Liu <sdl.web@gmail.com>
12042 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12044 2013-07-11 Glenn Morris <rgm@gnu.org>
12046 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12047 (edebug-gensym-index, edebug-gensym):
12048 Remove reimplementation of cl-gensym.
12049 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12051 * thumbs.el: Require cl-lib at run-time too.
12052 (thumbs-gensym-counter, thumbs-gensym):
12053 Remove reimplementation of cl-gensym.
12054 (thumbs-temp-file): Use cl-gensym.
12056 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12057 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12058 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12059 (ert--union, ert--gensym-counter, ert--gensym-counter)
12060 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12061 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12062 (ert-make-test-unbound, ert--expand-should-1)
12063 (ert--expand-should, ert--should-error-handle-error)
12064 (should-error, ert--explain-equal-rec)
12065 (ert--plist-difference-explanation, ert-select-tests)
12066 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12067 Use cl-lib functions rather than reimplementations.
12069 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12071 * net/tramp.el (tramp-methods): Extend docstring.
12072 (tramp-connection-timeout): New defcustom.
12073 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12074 (with-tramp-progress-reporter): Simplify.
12075 (tramp-process-actions): Improve messages.
12077 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12078 * net/tramp-sh.el (tramp-maybe-open-connection):
12079 Use `tramp-connection-timeout'.
12080 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12083 2013-07-11 Leo Liu <sdl.web@gmail.com>
12085 * ido.el (ido-read-file-name): Conform to the requirements of
12086 read-file-name. (Bug#11861)
12087 (ido-read-directory-name): Conform to the requirements of
12088 read-directory-name.
12090 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12092 * subr.el (delay-warning): New function.
12094 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12096 * simple.el (default-line-height): New function.
12097 (line-move-partial, line-move): Use it instead of computing the
12098 line height inline.
12099 (line-move-partial): Always compute ROWH. If the last line is
12100 partially-visible, but its text is completely visible, allow
12101 cursor to enter such a partially-visible line.
12103 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12105 Improve error messages. (Bug#14808)
12107 * net/tramp.el (tramp-current-connection): New defvar, moved from
12109 (tramp-message-show-progress-reporter-message): Remove, not
12111 (tramp-error-with-buffer): Show message in minibuffer.
12112 Discard input before waiting. Reset connection timestamp.
12113 (with-tramp-progress-reporter): Improve messages.
12114 (tramp-process-actions): Use progress reporter. Delete process in
12115 case of error. Improve messages.
12117 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12118 Call `tramp-error-with-buffer' with vector and buffer.
12119 (tramp-current-connection): Remove.
12120 (tramp-maybe-open-connection): The car of
12121 `tramp-current-connection' are the first 3 slots of the vector.
12123 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12125 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12126 inside continued strings.
12128 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12130 Timestamp fixes for undo (Bug#14824).
12131 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12133 2013-07-10 Leo Liu <sdl.web@gmail.com>
12135 * files.el (require-final-newline): Allow safe local value.
12138 2013-07-09 Leo Liu <sdl.web@gmail.com>
12140 * ido.el (ido-read-directory-name): Handle fallback.
12141 (ido-read-file-name): Update DIR to ido-current-directory.
12143 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12145 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12147 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12148 "autoload". Remove "warn lower camel case" section, previously
12149 commented out. Highlight negation char. Do not highlight the
12150 target in singleton method definitions.
12152 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12154 * faces.el (tty-setup-hook): Declare the hook.
12156 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12157 and detect when a guard/pred depends on local vars (bug#14773).
12158 (pcase--u1): Adjust caller.
12160 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12162 * simple.el (line-move-partial, line-move): Account for
12164 (line-move-partial): Avoid setting vscroll when the last
12165 partially-visible line in window is of default height.
12167 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12169 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12172 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12174 * subr.el (read-quoted-char): Remove unused local variable `char'.
12176 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12178 * vc/ediff.el (ediff-version): Version update.
12179 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12180 (ediff-merge-with-ancestor-command, ediff-directories-command)
12181 (ediff-directories3-command, ediff-merge-directories-command)
12182 (ediff-merge-directories-with-ancestor-command): New functions.
12183 All are command-line interfaces to ediff: to facilitate calling
12184 Emacs with the appropriate ediff functions invoked.
12186 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12188 (viper-save-kill-buffer): Check if buffer is modified.
12190 * emulation/viper.el (viper-version): Version update.
12191 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12193 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12195 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12196 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12197 (viper-intercept-ESC-key): Simplify.
12198 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12200 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12201 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12202 (viper-setup-ESC-to-escape): New functions.
12203 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12204 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12206 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12208 * simple.el (default-font-height, window-screen-lines):
12210 (line-move, line-move-partial): Use them instead of
12211 frame-char-height and window-text-height. This makes scrolling
12212 text smoother when the buffer's default face uses a font that is
12213 different from the frame's default font.
12215 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12217 * files.el (write-file): Do not display confirm dialog for NS,
12218 it does its own dialog, which can't be canceled (Bug#14578).
12220 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12222 * simple.el (line-move-partial): Adjust the row returned by
12223 posn-at-point for the current window-vscroll. (Bug#14567)
12225 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12227 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12228 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12231 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12233 * window.el (window-state-put-stale-windows): New variable.
12234 (window--state-put-2): Save list of windows without matching buffer.
12235 (window-state-put): Remove "bufferless" windows if possible.
12237 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12239 * simple.el (alternatives-define): Remove leftover :group keyword.
12242 2013-07-06 Leo Liu <sdl.web@gmail.com>
12244 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12245 (ido-enable-virtual-buffers): New variable.
12246 (ido-buffer-internal, ido-toggle-virtual-buffers)
12247 (ido-make-buffer-list): Use it.
12248 (ido-exhibit): Support turning on and off virtual buffers
12251 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12253 * simple.el (alternatives-define): New macro.
12255 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12257 * subr.el (read-quoted-char): Use read-key.
12258 (sit-for): Let read-event decode tty input (bug#14782).
12260 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12262 * calendar/todo-mode.el: Add handling of file deletion, both by
12263 mode command and externally. Fix various related bugs.
12264 Clarify Commentary and improve some documentation strings and code.
12265 (todo-delete-file): New command.
12266 (todo-check-file): New function.
12267 (todo-show): Handle external deletion of the file we're trying to
12268 show (bug#14688). Replace called-interactively-p by an optional
12269 prefix argument to avoid problematic interaction with catch form
12270 when byte compiled (bug#14702).
12271 (todo-quit): Handle external deletion of the archive's todo file.
12272 Make sure the buffer that was visiting the archive file is still
12273 live before trying to bury it.
12274 (todo-category-completions): Handle external deletion of any
12275 category completion files.
12276 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12277 of todo files, in case of external deletion.
12278 (todo-add-file): Replace unnecessary setq by let-binding.
12279 (todo-find-archive): Check whether there are any archives.
12280 Replace unnecessary setq by let-binding.
12281 (todo-archive-done-item): Use find-file-noselect to get the
12282 archive buffer whether or not the archive already exists.
12283 Remove superfluous code. Use file size instead of buffer-file-name to
12284 check if the archive is new; if it is, update list of archives.
12285 (todo-default-todo-file): Allow nil to be a valid value for when
12286 there are no todo files.
12287 (todo-reevaluate-default-file-defcustom): Use corrected definition
12288 of todo-default-todo-file.
12289 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12290 (todo-delete-category, todo-show-categories-table)
12291 (todo-category-number): Clarify comment.
12292 (todo-filter-items): Clarify documentation string.
12293 (todo-show-current-file, todo-display-as-todo-file)
12294 (todo-reset-and-enable-done-separator): Tweak documentation string.
12295 (todo-done-separator): Make separator length window-width, since
12296 bug#2749 is now fixed.
12298 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12300 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12301 Support both "gvfs-monitor-dir" and "inotifywait".
12302 (tramp-sh-file-inotifywait-process-filter): Rename from
12303 `tramp-sh-file-notify-process-filter'.
12304 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12305 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12307 2013-07-05 Leo Liu <sdl.web@gmail.com>
12309 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12311 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12313 * frame.el (display-pixel-height, display-pixel-width)
12314 (display-mm-height, display-mm-width): Mention behavior on
12315 multi-monitor setups in docstrings.
12316 (w32-display-monitor-attributes-list): Declare function.
12317 (display-monitor-attributes-list): Use it.
12319 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12321 * filenotify.el: New package.
12323 * autorevert.el (top): Require filenotify.el.
12324 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12326 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12327 (auto-revert-notify-handler): Use `file-notify-*' functions.
12329 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12331 * net/tramp.el (tramp-file-name-for-operation):
12332 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12334 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12335 for `file-notify-add-watch' and `file-notify-rm-watch'.
12336 (tramp-process-sentinel): Improve trace.
12337 (tramp-sh-handle-file-notify-add-watch)
12338 (tramp-sh-file-notify-process-filter)
12339 (tramp-sh-handle-file-notify-rm-watch)
12340 (tramp-get-remote-inotifywait): New defuns.
12342 2013-07-03 Juri Linkov <juri@jurta.org>
12344 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12345 call of `occur-read-primary-args' to interactive spec.
12347 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12348 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12350 2013-07-03 Matthias Meulien <orontee@gmail.com>
12352 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12353 `Buffer-menu-multi-occur'. Add it to the menu.
12354 (Buffer-menu-mode): Document it in docstring.
12355 (Buffer-menu-multi-occur): New command. (Bug#14673)
12357 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12359 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12360 keywords and built-ins.
12362 2013-07-03 Glenn Morris <rgm@gnu.org>
12364 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12366 Make info-xref checks case-sensitive by default
12367 * info.el (Info-find-node, Info-find-in-tag-table)
12368 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12369 Add option for exact case matching of nodes.
12370 * info-xref.el (info-xref): New custom group.
12371 (info-xref-case-fold): New option.
12372 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12374 2013-07-03 Leo Liu <sdl.web@gmail.com>
12376 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12378 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12380 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12381 middle of block statement initially, lower the depth. Remove
12382 FIXME comment, not longer valid. Remove middle of block statement
12383 detection, no need to do that anymore since we've been using
12384 `ruby-parse-region' here.
12386 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12388 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12390 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12392 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12394 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12396 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12397 (desktop-restore-in-current-display): New customization option.
12398 (desktop--excluded-frame-parameters): Add `font'.
12399 (desktop--save-frames): Rename from desktop--save-windows.
12400 (desktop--restore-in-this-display-p): New function.
12401 (desktop--make-full-frame): Remove unwanted width/height from
12402 full(width|height) frames.
12403 (desktop--restore-frames): Rename from desktop--restore-windows.
12404 Obey desktop-restore-current-display. Do not delete old frames or
12405 select a new frame unless we were able to restore at least one frame.
12407 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12409 * files.el (find-file-noselect): Simplify conditional expression.
12411 * textmodes/remember.el (remember-append-to-file):
12412 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12414 Add `remember-notes' function to store random notes across Emacs
12416 * textmodes/remember.el (remember-data-file): Add :set callback to
12417 affect notes buffer (if any).
12418 (remember-notes): New command.
12419 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12420 New defcustoms for the `remember-notes' function.
12421 (remember-notes-save-and-bury-buffer): New command.
12422 (remember-notes-mode-map): New variable.
12423 (remember-mode): New minor mode.
12424 (remember-notes--kill-buffer-query): New function.
12425 * startup.el (initial-buffer-choice): Add notes to custom type.
12427 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12429 * bindings.el (right-char, left-char): Don't call sit-for, this is
12430 no longer needed. Use arithmetic comparison only for numerical
12433 * international/mule-cmds.el (select-safe-coding-system):
12434 Handle the case of FROM being a string correctly. (Bug#14755)
12436 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12438 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12439 progression on degenerate tables.
12440 (shr-rescale-image): ImageMagick animated images currently don't work.
12442 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12444 Some fixes and improvements for desktop frame restoration.
12445 It is still experimental and disabled by default.
12446 * desktop.el (desktop--save-windows): Put the selected frame at
12447 the head of the list.
12448 (desktop--make-full-frame): New function.
12449 (desktop--restore-windows): Try to re-select the frame that was
12450 selected upon saving. Do not abort if some frames fail to restore,
12451 just show an error message and continue. Set up maximized frames
12452 so they have default non-maximized dimensions.
12454 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12456 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12457 Don't start heredoc inside a string or comment.
12459 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12461 * bindings.el (visual-order-cursor-movement): New defcustom.
12462 (right-char, left-char): Provide visual-order cursor motion by
12463 calling move-point-visually. Update the doc strings.
12465 2013-06-28 Kenichi Handa <handa@gnu.org>
12467 * international/mule.el (define-coding-system): New coding system
12468 properties :inhibit-null-byte-detection,
12469 :inhibit-iso-escape-detection, and :prefer-utf-8.
12470 (set-buffer-file-coding-system): If :charset-list property of
12471 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12472 appropriate for setting.
12474 * international/mule-cmds.el (select-safe-coding-system):
12475 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12476 multibyte characters, return utf-8 (or one of its siblings).
12478 * international/mule-conf.el (prefer-utf-8): New coding system.
12479 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12482 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12484 * net/shr.el (shr-render-region): New function.
12486 * net/eww.el: Autoload `eww-browse-url'.
12488 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12490 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12491 Adapt to `package-desc-version' being a list.
12492 Use `package--ac-desc-version' to retrieve version from a package
12495 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12497 New experimental feature to save&restore window and frame setup.
12498 * desktop.el (desktop-save-windows): New defcustom.
12499 (desktop--saved-states): New var.
12500 (desktop--excluded-frame-parameters): New defconst.
12501 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12502 (desktop--restore-windows, desktop--save-windows): New functions.
12503 (desktop-save): Call `desktop--save-windows'.
12504 (desktop-read): Call `desktop--restore-windows'.
12506 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12508 * net/shr.el (add-face-text-property): Remove compat definition.
12510 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12512 * info.el (Info-try-follow-nearest-node): Move search for footnote
12513 above search for node name to prevent missing a footnote (bug#14717).
12515 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12517 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12519 2013-06-27 Leo Liu <sdl.web@gmail.com>
12521 * net/eww.el (eww-read-bookmarks): Check file size.
12523 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12525 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12526 advice--pending if newdef is nil or an autoload (bug#13820).
12527 (advice-mapc): New function.
12529 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12531 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12533 (eww-mode-map): Add a menu bar.
12534 (eww-add-bookmark): New command.
12535 (eww-bookmark-mode): New mode and commands.
12536 (eww-add-bookmark): Remove newlines from the title.
12537 (eww-bookmark-browse): Don't bug out if it's the only window.
12539 2013-06-26 Glenn Morris <rgm@gnu.org>
12541 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12542 (hfy-size): Handle ttys. (Bug#14668)
12544 * info-xref.el: Update for Texinfo 5 change in *note format.
12545 (info-xref-node-re, info-xref-note-re): New constants.
12546 (info-xref-check-buffer): Use info-xref-note-re.
12548 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12550 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12552 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12553 nil terminate the loop (bug#14718).
12555 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12557 * net/eww.el: Rework history traversal. When going forward/back,
12558 put these actions into the history, too, so that they can be
12560 (eww-render): Move the history reset to the correct buffer.
12562 2013-06-25 Juri Linkov <juri@jurta.org>
12564 * files-x.el (modify-dir-local-variable): Change the header comment
12565 in the file with directory local variables. (Bug#14692)
12567 * files-x.el (read-file-local-variable-value): Add `default'.
12570 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12572 * net/eww.el (eww-make-unique-file-name): Create a unique file
12573 name before saving to entering `y' accidentally asynchronously.
12575 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12577 * net/eww.el (eww-download): New command and keystroke.
12579 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12581 * net/eww.el (eww-copy-page-url): Change name of command.
12583 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12584 be more consistent with Info and dired.
12586 * net/eww.el (eww-mode-map): Ditto.
12588 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12590 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12591 packages from archives.
12592 (package-archive-contents): Change format; include obsolete packages.
12593 (package-desc): Use `dir' to mark builtin packages.
12594 (package--from-builtin): Set the `dir' field to `builtin'.
12595 (generated-autoload-file, version-control): Declare.
12596 (package-compute-transaction): Change first arg and return value to be
12597 lists of package-descs. Adjust to new package-archive-contents format.
12598 (package--add-to-archive-contents): Adjust to new
12599 package-archive-contents format.
12600 (package-download-transaction): Arg is now a list of package-descs.
12601 (package-install): If `pkg' is a package name, pass it as
12602 a requirement, so it is subject to the usual (e.g. disabled) checks.
12603 (describe-package): Accept package-desc as well.
12604 (describe-package-1): Describe a specific package-desc. Add links to
12605 other package-descs for the same package name.
12606 (package-menu-describe-package): Pass the actual package-desc.
12607 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12609 (package-desc-status): New function.
12610 (package-menu--refresh): New function, extracted
12611 from package-menu--generate.
12612 (package-menu--generate): Use it.
12613 (package-delete): Update package-alist.
12614 (package-menu-execute): Don't call package-initialize.
12616 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12617 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12618 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12619 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12620 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12621 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12623 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12625 * window.el (window--state-get-1): Workaround for bug#14527.
12626 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12628 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12630 * net/eww.el (eww-back-url): Implement the history by stashing all
12631 the data into a list.
12632 (eww-forward-url): Allow going forward in the history, too.
12634 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12636 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12637 for values and use read--expression for expressions (bug#14710).
12638 (read-file-local-variable): Avoid setq.
12639 (read-file-local-variable-mode): Use minor-mode-list.
12641 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12643 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12646 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12648 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12649 Update imenu-support when dialect changes.
12651 2013-06-25 Leo Liu <sdl.web@gmail.com>
12653 * ido.el (ido-read-internal): Allow forward slash on windows.
12655 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12657 * net/eww.el (eww): Start of strings is \\`, not ^.
12659 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12661 * net/shr.el (shr-browse-url): Fix interactive spec.
12663 * net/eww.el (eww): Add a trailing slash to domain names.
12665 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12667 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12669 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12671 * net/shr.el (shr-browse-url): Use an external browser if given a
12674 * net/eww.el (eww-external-browser): Move to shr.
12676 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12678 * net/eww.el (eww): Work more correctly for file: URLs.
12679 (eww-detect-charset): Allow quoted charsets.
12680 (eww-yank-page-url): New command and keystroke.
12682 2013-06-24 Daiki Ueno <ueno@gnu.org>
12684 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12685 file name of gpg executable.
12686 (epg-context-program): New function.
12687 (epg-context-home-directory): New function.
12688 (epg-context-set-program): New function.
12689 (epg-context-set-home-directory): New function.
12690 (epg--start): Use `epg-context-program' instead of
12692 (epg--list-keys-1): Likewise.
12694 2013-06-24 Leo Liu <sdl.web@gmail.com>
12696 * ido.el (ido-read-internal): Fix bug#14620.
12698 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12700 * faces.el (face-documentation): Simplify.
12701 (read-face-attribute, tty-find-type, x-resolve-font-name):
12702 Use `string-match-p'.
12703 (list-faces-display): Use `string-match-p'. Simplify.
12704 (face-spec-recalc): Check face to avoid face alias loops.
12705 (read-color): Use `string-match-p' and non-capturing parenthesis.
12707 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12709 * net/shr.el (shr-rescale-image): Use the new
12710 :max-width/:max-height functionality.
12712 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12714 * net/eww.el (eww-search-prefix): New variable.
12716 (eww-external-browser): New variable.
12717 (eww-mode-map): New keystroke.
12718 (eww-browse-with-external-browser): New command.
12720 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12722 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12724 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12725 Don't skip aligning the next header field when padding is 0;
12726 otherwise, field width is not respected unless the title is as
12729 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12731 * emacs-lisp/package.el (package-el-version): Remove.
12732 (package-process-define-package): Fix inf-loop.
12733 (package-install): Allow symbols as arguments again.
12735 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12737 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12738 add some more keyword-like methods.
12739 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12741 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12743 * bs.el (bs-buffer-show-mark): Make defvar-local.
12744 (bs-mode): Use setq-local.
12746 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12747 (emacs-lock--try-unlocking): Make defvar-local.
12749 2013-06-22 Glenn Morris <rgm@gnu.org>
12751 * play/cookie1.el (cookie-apropos): Minor simplification.
12753 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12755 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12757 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12758 `regexp-opt', it breaks the build during dumping.
12760 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12762 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12763 Highlight keyword-like methods on Kernel and Module with
12764 font-lock-builtin-face.
12765 (auto-mode-alist): Consolidate different entries into one regexp
12766 and add more *file-s.
12768 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12770 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12772 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12773 (diary-entry): Use it in the action of this button type instead of
12776 * calendar/todo-mode.el: New version.
12777 (todo-add-category): Append new category to end of file and give
12778 it the highest number, instead of putting it at the beginning and
12779 giving it 0. Incorporate noninteractive functionality.
12780 (todo-forward-category): Adapt to 1-based category numbering.
12781 Allow skipping over archived categories.
12782 (todo-backward-category): Derive from todo-forward-category.
12783 (todo-backward-item, todo-forward-item): Make noninteractive and
12784 delegate interactive part to new commands. Make sensitive to done items.
12785 (todo-categories): Make value an alist of category names and
12786 vectors of item counts.
12787 (todo-category-beg): Make a defconst.
12788 (todo-category-number): Use 1 instead of 0 as initial value.
12789 (todo-category-select): Make sensitive to overlays, optional item
12790 highlighting and done items.
12791 (todo-delete-item): Make sensitive to overlays and marked and done items.
12792 (todo-edit-item): Make sensitive to overlays and editing of
12793 date/time header optional. Add format checks.
12794 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12795 no-op if point is not on an item. Advertise using todo-edit-quit.
12796 (todo-edit-mode): Make sensitive to new format, font-locking, and
12797 multiple todo files.
12798 (todo-insert-item, todo-insert-item-here): Derive from
12799 todo-basic-insert-item and extend functionality.
12800 (todo-item-end, todo-item-start): Make sensitive to done items.
12801 (todo-item-string): Don't return text properties. Restore point.
12802 (todo-jump-to-category): Make sensitive to multiple todo files and
12803 todo archives. Use extended category completion.
12804 (todo-lower-item, todo-raise-item): Rename to *-priority and
12805 derive from todo-set-item-priority.
12806 (todo-mode): Derive from special-mode. Make sensitive to new
12807 format, font-locking and multiple todo files. Make read-only.
12808 (todo-mode-map): Don't suppress digit keys, so they can supply
12809 prefix arguments. Add many new key bindings.
12810 (todo-prefix): Insert as an overlay instead of file text.
12811 Change semantics from diary date expression to purely visual mark.
12812 (todo-print): Rename to todo-print-buffer. Make buffer display
12813 features printable. Remove option to restrict number of items
12814 printed. Add option to print to file.
12815 (todo-print-function): Rename to todo-print-buffer-function.
12816 (todo-quit): Extend to handle exiting new todo modes.
12817 (todo-remove-item): Make sensitive to overlays.
12818 (todo-save): Extend to buffers of filtered items.
12819 (todo-show): Make sensitive to done items, multiple todo files and
12820 new todo modes. Offer to convert legacy todo file before creating
12821 first new todo file.
12822 (todo-show-priorities): Rename to todo-top-priorities.
12823 Change semantics of value 0.
12824 (todo-top-priorities): Rename to todo-filter-top-priorities,
12825 derive from todo-filter-items and extend functionality.
12826 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12827 and extend functionality to other types of filtered items.
12828 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12829 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12830 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12831 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12832 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12833 (todo-edit-mode-hook, todo-entry-prefix-function)
12834 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12835 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12836 (todo-initials, todo-insert-threshold, todo-item-string-start)
12837 (todo-line-string, todo-menu, todo-mode-hook)
12838 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12839 (todo-print-priorities, todo-remove-separator)
12840 (todo-save-top-priorities-too, todo-string-count-lines)
12841 (todo-string-multiline-p, todo-time-string-format)
12842 (todo-tmp-buffer-name): Remove.
12843 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12844 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12845 (todo-edit-category-diary-inclusion)
12846 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12847 (todo-edit-file, todo-edit-item-date-day)
12848 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12849 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12850 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12851 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12852 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12853 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12854 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12855 (todo-filter-top-priorities-multifile, todo-find-archive)
12856 (todo-find-filtered-items-file, todo-go-to-source-item)
12857 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12858 (todo-jump-to-archive-category, todo-lower-category)
12859 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12860 (todo-move-category, todo-move-item, todo-next-button)
12861 (todo-next-item, todo-padded-string, todo-powerset)
12862 (todo-previous-button, todo-previous-item)
12863 (todo-print-buffer-to-file, todo-raise-category)
12864 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12865 (todo-set-category-number, todo-set-item-priority)
12866 (todo-set-top-priorities-in-category)
12867 (todo-set-top-priorities-in-file, todo-show-categories-table)
12868 (todo-sort-categories-alphabetically-or-numerically)
12869 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12870 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12871 (todo-toggle-item-header, todo-toggle-item-highlighting)
12872 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12873 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12874 (todo-unarchive-items, todo-unmark-category): New commands.
12875 (todo-absolute-file-name, todo-add-to-buffer-list)
12876 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12877 (todo-basic-insert-item, todo-category-completions)
12878 (todo-category-number, todo-category-string-matcher-1)
12879 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12880 (todo-check-format, todo-clear-matches)
12881 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12882 (todo-current-category, todo-date-string-matcher)
12883 (todo-define-insertion-command, todo-diary-expired-matcher)
12884 (todo-diary-goto-entry, todo-diary-item-p)
12885 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12886 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12887 (todo-done-item-section-p, todo-done-separator)
12888 (todo-done-string-matcher, todo-files, todo-filter-items)
12889 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12890 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12891 (todo-insert-category-line, todo-insert-item-from-calendar)
12892 (todo-insert-sort-button, todo-insert-with-overlays)
12893 (todo-insertion-command-name, todo-insertion-key-bindings)
12894 (todo-label-to-key, todo-longest-category-name-length)
12895 (todo-make-categories-list, todo-mode-external-set)
12896 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12897 (todo-modes-set-3, todo-multiple-filter-files)
12898 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12899 (todo-read-category, todo-read-date, todo-read-dayname)
12900 (todo-read-file-name, todo-read-time)
12901 (todo-reevaluate-category-completions-files-defcustom)
12902 (todo-reevaluate-default-file-defcustom)
12903 (todo-reevaluate-filelist-defcustoms)
12904 (todo-reevaluate-filter-files-defcustom)
12905 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12906 (todo-reset-done-separator, todo-reset-done-separator-string)
12907 (todo-reset-done-string, todo-reset-global-current-todo-file)
12908 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12909 (todo-reset-prefix, todo-set-categories)
12910 (todo-set-date-from-calendar, todo-set-show-current-file)
12911 (todo-set-top-priorities, todo-short-file-name)
12912 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12913 (todo-total-item-counts, todo-update-buffer-list)
12914 (todo-update-categories-display, todo-update-categories-sexp)
12915 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12917 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12919 (todo-categories, todo-display, todo-edit, todo-faces)
12920 (todo-filtered): New defgroups.
12921 (todo-archived-only, todo-button, todo-category-string, todo-date)
12922 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12923 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12924 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12925 (todo-add-item-if-new-category, todo-always-add-time-string)
12926 (todo-categories-align, todo-categories-archived-label)
12927 (todo-categories-category-label, todo-categories-diary-label)
12928 (todo-categories-done-label, todo-categories-number-separator)
12929 (todo-categories-todo-label, todo-categories-totals-label)
12930 (todo-category-completions-files, todo-completion-ignore-case)
12931 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12932 (todo-done-separator-string, todo-done-string)
12933 (todo-files-function, todo-filter-done-items, todo-filter-files)
12934 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12935 (todo-initial-category, todo-initial-file, todo-item-mark)
12936 (todo-legacy-date-time-regexp, todo-mode-line-function)
12937 (todo-nondiary-marker, todo-number-prefix)
12938 (todo-print-buffer-function, todo-show-current-file)
12939 (todo-show-done-only, todo-show-first, todo-show-with-done)
12940 (todo-skip-archived-categories, todo-top-priorities-overrides)
12941 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12942 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12944 (todo-category-done, todo-date-pattern, todo-date-string-start)
12945 (todo-diary-items-buffer, todo-done-string-start)
12946 (todo-filtered-items-buffer, todo-item-start)
12947 (todo-month-abbrev-array, todo-month-name-array)
12948 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12949 (todo-top-priorities-buffer): New defconsts.
12950 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12951 (todo-categories-with-marks, todo-category-string-face)
12952 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12953 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12954 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12955 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12956 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12957 (todo-font-lock-keywords, todo-global-current-todo-file)
12958 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12959 (todo-insertion-commands-args)
12960 (todo-insertion-commands-args-genlist)
12961 (todo-insertion-commands-names, todo-insertion-map)
12962 (todo-key-bindings-t, todo-key-bindings-t+a)
12963 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12964 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12965 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12966 (todo-visited): New variables.
12968 2013-06-21 Glenn Morris <rgm@gnu.org>
12970 * play/cookie1.el (cookie-apropos): Add optional display argument.
12971 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12972 (psychoanalyze-pinhead): Use cookie-doctor.
12974 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12976 * emacs-lisp/package.el (tar-get-file-descriptor)
12977 (tar--extract): Declare.
12979 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12981 Extend flymake's warning predicate to be a function (bug#14217).
12982 * progmodes/flymake.el (flymake-warning-predicate): New.
12983 (flymake-parse-line): Use it.
12984 (flymake-warning-re): Make obsolete alias to
12985 `flymake-warning-predicate'.
12987 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12989 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12990 (package-obsolete-list): Remove.
12991 (package-activate): Remove min-version argument. Add `force' argument.
12992 Adjust to new package-alist format.
12993 (package-mark-obsolete): Remove.
12994 (package-unpack): Force reload of the package's autoloads.
12995 (package-installed-p): Check builtins if the installed package is not
12997 (package-initialize): Don't reset package-obsolete-list.
12998 Don't specify which package version to activate.
12999 (package-process-define-package, describe-package-1)
13000 (package-menu--generate): Adjust to new package-alist format.
13002 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13004 * allout-widgets.el (allout-widgets-mode-off)
13005 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13006 (allout-widgets-post-command-business)
13007 (allout-widgets-after-copy-or-kill-function)
13008 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13009 (allout-decorate-item-and-context)
13010 (allout-graphics-modification-handler): Fix typos in docstrings.
13011 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13013 * cmuscheme.el (scheme-start-file): Doc fix.
13014 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13015 (scheme-input-filter): Use `string-match-p'.
13017 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13019 * dired-x.el: Use Dired consistently in docstrings.
13021 * dired.el: Use Dired consistently in docstrings.
13022 (dired-readin, dired-mode): Use `setq-local'.
13023 (dired-switches-alist): Make defvar-local.
13024 (dired-buffers-for-dir): Use `zerop'.
13025 (dired-safe-switches-p, dired-switches-escape-p)
13026 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13027 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13028 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13029 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13030 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13031 (dired-toggle-marks, dired-mark-files-containing-regexp)
13032 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13033 (dired-flag-auto-save-files, dired-flag-backup-files):
13034 Use `looking-at-p'.
13035 (dired-mark-files-regexp, dired-build-subdir-alist):
13036 Use `string-match-p', `looking-at-p'.
13038 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13039 (direct-print-region-helper): Use `string-match-p'.
13041 2013-06-21 Leo Liu <sdl.web@gmail.com>
13043 * comint.el (comint-redirect-results-list-from-process):
13046 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13048 * net/eww.el (eww-update-header-line-format): Quote % characters.
13050 2013-06-21 Glenn Morris <rgm@gnu.org>
13052 * play/cookie1.el (cookie): New custom group.
13053 (cookie-file): New option.
13054 (cookie-check-file): New function.
13055 (cookie): Make it interactive. Make start and end messages optional.
13056 Interactively, display the result. Default to cookie-file.
13057 (cookie-insert): Default to cookie-file.
13058 (cookie-snarf): Make start and end messages optional.
13059 Default to cookie-file. Use with-temp-buffer.
13060 (cookie-read): Rename from read-cookie.
13061 Make start and end messages optional. Default to cookie-file.
13062 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13063 Do not autoload it.
13064 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13065 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13067 2013-06-21 Leo Liu <sdl.web@gmail.com>
13069 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13071 2013-06-21 Glenn Morris <rgm@gnu.org>
13073 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13075 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13076 Daniel Hackney <dan@haxney.org>
13078 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13079 Consolidate the single-file vs tarball code.
13080 (package-desc-suffix): New function.
13081 (package-desc-full-name): Don't bother inlining it.
13082 (package-load-descriptor): Return the new package-desc.
13083 (package-mark-obsolete): Remove unused arg `package'.
13084 (package-unpack): Make it work for single files as well.
13085 Make it update package-alist.
13086 (package--make-autoloads-and-stuff): Rename from
13087 package--make-autoloads-and-compile. Don't compile any more.
13088 (package--compile): New function.
13089 (package-generate-description-file): New function, extracted from
13090 package-unpack-single.
13091 (package-unpack-single): Remove.
13092 (package--with-work-buffer): Add indentation and debugging info.
13093 (package-download-single): Remove.
13094 (package-install-from-archive): Rename from package-download-tar, make
13095 it take a pkg-desc, and make it work for single files as well.
13096 (package-download-transaction): Simplify.
13097 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13098 external tar program.
13099 (package-install-from-buffer): Remove `pkg-desc' argument.
13100 Use package-tar-file-info for tar-mode buffers.
13101 (package-install-file): Simplify accordingly.
13102 (package-archive-base): Change to take a pkg-desc.
13103 * tar-mode.el (tar--check-descriptor): New function, extracted from
13104 tar-get-descriptor.
13105 (tar-get-descriptor): Use it.
13106 (tar-get-file-descriptor): New function.
13107 (tar--extract): New function, extracted from tar-extract.
13108 (tar--extract): Use it.
13109 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13110 case the summary uses non-ascii. Adjust to new calling convention of
13111 package-tar-file-info.
13113 2013-06-21 Leo Liu <sdl.web@gmail.com>
13115 * comint.el (comint-redirect-results-list-from-process):
13116 Fix random delay. (Bug#14681)
13118 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13120 * profiler.el (profiler-format-number): Use log, not log10.
13122 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13124 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13126 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13128 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13129 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13131 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13132 (AUTOGENEL): ... here.
13133 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13134 (cl--defsubst-expand): Use it.
13136 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13138 * subr.el (log10): Move here from C code, and declare as obsolete.
13139 All uses of (log10 X) replaced with (log X 10).
13141 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13143 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13144 Declare with `defvar-local'.
13145 (tabulated-list-use-header-line, tabulated-list-entries)
13146 (tabulated-list-padding, tabulated-list-printer)
13147 (tabulated-list-sort-key): Declare with `defvar-local'.
13148 (tabulated-list-init-header, tabulated-list-print-fake-header):
13151 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13153 * arc-mode.el (archive-mode): Add `archive-write-file' to
13154 `write-contents-functions' also for remote files. (Bug#14652)
13156 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13158 * cus-edit.el (custom-commands): Fix typos.
13159 (custom-display): Fix tooltip text.
13160 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13161 Fix typos in docstrings.
13162 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13163 (custom-unlispify-menu-entry, custom-magic-value-create)
13164 (custom-add-see-also, custom-group-value-create): Use ?\s.
13165 (custom-guess-type, customize-apropos, editable-field)
13166 (custom-face-value-create): Use `string-match-p'.
13167 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13169 * custom.el (custom-load-symbol): Use `string-match-p'.
13171 * ansi-color.el: Convert to lexical binding.
13172 (ansi-colors): Fix URL.
13173 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13174 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13175 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13177 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13179 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13181 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13183 2013-06-19 Tom Tromey <tromey@redhat.com>
13185 * net/eww.el (eww-top-url): Remove.
13186 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13187 (eww-render): Set new variables. Don't set eww-top-url.
13188 (eww-handle-link): Handle "prev", "home", and "contents".
13189 Downcase the rel text.
13190 (eww-top-url): Choose best top URL.
13192 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13194 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13195 relying in widget.el. Using widget.el leads to too many
13196 user interface inconsistencies.
13197 (eww-self-insert): Implement entering commands in text fields.
13198 (eww-process-text-input): New function to make text input field editing
13200 (eww-submit): Rewrite to use the new-style form methods.
13201 (eww-select-display): Display the correct selected item.
13202 (eww-change-select): Implement changing the select value.
13203 (eww-toggle-checkbox): Implement radio/checkboxes.
13204 (eww-update-field): Fix compilation error.
13205 (eww-tag-textarea): Implement <textarea>.
13207 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13208 we don't shadow mode-specific bindings.
13210 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13213 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13215 2013-06-19 Glenn Morris <rgm@gnu.org>
13217 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13219 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13221 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13224 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13226 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228 * net/browse-url.el (browse-url-browser-function):
13229 `eww-browse-url' has the right calling signature, `eww' does not.
13231 2013-06-19 Glenn Morris <rgm@gnu.org>
13233 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13234 Only eval autoloaded macros.
13235 (byte-compile-autoload): Only give the macro warning for macros.
13237 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13238 (ps-underlined-faces): Declare.
13240 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13241 (speedbar-add-supported-extension): Declare.
13243 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13244 Don't include a date stamp in the header of the generated file;
13245 it leads to needless differences between output files.
13247 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13249 * net/secrets.el (secrets-struct-secret-content-type):
13250 Replace check of introspection data by a test call of "CreateItem".
13251 Some servers do not offer introspection.
13253 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13255 * electric.el (electric-pair-mode): Improve interaction with
13256 electric-layout-mode.
13257 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13258 (electric-pair-syntax): Use text-mode-syntax-table in comments
13260 (electric-pair--insert): New function.
13261 (electric-pair-post-self-insert-function): Use it and
13262 electric--after-char-pos.
13264 2013-06-19 Leo Liu <sdl.web@gmail.com>
13266 * progmodes/octave.el (octave-help): Fix regexp.
13268 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13270 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13271 (shr-table-horizontal-line): Allow nil as a value, and change the
13273 (shr-insert-table-ruler): Respect the nil value.
13275 2013-06-18 Tom Tromey <tromey@barimba>
13277 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13279 (eww-open-file): New defun.
13280 (eww-render): Initialize new variables.
13281 (eww-display-html): Handle "link" and "a".
13282 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13283 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13284 (eww-back-url): Rename from eww-previous-url.
13285 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13288 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13290 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13291 Distinguish ternary operator tokens from slash symbol and slash
13294 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13296 Convert symbol prettification into minor mode and global minor mode.
13298 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13299 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13300 (prettify-symbols--keywords): Rename from
13301 `prog-prettify-symbols-alist' and make a local defvar.
13302 (prettify-symbols--compose-symbol): Rename from
13303 `prog--prettify-font-lock-compose-symbol'.
13304 (prettify-symbols--make-keywords): Rename from
13305 `prog-prettify-font-lock-symbols-keywords' and simplify.
13306 (prog-prettify-install): Remove.
13307 (prettify-symbols-mode): New minor mode, based on
13308 `prog-prettify-install'.
13309 (turn-on-prettify-symbols-mode): New function.
13310 (global-prettify-symbols-mode): New globalized minor mode.
13312 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13313 * progmodes/cfengine.el (cfengine3-mode):
13314 * progmodes/perl-mode.el (perl-mode): Don't call
13315 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13317 2013-06-18 Juri Linkov <juri@jurta.org>
13319 * files-x.el (modify-file-local-variable-message): New function.
13320 (modify-file-local-variable)
13321 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13322 and call `modify-file-local-variable-message' when it's non-nil.
13323 (add-file-local-variable, delete-file-local-variable)
13324 (add-file-local-variable-prop-line)
13325 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13326 and use it. (Bug#9820)
13328 2013-06-18 Juri Linkov <juri@jurta.org>
13330 * emulation/vi.el (vi-shell-op):
13331 * emulation/vip.el (vip-execute-com, ex-command):
13332 * emulation/viper-cmd.el (viper-exec-bang):
13333 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13334 the call of `shell-command-on-region'. (Bug#14637)
13336 * simple.el (shell-command-on-region): Doc fix.
13338 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13340 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13343 2013-06-18 Glenn Morris <rgm@gnu.org>
13345 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13347 * newcomment.el (comment-search-forward, comment-search-backward):
13348 Doc fix. (Bug#14376)
13350 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13352 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13353 (buffer-face-mode-invoke): Doc fix.
13355 2013-06-18 Matthias Meulien <orontee@gmail.com>
13357 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13358 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13360 2013-06-18 Glenn Morris <rgm@gnu.org>
13362 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13363 Replace obsolete function generic-make-keywords with its expansion.
13365 * progmodes/python.el (ffap-alist): Declare.
13367 * textmodes/reftex.el (bibtex-mode-map): Declare.
13369 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13371 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13372 (package-unpack, package-unpack-single): Return the pkg-dir.
13373 (package-download-transaction): Use it to update package-alist.
13375 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13377 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13380 2013-06-17 Juri Linkov <juri@jurta.org>
13382 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13384 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13386 * emacs-lisp/package.el (package-load-descriptor):
13387 Remove `with-syntax-table' call, `read' doesn't need it.
13388 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13390 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13392 * startup.el (command-line): Expand package name returned by
13393 `package--description-file' (bug#14639).
13395 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13397 * emacs-lisp/package.el (package-load-descriptor): Do not call
13398 `emacs-lisp-mode', just use its syntax table.
13400 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13402 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13403 `font-lock-extra-managed-props' if any prettifying keyword is added.
13404 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13405 (prog-mode): Use `setq-local'.
13407 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13409 * international/characters.el (standard-case-table): Set syntax of ?»
13410 and ?« to punctuation.
13412 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13414 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13415 Save relevant match data before calling `syntax-ppss' (bug#14595).
13417 2013-06-15 Juri Linkov <juri@jurta.org>
13419 * files-x.el (modify-file-local-variable-prop-line): Add local
13420 variables to the end of the existing comment on the first line.
13421 Use `file-auto-mode-skip' to skip interpreter magic line,
13422 and also skip XML declaration.
13424 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13426 * startup.el (package--builtin-versions): New var.
13427 (package-subdirectory-regexp): Remove.
13428 (package--description-file): Hard code its value instead.
13430 * emacs-lisp/package.el: Don't activate packages older than builtin.
13431 (package-obsolete-list): Rename from package-obsolete-alist, and make
13432 it into a simple list of package-desc.
13433 (package-strip-version): Remove.
13434 (package-built-in-p): Use package--builtin-versions.
13435 (package-mark-obsolete): Simplify.
13436 (package-process-define-package): Mark it obsolete if older than the
13438 (package-handle-response): Use line-end-position.
13439 (package-read-archive-contents, package--download-one-archive):
13441 (package--add-to-archive-contents): Skip if older than the builtin or
13443 (package-menu-describe-package): Fix last change.
13444 (package-list-unversioned): New var.
13445 (package-menu--generate): Use it.
13447 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13448 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13449 (autoload-builtin-package-versions): New variable.
13450 (autoload-generate-file-autoloads): Use them.
13451 Remove the list of autoloaded functions/macros from the
13452 (autoload...) comments.
13454 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13456 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13458 * simple.el (line-move-partial): Don't jump to the next screen
13459 line as soon as it becomes visible. Instead, continue enlarging
13460 the vscroll until the portion of a tall screen line that's left on
13461 display is about the height of the frame's default font.
13464 2013-06-15 Glenn Morris <rgm@gnu.org>
13466 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13467 compilation-error-regexp-alist void, or local while let-bound.
13469 * progmodes/make-mode.el (makefile-mode-syntax-table):
13470 Treat "=" as punctuation. (Bug#14614)
13472 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13474 * help-fns.el (describe-variable):
13475 Add extra line for permanent-local variables.
13477 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13479 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13480 Add export, import, library. (Bug#9164)
13481 (library): Set indent function.
13483 2013-06-14 Glenn Morris <rgm@gnu.org>
13485 * term/xterm.el (xterm--query):
13486 Stop after first matching handler. (Bug#14615)
13488 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13490 Add support for dired in saveplace.
13491 * dired.el (dired-initial-position-hook): New variable.
13492 (dired-initial-position): Call hook to place cursor position.
13493 * saveplace.el (save-place-to-alist): Add dired position.
13494 (save-place-dired-hook): New function.
13496 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13498 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13499 through a symbol rather than letrec.
13501 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13502 (package-desc): Add `dir' field.
13503 (package-desc-full-name): New function.
13504 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13505 (package-maybe-load-descriptor): Remove.
13506 (package-load-all-descriptors): Just call package-load-descriptor.
13507 (package--disabled-p): New function.
13508 (package-desc-vers, package-desc-doc): Remove aliases.
13509 (package--dir): Remove function.
13510 (package-activate): Check if a package is disabled.
13511 (package-process-define-package): New function, extracted from
13513 (define-package): Turn into a place holder.
13514 (package-unpack-single, package-tar-file-info):
13515 Use package--description-file.
13516 (package-compute-transaction): Use package--disabled-p.
13517 (package-download-transaction): Don't call
13518 package-maybe-load-descriptor since they're all loaded anyway.
13519 (package-install): Change argument to be a pkg-desc.
13520 (package-delete): Use a single pkg-desc argument.
13521 (describe-package-1): Use package-desc-dir instead of package--dir.
13522 Use package-desc property instead of package-symbol.
13523 (package-install-button-action): Adjust accordingly.
13524 (package--push): Rewrite.
13525 (package-menu--print-info): Adjust accordingly. Change the ID format
13527 (package-menu-describe-package, package-menu-get-status)
13528 (package-menu--find-upgrades, package-menu-mark-upgrades)
13529 (package-menu-execute, package-menu--name-predicate):
13530 Adjust accordingly.
13531 * startup.el (package--description-file): New function.
13532 (command-line): Use it.
13533 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13534 Use package-desc-version.
13536 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13537 (byte-compile-preprocess): Use it.
13538 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13539 can't quite recognize.
13540 (byte-compile-add-to-list): Remove.
13541 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13542 (cconv-closure-convert): Add assertion.
13544 * emacs-lisp/map-ynp.el: Use lexical-binding.
13545 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13546 Factor out some repeated code.
13548 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13550 * subr.el (with-eval-after-load): New macro.
13551 (eval-after-load): Allow form to be a function.
13552 take advantage of lexical-binding.
13553 (do-after-load-evaluation): Use dolist and adjust to new format.
13554 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13556 2013-06-13 Juri Linkov <juri@jurta.org>
13558 * replace.el (perform-replace): Display "symbol " and other search
13559 modes from `isearch-message-prefix' in the *Help* buffer.
13561 * isearch.el (isearch-query-replace): Add " symbol" and other
13562 possible search modes from `isearch-message-prefix' to the prompt.
13563 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13564 when reading a regexp to collect.
13566 2013-06-13 Juri Linkov <juri@jurta.org>
13568 * isearch.el (word-search-regexp): Match whitespace if the search
13569 string begins or ends in whitespace. The LAX arg is applied to
13570 both ends of the search string. Use `regexp-quote' and explicit
13571 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13572 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13573 boundaries are replaced with symbol boundaries, and characters
13574 between symbols match non-word non-symbol syntax. (Bug#14602)
13576 2013-06-13 Juri Linkov <juri@jurta.org>
13578 * isearch.el (isearch-del-char): Don't exceed the length of
13579 `isearch-string' by the prefix arg. (Bug#14563)
13581 2013-06-13 Juri Linkov <juri@jurta.org>
13583 * isearch.el (isearch-yank-word, isearch-yank-line)
13584 (isearch-char-by-name, isearch-quote-char)
13585 (isearch-printing-char, isearch-process-search-char):
13586 Add optional count prefix arg. (Bug#14563)
13588 * international/isearch-x.el
13589 (isearch-process-search-multibyte-characters):
13590 Add optional count prefix arg.
13592 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13594 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13595 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13598 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13600 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13602 2013-06-13 Glenn Morris <rgm@gnu.org>
13604 * startup.el (tty-handle-args):
13605 Don't just discard "--" and anything after. (Bug#14608)
13607 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13609 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13611 Implement changes in Secret Service API. Make it backward compatible.
13612 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13613 (secrets-create-item): Use it. Prefix properties with interface.
13615 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13617 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13618 (term-emulate-terminal): Respect term-suppress-hard-newline.
13620 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13622 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13623 Only remove a `thumb-file' overlay. (Bug#14548)
13625 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13627 * mail/reporter.el (reporter-submit-bug-report):
13628 Handle missing package-name. (Bug#14600)
13630 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13632 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13633 (reftex-citation-prompt, reftex-default-bibliography)
13634 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13635 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13636 (reftex-bib-sort-author, reftex-bib-sort-year)
13637 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13638 (reftex-extract-bib-entries-from-thebibliography)
13639 (reftex-get-bibkey-default, reftex-get-bib-names)
13640 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13641 (reftex-format-bib-entry, reftex-parse-bibitem)
13642 (reftex-format-bibitem, reftex-do-citation)
13643 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13644 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13645 (reftex-insert-bib-matches, reftex-format-citation)
13646 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13647 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13648 existing comments into docstrings.
13650 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13652 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13654 2013-06-12 Andreas Schwab <schwab@suse.de>
13656 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13657 for auto-save files.
13659 2013-06-12 Glenn Morris <rgm@gnu.org>
13661 * ido.el (ido-delete-ignored-files): Remove.
13662 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13663 Go back to calling ido-ignore-item-p directly.
13665 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13667 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13669 * ido.el (ido-delete-ignored-files): New function,
13670 split from ido-make-file-list-1.
13671 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13672 (ido-make-file-list-1): Use ido-delete-ignored-files.
13674 2013-06-12 Leo Liu <sdl.web@gmail.com>
13676 * progmodes/octave.el (inferior-octave-startup)
13677 (inferior-octave-completion-table)
13678 (inferior-octave-track-window-width-change)
13679 (octave-eldoc-function-signatures, octave-help)
13680 (octave-find-definition): Use single quoted strings.
13681 (inferior-octave-startup-args): Change default value.
13682 (inferior-octave-startup): Do not hard code "-i" and
13683 "--no-line-editing".
13684 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13685 (inferior-octave-directory-tracker): Use it.
13686 (octave-goto-function-definition): Robustify.
13687 (octave-help): Support highlighting operators in 'See also'.
13688 (octave-find-definition): Find subfunctions only in Octave mode.
13690 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13692 * help-fns.el (help-fns--compiler-macro): If the handler function is
13693 named, then put a link to it.
13694 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13695 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13696 (cl-typep): Use it.
13697 (cl-eval-when): Simplify debug spec.
13698 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13699 compiler-macro function instead of setting `compiler-macro-file'.
13701 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13703 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13704 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13706 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13707 Daniel Hackney <dan@haxney.org>
13709 First part of Daniel Hackney's patch to package.el.
13710 * emacs-lisp/package.el: Use defstruct.
13711 (package-desc): New, main struct.
13712 (package--bi-desc, package--ac-desc): New structs, used to describe the
13713 format in external files.
13714 (package-desc-vers): Replace with package-desc-version accessor.
13715 (package-desc-doc): Replace with package-desc-summary accessor.
13716 (package-activate-1): Remove `package' arg since the pkg-vec now
13718 (define-package): Use package-desc-from-define.
13719 (package-unpack-single): Change file-name arg to be a symbol.
13720 (package--add-to-archive-contents): Use package-desc-create and new
13721 accessor functions to package--ac-desc.
13722 (package-buffer-info, package-tar-file-info): Return a package-desc.
13723 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13724 arg to be a package-desc.
13725 (package-install-file): Adjust accordingly. Use \' to match EOS.
13726 (package--from-builtin): New function.
13727 (describe-package-1, package-menu--generate): Use it.
13728 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13729 (package-generate-autoloads): Idem and return the name of the file.
13730 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13731 Change pkg-info arg to be a package-desc.
13732 Use package-make-ac-desc.
13733 (package-upload-file): Use \' to match EOS.
13734 * finder.el (finder-compile-keywords): Use package-make-builtin.
13736 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13738 * vc/vc.el (vc-deduce-fileset): Change error message.
13739 (vc-read-backend): New function.
13740 (vc-next-action): Use it.
13742 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13744 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13745 (prolog-font-lock-keywords): Use regexp-opt instead.
13746 Don't manually highlight strings.
13747 (prolog-mode-variables): Simplify comment-start-skip.
13748 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13750 * emacs-lisp/generic.el (generic--normalise-comments)
13751 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13752 (generic-mode-set-comments): Use them.
13753 (generic-bracket-support): Use setq-local.
13754 (generic-make-keywords-list): Declare obsolete.
13756 2013-06-11 Glenn Morris <rgm@gnu.org>
13758 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13759 Prettify after setting font-lock-defaults. (Bug#14574)
13761 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13763 * replace.el (query-replace, occur-read-regexp-defaults-function)
13765 * subr.el (declare-function, number-sequence, local-set-key)
13766 (substitute-key-definition, locate-user-emacs-file)
13767 (with-silent-modifications, split-string, eval-after-load):
13768 Fix typos, remove unneeded backslashes and reflow some docstrings.
13770 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13772 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13773 default for Elisp files.
13775 2013-06-11 Glenn Morris <rgm@gnu.org>
13777 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13778 although define-derived-mode was doing this anyway. (Bug#14583)
13780 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13782 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13783 Fix make-variable-buffer-local call to refer to the correct variable.
13785 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13787 * eshell/em-term.el (eshell-visual-commands)
13788 (eshell-visual-subcommands, eshell-visual-options):
13789 Add summary line to docstrings. Add cross-references.
13791 2013-06-10 Glenn Morris <rgm@gnu.org>
13793 * epa.el (epa-read-file-name): New function. (Bug#14510)
13794 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13796 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13798 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13799 output redirection to be ignored with visual commands.
13801 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13803 * eshell/em-term.el (eshell-visual-command-p): New function.
13804 (eshell-term-initialize): Move long lambda to separate function
13805 eshell-visual-command-p.
13806 * eshell/em-dirs.el (eshell-dirs-initialize):
13807 * eshell/em-script.el (eshell-script-initialize):
13808 Add missing #' to lambda.
13810 2013-06-08 Leo Liu <sdl.web@gmail.com>
13812 * progmodes/octave.el (octave-add-log-current-defun): New function.
13813 (octave-mode): Set add-log-current-defun-function.
13814 (octave-goto-function-definition): Do not move point if not found.
13815 (octave-find-definition): Enhance to try subfunctions first.
13817 2013-06-08 Glenn Morris <rgm@gnu.org>
13819 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13820 (byte-compile-backward-char, byte-compile-backward-word):
13821 Improve previous change, to handle non-explicit nil.
13823 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13825 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13826 (smie--opener/closer-at-point): New function.
13827 (smie--matching-block-data): Use it. Don't match from right after an
13828 opener or right before a closer. Obey smie-blink-matching-inners.
13829 Don't signal a mismatch for repeated inners like "switch..case..case".
13831 2013-06-07 Leo Liu <sdl.web@gmail.com>
13833 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13835 (octave-function-header-regexp): Fix. (Bug#14570)
13836 (octave-help-mode-finish-hook, octave-help-mode-finish):
13837 Remove. Just use temp-buffer-show-hook.
13839 * newcomment.el (comment-search-backward): Revert last change.
13842 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13844 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13846 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13847 through xargs, to avoid failure due to MS-Windows limitations on
13848 command-line length.
13850 2013-06-06 Glenn Morris <rgm@gnu.org>
13852 * font-lock.el (lisp-font-lock-keywords-2):
13853 Treat user-error like error.
13855 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13856 (byte-compile-backward-char, byte-compile-backward-word):
13857 Handle explicit nil arguments. (Bug#14565)
13859 2013-06-05 Alan Mackenzie <acm@muc.de>
13861 * isearch.el (isearch-allow-prefix): New user option.
13862 (isearch-other-meta-char): Don't exit isearch when a prefix
13863 argument is typed whilst `isearch-allow-prefix' is non-nil.
13866 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13868 * autorevert.el (auto-revert-notify-handler): Use memq.
13869 Hide assertion failure.
13871 * skeleton.el: Use cl-lib.
13872 (skeleton-further-elements): Use defvar-local.
13873 (skeleton-insert): Use cl-progv.
13875 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13877 * progmodes/prog-mode.el (prog-prettify-symbols)
13878 (prog-prettify-install): Update docstrings.
13880 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13882 * simple.el: Move all the prog-mode code to prog-mode.el.
13883 * progmodes/prog-mode.el: New file.
13884 * loadup.el: Add prog-mode.el.
13886 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13888 * simple.el (prog-prettify-symbols): Add version.
13889 (prog-prettify-install): Add convenience function to prettify symbols.
13891 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13892 (perl--augmented-font-lock-keywords-1)
13893 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13894 variables and use it.
13896 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13897 (cfengine3-mode): Remove unneeded variable and use it.
13899 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13900 (lisp--augmented-font-lock-keywords-1)
13901 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13902 Remove unneeded variables and use it.
13904 2013-06-05 João Távora <joaotavora@gmail.com>
13906 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13907 to point when opening the connection. (Bug#14380)
13909 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13911 * subr.el (load-history-regexp, load-history-filename-element)
13912 (eval-after-load, after-load-functions, do-after-load-evaluation)
13913 (eval-next-after-load, display-delayed-warnings)
13914 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13915 definition of save-match-data.
13916 (overriding-local-map): Remove accidental obsolescence declaration.
13918 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13920 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13922 Generalize symbol prettify support to prog-mode and implement it
13923 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13924 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13925 (prog--prettify-font-lock-compose-symbol)
13926 (prog-prettify-font-lock-symbols-keywords): New variables and
13927 functions to support symbol prettification.
13928 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13929 (lisp--augmented-font-lock-keywords-1)
13930 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13931 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13932 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13933 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13934 Implement prettify of -> => :: strings.
13935 * progmodes/perl-mode.el (perl-prettify-symbols)
13936 (perl--font-lock-compose-symbol)
13937 (perl--font-lock-symbols-keywords): Move to prog-mode.
13938 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13939 (perl-font-lock-keywords-1)
13940 (perl-font-lock-keywords-2): Remove explicit prettify support.
13941 (perl--augmented-font-lock-keywords)
13942 (perl--augmented-font-lock-keywords-1)
13943 (perl--augmented-font-lock-keywords-2, perl-mode):
13944 Implement prettify support.
13946 2013-06-05 Leo Liu <sdl.web@gmail.com>
13948 Re-implement SMIE matching block highlight using
13949 show-paren-data-function. (Bug#14395)
13950 * emacs-lisp/smie.el (smie-matching-block-highlight)
13951 (smie--highlight-matching-block-overlay)
13952 (smie--highlight-matching-block-lastpos)
13953 (smie-highlight-matching-block)
13954 (smie-highlight-matching-block-mode): Remove.
13955 (smie--matching-block-data-cache): New variable.
13956 (smie--matching-block-data): New function.
13957 (smie-setup): Use smie--matching-block-data for
13958 show-paren-data-function.
13960 * progmodes/octave.el (octave-mode-menu): Fix.
13961 (octave-find-definition): Skip garbage lines.
13963 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13965 Fix compilation error with simultaneous dynamic+lexical scoping.
13966 Add warning when a defvar appears after the first let-binding.
13967 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13968 (byte-compile-close-variables): Initialize it.
13969 (byte-compile--declare-var): New function.
13970 (byte-compile-file-form-defvar)
13971 (byte-compile-file-form-define-abbrev-table)
13972 (byte-compile-file-form-custom-declare-variable): Use it.
13973 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13974 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13975 (byte-compile-bind): Handle dynamic bindings that shadow
13977 (byte-compile-unbind): Make arg non-optional.
13978 (byte-compile-let): Simplify.
13979 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13980 (cconv--analyse-function, cconv-analyse-form): Populate it.
13981 Protect byte-compile-bound-variables to limit the scope of defvars.
13982 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13983 Remove unneeded rule for `declare'.
13985 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13986 so as to avoid depending on cl-adjoin at run-time.
13987 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13989 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13990 (macroexp--warn-and-return): Use it.
13992 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13994 * subr.el: Convert to lexical binding.
13995 (overriding-local-map): Make obsolete.
13996 (add-to-list): Doc fix. Add compiler macro.
13997 (read-key): Swap values of local maps.
13999 2013-06-05 Leo Liu <sdl.web@gmail.com>
14001 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14003 2013-06-04 Leo Liu <sdl.web@gmail.com>
14005 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14006 (compilation-auto-jump): Suppress the "Mark set" message to give
14007 way to exit message.
14009 2013-06-04 Alan Mackenzie <acm@muc.de>
14011 Remove faulty optimisation from indentation calculation.
14012 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14013 search limit based on 2000 characters back from indent-point.
14015 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14017 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14019 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14021 * emacs-lisp/lisp.el: Use lexical-binding.
14022 (lisp--local-variables-1, lisp--local-variables): New functions.
14023 (lisp--local-variables-completion-table): New var.
14024 (lisp-completion-at-point): Use it complete let-bound vars.
14026 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14027 eagerly (bug#14422).
14029 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14031 * autorevert.el (auto-revert-notify-enabled)
14032 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14033 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14034 (auto-revert-notify-handler): Handle also gfilenotify.
14036 * subr.el (file-notify-handle-event): New defun. Replacing ...
14037 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14040 2013-06-03 Juri Linkov <juri@jurta.org>
14042 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14043 `M-s h .'. (Bug#14427)
14045 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14046 command `hi-lock-face-symbol-at-point'.
14047 (hi-lock-face-symbol-at-point): New command.
14048 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14049 (hi-lock-menu): Add `highlight-symbol-at-point'.
14050 (hi-lock-mode): Doc fix.
14052 * isearch.el (isearch-forward-symbol-at-point): New command.
14053 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14054 (isearch-highlight-regexp): Add a regexp which matches
14055 words/symbols for word/symbol mode.
14057 * subr.el (find-tag-default-bounds): New function with the body
14058 mostly moved from `find-tag-default'.
14059 (find-tag-default): Move most code to `find-tag-default-bounds',
14060 call it and apply `buffer-substring-no-properties' afterwards.
14062 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14064 * eshell/em-term.el (eshell-term-initialize):
14065 Use `cl-intersection' rather than `intersection'.
14067 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14069 * vc/log-view.el: Doc fix.
14070 (log-view-mode-map): Copy keymap from `special-mode-map'.
14072 2013-06-02 Eric Ludlam <zappo@gnu.org>
14074 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14075 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14076 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14077 (eieio-unbound, eieio-default-superclass)
14078 (eieio--define-field-accessors, method-static, method-before)
14079 (method-primary, method-after, method-num-lists)
14080 (method-generic-before, method-generic-primary)
14081 (method-generic-after, method-num-slots)
14082 (eieio-specialized-key-to-generic-key)
14083 (eieio--check-type, class-v, class-p)
14084 (eieio-class-name, define-obsolete-function-alias)
14085 (eieio-class-parents-fast, eieio-class-children-fast)
14086 (same-class-fast-p, class-constructor, generic-p)
14087 (generic-primary-only-p, generic-primary-only-one-p)
14088 (class-option-assoc, class-option, eieio-object-p)
14089 (class-abstract-p, class-method-invocation-order)
14090 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14091 (eieio-class-un-autoload, eieio-defclass)
14092 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14093 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14094 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14095 (eieio-defgeneric-reset-generic-form)
14096 (eieio-defgeneric-form-primary-only)
14097 (eieio-defgeneric-reset-generic-form-primary-only)
14098 (eieio-defgeneric-form-primary-only-one)
14099 (eieio-defgeneric-reset-generic-form-primary-only-one)
14100 (eieio-unbind-method-implementations)
14101 (eieio--defmethod, eieio--typep)
14102 (eieio-perform-slot-validation, eieio-validate-slot-value)
14103 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14104 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14105 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14106 (eieio-slot-name-index, eieio-class-slot-name-index)
14107 (eieio-set-defaults, eieio-initarg-to-attribute)
14108 (eieio-attribute-to-initarg, eieio-c3-candidate)
14109 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14110 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14111 (eieio-class-precedence-list, eieio-generic-call-methodname)
14112 (eieio-generic-call-arglst, eieio-generic-call-key)
14113 (eieio-generic-call-next-method-list)
14114 (eieio-pre-method-execution-functions, eieio-generic-call)
14115 (eieio-generic-call-primary-only, eieiomt-method-list)
14116 (eieiomt-optimizing-obarray, eieiomt-install)
14117 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14118 (eieio-generic-form, eieio-defmethod, make-obsolete)
14119 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14120 (defclass): Remove `eval-and-compile' from macro.
14121 (call-next-method, shared-initialize): Instead of using
14122 `scoped-class' variable, use new eieio--scoped-class, and
14123 eieio--with-scoped-class.
14124 (initialize-instance): Rename local variable 'scoped-class' to
14125 'this-class' to remove ambiguitity from old global.
14127 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14129 (eieio--scoped-class-stack): New variable.
14130 (eieio--scoped-class): New fcn.
14131 (eieio--with-scoped-class): New scoping macro.
14132 (eieio-defclass): Use pushnew instead of add-to-list.
14133 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14134 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14135 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14136 `scoped-class' variable, use new eieio--scoped-class, and
14137 eieio--with-scoped-class.
14139 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14141 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14143 * eshell/esh-ext.el (eshell-external-command): Pass args to
14144 `eshell-find-interpreter'.
14145 (eshell-find-interpreter): Add new second parameter ARGS.
14147 * eshell/em-script.el (eshell-script-initialize): Add second arg
14148 to the function added as MATCH to `eshell-interpreter-alist'.
14150 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14151 the function added as MATCH to `eshell-interpreter-alist'.
14153 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14154 (eshell-visual-options): New defcustom.
14155 (eshell-escape-control-x): Adapt docstring.
14156 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14157 `eshell-visual-options' in addition to `eshell-visual-commands'.
14158 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14160 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14162 * progmodes/python.el (python-indent-block-enders): Add break,
14163 continue and raise keywords.
14165 2013-06-01 Glenn Morris <rgm@gnu.org>
14167 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14169 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14170 * progmodes/cc-cmds.el (delete-forward-p):
14171 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14172 * progmodes/cc-engine.el (buffer-syntactic-context):
14173 * progmodes/cc-fonts.el (face-property-instance):
14174 * progmodes/cc-mode.el (set-keymap-parents):
14175 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14176 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14177 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14178 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14179 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14181 * progmodes/cc-vars.el (other): Emacs has this widget since
14182 at least 21.1, so don't (re)define it.
14184 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14185 Replace the obsolete alias pcomplete-arg-quote-list.
14187 2013-06-01 Leo Liu <sdl.web@gmail.com>
14189 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14190 punctuation syntax.
14191 (inferior-octave-minimal-columns)
14192 (inferior-octave-last-column-width): New variables.
14193 (inferior-octave-track-window-width-change): New function.
14194 (inferior-octave-mode): Adjust column width so that Octave output,
14195 for example from 'ls', can fit into the window nicely.
14197 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14199 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14200 Highlight expansions inside regexp literals.
14202 2013-05-31 Glenn Morris <rgm@gnu.org>
14204 * obsolete/sym-comp.el (symbol-complete):
14205 Replace obsolete completion-annotate-function.
14207 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14209 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14211 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14212 New function, checks if point is inside a literal that allows
14213 expression expansion.
14214 (ruby-syntax-propertize-expansion): Use it.
14215 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14218 2013-05-30 Juri Linkov <juri@jurta.org>
14220 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14222 (isearch-invisible): New variable.
14223 (isearch-forward): Doc fix.
14224 (isearch-mode): Set `isearch-invisible'
14225 to the value of `search-invisible'.
14226 (isearch-toggle-case-fold): Doc fix.
14227 (isearch-toggle-invisible): New command.
14228 (isearch-query-replace): Let-bind `search-invisible'
14229 to the value of `isearch-invisible'.
14230 (isearch-search): Use `isearch-invisible' instead of
14231 `search-invisible'. Let-bind `search-invisible'
14232 to the value of `isearch-invisible'. (Bug#11378)
14234 2013-05-30 Juri Linkov <juri@jurta.org>
14236 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14237 call when `query-flag' is nil and `search-invisible' is non-nil.
14240 2013-05-30 Glenn Morris <rgm@gnu.org>
14242 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14244 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14245 (cc-require): Suppress spurious "noruntime" warnings.
14246 (cc-require-when-compile): Use fboundp, for sake of compiler.
14248 * progmodes/cc-mode.el: Move load of cc-vars before that of
14249 cc-langs (which in turn loads cc-vars), to quieten compiler.
14251 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14253 * paren.el: Simplify the code.
14254 (show-paren-mode): Always start the timer.
14255 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14256 (show-paren--overlay, show-paren--overlay-1): Rename from
14257 show-paren-overlay and show-paren-overlay-1, and initialize to an
14258 overlay rather than to nil.
14259 (show-paren-function): Misc cleanup and simplifications.
14261 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14263 * paren.el (show-paren-data-function): New hook.
14264 (show-paren--default): New function, extracted from show-paren-function.
14265 (show-paren-function): Use show-paren-data-function.
14267 2013-05-30 Glenn Morris <rgm@gnu.org>
14269 * ielm.el (ielm-map, ielm-complete-symbol):
14270 Use completion-at-point rather than obsolete functions.
14271 (inferior-emacs-lisp-mode): Doc fix.
14272 Set completion-at-point-functions, rather than
14273 comint-dynamic-complete-functions.
14275 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14276 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14277 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14279 * image.el (image-animated-p): Tweak definition.
14281 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14282 (rlogin-process-connection-type): Tweak default. Add set-after.
14283 (rlogin-host): Doc fix.
14284 (rlogin): Tweak prompt.
14285 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14287 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14288 * progmodes/tcl.el (inferior-tcl-mode-map):
14289 Use completion-at-point rather than obsolete alias.
14291 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14293 * minibuffer.el (read-file-name-completion-ignore-case):
14294 Move before completion--in-region, for eager macro expansion.
14296 2013-05-29 Juri Linkov <juri@jurta.org>
14298 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14299 for total count of matching lines. Add `global-matches' for total
14300 count of matches. Rename `matches' to `lines' for count of
14301 matching lines. Add `matches' for count of matches.
14302 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14303 to `prev-line' for line number of prev match endpt.
14304 Increment `matches' for every match. Print the number of
14305 matching lines in the header.
14306 (occur-context-lines): Rename `lines' to `curr-line'.
14307 Rename `prev-lines' to `prev-line'. (Bug#14017)
14309 2013-05-29 Juri Linkov <juri@jurta.org>
14311 * replace.el (perform-replace): Add `skip-read-only-count',
14312 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14313 Increment them for corresponding conditions and report the number
14314 of skipped occurrences in the final message. (Bug#11746)
14315 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14316 (replace-string, replace-regexp): Doc fix.
14318 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14320 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14322 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14323 prog-mode-map (bug#14504).
14325 2013-05-29 Leo Liu <sdl.web@gmail.com>
14327 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14328 (octave-help): Small simplification.
14330 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14331 off the highlight first.
14333 2013-05-29 Glenn Morris <rgm@gnu.org>
14335 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14336 Handle idlwave-last-system-routine-info-cons-cell being nil.
14338 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14339 (idlwave-write-paths): Simplify via with-temp-buffer.
14341 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14342 * emulation/cua-rect.el: Also load cua-base at run time.
14344 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14345 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14346 (cperl-imenu-on-info): Require imenu.
14348 2013-05-28 Alan Mackenzie <acm@muc.de>
14350 Handle "capitalised keywords" correctly.
14351 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14353 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14355 * eshell/em-unix.el: Add -r option to cp.
14357 2013-05-28 Glenn Morris <rgm@gnu.org>
14359 * vc/vc-arch.el (vc-exec-after): Declare.
14360 (vc-switches): Autoload.
14361 * vc/vc-bzr.el: No need to require vc when compiling.
14362 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14363 (vc-resynch-buffer, vc-dir-refresh): Declare.
14364 (vc-setup-buffer, vc-switches): Autoload.
14365 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14366 (vc-resynch-buffer): Declare.
14367 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14368 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14369 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14370 (grep-read-regexp, grep-read-files, grep-expand-template)
14371 (vc-dir-refresh): Declare.
14372 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14373 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14374 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14375 * vc/vc-mtn.el (vc-exec-after): Declare.
14376 (vc-switches): Autoload.
14377 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14378 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14379 (vc-file-tree-walk): Declare.
14380 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14381 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14382 (vc-tag-precondition, vc-rename-master): Autoload.
14383 * vc/vc-svn.el (vc-exec-after): Declare.
14384 (vc-switches, vc-setup-buffer): Autoload.
14385 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14387 (vc-resynch-buffer): Declare.
14389 * obsolete/fast-lock.el (byte-compile-warnings):
14390 Don't warn about obsolete features in this obsolete file.
14392 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14393 Move definition before use.
14395 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14396 (dun-unix-verbs): Remove dun-zippy.
14397 (dun-zippy): Remove function.
14399 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14401 2013-05-27 Juri Linkov <juri@jurta.org>
14403 * replace.el (replace-search): New function with code moved out
14404 from `perform-replace'.
14405 (replace-highlight, replace-dehighlight): Move function definitions
14406 up closer to `replace-search'. (Bug#11746)
14408 2013-05-27 Juri Linkov <juri@jurta.org>
14410 * replace.el (perform-replace): Ignore invisible matches.
14411 In addition to checking `query-replace-skip-read-only', also
14412 filter out matches by calling `run-hook-with-args-until-failure'
14413 on `isearch-filter-predicates', and also check `search-invisible'
14414 for t or call `isearch-range-invisible'.
14415 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14417 2013-05-27 Juri Linkov <juri@jurta.org>
14419 * isearch.el (isearch-filter-predicates): Rename from
14420 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14421 (isearch-message-prefix): Display text from the property
14422 `isearch-message-prefix' of the currently active filters.
14423 (isearch-search): Don't compare `isearch-filter-predicate' with
14424 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14425 on `isearch-filter-predicates'. Also check `search-invisible' for t
14426 or call `isearch-range-invisible'.
14427 (isearch-filter-visible): Make obsolete.
14428 (isearch-lazy-highlight-search):
14429 Call `run-hook-with-args-until-failure' on
14430 `isearch-filter-predicates' and use `isearch-range-invisible'.
14432 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14433 `isearch-filter-predicates' instead of `funcall'ing
14434 `isearch-filter-predicate'.
14435 (Info-mode): Set `Info-isearch-filter' to
14436 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14438 * dired-aux.el (dired-isearch-filter-predicate-orig):
14440 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14441 (dired-isearch-filenames-end): Add and remove
14442 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14443 instead of changing the value of `isearch-filter-predicate'.
14444 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14445 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14446 Put property `isearch-message-prefix' to "filename " on
14447 `dired-isearch-filter-filenames'.
14449 * wdired.el (wdired-change-to-wdired-mode):
14450 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14451 locally instead of changing `isearch-filter-predicate'.
14452 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14454 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14456 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14457 return the commit hash (Bug#14459). Also set the
14458 `vc-git-detached' property.
14459 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14460 (vc-git-mode-line-string): Use the same help-echo format whether
14461 in detached mode or not, because we know the actual revision now.
14462 When in detached mode, shorten the revision to 7 chars.
14464 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14466 * emacs-lisp/easy-mmode.el (define-minor-mode):
14467 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14468 mode hook and provide a docstring.
14470 2013-05-27 Alan Mackenzie <acm@muc.de>
14472 Remove spurious syntax-table text properties inserted by C-y.
14473 * progmodes/cc-mode.el (c-after-change): Also clear hard
14474 syntax-table property with value nil.
14476 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14478 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14479 when reading the events; the buffer layout shall not be changed.
14481 2013-05-27 Leo Liu <sdl.web@gmail.com>
14483 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14485 (inferior-octave-directory-tracker): Automatically re-sync
14487 (octave-help): Improve handling of 'See also'.
14489 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14491 * doc-view.el: Minor naming convention tweaks.
14492 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14494 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14495 even if there's no `display' property yet (bug#14435).
14497 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14499 * subr.el (unmsys--file-name): Rename from reveal-filename.
14501 * Makefile.in (custom-deps, finder-data, autoloads)
14502 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14503 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14504 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14506 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14508 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14509 error-completion on the first 2 args of condition-case (bug#14446).
14512 2013-05-25 Leo Liu <sdl.web@gmail.com>
14514 * comint.el (comint-previous-matching-input): Do not flood the
14515 *Messages* buffer with trivial messages.
14517 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14519 * progmodes/flymake.el (flymake-nop): Don't return a string.
14520 (flymake-set-at): Fix typo.
14522 * simple.el (read--expression): New function, extracted from
14523 eval-expression. Set completion-at-point-functions (bug#14465).
14524 (eval-expression, eval-minibuffer): Use it.
14526 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14528 * progmodes/flymake.el (flymake-save-buffer-in-file)
14529 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14530 (flymake-selected-frame, flymake-log, flymake-ins-after)
14531 (flymake-set-at, flymake-get-buildfile-from-cache)
14532 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14533 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14534 Refine the doc string.
14535 (flymake-get-file-name-mode-and-masks): Reformat.
14536 (flymake-get-real-file-name-function): Fix a minor bug.
14538 2013-05-24 Juri Linkov <juri@jurta.org>
14540 * progmodes/grep.el (grep-mode-font-lock-keywords):
14541 Support =linenumber= format used by git-grep for lines with
14542 function names. (Bug#13549)
14544 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14546 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14547 0 after a semi-colon; it works better for smie-auto-fill.
14548 (octave--indent-new-comment-line): New function.
14549 (octave-indent-new-comment-line): Use it (indirectly).
14550 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14551 modify comment-line-break-function.
14553 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14554 (smie-setup): Use add-function to set it.
14556 2013-05-24 Sam Steingold <sds@gnu.org>
14558 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14559 argument (before the `interactive' argument).
14561 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14563 * image-mode.el (image-mode-winprops): Add winprops to
14564 image-mode-winprops-alist before running
14565 image-mode-new-window-functions.
14566 * doc-view.el (doc-view-new-window-function): Don't delay
14567 doc-view-goto-page via timers (bug#14435).
14569 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14571 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14572 (doc-view-desktop-save-buffer): New function.
14573 (doc-view-restore-desktop-buffer): New function.
14574 (desktop-buffer-mode-handlers):
14575 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14577 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14578 `desktop-save-buffer' function.
14580 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14582 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14583 (tramp-gvfs-file-name-handler): Raise a user error when
14584 `tramp-gvfs-enabled' is nil.
14585 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14586 Do not raise a user error when loading package. (Bug#14447)
14588 * net/xesam.el: Move to obsolete/.
14590 2013-05-24 Glenn Morris <rgm@gnu.org>
14592 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14594 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14596 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14597 (Info-find-node, Man-getpage-in-background): Declare.
14599 * mail/unrmail.el (unrmail):
14600 Replace obsolete detect-coding-with-priority.
14602 * net/socks.el (socks-split-string): Use this rather than split-string.
14603 (socks-nslookup-host): Update for above change.
14604 (dynamic-choice, s5-dynamic-choice-match)
14605 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14606 Comment out unused code.
14608 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14609 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14610 (gud-tooltip-echo-area): Make obsolete.
14611 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14613 * progmodes/js.el (js--optimize-arglist): Declare.
14615 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14617 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14618 (ediff-window-C): Declare.
14620 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14621 Tweak requires to silence compiler.
14623 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14624 (he-search-string, he-tried-table, he-expand-list)
14625 (he-init-string, he-string-member, he-substitute-string)
14626 (he-reset-string): Declare.
14628 * obsolete/options.el (list-options): Use custom-variable-p,
14629 rather than obsolete alias.
14631 2013-05-23 Sam Steingold <sds@gnu.org>
14633 * simple.el (shell-command-on-region): Pass the `replace' argument
14634 down to `call-process-region' to comply with the doc as reported on
14635 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14637 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14639 * emacs-lisp/smie.el (smie-indent-forward-token)
14640 (smie-indent-backward-token): Handle string tokens (bug#14381).
14642 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14644 * ielm.el (ielm-menu): New menu.
14645 (inferior-emacs-lisp-mode): Set comment-start.
14647 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14649 * textmodes/reftex.el (reftex-ref-style-toggle):
14650 Fix deactivate action.
14652 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14653 Add cleveref macros.
14655 * textmodes/reftex-parse.el
14656 (reftex-locate-bibliography-files): Accept options for
14657 bibliography commands.
14658 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14659 Add addbibresource. Basic Biblatex support.
14661 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14663 * net/tramp-gvfs.el (top):
14664 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14665 when loading package. (Bug#14447)
14667 2013-05-23 Glenn Morris <rgm@gnu.org>
14669 * progmodes/js.el: No need to load comint when compiling.
14670 (ring-insert, comint-send-string, comint-send-input)
14671 (comint-last-input-end, ido-chop): Declare.
14673 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14674 * vc/ediff-mult.el: Adjust requires.
14675 (ediff-directories-internal, ediff-directory-revisions-internal)
14676 (ediff-patch-file-internal): Declare.
14677 * vc/ediff-ptch.el: Adjust requires.
14678 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14679 (ediff-find-file): Autoload.
14680 * vc/ediff-util.el: No need to load ediff when compiling.
14681 (ediff-regions-internal): Declare.
14682 * vc/ediff-wind.el: Adjust requires.
14683 (ediff-compute-toolbar-width): Define when compiling.
14684 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14685 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14686 (dired-get-filename, dired-get-marked-files)
14687 (ediff-last-dir-patch, ediff-patch-default-directory)
14688 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14689 (ediff-patch-buffer-internal): Declare.
14691 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14692 (ispell-process, ispell-buffer-local-words, lm-summary)
14693 (lm-section-start, lm-section-end): Declare.
14694 (checkdoc-ispell-init): Simplify.
14696 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14697 (he-string-member, he-reset-string, he-substitute-string): Declare.
14699 * eshell/em-ls.el: Adjust requires.
14700 (eshell-glob-regexp): Declare.
14701 * eshell/em-tramp.el: Adjust requires.
14702 (eshell-parse-command): Autoload.
14703 * eshell/em-xtra.el: Adjust requires.
14704 (eshell-parse-command): Autoload.
14705 * eshell/esh-ext.el: Adjust requires.
14706 (eshell-parse-command, eshell-close-handles): Autoload.
14707 * eshell/esh-io.el: Adjust requires.
14708 (eshell-output-filter): Autoload.
14709 * eshell/esh-util.el: No need to load tramp when compiling.
14710 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14712 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14713 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14714 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14715 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14716 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14717 * eshell/esh-opt.el, eshell/esh-proc.el:
14718 * eshell/esh-var.el: Adjust requires.
14719 * eshell/eshell.el: Do not require esh-util twice.
14720 (eshell-add-input-to-history): Declare.
14721 (eshell-command): Check history module is active before using it.
14723 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14725 2013-05-22 Leo Liu <sdl.web@gmail.com>
14727 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14729 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14731 * autorevert.el (auto-revert-notify-add-watch)
14732 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14733 it indicates changes in file modification time.
14735 2013-05-22 Glenn Morris <rgm@gnu.org>
14737 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14738 Always delete the autoloaded function from the noruntime and
14739 unresolved functions lists.
14741 * allout.el: No need to load epa, epg, overlay when compiling.
14742 (epg-context-set-passphrase-callback, epg-list-keys)
14743 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14744 (epg-key-user-id-list): Declare.
14746 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14747 (viper-set-parsing-style-toggling-macro)
14748 (viper-set-emacs-state-searchstyle-macros):
14749 Use called-interactively-p on Emacs.
14750 (viper-looking-back): Make it an obsolete alias. Update callers.
14751 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14752 Use looking-back rather than viper-looking-back.
14753 (viper-tmp-insert-at-eob, viper-enlarge-region)
14754 (viper-read-string-with-history, viper-register-to-point)
14755 (viper-append-to-register, viper-change-state-to-vi)
14756 (viper-backward-char-carefully, viper-forward-char-carefully)
14757 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14758 (viper-change-state-to-emacs): Declare.
14759 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14760 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14761 * emulation/viper-mous.el: Do not load viper-cmd.
14762 (viper-backward-char-carefully, viper-forward-char-carefully)
14763 (viper-forward-word, viper-adjust-window): Declare.
14765 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14767 * progmodes/idlw-help.el (idlwave-help-fontify):
14768 Use called-interactively-p.
14770 * term/w32console.el (w32-get-console-codepage)
14771 (w32-get-console-output-codepage): Declare.
14773 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14774 Remove unnecessary declarations.
14775 (dframe-message): Doc fix.
14777 * info.el (dframe-select-attached-frame, dframe-current-frame):
14780 * speedbar.el (speedbar-message): Make it an obsolete alias.
14781 Update all callers.
14782 (speedbar-with-attached-buffer)
14783 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14784 (speedbar-with-writable): Use backquote.
14785 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14786 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14787 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14788 rather than speedbar- aliases.
14789 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14790 (speedbar-make-specialized-keymap, speedbar-insert-button)
14791 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14792 (speedbar-do-function-pointer): Declare.
14793 (rmail-speedbar-button, rmail-speedbar-find-file)
14794 (rmail-speedbar-move-message):
14795 Use dframe-with-attached-buffer rather than speedbar- alias.
14796 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14797 (dframe-message, speedbar-make-specialized-keymap)
14798 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14799 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14800 (speedbar-insert-button, dframe-select-attached-frame)
14801 (dframe-maybee-jump-to-attached-frame)
14802 (speedbar-change-initial-expansion-list)
14803 (speedbar-previously-used-expansion-list-name): Declare.
14804 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14805 Use dframe-message, dframe-with-attached-buffer rather than
14807 (gud-sentinel): Silence compiler.
14808 * progmodes/vhdl-mode.el (speedbar-refresh)
14809 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14810 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14811 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14812 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14813 (speedbar-file-lists, speedbar-make-tag-line)
14814 (speedbar-line-directory, speedbar-goto-this-file)
14815 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14816 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14817 (speedbar-make-button, speedbar-reset-scanners)
14818 (speedbar-files-item-info, speedbar-line-text)
14819 (speedbar-find-file-in-frame, speedbar-set-timer)
14820 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14821 (speedbar-with-writable): Do not (re)define it.
14822 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14823 rather than speedbar- alias.
14825 2013-05-21 Leo Liu <sdl.web@gmail.com>
14827 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14829 (octave-mode): Tweak fill-nobreak-predicate.
14830 (inferior-octave-startup): Check process to avoid infinite loop.
14831 (inferior-octave): Pop to buffer first to show abornmal process
14834 2013-05-21 Glenn Morris <rgm@gnu.org>
14836 * printing.el (pr-menu-bar): Define when compiling.
14838 2013-05-21 Leo Liu <sdl.web@gmail.com>
14840 * progmodes/octave.el (octave-auto-fill): Remove.
14841 (octave-indent-new-comment-line): Improve.
14842 (octave-mode): Use auto fill mode through
14843 comment-line-break-function and fill-nobreak-predicate.
14844 (octave-goto-function-definition): Support DEFUN_DLD.
14845 (octave-beginning-of-defun): Small tweak.
14846 (octave-help): Show parent directory.
14848 2013-05-21 Glenn Morris <rgm@gnu.org>
14850 * files.el (dired-unmark):
14851 * progmodes/gud.el (gdb-input): Update declarations.
14853 * calculator.el (electric, ehelp): No need to load when compiling.
14854 (Electric-command-loop, electric-describe-mode): Declare.
14856 * doc-view.el (doc-view-current-converter-processes): Move before use.
14858 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14859 Move MODE-set-explicitly definition before use.
14861 * international/mule-diag.el (mule-diag):
14862 Don't use obsolete window-system-version.
14864 * mail/feedmail.el (smtpmail): No need to load when compiling.
14865 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14867 * mail/mail-utils.el (rfc822): No need to load when compiling.
14868 (rfc822-addresses): Autoload it.
14869 (mail-strip-quoted-names): Trivial simplification.
14871 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14872 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14874 * net/snmp-mode.el (tempo): Don't duplicate requires.
14876 * progmodes/prolog.el (info): No need to load when compiling.
14877 (comint): Require before shell requires it.
14878 (Info-goto-node): Autoload it.
14879 (Info-follow-nearest-node): Declare.
14880 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14882 * textmodes/artist.el (picture-mode-exit): Declare.
14884 * textmodes/reftex-parse.el (reftex-parse-from-file):
14885 Trivial rewrite so the compiler can parse it better.
14887 2013-05-20 Leo Liu <sdl.web@gmail.com>
14889 * progmodes/octave.el (octave-help-mode-map)
14890 (octave-help-mode-finish-hook): New variables.
14891 (octave-help-mode, octave-help-mode-finish): New functions.
14892 (octave-help): Use octave-help-mode.
14894 2013-05-20 Glenn Morris <rgm@gnu.org>
14896 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14898 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14900 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14901 start at point, so that expansion starting right after opening
14902 slash in a regexp is recognized.
14903 (ruby-syntax-before-regexp-re): New defvar, extracted from
14904 ruby-syntax-propertize-function. Since the value of this regexp
14905 is looked up at runtime now, we should be able to turn
14906 `ruby-syntax-methods-before-regexp' into a defcustom later.
14907 (ruby-syntax-propertize-function): Split regexp matching into two
14908 parts, for opening and closing slashes. That allows us to skip
14909 over string interpolations and support multiline regexps.
14910 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14911 for them, which calls `ruby-syntax-propertize-expansion'.
14912 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14913 call to `ruby-syntax-propertize-function'.
14914 (ruby-syntax-propertize-expansion): Extracted from
14915 `ruby-syntax-propertize-expansions'. Handles one expansion.
14916 (ruby-syntax-propertize-percent-literal): Leave point right after
14917 the percent symbol, so that the expression expansion rule can
14918 propertize the contents.
14919 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14921 (ruby-syntax-propertize-expansions): Remove.
14923 2013-05-18 Juri Linkov <juri@jurta.org>
14925 * man.el (Man-default-man-entry): Remove `-' from the end
14926 of the default value. (Bug#14400)
14928 2013-05-18 Glenn Morris <rgm@gnu.org>
14930 * comint.el (comint-password-prompt-regexp):
14931 Allow "password for XXX" where XXX contains colons (eg https://...).
14933 2013-05-18 Leo Liu <sdl.web@gmail.com>
14935 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14936 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14937 (octave-source-directories): Don't check process.
14938 (octave-source-directories, octave-find-definition): Doc fix.
14940 2013-05-18 Glenn Morris <rgm@gnu.org>
14942 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14943 Remove backspace/delete bindings. (Bug#14392)
14945 * cus-dep.el (custom-make-dependencies): Sort the output.
14946 (custom-versions-load-alist): Convert comment to doc.
14948 2013-05-17 Leo Liu <sdl.web@gmail.com>
14950 * newcomment.el (comment-search-backward): Stricter in finding
14951 comment start. (Bug#14303)
14953 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14954 (octave-comment-start-skip): Properly anchored.
14956 2013-05-17 Leo Liu <sdl.web@gmail.com>
14958 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14959 Clean up when turned off. (Bug#14395)
14960 (smie--highlight-matching-block-overlay): No longer buffer-local.
14961 (smie-highlight-matching-block): Adjust.
14963 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14965 Doc string fix for "nanoseconds" (Bug#14406).
14966 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14967 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14969 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14971 * calc/calc-units.el (math-extract-units): Preserve powers
14974 2013-05-17 Leo Liu <sdl.web@gmail.com>
14976 * subr.el (delete-consecutive-dups): New function.
14977 * ido.el (ido-set-matches-1): Use it.
14978 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14979 * ido.el (ido-remove-consecutive-dups): Remove.
14981 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14983 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14984 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14985 regexp-opt's `words'.
14987 2013-05-16 Leo Liu <sdl.web@gmail.com>
14989 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14990 (smie--highlight-matching-block-overlay)
14991 (smie--highlight-matching-block-lastpos)
14992 (smie--highlight-matching-block-timer): New variables.
14993 (smie-highlight-matching-block): New function.
14994 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14995 (smie-setup): Conditionally enable smie-blink-matching-open.
14997 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14999 Sync with upstream verilog-mode r840.
15000 * progmodes/verilog-mode.el (verilog-mode-version)
15001 (verilog-mode-release-date): Update.
15002 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15003 (verilog-sig-tieoff): Fix string error on
15004 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15005 (verilog-read-decls): Fix parameters confusing
15006 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15008 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15010 * subr.el (reveal-filename): New function.
15012 * loadup.el: Compute Emacs executable versions on MS-Windows,
15013 where executables have the .exe extension. Add a hard link
15014 emacs-XX.YY.ZZ.exe on MS-Windows.
15016 * Makefile.in (XARGS_LIMIT): New variable.
15017 (custom-deps, finder-data, autoloads)
15018 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15019 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15020 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15021 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15023 2013-05-16 Leo Liu <sdl.web@gmail.com>
15025 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15026 (octave-mode-menu, octave-mode-map): Remove its uses.
15028 2013-05-16 Reto Zimmermann <reto@gnu.org>
15030 Sync with upstream vhdl mode v3.34.2.
15031 * progmodes/vhdl-mode.el: Use `push' throughout.
15032 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15033 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15034 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15035 (vhdl-actual-generic-name): New option to derive actual generic name.
15036 (vhdl-port-paste-signals): Replace formal by actual generics.
15037 (vhdl-beautify): New name for old group vhdl-align. Update users.
15038 (vhdl-beautify-options): New option.
15039 (vhdl-last-input-event): New compat alias. Use throughout.
15040 (vhdl-goto-line): Replace user level function `goto-line'.
15041 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15042 vhdl-fix-statement-buffer.
15043 (vhdl-create-mode-menu): Add some entries.
15044 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15045 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15046 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15047 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15048 to force statements on one line.
15049 (vhdl-remove-trailing-spaces-region):
15050 New, split from vhdl-remove-trailing-spaces.
15051 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15052 Respect vhdl-beautify-options.
15053 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15054 (vhdl-update-sensitivity-list): Not add with index if exists without.
15055 Not include array index with signal. Ignore keywords in comments.
15056 (vhdl-get-visible-signals): Regexp tweaks.
15057 (vhdl-template-component-inst): Handle empty library.
15058 (vhdl-template-type): Add template for 'enum' type.
15059 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15060 Use vhdl-replace-string.
15061 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15062 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15063 (vhdl-speedbar-initialize): Update for above name change.
15064 (vhdl-compose-wire-components): Fix in handling of constants.
15065 (vhdl-error-regexp-emacs-alist): New variable.
15066 (vhdl-error-regexp-add-emacs): New function;
15067 adds support for new compile.el (Emacs 22+)
15068 (vhdl-generate-makefile-1): Change target order for single lib. units.
15069 Allow use of absolute file names.
15071 2013-05-16 Leo Liu <sdl.web@gmail.com>
15073 * simple.el (prog-indent-sexp): Indent enclosing defun.
15075 2013-05-15 Glenn Morris <rgm@gnu.org>
15077 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15078 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15079 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15080 (whitespace-highlight): Move to whitespace group.
15082 * comint.el (comint-source):
15083 * pcmpl-linux.el (pcmpl-linux):
15084 * shell.el (shell-faces):
15085 * eshell/esh-opt.el (eshell-opt):
15086 * international/ccl.el (ccl): Remove empty custom groups.
15088 * completion.el (dynamic-completion-mode):
15089 * jit-lock.el (jit-lock-debug-mode):
15090 * minibuffer.el (completion-in-region-mode):
15091 * type-break.el (type-break-mode-line-message-mode)
15092 (type-break-query-mode):
15093 * emulation/tpu-edt.el (tpu-edt-mode):
15094 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15095 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15096 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15098 * term/xterm.el (xterm): Change parent group to terminals.
15100 * master.el (master): Remove empty custom group.
15101 (master-mode): Remove unused :group argument.
15102 * textmodes/refill.el (refill): Remove empty custom group.
15103 (refill-mode): Remove unused :group argument.
15105 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15107 * cus-dep.el: Provide a feature.
15108 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15109 Don't mistakenly ignore files whose basenames match a basename
15110 from preloaded-file-list (eg cedet/ede/simple.el).
15111 Add a fallback method for getting :group.
15113 2013-05-15 Juri Linkov <juri@jurta.org>
15115 * isearch.el (isearch-char-by-name): Rename from
15116 `isearch-insert-char-by-name'. Doc fix.
15117 (isearch-forward): Mention `isearch-char-by-name' in
15118 the docstring. (Bug#13348)
15120 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15121 `exit-minibuffer' instead of
15122 `isearch-nonincremental-exit-minibuffer'.
15123 (isearch-edit-string): Remove mention of
15124 `isearch-nonincremental-exit-minibuffer' from docstring.
15125 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15126 (isearch-forward-exit-minibuffer)
15127 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15129 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15131 * loadup.el: Just use unversioned DOC.
15133 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15134 literals as extending to EOB.
15135 (nxml-last-fontify-end): Remove unused variable.
15136 (nxml-after-change1): Use with-silent-modifications.
15137 (nxml-extend-after-change-region): Simplify.
15138 (nxml-extend-after-change-region1): Remove function.
15139 (nxml-after-change1): Don't adjust for dependent regions.
15140 (nxml-fontify-matcher): Simplify.
15141 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15142 (xmltok-add-dependent): Remove function.
15143 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15144 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15145 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15146 unclosed <[[, <?, comment, and other literals as extending to EOB.
15147 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15148 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15150 (rng-do-some-validation-1): Don't mark dependent regions.
15151 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15152 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15153 (nxml-clear-dependent-regions): Remove functions.
15154 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15155 (nxml-ensure-scan-up-to-date):
15156 Don't clear&mark dependent regions.
15158 2013-05-15 Leo Liu <sdl.web@gmail.com>
15160 * progmodes/octave.el (octave-goto-function-definition):
15161 Improve and fix callers.
15163 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15165 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15166 the setter (bug#14387).
15168 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15169 surrounding group (bug#14402).
15171 2013-05-14 Juri Linkov <juri@jurta.org>
15173 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15176 2013-05-14 Glenn Morris <rgm@gnu.org>
15178 * progmodes/f90.el (f90-imenu-generic-expression):
15179 Fix typo in 2013-05-08 change. (Bug#14402)
15181 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15183 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15184 Remove signals for which replies are never received.
15186 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15188 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15189 (gdb-handler-alist, gdb-handler-number): Remove variables.
15190 (gdb-handler-list): New variable.
15191 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15192 (gdb-pending-handler-p, gdb-handle-reply)
15193 (gdb-remove-all-pending-triggers): New functions.
15194 (gdb-discard-unordered-replies): New defcustom.
15195 (gdb-handler): New defstruct.
15196 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15197 instead of gdb-pending-triggers. Update docstring.
15198 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15199 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15200 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15201 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15202 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15203 (gdb-frame-handler): Pending triggers are now automatically managed.
15204 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15206 (gdb-input): Automatically handles pending triggers. Update docstring.
15207 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15208 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15210 (gdb-done-or-error): Now use gdb-handle-reply.
15212 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15214 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15217 2013-05-14 Glenn Morris <rgm@gnu.org>
15219 * subr.el (user-emacs-directory-warning): New option.
15220 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15222 2013-05-14 Leo Liu <sdl.web@gmail.com>
15224 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15226 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15227 (octave-font-lock-texinfo-comment): Fix invalid search bound
15228 error: wrong side of point.
15230 2013-05-14 Glenn Morris <rgm@gnu.org>
15232 * progmodes/flymake.el (flymake-xml-program): New option.
15233 (flymake-xml-init): Use it.
15235 * term/xterm.el: Provide a feature.
15237 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15239 2013-05-13 Glenn Morris <rgm@gnu.org>
15241 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15242 Add compat aliases as a hack workaround. (Bug#14384)
15244 2013-05-13 Leo Liu <sdl.web@gmail.com>
15246 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15248 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15250 (octave-comment-start-skip): Include %!.
15251 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15253 2013-05-12 Leo Liu <sdl.web@gmail.com>
15255 * progmodes/octave.el (inferior-octave-startup): Store the value
15256 of __octave_srcdir__ for octave-source-directories.
15257 (inferior-octave-check-process): New function refactored out of
15258 inferior-octave-send-list-and-digest.
15259 (octave-source-directories)
15260 (octave-find-definition-filename-function): New variables.
15261 (octave-source-directories)
15262 (octave-find-definition-default-filename): New functions.
15263 (octave-find-definition): Improve to find functions implemented in C++.
15265 2013-05-12 Glenn Morris <rgm@gnu.org>
15267 * calendar/diary-lib.el (diary-outlook-format-1):
15268 Don't include dayname in the output. (Bug#14349)
15270 2013-05-11 Glenn Morris <rgm@gnu.org>
15272 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15274 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15275 Treat cc-provide like provide.
15277 2013-05-11 Kevin Ryde <user42@zip.com.au>
15279 * cus-dep.el (custom-make-dependencies):
15280 Use generated-autoload-load-name for the sake of files such
15281 such cedet/semantic/bovine/c.el, where the base file name
15282 is not in load-path. (Bug#5277)
15284 2013-05-11 Glenn Morris <rgm@gnu.org>
15286 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15289 2013-05-11 Leo Liu <sdl.web@gmail.com>
15291 * progmodes/octave.el (octave-indent-comment): Improve.
15292 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15293 (octave-eldoc-function-signatures, octave-eldoc-function):
15295 (octave-mode, inferior-octave-mode): Add eldoc support.
15297 2013-05-11 Richard Stallman <rms@gnu.org>
15299 * epa.el (epa-decrypt-file): Take output file name as argument
15300 and read it using `interactive'.
15302 2013-05-11 Leo Liu <sdl.web@gmail.com>
15304 * progmodes/octave.el (octave-beginning-of-line)
15305 (octave-end-of-line): Check before using up-list because it jumps
15306 out of more syntactic contructs since moving to smie.
15307 (octave-indent-comment): New function.
15308 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15309 (octave-begin-keywords, octave-end-keywords)
15310 (octave-reserved-words, octave-smie-bnf-table)
15311 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15313 2013-05-11 Glenn Morris <rgm@gnu.org>
15315 * faces.el (internal-face-x-get-resource):
15316 * frame.el (ns-display-monitor-attributes-list):
15317 * calc/calc-aent.el (math-to-radians-2):
15318 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15321 * calc/calc-menu.el: Make it loadable in isolation.
15323 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15324 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15325 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15326 (eudc-bbdb-query-internal): Require 'bbdb.
15328 * lpr.el (lpr-headers-switches):
15329 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15331 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15333 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15335 * term.el (term-set-escape-char): Make it idempotent.
15337 2013-05-10 Leo Liu <sdl.web@gmail.com>
15339 * progmodes/octave.el (inferior-octave-completion-table):
15340 No longer a function and all uses changed. Use cache to speed up
15341 completion due to bug#11906.
15342 (octave-beginning-of-defun): Re-write to be more general.
15344 2013-05-10 Glenn Morris <rgm@gnu.org>
15346 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15348 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15350 * comint.el (comint-redirect-send-command-to-process): Use :around
15351 rather than :override for comint-redirect-filter.
15352 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15353 Call it instead of comint-redirect-original-filter-function (which
15354 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15356 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15358 * frame.el (display-monitor-attributes-list): Add NS case.
15359 (ns-display-monitor-attributes-list): Declare.
15361 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15363 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15365 2013-05-09 Glenn Morris <rgm@gnu.org>
15367 * international/fontset.el (vertical-centering-font-regexp):
15368 Set standard-value.
15370 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15372 * bookmark.el (bookmark-search-delay):
15373 * cus-start.el (vertical-centering-font-regexp):
15374 * ps-mule.el (ps-mule-font-info-database-default):
15375 * ps-print.el (ps-default-fg, ps-default-bg):
15376 * type-break.el (type-break-good-break-interval):
15377 * whitespace.el (whitespace-indentation-regexp)
15378 (whitespace-space-after-tab-regexp):
15379 * emacs-lisp/testcover.el (testcover-1value-functions)
15380 (testcover-noreturn-functions, testcover-progn-functions)
15381 (testcover-prog1-functions):
15382 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15383 * eshell/em-glob.el (eshell-glob-translate-alist):
15384 * play/tetris.el (tetris-tty-colors):
15385 * progmodes/cpp.el (cpp-face-default-list):
15386 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15387 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15388 (idlwave-help-browser-generic-args):
15389 * progmodes/make-mode.el (makefile-special-targets-list):
15390 * progmodes/python.el (python-shell-virtualenv-path):
15391 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15392 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15393 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15394 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15395 * textmodes/reftex-vars.el (reftex-format-label-function):
15396 * textmodes/remember.el (remember-diary-file): Fix custom types.
15398 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15401 2013-05-09 Leo Liu <sdl.web@gmail.com>
15403 * progmodes/octave.el (inferior-octave-completion-at-point):
15404 Restore file completion. (Bug#14300)
15405 (inferior-octave-startup): Fix incorrect highlighting for the
15408 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15410 * progmodes/ruby-mode.el: First cut at SMIE support.
15411 (ruby-use-smie): New var.
15412 (ruby-smie-grammar): New constant.
15413 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15414 (ruby-smie--forward-token, ruby-smie--backward-token)
15415 (ruby-smie-rules): New functions.
15416 (ruby-mode-variables): Setup SMIE if applicable.
15418 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15420 * simple.el (line-move-visual): Signal beginning/end of buffer
15421 only if vertical-motion moved less than it was requested. Avoids
15422 silly incorrect error messages when there are display strings with
15423 multiple newlines at EOL.
15425 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15427 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15428 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15429 (prolog-char-quote-workaround):
15430 * progmodes/cperl-mode.el (cperl-under-as-char):
15431 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15433 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15435 (vhdl-mode-syntax-table-init): Remove.
15437 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15440 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15442 (ld-script-font-lock-keywords):
15443 Change regexps to use things like \_< and \_>.
15445 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15446 Change all regexps to use things like \_< and \_>.
15448 * progmodes/autoconf.el (autoconf-definition-regexp)
15449 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15450 Handle a _ with symbol syntax.
15451 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15453 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15454 Consolidate declaration.
15455 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15457 (ada-create-syntax-table): Remove.
15458 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15459 already has the right syntax nowadays.
15460 (ada-goto-next-word): Don't change the syntax of "_".
15462 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15465 2013-05-08 Sam Steingold <sds@gnu.org>
15467 * thingatpt.el (thing-at-point): Accept optional second argument
15468 NO-PROPERTIES to strip the text properties from the return value.
15469 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15470 to `thing-at-point' instead of stripping the properties ourselves.
15471 Also, when `thing-at-point' fails to find a url, prepend "http://"
15472 to the filename at point on the assumption that the user is
15473 pointing at something like gnu.org/gnu.
15475 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15477 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15478 * faces.el (crm-separator):
15479 Silence byte-compiler.
15481 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15482 (tool-bar-map): Remove unneeded defvars.
15484 2013-05-08 Leo Liu <sdl.web@gmail.com>
15486 Re-work a fix for bug#10994 based on Le Wang's patch.
15487 * ido.el (ido-remove-consecutive-dups): New helper.
15488 (ido-completing-read): Use it.
15489 (ido-chop): Revert fix for bug#10994.
15491 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15493 * cus-edit.el (custom-save-variables):
15494 Pretty-print long values. (Bug#14187)
15496 2013-05-08 Glenn Morris <rgm@gnu.org>
15498 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15499 (m4-mode-syntax-table): Init in the defvar.
15500 (m4-mode-abbrev-table): Let define-derived-mode define it.
15502 2013-05-08 Tom Tromey <tromey@redhat.com>
15504 * progmodes/m4-mode.el (m4-mode-syntax-table):
15505 Do not treat "_" as word constituent. (Bug#14167)
15507 2013-05-07 Glenn Morris <rgm@gnu.org>
15509 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15510 Remove explicit eshell-isearch-cancel-map.
15512 * progmodes/f90.el (f90-smart-end-names): New option.
15513 (f90-smart-end): Doc fix.
15514 (f90-end-block-optional-name): New constant.
15515 (f90-block-match): Respect f90-smart-end-names.
15517 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15519 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15520 about implicit semi-colons (bug#14218).
15522 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15524 * frame.el (display-monitor-attributes-list)
15525 (frame-monitor-attributes): New functions.
15527 2013-05-06 Leo Liu <sdl.web@gmail.com>
15529 * progmodes/octave.el (octave-syntax-propertize-function): Change
15530 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15531 (octave-font-lock-keywords): Use octave-operator-regexp.
15532 (octave-completion-at-point): Rename from
15533 octave-completion-at-point-function.
15534 (inferior-octave-directory-tracker): Robustify.
15535 (octave-text-functions): Remove and fix its uses. No such things
15538 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15540 * emacs-lisp/trace.el (trace--display-buffer): New function.
15541 (trace-make-advice): Use it.
15543 2013-05-06 Juri Linkov <juri@jurta.org>
15545 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15546 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15548 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15549 in the help string. (Bug#12985)
15551 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15553 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15555 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15557 * progmodes/perl-mode.el: Add support for here documents.
15558 (perl-syntax-propertize-function): Match here-doc markers.
15559 (perl-syntax-propertize-special-constructs): Find their end.
15560 (perl-imenu-generic-expression): Use [:alnum:].
15562 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15563 (advice--add-function): Refresh the advice if already present
15566 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15568 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15570 2013-05-06 Glenn Morris <rgm@gnu.org>
15572 * w32-fns.el (w32-charset-info-alist): Declare.
15574 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15575 of its defcustom properties.
15576 (eshell-cmpl-initialize): No need to load pcomplete.
15578 * generic-x.el: No need to require comint when compiling.
15580 * net/eudc-export.el: Make it loadable without bbdb.
15581 (top-level): Use require rather than load-library.
15582 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15583 (eudc-batch-export-records-to-bbdb)
15584 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15587 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15589 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15590 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15591 some tweaks, instead.
15593 2013-05-05 Leo Liu <sdl.web@gmail.com>
15595 * progmodes/octave.el (octave-font-lock-keywords)
15596 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15597 (inferior-octave-send-list-and-digest): Improve error message.
15598 (octave-mode, inferior-octave-mode): Use setq-local.
15599 (octave-help): Set info-lookup-mode.
15601 2013-05-05 Richard Stallman <rms@gnu.org>
15603 * vc/compare-w.el (compare-windows-whitespace):
15604 Treat no-break space as whitespace.
15606 * mail/rmailsum.el (rmail-summary-rmail-update):
15607 Detect empty summary and don't change selected message.
15608 (rmail-summary-goto-msg): Likewise.
15610 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15611 Doc fixes, rename args.
15613 2013-05-05 Alan Mackenzie <acm@muc.de>
15615 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15617 2013-05-05 Juri Linkov <juri@jurta.org>
15619 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15620 to not add the length of the summary segment to the return value.
15623 2013-05-05 Leo Liu <sdl.web@gmail.com>
15625 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15626 (inferior-octave-output-filter): Remove.
15627 (octave-send-region, inferior-octave-startup): Fix callers.
15628 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15629 (octave-binary-file-extensions): New user variable.
15630 (octave-find-definition): Confirm if opening binary files.
15631 (octave-help-file): Use octave-find-definition to get the binary
15633 (octave-help): Adjust for octave-help-file change.
15635 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15637 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15638 Merge the two entries that handle function definitions.
15639 (pascal--syntax-propertize): New const.
15640 (pascal-mode): Use it. Use setq-local.
15642 2013-05-04 Glenn Morris <rgm@gnu.org>
15644 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15645 (diary-from-outlook): Respect diary-from-outlook-function.
15647 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15649 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15650 Move the declaration from C.
15651 (read-minibuffer, eval-minibuffer): Move from C.
15652 (completion-setup-function): Avoid minibuffer-completion-contents.
15654 2013-05-03 Leo Liu <sdl.web@gmail.com>
15656 * progmodes/octave.el (octave-font-lock-keywords): Do not
15657 dehighlight 'end' in comments or strings.
15658 (octave-completing-read, octave-goto-function-definition):
15660 (octave-help-buffer): New user variable.
15661 (octave-help-file, octave-help-function): New button types.
15662 (octave-help): New command and bind it to C-h ;.
15663 (octave-find-definition): New command and bind it to M-.
15664 (user-error): Alias to error if not defined.
15666 2013-05-02 Leo Liu <sdl.web@gmail.com>
15668 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15670 (octave-font-lock-keywords): Include [ and {.
15672 2013-05-02 Leo Liu <sdl.web@gmail.com>
15674 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15675 (inferior-octave): Remove calling comint-mode and return the buffer.
15676 (inferior-octave-startup): Cosmetic changes.
15678 2013-05-02 Leo Liu <sdl.web@gmail.com>
15680 * progmodes/octave.el (octave-syntax-propertize-function):
15681 Include the case when ' is at line beginning. (Bug#14336)
15683 2013-05-02 Glenn Morris <rgm@gnu.org>
15685 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15686 * desktop.el (vc-dir-mode): Just autoload it here.
15688 2013-05-02 Alan Mackenzie <acm@muc.de>
15690 Eliminate variable c-standard-font-lock-fontify-region-function.
15691 * progmodes/cc-mode.el
15692 (c-standard-font-lock-fontify-region-function): Remove.
15693 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15695 2013-05-01 Leo Liu <sdl.web@gmail.com>
15697 * progmodes/octave.el: Compatible with older emacs-24 releases.
15698 (inferior-octave-has-built-in-variables): Remove. Built-in
15699 variables were removed from Octave in 2007.
15700 (inferior-octave-startup): Fix uses.
15701 (comint-line-beginning-position): Remove compatibility code for
15704 2013-05-01 Juri Linkov <juri@jurta.org>
15706 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15708 2013-05-01 Juri Linkov <juri@jurta.org>
15710 * comint.el (comint-previous-matching-input): Don't print message
15711 "History item: %d" when `isearch-mode' is active.
15712 (comint-history-isearch-message): Print message "History item: %d"
15713 when `comint-input-ring-index' is not empty and this function is
15714 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15716 2013-05-01 Leo Liu <sdl.web@gmail.com>
15718 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15719 definitions. Use completion-at-point to insert keywords.
15720 (octave-abbrev-start): Remove.
15721 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15723 2013-04-30 Leo Liu <sdl.web@gmail.com>
15725 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15728 2013-04-30 Alan Mackenzie <acm@muc.de>
15730 Handle arbitrarily long C++ member initialisation lists.
15731 * progmodes/cc-engine.el (c-back-over-member-initializers):
15733 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15734 (most) member init lists.
15736 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15738 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15741 2013-04-30 Leo Liu <sdl.web@gmail.com>
15743 * progmodes/octave.el (octave-variables): Remove. No builtin
15744 variables any more. All converted to functions.
15745 (octave-font-lock-keywords, octave-completion-at-point-function):
15747 (octave-font-lock-texinfo-comment): New user variable.
15748 (octave-texinfo-font-lock-keywords): New variable for texinfo
15750 (octave-function-comment-block): New face.
15751 (octave-font-lock-texinfo-comment): New function.
15752 (octave-mode): Font lock texinfo comment block.
15754 2013-04-29 Leo Liu <sdl.web@gmail.com>
15756 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15757 indexing expression.
15758 (octave-continuation-string): Do not use \.
15759 (inferior-octave-complete-impossible): Remove.
15760 (inferior-octave-completion-table)
15761 (inferior-octave-completion-at-point): Remove its uses.
15762 (inferior-octave-startup): completion_matches was introduced to
15763 Octave in 1996 so safe to assume it.
15764 (octave-function-file-comment): Improve to follow how Octave does it.
15765 (octave-update-function-file-comment): Tweak.
15767 2013-04-29 Leo Liu <sdl.web@gmail.com>
15769 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15770 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15771 (octave-function-file-comment): Fix typo.
15772 (octave-sync-function-file-names): Use read-char-choice.
15774 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15776 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15777 to t for the less important warnings.
15779 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15781 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15783 2013-04-27 Glenn Morris <rgm@gnu.org>
15785 * vc/log-view.el (log-view-current-entry):
15786 Treat "---" separator lines as part of the following rev. (Bug#14169)
15788 2013-04-27 Juri Linkov <juri@jurta.org>
15790 * subr.el (read-number): Doc fix about using it by interactive
15791 code letter `n'. (Bug#14254)
15793 2013-04-27 Juri Linkov <juri@jurta.org>
15795 * desktop.el (desktop-auto-save-timeout): New option.
15796 (desktop-file-checksum): New variable.
15797 (desktop-save): Add optional arg `auto-save' and don't auto-save
15798 if nothing changed.
15799 (desktop-auto-save-timer): New variable.
15800 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15801 (after-init-hook): Call `desktop-auto-save-set-timer'.
15802 Suggested by Reuben Thomas <rrt@sc3d.org> in
15803 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15805 2013-04-27 Leo Liu <sdl.web@gmail.com>
15807 * progmodes/octave.el (octave-function-file-p)
15808 (octave-skip-comment-forward, octave-function-file-comment)
15809 (octave-update-function-file-comment): New functions.
15810 (octave-mode-map): Bind C-c ; to
15811 octave-update-function-file-comment.
15812 (octave-mode-menu): Add octave-update-function-file-comment.
15813 (octave-mode, inferior-octave-mode): Fix doc-string.
15814 (octave-insert-defun): Conform to Octave's coding convention.
15817 * files.el (basic-save-buffer): Don't let errors in
15818 before-save-hook prevent saving buffer.
15820 2013-04-20 Roland Winkler <winkler@gnu.org>
15822 * faces.el (read-face-name): Use completing-read if arg multiple
15825 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15827 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15828 displayed, move point to after the totals line.
15829 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15832 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15834 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15835 Add current dir to the load-path.
15836 (package-generate-autoloads): Don't rely on
15837 autoload-ensure-default-file.
15839 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15841 * textmodes/remember.el (remember-store-in-files): Document that
15842 the file name format is passed to `format-time-string'.
15844 2013-04-26 Leo Liu <sdl.web@gmail.com>
15846 * progmodes/octave.el (octave-sync-function-file-names): New function.
15847 (octave-mode): Use it in before-save-hook.
15849 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15851 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15854 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15855 \n and comment, even if it's not an implicit ; (bug#14218).
15857 2013-04-26 Glenn Morris <rgm@gnu.org>
15859 * subr.el (read-number): Once more use `read' rather than
15860 `string-to-number', to trap non-numeric input. (Bug#14254)
15862 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15864 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15865 Use `syntax-multiline' text property consistently instead of
15866 `font-lock-multiline'. (Bug#14237)
15868 2013-04-26 Glenn Morris <rgm@gnu.org>
15870 * emacs-lisp/shadow.el (list-load-path-shadows):
15871 No longer necessary to check for duplicate simple.el, since
15872 2012-07-07 change to init_lread to not include installation lisp
15873 directories in load-path when running uninstalled. (Bug#14270)
15875 2013-04-26 Leo Liu <sdl.web@gmail.com>
15877 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15878 (octave-mode, inferior-octave-mode): Use setq-local.
15879 (octave-not-in-string-or-comment-p): Rename to
15880 octave-in-string-or-comment-p.
15881 (octave-in-comment-p, octave-in-string-p)
15882 (octave-in-string-or-comment-p): Replace defsubst with defun.
15884 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15886 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15888 2013-04-25 Bastien Guerry <bzg@gnu.org>
15890 * textmodes/remember.el (remember-data-directory)
15891 (remember-directory-file-name-format): Fix custom types.
15893 2013-04-25 Leo Liu <sdl.web@gmail.com>
15895 * progmodes/octave.el (octave-completion-at-point-function):
15896 Make use of inferior octave process.
15897 (octave-initialize-completions): Remove.
15898 (inferior-octave-completion-table): New function.
15899 (inferior-octave-completion-at-point): Use it.
15900 (octave-completion-alist): Remove.
15902 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15904 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15905 (opascal-mode-syntax-table): New var.
15906 (opascal-literal-kind, opascal-is-literal-end)
15907 (opascal-literal-token-at): Rewrite.
15908 (opascal--literal-start-re, opascal-font-lock-keywords)
15909 (opascal--syntax-propertize): New constants.
15910 (opascal-font-lock-defaults): Adjust.
15911 (opascal-mode): Use them. Set comment-<foo> variables as well.
15912 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15913 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15914 (delphi-other-face, opascal-other-face): Remove face variables.
15915 (opascal-save-state): Remove macro.
15916 (opascal-fontifying-progress-step): Remove constant.
15917 (opascal--ignore-changes): Remove var.
15918 (opascal-set-token-property, opascal-parse-next-literal)
15919 (opascal-is-stable-literal, opascal-complete-literal)
15920 (opascal-is-literal-start, opascal-face-of)
15921 (opascal-parse-region, opascal-parse-region-until-stable)
15922 (opascal-fontify-region, opascal-after-change)
15923 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15924 (opascal-debug-parse-region, opascal-debug-parse-window)
15925 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15926 (opascal-debug-fontify-buffer): Remove.
15927 (opascal-debug-mode-map): Adjust accordingly.
15929 2013-04-25 Leo Liu <sdl.web@gmail.com>
15931 Merge octave-mod.el and octave-inf.el into octave.el with some
15933 * progmodes/octave.el: New file renamed from octave-mod.el.
15934 * progmodes/octave-inf.el: Merged into octave.el.
15935 * progmodes/octave-mod.el: Renamed to octave.el.
15937 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15939 * textmodes/reftex-vars.el
15940 (reftex-label-ignored-macros-and-environments): New defcustom.
15942 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15944 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15947 (smie-indent-keyword): Improve the check to ensure that the next
15948 comment is really on the same line.
15949 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15951 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15952 semi-colons if the line is not otherwise empty (bug#14218).
15954 2013-04-25 Glenn Morris <rgm@gnu.org>
15956 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15958 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15960 * progmodes/opascal.el (opascal-set-token-property): Rename from
15961 opascal-set-text-properties and only set `token' (bug#14134).
15962 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15963 (opascal-literal-text-properties): Remove.
15964 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15967 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15969 * textmodes/remember.el (remember-handler-functions): Add an
15970 option for a new handler `remember-store-in-files'.
15971 (remember-data-directory, remember-directory-file-name-format):
15973 (remember-store-in-files): New function to store remember notes
15974 as separate files within a directory.
15976 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15978 * progmodes/compile.el (compilation-next-error-function):
15979 Pass "formats" to compilation-find-file (bug#11777).
15981 2013-04-24 Glenn Morris <rgm@gnu.org>
15983 * vc/vc-bzr.el (vc-bzr-print-log):
15984 * vc/vc-hg.el (vc-hg-print-log):
15985 * vc/vc-svn.el (vc-svn-print-log):
15986 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15988 * vc/vc-bzr.el (vc-bzr-print-log):
15989 * vc/vc-cvs.el (vc-cvs-print-log):
15990 * vc/vc-git.el (vc-git-print-log):
15991 * vc/vc-hg.el (vc-hg-print-log):
15992 * vc/vc-mtn.el (vc-mtn-print-log):
15993 * vc/vc-rcs.el (vc-rcs-print-log):
15994 * vc/vc-sccs.el (vc-sccs-print-log):
15995 * vc/vc-svn.el (vc-svn-print-log):
15996 * vc/vc.el (vc-print-log-internal): Doc fixes.
15998 2013-04-23 Glenn Morris <rgm@gnu.org>
16000 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16001 Remove venerable code attempting to avoid substitute-command-keys.
16003 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16005 * textmodes/reftex-vars.el (reftex-label-regexps):
16006 Call `reftex-compile-variables' after changes to this variable.
16008 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16010 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16011 Use lexical-binding.
16012 (jit-lock-force-redisplay): Use markers, check buffer's continued
16013 existence and beware narrowed buffers.
16014 (jit-lock-fontify-now): Adjust call accordingly.
16016 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16018 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16019 to avoid misleading the user.
16021 2013-04-22 Leo Liu <sdl.web@gmail.com>
16023 * info-look.el: Prefer latex2e.info. (Bug#14240)
16025 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16027 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16029 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16030 * net/tramp.el (tramp-call-process): ... here.
16031 (tramp-set-completion-function, tramp-parse-putty):
16032 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16033 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16034 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16035 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16036 (tramp-call-local-coding-command): Use `tramp-call-process'
16037 instead of `tramp-compat-call-process'.
16039 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16040 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16041 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16042 (tramp-find-inline-compress): Improve traces.
16043 (tramp-maybe-send-script): Check for Perl binary.
16044 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16046 2013-04-22 Daiki Ueno <ueno@gnu.org>
16048 * epg.el (epg-context-pinentry-mode): New function.
16049 (epg-context-set-pinentry-mode): New function.
16050 (epg--start): Pass --pinentry-mode option to gpg command.
16052 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16054 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16055 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16056 `completion-at-point'. (Bug#13774)
16058 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16059 default key binding for `describe-distribution' has been moved to
16060 `C-h C-o'. (Bug#13970)
16062 2013-04-21 Glenn Morris <rgm@gnu.org>
16064 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16066 (vc-print-log): Clarify interactive prompt.
16068 2013-04-20 Glenn Morris <rgm@gnu.org>
16070 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16071 No longer include timestamp etc information.
16073 2013-04-20 Roland Winkler <winkler@gnu.org>
16075 * faces.el (read-face-name): Bug fix, return just one face if arg
16076 multiple is nil. (Bug#14209)
16078 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16080 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16081 (remove-function): Autoload.
16083 * comint.el (comint-redirect-original-filter-function): Remove.
16084 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16085 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16086 (vc-cvs-annotate-command):
16087 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16088 * progmodes/prolog.el (prolog-consult-compile):
16089 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16090 Use add/remove-function instead.
16091 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16092 (gud-tooltip-process-output, gud-tooltip-tips):
16093 Use add/remove-function instead.
16094 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16095 (scheme-interaction-mode, exit-scheme-interaction-mode):
16096 Use add/remove-function instead.
16098 * vc/vc-dispatcher.el: Use lexical-binding.
16099 (vc--process-sentinel): Rename from vc-process-sentinel.
16100 Change last arg to be the code to run. Don't use vc-previous-sentinel
16101 and vc-sentinel-commands any more.
16102 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16103 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16105 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16107 * progmodes/sh-script.el (sh-imenu-generic-expression):
16108 Handle function names with a single character. (Bug#14111)
16110 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16112 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16113 for subroutines defined in an eval (bug#14182).
16115 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16117 * bookmark.el (bookmark-completing-read): Improve handling of empty
16118 string (bug#14176).
16120 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16122 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16124 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16126 New faster Imenu implementation (bug#14058).
16127 * progmodes/python.el:
16128 (python-imenu-prev-index-position):
16129 (python-imenu-format-item-label-function)
16130 (python-imenu-format-parent-item-label-function)
16131 (python-imenu-format-parent-item-jump-label-function):
16133 (python-imenu-format-item-label)
16134 (python-imenu-format-parent-item-label)
16135 (python-imenu-format-parent-item-jump-label)
16136 (python-imenu--put-parent, python-imenu--build-tree)
16137 (python-imenu-create-index, python-imenu-create-flat-index)
16138 (python-util-popn): New functions.
16139 (python-mode): Set imenu-create-index-function to
16140 python-imenu-create-index.
16142 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16144 * winner.el (winner-active-region): Use region-active-p, activate-mark
16145 and deactivate-mark (bug#14225).
16147 * simple.el (deactivate-mark): Don't inline it.
16149 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16151 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16153 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16155 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16156 file extensions from the archive-mode entry in order to prefer
16157 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16159 2013-04-18 Leo Liu <sdl.web@gmail.com>
16161 * bindings.el (help-event-list): Add ?\?.
16163 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16165 * subr.el (with-wrapper-hook): Declare obsolete.
16166 * simple.el (filter-buffer-substring-function): New hook.
16167 (filter-buffer-substring): Use it.
16168 (filter-buffer-substring-functions): Mark obsolete.
16169 * minibuffer.el (completion-in-region-function): New hook.
16170 (completion-in-region): Use it.
16171 (completion-in-region-functions): Mark obsolete.
16172 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16173 * abbrev.el (abbrev-expand-function): New hook.
16174 (expand-abbrev): Use it.
16175 (abbrev-expand-functions): Mark obsolete.
16176 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16177 and :filter-return.
16179 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16181 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16182 and do not care about match data.
16184 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16186 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16187 completion tables when completing error conditions and
16188 `declare' arguments.
16189 (lisp-complete-symbol, field-complete): Mark as obsolete.
16190 (check-parens): Unmatched parens are user errors.
16191 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16193 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16195 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16196 command changed buffer (ie. `flyspell-pre-buffer' is not current
16197 buffer), which prevents making decisions based on invalid value of
16198 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16199 cause an error when `flyspell-pre-point' was nil after switching
16201 (flyspell-post-command-hook): No longer needs to change buffers when
16202 checking pre-word. While at it remove unnecessary progn.
16204 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16206 * textmodes/ispell.el (ispell-add-per-file-word-list):
16207 Fix `flyspell-correct-word-before-point' error when accepting
16208 words and `coment-padding' is an integer by using
16209 `comment-normalize-vars' (Bug #14214).
16211 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16213 New defun movement commands.
16214 * progmodes/python.el (python-nav--syntactically)
16215 (python-nav--forward-defun, python-nav-backward-defun)
16216 (python-nav-forward-defun): New functions.
16218 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16220 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16221 (python-syntax-context): Use named compiler-macro for backwards
16222 compatibility with Emacs 24.x.
16224 2013-04-17 Leo Liu <sdl.web@gmail.com>
16226 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16227 octave-hide-process-buffer.
16229 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16231 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16234 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16236 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16237 Fix adjustment of offset when receiving incomplete responses from GDB
16240 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16242 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16243 python-mode-abbrev-table.
16244 (python-skeleton-define): Adjust accordingly.
16245 (python-mode-abbrev-table): New table that inherits from it so that
16246 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16248 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16249 (abbrev-symbol): Use it.
16250 (abbrev--before-point): Use it since we already handle inheritance.
16252 2013-04-16 Leo Liu <sdl.web@gmail.com>
16254 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16255 binding to info-lookup-symbol.
16257 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16259 * minibuffer.el (completion--twq-all):
16260 * term/ns-win.el (ns-initialize-window-system):
16261 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16263 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16265 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16268 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16270 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16272 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16273 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16275 (ruby-end-of-defun): Remove the unused arg, change the docstring
16276 to reflect that this function is only used as the value of
16277 `end-of-defun-function'.
16278 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16279 to reflect an earlier change that beginning/end-of-defun functions
16280 jump between methods in a class definition, as well as top-level
16283 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16285 * minibuffer.el (minibuffer-complete): Don't just scroll
16286 a *Completions* that's been iconified.
16287 (minibuffer-force-complete): Make sure repetitions do cycle when going
16288 through completion-in-region -> minibuffer-complete.
16290 2013-04-15 Alan Mackenzie <acm@muc.de>
16292 Correct the placement of c-cpp-delimiters when there're #s not at
16295 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16296 place a submatch around the #.
16297 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16298 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16301 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16303 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16304 (advice--member-p): New arg `name'.
16305 (advice--add-function, advice-member-p): Use it (bug#14202).
16307 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16309 Reformulate java imenu-generic-expression.
16310 The old expression contained ill formed regexps.
16312 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16313 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16314 (cc-imenu-java-method-arg-regexp): New defconsts.
16315 (cc-imenu-java-build-type-args-regex): New defun.
16316 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16317 handling of spaces in the regexp.
16319 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16321 * textmodes/ispell.el (ispell-command-loop): Remove
16322 flyspell highlight of a word when ispell accepts it (bug #14178).
16324 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16326 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16327 uses code from the previous `ange-ftp-run-real-handler'.
16328 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16329 only in case that function exist. This is needed for proper
16330 unloading of Tramp.
16332 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16334 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16336 * textmodes/reftex.el (reftex-compile-variables): Use it.
16338 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16340 * files.el (normal-mode): Only use default major-mode if no other mode
16343 * emacs-lisp/trace.el (trace-values): New function.
16345 * files.el: Allow : in local variables (bug#14089).
16346 (hack-local-variable-regexp): New var.
16347 (hack-local-variables-prop-line, hack-local-variables): Use it.
16349 2013-04-13 Roland Winkler <winkler@gnu.org>
16351 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16352 data before it gets modified by bibtex-beginning-of-entry.
16354 2013-04-13 Roland Winkler <winkler@gnu.org>
16356 * textmodes/bibtex.el (bibtex-url): Doc fix.
16358 2013-04-13 Roland Winkler <winkler@gnu.org>
16360 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16361 does not visit a BibTeX file, exclude it from the list of buffers
16362 returned by bibtex-initialize.
16364 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16366 * window.el (split-window): Remove interactive form, since as a
16367 command this function is a special case of split-window-below.
16368 Correct doc string.
16370 2013-04-12 Roland Winkler <winkler@gnu.org>
16372 * faces.el (read-face-name): Do not override value of arg default.
16373 Allow single faces and strings as default values. Remove those
16374 elements from return value that are not faces.
16375 (describe-face): Simplify.
16376 (face-at-point): New optional args thing and multiple so that this
16377 function can provide the same functionality previously provided by
16379 (make-face-bold, make-face-unbold, make-face-italic)
16380 (make-face-unitalic, make-face-bold-italic, invert-face)
16381 (modify-face, read-face-and-attribute): Use face-at-point.
16383 * cus-edit.el (customize-face, customize-face-other-window)
16384 * cus-theme.el (custom-theme-add-face)
16385 * face-remap.el (buffer-face-set)
16386 * facemenu.el (facemenu-set-face): Use face-at-point.
16388 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16390 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16392 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16394 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16395 off leading { and trailing } from field values.
16397 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16399 * emacs-lisp/timer.el (timer--check): New function.
16400 (timer--time, timer-set-function, timer-event-handler): Use it.
16401 (timer-set-idle-time): Simplify.
16402 (timer--activate): CSE.
16403 (timer-event-handler): Give more info in error message.
16404 (internal-timer-start-idle): New function, moved from C.
16406 * mpc.el (mpc-proc): Add `restart' argument.
16407 (mpc-proc-cmd): Use it.
16408 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16409 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16412 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16414 * progmodes/sh-script.el: Implement `sh-mode' own
16415 `add-log-current-defun-function' (bug#14112).
16416 (sh-current-defun-name): New function.
16417 (sh-mode): Use the function.
16419 2013-04-09 Bastien Guerry <bzg@gnu.org>
16421 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16423 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16425 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16427 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16430 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16432 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16435 2013-04-07 Leo Liu <sdl.web@gmail.com>
16437 * pcmpl-x.el: New file.
16439 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16441 Do not set x-display-name until X connection is established.
16442 This is needed to prevent from weird situation described at
16443 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16444 * frame.el (make-frame): Set x-display-name after call to
16445 window system initialization function, not before.
16446 * term/x-win.el (x-initialize-window-system): Add optional
16447 display argument and use it.
16448 * term/w32-win.el (w32-initialize-window-system):
16449 * term/ns-win.el (ns-initialize-window-system):
16450 * term/pc-win.el (msdos-initialize-window-system):
16451 Add compatible optional display argument.
16453 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16455 * files.el (normal-backup-enable-predicate): On MS-Windows and
16456 MS-DOS compare truenames of temporary-file-directory and of the
16457 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16458 don't fail comparison by compare-strings. Also, compare file
16459 names case-insensitively on MS-Windows and MS-DOS.
16461 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16463 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16464 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16466 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16468 * whitespace.el (whitespace-color-on, whitespace-color-off):
16469 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16471 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16473 * ispell.el (ispell-set-spellchecker-params):
16474 Really set `ispell-args' for all equivs.
16476 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16478 * ido.el (ido-completions): Use extra elements of ido-decorations
16480 (ido-decorations): Update docstring.
16482 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16484 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16485 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16486 nil during initialization, in order not to miss changes since the
16487 file was opened. (Bug#14140)
16489 2013-04-05 Leo Liu <sdl.web@gmail.com>
16491 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16493 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16495 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16497 2013-04-04 Glenn Morris <rgm@gnu.org>
16499 * electric.el (electric-pair-inhibit-predicate): Add :version.
16501 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16503 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16504 when a package is required several times (bug#14082).
16506 2013-04-04 Roland Winkler <winkler@gnu.org>
16508 * faces.el (read-face-name): Behave as promised by the docstring.
16509 Assume that arg default is a list of faces.
16510 (describe-face): Call read-face-name with list of default faces.
16512 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16514 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16515 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16516 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16518 (bookmark-exit-hook-internal): Save even if list is empty.
16520 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16522 * emacs-lisp/package.el (package-pinned-packages): New var.
16523 (package--add-to-archive-contents): Obey it (bug#14118).
16525 2013-04-03 Alan Mackenzie <acm@muc.de>
16527 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16528 Also adapt to the new values of element 7 of a parse state.
16530 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16531 parameter `not-in-delimiter'. Handle being inside comment opener.
16532 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16533 character in case we're typing a '*' after a '/'.
16534 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16535 instead by passing the parameter to c-state-pp-to-literal.
16537 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16538 for elt. 7 of a parse state.
16540 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16542 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16543 * international/latin1-disp.el, international/mule-util.el:
16544 * language/cyril-util.el, language/european.el, language/ind-util.el:
16545 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16546 * language/tibetan.el, language/viet-util.el:
16547 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16549 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16551 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16552 (electric-pair-post-self-insert-function): Use it.
16553 (electric-pair-default-inhibit): New function, extracted from
16554 electric-pair-post-self-insert-function.
16556 2013-03-31 Roland Winkler <winkler@gnu.org>
16558 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16560 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16562 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16564 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16566 Un-indent after "pass" and "return" statements (Bug#13888)
16567 * progmodes/python.el (python-indent-block-enders): New var.
16568 (python-indent-calculate-indentation): Use it.
16570 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16572 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16573 defun. Defining it as defalias could introduce too eager
16574 byte-compiler optimization. (Bug#14030)
16576 2013-03-30 Chong Yidong <cyd@gnu.org>
16578 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16580 2013-03-30 Leo Liu <sdl.web@gmail.com>
16582 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16583 (kmacro-execute-from-register): Pass the keyboard macro to
16584 kmacro-call-macro or repeating won't work correctly.
16586 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16588 * progmodes/subword.el: Back to using `forward-symbol'.
16590 * subr.el (forward-whitespace, forward-symbol)
16591 (forward-same-syntax): Move from thingatpt.el.
16593 2013-03-29 Leo Liu <sdl.web@gmail.com>
16595 * kmacro.el (kmacro-to-register): New command.
16596 (kmacro-execute-from-register): New function.
16597 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16599 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16601 * mpc.el: Use defvar-local and setq-local.
16602 (mpc--proc-connect): Connection failures are not bugs.
16603 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16604 (mpc-volume-map): Bind to the up-events.
16606 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16608 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16609 instead of `forward-symbol'.
16611 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16613 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16614 (edebug--recursive-edit): Use it.
16615 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16616 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16618 2013-03-28 Leo Liu <sdl.web@gmail.com>
16620 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16622 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16624 * facemenu.el (list-colors-callback): New defvar.
16625 (list-colors-redisplay): New function.
16626 (list-colors-display): Install list-colors-redisplay as the
16627 revert-buffer-function. (Bug#14063)
16629 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16631 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16632 and suffixes don't overlap (bug#14061).
16634 * case-table.el: Use lexical-binding.
16635 (case-table-get-table): New function.
16636 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16638 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16640 * progmodes/subword.el: Add `superword-mode' to do word motion
16641 over symbol_words (parallels and leverages `subword-mode' which
16642 does word motion inside MixedCaseWords).
16644 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16646 * eshell/em-unix.el: Move su and sudo to...
16647 * eshell/em-tramp.el: ...Eshell tramp module.
16649 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16651 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16652 Change return value to be a sexp. Delay `get-buffer' to after
16653 restoring the desktop (bug#13951).
16655 2013-03-26 Leo Liu <sdl.web@gmail.com>
16657 * register.el: Move semantic tag handling back to
16658 cedet/semantic/senator.el. (Bug#14052)
16660 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16662 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16663 into the prompt either (bug#13963).
16665 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16667 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16668 part of "(error-foo)".
16670 2013-03-24 Juri Linkov <juri@jurta.org>
16672 * replace.el (list-matching-lines-prefix-face): New defcustom.
16673 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16674 `occur-engine' if `face-differs-from-default-p' returns t.
16675 (occur-engine): Add `,' inside backquote construct to evaluate
16676 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16677 Pass `prefix-face' to the functions `occur-context-lines' and
16678 `occur-engine-add-prefix'.
16679 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16680 `prefix-face' and propertize the prefix with `prefix-face'.
16683 2013-03-24 Leo Liu <sdl.web@gmail.com>
16685 * nxml/rng-valid.el (rng-validate-while-idle)
16686 (rng-validate-quick-while-idle): Guard against deleted buffer.
16689 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16690 is the last entry in kill-buffer-hook.
16692 * files.el (kill-buffer-hook): Doc fix.
16694 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16696 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16697 Make it safe-local.
16699 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16701 2013-03-23 Leo Liu <sdl.web@gmail.com>
16703 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16706 * nxml/rng-valid.el (rng-validate-mode)
16707 (rng-after-change-function, rng-do-some-validation):
16708 * nxml/rng-maint.el (rng-validate-buffer):
16709 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16710 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16711 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16712 (nxml-extend-after-change-region): Use with-silent-modifications.
16714 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16717 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16718 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16719 timer-idle-list. (Bug#13999)
16721 2013-03-23 Juri Linkov <juri@jurta.org>
16723 * info.el (info-index-match): New face.
16724 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16725 main pattern and add text properties with the new face to matches
16726 in index entries relative to the beginning of the index entry.
16729 2013-03-21 Eric Ludlam <zappo@gnu.org>
16731 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16732 Inhibit read only while inserting objects.
16734 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16736 * progmodes/cfengine.el: Update docs to mention
16737 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16738 symbol motion. Remove "_" from the word syntax.
16740 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16742 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16743 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16745 2013-03-20 Juri Linkov <juri@jurta.org>
16747 * info.el (Info-next-reference-or-link)
16748 (Info-prev-reference-or-link): New functions.
16749 (Info-next-reference, Info-prev-reference): Use them.
16750 (Info-try-follow-nearest-node): Handle footnote navigation.
16751 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16753 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16755 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16756 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16758 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16760 Suppress unnecessary non-ASCII chatter during build process.
16761 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16762 (batch-skkdic-convert): Suppress most of the chatter.
16763 It's not needed so much now that machines are faster,
16764 and its non-ASCII component was confusing; see Dmitry Gutov in
16765 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16767 2013-03-20 Leo Liu <sdl.web@gmail.com>
16769 * ido.el (ido-chop): Fix bug#10994.
16771 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16773 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16775 (whitespace-color-on, whitespace-color-off):
16776 Use `font-lock-fontify-buffer' (Bug#13817).
16778 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16780 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16781 remapping in mode-line.
16782 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16784 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16786 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16787 value for `whitespace-line' face (Bug#13875).
16788 (whitespace-font-lock-keywords): Change description.
16789 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16790 the constructed keywords instead.
16791 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16793 2013-03-19 Leo Liu <sdl.web@gmail.com>
16795 * progmodes/compile.el (compilation-display-error): New command.
16796 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16799 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16801 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16803 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16805 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16807 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16809 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16811 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16812 * net/tramp-gvfs.el (top):
16813 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16814 (tramp-handle-shell-command): Use it.
16815 (tramp-dissect-file-name): Raise an error when hostname is a
16816 method name, and neither method nor user is specified.
16818 * net/trampver.el: Update release number.
16820 2013-03-18 Leo Liu <sdl.web@gmail.com>
16822 Make sure eldoc can be turned off properly.
16823 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16825 (eldoc-display-message-p): Revert last change.
16826 (eldoc-display-message-no-interference-p)
16827 (eldoc-print-current-symbol-info): Tweak.
16829 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16831 * doc-view.el (doc-view-new-window-function): Check the new window
16832 overlay's display property instead the char property of the
16833 buffer's first char. Use `with-selected-window' instead of
16834 `save-window-excursion' with `select-window'.
16835 (doc-view-document->bitmap): Check the current doc-view overlay's
16836 display property instead the char property of the buffer's first char.
16838 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16840 Automate the build of ja-dic.el (Bug#13984).
16841 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16842 from the input, rather than assume that it's been done for us by the
16843 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16844 the current date into a ja-dic.el comment, as that complicates
16845 regression testing.
16847 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16849 * whitespace.el: Fix double evaluation.
16850 (whitespace-space, whitespace-hspace, whitespace-tab)
16851 (whitespace-newline, whitespace-trailing, whitespace-line)
16852 (whitespace-space-before-tab, whitespace-indentation)
16853 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16855 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16856 (whitespace-color-on): Use a single font-lock-add-keywords call.
16857 Fix double-evaluation of face variables.
16859 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16861 * net/tramp-adb.el (tramp-adb-parse-device-names):
16862 Use `start-process' instead of `call-process'. Otherwise, the
16863 function might be blocked under MS Windows. (Bug#13299)
16865 2013-03-17 Leo Liu <sdl.web@gmail.com>
16867 Extend eldoc to display info in the mode-line. (Bug#13978)
16868 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16869 (eldoc-mode-line-string): New variable.
16870 (eldoc-minibuffer-message): New function.
16871 (eldoc-message-function): New variable.
16872 (eldoc-message): Use it.
16873 (eldoc-display-message-p)
16874 (eldoc-display-message-no-interference-p):
16875 Support eldoc-post-insert-mode.
16877 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16878 (eval-expression): Run it.
16880 2013-03-17 Roland Winkler <winkler@gnu.org>
16882 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16883 strings in the list of return values.
16885 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16887 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16888 radix before checking for HMS forms.
16890 2013-03-16 Leo Liu <sdl.web@gmail.com>
16892 * progmodes/scheme.el: Add indentation and font-locking for λ.
16895 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16897 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16898 token before point (bug#13942).
16900 2013-03-16 Leo Liu <sdl.web@gmail.com>
16902 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16904 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16906 * startup.el (command-line-normalize-file-name): Fix handling of
16907 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16908 <xfq.free@gmail.com> in
16909 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16911 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16913 Sync with Tramp 2.2.7.
16915 * net/trampver.el: Update release number.
16917 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16919 * doc-view.el: Fix bug#13887.
16920 (doc-view-insert-image): Don't modify overlay associated to
16921 non-live windows, and implement horizontal centering of image in
16922 case it's smaller than the window.
16923 (doc-view-new-window-function): Force redisplay of new windows on
16926 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16928 * saveplace.el (save-place-alist-to-file): Don't sort
16929 `save-place-alist', just pretty-print it (bug#13882).
16931 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16933 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16934 Check whether `default-file-name-coding-system' is bound.
16935 It isn't in XEmacs.
16937 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16939 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16940 backquotes for `obsolete' (bug#13929).
16942 * international/mule.el (find-auto-coding): Include file name in
16943 obsolescence warning (bug#13922).
16945 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16947 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16948 for CFEngine 3-specific indentation.
16949 (cfengine3-indent-line): Use it. Fix up category regex.
16950 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16952 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16954 * type-break.el (type-break-file-name):
16955 * textmodes/remember.el (remember-data-file):
16956 * strokes.el (strokes-file):
16957 * shadowfile.el (shadow-initialize):
16958 * saveplace.el (save-place-file):
16959 * ps-bdf.el (bdf-cache-file):
16960 * progmodes/idlwave.el (idlwave-config-directory):
16961 * net/quickurl.el (quickurl-url-file):
16962 * international/kkc.el (kkc-init-file-name):
16963 * ido.el (ido-save-directory-list-file):
16964 * emulation/viper.el (viper-custom-file-name):
16965 * emulation/vip.el (vip-startup-file):
16966 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16967 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16969 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16971 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16972 * language/thai-word.el: Switch to UTF-8.
16974 See ChangeLog.16 for earlier changes.
16976 ;; Local Variables:
16980 Copyright (C) 2011-2015 Free Software Foundation, Inc.
16982 This file is part of GNU Emacs.
16984 GNU Emacs is free software: you can redistribute it and/or modify
16985 it under the terms of the GNU General Public License as published by
16986 the Free Software Foundation, either version 3 of the License, or
16987 (at your option) any later version.
16989 GNU Emacs is distributed in the hope that it will be useful,
16990 but WITHOUT ANY WARRANTY; without even the implied warranty of
16991 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16992 GNU General Public License for more details.
16994 You should have received a copy of the GNU General Public License
16995 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.