1 2015-02-04 Eli Zaretskii <eliz@gnu.org>
3 * textmodes/artist.el (artist-ellipse-compute-fill-info): Use
4 mapcar, not mapc, to create the other half of fill-info.
7 2015-02-04 Nicolas Petton <nicolas@petton.fr>
9 * emacs-lisp/authors.el (authors-ignored-files)
10 (authors-renamed-files-alist): Additions.
12 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
14 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
15 tempfile for ControlPath. (Bug#19702)
17 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
19 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
20 ControlPath if possible. (Bug#19702)
22 2015-02-02 Glenn Morris <rgm@gnu.org>
24 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
25 (authors-valid-file-names, authors-renamed-files-alist): Additions.
27 2015-02-01 Alan Mackenzie <acm@muc.de>
29 CC Mode: Stop Font Lock forcing fontification from BOL. Fixes
32 * progmodes/cc-mode.el (c-font-lock-init): Setq
33 font-lock-extend-region-functions to nil.
35 2015-01-31 Alan Mackenzie <acm@muc.de>
37 Handle "#" operator properly inside macro. Fix coding bug.
39 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
40 finding a "#" which looks like the start of a macro, check it
41 isn't already inside a macro.
43 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
44 "safe" position into the list of them when this is beyond our
47 2015-01-31 Martin Rudalics <rudalics@gmx.at>
49 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
50 the menu frame is dead. (Bug#19728)
52 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
54 python.el: Handle tabs in python-indent-dedent-line.
56 * progmodes/python.el (python-indent-dedent-line): Fixes for
57 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
59 2015-01-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
61 * progmodes/python.el (python-indent-context): Respect user
62 indentation after comment.
64 2015-01-29 Tassilo Horn <tsdh@gnu.org>
66 * textmodes/reftex-vars.el (featurep): Conditionalize value of
67 reftex-label-regexps in order to stay compatible with XEmacs 21.5
68 which has no explicitly numbered groups in regexps (bug#19714).
70 2015-01-28 Tassilo Horn <tsdh@gnu.org>
72 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
73 punctuation syntax since to allow bibtex fields with values such
74 as {Test 1) and 2)} (bug#19205, bug#19707).
75 (reftex--prepare-syntax-tables): New function.
76 (reftex-mode): Use it.
78 2015-01-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
80 python.el: New non-global state dependent indentation engine.
81 (Bug#18319, Bug#19595)
83 * progmodes/python.el (python-syntax-comment-or-string-p): Accept
85 (python-syntax-closing-paren-p): New function.
86 (python-indent-current-level)
87 (python-indent-levels): Mark obsolete.
88 (python-indent-context): Return more context cases.
89 (python-indent--calculate-indentation)
90 (python-indent--calculate-levels): New functions.
91 (python-indent-calculate-levels): Use them.
92 (python-indent-calculate-indentation, python-indent-line):
93 (python-indent-line-function): Rewritten to use new API.
94 (python-indent-dedent-line): Simplify logic.
95 (python-indent-dedent-line-backspace): Use `unless`.
96 (python-indent-toggle-levels): Delete function.
98 2015-01-22 Wolfgang Jenkner <wjenkner@inode.at>
100 * calc/calc-units.el (math-units-in-expr-p)
101 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
102 (math-extract-units): Handle the `neg' operator. (Bug#19582)
105 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change)
107 * subr.el (posnp): Correct docstring of `posnp'.
108 (posn-col-row): Make it work with all mouse position objects.
109 * textmodes/artist.el (artist-mouse-draw-continously): Cancel
110 timers if an error occurs during continuous drawing. (Bug#6130)
112 2015-01-20 Eli Zaretskii <eliz@gnu.org>
114 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
116 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
118 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
119 regardless of pcomplete-cycle-completions's value. (Bug#18950)
121 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
123 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
125 (file-notify--descriptor): New defun.
126 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
127 Adapt docstring. Handle multiple values for
128 `file-notify-descriptors' entries. (Bug#18880)
130 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
131 `file-notify-descriptors', the implementation has been changed.
133 2015-01-13 Juri Linkov <juri@linkov.net>
135 * comint.el (comint-history-isearch-search)
136 (comint-history-isearch-wrap): Use field-beginning instead of
137 comint-line-beginning-position.
138 (comint-send-input): Go to the end of the field instead of the end
139 of the line to accept whole multi-line input.
140 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
141 (comint-history-isearch-message): Use field-beginning
142 instead of comint-line-beginning-position - that's more fixes for
143 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
144 (comint-history-isearch-message): Fix args of isearch-message-prefix.
148 2015-01-09 Eli Zaretskii <eliz@gnu.org>
150 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
151 On MS-Windows, bind coding-system-for-read to the console output
152 codepage. (Bug#19458)
154 2015-01-08 Eli Zaretskii <eliz@gnu.org>
156 * simple.el (line-move-visual): When converting X pixel coordinate
157 to temporary-goal-column, adjust the value for right-to-left
158 screen lines. This fixes vertical-motion, next/prev-line, etc.
160 2015-01-06 Glenn Morris <rgm@gnu.org>
162 * progmodes/sh-script.el (sh-mode): Doc fix.
163 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
165 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
167 * emacs-lisp/package.el (package-menu-mode): Use an extra column
168 for the "Version" column, to accomodate date-and-time-based versions.
170 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
172 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
173 * files.el (shell-quote-wildcard-pattern): Also quote "`".
175 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
177 Unbreak `mouse-action' property in text buttons.
178 * button.el (push-button): Fix regression from 2012-12-06.
180 2015-01-01 Eli Zaretskii <eliz@gnu.org>
182 * tool-bar.el (tool-bar-local-item)
183 (tool-bar-local-item-from-menu): Call force-mode-line-update to
184 make sure the tool-bar changes show on display.
186 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
188 Sync with Tramp 2.2.11.
190 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
191 Make an alias for `default-toplevel-value' if it doesn't exist.
193 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
194 Use `tramp-compat-delete-directory'.
196 * net/trampver.el: Update release number.
198 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
200 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
201 for remote files. (Bug#19449)
203 2014-12-28 Eli Zaretskii <eliz@gnu.org>
205 * international/mule.el (define-coding-system): Fix typos in the
208 2014-12-28 Kenichi Handa <handa@gnu.org>
210 * international/mule.el (define-coding-system): Improve the doc
213 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
215 * progmodes/python.el (python-shell-buffer-substring): Handle
216 cornercase when region sent starts at point-min.
218 2014-12-27 Eli Zaretskii <eliz@gnu.org>
220 * language/misc-lang.el (composition-function-table): Add Syriac
221 characters and also ZWJ/ZWNJ. See
222 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
225 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
227 python.el: Fix message when sending region.
229 * progmodes/python.el (python-shell-send-region): Rename argument
230 send-main from nomain. Fix message.
231 (python-shell-send-buffer): Rename argument send-main from arg.
233 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
235 python.el: Cleanup temp files even with eval errors.
237 * progmodes/python.el (python-shell-send-file): Make file-name
238 mandatory. Fix temp file removal in the majority of cases.
240 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
242 python.el: Handle file encoding for shell.
244 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
245 (python-shell--save-temp-file): Write file with proper encoding.
246 (python-shell-buffer-substring): Add coding cookie for detected
247 encoding to generated content. Fix blank lines when removing
249 (python-shell-send-file): Handle file encoding.
250 (python-info-encoding-from-cookie)
251 (python-info-encoding): New functions.
253 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
256 Use `tramp-rsh-end-of-line', it ought to be more robust.
258 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
260 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
263 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
265 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
267 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
268 as end-of-line delimeter for passwords, when running on MS Windows.
270 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
272 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
273 of indent-line-function (bug#19433).
275 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
277 Fix line numbers on Python shell.
278 * progmodes/python.el (python-shell--save-temp-file): Do not
279 append coding cookie.
280 (python-shell-send-string): Generalize for
281 python-shell-send-region.
282 (python--use-fake-loc): Delete var.
283 (python-shell-buffer-substring): Cleanup fake-loc logic.
284 (python-shell-send-region): Remove fake-loc logic, simplify.
286 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
288 * progmodes/python.el (python-indent-post-self-insert-function):
289 Make colon to re-indent only for dedenters, handling
290 multiline-statements gracefully.
292 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
294 * net/tramp.el (tramp-handle-insert-file-contents):
295 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
297 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
299 * net/tramp-sh.el (tramp-send-command-and-read): New optional
301 (tramp-get-remote-path): Use it.
303 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
305 * subr.el (redisplay-dont-pause): Mark as obsolete.
307 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
309 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
310 (tramp-accept-process-output): Use nil as argument for
311 `accept-process-output', when there is a gateway prepended.
313 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
315 (tramp-gw-open-connection): Set process coding system 'binary.
316 (tramp-gw-open-network-stream): Handle HTTP error 403.
318 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
320 (tramp-maybe-open-connection): Set connection property "gateway".
322 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
324 * subr.el (sit-for): Tweak docstring (bug#19381).
326 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
328 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
329 stage to after `diff-index' (bug#19386).
331 2014-12-14 João Távora <joaotavora@gmail.com>
333 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
334 `electric-pair-mode' (bug#19356).
336 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
338 * simple.el (password-word-equivalents): Add "passcode", used for
339 numeric secrets like PINs or RSA tokens.
341 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
343 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
344 order to determine `tramp-own-remote-path'.
346 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
348 * progmodes/python.el (python-shell-parse-command):
349 Quote `python-shell-interpreter`. (Bug#19289)
351 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
353 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
354 of the whole pipe when indenting an opening keyword after a |.
355 Generalize this treatment to opening keywords like "while" (bug#18031).
357 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
359 * simple.el (newline): Place the hook buffer-locally,
360 to make sure it's first.
362 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
363 Fix handling of symbols with different syntax at beginning/end or with
364 symbol rather than word syntax.
366 2014-11-30 Eli Zaretskii <eliz@gnu.org>
368 * simple.el (line-move): If noninteractive, call line-move-1, not
369 forward-line, since the former is compatible with line-move-visual
370 both in terms of the column to which it moves and the return
373 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
374 Stefan Monnier <monnier@iro.umontreal.ca>
376 * outline.el (outline-move-subtree-down): Make sure we can move
377 forward to find the end of the subtree and the insertion point
380 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
382 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
383 for comment lines non-greedy and stopping at newlines to fix stack
384 overflows with large files. [Backport]
386 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
388 * progmodes/python.el (python-shell-completion-setup-code):
389 Use __builtin__ module (or builtins in Python 3) and catch all errors
390 when importing readline and rlcompleter.
392 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
394 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
395 (todo-revert-buffer): New function.
396 (todo-modes-set-1): Use it as the buffer-local value of
397 revert-buffer-function.
399 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
401 * calendar/todo-mode.el (todo-mode): If called interactively, just
402 display a message saying to call todo-show to enter Todo mode
405 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
407 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
410 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
413 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
415 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
416 remote `buffer-file-name'.
418 2014-11-23 Leo Liu <sdl.web@gmail.com>
420 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
422 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
424 Set PYTHONUNBUFFERED on shell startup.
426 * progmodes/python.el (python-shell-unbuffered): New var.
427 (python-shell-calculate-process-environment): Use it.
429 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
431 * net/tramp.el (tramp-action-password): Clean password on subsequent
432 attempts even if there was no wrong password indication. (Bug#19047)
434 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
436 (tramp-open-connection-setup-interactive-shell): No need to check
437 for nil as `tramp-get-remote-locale' return value.
439 2014-11-21 Eli Zaretskii <eliz@gnu.org>
441 * vc/vc-git.el (vc-git-command, vc-git--call):
442 Bind coding-system-for-read and coding-system-for-write to
443 vc-git-commits-coding-system.
444 (vc-git-previous-revision): Use "~1" instead of "^", since the
445 latter is a special character for MS-Windows system shells.
447 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
449 Improve XEmacs compatibility.
451 * net/tramp.el (tramp-autoload-file-name-handler):
452 Wrap `temporary-file-directory' by `symbol-value', it doesn't
454 (tramp-read-passwd): Don't use `with-timeout-suspend' and
455 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
456 (tramp-time-less-p, tramp-time-subtract): Remove functions.
457 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
458 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
459 * net/tramp-cache.el (tramp-get-file-property):
460 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
461 Use `time-less-p' and `time-subtract, respectively.
463 * net/tramp-adb.el (top): Do not require time-date.el.
465 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
467 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
468 Check, whether `utf-8' is a valid coding system.
470 2014-11-19 Eli Zaretskii <eliz@gnu.org>
472 * vc/vc.el (vc-retrieve-tag): Doc fix.
474 2014-11-17 Eli Zaretskii <eliz@gnu.org>
476 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
477 Don't assume --long is the default for "bzr log", always specify
478 it explicitly, in case the user defined an alias for 'log' that
479 uses some other format.
481 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
483 * progmodes/python.el (python-eldoc--get-doc-at-point):
484 Strip shell output before returning. (bug#18794)
486 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
488 Fix indentation before `!=' and after `+='. Originally reported
489 in https://github.com/mooz/js2-mode/issues/174.
490 * progmodes/js.el (js--indent-operator-re): Make assignments and
491 (in)equality operator a separate case.
492 (js--continued-expression-p): Escape the second `+' in the regexp.
494 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
496 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
498 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
500 * version.el (emacs-repository-get-version): Use git rev-parse
503 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
505 * progmodes/python.el (python-indent-calculate-levels):
506 Fix indentation behavior multiline dedenter statement. (Bug#18432)
508 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
510 * progmodes/python.el (python-indent-region):
511 Use python-indent-line and skip special cases. (Bug#18843)
513 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
515 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
517 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
519 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
520 envelope-from when reporting through sendmail (bug#19054).
522 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
524 * progmodes/python.el (python-ffap-module-path):
525 Use `derived-mode-p' instead of equality test on `major-mode'.
527 2014-11-13 Ulrich Müller <ulm@gentoo.org>
529 * version.el (emacs-repository-get-version): Call `git log'
530 command with proper format argument (bug#19049).
532 2014-11-10 Glenn Morris <rgm@gnu.org>
534 * startup.el (command-line): Handle nil elements in load-path.
536 2014-11-08 Glenn Morris <rgm@gnu.org>
538 * emacs-lisp/bytecomp.el (byte-compile-report-error):
539 Allow the argument to be a string. Due to the vague doc,
540 it was already being used this way.
542 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
544 * net/tramp.el (tramp-check-cached-permissions): Include hop in
545 the constructed Tramp file name. (Bug#18943)
547 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
549 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
551 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
552 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
554 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
556 * files.el (file-name-non-special): Wrap the call of
557 `insert-file-contents' by `unwind-protect', in order to set the
558 buffer's file name anyway. (Bug#18891)
560 2014-11-07 Daiki Ueno <ueno@gnu.org>
562 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
563 (bug#18979). Reported by Hideki Saito.
565 2014-10-18 Alan Mackenzie <acm@muc.de>
567 Check that a "macro" found near point-min isn't a ## operator.
568 Fixes bug #18749. Backported from trunk, 2014-11-05.
569 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
570 (c-beginning-of-macro): Use the above new function.
572 2014-11-05 Alan Mackenzie <acm@muc.de>
574 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
575 * progmodes/cc-fonts.el (c-font-lock-declarations):
576 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
577 the buffer is sometimes narrowed to less than "limit" (e.g., in
578 the presence of macros).
580 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
582 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
583 only when message appeared in minibuffer. (Bug#18891)
585 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
586 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
587 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
590 2014-11-04 Eli Zaretskii <eliz@gnu.org>
592 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
593 returned by load-average.
595 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
597 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
598 a local copy; setting `inhibit-file-name-handlers' proper might be
599 more performant. (Bug#18751)
601 2014-11-04 Glenn Morris <rgm@gnu.org>
603 * mail/emacsbug.el (report-emacs-bug): No longer include
604 recent-keys in the report. (Bug#18900)
606 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
608 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
609 local copy of FILENAME, when it is remote. (Bug#18751)
611 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
613 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
614 an error when the command fails; the return code must indicate.
615 (tramp-adb-send-command-and-check): Fix docstring.
617 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
619 * net/tramp-cache.el (tramp-get-file-property)
620 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
621 and `tramp-cache-set-count-*' are bound. Otherwise, there might
622 be compiler warnings.
624 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
625 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
627 2014-11-01 Eli Zaretskii <eliz@gnu.org>
629 * progmodes/compile.el (compilation-mode): Turn off deferred
630 fontifications locally. (Bug#18856)
632 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
634 * net/tramp-sh.el (tramp-send-command): Fix the case where the
635 remote-echo connection property is non-nil (bug#18858).
637 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
639 Backport Tramp changes from trunk.
641 * net/tramp.el (tramp-methods): Tweak docstring.
642 (tramp-file-name-handler): Apply `cons' where appropriate.
643 (tramp-handle-file-accessible-directory-p): Check for
644 `file-readable-p' instead of `file-executable-p'.
645 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
646 (tramp-handle-unhandled-file-name-directory): Return "/".
647 (tramp-check-cached-permissions):
648 Use `tramp-compat-file-attributes'.
649 (tramp-call-process): Add new argument VEC. Adapt callees in all
652 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
653 (tramp-adb-handle-write-region): Improve messages.
654 (tramp-adb-maybe-open-connection): Don't set
655 `tramp-current-*' variables.
657 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
658 Suppress debug messages.
660 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
661 (tramp-ftp-file-name-handler):
663 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
664 (tramp-gvfs-methods-mounttracker)
665 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
666 during initialization. (Bug#18774)
667 (tramp-gvfs-handle-delete-file): Flush file properties, not
668 directory properties.
669 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
670 reading "unix::mode".
671 (tramp-gvfs-handle-file-name-all-completions):
672 Use "-h" option for "gvfs-ls".
673 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
674 `user' and `localname' could be nil.
675 (tramp-gvfs-send-command): Simplify traces.
677 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
678 (vc-git-program, vc-hg-program): Declare.
679 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
680 (tramp-methods) <nc>: Add new method.
681 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
682 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
684 (tramp-default-user-alist): Add "nc".
685 (top): Remove completion function for "sftp". Add completion
686 functions for "nc" and "psftp".
687 (tramp-sh-handle-set-visited-file-modtime):
688 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
689 (tramp-do-copy-or-rename-file-out-of-band):
690 Use cached "remote-copy-args" value, if available. (Bug#18199)
691 Tweak docstring. Implement support for "nc" method.
692 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
693 (tramp-remote-coding-commands, tramp-call-local-coding-command):
695 (tramp-sh-handle-start-file-process): Expand `default-directory'.
696 (tramp-sh-handle-write-region): Tweak error message.
697 (tramp-sh-handle-vc-registered): Remove backends when the remote
698 binary does not exist.
699 (tramp-open-connection-setup-interactive-shell):
700 Prefer utf-8 coding. (Bug#17859)
701 (tramp-find-inline-encoding): Do not raise an error.
702 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
703 the "nc" case. Quote result also locally.
704 (tramp-get-remote-id): Check also for "gid".
705 (tramp-get-remote-python):
707 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
708 (tramp-smb-handle-set-file-acl): Use `start-process'.
709 (tramp-smb-handle-insert-directory): Use progress reporter.
710 (tramp-smb-handle-rename-file): Flush also file properties of
713 * net/trampver.el: Update release number.
715 2014-11-01 Reuben Thomas <rrt@sc3d.org>
717 * net/tramp.el (tramp-handle-file-symlink-p):
718 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
719 about VMS, which we no longer support.
721 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
723 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
724 the global vc-handled-backends (bug#18535).
726 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
727 Michael Albinus <michael.albinus@gmx.de>
729 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
730 Reduce the amount of set environment variable commands.
732 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
734 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
737 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
739 * net/tramp-sh.el (tramp-get-remote-python): Also search for
740 executables named "python2" or "python3".
741 (tramp-get-remote-uid-with-python): Use parentheses around
742 arguments to `print' to make it compatible with Python 3.
743 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
745 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
747 * simple.el (newline): Add assertions to try and help catch bug#18913.
749 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
751 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
753 2014-10-31 Eli Zaretskii <eliz@gnu.org>
755 * Makefile.in (repo-update): Fix a typo and slightly reword
758 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
760 * Makefile.in: Change some production names so they're neutral
761 about the repository type.
763 2014-10-30 Kim F. Storm <storm@cua.dk>
765 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
766 * delsel.el (delete-selection-save-to-register)
767 (delsel--replace-text-or-position): New vars.
768 (delete-active-region): Use them.
769 (delete-selection-repeat-replace-region): New command, moved from
771 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
772 (cua-repeat-replace-region): Move command to delsel.el.
773 (cua--init-keymaps): Update binding accordingly.
774 (cua-mode): Set delete-selection-save-to-register.
776 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
778 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
780 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
782 2014-10-29 Eli Zaretskii <eliz@gnu.org>
784 * progmodes/compile.el (compilation-start):
785 If compilation-scroll-output is non-nil, don't force window-start of
786 the compilation buffer to be at beginning of buffer. (Bug#18874)
788 2014-10-23 Tassilo Horn <tsdh@gnu.org>
790 * doc-view.el (doc-view-open-text): View the document's plain text
791 in the current buffer instead of a new one.
792 (doc-view-toggle-display): Handle the case where the current
793 buffer contains the plain text contents of the document.
794 (doc-view-initiate-display): Don't switch to fallback mode if the
795 user wants to view the doc's plain text. [Backport]
797 2014-10-23 Eli Zaretskii <eliz@gnu.org>
799 * startup.el (fancy-about-text): Read the entire tutorial, not
800 just its first 256 bytes. (Bug#18760)
802 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
804 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
805 * emacs-lisp/cl-extra.el: Add missing provide.
807 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
809 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
810 all args are copyable (bug#18767).
811 (=, <, >, <=, >=): Re-enable the optimization.
813 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
815 * vc/vc-hg.el (vc-hg-log-graph): New var.
816 (vc-hg-print-log): Use it.
817 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
818 graph output (bug#17515).
820 2014-10-20 Juri Linkov <juri@jurta.org>
822 * vc/diff-mode.el (diff-refine-changed): Rename from
823 `diff-refine-change' for consistency with `diff-changed'.
824 (diff-refine-change): Add obsolete face alias. (Bug#10181)
826 * vc/smerge-mode.el (smerge-refined-changed): Rename from
827 `smerge-refined-change'.
828 (smerge-refined-change): Add obsolete face alias.
830 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
832 * subr.el (call-process-shell-command, process-file-shell-command):
833 Make the `args' obsolete (bug#18409).
834 (start-process-shell-command, start-file-process-shell-command):
837 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
839 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
841 2014-10-20 Glenn Morris <rgm@gnu.org>
843 * dired.el (dired-read-regexp): Make obsolete.
844 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
845 (dired-flag-files-regexp):
846 * dired-aux.el (dired-mark-read-regexp):
847 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
849 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
851 * progmodes/python.el (inferior-python-mode): Use add-hook.
853 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
855 2014-10-20 Glenn Morris <rgm@gnu.org>
857 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
858 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
859 * emulation/ws-mode.el: Move to obsolete/. [Backport]
861 2014-10-20 Glenn Morris <rgm@gnu.org>
863 * cus-start.el (history-length): Bump :version. [Backport]
865 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
867 * obsolete/cc-compat.el: Make obsolete (bug#18561).
869 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
871 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
874 2014-10-20 Glenn Morris <rgm@gnu.org>
876 * Version 24.4 released.
878 2014-10-15 Alan Mackenzie <acm@muc.de>
880 * cus-edit.el (custom-command-apply): Specify the return value in
882 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
883 custom-command-apply has returned non-nil.
885 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
887 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
888 Backported (bug#18688).
890 2014-10-14 Eli Zaretskii <eliz@gnu.org>
892 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
893 Force bidi-paragraph-direction to 'left-to-right'. This fixes
894 buffer-menu display when the first buffer happens to start with
897 2014-10-13 Glenn Morris <rgm@gnu.org>
899 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
900 (authors-obsolete-files-regexps): Additions.
901 (authors-no-scan-regexps): New constant.
902 (authors-no-scan-file-p): New function.
903 (authors): Respect authors-no-scan-file-p.
905 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
907 Fix import completion. (Bug#18582)
908 * progmodes/python.el (python-shell-completion-get-completions):
909 Fix import case regexp.
911 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
913 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
914 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
915 * progmodes/prolog.el (prolog-electric--underscore): Same.
917 2014-10-09 Glenn Morris <rgm@gnu.org>
919 * frame.el (display-monitor-attributes-list): Doc tweaks.
921 2014-10-08 Eli Zaretskii <eliz@gnu.org>
923 * faces.el (display-grayscale-p): Mention in the doc string that
924 the argument can be either a display name or a frame.
926 * frame.el (display-pixel-height, display-pixel-width)
927 (display-mm-height, display-mm-width, display-backing-store)
928 (display-save-under, display-planes, display-color-cells)
929 (display-visual-class, display-monitor-attributes-list)
930 (display-screens): Mention in the doc string that the argument can
931 be either a display name or a frame. Improve the docs of the
932 monitor attributes. (Bug#18636)
934 2014-10-06 Martin Rudalics <rudalics@gmx.at>
936 * term.el (term-window-width): Subtract 1 from the width when
937 any fringe has zero width, not just the right fringe. (Bug#18601)
939 2014-10-05 Leo Liu <sdl.web@gmail.com>
941 * imenu.el (imenu-default-goto-function): Fix typo.
943 2014-10-04 Glenn Morris <rgm@gnu.org>
945 * frame.el (frame-monitor-attributes)
946 (display-monitor-attributes-list): Doc fixes.
948 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
950 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
951 (vc-svn-ignore): Use it. (Bug#18619)
953 2014-10-03 Martin Rudalics <rudalics@gmx.at>
955 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
956 In doc-string mention need to set `frame-resize-pixelwise'.
958 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
960 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
961 similarly to Rogers's 2010-06-16 change for the remote case
964 2014-10-01 Glenn Morris <rgm@gnu.org>
966 * emacs-lisp/package.el (package-import-keyring):
967 Create gnupg directory private. (Bug#17625#155)
969 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
971 * progmodes/python.el (python-shell-completion-get-completions):
972 Use python-shell--prompt-calculated-input-regexp from the
973 process buffer (bug#18582).
974 Don't assume that `line' comes from the process buffer.
976 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
978 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
981 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
983 * emacs-lisp/package.el (package-check-signature): Default to nil if
984 GPG is not available.
985 (package-refresh-contents): Don't mess with the keyring if we won't
986 check the signatures anyway.
988 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
990 * window.el (fit-window-to-buffer): When counting buffer width,
991 count the whole visible buffer. Correctly convert the body-height
992 to pixel size for window-text-pixel-size (Bug#18498).
994 2014-09-14 Glenn Morris <rgm@gnu.org>
996 * image.el (image-multi-frame-p): Fix thinko - do not force
997 a delay if none was specified. (Bug#18334)
999 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
1001 * window.el (fit-window-to-buffer): Doc fix.
1003 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
1005 * desktop.el (desktop-create-buffer): Check that buffers are still live
1006 before burying them (bug#18373).
1008 2014-09-09 Glenn Morris <rgm@gnu.org>
1010 * calendar/diary-lib.el (diary-list-entries):
1011 Restore 24.3 display behavior. (Bug#18381)
1013 2014-09-09 Eli Zaretskii <eliz@gnu.org>
1015 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
1016 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
1017 discrepancy between window-pixel-edges and mouse events, and
1018 avoids moving mode line up when the mouse click is on the modeline
1019 and no drag is attempted.
1021 2014-09-08 Glenn Morris <rgm@gnu.org>
1023 * calendar/calendar.el (calendar-basic-setup):
1024 Avoid clobbering calendar with diary. (Bug#18381)
1026 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
1030 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
1032 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
1033 as well (bug#18400).
1035 2014-09-04 Eli Zaretskii <eliz@gnu.org>
1037 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
1039 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1041 * emacs-lisp/package.el (package-generate-description-file):
1042 Properly quote the arguments (bug#18332). Change second arg.
1043 (package--alist-to-plist-args): Rename from package--alist-to-plist and
1045 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
1046 the *-pkg.el file. Adjust to new calling convention of
1047 package-generate-description-file.
1049 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
1050 (gud-gdb-completions): Remove obsolete workaround.
1052 2014-09-02 Eli Zaretskii <eliz@gnu.org>
1054 * subr.el (posn-col-row): Revert the change from commit
1055 2010-11-13T21:07:58Z!eliz@gnu.org, which
1056 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
1057 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
1058 introduced an off-by-one error in the reported row when there is a
1059 header line. (Bug#18384)
1061 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1063 * progmodes/python.el (python-indent-post-self-insert-function):
1064 Avoid electric colon at beginning-of-defun. (Bug#18228)
1066 2014-09-01 Glenn Morris <rgm@gnu.org>
1068 * tutorial.el (tutorial--display-changes):
1069 Fix 2014-07-29 change. (Bug#18382)
1071 2014-08-29 Ken Brown <kbrown@cornell.edu>
1073 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
1074 the Cygwin-w32 build. (Bug#18347)
1076 2014-08-28 Glenn Morris <rgm@gnu.org>
1078 * tar-mode.el (tar--extract, tar-extract):
1079 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
1081 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
1083 * emacs-lisp/authors.el (authors-aliases): Addition.
1085 * net/tramp-adb.el: Spell author name correctly.
1087 2014-08-27 João Távora <joaotavora@gmail.com>
1089 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
1090 use url-expand-file-name. (Bug#18310)
1092 2014-08-25 Glenn Morris <rgm@gnu.org>
1094 * emulation/cua-rect.el (cua--highlight-rectangle):
1095 Avoid error at point-min. (Bug#18309)
1097 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
1100 executable-find (bug#18244).
1102 * simple.el (self-insert-uses-region-functions): Defvar.
1104 2014-08-13 Leo Liu <sdl.web@gmail.com>
1106 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1107 elements from imenu.
1109 2014-08-11 Glenn Morris <rgm@gnu.org>
1111 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1113 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1114 chose coding system for writing before backing up, since it causes
1115 a more serious problem than the one it solves. (Closes Bug#18141,
1118 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1120 * window.el (window-total-size): Make doc-string more
1123 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1125 * window.el (display-buffer-below-selected): Restore original
1126 behavior if buffer is already displayed in the window below the
1127 selected one (Bug#18181).
1129 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1134 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1136 * info.el (info): Doc fix.
1138 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1143 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1145 * simple.el (default-line-height): A floating-point value of
1146 line-spacing means a fraction of the default frame font's height,
1147 not of the font currently used by the 'default' face.
1148 Truncate the pixel value, like the display engine does.
1149 (window-screen-lines): Use window-inside-pixel-edges for
1150 determining the window height in pixels. (Bug#18195)
1152 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1154 * tutorial.el (tutorial--display-changes): Accept punctuation
1155 characters before the key binding. (Bug#18146)
1157 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1159 * doc-view.el (doc-view-open-text): Don't require that the
1160 document is saved in a file (e.g., email attachment).
1162 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1164 * window.el (window--pixel-to-total): Use FRAME's root window, not
1165 that of the selected frame. (Bug#18112, Bug#16674)
1167 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1169 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1172 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1174 * progmodes/python.el (inferior-python-mode): Doc fix.
1176 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1178 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1179 not a character, ignore it instead of raising an error.
1181 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1183 * calendar/todo-mode.el: Fix handling of marked items and make
1184 minor code improvements.
1185 (todo-edit-item): If there are marked items, ensure user can only
1186 invoke editing commands that work with marked items.
1187 (todo-edit-item--text): When there are marked items, make it a
1188 noop if invoked with point not on an item; otherwise, ensure it
1189 applies only to item at point.
1190 (todo-item-undone): If there are marked not-done items, return
1191 point to its original position before signaling user error.
1192 (todo--user-error-if-marked-done-item): New function.
1193 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1194 (todo-item-done): Use it.
1196 2014-07-25 Glenn Morris <rgm@gnu.org>
1198 * files.el (toggle-read-only): Re-add basic doc-string.
1199 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1201 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1202 Replace missing `switch-to-prolog' with `run-prolog'.
1203 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1205 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1207 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1208 of file-wide setting when changing category-wide setting.
1210 2014-07-21 Glenn Morris <rgm@gnu.org>
1212 * progmodes/hideif.el (hide-ifdef-mode-submap):
1213 Also substitute read-only-mode.
1214 * bindings.el (mode-line-toggle-read-only):
1215 * bs.el (bs-toggle-readonly):
1216 * buff-menu.el (Buffer-menu-toggle-read-only):
1217 * dired.el (dired-toggle-read-only):
1218 * files.el (view-read-only, find-file-read-only)
1219 (find-file-read-only-other-window)
1220 (find-file-read-only-other-frame):
1221 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1222 Doc fixes re toggle-read-only.
1224 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1226 * progmodes/python.el: Add comment about pipe buffering and
1227 solutions for missing/delayed output in inferior Python shells.
1230 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1232 * progmodes/python.el (python-mode): Don't set
1233 mode-require-final-newline. (Bug#17990)
1235 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1237 Make python.el work with IPython automatically. (Bug#15510)
1238 * progmodes/python.el:
1239 (python-shell-completion-setup-code): New value supporting iPython.
1240 (python-shell-completion-string-code): New value supporting iPython.
1241 (python-shell-completion-get-completions): Use them.
1242 (python-shell-completion-module-string-code): Make obsolete.
1243 (python-shell-prompt-input-regexps)
1244 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1245 (python-shell-output-filter): Fix comment typo.
1247 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1249 Fix Python shell prompts detection for remote hosts.
1250 * progmodes/python.el (python-shell-prompt-detect):
1251 Replace call-process with process-file and make it more robust.
1253 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1255 Autodetect Python shell prompts. (Bug#17370)
1256 * progmodes/python.el:
1257 (python-shell-interpreter-interactive-arg)
1258 (python-shell-prompt-detect-enabled)
1259 (python-shell-prompt-detect-failure-warning)
1260 (python-shell-prompt-input-regexps)
1261 (python-shell-prompt-output-regexps): New vars.
1262 (python-shell-prompt-calculated-input-regexp)
1263 (python-shell-prompt-calculated-output-regexp): New vars.
1264 (python-shell-get-process-name)
1265 (python-shell-internal-get-process-name)
1266 (python-shell-output-filter)
1267 (python-shell-completion-get-completions): Use them.
1268 (python-shell-prompt-detect)
1269 (python-shell-prompt-validate-regexps): New functions.
1270 (python-shell-prompt-set-calculated-regexps): New function.
1271 (inferior-python-mode): Use it. Also honor overridden
1272 python-shell-interpreter and python-shell-interpreter-args.
1273 (python-shell-make-comint): Honor overridden
1274 python-shell-interpreter and python-shell-interpreter-args.
1275 (python-shell-get-or-create-process): Make it testable by allowing
1276 to call run-python non-interactively.
1277 (python-util-valid-regexp-p): New function.
1278 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1279 (python-shell-prompt-output-regexp)
1280 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1282 2014-07-16 Glenn Morris <rgm@gnu.org>
1284 * desktop.el (after-init-hook): Disable startup frame restoration
1285 in non-graphical situations. (Bug#17693)
1287 2014-07-14 Glenn Morris <rgm@gnu.org>
1289 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1290 if it was "empty", or used for a different set of files. (Bug#17884)
1292 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1294 * bindings.el (mode-line-remote): If default-directory is not a
1295 string, don't call file-remote-p on it; instead state in the
1296 help-echo that it is nil. (Bug#17986)
1298 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1300 Fix bug: C-x v v discarded existing log message (Bug#17884).
1301 * vc/vc-dispatcher.el (vc-log-edit):
1302 Don't clobber an already-existing log message.
1304 2014-07-10 Glenn Morris <rgm@gnu.org>
1306 * vc/log-edit.el (log-edit-changelog-entries):
1307 Check for a visited-but-never-saved ChangeLog.
1309 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1312 a non-existing file (bug#17970).
1314 * faces.el (face-name): Undo last change.
1315 (x-resolve-font-name): Don't call face-name (bug#17956).
1317 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1319 Fix dedenters and electric colon handling. (Bug#15163)
1321 * progmodes/python.el
1322 (python-rx-constituents): Add dedenter and block-ender.
1323 (python-indent-dedenters, python-indent-block-enders): Delete.
1324 (python-indent-context): Return new case for dedenter-statement.
1325 (python-indent-calculate-indentation): Handle new case.
1326 (python-indent-calculate-levels): Fix levels calculation for
1327 dedenter statements.
1328 (python-indent-post-self-insert-function): Fix colon handling.
1329 (python-info-dedenter-opening-block-message): New function.
1330 (python-indent-line): Use it.
1331 (python-info-closing-block)
1332 (python-info-closing-block-message): Remove.
1333 (python-info-dedenter-opening-block-position)
1334 (python-info-dedenter-opening-block-positions)
1335 (python-info-dedenter-statement-p): New functions.
1337 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1339 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1340 the middle of a line (bug#17896).
1342 2014-07-08 Juri Linkov <juri@jurta.org>
1344 * startup.el (command-line): Append displaying the warning about
1345 the errors in the init file to the end of `after-init-hook'.
1348 2014-07-08 Juri Linkov <juri@jurta.org>
1350 * faces.el (face-name): Return input arg `face' as is
1351 when it's not a symbol.
1352 (x-resolve-font-name): Don't check if the face is a symbol.
1355 2014-07-08 Juri Linkov <juri@jurta.org>
1357 * facemenu.el (list-colors-print): In help-echo format use %.2f
1358 instead of %d because now HSV values are floating-point components
1359 between 0.0 and 1.0.
1361 2014-07-06 Glenn Morris <rgm@gnu.org>
1363 * emulation/cua-rect.el (cua--activate-rectangle):
1364 Avoid setting cua--rectangle to nil. (Bug#17877)
1366 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1368 * calendar/todo-mode.el: Fix wrong-type-argument error when
1369 marking multiple consecutive items.
1370 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1371 end of the todo and done items sections. Note in doc string that
1372 items marked by passing a numeric prefix argument can include the
1373 last todo and first done items.
1374 (todo-mark-category): Don't try to mark the empty line between the
1375 todo and done items sections.
1377 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1380 proper Lisp quoting (bug#17934).
1382 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1383 require-final-newline since prog-mode already took care of it (bug#17947).
1385 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1387 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1388 refer to the Todo mode Info manual. Update the comment on
1390 (todo-find-filtered-items-file): Add todo-prefix overlays.
1391 (todo-filter-items): Reorder a let-bound variable to avoid a
1392 wrong-type-argument error on canceling the file choice dialog.
1394 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1396 * progmodes/octave.el (inferior-octave-mode):
1397 Set comint-input-ring-size to a number (bug#17912).
1399 2014-07-03 Juri Linkov <juri@jurta.org>
1401 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1402 and `isearch-mode' associated with nil. (Bug#17849)
1404 2014-07-02 Juri Linkov <juri@jurta.org>
1406 * desktop.el (desktop-save): Rename arg `auto-save' to
1407 `only-if-changed'. Doc fix. (Bug#17873)
1409 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1412 Use insert-for-yank (bug#17271).
1414 2014-07-02 Leo Liu <sdl.web@gmail.com>
1416 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1417 Support lexical-binding.
1419 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1421 * vc/log-edit.el (log-edit-goto-eoh): New function.
1422 (log-edit--match-first-line): Use it (bug#17861).
1424 2014-07-01 Glenn Morris <rgm@gnu.org>
1426 * vc/log-edit.el (log-edit-hook): Add missing :version.
1428 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1430 * progmodes/python.el (python-indent-post-self-insert-function):
1431 Enhancements to electric indentation behavior inside
1434 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1437 buffer-invisibility-spec (bug#17867).
1439 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1441 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1444 2014-06-29 Glenn Morris <rgm@gnu.org>
1446 * cus-edit.el (help):
1447 * finder.el (finder-known-keywords):
1448 * help.el (help-for-help-internal):
1449 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1450 (ediff-redraw-registry-buffer):
1451 * vc/ediff-ptch.el (ediff-patch-file-internal):
1452 Doc fixes re "online" help. (Bug#17803)
1454 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1455 (idlwave-mode): Doc URL update.
1457 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1459 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1460 account for file-wide setting of todo-top-priorities-overrides.
1461 Make code a bit cleaner.
1463 2014-06-27 Leo Liu <sdl.web@gmail.com>
1465 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1467 2014-06-27 Glenn Morris <rgm@gnu.org>
1469 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1471 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1473 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1474 category-wide setting of todo-top-priorities-overrides, check for
1475 a file-wide setting and fontify accordingly.
1477 2014-06-26 Glenn Morris <rgm@gnu.org>
1479 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1481 2014-06-26 Daiki Ueno <ueno@gnu.org>
1483 * emacs-lisp/package.el (package--check-signature):
1484 If package-check-signature is allow-unsigned, don't signal error when
1485 we can't verify signature because of missing public key
1486 (backport for bug#17625).
1488 2014-06-26 Glenn Morris <rgm@gnu.org>
1490 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1491 Remove outdated declaration.
1493 * emacs-lisp/authors.el (authors-valid-file-names)
1494 (authors-renamed-files-alist): Additions.
1496 2014-06-25 Leo Liu <sdl.web@gmail.com>
1498 * textmodes/picture.el (picture-set-tab-stops):
1499 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1500 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1502 * progmodes/asm-mode.el (asm-calculate-indentation):
1503 Use indent-next-tab-stop.
1505 * indent.el (indent-accumulate-tab-stops): New function.
1507 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1509 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1510 (package-desc-status): Obey it.
1512 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1514 * calendar/todo-mode.el: Fix two bugs.
1515 (todo-insert-item--basic): If user cancels item insertion to
1516 another category before setting priority, show original category
1517 whether it is in the same or a different file.
1518 (todo-set-item-priority): After selecting category, instead of
1519 moving point to top, which extends an active region, restore it.
1521 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1523 * help-fns.el (describe-function-1): Check file-name is a string before
1524 calling help-fns--autoloaded-p (bug#17564).
1526 2014-06-24 Juri Linkov <juri@jurta.org>
1528 * desktop.el (desktop-auto-save-enable)
1529 (desktop-auto-save-disable): New functions.
1530 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1531 (desktop-read): Disable the autosave before loading the desktop,
1532 and enable afterwards. (Bug#17351)
1534 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1536 Fix some indentation problem with \; and pipes (bug#17842).
1537 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1538 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1540 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1541 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1542 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1544 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1546 * international/fontset.el (script-representative-chars):
1547 Add representative characters for scripts added in Unicode 7.0.
1548 (otf-script-alist): Synchronize with the latest registry of OTF
1551 * international/characters.el (char-script-table): Update for
1552 scripts added and codepoint ranges changed in Unicode 7.0.
1554 2014-06-23 Leo Liu <sdl.web@gmail.com>
1556 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1557 tab-stop-list to nil. (Bug#16381)
1559 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1560 (indent-rigidly-left-to-tab-stop)
1561 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1562 (move-to-tab-stop): Change callers.
1564 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1566 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1567 wrt behavior of \n as the first/last element of a skeleton.
1569 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1571 * net/tramp-adb.el (tramp-adb-handle-process-file):
1572 * net/tramp-sh.el (tramp-sh-handle-process-file):
1573 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1574 the output buffer when DISPLAY is non-nil. (Bug#17815)
1576 2014-06-21 Glenn Morris <rgm@gnu.org>
1578 * play/landmark.el (landmark-move-down, landmark-move-up):
1579 Fix 2007-10-20 change - preserve horizontal position.
1581 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1583 Fix completion retrieval parsing (bug#17209).
1584 * progmodes/python.el (python-mode):
1585 (python-util-strip-string): New function.
1586 (python-shell-completion-get-completions): Use it.
1588 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1590 * skeleton.el (skeleton-insert): Fix last change.
1592 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1594 Enhancements for outline integration (bug#17796).
1595 * progmodes/python.el (python-mode): Properly set
1596 outline-heading-end-regexp so that comments after colons for
1597 defuns are supported.
1599 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1601 * skeleton.el (skeleton-insert): Doc fix.
1603 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1606 (smie-config-guess): Use smie-config-local so the rules are obeyed
1609 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1610 since it's already done inside the loop (bug#17819).
1612 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1614 * mouse.el (mouse-drag-line): Re-remove code initially removed
1615 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1618 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1621 align with the surrounding parent (bug#17721).
1623 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1625 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1627 (texinfo-insert-block, texinfo-insert-@end)
1628 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1629 local setting of skeleton-end-newline by adding an explicit \n to
1630 the skeletons where appropriate. (Bug#17801)
1632 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1635 (smie-indent--hanging-p): Use it.
1636 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1638 2014-06-20 Leo Liu <sdl.web@gmail.com>
1640 * simple.el (read-quoted-char): Don't let help chars pop up help
1643 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1645 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1648 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1650 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1651 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1654 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1656 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1657 and later. (Bug#17790)
1659 2014-06-18 Juri Linkov <juri@jurta.org>
1661 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1662 to `soft'. (Bug#17554)
1664 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1669 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1671 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1672 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1674 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1676 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1677 `unread-command-events'.
1679 2014-06-14 Glenn Morris <rgm@gnu.org>
1681 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1682 Replace delete-duplicates and mapcan by cl- versions throughout.
1683 And cl-macroexpand-all by macroexpand-all.
1684 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1686 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1688 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1690 2014-06-14 Juri Linkov <juri@jurta.org>
1692 * bindings.el: Put `ascii-character' property on keypad keys
1693 mapped to characters. (Bug#17759)
1695 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1697 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1698 bumping forward into a closing paren (bug#17761).
1700 * term/xterm.el (xterm--version-handler): Work around for OSX
1701 Terminal.app (bug#17607).
1703 2014-06-08 Glenn Morris <rgm@gnu.org>
1705 * startup.el (initial-buffer-choice): Doc fix.
1706 Reset :version (adding an option does not merit a :version bump).
1708 * bookmark.el (bookmark-load):
1709 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1711 2014-06-06 Juri Linkov <juri@jurta.org>
1713 * desktop.el: Activate auto-saving on window configuration changes.
1714 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1715 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1716 (desktop-auto-save-set-timer): Change REPEAT arg of
1717 `run-with-idle-timer' from t to nil.
1718 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1720 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1722 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1723 vc-hg-command (bug#17570).
1725 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1730 2014-06-06 Glenn Morris <rgm@gnu.org>
1732 * startup.el (window-setup-hook): Doc fix.
1734 2014-06-05 Glenn Morris <rgm@gnu.org>
1736 * emacs-lisp/package.el (package-check-signature)
1737 (package-unsigned-archives): Doc fixes.
1739 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1741 * window.el (display-buffer-use-some-window): Don't make window
1742 used smaller than it was before (Bug#17671).
1744 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1746 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1747 'redisplay' instead of '(sit-for 0)'.
1749 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1751 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1754 2014-06-03 Glenn Morris <rgm@gnu.org>
1756 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1758 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1760 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1762 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1764 * simple.el (keyboard-quit): Force update of mode lines, to remove
1765 the "Def" indicator, if we were defining a macro. (Bug#17615)
1767 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * minibuffer.el (minibuffer-force-complete-and-exit):
1770 Obey minibuffer-default (bug#17545).
1772 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1775 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1777 * subr.el (set-transient-map): Don't wait for some "nested"
1778 transient-map to finish if we're only supposed to be active for
1779 the next command (bug#17642).
1781 2014-05-31 Leo Liu <sdl.web@gmail.com>
1783 * emacs-lisp/gv.el (window-buffer, window-display-table)
1784 (window-dedicated-p, window-hscroll, window-point, window-start):
1785 Fix gv-expander. (Bug#17630)
1787 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1789 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1792 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1793 for the single comma, since ", " is *very* common in normal French text
1796 2014-05-30 Glenn Morris <rgm@gnu.org>
1798 * emacs-lisp/package.el (package-check-signature)
1799 (package-unsigned-archives): Fix :version.
1801 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1803 * subr.el (sit-for): Don't run input-methods (bug#15614).
1805 2014-05-28 Glenn Morris <rgm@gnu.org>
1807 * cus-start.el: Fix some :version numbers.
1809 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * simple.el (deactivate-mark): Set mark-active to nil even if
1812 deactivation is done via setting transient-mark-mode to nil,
1813 since one is buffer-local and the other is global.
1815 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1816 there can't be more than 2 arguments (bug#17584).
1818 2014-05-27 Glenn Morris <rgm@gnu.org>
1820 * simple.el (filter-buffer-substring-functions)
1821 (filter-buffer-substring-function, buffer-substring-filters)
1822 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1824 * minibuffer.el (completion-in-region-functions, completion-in-region)
1825 (completion--in-region): Doc fixes.
1827 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1828 (expand-abbrev, abbrev--default-expand): Doc fixes.
1830 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1832 Include sources used to create macuvs.h.
1833 * international/README: Refer to the Unicode Terms of Use rather
1834 than copying it bodily here, as that simplifies maintenance.
1836 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1838 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1840 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1842 * window.el (window--dump-frame): Remove interactive
1845 2014-05-23 Glenn Morris <rgm@gnu.org>
1847 * hippie-exp.el (he-line-search-regexp):
1848 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1850 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1852 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1853 to avoid errors when trying to create or visit a file foo.todo
1854 located outside to todo-directory, and to allow having such files
1855 without them being tied to Todo mode (bug#17482).
1856 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1857 (todo-archive-done-item, todo-find-filtered-items-file)
1858 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1859 (todo-category-completions, todo-read-category): When visiting a
1860 Todo file, make sure we're in the right mode and the buffer local
1862 (todo-make-categories-list, todo-reset-nondiary-marker)
1863 (todo-reset-done-string, todo-reset-comment-string):
1864 After processing all Todo files, kill the buffers of those files that
1865 weren't being visited before the processing.
1866 (todo-display-as-todo-file, todo-add-to-buffer-list)
1867 (todo-visit-files-commands): Comment out.
1868 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1869 (auto-mode-alist): Remove add-to-list calls making Todo file
1870 extensions unrestrictedly tied to Todo modes.
1872 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1874 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1875 (advice-function-member-p): Tell it to check both names and functions
1877 (advice--add-function): Adjust call accordingly.
1879 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1881 * calendar/todo-mode.el: Miscellaneous bug fixes.
1882 (todo-delete-file): When deleting an archive but not its todo
1883 file, make sure to update the todo file's category sexp.
1884 (todo-move-category): Keep the moved category's name unless the
1885 file moved to already has a category with that name. If the
1886 numerically last category of the source file was moved, make the
1887 first category current to avoid selecting a nonexisting category.
1888 (todo-merge-category): Fix implementation to make merging to a
1889 category in another file work as documented. Eliminate now
1890 insufficient and unnecessary renaming of archive category, correct
1891 document string accordingly, and clarify it. If the numerically
1892 last category of the source file was merged, make the first
1893 category current to avoid selecting a nonexisting category.
1894 (todo-archive-done-item): When there are marked items and point
1895 happens to be on an unmarked item, ignore the latter. Don't leave
1896 point below last item after archiving marked items.
1897 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1898 from an archive with only one category deletes the archive only
1899 when the category is empty after unarchiving. Make sure the todo
1900 file's category sexp is updated.
1901 (todo-read-file-name): Allow an existing file name even when it is
1902 not required (todo-move-category needs this to work as documented).
1903 (todo-add-file): Call todo-validate-name to reject the name of an
1904 existing todo file (needed due to fix in todo-read-file-name).
1905 (todo-reset-nondiary-marker): Also reset in filtered items files.
1906 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1907 regexp filtered items files.
1908 (todo-reset-highlight-item): Also reset in filtered items files.
1909 Fix incorrect variable reference in document string.
1911 2014-05-22 Glenn Morris <rgm@gnu.org>
1913 * window.el (window--dump-frame): Avoid error in --without-x builds.
1915 2014-05-21 Glenn Morris <rgm@gnu.org>
1917 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1919 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1921 * frame.el (set-frame-font): Doc fix.
1923 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1925 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1927 * emacs-lisp/package.el (package--download-one-archive):
1928 Use `write-region' instead of `save-buffer' to avoid running various
1930 (describe-package-1): Same. Insert newline at the end of the
1931 buffer if appropriate.
1933 2014-05-20 Juri Linkov <juri@jurta.org>
1935 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1936 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1937 Add more modifiers: meta, control, shift, hyper, super, alt.
1940 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1941 to allow changing its value with `set-variable'.
1943 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1945 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1947 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1949 (scheme-mode-variables): Set syntax-propertize-function instead of
1950 font-lock-syntactic-face-function.
1951 (scheme-font-lock-syntactic-face-function): Delete.
1953 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1955 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1960 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1962 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1963 for a temporary file name.
1965 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1967 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1969 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1971 * net/dbus.el (dbus-init-bus, dbus-call-method)
1972 (dbus-call-method-asynchronously, dbus-send-signal)
1973 (dbus-method-return-internal, dbus-method-error-internal):
1974 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1976 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1978 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1979 methods which do not have a doc string. (Bug#17490)
1981 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1982 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1987 2014-05-14 Glenn Morris <rgm@gnu.org>
1989 * vc/emerge.el (emerge-temp-file-prefix):
1990 Make pointless option obsolete.
1991 (emerge-temp-file-mode): Make non-functional option obsolete.
1993 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1995 * net/browse-url.el (browse-url):
1996 Use `unhandled-file-name-directory' when setting `default-directory',
1997 in order to circumvent stalled remote connections. (Bug#17425)
1999 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2001 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2002 into autoloading just because of a silly indirection.
2004 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
2006 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2008 2014-05-11 Glenn Morris <rgm@gnu.org>
2010 * emacs-lisp/find-gc.el: Move to ../admin.
2012 2014-05-10 Glenn Morris <rgm@gnu.org>
2014 * printing.el (pr-version):
2015 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2017 * net/browse-url.el (browse-url-mosaic):
2018 Create /tmp/Mosaic.PID as a private file.
2020 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2022 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2023 (advice--member-p): If name is given, only compare the name.
2024 (advice--remove-function): Don't stop at the first match.
2025 (advice--normalize-place): New function.
2026 (add-function, remove-function): Use it.
2027 (advice--add-function): Pass the name, if any, to
2028 advice--remove-function.
2030 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2032 * electric.el (electric-indent-post-self-insert-function): Don't use
2033 `pos' after modifying the buffer (bug#17449).
2035 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2037 * subr.el (function-put): Add function.
2039 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
2041 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2042 Correct argument list to conform to todo-insert-item--basic.
2044 2014-05-09 Glenn Morris <rgm@gnu.org>
2046 * files.el (cd-absolute): Test if directory is accessible
2047 rather than executable. (Bug#17330)
2049 * progmodes/compile.el (recompile):
2050 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2052 2014-05-08 Juri Linkov <juri@jurta.org>
2054 * dired.el (dired-check-switches, dired-switches-recursive-p):
2055 New functions. (Bug#17218)
2056 (dired-switches-escape-p, dired-move-to-end-of-filename):
2057 Use `dired-check-switches'.
2058 (dired-insert-old-subdirs, dired-build-subdir-alist)
2059 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2061 2014-05-08 Glenn Morris <rgm@gnu.org>
2063 * net/browse-url.el (browse-url-mosaic):
2064 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2065 This is CVE-2014-3423.
2067 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2070 (xterm-mouse--read-event-sequence-1000): Return nil if something
2072 (xterm-mouse-event): Propagate it.
2073 (xterm-mouse-translate-1): Handle it.
2075 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
2077 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2078 four slots of the parameter list are filled, make sure to pass it
2079 to the argument list of todo-insert-item--basic.
2081 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2083 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2084 Add optional `seen' argument to detect and break infinite loops.
2086 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2088 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2089 (trace-unsafe, trace-use-tree): Make parentheses style be
2090 according to Emacs style.
2092 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
2094 * net/tramp-sh.el (tramp-remote-process-environment):
2095 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2097 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2098 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2099 extra "PSx=..." commands.
2100 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2103 (tramp-uudecode): Replace the hard-coded temporary file name by a
2105 (tramp-remote-coding-commands): Enhance docstring.
2106 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2108 This is CVE-2014-3424.
2110 2014-05-06 Glenn Morris <rgm@gnu.org>
2112 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2113 (find-gc-source-files): Update some names.
2114 (trace-call-tree): Simplify and update.
2115 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2116 This is CVE-2014-3422.
2118 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * minibuffer.el (completion--try-word-completion): Revert fix for
2121 Bug#15980 (bug#17375).
2123 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2124 Always store button numbers in the same way in xterm-mouse-last;
2125 Don't burp is xterm-mouse-last is not set as expected.
2126 Never return negative indices.
2128 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2130 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2131 Backtrack one char if the global/char-literal var matcher hits
2132 inside a string. The next char could be the beginning of an
2133 expression expansion.
2135 2014-05-05 Glenn Morris <rgm@gnu.org>
2137 * help-fns.el (describe-function-1): Test for an autoload before a
2138 macro, since `macrop' works on autoloads. (Bug#17410)
2140 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2142 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2144 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2145 Make sure the new point we return is within the new string (bug#17239).
2147 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2149 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2151 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2154 Use nil rather than `default' for the "default" appearance (bug#17388).
2155 * vc/ediff-util.el (ediff-inferior-compare-regions)
2156 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2157 a misleading `default' value when it's really a boolean.
2158 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2159 overlay is not visible.
2161 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2163 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2164 (todo-menu): Uncomment and update.
2166 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2168 * calendar/todo-mode.el: Reimplement item editing to have the same
2169 basic user interface as item insertion, and make small UI and
2170 larger internal improvements to the latter.
2171 (todo-insert-item): Add reference to the Todo mode user manual to
2172 the documentation string.
2173 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2174 adjust all callers. Change signature to combine diary and
2175 nonmarking arguments. Incorporate functionality of deleted item
2176 copying command and add error checking. Remove detailed
2177 descriptions of the arguments from the documentation string, since
2178 this is treated in the Todo mode user manual.
2179 (todo-copy-item, todo-edit-multiline-item)
2180 (todo-edit-done-item-comment, todo-edit-item-header)
2181 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2182 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2183 (todo-edit-item-date-year, todo-edit-item-date-month)
2184 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2186 (todo-edit-item): Reimplement as wrapper command for
2187 todo-edit-item--next-key and make it distinguish done and not done
2189 (todo-edit-item--text): New function, replacing old command
2190 todo-edit-item and incorporating deleted commands
2191 todo-edit-multiline-item and todo-edit-done-item-comment.
2192 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2193 Use only numeric value of prefix argument. Remove detailed
2194 descriptions of the arguments from the documentation string, since
2195 this is treated in the Todo mode user manual.
2196 (todo-edit-item--diary-inclusion): New function, replacing old
2197 command todo-edit-item-diary-inclusion and incorporating and fixing
2198 functionality of deleted command todo-edit-item-diary-nonmarking,
2199 making sure to remove todo-nondiary-marker when adding
2200 diary-nonmarking-symbol.
2201 (todo-edit-category-diary-inclusion): Make sure to delete
2202 diary-nonmarking-symbol when adding todo-nondiary-marker.
2203 (todo-edit-category-diary-nonmarking): Fix indentation.
2204 (todo-insert-item--parameters): Group diary and nonmarking
2205 parameters together.
2206 (todo-insert-item--apply-args): Adjust to signature of
2207 todo-insert-item--basic and incorporate copy parameter.
2208 Make small code improvements.
2209 (todo-insert-item--next-param): Improve prompt and adjust it to
2210 new parameter grouping. Remove obsolete code.
2211 (todo-edit-item--param-key-alist)
2212 (todo-edit-item--date-param-key-alist)
2213 (todo-edit-done-item--param-key-alist): New defconsts.
2214 (todo-edit-item--prompt): New variable.
2215 (todo-edit-item--next-key): New function.
2216 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2217 Remove bindings of deleted commands.
2219 2014-05-02 Leo Liu <sdl.web@gmail.com>
2221 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2223 2014-05-01 Glenn Morris <rgm@gnu.org>
2225 * allout-widgets.el (allout-widgets-tally)
2226 (allout-decorate-item-guides):
2227 * menu-bar.el (menu-bar-positive-p):
2228 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2229 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2230 * progmodes/js.el (js--inside-param-list-p)
2231 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2232 * progmodes/prolog.el (region-exists-p):
2233 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2234 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2235 Doc fixes (replace `iff').
2237 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2239 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2241 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2243 * dired.el (dired-initial-position-hook, dired-initial-position):
2246 2014-04-29 Glenn Morris <rgm@gnu.org>
2248 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2250 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2252 * faces.el (face-spec-recalc): Apply X resources only after the
2253 defface spec has been applied. Thus, X resources are no longer
2254 overridden by the defface spec which also fixes issues on win32 where
2255 the toolbar coloring was wrong because it is set through X resources
2256 and was (wrongfully) overridden. (Bug#16694)
2258 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * textmodes/rst.el (electric-pair-pairs): Declare.
2261 (rst-mode): Set it (bug#17131).
2263 2014-04-27 Juri Linkov <juri@jurta.org>
2265 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2266 and `print-level' to nil. (Bug#17351)
2268 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2270 * battery.el (battery-update): Handle the case where battery
2271 status is "N/A" (bug#17319).
2273 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2275 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2276 Use equal-including-properties to compare help-echo strings (bug#17331).
2278 2014-04-24 Leo Liu <sdl.web@gmail.com>
2280 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2281 Fix syntax for @. (Bug#17325)
2283 2014-04-24 Daniel Colascione <dancol@dancol.org>
2285 * emacs-lisp/cl.el (gv): Require gv early to break eager
2286 macro-expansion cycles.
2288 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * simple.el (region-active-p): Check there's a mark (bug#17324).
2292 * simple.el (completion-list-mode-map): Use choose-completion for the
2293 mouse binding as well (bug#17302).
2294 (completion-list-mode, completion-setup-function): Adjust docstring and
2295 echo area message accordingly.
2296 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2297 calling convention of choose-completion.
2298 * comint.el (comint-dynamic-list-completions):
2299 * term.el (term-dynamic-list-completions): Accept choose-completion.
2301 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2302 &, |, +, - and * can't be a division (bug#17317).
2304 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2307 features on gnome-terminal (bug#16988).
2309 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2311 * dired.el (dired-insert-set-properties): Do not consider
2312 subdirectory headings and empty lines to be information that
2313 `dired-hide-details-mode' should hide. (Bug#17228)
2315 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2317 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2318 Remove test messages.
2319 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2322 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2324 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2325 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2327 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2329 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2331 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2332 Set "IFS=" when using read builtin, in order to preserve spaces in
2333 the file name. Add test messages for hunting a bug on hydra.
2334 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2336 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2339 Don't prettify a word within a symbol.
2341 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2343 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2346 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2348 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2349 assignments such as "case=hello" (bug#17297).
2351 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2353 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2355 (tramp-file-name-handler, tramp-completion-file-name-handler):
2356 Revert patch from 2014-04-10, it isn't necessary anymore.
2357 (tramp-autoload-file-name-handler)
2358 (tramp-register-autoload-file-name-handlers): New defuns.
2359 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2360 (tramp-register-file-name-handlers): Remove also
2361 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2362 Do not autoload its invocation, but eval it after loading of 'tramp.
2364 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2366 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2368 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2370 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2371 was done (bug#17264).
2372 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2375 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2376 here-documents (bug#17262).
2378 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2380 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2381 Provide doc strings, as required by snarf-documentation.
2383 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2385 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2386 arg of overlays-at. Use `invisible-p'.
2388 * obsolete/lucid.el (extent-at):
2389 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2391 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2393 2014-04-14 João Távora <joaotavora@gmail.com>
2395 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2398 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2400 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2401 Use mapc to loop over a vector. (Bug#17257).
2403 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2405 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2406 patch, there are new problems with file names containing spaces.
2407 Get rid of backticks. (Bug#17238)
2409 2014-04-13 João Távora <joaotavora@gmail.com>
2411 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2414 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2416 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2417 (blink-cursor-mode): Mention customization variables and the
2418 effect of 'blink-cursor-blinks'.
2420 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2422 * simple.el (undo): Prevent insertion of identity mapping into
2423 undo-equiv-table so as undo-only does not inf loop in the presence
2424 of consecutive nils in undo list.
2426 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2428 * faces.el (make-face): Deprecate optional argument as it is no
2429 longer needed/used since the conditional X resources handling
2430 has been pushed down to make-face-x-resource-internal itself.
2431 (make-empty-face): Don't pass optional argument to make-face.
2433 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2435 * international/characters.el <standard-case-table>: Add entries
2436 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2437 Set category of Coptic characters be 'g' (Greek).
2439 2014-04-12 Leo Liu <sdl.web@gmail.com>
2441 * progmodes/octave.el (completion-table-with-cache): Define if not
2443 (octave-goto-function-definition)
2444 (octave-sync-function-file-names)
2445 (octave-find-definition-default-filename): Backquote upattern for
2448 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2450 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2451 name twice due to backticks. (Bug#17238)
2453 2014-04-11 Glenn Morris <rgm@gnu.org>
2455 * term/w32-win.el (x-win-suspend-error):
2456 * term/x-win.el (x-win-suspend-error): Sync docs.
2458 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2460 Ediff's overlay priorities cause more trouble than they solve.
2461 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2462 (ediff-highest-priority): Remove function (bug#17234).
2463 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2464 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2465 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2468 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2470 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2471 entry; use symbol boundaries to avoid mis-matches.
2473 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2475 * net/tramp.el (tramp-file-name-handler)
2476 (tramp-completion-file-name-handler): Avoid recursive loading.
2478 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2479 Quote result also locally.
2481 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2483 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2484 Module methods. (Bug#17216)
2486 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2488 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2489 (describe-bindings-internal): Mark obsolete.
2491 2014-04-07 João Távora <joaotavora@gmail.com>
2494 (electric-pair--syntax-ppss): When inside comments parse from
2496 (electric-pair--balance-info): Fix typo in comment.
2497 (electric-pair--in-unterminated-string-p): Delete.
2498 (electric-pair--unbalanced-strings-p): New function.
2499 (electric-pair-string-bound-function): New var.
2500 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2501 according to `electric-pair--in-unterminated-string-p'
2503 2014-04-07 João Távora <joaotavora@gmail.com>
2505 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2506 Inhibit quote pairing if point-max is inside an unterminated string.
2507 (electric-pair--looking-at-unterminated-string-p): Delete.
2508 (electric-pair--in-unterminated-string-p): New function.
2510 2014-04-07 Glenn Morris <rgm@gnu.org>
2512 * shell.el (shell-directory-tracker):
2513 Go back to just ignoring failures. (Bug#17159)
2515 2014-04-06 João Távora <joaotavora@gmail.com>
2517 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2518 backspace. (bug#16981)
2519 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2520 (electric-pair-backward-delete-char-untabify): Delete.
2521 (electric-pair-mode-map): Bind backspace to a menu item filtering
2522 a new `electric-pair-delete-pair' command.
2523 (electric-pair-delete-pair): New command.
2525 2014-04-06 João Távora <joaotavora@gmail.com>
2527 * progmodes/python.el (python-electric-pair-string-delimiter):
2528 Fix triple-quoting electricity. (Bug#17192)
2530 2014-04-06 João Távora <joaotavora@gmail.com>
2532 * elec-pair.el (electric-pair-post-self-insert-function):
2533 Don't skip whitespace when `electric-pair-text-pairs' and
2534 `electric-pair-pairs' were used. syntax to
2535 electric-pair--skip-whitespace. (Bug#17183)
2537 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2539 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2542 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2545 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2547 2014-04-05 Glenn Morris <rgm@gnu.org>
2549 * help.el (view-lossage): Doc tweak.
2551 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2553 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2554 only when inhibit-x-resources is nil, and do that earlier in the
2555 function. Doc fix. (Bug#16694)
2556 (face-spec-choose): Accept additional optional argument, whose
2557 value is returned if no matching attributes are found.
2558 (face-spec-recalc): Use the new optional argument when calling
2559 face-spec-choose. (Bug#16378)
2560 (make-face-x-resource-internal): Do nothing when
2561 inhibit-x-resources is non-nil. Don't touch the default face if
2562 reversed video is given--as was done in previous versions of Emacs.
2563 (face-set-after-frame-default): Don't call
2564 make-face-x-resource-internal here. (Bug#16434)
2566 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2568 * doc-view.el (doc-view-bookmark-jump):
2569 Use `bookmark-after-jump-hook' to jump to the right page after the
2570 buffer is shown in a window. (bug#16090)
2572 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2574 * international/characters.el (mirroring): Fix last change:
2575 instead of loading uni-mirrored.el explicitly, do that implicitly
2576 by creating the 'mirroring' uniprop table. This avoids announcing
2577 the loading of uni-mirrored.el.
2579 2014-04-04 Glenn Morris <rgm@gnu.org>
2581 * files.el (buffer-stale--default-function)
2582 (buffer-stale-function, revert-buffer--default):
2583 * autorevert.el (auto-revert-buffers): Doc tweaks.
2585 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2587 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2589 2014-04-03 Glenn Morris <rgm@gnu.org>
2591 * files.el (make-backup-file-name-function)
2592 (make-backup-file-name, make-backup-file-name--default-function)
2593 (make-backup-file-name-1, find-backup-file-name)
2594 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2595 (buffer-stale--default-function, buffer-stale-function)
2596 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2597 (revert-buffer, revert-buffer--default)
2598 (revert-buffer-insert-file-contents--default-function):
2599 Doc fixes related to defaults no longer being nil.
2600 (make-backup-file-name-function): Bump :version.
2601 Restore nil as a valid but deprecated custom type.
2603 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2606 used as a variable (bug#17174).
2608 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * progmodes/perl-mode.el (perl-indent-new-calculate):
2611 Handle forward-sexp failure (bug#16985).
2612 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2613 modifiers introducing expressions (bug#17116).
2615 2014-04-02 Glenn Morris <rgm@gnu.org>
2617 * menu-bar.el (menu-bar-file-menu):
2618 * vc/ediff.el (ediff-current-file):
2619 Update for revert-buffer-function no longer being nil by default.
2621 * simple.el (command-execute): Respect nil disabled-command-function.
2623 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2625 * simple.el (command-execute): Do not execute the command when it
2626 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2628 2014-03-29 Juri Linkov <juri@jurta.org>
2630 * dired-aux.el (dired-compress-file): Don't use string-match-p
2631 because its match data is used afterwards.
2633 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2635 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2638 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2640 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2641 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2643 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2644 Don't propertize `?' or `!' as symbol constituent when after
2647 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2649 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2650 which is no longer needed and causes trouble in GTK builds (bug#17046).
2652 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2653 Use url-insert-file-contents; package-handle-response no longer exists.
2655 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2657 * emacs-lisp/package.el: Fix bug#16733 (again).
2658 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2659 (url-http-target-url): Remove unused declarations.
2660 (package-handle-response): Remove.
2661 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2662 (package--download-one-archive): Use current-buffer instead of
2663 dynamic binding of `buffer'.
2664 (describe-package-1): Do not decode readme-string.
2666 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2668 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2670 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2672 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2674 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2675 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2676 `remote-file-name-inhibit-cache' to nil in the second pass.
2677 (tramp-find-executable): Do not call "which" on SunOS.
2678 (tramp-send-command-and-check): Fix docstring.
2679 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2680 check whether source directory has set the sticky bit.
2682 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2684 * simple.el (primitive-undo): Only process marker adjustments
2685 validated against their corresponding (TEXT . POS). Issue warning
2686 for lone marker adjustments in undo history. (Bug#16818)
2687 (undo-make-selective-list): Add marker adjustments to selective
2688 undo list based on whether their corresponding (TEXT . POS) is in
2689 the region. Remove variable adjusted-markers, which was unused
2690 and only non nil during undo-make-selective-list.
2691 (undo-elt-in-region): Return nil when passed a marker adjustment
2692 and explain in function doc.
2694 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2696 * emacs-lisp/package.el (package--add-to-archive-contents):
2697 Include already installed and built-in packages in
2698 `package-archive-contents'.
2699 (package-install): Don't include already installed packages in the
2700 options during interactive invocation. (Bug#16762)
2702 2014-03-24 Daniel Colascione <dancol@dancol.org>
2704 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2705 instead of cl-loop search function.
2707 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2709 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2711 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2713 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2715 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2717 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2718 Match special global variables without curlies, too.
2719 (ruby-font-lock-keywords): Simplify the matcher for special global
2720 variables. Don't require a non-word character after the variable.
2723 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2725 * simple.el (redisplay-highlight-region-function): Increase priority of
2726 overlay to make sure boundaries are visible (bug#15899).
2728 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2730 * frameset.el (frameset-restore): Compare display strings with equal.
2732 * frame.el (make-frame): Don't quote display name in error message,
2733 it is already a string.
2735 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2737 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2740 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2742 * emacs-lisp/package.el (package-show-package-list): If the buffer
2743 is already displayed in another window, switch to that window.
2745 2014-03-21 Daniel Colascione <dancol@dancol.org>
2747 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2748 information in bug reports.
2750 2014-03-23 Daniel Colascione <dancol@dancol.org>
2752 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2753 list to look for keyword arguments instead of `memq', fixing
2754 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2755 Please make bootstrap.
2757 2014-03-23 Richard Stallman <rms@gnu.org>
2759 * battery.el (battery-linux-sysfs): Search for each field
2760 from the beginning of the buffer.
2762 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2764 * emacs-lisp/package.el (package-desc): Use the contents of the
2765 quoted form, not its cdr. (Bug#16873)
2767 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2769 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2770 benefit of doc.c; change parameter profile to match the X function.
2772 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2774 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2775 and `tramp-copy-env'.
2777 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2778 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2780 2014-03-21 Glenn Morris <rgm@gnu.org>
2782 * electric.el (electric-indent-post-self-insert-function): Add doc.
2784 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2786 * emacs-lisp/package.el (package-compute-transaction):
2787 Use `version-list-<=' to compare the requirement version against
2788 the version of package already to be installed. Update the error
2789 message. (Bug#16826)
2791 * progmodes/ruby-mode.el (ruby-smie-rules):
2792 Add indentation rule for ` @ '. (Bug#17050)
2794 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2796 * align.el (align-regexp): Remove superfluous backslash.
2798 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2799 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2800 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2801 Fix docstring typos.
2802 (ffap-next): Use C-u in docstring.
2803 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2804 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2805 Remove superfluous backslashes.
2806 (ffap-string-at-point): Reflow docstring.
2808 * server.el (server-host): Reflow docstring.
2809 (server-unload-function): Fix docstring typo.
2810 (server-eval-at): Remove superfluous backslash.
2812 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2813 (skeleton-insert): Doc fix.
2814 (skeleton-insert): Reflow docstring.
2816 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2817 (tty-color-approximate, tty-color-by-index, tty-color-values)
2818 (tty-color-desc): Remove superfluous backslashes.
2820 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2822 * electric.el (electric-newline-and-maybe-indent): New command.
2823 Bind it globally to C-j.
2824 (electric-indent-mode): Don't mess with the global map any more.
2825 Don't drop the post-self-insert-hook is some buffer is still using it
2828 * bindings.el (global-map): Remove C-j binding.
2830 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2831 the docstring of functions advised before dumping (bug#16993).
2833 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2835 * ps-print.el (ps-generate-postscript-with-faces):
2836 Explicitly deactivate the mark (bug#16866).
2837 * simple.el (deactivate-mark): Update region highlight.
2839 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2841 * emacs-lisp/package.el (describe-package-1):
2842 Decode commentary (bug#16733).
2844 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2846 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2847 modification of the value argument of :set (bug#16755).
2849 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * simple.el (newline-and-indent): Do autofill (bug#17031).
2853 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2855 * newcomment.el (comment-normalize-vars): Only add escaping check
2856 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2857 (comment-beginning): Use `narrow-to-region' instead of moving back
2859 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2860 (comment-start-skip): Update the docstring.
2862 2014-03-18 Richard Stallman <rms@gnu.org>
2864 * dired.el (dired-display-file): Force use of other window.
2866 2014-03-18 Daniel Colascione <dancol@dancol.org>
2868 * startup.el (tty-handle-args): Remove debug message from 2007.
2870 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2872 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2873 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2874 (advice--make-1, advice-add, advice-remove):
2875 Remove braindead :advice-pending hack.
2877 2014-03-17 Glenn Morris <rgm@gnu.org>
2879 * calendar/calendar.el (calendar-generate-month): Apply weekend
2880 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2882 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2884 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2885 (tramp-call-process): Trace also DESTINATION.
2887 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2888 Quote file names when they are local. Remove superfluous trace.
2890 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2892 * newcomment.el (comment-beginning): If `comment-start-skip'
2893 doesn't match, move back one char and try again. (Bug#16971)
2895 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2896 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2897 Set `comment-start-skip' to a simpler value that doesn't try to
2898 check if the semicolon is escaped (this is handled by
2899 `syntax-ppss' now). (Bug#16971)
2901 * progmodes/scheme.el (scheme-mode-variables): Same.
2903 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2905 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2906 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2907 current (Bug#16816, Bug#17007).
2908 (with-current-buffer-window): New macro doing the same as
2909 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2910 * help.el (help-print-return-message): Warn in doc-string to not
2911 use this in `with-help-window'.
2912 (describe-bindings-internal): Call `describe-buffer-bindings'
2913 from within help buffer. See Juanma's scenario in (Bug#16816).
2914 (with-help-window): Update doc-string.
2915 * dired.el (dired-mark-pop-up):
2916 * files.el (save-buffers-kill-emacs):
2917 * register.el (register-preview): Use `with-current-buffer-window'
2918 instead of `with-temp-buffer-window'.
2920 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2922 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2923 Implement inserting into current buffer, documented in their docstrings.
2924 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2925 (rst-section-tree-point, rst-forward-section, rst-indent)
2926 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2927 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2928 (rst-font-lock-handle-adornment-pre-match-form)
2929 (rst-repeat-last-character): Reflow docstrings.
2930 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2931 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2932 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2933 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2934 Fix docstring typos.
2935 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2936 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2937 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2939 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2941 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2942 for compatibility with other ports.
2943 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2944 from the -xrm command line argument, but in the Nextstep port its value
2945 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2947 * progmodes/python.el (defconst, python-syntax-count-quotes)
2948 (python-indent-region, python-indent-shift-right)
2949 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2950 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2951 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2952 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2953 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2954 (python-shell-buffer-substring, python-shell-send-buffer)
2955 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2956 (python-completion-complete-at-point, python-fill-docstring-style)
2957 (python-eldoc-function, python-imenu-format-item-label)
2958 (python-imenu-format-parent-item-label)
2959 (python-imenu-format-parent-item-jump-label)
2960 (python-imenu--build-tree, python-imenu-create-index)
2961 (python-imenu-create-flat-index): Fix docstring typos.
2962 (python-indent-context, python-shell-prompt-regexp, run-python):
2963 Remove superfluous backslashes.
2964 (python-indent-line, python-nav-beginning-of-defun)
2965 (python-shell-get-buffer, python-shell-get-process)
2966 (python-info-current-defun, python-info-current-line-comment-p)
2967 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2968 (python-indent-post-self-insert-function, python-shell-send-file)
2969 (python-shell-completion-get-completions)
2970 (python-shell-completion-complete-or-indent)
2971 (python-eldoc--get-doc-at-point): Reflow docstrings.
2973 2014-03-14 Glenn Morris <rgm@gnu.org>
2975 * emacs-lisp/package.el (package-menu-mode-map):
2976 Replace use of obsolete function alias. Tweak menu item text.
2978 * info.el (Info-finder-find-node):
2979 Ignore the `emacs' metapackage. (Bug#10813)
2981 * finder.el (finder-list-matches): Include unversioned packages
2982 in the result of a keyword search.
2984 * finder.el (finder--builtins-descriptions): New constant.
2985 (finder-compile-keywords): Use finder--builtins-descriptions.
2987 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2989 * simple.el (blink-matching-paren): Describe the new value,
2990 `jump', enabling the old behavior.
2991 (blink-matching-open): Use that value. (Bug#17008)
2993 2014-03-14 Glenn Morris <rgm@gnu.org>
2995 * finder.el (finder-no-scan-regexp): Add leim-list.
2996 (finder-compile-keywords):
2997 Don't skip files with same basename. (Bug#14010)
2998 * Makefile.in (setwins_finder): New, excluding leim.
2999 (finder-data): Use setwins_finder.
3001 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3002 (help-function-arglist, help-make-usage): Move from here...
3003 * help.el (help-split-fundoc, help-add-fundoc-usage)
3004 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3005 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3007 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3009 * net/socks.el (socks, socks-override-functions)
3010 (socks-find-services-entry):
3011 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3012 (hif-find-ifdef-block):
3013 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3015 * net/tls.el (tls-program): Reflow docstring.
3017 * progmodes/pascal.el (pascal-mode-abbrev-table)
3018 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3019 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3020 (pascal-outline-mode): Fix docstring typos.
3021 (pascal-mode): Let define-derived-mode document mode hook.
3022 (pascal-uncomment-area): Reflow.
3023 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3025 * progmodes/opascal.el (opascal-compound-block-indent)
3026 (opascal-case-label-indent): Fix docstring typos.
3027 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3029 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3031 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3032 Fontify multiple adjacent negation chars. (Bug#17004)
3034 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3036 * emacs-lisp/package.el (package--prepare-dependencies):
3037 Accept requirements without explicit version (bug#14941).
3039 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3041 * register.el (register-separator, copy-to-register): Doc fixes.
3042 (register-preview-default): Remove unnecessary call to concat.
3044 * frameset.el (frameset-restore): When checking for a visible frame,
3045 use the action map instead of calling visible-frame-list.
3047 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3049 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3051 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3053 * window.el (fit-frame-to-buffer): Get maximum width from
3054 display's width instead of height.
3056 2014-03-12 Glenn Morris <rgm@gnu.org>
3058 * desktop.el (desktop-restore-frames)
3059 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3060 (desktop-restore-reuses-frames): Doc tweaks.
3062 * electric.el (electric-indent-mode): Doc fix.
3064 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3066 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3067 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3068 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3069 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3070 (cvs-dired-use-hook): Fix docstring typos.
3071 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3074 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3075 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3076 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3077 (cvs-execute-single-dir): Fix docstring typos.
3079 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3080 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3082 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3084 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3085 Fix docstring typos.
3087 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3089 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3090 called from jump-to-register after unloading the frameset package.
3092 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3094 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3095 (bug#16975). Deactivate the mark before setting it to nil.
3096 (activate-mark): Do nothing if region is already active.
3098 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3100 * frameset.el (frameset--target-display): Remove definition; declare.
3101 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3103 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3105 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3106 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3107 when the advice is pending.
3108 (advice-remove): Remove this marker when not needed any more.
3110 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3112 * frameset.el: Separate options for reusing frames and cleaning up.
3113 (frameset--reuse-list): Remove definition; declare.
3114 (frameset--action-map): Declare.
3115 (frameset--find-frame-if): Doc fix.
3116 (frameset--restore-frame): Cache frame action.
3117 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3118 how to clean up the frame list after restoring. Remove cleaning
3119 options from REUSE-FRAMES. Change all keyword values to symbols.
3120 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3122 * desktop.el (desktop-restore-forces-onscreen)
3123 (desktop-restore-reuses-frames): Use non-keyword values.
3124 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3126 2014-03-10 Glenn Morris <rgm@gnu.org>
3128 * files.el (find-file): Doc fix: update info node name.
3130 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3131 Doc fix: remove references to deleted info nodes.
3133 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3135 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3136 Do not add `nil' to the environment, when there's no remote `locale'.
3137 (tramp-find-inline-encoding): Check, that the remote host has
3138 installed perl, before sending scripts.
3140 2014-03-10 Leo Liu <sdl.web@gmail.com>
3142 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3143 Clear eldoc-last-message. (Bug#16920)
3145 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3147 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3150 2014-03-09 Juri Linkov <juri@jurta.org>
3152 * ansi-color.el (ansi-color-names-vector): Copy default colors
3153 from `xterm-standard-colors' that look well on the default white
3154 background (and also on the black background) to avoid illegible
3155 color combinations like yellow-on-white and white-on-white.
3156 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3158 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3160 * frameset.el (frameset-restore): When no frame is visible, do not
3161 generate a list of frames, just make visible the selected one.
3163 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3165 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3166 it only contains the repository root. (Bug#16897)
3168 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3170 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3171 only when `remote-file-name-inhibit-cache' is nil.
3172 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3174 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3176 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3178 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3179 fit-frame-to-buffer variable. Fix doc-string.
3180 (fit-window-to-buffer): Set ONLY argument in call of
3181 fit-frame-to-buffer. Fix doc-string.
3183 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3185 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3186 (tramp-action-password): Clear password cache if needed.
3187 (tramp-read-passwd): Do not clear password cache.
3189 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3190 cache unless it is the first password request.
3192 2014-03-06 Glenn Morris <rgm@gnu.org>
3194 * simple.el (newline): Doc tweak.
3196 * emacs-lisp/shadow.el (load-path-shadows-find):
3197 Ignore dir-locals. (Bug#12357)
3199 2014-03-05 Glenn Morris <rgm@gnu.org>
3201 * files.el (interpreter-mode-alist):
3202 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3204 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3206 * frameset.el (frameset--initial-params): Filter out null entries.
3208 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3210 * window.el (window-min-height, window-min-width):
3211 Rewrite doc-strings.
3212 (window-body-size): Add PIXELWISE argument to make it consistent
3215 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3217 * finder.el (finder-mode-map, finder-mode-syntax-table):
3218 Revert part of 2014-02-28 change.
3220 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3222 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3223 (eww-setup-buffer): Clear next/prev/etc more reliably.
3224 (eww-textarea-map): [tab] doesn't work on tty.
3225 Reported by Mario Lang.
3227 * net/shr.el (shr-map): Ditto.
3229 2014-03-04 Glenn Morris <rgm@gnu.org>
3231 * minibuffer.el (completion-hilit-commonality):
3232 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3234 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3236 * hilit-chg.el (hilit-chg-unload-function): New function.
3237 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3238 (hilit-chg-map-changes): Prefer cardinal number to digit.
3239 (hilit-chg-display-changes): Reflow docstring.
3240 (highlight-changes-rotate-faces): Remove superfluous backslash.
3242 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3244 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3245 `tramp-send-command-and-check'.
3247 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3249 * hexl.el (hexl-address-region, hexl-ascii-region)
3250 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3251 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3252 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3253 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3254 (hexl-mode): Doc fix.
3255 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3256 (hexl-mode-ruler): Fix typos in docstrings.
3258 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3259 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3260 Remove superfluous backslashes.
3261 (strokes-last-stroke, strokes-global-map, strokes-mode):
3263 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3264 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3265 (strokes-distance-squared, strokes-global-set-stroke)
3266 (strokes-global-set-stroke-string): Doc fixes.
3267 (strokes-help): Fix typos; reflow docstring.
3269 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3271 * window.el (window-in-direction): Fix doc-string.
3273 2014-03-04 Glenn Morris <rgm@gnu.org>
3275 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3276 Explicit error if no grammar.
3277 (smie-config-save): Doc fix. Fix quote typo.
3279 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3282 electric-indent-mode-hook if we obey electric-indent-mode.
3283 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3284 decide whether we obey electric-indent-mode.
3285 (c-change-set-fl-decl-start, c-extend-after-change-region):
3287 (c-electric-indent-mode-hook): Assume we do want to obey
3288 electric-indent-mode.
3290 * electric.el (electric-indent-mode-has-been-called): Remove.
3291 (electric-indent-mode): Fix accordingly.
3293 * files.el (hack-local-variables): Mention file name in warning.
3295 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3297 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3299 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3300 * simple.el (delete-forward-char): Mark as interactive-only.
3302 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3304 * icomplete.el (icomplete-completions):
3305 Follow-up to 2014-03-01 change.
3307 * icomplete.el: Miscellaneous doc fixes.
3308 Use Icomplete everywhere instead of icomplete for consistency.
3309 (icomplete-max-delay-chars): Fix typo.
3310 (icomplete-mode): Use \[].
3311 (icomplete-tidy, icomplete-exhibit): Reflow.
3312 (icomplete-minibuffer-setup-hook, icomplete-completions):
3313 Remove superfluous backlashes.
3315 * ido.el: Miscellaneous doc fixes.
3316 Use Ido everywhere instead of ido or `ido' for consistency.
3317 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3318 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3319 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3320 (ido-separator): Extract obsolescence info from docstring and declare
3321 with make-obsolete-variable.
3322 (ido-minibuffer-setup-hook): Simplify example.
3323 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3324 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3325 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3326 (ido-everywhere): Reflow docstring.
3327 (ido-toggle-vc): Doc fix.
3328 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3329 of long list of keybindings.
3331 2014-03-03 Glenn Morris <rgm@gnu.org>
3333 * frame.el (display-pixel-height, display-pixel-width)
3334 (display-mm-dimensions-alist, display-mm-height)
3335 (display-mm-width): Doc tweaks.
3337 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3339 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3340 case of undo in region.
3342 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3344 * window.el (fit-window-to-buffer): Fix argument in window-size
3345 call when window is horizontally combined.
3347 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3349 * icomplete.el (icomplete-completions): Use string-width.
3350 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3352 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3354 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3355 Highlight regexp options. (Bug#16914)
3357 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3359 * window.el (window--max-delta-1): Round down when calculating
3360 how many lines/columns we can get from a window.
3362 2014-03-01 Glenn Morris <rgm@gnu.org>
3364 * isearch.el (search-invisible): Doc fix.
3366 * minibuffer.el (completion-hilit-commonality):
3367 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3368 * comint.el (comint-dynamic-list-completions): Doc fix.
3369 * comint.el (comint-dynamic-list-completions):
3370 * filecache.el (file-cache-minibuffer-complete):
3371 * tempo.el (tempo-display-completions):
3372 * eshell/em-hist.el (eshell-list-history):
3373 Replace use of obsolete argument of display-completion-list.
3375 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3377 * icomplete.el (icomplete-completions):
3378 Revert back to using "..." when ?… cannot be displayed.
3380 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3382 * finder.el (finder-unload-function): New function.
3384 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3386 * dframe.el (dframe-detach):
3387 * find-dired.el (find-dired, find-name-dired):
3388 * finder.el (finder-mode-map, finder-mode-syntax-table)
3389 (finder-headmark, finder-select, finder-mouse-select):
3390 Fix docstring typos.
3392 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3394 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3395 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3396 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3397 Fix doc-string based on a suggestion by Nicolas Richard
3398 <theonewiththeevillook@yahoo.fr>.
3399 * help.el (with-help-window): Fix doc-string.
3401 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3403 * net/shr.el (shr-image-animate): New option.
3404 (shr-put-image): Respect shr-image-animate.
3406 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3408 * net/tramp-adb.el (tramp-adb-parse-device-names):
3409 Use `accept-process-output'.
3410 (tramp-adb-handle-file-truename): Cache the localname only.
3411 (tramp-adb-handle-make-directory)
3412 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3413 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3414 modes cannot be changed.
3416 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3417 file properties of symlinks.
3419 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3421 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3422 required/optional fields to match development biblatex. (Bug#16781)
3424 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3426 * saveplace.el (toggle-save-place):
3427 Fix argument handling. (Bug#16673)
3429 2014-02-28 Glenn Morris <rgm@gnu.org>
3431 * minibuffer.el (completions-first-difference)
3432 (completions-common-part, completion-hilit-commonality): Doc fixes.
3434 2014-02-28 Karl Berry <karl@gnu.org>
3436 * info.el (Info-mode-map): Add H for describe-mode,
3437 to synchronize with standalone Info.
3439 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3441 * progmodes/sql.el (sql-interactive-mode):
3442 Avoid setting global comint-input-ring-separator. (Bug#16814)
3444 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3446 * net/dbus.el (dbus--init-bus): Declare function.
3447 (dbus-path-local, dbus-interface-local): New defconst.
3448 (dbus-init-bus): Use them.
3449 (dbus-return-values-table): Extend doc.
3450 (dbus-handle-bus-disconnect): Extend error message.
3452 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3454 * subr.el (y-or-n-p): Fix double space issue in message.
3456 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3458 * net/tramp.el (tramp-call-process): Improve trace message.
3459 (tramp-handle-insert-file-contents): Trace error case.
3461 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3462 <insert-directory>: Use `tramp-handle-insert-directory'.
3463 (tramp-adb-handle-insert-directory): Remove function.
3464 (tramp-adb-send-command-and-check): New defun, replacing
3465 `tramp-adb-command-exit-status'. Change all callees.
3466 (tramp-adb-handle-file-attributes)
3467 (tramp-adb-handle-directory-files-and-attributes): Use it.
3468 (tramp-adb-ls-output-name-less-p):
3469 Use `directory-listing-before-filename-regexp'.
3470 (tramp-adb-handle-delete-directory): Flush also file properties of
3471 the truename of directory.
3472 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3473 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3474 (tramp-adb-handle-write-region): Implement APPEND.
3475 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3476 properties correctly.
3477 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3478 variables. Check for connected devices only when needed.
3480 2014-02-27 Glenn Morris <rgm@gnu.org>
3482 * minibuffer.el (completion-table-dynamic)
3483 (completion-table-with-cache): Doc fixes.
3485 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3486 (completing-read-multiple): Doc fixes.
3488 2014-02-27 Daniel Colascione <dancol@dancol.org>
3490 * minibuffer.el (completion--nth-completion): Fix indentation.
3492 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3493 explicit tramp path is empty.
3495 2014-02-27 Glenn Morris <rgm@gnu.org>
3497 * emacs-lisp/crm.el (completing-read-multiple):
3498 Empower help-enable-auto-load.
3500 2014-02-26 Glenn Morris <rgm@gnu.org>
3502 * startup.el (command-line): Don't init the tty in daemon mode.
3504 Avoid calling tty-setup-hook twice, eg if a term file
3505 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3506 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3507 (tty-create-frame-with-faces): Use it.
3508 * startup.el (command-line): Pass run-hook argument
3509 to tty-run-terminal-initialization.
3511 * dired.el (dired-restore-desktop-buffer): Demote errors;
3512 eg in case a glob match fails. (Bug#16884)
3514 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3516 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3517 error from `read-from-string'. (Bug#16850)
3519 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3520 result of `completing-read' in the interactive form. (Bug#16854)
3522 2014-02-25 Glenn Morris <rgm@gnu.org>
3524 * image.el (image-animate, image-animate-timeout):
3525 Stop animating images in dead buffers. (Bug#16878)
3527 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3529 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3531 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3532 * term/sun.el (sun-raw-prefix-hooks):
3533 Use tty-setup-hook instead of term-setup-hook.
3534 (terminal-init-sun): Construct message from bytecomp plist.
3535 * term/wyse50.el (enable-arrow-keys): Doc fix.
3537 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3539 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3540 Fix docstring typos.
3542 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3544 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3546 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3548 * minibuffer.el (completion--try-word-completion):
3549 Fix error when completing M-x commands (bug#16808).
3551 2014-02-24 Leo Liu <sdl.web@gmail.com>
3553 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3555 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3557 * apropos.el (apropos-print): Avoid formatting error when
3558 apropos-do-all and apropos-compact-layout are both t.
3560 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3562 * apropos.el (apropos-property, apropos-all-words-regexp)
3563 (apropos-true-hit, apropos-variable, apropos-print):
3564 Fix docstring typos, and remove obsolete comment.
3566 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3568 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3569 Preserve trailing "/". (Bug#16851)
3571 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3573 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3574 after `=>' (bug#16811).
3575 (ruby-smie-rules): Handle the inconsistent second element of the
3576 list returned by `smie-indent--parent'.
3577 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3580 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3582 * elec-pair.el (electric-pair-text-syntax-table)
3583 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3584 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3585 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3586 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3588 2014-02-22 Glenn Morris <rgm@gnu.org>
3590 * imenu.el (imenu--generic-function): Doc fix.
3592 * register.el (frame-configuration-to-register): Make obsolete.
3594 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3596 * desktop.el (desktop-save-buffer-p): Do not fail when
3597 desktop-files-not-to-save is nil. Return t for true result
3600 2014-02-22 Daniel Colascione <dancol@dancol.org>
3602 * net/secrets.el (secrets-create-item, secrets-search-items):
3603 Check that attribute values are strings, avoiding the construction
3604 of invalid dbus messages.
3606 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3608 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3609 defun-declarations-alist.
3611 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3613 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3616 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3618 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3619 (whitespace-newline, whitespace-trailing, whitespace-line)
3620 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3621 (whitespace-space-after-tab): Fix typo in docstrings.
3623 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3625 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3627 * electric.el (electric-indent-functions-without-reindent):
3628 Add `yaml-indent-line'.
3630 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3632 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3633 It has done nothing for years; should be removed after the release.
3635 * simple.el (choose-completion): Fix docstring typo.
3636 (read-quoted-char-radix): Remove unneeded * in docstring.
3637 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3638 Don't escape parentheses unnecessarily in docstrings.
3640 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3642 Fix handling of window-min-height/-width (Bug#16738).
3643 * window.el (window--dump-window, window--dump-frame):
3645 (window--min-size-1): Account for window dividers.
3646 When window-resize-pixelwise is nil, delay rounding till after the
3647 sum of the window components has been calculated.
3648 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3649 nil make sure at least one text line and two text columns remain
3651 (window-resize): Signal an error when window-resize-apply fails.
3652 (window--resize-child-windows): Fix calculation of by how many
3653 pixels a window can still be shrunk via window-new-normal.
3654 (adjust-window-trailing-edge): Call window--resizable with
3655 correct TRAIL argument.
3657 (with-temp-buffer-window): Don't evaluate BODY within
3658 with-current-buffer (Bug#16816).
3660 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3662 * net/tramp.el (tramp-check-cached-permissions):
3663 Call `file-attributes' with `suffix' being a symbol but a string.
3665 2014-02-21 Daniel Colascione <dancol@dancol.org>
3667 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3668 (dbus-init-bus): New function: call into dbus-init-bus-1
3669 and installs a handler for the disconnect signal.
3670 (dbus-call-method): Rewrite to look for result in cons.
3671 (dbus-call-method-handler): Store result in cons.
3672 (dbus-check-event): Recognize events with nil sender as valid.
3673 (dbus-handle-bus-disconnect): New function. React to bus
3674 disconnection signal by synthesizing dbus error for each
3675 pending synchronous or asynchronous call.
3676 (dbus-notice-synchronous-call-errors): New function.
3677 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3678 is true, not all the time.
3680 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3682 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3683 Remove obsolescence declarations, these variables do not exist anymore.
3685 * savehist.el (savehist-save-minibuffer-history)
3686 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3687 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3688 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3689 mostly, refer to "Savehist mode" when talking about the mode,
3690 and not the function.
3692 * saveplace.el (save-place): Remove redundant info in docstring.
3693 (save-place-forget-unreadable-files, toggle-save-place)
3694 (save-place-forget-unreadable-files, save-place-dired-hook):
3695 Fix typos and remove unneeded backslashes.
3697 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3699 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3700 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3703 <insert-directory>: Use `tramp-handle-insert-directory'.
3704 (tramp-gvfs-handle-insert-directory): Remove function.
3706 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3707 Call `tramp-handle-insert-directory'.
3709 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3711 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3712 before the start of buffer/region (bug#16799).
3714 2014-02-20 Glenn Morris <rgm@gnu.org>
3716 * isearch.el (search-invisible): Doc fix.
3718 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3720 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3723 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3725 * frameset.el (frameset-restore): Delay removing an old frame's
3726 duplicate id until the new frame has been correctly created.
3728 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3730 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3731 (tramp-check-cached-permissions): Call `file-attributes' if the
3734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3735 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3737 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3738 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3739 (tramp-gvfs-maybe-open-connection): Set always connection
3740 properties, even if target is mounted already.
3742 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3743 Set tramp-autoload cookie.
3744 (tramp-get-remote-touch): New defun.
3745 (tramp-sh-handle-set-file-times): Use it.
3746 (tramp-sh-handle-directory-files-and-attributes):
3747 Use `tramp-handle-directory-files-and-attributes' if neither stat
3748 nor perl are available on the remote host.
3750 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3751 "/". Write long listing only when "l" belongs to the switches.
3753 * net/trampver.el: Update release number.
3755 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3757 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3759 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3761 * window.el (window-state-put): Allow WINDOW to refer to an
3762 internal window (Bug#16793).
3764 2014-02-19 Glenn Morris <rgm@gnu.org>
3766 * textmodes/remember.el: Move provide statement to end.
3767 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3768 (remember-notes): Doc fixes.
3770 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * delsel.el (delete-char): Restore incorrectly erased property
3775 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3777 * frameset.el (frameset--restore-frame): When a frame is being reused
3778 and its root window is not alive, delete all the frame's windows before
3779 restoring the window state. This works around the issue in bug#16793.
3781 2014-02-18 Glenn Morris <rgm@gnu.org>
3783 * textmodes/remember.el (remember-data-directory)
3784 (remember-directory-file-name-format, remember-store-in-files)
3785 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3786 (remember-notes-save-and-bury-buffer)
3787 (remember-notes--kill-buffer-query): Doc fixes.
3789 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3791 2014-02-17 Alan Mackenzie <acm@muc.de>
3793 Connect electric-indent-mode up with CC Mode. Bug #15478.
3794 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3795 to electric-indent-{,local-}-mode.
3796 (c-basic-common-init): Set electric-indent-inhibit.
3797 Initialise c-electric-flag from electric-indent-mode.
3798 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3799 New hook functions which propagate electric-indent-mode to CC mode.
3801 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3802 hit, toggle electric-indent-local-mode.
3804 * electric.el (electric-indent-mode-has-been-called):
3807 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3809 * frameset.el (frameset-cfg-id): New function.
3810 (frameset--reuse-frame, frameset-restore): Use it.
3811 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3813 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * ido.el (ido-file-internal): Remove unused var `d'.
3816 Use \` for to match BoS. Fit within 80n columns.
3818 2014-02-17 Daniel Colascione <dancol@dancol.org>
3820 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3821 dbus-call-method check for completion using a busy-wait loop with
3824 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3826 Sync with Tramp 2.2.9.
3828 * net/trampver.el: Update release number.
3830 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3832 * ido.el (ido-file-internal): Don't add the name of an existing
3833 directory twice. (Bug#16747)
3835 2014-02-16 Glenn Morris <rgm@gnu.org>
3837 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3838 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3840 2014-02-15 Michael R. Mauger <michael@mauger.com>
3842 * progmodes/sql.el: Version 3.4
3843 (sql-oracle-options): New default value ("-L").
3844 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3845 (sql-placeholders-filter): Correct placeholder pattern.
3846 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3847 (sql-login-delay): New variable.
3848 (sql-product-interactive): Use it.
3850 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3852 * frameset.el (frameset--jump-to-register): Check that buffer is live
3855 2014-02-15 Glenn Morris <rgm@gnu.org>
3857 * info.el (info-initialize): Revert 2014-01-10 change.
3859 2014-02-14 Glenn Morris <rgm@gnu.org>
3861 * replace.el (map-query-replace-regexp)
3862 (read-regexp-defaults-function, read-regexp): Doc fixes.
3864 * dired.el (dired-read-regexp):
3865 * faces.el (list-faces-display):
3866 * misearch.el (multi-isearch-read-matching-buffers)
3867 (multi-isearch-read-matching-files):
3868 * play/cookie1.el (cookie-apropos):
3869 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3871 * textmodes/remember.el (remember): Use frameset-to-register
3872 rather than frame-configuration-to-register.
3874 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3876 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3877 incorrect keybinding.
3879 2014-02-13 Daniel Colascione <dancol@dancol.org>
3881 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3882 when adding overlays so that line numbers from compiler match line
3885 2014-02-13 Glenn Morris <rgm@gnu.org>
3887 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3889 * jit-lock.el (jit-lock-mode): Doc fix.
3891 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3893 * apropos.el (apropos-read-pattern): When the user passes an empty
3894 string, give a more helpful error message than "Wrong type
3895 argument: stringp, nil".
3897 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3901 2014-02-13 Glenn Morris <rgm@gnu.org>
3903 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3905 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3907 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3908 shift-select commands.
3910 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3912 * progmodes/js.el (js-indent-line): Don't widen.
3913 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3915 2014-02-12 Glenn Morris <rgm@gnu.org>
3917 * icomplete.el (icomplete): Add info-link to defgroup.
3918 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3919 (icomplete-minibuffer-map, icomplete-mode)
3920 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3922 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3923 (package-menu-filter): Rename from package-menu-filter-interactive.
3926 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3928 * frameset.el (frameset--jump-to-register): Select the required
3929 window and buffer before restoring position (bug#16696).
3931 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3933 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3935 2014-02-10 Glenn Morris <rgm@gnu.org>
3937 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3939 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3941 * w32-common-fns.el (x-get-selection): Doc fix.
3942 * select.el (x-get-selection): Doc fix. (Bug#15109)
3944 * face-remap.el (face-remap-add-relative)
3945 (face-remap-remove-relative, face-remap-reset-base)
3946 (face-remap-set-base): Call force-mode-line-update to redisplay
3947 the current buffer due to potential change in faces. (Bug#16709)
3949 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3951 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3952 script more robustly.
3954 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3956 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3958 * simple.el (choose-completion): Doc fix (bug#14160).
3960 * subr.el (event-start): Say what a nil EVENT value means.
3962 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3965 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3967 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3969 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3971 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3972 predicate function (bug#15455).
3974 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3976 * ielm.el (inferior-emacs-lisp-mode): Instead of
3977 `comment-use-global-state', set `comment-use-syntax'.
3979 2014-02-10 Glenn Morris <rgm@gnu.org>
3981 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3983 2014-02-09 Alan Mackenzie <acm@muc.de>
3985 Fix c-invalidate-state-cache on narrowed buffers.
3986 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3987 Widen when setting and clearing the CPP delimiter properties.
3989 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3991 * help.el (describe-bindings): Doc fix (bug#9888).
3993 * files.el (save-buffer): Use ARG as the parameter name for
3994 consistency (bug#10346).
3995 (save-buffer): Clarify the 0 argument (bug#10346).
3997 * cus-edit.el (customize-apropos): Fix error string.
3998 (custom-buffer-create): Doc fix (bug#11122).
3999 (custom-sort-items): Doc fix (bug#11121).
4001 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4003 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4004 (icomplete-simple-completing-p): Mention the previous variable.
4006 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4007 meaning of the parameter (bug#12282).
4009 * files.el (find-file-noselect): Clarify prompt when changing
4010 readedness (bug#13261).
4011 (locate-file): Suffixes aren't returned, so don't say that they
4013 (backup-inhibited): Doc clarification (bug#12525).
4015 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4016 before we actually start to delete things (bug#16331).
4018 * subr.el (event-start): Doc fix (bug#14228).
4021 2014-02-09 Glenn Morris <rgm@gnu.org>
4023 * emacs-lisp/warnings.el (lwarn):
4024 Empower help-enable-auto-load. (Bug#15940)
4026 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4028 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4031 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4033 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4034 Insert output at end of buffer. (Bug#16120)
4036 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4038 * simple.el (choose-completion-string-functions): Document new
4039 calling convention (bug#14153).
4040 (execute-extended-command): Clarify doc string (bug#13373).
4042 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4044 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4045 (find-grep-dired): Doc fix (bug#14288).
4047 2014-02-08 Juri Linkov <juri@jurta.org>
4049 * isearch.el (isearch-quote-char): Check character validity
4050 like in `quoted-insert' (bug#16677).
4052 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4054 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4056 * isearch.el (isearch-hide-immediately): Doc clarification
4059 * simple.el (line-move): Document utility function used many
4060 places in the Emacs sources (bug#14843).
4062 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4063 (dired-prev-marked-file): Doc fix (bug#14855).
4064 (dired-up-directory): Doc fix (bug#14848).
4066 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4068 * files.el (file-relative-name): Doc fix (bug#15159).
4070 * fringe.el (fringe-styles): Doc fix (bug#15239).
4072 * isearch.el (isearch-filter-predicate): Documentation typo fix
4075 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4077 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4079 * replace.el (replace-match-maybe-edit): Doc clarification
4082 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4084 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4086 2014-02-08 Glenn Morris <rgm@gnu.org>
4088 * help-fns.el (describe-variable):
4089 Check {file,dir}-local-variables-alist, and buffer-file-name,
4090 in the correct buffer.
4092 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4094 * help-fns.el (describe-variable): Fix the case where
4095 a value is directory-local with no dir-locals file. (Bug#16635)
4097 2014-02-08 Glenn Morris <rgm@gnu.org>
4099 * abbrev.el (edit-abbrevs-mode):
4100 Derive from fundamental-mode. (Bug#16682)
4102 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4104 * simple.el (quoted-insert): Check character validity (bug#16677).
4106 2014-02-07 Juri Linkov <juri@jurta.org>
4108 * desktop.el (desktop-read): Claim the lock when the owner is not
4109 the current process. (Bug#16157)
4111 2014-02-07 Juri Linkov <juri@jurta.org>
4113 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4114 to "\\` ". (Bug#16651)
4116 2014-02-07 Juri Linkov <juri@jurta.org>
4118 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4119 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4120 (desktop-auto-save-cancel-timer): New function with some code from
4121 `desktop-auto-save-set-timer'.
4122 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4123 Instead of setting `desktop-save-mode' to nil, call
4124 `desktop-save-mode' with arg 0. (Bug#16630)
4126 2014-02-07 Glenn Morris <rgm@gnu.org>
4128 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4129 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4130 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4132 * obsolete/iswitchb.el: Move to obsolete/.
4133 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4134 since obsolete/ is not scanned for autoloads.
4135 * emacs-lisp/authors.el (authors-valid-file-names):
4138 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4139 Disable now non-functional find-file-hook.
4141 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4143 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4144 instead of ";" in order to avoid additional prompts. Let heredoc
4145 scripts read from tty. (Bug#16582)
4146 (tramp-send-command): No special handling of heredocs, it isn't
4149 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4151 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4152 with a space (bug#16664). Limit the symbols considered to the ones
4153 that are bound or fbound (bug#16646).
4155 2014-02-06 Glenn Morris <rgm@gnu.org>
4157 * epa.el (epa-mail-aliases): Doc fix.
4159 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4161 * emacs-lisp/lisp.el (lisp-completion-at-point):
4162 Use `completion-table-merge' instead of `completion-table-in-turn'
4165 * minibuffer.el (completion-table-merge): New function.
4167 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4169 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4170 (tramp-sh-handle-set-file-acl)
4171 (tramp-sh-handle-start-file-process)
4172 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4173 (tramp-find-executable, tramp-send-command): Use it.
4175 2014-02-05 Glenn Morris <rgm@gnu.org>
4177 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4179 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4181 * progmodes/python.el (python-shell-send-string)
4182 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4184 2014-02-04 Anders Lindgren <andlind@gmail.com>
4186 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4187 the names (bug#16620).
4189 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4191 * faces.el (window-divider): New default value. Rewrite doc-string.
4192 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4194 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4196 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4197 `protected' and `public' can also be called without arguments.
4199 2014-02-03 Glenn Morris <rgm@gnu.org>
4201 * register.el (window-configuration-to-register)
4202 (frame-configuration-to-register): Unadvertise unused argument.
4203 * frameset.el (frameset-to-register): Remove unused argument.
4205 * frameset.el (frameset-to-register):
4206 * kmacro.el (kmacro-to-register):
4207 * register.el (increment-register):
4208 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4209 (calc-append-to-register, calc-prepend-to-register):
4210 * play/gametree.el (gametree-layout-to-register)
4211 (gametree-apply-register-layout):
4212 * textmodes/picture.el (picture-clear-rectangle-to-register)
4213 (picture-yank-rectangle-from-register):
4214 * vc/emerge.el (emerge-combine-versions-register):
4215 Use register-read-with-preview to read registers.
4217 2014-02-03 João Távora <joaotavora@gmail.com>
4219 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4220 when at beginning of (possibly narrowed) buffer.
4222 2014-02-02 Daniel Colascione <dancol@dancol.org>
4224 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4225 Also try to display local help from just before point.
4227 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4229 c-parse-state. Don't "append-lower-brace-pair" in certain
4230 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4231 recognised as a comment.
4233 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4234 as well as normal comment starter.
4235 (c-parse-state-get-strategy): Extra return possibility
4237 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4238 return value list to indicate replacement of a brace-pair cons
4240 (c-parse-state-1): With 'back-and-forward, only call
4241 c-append-lower-brace-pair-to state-cache when cons-separated.
4243 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4245 * term/ns-win.el (ns-suspend-error): New function.
4246 (ns-initialize-window-system): Add ns-suspend-error to
4247 suspend-hook (Bug#16612).
4249 2014-02-02 Daniel Colascione <dancol@dancol.org>
4251 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4252 Make loading cc-mode silent.
4254 2014-02-02 Daniel Colascione <dancol@dancol.org>
4256 * comint.el (comint-prompt-read-only): Change doc to suggest
4259 2014-02-02 Glenn Morris <rgm@gnu.org>
4261 * register.el (register-read-with-preview, point-to-register)
4262 (window-configuration-to-register, frame-configuration-to-register)
4263 (jump-to-register, number-to-register, view-register, insert-register)
4264 (copy-to-register, append-to-register, prepend-to-register)
4265 (copy-rectangle-to-register): Doc fixes.
4267 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4269 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4270 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4271 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4272 * help-fns.el (describe-function-1): Use it.
4274 2014-02-02 Glenn Morris <rgm@gnu.org>
4276 * register.el (register-preview-default): New function,
4277 split from register-preview.
4278 (register-preview-function): Rename from register-preview-functions,
4280 (register-preview): Use register-preview-function.
4281 (register-read-with-preview): Error on non-character event. (Bug#16595)
4283 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4285 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4286 `:' before binary operators (bug#16609). Don't check for `:'
4287 before `[' and `(', or their syntax status. A percent literal
4288 can't end with either.
4289 (ruby-font-lock-keywords): For built-ins that require arguments,
4290 check that they're followed by something that looks like argument
4293 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4295 * subr.el (butlast): Document what an omitted N means (bug#13437).
4298 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4300 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4301 depth shallower (bug#16587).
4302 (shr-tag-svg): Respect `shr-inhibit-images'.
4303 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4305 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4307 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4308 (ruby-smie-grammar): Make "." right-associative. Make its priority
4309 lower than the ternary and all binary operators.
4310 (ruby-smie-rules): Indent "(" relative to the first non-"."
4311 parent, or the first "." parent at indentation.
4312 Use `ruby-align-chained-calls' for indentation of "." tokens.
4315 2014-01-31 Juri Linkov <juri@jurta.org>
4317 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4318 from `make-hash-table'.
4320 * textmodes/ispell.el (ispell-init-process): Change message format
4321 to be consistent with other messages.
4323 2014-01-31 Glenn Morris <rgm@gnu.org>
4325 * delsel.el (delete-selection-mode): Doc fix.
4327 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4328 (trace-function-background): Doc fixes.
4330 * ido.el (ido-use-virtual-buffers): Doc fix.
4331 Reset :version, since the default value has not changed.
4333 * register.el (register-preview-delay, register-read-with-preview):
4336 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4337 do not mess with mail-buffer position (fixes 2009-11-03 change).
4338 * progmodes/cc-mode.el (c-submit-bug-report):
4339 Check auto-fill-mode is bound. (Bug#16592)
4341 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4343 * startup.el (fancy-splash-image-file): New function,
4344 split from fancy-splash-head.
4345 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4346 so that we are both using the same image. (Bug#16574)
4348 2014-01-30 Glenn Morris <rgm@gnu.org>
4350 * simple.el (eval-expression): Doc fix.
4352 * hexl.el (hexl-mode-hook):
4353 * ielm.el (ielm-mode-hook):
4354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4355 (lisp-interaction-mode-hook):
4356 * progmodes/cfengine.el (cfengine3-documentation-function):
4357 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4359 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4362 is a symbol (bug#16584).
4364 2014-01-30 Glenn Morris <rgm@gnu.org>
4366 * help.el (help-for-help-internal): Add "P" to text.
4368 2014-01-29 Glenn Morris <rgm@gnu.org>
4370 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4372 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4374 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4377 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4379 * progmodes/hideif.el: Extend to full CPP expression syntax.
4380 (hif-token-alist): Add missing tokens.
4381 (hif-token-regexp): Add support for float/octal/hex immediates.
4382 (hif-string-literal-regexp): New const.
4383 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4384 (hif-exprlist): New function.
4385 (hif-parse-if-exp): Use it.
4386 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4387 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4388 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4389 (hif-logxor, hif-comma): New functions.
4391 2014-01-28 Glenn Morris <rgm@gnu.org>
4393 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4395 * indent.el (tab-stop-list): Doc fix. Add :version.
4397 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4398 (cvs-append-to-ignore): Add compatibility alias.
4400 2014-01-27 Glenn Morris <rgm@gnu.org>
4402 * dired.el (dired-hide-details-mode): Don't autoload it,
4403 since it cannot be used outside Dired buffers anyway.
4405 * emulation/cua-base.el (cua-mode): Doc fix.
4407 * dired.el (dired-hide-details-hide-symlink-targets)
4408 (dired-hide-details-hide-information-lines)
4409 (dired-hide-details-mode): Doc fixes.
4411 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4412 * strokes.el (strokes-file): Doc fix. Bump :version.
4413 (strokes-help): Doc fix.
4414 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4415 * emulation/viper.el (viper): Doc fix for custom group.
4416 (top-level): Remove oh-so-no-longer-relevant text about vip.
4417 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4419 * ido.el (ido-save-directory-list-file):
4420 * saveplace.el (save-place-file):
4421 * calendar/timeclock.el (timeclock-file):
4422 * net/quickurl.el (quickurl-url-file):
4423 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4424 * progmodes/idlwave.el (idlwave-config-directory):
4425 * textmodes/remember.el (remember-data-file):
4428 2014-01-26 Glenn Morris <rgm@gnu.org>
4430 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4431 Doc fix. Make obsolete.
4432 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4434 * sort.el (delete-duplicate-lines): Doc fix.
4436 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4438 * progmodes/ada-mode.el (ada):
4439 * woman.el (woman): Link to info manual and Commentary section.
4441 * progmodes/flymake.el (flymake):
4442 * nxml/nxml-mode.el (nxml):
4444 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4445 * htmlfontify.el (htmlfontify):
4448 * ido.el (ido): Link to info manual.
4450 2014-01-25 Leo Liu <sdl.web@gmail.com>
4452 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4454 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4456 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4459 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4461 * net/eww.el (eww-download-callback):
4462 Fix reference to eww-download-directory.
4464 * emacs-lisp/bytecomp.el (byte-compile-file):
4465 Remove unused local variable `file-name'.
4467 2014-01-24 Glenn Morris <rgm@gnu.org>
4469 * woman.el (woman-default-faces, woman-monochrome-faces):
4470 Fix obsolescence specification.
4472 * subr.el (with-demoted-errors): Doc fix.
4474 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4477 (cl--macroexp-fboundp): New function.
4478 (cl--make-type-test): Use it.
4480 2014-01-23 Glenn Morris <rgm@gnu.org>
4482 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4483 * simple.el (eval-expression): Doc fixes.
4485 2014-01-22 Glenn Morris <rgm@gnu.org>
4487 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4489 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * emacs-lisp/package.el: Write files silently.
4492 (package-autoload-ensure-default-file, package--write-file-no-coding)
4493 (package-generate-description-file, package--download-one-archive)
4494 (package-install-from-archive): Tell `write-region' to stay quiet.
4495 (package-menu-mode, package-menu--print-info): Omit the Archive column
4496 if there's only one archive.
4497 (package-all-keywords, package--has-keyword-p): Remove dead code.
4499 2014-01-22 Glenn Morris <rgm@gnu.org>
4501 * version.el (emacs-bzr-version-bzr): Fix typo.
4503 * version.el (emacs-repository-get-version):
4504 Check either .bzr or .git, but not both.
4505 Make the git case actually use the DIR argument, and return nil
4506 rather than the empty string.
4507 Avoid error if .git exists but the git executable is not found.
4509 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4511 Fixes in window size functions around Bug#16430 and Bug#16470.
4512 * window.el (window-total-size, window-size): New argument ROUND.
4513 (window--min-delta-1, window-min-delta, window--max-delta-1):
4514 Be more conservative when calculating the numbers of lines or
4515 columns a window can shrink (Bug#16430).
4516 (fit-window-to-buffer): Simplify code.
4517 * term.el (term-window-width): Call window-body-width again.
4519 2014-01-22 Glenn Morris <rgm@gnu.org>
4521 * image.el (image-format-suffixes): Doc fix.
4523 * international/quail.el (quail-define-package): Doc fix.
4525 * emacs-lisp/authors.el (authors-valid-file-names)
4526 (authors-renamed-files-alist): Additions.
4528 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4529 reverts 2014-01-09 change. (Bug#16422)
4531 * calc/calc-embed.el (thing-at-point-looking-at):
4532 * emacs-lisp/map-ynp.el (x-popup-dialog):
4533 * obsolete/lmenu.el (x-popup-dialog):
4534 * emacs-lisp/package.el (url-recreate-url):
4535 * mail/mailclient.el (clipboard-kill-ring-save):
4536 * subr.el (x-popup-dialog): Update declaration.
4537 * mail/rmail.el (rmail-mime-message-p):
4538 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4540 2014-01-21 Daniel Colascione <dancol@dancol.org>
4542 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4543 Correctly detect when we're inside an arithmetic expansion form
4544 containing nested parenthesis.
4545 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4546 to detect cases where we shouldn't expand "<<" to a heredoc
4549 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4551 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4552 (eldoc--message-command-p): New function.
4553 (eldoc-display-message-p): Use it.
4554 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4555 message is not automatically erased for us.
4556 (eldoc-print-current-symbol-info): Erase previous message, if any.
4558 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4560 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4561 specify it's an interactive function.
4563 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4564 Fix regex used for scanning for citation keys which failed for
4565 citations with optional arguments.
4567 2014-01-21 Leo Liu <sdl.web@gmail.com>
4569 * simple.el (read--expression): Don't enable eldoc-mode.
4571 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4573 * simple.el (move-beginning-of-line): Make sure we don't move forward
4576 2014-01-20 Juri Linkov <juri@jurta.org>
4578 * saveplace.el (toggle-save-place, save-place-to-alist)
4579 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4580 'dired-mode) before checking for dired-directory. (Bug#16477)
4582 2014-01-20 Juri Linkov <juri@jurta.org>
4584 * indent.el (indent-line-to): Use backward-to-indentation
4585 instead of back-to-indentation. (Bug#16461)
4587 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4589 Revert some of the CANNOT_DUMP fix (Bug#16494).
4590 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4591 but fixing this can wait until after the next release.
4592 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4594 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4596 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4597 Use `password-word-equivalents'.
4598 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4599 to t. (Bug#5664, Bug#13124)
4601 2014-01-19 Alan Mackenzie <acm@muc.de>
4603 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4605 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4606 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4607 * progmodes/cc-mode.el (c-before-change, c-after-change)
4608 (c-font-lock-fontify-region): Bind it here.
4610 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4612 * term.el (term-window-width): Call window-text-width instead of
4613 window-width (Bug#16470).
4615 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4617 * simple.el (password-word-equivalents): Remove duplicates.
4618 Sort, to make this easier next time.
4619 Downcase. Omit ": " after "jelszó".
4621 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4623 * term/common-win.el (saved-region-selection): Defvar it.
4624 (x-select-text): Set saved-region-selection (Bug#16382).
4626 2014-01-18 Glenn Morris <rgm@gnu.org>
4628 * emacs-lisp/authors.el (authors-aliases)
4629 (authors-renamed-files-alist): Add some entries.
4631 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4633 * net/tramp.el (tramp-password-prompt-regexp):
4634 Use `password-word-equivalents' if available.
4635 (tramp-action-password, tramp-process-one-action)
4636 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4638 2014-01-17 Chong Yidong <cyd@gnu.org>
4640 * simple.el (password-word-equivalents): New defcustom.
4641 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4643 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4646 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4648 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4649 (ruby-align-to-stmt-keywords): Change the default value.
4650 Use `ruby-alignable-keywords' to generate the possible customization
4652 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4653 keywords, check against the value of `ruby-alignable-keywords'
4654 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4656 2014-01-17 Glenn Morris <rgm@gnu.org>
4658 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4660 Make M-x authors return zero *Authors Errors* from current logs.
4661 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4662 (authors-ignored-files): Add some entries, remove others.
4663 (authors-ambiguous-files, authors-valid-file-names):
4665 (authors-renamed-files-alist): Add, remove, and adjust entries.
4666 (authors-renamed-files-regexps): Add some entries.
4667 Remove some very broad ones. Make some entries `lax'.
4668 (authors-lax-changelogs): New constant.
4669 (authors-disambiguate-file-name): Treat top-level specially.
4670 (authors-lax-changelog-p): New function.
4671 (authors-canonical-file-name): Check file as written against
4672 authors-valid-file-names. Do not special-case etc/.
4673 Handle `lax' logs and authors-renamed-files-regexps elements.
4675 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4677 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4678 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4681 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4683 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4684 Assume we're already in the proper buffer.
4685 Inspired by Anders Lindgren <andlind@gmail.com>.
4686 (follow-post-command-hook): Call it from the right buffer.
4687 (follow-comint-scroll-to-bottom): Adjust call.
4688 (follow-all-followers): Use get-buffer-window-list.
4690 2014-01-15 Daniel Colascione <dancol@dancol.org>
4692 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4693 `buffer-file-name' in interactive-form so that we don't leave
4694 pathless file names in `file-name-history'.
4696 2014-01-15 Juri Linkov <juri@jurta.org>
4698 * indent.el (indent-rigidly): Set deactivate-mark to nil
4699 in transient indentation mode. (Bug#16438)
4701 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4703 * emacs-lisp/package.el (package-desc-keywords): New function
4705 (describe-package-1, package-all-keywords)
4706 (package--has-keyword-p): Use it.
4708 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4710 * simple.el (define-alternatives): When creating the
4711 COMMAND-alternatives variable, assign COMMAND as its definition
4712 name so that `describe-variable' can relocate it.
4714 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4716 * font-lock.el (font-lock-keywords): Fix typo in docstring
4719 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4721 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4722 line instead of wrongly reset `add-coment' (bug#13577).
4724 2014-01-14 Daiki Ueno <ueno@gnu.org>
4726 * epa-file.el (epa-file-write-region): Encode the region according
4727 to `buffer-file-format'. Problem reported at:
4728 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4730 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4732 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4733 so it applies in the right buffer (bug#16410).
4735 2014-01-13 Daniel Colascione <dancol@dancol.org>
4737 * textmodes/rst.el (rst-define-key): Provide deprecated
4738 keybindings through named functions instead of anonymous ones so
4739 that "??" doesn't appear in describe-mode output.
4741 2014-01-13 Bastien Guerry <bzg@gnu.org>
4743 * simple.el (define-alternatives): Call the selected command
4744 interactively. When setting `COMMAND--implementation' for the
4745 first time, tell the user how to chose another implementation.
4746 Enhance the docstring.
4748 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4750 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4751 (log-edit--match-first-line): New function.
4752 (log-edit-font-lock-keywords): Use it.
4753 (log-edit-mode): Make jit-lock-defer-multiline work.
4755 2014-01-13 Bastien Guerry <bzg@gnu.org>
4757 * rect.el (rectangle-mark-mode): When the region is not active,
4758 display a message saying that the mark as been set and that
4759 rectangle mode is in use.
4760 (rectangle--highlight-for-redisplay): Only put an overlay with a
4761 visible vertical bar when (display-graphic-p) is non-nil.
4762 This partially fixes Bug#16403.
4764 2014-01-13 Juri Linkov <juri@jurta.org>
4766 * info.el (Info-find-file): Go to DIR before displaying the error
4767 about a nonexistent file if no previous Info file is visited.
4768 Use `user-error' instead of `error' for "Info file %s does not exist".
4769 (Info-find-node-2): In case of a nonexistent node in unwind forms
4770 go to the Top node if there is no previous node to revert to.
4773 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4775 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4776 * window.el (fit-frame-to-buffer): Fix doc-string.
4777 Respect window-min-height/-width. Fit pixelwise when
4778 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4779 when avoiding that frame goes partially off-screen.
4780 (fit-window-to-buffer): Respect window-min-height/-width
4783 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4785 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4786 after an empty line.
4788 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4790 * net/shr.el (shr-render-region): Autoload.
4792 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4794 * net/eww.el (eww-download-directory): Rename from
4795 `eww-download-path' (Bug#16419).
4797 2014-01-12 Leo Liu <sdl.web@gmail.com>
4799 * dired-x.el (dired-mode-map): Fix last change.
4801 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4803 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4806 * emacs-lisp/generic.el (generic--normalize-comments):
4807 Rename from generic--normalise-comments. All uses changed.
4808 * play/bubbles.el (bubbles--neighborhood-score)
4809 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4810 (bubbles--neighborhood-available)
4811 (bubbles--update-neighborhood-score):
4812 Rename from names with 'neighbourhood'. All uses changed.
4814 2014-01-12 Leo Liu <sdl.web@gmail.com>
4816 Re-implement the feature of showing eldoc info after editing.
4817 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4818 (eldoc-edit-message-commands): New function.
4819 (eldoc-print-after-edit): New variable.
4820 (eldoc-pre-command-refresh-echo-area): Emit message only by
4821 eldoc-message-commands.
4822 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4823 if eldoc-print-after-edit is set. (Bug#16346)
4824 * simple.el (read--expression): Enable eldoc-mode.
4825 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4827 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4828 Eric S. Raymond <esr@thyrsus.com>
4830 * version.el (emacs-repository-get-version): Enhance so the
4831 function works correctly in either a Bazaar or Git repo.
4833 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4835 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4836 Goes with removal of the joke manpages from /etc.
4838 2014-01-10 Kenichi Handa <handa@gnu.org>
4840 * mail/rmail.el (rmail-get-coding-system):
4841 Check rmail-get-coding-function before "funcall"ing it.
4843 2014-01-10 Glenn Morris <rgm@gnu.org>
4845 * emacs-lisp/authors.el (authors-fixed-entries):
4846 Update for files that no longer exist.
4848 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4850 * version.el (emacs-bzr-get-version): Restore compatibilty with
4853 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4855 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4858 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4860 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4862 2014-01-10 Chong Yidong <cyd@gnu.org>
4864 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4866 2014-01-10 Anders Lindgren <andlind@gmail.com>
4868 * follow.el (follow-cache-command-list): Include right-char and
4871 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4874 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4875 * woman.el (woman-mark-horizontal-position):
4876 Rename from woman-mark-horizonal-position. Use changed.
4878 2014-01-10 Glenn Morris <rgm@gnu.org>
4880 * info.el (info-initialize): If running uninstalled, ensure our
4881 own info files are always found first, even if INFOPATH is set.
4883 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4885 2014-01-09 David Engster <deng@randomsample.de>
4887 * emacs-lisp/eieio-custom.el:
4888 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4889 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4890 * emacs-lisp/eieio.el: Regenerate autoloads.
4892 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4894 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4895 following renames. (Bug#8756)
4897 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4901 (activate-mark): Add `no-tmm' argument.
4902 (set-mark, push-mark-command): Use it instead of running
4903 activate-mark-hook by hand.
4905 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4907 In preparation for the move to git, sanitize out some
4908 Bazaar-specific names.
4910 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4912 * version.el (emacs-bzr-version): Name changed to
4913 emacs-repository-version. Obsolete-variable alias made.
4914 * loadup.el: Follow through on this name change.
4915 * mail/emacsbug.el (report-emacs-bug): Factor out any
4916 assumption about the version control system in use.
4918 2014-01-08 David Engster <deng@randomsample.de>
4920 * help-fns.el (help-fns-describe-function-functions):
4921 New variable to call functions for augmenting help buffers.
4922 (describe-function-1): Remove explicit calls to
4923 `help-fns--compiler-macro', `help-fns--parent-mode' and
4924 `help-fns--obsolete'. Put them in above new variable instead, and
4925 call them through `run-hook-with-args'.
4926 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4927 `eieio-describe-class'. Not meant for interactive use anymore,
4928 but to augment existing help buffers. Remove optional second
4929 argument. Create proper button for file location.
4930 Rewrite function to use `insert' instead of `princ' and `prin1' where
4932 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4933 (eieio-method-def, eieio-class-def): Move further up.
4934 (describe-method, describe-generic, eieio-describe-method):
4936 (eieio-help-constructor, eieio-help-generic): Rename from
4937 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4938 Rewrite to use `insert' in the current buffer and use proper help
4940 (eieio-help-find-method-definition)
4941 (eieio-help-find-class-definition): Also accept symbols as
4943 (eieio-help-mode-augmentation-maybee): Remove.
4944 (eieio-describe-class-sb): Use `describe-function'.
4945 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4946 Add `eieio-help-generic' and `eieio-help-constructor'.
4948 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4951 * language/china-util.el (hz-ascii-designation):
4952 Rename from hz-ascii-designnation.
4953 (hz-ascii-designation): Rename from hz-ascii-designnation.
4956 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4961 2014-01-08 Bastien Guerry <bzg@gnu.org>
4963 * emacs-lisp/package.el (package-delete):
4964 Correctly delete the package from package-alist.
4966 2014-01-08 Daiki Ueno <ueno@gnu.org>
4968 * emacs-lisp/package.el (url-recreate-url): Declare.
4969 (url-http-target-url): Declare.
4970 (package-handle-response): Include requested URL in the error message.
4971 (package--check-signature): Don't re-signal errors from
4972 package--with-work-buffer. Suggested by Stefan Monnier.
4974 2014-01-07 Bastien Guerry <bzg@gnu.org>
4976 * minibuffer.el (completion--try-word-completion): When both a
4977 hyphen and a space are possible candidates for the character
4978 following a word, display both candidates. (Bug#15980)
4980 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4982 * window.el (balance-windows-2): While rounding don't give a
4983 window more than the remainder. Bug#16351, bug#16383.
4985 2014-01-07 Glenn Morris <rgm@gnu.org>
4987 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4988 (menu-bar-help-menu): Use view-external-packages instead.
4990 2014-01-07 Bastien Guerry <bzg@gnu.org>
4992 * emacs-lisp/package.el (package-delete): Also delete the package
4993 name from `package-alist', not its description only.
4995 2014-01-07 Glenn Morris <rgm@gnu.org>
4997 * help.el (view-external-packages):
4998 * menu-bar.el (menu-bar-help-extra-packages):
4999 Visit efaq.info rather than etc/MORE.STUFF.
5001 2014-01-07 Juri Linkov <juri@jurta.org>
5003 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5004 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5006 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5007 that shadows RET. (Bug#16342)
5009 2014-01-07 Chong Yidong <cyd@gnu.org>
5011 * isearch.el (isearch-yank-char, isearch-yank-word)
5012 (isearch-yank-line): Doc fix.
5014 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5016 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5017 * emacs-lisp/elint.el (elint-find-builtins):
5018 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5019 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5020 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5021 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5022 * apropos.el (apropos-safe-documentation):
5023 * subr.el (symbol-file): Remove redundant fboundp.
5024 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5026 2014-01-06 Bastien Guerry <bzg@gnu.org>
5028 * hl-line.el (global-hl-line-overlay): Make a local variable.
5029 (global-hl-line-overlays): New variable to store all overlays.
5030 (global-hl-line-mode): Don't delete overlays from the current
5031 buffer when `global-hl-line-sticky-flag' is non-nil.
5032 (global-hl-line-highlight): Add new overlays to
5033 `global-hl-line-overlays'.
5034 (global-hl-line-unhighlight-all): New function to delete all
5035 overlays when turning off `global-hl-line-mode'.
5036 This fixes Bug#16183.
5038 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5040 * subr.el (set-transient-map): Fix nested case and docstring.
5042 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5044 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5047 2014-01-06 Daniel Colascione <dancol@dancol.org>
5049 Fix defun navigation in vc log view.
5051 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5052 like `beginning-of-defun'.
5053 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5054 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5055 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5056 (log-view-extract-comment): Call `log-view-current-entry' directly
5057 instead of relying on broken `log-view-beginning-of-defun' behavior.
5059 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5062 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5063 * emacs-lisp/debug.el (cancel-debug-on-entry):
5064 * epg.el (epg-error-to-string):
5065 * files.el (recover-file):
5066 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5067 * mail/emacsbug.el (report-emacs-bug-hook):
5068 * mail/sendmail.el (mail-recover):
5069 * ses.el (ses-yank-resize):
5070 * term/ns-win.el (ns-print-buffer):
5071 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5072 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5074 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5076 2014-01-06 Leo Liu <sdl.web@gmail.com>
5078 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5079 to avoid shadowing global key. (Bug#16354)
5081 2014-01-06 Daniel Colascione <dancol@dancol.org>
5083 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5086 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5088 * window.el (balance-windows): Add mising t to fix Bug#16351.
5090 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5092 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5094 (shr-insert): If we have a word that's longer than `shr-width',
5095 break after it anyway. Otherwise we'll do no breaking once we get
5098 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5100 * net/eww.el (eww): Support single/double quote for search.
5101 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5102 (eww-history-quit): Delete and use quit-window.
5103 (eww-history-kill): Delete, because it doesn't work well and
5105 (eww-history-mode-map): Delete some keys and add easy-menu.
5107 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5109 Fix misspelling of 'chinese' in rx (Bug#16237).
5110 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5113 Change subword regexps back to vars (Bug#16296).
5114 * progmodes/subword.el (subword-forward-regexp)
5115 (subword-backward-regexp): Change these back to variables.
5117 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5119 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5120 syntax-begin-function (bug#16247).
5122 2014-01-03 Chong Yidong <cyd@gnu.org>
5124 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5125 (advice--docstring): Delete variable.
5126 (advice--make-1): Leave the docstring empty.
5127 (advice-add): Use function-documentation for advised docstring.
5129 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5130 Ignore function-documentation property when getting documentation.
5131 (ad-activate-advised-definition): Use function-documentation
5132 generate the docstring.
5133 (ad-make-advised-definition): Don't call
5134 ad-make-advised-definition-docstring.
5135 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5138 * progmodes/sql.el (sql-help): Use function-documentation instead
5139 of dynamic-docstring-function property. No need to autoload now.
5140 (sql--help-docstring): New variable.
5141 (sql--make-help-docstring): Use it.
5143 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5145 * ielm.el (ielm-tab): Retarget.
5146 (ielm-map): Use ielm-tab for tab.
5147 (ielm-complete-filename): Use comint-filename-completion.
5148 (ielm-complete-symbol): Remove.
5149 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5150 remove ielm-tab from completion-at-point-functions (bug#16224).
5152 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5153 Beware signals raised by predicates (bug#16201).
5155 2014-01-02 Richard Stallman <rms@gnu.org>
5157 * dired-aux.el (dired-do-print): Handle printer-name.
5159 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5160 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5161 (rmail-epa-decrypt): Turn off mime processing.
5163 * mail/rmail.el (rmail-make-in-reply-to-field):
5164 Add parens in message-id.
5166 * mail/rmail.el (rmail-get-coding-function): Variable.
5167 (rmail-get-coding-system): Use it.
5169 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5171 * international/mule-conf.el: Unify the charset indian-is13194.
5172 (indian-is13194): Specify unify-map.
5174 2013-12-31 Leo Liu <sdl.web@gmail.com>
5176 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5178 2013-12-30 Daniel Colascione <dancol@dancol.org>
5180 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5181 of printing a useless when we resume from sleep.
5183 * progmodes/sh-script.el
5184 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5185 in indentation code. (Bug#16233)
5187 2013-12-28 João Távora <joaotavora@gmail.com>
5189 * elec-pair.el (electric-pair-post-self-insert-function):
5190 Don't open extra newlines at beginning of buffer. (Bug#16272)
5192 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5194 * frame.el (window-system-for-display): Don't allow to create a
5195 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5197 2013-12-28 Glenn Morris <rgm@gnu.org>
5199 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5202 * apropos.el (apropos-match-face):
5203 * calculator.el (calculator-displayer):
5204 * dabbrev.el (dabbrev-search-these-buffers-only):
5205 * face-remap.el (buffer-face-mode-face):
5206 * simple.el (yank-handled-properties):
5207 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5208 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5209 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5210 (hashcash-double-spend-database):
5211 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5212 (ruby-deep-indent-paren-style):
5213 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5214 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5215 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5216 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5217 Specify custom types.
5219 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5220 * bookmark.el (bookmark-bmenu-use-header-line):
5221 * doc-view.el (doc-view-scale-internally):
5222 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5223 * register.el (register-preview-delay):
5224 * net/shr.el (shr-bullet):
5225 * progmodes/cfengine.el (cfengine-cf-promises)
5226 (cfengine-parameters-indent):
5227 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5228 * textmodes/reftex-vars.el (reftex-label-regexps):
5229 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5231 * net/tls.el (tls-certtool-program): Fix default value.
5233 * desktop.el (desktop-restore-in-current-display):
5234 * newcomment.el (comment-empty-lines):
5235 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5236 (idlwave-pad-keyword):
5237 * progmodes/tcl.el (tcl-tab-always-indent):
5238 * textmodes/reftex-vars.el (reftex-index-default-tag):
5239 * elec-pair.el (electric-pair-skip-whitespace):
5240 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5242 * emacs-lisp/authors.el (authors-ignored-files)
5243 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5245 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5247 * shell.el (shell-dynamic-complete-command): Doc fix.
5248 (shell--command-completion-data): Shell completion now matches
5249 executable filenames from the current buffer's directory, on
5250 systems in which this behavior is the default (windows-nt, ms-dos).
5252 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5254 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5256 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5258 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5261 * electric.el: Move all electric-pair-* to elec-pair.el.
5262 * elec-pair.el: New file, split from electric.el.
5264 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5266 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5267 indentation level is larger than the width, because that will
5269 (shr-insert): Fill repeatedly long texts, so that Japanese is
5270 formatted correctly (bug#16263).
5271 (shr-find-fill-point): Off by one error in comparison with the
5274 2013-12-26 João Távora <joaotavora@gmail.com>
5276 * electric.el (electric-pair-mode): More flexible engine for skip-
5277 and inhibit predicates, new options for pairing-related functionality.
5278 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5279 if that keeps or improves their balance in buffers.
5280 (electric-pair-delete-adjacent-pairs): Delete the pair when
5281 backspacing over adjacent matched delimiters.
5282 (electric-pair-open-extra-newline): Open extra newline when
5283 inserting newlines between adjacent matched delimiters.
5284 (electric--sort-post-self-insertion-hook):
5285 Sort post-self-insert-hook according to priority values when
5286 minor-modes are activated.
5287 * simple.el (newline-and-indent): Call newline with interactive
5289 (blink-paren-post-self-insert-function): Set priority to 100.
5290 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5291 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5292 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5293 electric-pair-open-newline-between-pairs to nil.
5295 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5297 * progmodes/python.el: Use lexical-binding.
5298 (python-nav-beginning-of-defun): Stop searching ASAP.
5300 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5302 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5303 Fix interactive spec. Doc fix. (Bug#15754)
5305 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5307 * emacs-lisp/byte-run.el (eval-when-compile):
5308 * progmodes/cc-defs.el (cc-eval-when-compile):
5309 Fix edebug spec (bug#16184).
5311 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5313 * net/shr.el (shr-visit-file): Remove debugging function.
5314 (shr-insert): Don't infloop if we can't find a good place to break
5315 the line (bug#16256).
5317 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5319 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5320 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5321 python-nav-lisp-forward-sexp-safe.
5322 (python-nav--forward-sexp): New argument SAFE allows switching
5323 forward sexp movement behavior for parens.
5324 (python-nav-forward-sexp): Throw errors on unterminated parens
5326 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5327 (python-nav-backward-sexp-safe): New functions.
5328 (python-shell-buffer-substring):
5329 Use `python-nav-forward-sexp-safe'.
5331 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5333 * net/shr.el (shr-find-fill-point): Don't break lines before a
5335 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5336 (shr-find-fill-point): Remove the special checks for the quotation
5337 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5339 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5341 * net/eww.el (eww-form-textarea): Use a different face for
5342 textareas than text input since they have different keymaps
5345 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5347 * progmodes/python.el (python-nav-beginning-of-statement):
5348 Speed up (Bug#15295).
5350 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5352 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5353 the window configuration.
5355 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5357 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5358 we run on MS-Windows or MS-DOS.
5360 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5362 * window.el (balance-windows-area): Call window-size instead of
5363 window-height and window-width. Bug#16241.
5365 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5367 * net/eww.el (eww-bookmark-quit): Remove.
5368 (eww-bookmark-browse): Restore the window configuration when you
5369 choose a bookmark (bug#16144).
5371 2013-12-24 Daniel Colascione <dancol@dancol.org>
5373 * icomplete.el: Remove redundant :group arguments to `defcustom'
5375 (icomplete-show-matches-on-no-input): New customizable variable.
5376 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5377 we have something to show.
5378 (icomplete-exhibit): Compute completions even if we have no user input.
5380 2013-12-23 Daniel Colascione <dancol@dancol.org>
5382 * icomplete.el: Move `provide' to end of file.
5384 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5386 * net/gnutls.el (gnutls-verify-error): Add version tag.
5388 2013-12-23 Chong Yidong <cyd@gnu.org>
5390 * subr.el (set-transient-map): Rename from
5391 set-temporary-overlay-map. Doc fix.
5393 * face-remap.el (text-scale-adjust):
5394 * indent.el (indent-rigidly):
5395 * kmacro.el (kmacro-call-macro):
5396 * minibuffer.el (minibuffer-force-complete):
5397 * repeat.el (repeat):
5398 * simple.el (universal-argument--mode):
5399 * calendar/todo-mode.el (todo-insert-item--next-param):
5400 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5402 * indent.el (indent-rigidly): Use substitute-command-keys.
5404 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5406 * net/eww.el (eww-tag-select): Add text-property to jump to next
5408 (eww): Add non-supported ftp error.
5410 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5412 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5413 comments. Handle electric indent after typing `?' and `!'.
5415 2013-12-22 Chong Yidong <cyd@gnu.org>
5417 * faces.el (face-spec-recalc): If the theme specs are not
5418 applicable to a frame, fall back on the defface spec.
5419 This prevents themes from obliterating faces on low-color terminals.
5421 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5423 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5424 after `{'. We need it after block openers, and it doesn't seem
5425 to hurt after hash openers.
5427 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5429 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5430 extracted from `ruby-smie-rules'.
5431 (ruby--electric-indent-chars): New variable.
5432 (ruby--electric-indent-p): New function.
5433 (ruby-mode): Use `electric-indent-functions' instead of
5434 `electric-indent-chars'.
5436 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5438 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5440 (ruby-smie-rules): Indent plus one level after `=>'.
5442 2013-12-21 Richard Stallman <rms@gnu.org>
5444 * simple.el (newline): Doc fix.
5446 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5448 * net/eww.el (eww-list-histories, eww-list-histories)
5449 (eww-history-browse, eww-history-quit, eww-history-kill)
5450 (eww-history-mode-map, eww-history-mode): New command and
5451 functions to list browser histories.
5452 (eww-form-text): Support text form with disabled
5453 and readonly attributes.
5454 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5456 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5458 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5459 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5460 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5461 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5463 (eww-bookmark-mode-map): Add menu.
5464 (eww-render, eww-mode): Use `setq-local'.
5465 (eww-tool-bar-map): New variable.
5466 (eww-mode): Set `tool-bar-map'.
5467 (eww-view-source): Check for `html-mode' with `fboundp'.
5469 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5471 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5472 elements with text inside. Also remove debugging.
5474 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5476 * cus-start.el (all): Add ns-use-srgb-colorspace.
5478 2013-12-21 Chong Yidong <cyd@gnu.org>
5480 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5481 undefined. Thus, theme settings for undefined faces do not take
5482 effect until the faces are defined with defface, the same as with
5485 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5486 (face-spec-reset-face): Don't assign extra properties in temacs.
5487 (face-spec-recalc): Apply X resources too.
5489 2013-12-21 Chong Yidong <cyd@gnu.org>
5491 * faces.el (face-spec-set):
5492 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5493 * custom.el (defface): Doc fixes (Bug#16203).
5495 * indent.el (indent-rigidly-map): Add docstring, and move commands
5496 into named functions.
5497 (indent-rigidly-left, indent-rigidly-right)
5498 (indent-rigidly-left-to-tab-stop)
5499 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5500 indentation direction based on bidi direction, and accumulate
5501 sequential commands in a single undo boundary.
5502 (indent-rigidly--pop-undo): New utility function.
5504 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5506 * faces.el (read-face-name): Require crm.el when using crm-separator.
5508 2013-12-20 Daniel Colascione <dancol@dancol.org>
5510 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5511 so that we don't reflow comments into the shebang line.
5513 2013-12-20 Juri Linkov <juri@jurta.org>
5515 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5516 a position when `dired-directory' is non-nil. Check integer
5517 positions with `integerp'.
5518 (toggle-save-place, save-places-to-alist): Add check for
5520 (save-place-find-file-hook): Check integer positions with
5522 (save-place-dired-hook): Use `dired-goto-file' when
5523 `dired-filename' is found in the assoc list. Check integer
5524 positions with `integerp'.
5525 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5527 * dired.el (dired-initial-position-hook): Rename back from
5528 `dired-initial-point-hook'.
5529 (dired-initial-position): Rename `dired-initial-point-hook' to
5530 `dired-initial-position-hook'.
5531 (dired-file-name-at-point): Doc fix. (Bug#15329)
5533 2013-12-20 Juri Linkov <juri@jurta.org>
5535 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5536 (read-regexp-suggestions): New function.
5537 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5538 Use `read-regexp-suggestions'. Add non-empty default to history
5540 (occur-read-regexp-defaults-function): Remove function.
5541 (occur-read-primary-args): Use `regexp-history-last' instead of
5542 `occur-read-regexp-defaults-function'.
5544 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5545 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5546 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5547 `hi-lock-read-regexp-defaults-function'. Doc fix.
5548 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5549 with `find-tag-default-as-symbol-regexp'. Doc fix.
5550 (hi-lock-read-regexp-defaults): Remove function.
5551 (hi-lock-regexp-okay): Add check for null.
5553 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5554 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5556 * subr.el (find-tag-default-as-symbol-regexp): New function.
5557 (find-tag-default-as-regexp): Move symbol regexp formatting to
5558 `find-tag-default-as-symbol-regexp'.
5560 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5562 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5565 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5567 * calendar/todo-mode.el: New implementation of item insertion
5568 commands and key bindings.
5569 (todo-key-prompt): New face.
5570 (todo-insert-item): New command.
5571 (todo-insert-item--parameters): New defconst, replacing defvar
5572 todo-insertion-commands-args-genlist.
5573 (todo-insert-item--param-key-alist): New defconst, replacing
5574 defvar todo-insertion-commands-arg-key-list.
5575 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5576 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5577 (todo-insert-item--next-param): New functions.
5578 (todo-insert-item--args, todo-insert-item--argleft)
5579 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5581 (todo-key-bindings-t): Change binding of "i" from
5582 todo-insertion-map to todo-insert-item.
5583 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5584 (todo-insertion-command-name, todo-insertion-commands-names)
5585 (todo-define-insertion-command, todo-insertion-commands)
5586 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5588 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5590 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5591 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5593 (todo-move-category): Allow choosing a non-existing todo file to
5594 move the category to, and create that file.
5595 (todo-default-priority): New user option.
5596 (todo-set-item-priority): Use it.
5597 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5598 (desktop-restore-file-buffer): Declare.
5599 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5600 (todo-modes-set-2): Locally set desktop-save-buffer to
5601 todo-desktop-save-buffer.
5602 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5603 (auto-mode-alist): Add autoload cookie.
5605 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5607 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5608 helpers.el was a poor choice of name.
5609 (string-remove-prefix): New function.
5610 (string-remove-suffix): New function.
5612 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5614 Fix assignment for new window total sizes.
5615 * window.el (window--pixel-to-size): Remove function.
5616 (window--pixel-to-total-1, window--pixel-to-total):
5617 Fix calculation of new total sizes.
5619 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5621 * comint.el (comint-output-filter): Fix rear-nonsticky property
5622 placement (Bug#16010).
5624 2013-12-20 Chong Yidong <cyd@gnu.org>
5626 * faces.el (read-color): Minor fix for completion function.
5628 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5630 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5631 New option. (Bug#16182)
5632 (ruby-smie--indent-to-stmt-p): Use it.
5633 (ruby-smie-rules): Revert the logic in the handling of `when'.
5634 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5635 (ruby-deep-arglist, ruby-deep-indent-paren)
5636 (ruby-deep-indent-paren-style): Update docstrings to note that the
5637 vars don't have any effect with SMIE.
5639 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5641 * calc/calc.el (calc-enter, calc-pop): Use the variable
5642 `calc-context-sensitive-enter'.
5644 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5646 * net/shr.el (shr-insert): Protect against infloops in degenerate
5649 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5651 * progmodes/octave.el (octave): Add link to manual and octave
5653 (octave-mode-menu): Link to octave-mode manual.
5655 2013-12-20 Leo Liu <sdl.web@gmail.com>
5657 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5658 insertion using skeleton-end-newline. (Bug#16138)
5660 2013-12-20 Juri Linkov <juri@jurta.org>
5662 * replace.el (occur-engine): Use `add-face-text-property'
5663 to add the face property to matches and titles. (Bug#14645)
5665 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5666 the palette of other hi-lock colors.
5667 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5669 2013-12-19 Juri Linkov <juri@jurta.org>
5671 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5672 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5673 (minibuffer-history-symbol): Move variable declaration closer to
5676 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5679 2013-12-19 Juri Linkov <juri@jurta.org>
5681 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5683 (log-edit-hook): Add it to :options. (Bug#16170)
5685 2013-12-19 Juri Linkov <juri@jurta.org>
5687 * simple.el (eval-expression-print-format): Don't check for
5688 command names and the last command. Always display additional
5689 formats of the integer result in the echo area, and insert them
5690 to the current buffer only with a zero prefix arg.
5691 Display character when char-displayable-p is non-nil.
5692 (eval-expression): With a zero prefix arg, set `print-length' and
5693 `print-level' to nil, and insert the integer values from
5694 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5696 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5697 `eval-last-sexp-arg-internal'. Doc fix.
5698 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5699 `eval-last-sexp-print-value'. Doc fix.
5700 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5701 Set `print-length' and `print-level' to nil when arg is zero.
5702 (eval-last-sexp): Doc fix.
5703 (eval-defun-2): Print the integer values from
5704 `eval-expression-print-format' at the end.
5706 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5707 values from `eval-expression-print-format' at the end.
5709 * ielm.el (ielm-eval-input): Print the integer
5710 values from `eval-expression-print-format' at the end.
5712 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5714 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5715 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5717 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5719 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5720 (hl-line-highlight, global-hl-line-highlight): Use it.
5721 (hl-line-overlay): Use defvar-local.
5723 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5725 * term/ns-win.el: Require dnd.
5726 (global-map): Remove drag items.
5727 (ns-insert-text, ns-set-foreground-at-mouse)
5728 (ns-set-background-at-mouse):
5729 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5730 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5733 2013-12-19 Glenn Morris <rgm@gnu.org>
5735 * emacs-lisp/ert.el (ert-select-tests):
5736 Fix string/symbol mixup. (Bug#16121)
5738 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5740 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5741 keywords to their parent.
5743 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5745 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5746 first arg to be a string (fixed dead code), or an operator symbol.
5747 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5749 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5750 did nothing. Don't respond to `(:after ".")', it will be called
5751 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5752 change anything. Only return indentation for binary operators
5753 when they are hanging. De-dent opening paren when its parent is
5754 `.', otherwise it looks bad when the dot is not at bol or eol
5757 2013-12-19 Juri Linkov <juri@jurta.org>
5759 * replace.el (query-replace-read-args): Split a non-negative arg
5760 and a negative arg into separate elements.
5761 (query-replace, query-replace-regexp, replace-string)
5762 (replace-regexp): Add arg `backward'. Doc fix.
5763 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5764 move point to the beginning of the match.
5765 (replace-search, replace-highlight): Use new arg `backward'
5766 to set the value of `isearch-forward'.
5767 (perform-replace): Add arg `backward' and use it to perform
5768 replacement backward. (Bug#14979)
5770 * isearch.el (isearch-query-replace): Use a negative prefix arg
5771 to call `perform-replace' with a non-nil arg `backward'.
5773 2013-12-18 Juri Linkov <juri@jurta.org>
5775 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5776 to the default list. Move `log-edit-show-files' to the end.
5777 Add more available functions to options.
5778 (log-edit): Move default specific settings to
5779 `log-edit-insert-message-template'. Don't move point.
5780 (log-edit-insert-message-template): New function.
5781 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5784 2013-12-18 Juri Linkov <juri@jurta.org>
5786 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5787 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5789 2013-12-18 Leo Liu <sdl.web@gmail.com>
5791 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5794 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5796 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5797 formats for displaying file sizes when the -s switch is given.
5798 Instead, compute a separate format for displaying the size in
5799 blocks, which is displayed in addition to the "regular" size.
5800 When -h is given in addition to -s, produce size in blocks in
5801 human-readable form as well. (Bug#16179)
5803 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5805 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5806 Reference tables with ~\ref{...} instead of only \ref{...}.
5808 2013-12-18 Chong Yidong <cyd@gnu.org>
5810 * cus-edit.el (custom-magic-alist): Fix "themed" description
5813 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5814 is non-nil, do not create a new entry in the symbol's theme-value
5815 or theme-face property; update theme-settings only (Bug#14664).
5816 (custom-available-themes): Doc fix.
5818 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5821 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5823 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5825 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5828 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5830 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5832 2013-12-18 Glenn Morris <rgm@gnu.org>
5834 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5835 * cus-start.el (load-prefer-newer): New option.
5837 2013-12-18 Le Wang <l26wang@gmail.com>
5839 * comint.el (comint-previous-matching-input-from-input):
5840 Retain point (Bug#13404).
5842 2013-12-18 Chong Yidong <cyd@gnu.org>
5844 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5846 2013-12-18 Glenn Morris <rgm@gnu.org>
5848 * mail/emacsbug.el (report-emacs-bug):
5849 Only mention enable-multibyte-characters if non-standard.
5851 2013-12-17 Juri Linkov <juri@jurta.org>
5853 * arc-mode.el (archive-extract-by-file): Check if directory exists
5854 before deletion to not show irrelevant errors if it doesn't exist.
5856 2013-12-17 Juri Linkov <juri@jurta.org>
5858 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5861 * net/eww.el (browse-web): Add alias to `eww'.
5862 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5863 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5865 * net/browse-url.el (browse-url-browser-function): Move `eww'
5866 closer to similar functions.
5868 * startup.el (fancy-startup-screen, fancy-about-screen):
5869 Set browse-url-browser-function to eww-browse-url locally.
5872 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * window.el (window--pixel-to-total): Remove unused `mini' var.
5875 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5876 (split-window): Remove unused `new' var.
5877 (window--display-buffer): Remove unused `frame' and `delta' vars.
5878 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5881 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5883 * dired.el (dired-mark-pop-up):
5884 * register.el (register-preview): Don't bind
5885 split-height-threshold here since it's now done in
5886 display-buffer-below-selected.
5888 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5890 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5891 xterm-rgb-convert-to-16bit.
5892 (rxvt-register-default-colors): Standardize with
5893 xterm-register-default-colors (Bug#14078).
5895 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5897 * simple.el (kill-region): Pass mark first, then point, so that
5898 kill-append works right (Bug#12819).
5899 (copy-region-as-kill, kill-ring-save): Likewise.
5901 2013-12-17 Leo Liu <sdl.web@gmail.com>
5903 * net/rcirc.el (rcirc-add-face):
5904 * eshell/em-prompt.el (eshell-emit-prompt):
5905 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5908 2013-12-17 Chong Yidong <cyd@gnu.org>
5910 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5911 Suggested by Xue Fuqiao.
5913 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5915 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5917 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5919 * net/shr.el (shr-insert-document): Remove unused var
5920 `shr-preliminary-table-render'.
5921 (shr-rescale-image): Remove unused arg `force'.
5922 (shr-put-image): Update calls accordingly.
5923 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5925 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5927 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5928 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5929 :close-all, to see which indentation method to use (Bug#16116).
5930 (smie-rules-function): Document the method :close-all.
5932 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5934 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5936 * net/eww.el (eww-display-html): If we can't find the anchor we're
5937 looking for, then go to point-min.
5939 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5941 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5942 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5943 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5944 Expand dir too, in case it's relative.
5946 2013-12-16 Juri Linkov <juri@jurta.org>
5948 * desktop.el (desktop-auto-save-timeout): Change default to
5949 `auto-save-timeout'. Doc fix.
5950 (desktop-save): Skip the timestamp in desktop-saved-frameset
5951 when checking for auto-save changes.
5952 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5953 `desktop-auto-save' is called repeatedly by the idle timer.
5954 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5955 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5958 2013-12-16 Juri Linkov <juri@jurta.org>
5960 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5962 (isearch-pre-command-hook): Check `this-command' for symbolp.
5964 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5966 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5968 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5970 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5971 (cfengine3--current-function): Bring in the current-function
5972 functionality from `cfengine3--current-word'.
5973 (cfengine3-completion-function): Bring in the
5974 bounds-of-current-word functionality from
5975 `cfengine3--current-word'.
5977 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5979 * window.el (display-buffer-below-selected):
5980 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5982 2013-12-16 Leo Liu <sdl.web@gmail.com>
5984 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5985 Remove NOMSG arg and all uses changed.
5987 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5989 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5990 (cua--deactivate-rectangle): Don't deactivate the mark.
5991 (cua-set-rectangle-mark): Don't set mark-active since
5992 cua--activate-rectangle already does it for us.
5993 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5994 non-rectangular region.
5996 * emulation/cua-base.el (cua-repeat-replace-region):
5997 Use with-current-buffer.
5999 * net/gnutls.el: Use cl-lib.
6000 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6002 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6004 * emacs-lisp/package.el (package-built-in-p): Support both
6005 built-in and the package.el converted package descriptions.
6006 (package-show-package-list): Allow keywords.
6007 (package-keyword-button-action): Use it instead of
6008 `finder-list-matches'.
6009 (package-menu-filter-interactive): Interactive filtering (by
6011 (package-menu--generate): Support keywords and change keymappings
6012 and headers when they are given.
6013 (package--has-keyword-p): Helper function.
6014 (package-menu--refresh): Use it.
6015 (package--mapc): Helper function.
6016 (package-all-keywords): Use it.
6017 (package-menu-mode-map): Set up menu items and keybindings to
6018 provide a filtering UI.
6020 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6022 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6023 the behavior when a certificate fails validation. Defaults to
6024 old behavior: never abort, just warn.
6025 (gnutls-negotiate): Use it.
6027 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6029 * window.el (display-buffer-below-selected): Never split window
6030 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6032 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6034 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6035 (package-buffer-info): Use it (bug#15108).
6037 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6039 * icomplete.el (icomplete-completions): Make sure the prefix is already
6040 displayed elsewhere before hiding it (bug#16219).
6042 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6044 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6045 open-paren tokens when preceded by a open-paren, too.
6046 (ruby-smie-rules): Handle virtual indentation after open-paren
6047 tokens specially. If there is code between it and eol, return the
6048 column where is starts (Bug#16118).
6050 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6052 * progmodes/cfengine.el: Fix `add-hook' doc.
6053 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6054 (cfengine3--current-word): Fix parameters.
6055 (cfengine3-make-syntax-cache): Simplify further.
6056 (cfengine3-completion-function, cfengine3--current-function):
6057 Use `assq' for symbols.
6058 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6060 2013-12-13 Glenn Morris <rgm@gnu.org>
6062 * loadup.el (load-path): Warn if site-load or site-init changes it.
6063 No more need to reset it when bootstrapping.
6065 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6067 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6068 locations for cf-promises.
6069 (cfengine-mode-syntax-functions-regex): New caching variable.
6070 (cfengine3-fallback-syntax): Fallback syntax for cases where
6071 cf-promises doesn't run.
6072 (cfengine3--current-word): Reimplement using
6073 `cfengine-mode-syntax-functions-regex'.
6074 (cfengine3-completion-function, cfengine3--current-function):
6075 Use `cfengine3-make-syntax-cache' directly.
6076 (cfengine3-clear-syntax-cache): New function.
6077 (cfengine3-make-syntax-cache): Simplify and create
6078 `cfengine-mode-syntax-functions-regex' on demand.
6079 (cfengine3-format-function-docstring): Don't call
6080 `cfengine3-make-syntax-cache' explicitly.
6082 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6084 Fix windmove-find-other-window broken after pixelwise resizing
6086 * windmove.el (windmove-other-window-loc): Revert change from
6088 (windmove-find-other-window): Call window-in-direction.
6089 * window.el (window-in-direction): New arguments SIGN, WRAP and
6090 MINI to emulate original windmove-find-other-window behavior.
6092 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6094 * simple.el (blink-matching--overlay): New variable.
6095 (blink-matching-open): Instead of moving point, highlight the
6096 matching paren with an overlay
6097 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6099 * faces.el (paren-showing-faces, show-paren-match)
6100 (show-paren-mismatch): Move from paren.el.
6102 2013-12-13 Leo Liu <sdl.web@gmail.com>
6104 * indent.el (indent-region): Disable progress reporter in
6105 minibuffer. (Bug#16108)
6107 * bindings.el (visual-order-cursor-movement): Fix version.
6109 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6111 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6112 Also match after beginning of line.
6113 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6114 files. Thanks to Russell Sim. (Bug#15378)
6116 2013-12-13 Juri Linkov <juri@jurta.org>
6118 * simple.el <Keypad support>: Remove key bindings duplicated
6119 with bindings.el. (Bug#14397)
6121 2013-12-13 Juri Linkov <juri@jurta.org>
6123 * comint.el (comint-mode-map): Replace `delete-char' with
6124 `delete-forward-char'. (Bug#16109)
6126 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6128 * progmodes/python.el (python-indent-calculate-indentation):
6129 Fix de-denters cornercase. (Bug#15731)
6131 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6133 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6134 (advice--make): Pay attention to `depth'.
6135 (advice--make-1): Don't autoload commands eagerly.
6136 * emacs-lisp/elp.el (elp-instrument-function):
6137 * emacs-lisp/trace.el (trace-function-internal):
6138 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6140 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6142 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6144 * term/w32-win.el (w32-handle-dropped-file):
6145 * startup.el (normal-top-level):
6146 * net/browse-url.el (browse-url-file-url):
6147 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6148 decode file names using 'utf-8' rather than
6149 file-name-coding-system.
6151 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6153 * progmodes/python.el (python-indent-context)
6154 (python-indent-calculate-indentation): Fix auto-identation
6155 behavior for comment blocks. (Bug#15916)
6157 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6159 * progmodes/python.el (python-indent-calculate-indentation):
6160 When determining indentation, don't treat "return", "pass", etc., as
6161 operators when they are just string constituents. (Bug#15812)
6163 2013-12-12 Juri Linkov <juri@jurta.org>
6165 * uniquify.el (uniquify-buffer-name-style): Change default to
6166 `post-forward-angle-brackets'.
6168 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6169 `uniquify'. Change default to `post-forward-angle-brackets'.
6171 2013-12-11 Glenn Morris <rgm@gnu.org>
6173 * emacs-lisp/package.el (finder-list-matches):
6174 Autoload rather than falsely declaring.
6176 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6178 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6179 (eww-mode-map): Use them.
6181 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6183 * window.el (display-buffer-in-side-window): Fix doc-string
6186 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6188 * vc/vc-git.el: Silence byte-compiler warnings.
6189 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6190 (log-edit-set-header): Declare.
6192 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6194 * Makefile.in (custom-deps, finder-data): Run output file names
6195 through unmsys--file-name. (Bug#16099)
6197 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6200 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6202 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6203 instead of deleting the selection "by hand" (bug#16098).
6204 Rely on insert-for-yank to yank rectangles.
6205 (cua-highlight-region-shift-only): Mark obsolete.
6206 (cua-mode): Don't enable/disable transient-mark-mode,
6207 shift-select-mode (cua-mode works both with and without them), and
6208 pc-selection-mode (obsolete).
6209 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6210 (cua--deactivate-rectangle): Deactivate it.
6212 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6213 (delete-selection-helper): Make sure yank starts at the top of the
6215 (minibuffer-keyboard-quit): Use region-active-p.
6217 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6219 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6220 to `delete' (bug#16109).
6222 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6224 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6225 info manual and show keybindings and set `:group' keyword.
6227 2013-12-11 Juri Linkov <juri@jurta.org>
6229 * delsel.el (delete-active-region): Let-bind `this-command'
6230 to prevent `kill-region' from changing its original value.
6231 (delete-selection-helper): Handle `overwrite-mode' for the type
6232 `kill' exactly the same way as for the type `t'.
6233 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6234 Support more commands. (Bug#13312)
6236 2013-12-11 Juri Linkov <juri@jurta.org>
6238 * bindings.el: Map kp keys to non-kp keys systematically
6239 with basic modifiers control, meta and shift. (Bug#14397)
6241 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6243 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6244 "Close browser" menu items. Fix wrong function of "List
6247 2013-12-11 Juri Linkov <juri@jurta.org>
6249 * misearch.el (multi-isearch-buffers): Set the value of
6250 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6251 arg of isearch-forward to t.
6252 (multi-isearch-buffers-regexp): Set the value of
6253 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6254 arg of isearch-forward-regexp to t.
6255 (multi-isearch-files): Set the value of
6256 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6257 arg of isearch-forward to t.
6258 (multi-isearch-files-regexp): Set the value of
6259 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6260 arg of isearch-forward-regexp to t. (Bug#16035)
6262 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6263 arg of isearch-forward to t.
6264 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6265 arg of isearch-forward-regexp to t.
6266 (dired-isearch-filter-filenames): Remove unnecessary check for
6267 `dired-isearch-filenames'.
6269 * comint.el (comint-history-isearch-backward):
6270 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6271 (comint-history-isearch-backward-regexp):
6272 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6274 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6276 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6277 unmsys--file-name. (Bug#16099)
6279 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6281 * emacs-lisp/package.el (package-keyword-button-action):
6282 Remove finder.el require dependency.
6284 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6286 * emacs-lisp/package.el: Require finder.el.
6287 (describe-package-1): Add keyword buttons.
6288 (package-make-button): New convenience function.
6289 (package-keyword-button-action): Keyword button action using
6290 `finder-list-matches'.
6292 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6294 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6297 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6299 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6302 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6304 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6305 after the end of a percent literal.
6307 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6309 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6310 Handle caret-delimited strings (Bug#16079).
6312 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6314 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6315 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6316 `ruby-parse-partial' (Bug#16078).
6318 2013-12-09 Leo Liu <sdl.web@gmail.com>
6320 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6322 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6324 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6325 (js-switch-indent-offset): New option.
6326 (js--proper-indentation): Use it. And handle the case when
6327 "default" is actually a key in an object literal.
6328 (js--same-line): New function.
6329 (js--multi-line-declaration-indentation): Use it.
6330 (js--indent-in-array-comp, js--array-comp-indentation):
6332 (js--proper-indentation): Use them, to handle array comprehension
6335 2013-12-08 Leo Liu <sdl.web@gmail.com>
6337 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6338 (flymake-make-overlay): Remove arg MOUSE-FACE.
6339 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6341 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6343 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6345 (redisplay-highlight-region-function): Use it.
6347 * emulation/cua-base.el (cua--explicit-region-start)
6348 (cua--last-region-shifted): Remove.
6349 (cua--deactivate): Use deactivate-mark.
6350 (cua--pre-command-handler-1): Don't handle shift-selection.
6351 (cua--post-command-handler-1): Don't change transient-mark-mode.
6352 (cua--select-keymaps): Use region-active-p rather than
6353 cua--explicit-region-start or cua--last-region-shifted.
6354 (cua-mode): Enable shift-select-mode.
6356 2013-12-08 Leo Liu <sdl.web@gmail.com>
6358 * progmodes/flymake.el (flymake-popup-current-error-menu):
6359 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6360 (flymake-posn-at-point-as-event, flymake-popup-menu)
6361 (flymake-make-emacs-menu): Remove. (Bug#16077)
6363 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * rect.el (rectangle-mark-mode): Activate mark even if
6366 transient-mark-mode is off (bug#16066).
6367 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6368 is > mark and at bolp.
6370 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6371 (region-extract-function): Use it.
6372 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6373 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6375 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6376 kill-ring-save, kill-region, delete-char, delete-forward-char.
6377 Ignore self-insert-iso.
6379 * emulation/cua-gmrk.el (cua--init-global-mark):
6380 Ignore `self-insert-iso'.
6382 * emulation/cua-base.el (cua--prefix-copy-handler)
6383 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6384 checking cua--rectangle.
6385 (cua-delete-region): Use region-extract-function.
6386 (cua-replace-region): Delete function.
6387 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6388 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6389 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6390 (cua--init-keymaps): Don't remap delete-selection commands.
6391 (cua-mode): Use delete-selection-mode instead of rolling our own
6394 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6395 Obey region-extract-function.
6397 Make registers and delete-selection-mode work on rectangles.
6398 * register.el (describe-register-1): Don't modify the register's value.
6399 (copy-to-register): Obey region-extract-function.
6400 * delsel.el (delete-active-region): Obey region-extract-function.
6402 2013-12-08 Leo Liu <sdl.web@gmail.com>
6404 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6405 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6406 (flymake-compilation-prevents-syntax-check)
6407 (flymake-start-syntax-check-on-newline)
6408 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6409 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6410 (flymake-xml-program, flymake-master-file-dirs)
6411 (flymake-master-file-count-limit)
6412 (flymake-allowed-file-name-masks): Relocate.
6413 (flymake-makehash, flymake-float-time)
6414 (flymake-replace-regexp-in-string, flymake-split-string)
6415 (flymake-get-temp-dir): Remove.
6416 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6417 (flymake-current-row, flymake-selected-frame)
6418 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6419 related functions. (Bug#16077)
6421 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6423 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6425 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6427 * help-fns.el (describe-function-1): Use new advice-* functions
6428 rather than old ad-* functions. Fix function type description and
6429 source links for advised functions and subrs.
6431 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6433 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6435 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6437 * progmodes/compile.el (compilation-start):
6438 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6440 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6441 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6443 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6445 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6446 Touch up the last change.
6448 2013-12-06 Leo Liu <sdl.web@gmail.com>
6450 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6451 (inferior-octave-startup): Always use "octave> " for prompt.
6452 (octave-goto-function-definition)
6453 (octave-sync-function-file-names)
6454 (octave-find-definition-default-filename): Remove redundant backquotes.
6456 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6458 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6460 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6461 where appropriate already.
6462 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6463 end of method names (Bug#15874).
6465 2013-12-06 Juri Linkov <juri@jurta.org>
6467 * isearch.el (isearch--saved-overriding-local-map):
6468 New internal variable.
6469 (isearch-mode): Set it to the initial value of
6470 `overriding-terminal-local-map'.
6471 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6472 with `isearch--saved-overriding-local-map'. (Bug#16035)
6474 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6476 * progmodes/octave.el (inferior-octave-completion-table):
6477 Turn back into function, use `completion-table-with-cache'
6478 (Bug#11906). Update all references.
6480 * minibuffer.el (completion-table-with-cache): New function.
6482 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6484 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6486 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6488 * net/eww.el (eww-current-source): New variable to store page
6490 (eww-display-html, eww-mode, eww-save-history)
6491 (eww-restore-history): Use it.
6492 (eww-view-source): New command to view page source.
6493 Opportunistically uses `html-mode' to highlight the buffer.
6494 (eww-mode-map): Install it.
6496 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6498 * net/dbus.el (dbus-unregister-service)
6499 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6501 (dbus-unregister-service): Skip :serial entries in
6502 `dbus-registered-objects-table'.
6503 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6505 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6507 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6508 around keywords with extra `split-string' argument.
6510 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6512 * windmove.el (windmove-other-window-loc): Handle navigation
6513 between windows (excluding the minibuffer window - Bug#16017).
6515 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6517 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6518 in D-Bus type syntax.
6519 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6520 preserve unibyte strings. (Bug#16048)
6522 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6524 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6525 Call force-mode-line-update is the proper buffer (bug#16042).
6527 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6529 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6530 `log-edit-remember-comment', make argument optional. Adjust all
6532 (log-edit-mode): Add `log-edit-remember-comment' to
6533 `kill-buffer-hook' locally.
6534 (log-edit-kill-buffer): Don't remember comment explicitly since
6535 the buffer is killed anyway.
6537 2013-12-04 Juri Linkov <juri@jurta.org>
6539 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6540 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6542 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6544 * notifications.el (notifications-close-notification): Call the
6545 D-Bus method with ID being a `:uint32'. (Bug#16030)
6547 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6549 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6551 2013-12-03 Juri Linkov <juri@jurta.org>
6553 * progmodes/compile.el (compilation-start): Rename window alist
6554 entry `no-display-ok' to `allow-no-window'.
6556 * simple.el (shell-command): Add window alist entry
6557 `allow-no-window' to `display-buffer'.
6558 (async-shell-command): Doc fix.
6560 * window.el (display-buffer-no-window): New action function.
6561 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6563 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6565 * vc/log-edit.el (log-edit-set-header): Extract from
6566 `log-edit-toggle-header'.
6567 (log-edit-extract-headers): Separate the summary, when extracted
6568 from header, from the rest of the message with an empty line.
6570 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6571 line, if present, to the Summary header.
6573 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6575 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6576 in current-buffer (bug#16029).
6578 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6580 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6581 (debugger-mode-map): Bind it.
6582 (debugger--backtrace-base): New function.
6583 (debugger-eval-expression): Use it.
6584 (debugger-frame-number): Skip local vars when present.
6585 (debugger--locals-visible-p, debugger--insert-locals)
6586 (debugger--show-locals, debugger--hide-locals): New functions.
6588 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6590 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6592 (tramp-get-remote-locale): New defun.
6593 (tramp-open-connection-setup-interactive-shell): Use it.
6595 2013-12-02 Leo Liu <sdl.web@gmail.com>
6597 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6599 * progmodes/sh-script.el (sh-shell-process):
6600 * progmodes/octave.el (inferior-octave-process-live-p):
6601 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6602 (gdb-inferior-io-sentinel):
6603 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6605 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6607 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6608 `save-selected-window' to `log-edit-hide-buf'. This makes
6609 `log-edit-show-files' idempotent.
6610 (log-edit-show-files): Mark the new window as dedicated.
6612 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6614 * vc/log-edit.el (log-edit-mode-map): Add binding for
6615 `log-edit-kill-biffer'.
6616 (log-edit-hide-buf): Add a FIXME comment.
6617 (log-edit-add-new-comment): New function, extracted from
6619 (log-edit-done, log-edit-add-to-changelog): Use it.
6620 (log-edit-kill-buffer): New command.
6622 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6624 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6625 instead of killing the buffer.
6627 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6629 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6631 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6633 * net/eww.el (eww-form-checkbox-selected-symbol)
6634 (eww-form-checkbox-symbol): New customizable variable.
6635 (eww-form-checkbox, eww-toggle-checkbox):
6636 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6638 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6639 (shr--get-media-pref, shr--extract-best-source): New function.
6640 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6641 no :src tag was specified.
6643 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6644 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6645 Use \\` to match beginning of string instead of ^.
6646 (eww-browse-with-external-browser): Provide optional URL parameter.
6647 (eww-render): Set `eww-current-title' back to "".
6649 * net/shr.el (shr-tag-video): Display content for video if no
6650 poster is available.
6651 (shr-tag-audio): Add support for <audio> tag.
6653 * net/eww.el (eww-text-input-types): New const.
6654 (eww-process-text-input): Treat input types in
6655 `eww-text-input-types' as text.
6657 * net/shr.el (shr-tag-table): Fix comment typo.
6659 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6661 * net/eww.el (eww-follow-link): New command to avoid reloading
6662 pages when we follow #target links (bug#15243).
6663 (eww-quit): Special mode buffers shouldn't query before exiting.
6665 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6667 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6670 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6672 * net/eww.el (eww-restore-history): Update the window title after
6673 moving in the history.
6674 (eww-current-dom): New variable used to save the current DOM.
6676 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6678 * vc/log-edit.el (log-edit-mode-map): Add binding for
6679 `log-edit-beginning-of-line'.
6680 (log-edit-setup-add-author): New user option.
6681 (log-edit-beginning-of-line): New command.
6682 (log-edit): Move major mode call above the contents setup so that
6683 the local variable values are already applied.
6684 (log-edit): Only insert "Author: " when
6685 `log-edit-setup-add-author' is non-nil.
6686 (log-edit): When SETUP is non-nil, position point after ": "
6687 instead of point-min.
6689 2013-12-01 Glenn Morris <rgm@gnu.org>
6691 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6693 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6695 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6696 redisplay to make sure the initial frame gets a chance to become
6697 visible. (Bug#16014)
6699 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6701 Support resizing frames and windows pixelwise.
6702 * cus-start.el (frame-resize-pixelwise)
6703 (window-resize-pixelwise): New entries.
6704 * emacs-lisp/debug.el (debug): Use window-total-height instead
6705 of window-total-size.
6706 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6707 * help.el (describe-bindings-internal): Use help-buffer as
6708 argument for with-help-window.
6709 (temp-buffer-max-width): New option.
6710 (resize-temp-buffer-window, help-window-setup)
6711 (with-help-window): Rewrite.
6712 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6714 * window.el (frame-char-size, window-min-pixel-height)
6715 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6716 (window-min-pixel-width, window-safe-min-pixel-size)
6717 (window-combination-p, window-safe-min-size)
6718 (window-resizable-p, window--size-to-pixel)
6719 (window--pixel-to-size, window--resize-apply-p): New functions.
6720 (window-safe-min-height): Fix doc-string.
6721 (window-size, window-min-size, window--min-size-1)
6722 (window-sizable, window-sizable-p, window--min-delta-1)
6723 (window-min-delta, window--max-delta-1, window-max-delta)
6724 (window--resizable, window--resizable-p, window-resizable)
6725 (window-full-height-p, window-full-width-p, window-at-side-p)
6726 (window--in-direction-2, window-in-direction)
6727 (window--resize-reset-1, window--resize-mini-window)
6728 (window-resize, window-resize-no-error)
6729 (window--resize-child-windows-normal)
6730 (window--resize-child-windows, window--resize-siblings)
6731 (window--resize-this-window, window--resize-root-window)
6732 (window--resize-root-window-vertically)
6733 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6734 (maximize-window, minimize-window, delete-window)
6735 (quit-restore-window, window-split-min-size, split-window)
6736 (balance-windows-2, balance-windows)
6737 (balance-windows-area-adjust, balance-windows-area)
6738 (window--state-get-1, window-state-get, window--state-put-1)
6739 (window--state-put-2, window-state-put)
6740 (display-buffer-record-window, window--display-buffer):
6741 Make functions handle pixelwise sizing of windows.
6742 (display-buffer--action-function-custom-type)
6743 (display-buffer-fallback-action):
6744 Add display-buffer-in-previous-window.
6745 (display-buffer-use-some-window): Resize window to height it had
6747 (fit-window-to-buffer-horizontally): New option.
6748 (fit-frame-to-buffer): Describe new values.
6749 (fit-frame-to-buffer-bottom-margin): Replace with
6750 fit-frame-to-buffer-margins.
6751 (window--sanitize-margin): New function.
6752 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6753 using window-text-pixel-size.
6755 2013-11-30 Glenn Morris <rgm@gnu.org>
6757 * emacs-lisp/bytecomp.el (byte-compile-form):
6758 Make the `interactive-only' warning like the `obsolete' one.
6759 * comint.el (comint-run):
6760 * files.el (insert-file-literally, insert-file):
6761 * replace.el (replace-string, replace-regexp):
6762 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6763 (goto-line, insert-buffer, next-line, previous-line):
6764 Tweak `interactive-only' spec.
6766 Stop keeping (most) generated cedet grammar files in the repository.
6767 * Makefile.in (semantic): New.
6768 (compile-main): Depend on semantic.
6770 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6772 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6773 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6775 * uniquify.el (uniquify-buffer-name-style): Change default.
6777 * loadup.el: Preload "uniquify".
6779 * time.el (display-time-update): Update all mode lines (bug#15999).
6781 * electric.el (electric-indent-mode): Enable by default.
6782 * loadup.el: Preload "electric".
6784 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6786 * emacs-lisp/helpers.el (string-empty-p): New function.
6787 (string-blank-p): New function.
6789 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6791 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6794 2013-11-29 Andreas Politz <politza@fh-trier.de>
6795 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6796 allow non-lambda lists as functions.
6797 (imenu--in-alist): Don't recurse into non-subalists.
6798 (imenu): Don't pass function itself as an argument (Bug#14029).
6800 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * progmodes/python.el (python-mode-map): Remove binding for ":".
6803 (python-indent-electric-colon): Remove command.
6804 (python-indent-post-self-insert-function): Integrate the previous code
6805 of python-indent-electric-colon. Make it conditional on
6806 electric-indent-mode.
6807 (python-mode): Add ?: to electric-indent-chars.
6808 Move python-indent-post-self-insert-function to the end of
6809 post-self-insert-hook.
6811 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * doc-view.el (doc-view-goto-page): Update mode-line.
6815 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6817 2013-11-27 Glenn Morris <rgm@gnu.org>
6819 * international/charprop.el, international/uni-bidi.el:
6820 * international/uni-category.el, international/uni-combining.el:
6821 * international/uni-comment.el, international/uni-decimal.el:
6822 * international/uni-decomposition.el, international/uni-digit.el:
6823 * international/uni-lowercase.el, international/uni-mirrored.el:
6824 * international/uni-name.el, international/uni-numeric.el:
6825 * international/uni-old-name.el, international/uni-titlecase.el:
6826 * international/uni-uppercase.el:
6827 Remove generated files from VCS repository.
6829 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6831 * filenotify.el (file-notify-add-watch): Don't special-case
6832 w32notify when computing the directory to watch.
6834 2013-11-27 Glenn Morris <rgm@gnu.org>
6836 Make bootstrap without generated uni-*.el files possible again.
6837 * loadup.el: Update command-line-args checking for unidata-gen.
6838 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6839 * composite.el, international/characters.el:
6840 Handle unicode tables being undefined.
6842 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6843 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6844 (compile-main): Depend on leim rule.
6846 * loadup.el: Move leim-list.el to leim/ subdirectory.
6847 * startup.el (normal-top-level): No more leim directory.
6848 * international/ja-dic-cnv.el (skkdic-convert):
6849 Disable version-control and autoloads in output files.
6850 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6851 Disable version-control and autoloads in output files.
6852 * leim/quail: Move here from ../leim.
6853 * leim/quail/hangul.el (hangul-input-method-activate):
6854 Add autoload cookie.
6855 (generated-autoload-load-name): Set file-local value.
6856 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6857 (generated-autoload-load-name): Set file-local value.
6859 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6861 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6862 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6863 (eww-quit): Ask confirmation before quitting eww.
6865 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6867 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6868 reading output from Diff on MS-Windows and MS-DOS.
6870 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6872 * emacs-lisp/helpers.el (string-reverse): New function.
6874 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6876 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6877 names on MS Windows, like "/[::1]:".
6879 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6882 2013-11-26 Glenn Morris <rgm@gnu.org>
6884 * progmodes/python.el (python-indent-guess-indent-offset):
6885 Avoid corner-case error. (Bug#15975)
6887 Preload leim-list.el. (Bug#4789)
6888 * loadup.el: Load leim-list.el when found.
6889 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6891 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6893 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6895 * emacs-lisp/helpers.el (string-join): New function.
6897 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6899 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6900 Mark as obsolete and replace it with a symbol property.
6901 (byte-compile-form): Use new 'interactive-only property.
6902 * comint.el, files.el, replace.el, simple.el:
6903 Apply new 'interactive-only properly.
6905 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6907 * window.el (display-buffer-at-bottom): Make sure that
6908 split-window-sensibly creates the new window on bottom
6911 2013-11-23 David Kastrup <dak@gnu.org>
6913 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6914 on the conflict markers when available.
6915 (smerge--get-marker): New function.
6916 (smerge-end-re, smerge-base-re): Add subgroup.
6918 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * frame.el (handle-focus-in, handle-focus-out): Add missing
6923 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6925 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6926 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6928 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6931 (gomoku--last-pos): New var.
6932 (gomoku--intangible-chars): New const.
6933 (gomoku--intangible): New function.
6934 (gomoku-mode): Use it. Derive from special-mode.
6935 (gomoku-move-up): Adjust line count.
6936 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6937 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6938 Simplify accordingly.
6940 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6941 Remove blink-cursor code.
6942 (blink-cursor-timer-function, blink-cursor-suspend):
6943 Don't special-case GUIs.
6944 (blink-cursor-mode): Use focus-in/out-hook.
6946 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6948 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6949 work when annotation is invisible (Bug#13886).
6951 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6953 * json.el (json-alist-p): Only return non-nil if the alist has
6954 simple keys (Bug#13518).
6956 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6958 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6959 when control-statement is the first statement in a buffer (Bug#15956).
6961 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6963 * imenu.el (imenu-generic-skip-comments-and-strings):
6964 New option (Bug#15560).
6965 (imenu--generic-function): Use it.
6967 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6969 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6972 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6974 * emacs-lisp/helpers.el: Add some string helpers.
6975 (string-trim-left): Removes leading whitespace.
6976 (string-trim-right): Removes trailing whitespace.
6977 (string-trim): Removes leading and trailing whitespace.
6979 * subr.el (string-suffix-p): New function.
6981 2013-11-23 Glenn Morris <rgm@gnu.org>
6983 * progmodes/python.el (python-shell-send-file):
6984 Add option to delete file when done. (Bug#15647)
6985 (python-shell-send-string, python-shell-send-region): Use it.
6987 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6989 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6990 to set buffer-read-only to t, never to nil. (Bug#15938)
6992 * textmodes/tex-mode.el (latex-noindent-environments):
6993 Add safe-local-variable property. (Bug#15936)
6995 2013-11-23 Glenn Morris <rgm@gnu.org>
6997 * textmodes/enriched.el (enriched-mode): Doc fix.
6998 * emacs-lisp/authors.el (authors-renamed-files-alist):
6999 Add enriched.doc -> enriched.txt.
7001 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7003 2013-11-22 Leo Liu <sdl.web@gmail.com>
7005 * progmodes/octave.el (inferior-octave-startup): Spit out error
7008 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7010 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7013 (ruby-encoding-magic-comment-style): Add :version.
7015 2013-11-22 Leo Liu <sdl.web@gmail.com>
7017 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7019 (octave-help-mode): Adapt to change to help-mode-finish to use
7020 derived-mode-p on 2013-09-17.
7021 (inferior-octave-prompt): Also match octave-gui.
7022 (octave-kill-process): Don't ask twice. (Bug#10564)
7024 2013-11-22 Leo Liu <sdl.web@gmail.com>
7026 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7027 (inferior-octave-startup, inferior-octave-check-process)
7028 (inferior-octave-track-window-width-change)
7029 (octave-completion-at-point, octave-eldoc-function): Use it.
7030 (octave-kill-process): Provide confirmation. (Bug#10564)
7032 2013-11-21 Leo Liu <sdl.web@gmail.com>
7034 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7035 Fix obsolete variable comment-use-global-state.
7037 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7039 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7040 Add `octave-source-file'.
7041 (octave-source-file): New function. (Bug#15935)
7043 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7045 * net/eww.el (eww-local-regex): New variable.
7046 (eww): Use it to detect localhost and similar.
7048 2013-11-21 Leo Liu <sdl.web@gmail.com>
7050 Add completion for command `ag'.
7051 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7052 (pcomplete/ag): New function.
7053 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7055 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7057 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7059 (make-obsolete): Remove interactive spec.
7061 2013-11-21 Glenn Morris <rgm@gnu.org>
7063 * startup.el (command-line-1): Use path-separator with -L.
7065 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7067 * emacs-lisp/package.el (describe-package-1): Add package archive
7070 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7072 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7073 Change default to "# encoding: %s" to differentiate it from the
7074 default Ruby encoding comment template.
7076 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7078 * ses.el (ses-mode): Doc fix. (Bug#14748)
7080 2013-11-20 Leo Liu <sdl.web@gmail.com>
7082 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7084 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7086 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7087 when rebase or bisect are in progress.
7089 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7091 * filenotify.el (file-notify-add-watch): Doc fix.
7093 2013-11-19 Leo Liu <sdl.web@gmail.com>
7095 * obsolete/rcompile.el: Mark obsolete.
7097 * progmodes/compile.el (compilation-start)
7098 (compilation-goto-locus, compilation-find-file):
7099 Pass no-display-ok and handle nil value from display-buffer.
7102 * window.el (display-buffer-alist, display-buffer): Document the
7103 new parameter no-display-ok. Return either a window or nil
7104 but never a non-window value.
7106 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7108 * electric.el (electric-indent-mode-map): Remove.
7109 (electric-indent-mode): Change the global-map instead (bug#15915).
7111 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7114 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7116 * emacs-lisp/nadvice.el (remove-function): Align with
7117 add-function's behavior.
7119 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7120 (gdb--string-regexp): New constant.
7121 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7122 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7123 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7125 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7126 Adjust use accordingly.
7127 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7129 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7131 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7132 interpolation curlies (Bug#15914).
7134 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7136 * calc/calc.el (calc-context-sensitive-enter): New variable.
7137 (calc-enter): Use `calc-context-sensitive-enter'.
7139 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7141 * progmodes/cfengine.el: Version bump.
7142 (cfengine-cf-promises): New defcustom to locate cf-promises.
7143 (cfengine3-vartypes): Add new "data" type.
7144 (cfengine3--current-word): New function to get current name-like
7146 (cfengine3--current-function): New function to look up a CFEngine
7147 function's definition.
7148 (cfengine3-format-function-docstring): New function.
7149 (cfengine3-make-syntax-cache): New function.
7150 (cfengine3-documentation-function): New function: ElDoc glue.
7151 (cfengine3-completion-function): New function: completion glue.
7152 (cfengine3-mode): Set `compile-command',
7153 `eldoc-documentation-function', and add to
7154 `completion-at-point-functions'.
7156 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7158 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7159 `tramp-current-connection'.
7161 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7163 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7164 nil/self/true/false with "end of symbol".
7166 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7168 * subr.el (version-regexp-alist): Fix a typo.
7170 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7172 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7173 "en_US.utf8" and "LC_CTYPE" to "".
7174 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7175 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7177 2013-11-15 Leo Liu <sdl.web@gmail.com>
7179 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7181 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * progmodes/gud.el (ctl-x-map):
7184 Remove C-x SPC binding. (Bug#12342)
7185 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7187 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7189 * subr.el (version-regexp-alist):
7190 Recognize hg, svn and darcs versions as snapshot versions.
7192 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7193 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7194 (ruby--encoding-comment-required-p): Extract from
7195 `ruby-mode-set-encoding'.
7196 (ruby-mode-set-encoding): Add the ability to always insert an
7197 utf-8 encoding comment. Fix and simplify coding comment update
7200 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7202 * net/tramp-gvfs.el (top): Run init code only when
7203 `tramp-gvfs-enabled' is not nil.
7204 (tramp-gvfs-enabled): Check also :system bus.
7206 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7208 Sync with upstream verilog-mode revision 78e66ba.
7209 * progmodes/verilog-mode.el (verilog-end-of-defun)
7210 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7211 (verilog-get-end-of-defun): Remove unused argument.
7212 (verilog-comment-depth): Remove unused local `e'.
7213 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7214 Don't pass arg to verilog-get-end-of-defun.
7216 2013-11-14 Glenn Morris <rgm@gnu.org>
7218 * obsolete/assoc.el (aget): Prefix dynamic variable.
7220 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7222 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7224 * widget.el, hfy-cmap.el: Remove bogus package version number.
7226 2013-11-13 Glenn Morris <rgm@gnu.org>
7228 * replace.el (replace-eval-replacement):
7229 Try to give more helpful error message. (Bug#15836)
7231 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7232 (archive-7z-update): Avoid custom type mismatches.
7234 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7236 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7238 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7239 address can be empty.
7241 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7242 Accept nil SWITCHES.
7243 (tramp-gvfs-handle-write-region): Implement APPEND.
7245 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7247 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7248 binary "|" operator and closing block args delimiter.
7249 Remove FIXME comment referring to Ruby 1.8-only syntax.
7250 (ruby-smie--implicit-semi-p): Not after "|" operator.
7251 (ruby-smie--closing-pipe-p): New function.
7252 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7253 (ruby-smie-rules): Indent after "|".
7255 2013-11-12 Glenn Morris <rgm@gnu.org>
7257 * ps-print.el (ps-face-attribute-list):
7258 Handle anonymous faces. (Bug#15827)
7260 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7262 * window.el (display-buffer-other-frame): Fix doc-string.
7265 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7269 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7272 (tramp-sh-handle-file-local-copy): Don't write a message when
7273 saving temporary files.
7275 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7276 both directories are remote.
7277 (tramp-smb-handle-directory-files): Do not return double entries.
7278 Do not expand full file names.
7279 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7280 (tramp-smb-handle-write-region): Implement APPEND.
7281 (tramp-smb-get-stat-capability): Fix a stupid bug.
7283 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7285 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7287 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7289 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7290 throwing error over malformed let/let* (bug#15814).
7292 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7294 * iswitchb.el (iswitchb-mode): Mark obsolete.
7296 2013-11-11 Glenn Morris <rgm@gnu.org>
7298 * international/uni-bidi.el, international/uni-category.el:
7299 * international/uni-name.el, international/uni-numeric.el:
7300 Regenerate for Unicode 6.3.0.
7302 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7304 * net/tramp.el (tramp-methods):
7305 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7306 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7308 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7310 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7311 Force highlighting text after Summary keyword in doc face for rpm.
7313 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7315 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7316 available and the word has no wildcards, append one to the grep pattern.
7317 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7318 (ispell-complete-word): Call `ispell-lookup-words' with the value
7319 independent of `ispell-look-p'.
7321 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7323 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7325 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7328 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7330 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7331 (ruby-font-lock-keywords): Use backquote.
7333 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7335 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7336 (ruby-smie--backward-token): Only consider full-string matches.
7338 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7340 * faces.el (describe-face): Add distant-foreground.
7342 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7344 * progmodes/ruby-mode.el: Improve encoding comment handling.
7345 (ruby-encoding-magic-comment-style): New option.
7346 (ruby-custom-encoding-magic-comment-template): New option.
7347 (ruby--insert-coding-comment, ruby--detect-encoding):
7348 New functions extracted from `ruby-mode-set-encoding'.
7349 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7350 to control the style of the auto-inserted encoding comment.
7352 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7354 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7355 Use `smie-backward-sexp' with token argument.
7357 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7359 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7360 Remove instrumentation code.
7362 2013-11-08 Glenn Morris <rgm@gnu.org>
7364 * progmodes/autoconf.el (autoconf-mode):
7365 Tweak comment-start-skip. (Bug#15822)
7367 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7369 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7370 at bobp (bug#15826).
7371 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7373 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7375 * man.el (Man-start-calling): New macro, extracted from
7376 Man-getpage-in-background.
7377 (Man-getpage-in-background): Use it.
7378 (Man-update-manpage): New command.
7379 (Man-mode-map): Bind it.
7381 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7383 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7384 of "and", "or", "&&" and "||".
7385 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7386 argument. Prohibit opening curly brace because it could only be a
7387 block opener in that position.
7388 (ruby-smie--forward-token, ruby-smie--backward-token):
7389 Separate "|" from "&" or "*" going after it. That can happen in block
7391 (ruby-smie--indent-to-stmt): New function, seeks the end of
7392 previous statement or beginning of buffer.
7393 (ruby-smie-rules): Use it.
7394 (ruby-smie-rules): Check if there's a ":" before a curly block
7395 opener candidate; if there is, it's a hash.
7397 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7399 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7400 (cl--block-wrapper): Fix last accidental change.
7402 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7404 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7405 Instrument, in order to hunt failure on hydra.
7407 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7409 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7410 malformed bindings form (bug#15814).
7412 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7414 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7415 "." compared to " @ ". This incidentally fixes some indentation
7417 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7418 (ruby-smie-grammar): New tokens: "and" and "or".
7419 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7420 Exclude "and" and "or". Remove "do" in order to work around token
7422 (ruby-smie-rules): Add all infix tokens. Handle the case of
7423 beginning-of-buffer.
7425 2013-11-06 Glenn Morris <rgm@gnu.org>
7427 * Makefile.in (setwins_almost, setwins_for_subdirs):
7428 Avoid accidental matches.
7430 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * menu-bar.el (popup-menu): Use key-binding.
7434 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7436 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7437 menus, support also the menus produced by minor modes.
7440 2013-11-06 Leo Liu <sdl.web@gmail.com>
7442 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7443 DISTANCE to bound the search. All uses changed. (Bug#15808)
7445 2013-11-06 Glenn Morris <rgm@gnu.org>
7447 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7448 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7449 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7451 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * electric.el (electric-indent-just-newline): New command.
7454 (electric-indent-mode-map): New keymap.
7455 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7456 Re-add :group which weren't redundant.
7458 * electric.el (electric-indent-local-mode): New minor mode.
7459 (electric-indent-functions-without-reindent): New var.
7460 (electric-indent-post-self-insert-function): Use it.
7461 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7463 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7465 * international/quail.el (quail-help): Be more explicit about the
7466 meaning of the labels shown on the keys. (Bug#15800)
7468 * startup.el (normal-top-level): Load the subdirs.el files before
7469 setting the locale environment. (Bug#15805)
7471 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7473 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7474 via arguments so as to get the right ones (bug#15418).
7476 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7478 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7480 Fix problems found while writing a test suite.
7482 * net/tramp-compat.el (tramp-compat-load): New defun.
7483 * net/tramp.el (tramp-handle-load): Use it.
7485 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7486 "(numberp ok-if-already-exists)" correctly.
7488 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7490 * international/characters.el (glyphless-char-display-control):
7493 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7495 * progmodes/python.el (python-mode):
7496 * progmodes/scheme.el (scheme-mode):
7497 * progmodes/prolog.el (prolog-mode):
7498 * progmodes/ruby-mode.el (ruby-mode):
7499 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7500 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7502 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7504 * rect.el (rectangle--highlight-for-redisplay):
7505 * emacs-lisp/smie.el (smie--next-indent-change):
7506 Use buffer-chars-modified-tick.
7508 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7510 * electric.el (electric-indent-post-self-insert-function):
7511 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7513 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7515 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7517 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7519 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7522 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7524 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7526 * progmodes/python.el: Fix up last change.
7527 (python-shell--save-temp-file): New function.
7528 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7529 `string' comes from the current buffer.
7530 (python-shell-send-string-no-output): Remove `msg' arg.
7531 (python--use-fake-loc): New var.
7532 (python-shell-buffer-substring): Obey it. Try to compensate for the
7533 extra coding line added by python-shell--save-temp-file.
7534 (python-shell-send-region): Use python-shell--save-temp-file and
7535 python-shell-send-file directly. Add `nomain' argument.
7536 (python-shell-send-buffer): Use python-shell-send-region.
7537 (python-electric-pair-string-delimiter): New function.
7538 (python-mode): Use it.
7540 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7542 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7543 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7544 environment and decoding all of the default-directory's to here
7546 (command-line): Decode also argv[0].
7548 * loadup.el: Error out if default-directory is a multibyte string
7549 when we are dumping.
7551 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7553 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7555 * emacs-lisp/package.el (package-menu-mode)
7556 (package-menu--print-info, package-menu--archive-predicate):
7557 Add Archive column to package list.
7559 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7561 Fix problems found while writing a test suite.
7563 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7564 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7565 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7566 to nil when running original file name handler. Otherwise,
7567 there are problems with constructs like "$$FOO".
7569 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7572 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7574 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7576 * subr.el (version<, version<=, version=):
7577 Update docstrings with information for snapshot versions.
7579 * helpers.el: New library for misc helper functions.
7580 (hash-table-keys): New function returning a list of hash keys.
7581 (hash-table-values): New function returning a list of hash values.
7583 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7585 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7586 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7588 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7590 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7591 checking whether point is after a 1-letter word.
7593 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7595 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7596 Don't infloop when expanding region over `multiline' syntax-type that
7597 begins a line (bug#15778).
7599 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7601 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7602 Make it into a proper minor mode.
7603 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7604 (rectangle-mark-mode-map): New keymap.
7605 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7607 2013-11-04 Glenn Morris <rgm@gnu.org>
7609 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7611 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7613 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7614 (ruby-smie-rules): Use smie-rule-parent instead.
7616 * emacs-lisp/smie.el (smie-rule-parent): Always call
7617 smie-indent-virtual rather than only for hanging tokens.
7618 (smie--next-indent-change): New helper command.
7620 2013-11-03 Glenn Morris <rgm@gnu.org>
7622 * Makefile.in (abs_srcdir): Remove.
7623 (emacs): Unset EMACSLOADPATH.
7625 2013-11-02 Glenn Morris <rgm@gnu.org>
7627 * Makefile.in (EMACS): Use a relative filename.
7628 (abs_top_builddir): Remove.
7629 (custom-deps, finder-data, autoloads): Use --chdir.
7631 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7633 Use relative filenames in TAGS files.
7634 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7635 (lisptagsfiles4, TAGS): Use relative file names.
7636 (TAGS-LISP): Remove.
7637 (maintainer-clean): No more TAGS-LISP file.
7639 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7640 (lisptagsfiles4): Use absolute filenames again.
7641 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7642 Remove all *loaddefs files, not just the first. Remove esh-groups.
7643 (maintainer-clean): Delete TAGS, TAGS-LISP.
7645 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7647 * emacs-lisp/package.el (package-version-join):
7648 Recognize snapshot versions.
7650 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7652 * subr.el (version-regexp-alist): Add support for snapshot versions.
7654 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7656 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7657 New function, replacement for `smie-rule-parent' for when we want to
7658 skip over our direct parent if it's an assignment token..
7659 (ruby-smie-rules): Use it.
7661 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7663 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7664 unconditionally. Remove now unnecessary forward declarations.
7665 Remove XEmacs-specific setup.
7666 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7667 (ruby-font-lock-syntactic-keywords)
7668 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7669 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7670 (ruby-here-doc-end-syntax): Remove.
7671 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7672 defined as function.
7674 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7676 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7678 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7680 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7681 table and abbrev table, `define-derived-mode' does that for us
7684 2013-11-01 Glenn Morris <rgm@gnu.org>
7686 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7687 files is atomic for some time, so no parallel compilation issues).
7689 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7691 * faces.el (face-x-resources): Add :distant-foreground.
7692 (region): Use :distant-foreground for gtk and ns.
7694 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7696 Allow multiple bibliographies when BibLaTeX is used rather than
7698 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7699 (reftex-locate-bibliography-files): Us it.
7701 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7703 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7704 allow comments in pbm files.
7706 * term/w32-win.el (dynamic-library-alist): Support newer versions
7707 of libjpeg starting with v7: look only for the DLL from the
7708 version against which Emacs was built.
7709 Support versions of libpng beyond 1.4.x.
7710 Support libtiff v4.x.
7712 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7714 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7715 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7717 (ruby-deep-arglist): Add property :type.
7719 2013-10-31 Glenn Morris <rgm@gnu.org>
7721 * Makefile.in (custom-deps, finder-data): No need to setq the target
7722 variables, we are in the right directory and the defaults work fine.
7724 2013-10-30 Glenn Morris <rgm@gnu.org>
7726 * Makefile.in (autoloads): Do not use abs_lisp.
7728 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7729 `newline' does not respect `standard-output', so use `princ'.
7731 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7733 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7734 * buff-menu.el (Buffer-menu--unmark): New function.
7735 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7737 2013-10-30 Glenn Morris <rgm@gnu.org>
7739 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7741 * emacs-lisp/package.el (lm-homepage): Declare.
7743 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7746 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7748 * Makefile.in (finder-data, autoloads, update-subdirs)
7749 (compile-main, compile-clean, compile-always, bootstrap-clean):
7750 Check return value of cd.
7751 (compile-calc): Remove.
7753 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7757 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7758 (byte-compile-and-folded): New function.
7759 (=, <, >, <=, >=): Use it.
7761 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7762 (path-separator, null-device, buffer-file-coding-system)
7763 (lpr-headers-switches): Check system-type before modifying them.
7764 (find-buffer-file-type-coding-system): Mark obsolete.
7765 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7766 find-file-not-found-set-buffer-file-coding-system.
7767 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7768 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7769 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7770 (w32-direct-print-region-helper, w32-direct-print-region-function)
7771 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7772 * startup.el (normal-top-level-add-subdirs-to-load-path):
7773 * ps-print.el (ps-print-region-function):
7774 * lpr.el (print-region-function): Use new name.
7776 * subr.el (custom-declare-variable-early): Remove function.
7777 (custom-declare-variable-list): Remove var.
7778 (error, user-error): Remove `while' loop.
7779 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7780 (user-emacs-directory-warning, locate-user-emacs-file):
7782 * simple.el (read-quoted-char-radix, read-quoted-char):
7783 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7785 * custom.el (custom-declare-variable-list): Don't process
7786 custom-declare-variable-list.
7788 * progmodes/python.el (python-shell-get-buffer): New function.
7789 (python-shell-get-process): Use it.
7790 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7791 Python which encoding was used. Don't split-string since we only care
7792 about the first line. Return the temp-file, if applicable.
7793 (python-shell-send-region): Tell compile.el how to turn locations in
7794 the temp-file into locations in the source buffer.
7796 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7798 * subr.el (undefined): Add missing behavior from the C code for
7801 * rect.el: Use lexical-binding. Add new rectangular region support.
7802 (rectangle-mark): New command.
7803 (rectangle--region): New var.
7804 (deactivate-mark-hook): Reset rectangle--region.
7805 (rectangle--extract-region, rectangle--insert-for-yank)
7806 (rectangle--highlight-for-redisplay)
7807 (rectangle--unhighlight-for-redisplay): New functions.
7808 (region-extract-function, redisplay-unhighlight-region-function)
7809 (redisplay-highlight-region-function): Use them to handle
7811 * simple.el (region-extract-function): New var.
7812 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7813 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7814 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7815 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7816 (redisplay-unhighlight-region-function)
7817 (redisplay-highlight-region-function): New vars.
7818 (redisplay--update-region-highlight): New function.
7819 (pre-redisplay-function): Use it.
7820 (exchange-point-and-mark): Don't deactivate the mark before
7821 reactivate-it anyway.
7822 * comint.el (comint-kill-region): Remove yank-handler argument.
7823 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7824 (delete-char): Remove property, since it's now part of their
7826 (self-insert-iso): Remove property since this command doesn't exist.
7828 * emacs-lisp/package.el (package--download-one-archive)
7829 (describe-package-1): Don't query the user about final newline.
7831 2013-10-29 Daniel Colascione <dancol@dancol.org>
7833 * net/tramp.el (tramp-methods): Document new functionality.
7834 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7835 tramp-hostname-checker if method provides one instead of scanning
7836 argument list for "%h" to decide hostname acceptability.
7838 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7840 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7841 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7842 Handle COPY-CONTENTS. (Bug#15737)
7844 2013-10-28 Daiki Ueno <ueno@gnu.org>
7847 (epa-file-cache-passphrase-for-symmetric-encryption):
7848 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7850 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7852 * image.el (defimage, image-load-path): Doc fixes.
7854 2013-10-27 Alan Mackenzie <acm@muc.de>
7856 Indent statements in macros following "##" correctly.
7857 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7858 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7860 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7862 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7864 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7866 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7867 after `=' is probably a new expression.
7869 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7871 * man.el (man-imenu-title): New option.
7872 (Man-mode-map): Add menu. (Bug#15722)
7873 (Man-mode): Add imenu to menu.
7875 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7877 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7878 specific in what the first arg can be: a non-keyword word,
7879 string/regexp/percent literal opener, opening paren, or unary
7880 operator followed directly by word.
7882 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7885 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7886 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7887 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7888 Remove vars, they do not apply any more.
7889 (prolog-mode-abbrev-table): Remove redundant declaration.
7890 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7891 (prolog-use-smie): Remove.
7892 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7893 supported by prolog-electric-if-then-else-flag.
7894 (prolog-mode-variables, prolog-menu): Use setq-local.
7895 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7896 Remove binding to `Backspace' since this key doesn't exist anyway.
7897 Remove bindings for electric self-inserting keys.
7898 (prog-mode): Assume it's defined.
7899 (prolog-post-self-insert): New function.
7900 (prolog-mode): Use it.
7901 (prolog-indent-line, prolog-indent-level)
7902 (prolog-find-indent-of-matching-paren)
7903 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7904 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7905 (prolog-goto-next-paren, prolog-in-string-or-comment)
7906 (prolog-tokenize, prolog-inside-mline-comment)
7907 (prolog-find-start-of-mline-comment): Remove functions.
7908 (prolog-find-unmatched-paren, prolog-clause-end)
7909 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7910 (prolog-electric--if-then-else): Rename from
7911 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7912 (prolog-tokenize-searchkey): Remove const.
7913 (prolog-clause-info): Use forward-sexp.
7914 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7915 (prolog-electric-if-then-else): Remove commands.
7916 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7917 for use in post-self-insert-hook.
7918 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7919 for use in post-self-insert-hook.
7920 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7921 for use in post-self-insert-hook.
7922 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7923 adapt it for use in post-self-insert-hook.
7925 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7927 * emacs-lisp/ert.el (ert-run-tests-interactively):
7928 Use `completing-read'. (Bug#9756)
7930 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7932 * simple.el (line-move): Call line-move-1 instead of
7933 line-move-visual when the current window hscroll is zero, but
7934 temporary-goal-column indicates we will need to hscroll as result
7935 of the movement. (Bug#15712)
7937 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7939 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7940 capitalization. Use :visible instead of :active.
7941 Fix `ruby-indent-exp' reference. Add menu items for the generic
7942 commands that are used with SMIE.
7943 (ruby-do-end-to-brace): Insert space after `{'.
7945 2013-10-25 John Anthony <john@jo.hnanthony.com>
7947 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7949 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7951 2013-10-25 Glenn Morris <rgm@gnu.org>
7953 * vc/vc.el (vc-print-log): Don't use a working revision unless
7954 one was explicitly specified. (Bug#15322)
7956 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7958 * subr.el (add-to-list): Preserve return value in compiler-macro
7961 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7963 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7964 result. Ask user to retry using '-all' flag. (Bug#15701)
7966 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * emacs-lisp/smie.el: New smie-config system.
7969 (smie-config): New defcustom.
7970 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7971 (smie-config-guess, smie-config-save): New commands.
7972 (smie-config--mode-local, smie-config--buffer-local)
7973 (smie-config--trace, smie-config--modefuns): New vars.
7974 (smie-config--advice, smie-config--mode-hook)
7975 (smie-config--setter, smie-config-local, smie-config--get-trace)
7976 (smie-config--guess-value, smie-config--guess): New functions.
7977 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7978 text properties. Treat "string fence" syntax like string syntax.
7980 * progmodes/sh-script.el (sh-use-smie): Change default.
7981 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7982 (sh-var-value): Simplify by CSE.
7983 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7984 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7986 (sh-guess-basic-offset): Use cl-incf.
7987 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7989 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7991 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7994 2013-10-24 Glenn Morris <rgm@gnu.org>
7996 * Makefile.in (abs_top_srcdir): Remove.
7997 (update-subdirs): Use relative path to update-subdirs.
7999 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8001 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8002 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8003 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8004 Call unmsys--file-name before expand-file-name, not after it.
8006 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8008 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8009 (ert-test-skipped): New error.
8010 (ert-skip, ert-stats-skipped): New defuns.
8011 (ert--skip-unless): New macro.
8012 (ert-test-skipped): New struct.
8013 (ert--run-test-debugger, ert-test-result-type-p)
8014 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8015 (ert--stats-set-test-and-result, ert-char-for-test-result)
8016 (ert-string-for-test-result, ert-run-tests-batch)
8017 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8018 Handle skipped tests. (Bug#9803)
8020 2013-10-24 Glenn Morris <rgm@gnu.org>
8022 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8024 * Makefile.in (abs_top_srcdir): New, set by configure.
8025 (update-subdirs): Correct build-aux location.
8027 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8029 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8030 value, whether we could auto-deduce `backend', or not.
8032 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8033 with parameters" example. Simplify the "is it block or is it
8034 hash" check, but also make it more thorough.
8036 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8038 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8040 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8042 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8045 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8048 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8050 * progmodes/compile.el (compilation-directory-matcher)
8051 (compilation-page-delimiter):
8052 Support GNU Make-4.0 directory quoting. (Bug#15678)
8054 2013-10-23 Leo Liu <sdl.web@gmail.com>
8056 * ido.el (ido-tidy): Handle read-only text.
8058 2013-10-23 Glenn Morris <rgm@gnu.org>
8060 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8061 (emacs, compile, compile-always):
8062 Quote entities that might contain whitespace.
8063 (custom-deps, finder-data, autoloads): Use abs_lisp.
8064 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8065 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8066 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8068 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8070 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8071 Use `following-char'.
8073 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8075 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8076 * progmodes/ruby-mode.el (ruby-smie-rules):
8077 Remove corresponding workaround. Fix indentation rule of ";" so it
8078 also applies when ";" is the parent.
8080 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8082 * frame.el (display-screens, display-pixel-height)
8083 (display-pixel-width, display-mm-width, display-backing-store)
8084 (display-save-under, display-planes, display-color-cells)
8085 (display-visual-class, display-monitor-attributes-list):
8086 Mention the optional ‘display’ argument in doc strings.
8088 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8090 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8091 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8093 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8095 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8096 TODO. Add "." after " @ ".
8097 (ruby-smie--at-dot-call): New function. Checks if point at method
8098 call with explicit target.
8099 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8100 to the method name tokens when it precedes them.
8101 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8102 (ruby-smie-rules): Add rule for indentation before and after "."
8105 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * textmodes/remember.el (remember-diary-extract-entries):
8110 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8113 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8115 * progmodes/ruby-mode.el (ruby-smie-grammar):
8116 Add (almost) all infix operators.
8117 (ruby-smie--implicit-semi-p): Add new operator chars.
8119 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8121 (ruby-smie--args-separator-p): Check that there's no newline
8122 between method call and its arguments.
8124 2013-10-20 Alan Mackenzie <acm@muc.de>
8126 Allow comma separated lists after Java "implements".
8128 * progmodes/cc-engine.el (c-backward-over-enum-header):
8130 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8131 from a "disallowed" list in enum fontification.
8133 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8135 * startup.el (default-frame-background-mode): Remove unused defvar.
8137 * progmodes/verilog-mode.el (verilog-mode): Don't set
8138 comment-indent-function globally.
8140 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8142 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8143 Move Info menu item creation to ns-win.el.
8145 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8148 * menu-bar.el: Move GNUstep specific menus...
8150 * term/ns-win.el (ns-initialize-window-system): ... to here.
8152 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * simple.el (newline): Only run post-self-insert-hook when
8155 called interactively.
8157 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8159 * icomplete.el (icomplete-with-completion-tables): Add :version.
8161 2013-10-19 Alan Mackenzie <acm@muc.de>
8163 Fix fontification bugs with constructors and const.
8165 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8166 CASE 2) Remove the check for the absence of a suffix construct
8167 after a function declaration with only types (no identifiers) in
8168 the parentheses. Also, accept a function declaration with just a
8169 type inside the parentheses, if this type can be positively
8170 recognised as such, or if a prefix keyword like "explicit" nails
8171 down the construct as a declaration.
8173 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8175 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8176 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8177 the problem whereby selecting a menu item that leads to a
8178 minibuffer prompt moves the cursor out of the minibuffer window,
8179 making it hard to type at the prompt. Suggested by Stefan Monnier
8180 <monnier@iro.umontreal.ca>.
8182 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8184 * menu-bar.el: Don't make Services menu.
8186 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8188 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8189 (ffap-alist): Use ffap-c++-mode for c++-mode.
8190 (ffap-c++-path): New variable.
8191 (ffap-c++-mode): New function.
8193 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8195 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8197 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8199 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8200 introduced on 2013-09-08, which results in an infinite loop
8201 requesting a password.
8203 2013-10-18 Glenn Morris <rgm@gnu.org>
8205 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8207 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8209 Sync with upstream verilog-mode revision 1a6ecec7.
8210 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8211 (verilog-mode-release-date): Remove.
8212 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8213 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8214 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8215 (verilog-auto-tieoff-ignore-regexp)
8216 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8217 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8218 (verilog-signals-with, verilog-dir-cache-preserving)
8219 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8221 (verilog-case-fold): New option, to control case folding in
8222 regexp searches, bug597.
8223 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8224 (verilog-string-match-fold, verilog-in-paren-count)
8225 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8226 (verilog-at-close-struct-p): New functions.
8227 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8228 (verilog-forward-sexp, verilog-set-auto-endcomments)
8229 (verilog-leap-to-case-head): Handle "unique0" case.
8230 (verilog-in-constraint-re): New constant.
8231 (verilog-keywords, verilog-type-font-keywords):
8232 Add some SystemVerilog 1800-2012 keywords.
8233 (verilog-label-be): Remove unimplemented argument, bug669.
8234 (verilog-batch-execute-func): When batch expanding clear
8235 create-lockfiles to prevent spurious user locks when a file ends
8237 (verilog-calculate-indent, verilog-calc-1)
8238 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8239 (verilog-do-indent): Fix indentation of nested constraints
8241 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8242 (verilog-auto-inst-param): Use verilog-string-match-fold.
8243 (verilog-read-inst-module-matcher):
8244 Fix AUTOINST on gate primitives with #1.
8245 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8246 Reads all user-defined typed variables.
8247 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8248 (verilog-signals-matching-regexp)
8249 (verilog-signals-not-matching-regexp, verilog-auto):
8250 Respect verilog-case-fold.
8251 (verilog-diff-report): Fix line count.
8252 (verilog-auto-assign-modport): Remove unused local `modi'.
8253 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8254 better handle multidimensional arrays.
8255 Fix packed array ports misadding bit index in AUTOINST, bug637.
8256 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8257 to not double-declare existing outputs and inputs, respectively.
8258 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8259 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8260 (verilog-sk-uvm-component): New skeleton.
8261 (verilog-submit-bug-report): Add verilog-case-fold,
8262 remove verilog-mode-release-date.
8264 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8266 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8269 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8271 * textmodes/remember.el (remember): Set buffer-offer-save in
8272 remember buffers (bug#13566).
8274 2013-10-18 Daniel Colascione <dancol@dancol.org>
8276 When evaluating forms in ielm, direct standard output to ielm
8277 buffer. Add new ielm-return-for-effect command. Remove trailing
8278 whitespace throughout.
8280 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8281 (ielm-return-for-effect): New command.
8282 (ielm-send-input): Accept optional `for-effect' parameter.
8283 (ielm-eval-input): Accept optional `for-effect' parameter.
8284 Bind `standard-output' to stream we create using
8285 `ielm-standard-output-impl'. Suppress printing result when
8287 (ielm-standard-output-impl): New function.
8288 (inferior-emacs-lisp-mode): Explain new features in documentation.
8290 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8294 * net/tramp.el (tramp-debug-message): Do not check for connection
8296 (tramp-message): Use "vector" connection property.
8298 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8299 (tramp-equal-remote, tramp-eshell-directory-change)
8300 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8301 (tramp-adb-handle-rename-file)
8302 * net/tramp-cmds.el (tramp-list-remote-buffers)
8303 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8304 * net/tramp-compat.el (tramp-compat-process-running-p)
8305 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8306 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8307 (tramp-gvfs-handle-rename-file)
8308 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8309 (tramp-set-file-uid-gid)
8310 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8311 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8314 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8315 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8316 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8317 (tramp-gw-open-network-stream): Suppress unrelated traces.
8319 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8320 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8321 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8322 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8323 connection property.
8325 * net/tramp-cache.el (top): Suppress traces when reading
8328 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8329 Refactor common code. Improve debug message.
8330 (tramp-maybe-open-connection)
8331 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8332 connection buffer too early.
8334 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8335 from `tramp-smb-actions-with-acl'.
8336 (tramp-smb-actions-set-acl): New defconst.
8337 (tramp-smb-handle-copy-directory)
8338 (tramp-smb-action-get-acl): New defun, renamed from
8339 `tramp-smb-action-with-acl'.
8340 (tramp-smb-action-set-acl): New defun.
8341 (tramp-smb-handle-set-file-acl): Rewrite.
8343 2013-10-17 Glenn Morris <rgm@gnu.org>
8345 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8347 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8349 * skeleton.el (skeleton-newline): Remove.
8350 (skeleton-internal-1): Use (insert "\n") instead.
8352 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8355 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8356 forward-sexp-function while we redo its job (bug#15613).
8358 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8360 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8361 represented by lists.
8363 2013-10-16 Glenn Morris <rgm@gnu.org>
8365 * tmm.el (tmm--history): New dynamic variable.
8366 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8368 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8370 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8371 (tramp-smb-errors): Add error messages.
8372 (tramp-smb-actions-with-acl): New defconst.
8373 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8374 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8375 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8376 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8377 (tramp-smb-get-stat-capability): Fix tests.
8379 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8381 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8384 2013-10-16 Glenn Morris <rgm@gnu.org>
8386 * ansi-color.el (ansi-color-drop-regexp):
8387 Add 1J, 1K, 2K. (Bug#15617)
8389 * files.el (hack-local-variables--warned-lexical): New.
8390 (hack-local-variables):
8391 Warn about misplaced lexical-binding. (Bug#15616)
8393 * net/eww.el (eww-render): Always set eww-current-url,
8394 and update header line. (Bug#15622)
8395 (eww-display-html): ... Rather than just doing it here.
8397 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8399 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8400 menu navigations commands.
8402 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8404 * progmodes/subword.el (subword-capitalize): Be careful when
8405 the search for [[:alpha:]] fails (bug#15580).
8407 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8409 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8410 to commands that scroll the menu.
8412 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8414 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8415 Handle methods ending with `?' and `!'.
8417 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8419 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8420 `japanese-cp932' to `cp932' to fix the problem where saving a
8421 source file written in Shift_JIS twice would end up having
8422 `coding: japanese-cp932' which Ruby could not recognize.
8423 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8424 in `ruby-encoding-map'.
8425 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8426 doesn't need to be explicitly declared in magic comment.
8427 (ruby-encoding-map): Add type declaration for better customize UI.
8429 2013-10-13 Glenn Morris <rgm@gnu.org>
8431 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8432 Occur buffers are read-only. http://bugs.debian.org/720775
8434 * emacs-lisp/authors.el (authors-fixed-entries):
8435 Comment out old alpha stuff.
8437 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8439 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8440 to `after-save-hook' instead of `before-save-hook'.
8441 (ruby-mode-set-encoding): Use the value of coding system used to
8442 write the file. Call `basic-save-buffer-1' after modifying the
8445 2013-10-13 Alan Mackenzie <acm@muc.de>
8447 Fix indentation/fontification of Java enum with
8448 "implements"/generic.
8450 * progmodes/cc-engine.el (c-backward-over-enum-header):
8451 Extracted from the three other places and enhanced to handle generics.
8452 (c-inside-bracelist-p): Uses new function above.
8453 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8455 (c-font-lock-enum-tail): Uses new function above.
8457 2013-10-13 Kenichi Handa <handa@gnu.org>
8459 * international/mule-cmds.el (select-safe-coding-system): Remove a
8460 superfluous condition in chekcing whether a coding system is safe
8463 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8465 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8467 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8469 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8471 2013-10-13 Glenn Morris <rgm@gnu.org>
8473 * menu-bar.el (menu-bar-update-buffers):
8474 Unify Buffers menu prompt string. (Bug#15576)
8476 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8478 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8480 (authors-fixed-entries): Use accented form of name.
8482 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8484 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8485 method calls (bug#15594).
8486 (ruby-smie--args-separator-p): New function.
8487 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8488 recognize paren-free method calls.
8490 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8491 internals of universal-argument.
8493 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8495 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8496 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8497 dropped menu on second mouse click on the menu bar.
8499 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8501 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8502 (explicit-shell-file-name): Declare.
8503 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8504 (sh-completion-at-point-function): New function.
8506 (sh-smie--keyword-p): Remove unused argument.
8507 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8509 (sh-set-shell): Always setup SMIE, even if we use the
8510 old indentation code.
8512 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8514 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8516 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8517 predicate would return nil are almost non-existent.
8518 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8520 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8521 cache also after commands that modify the buffer but don't move
8524 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8526 * env.el (substitute-env-in-file-name): New function.
8527 (substitute-env-vars): Extend the meaning of the optional arg.
8529 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8531 * term/w32-win.el (dynamic-library-alist): Define separate lists
8532 of GIF DLLs for versions before and after 5.0.0 of giflib.
8535 2013-10-10 João Távora <joaotavora@gmail.com>
8537 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8538 not locked, use last revision and current source as
8539 defaults. (Bug#15569)
8541 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8543 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8546 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8548 * window.el (pop-to-buffer-same-window): Fix doc-string.
8551 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8553 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8555 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8557 * calendar/icalendar.el (icalendar-import-file):
8558 Fix interactive spec. (Bug#15482)
8560 2013-10-10 Glenn Morris <rgm@gnu.org>
8562 * desktop.el (desktop-save): Default to saving in .emacs.d,
8563 since PWD is no longer in desktop-path by default. (Bug#15319)
8565 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8566 now that text mode has a menu with the same entry.
8567 (menu-bar-text-mode-auto-fill): Remove now unused func.
8568 * textmodes/text-mode.el (text-mode-map):
8569 Use auto-fill help text from menu-bar.el.
8571 2013-10-10 John Anthony <john@jo.hnanthony.com>
8573 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8575 2013-10-09 Juri Linkov <juri@jurta.org>
8577 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8578 instead of this-command-keys. Add universal-argument-more and
8579 universal-argument-minus to the list of prefix commands. (Bug#15568)
8581 2013-10-09 Glenn Morris <rgm@gnu.org>
8583 * vc/vc-svn.el (vc-svn-create-repo):
8584 Expand paths in file://... url. (Bug#15446)
8586 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8588 (authors): Remove unused local variables.
8590 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * profiler.el: Create a more coherent calltree from partial backtraces.
8593 (profiler-format): Hide the tail with `invisible' so that C-s can still
8594 find the hidden elements.
8595 (profiler-calltree-depth): Don't recurse so enthusiastically.
8596 (profiler-function-equal): New hash-table-test.
8597 (profiler-calltree-build-unified): New function.
8598 (profiler-calltree-build): Use it.
8599 (profiler-report-make-name-part): Indent the calltree less.
8600 (profiler-report-mode): Add visibility specs for profiler-format.
8601 (profiler-report-expand-entry, profiler-report-toggle-entry):
8602 Expand the whole subtree when provided with a prefix arg.
8604 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8606 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8608 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8609 hanging iuwu-mod token.
8610 (ruby-smie--forward-token): Do not include a dot after a token in
8612 (ruby-smie--backward-token): Likewise.
8614 2013-10-08 Juri Linkov <juri@jurta.org>
8616 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8617 to isearch-other-control-char.
8618 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8619 and isearch-post-command-hook to post-command-hook.
8620 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8621 and isearch-post-command-hook from post-command-hook.
8622 (isearch-unread-key-sequence)
8623 (isearch-reread-key-sequence-naturally)
8624 (isearch-lookup-scroll-key, isearch-other-control-char)
8625 (isearch-other-meta-char): Remove functions.
8626 (isearch-pre-command-hook, isearch-post-command-hook):
8627 New functions based on isearch-other-meta-char rewritten
8628 relying on the new behavior of overriding-terminal-local-map
8629 that does not replace the local keymaps any more. (Bug#15200)
8631 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8633 Support menus on text-mode terminals.
8634 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8637 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8639 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8640 Move here from mouse.el.
8641 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8643 (tty-menu-navigation-map): New map for TTY menu navigation.
8645 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8647 * frame.el (display-mouse-p): Report text-mode mouse as available
8649 (display-popup-menus-p): Report availability if mouse is
8650 available; don't condition on window-system.
8652 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8653 (tty-menu-selected-face): New faces.
8655 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8657 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8658 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8659 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8660 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8662 (lisp-mode-variables): New `elisp' argument.
8663 (emacs-lisp-mode): Use it.
8664 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8665 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8667 * indent.el: Use lexical-binding.
8668 (indent-region): Add progress reporter.
8669 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8671 (indent--next-tab-stop): New function to implement this behavior.
8672 (tab-to-tab-stop, move-to-tab-stop): Use it.
8674 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8676 * indent.el (indent-rigidly--current-indentation): New function.
8677 (indent-rigidly-map): New var.
8678 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8680 2013-10-08 Bastien Guerry <bzg@gnu.org>
8682 * register.el (insert-register): Fix 2013-10-07 change.
8684 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8686 * progmodes/perl-mode.el: Use lexical-binding.
8687 Remove redundant :group args.
8688 (perl-nochange): Change default to be closer to other major modes's
8690 (perl-indent-line): Don't consider text on current line as a
8691 valid beginning of function from which to indent.
8693 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8694 with more than one argument (bug#15538).
8696 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8698 * vc/pcvs.el: Use lexical-binding.
8699 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8700 environment of `eval'.
8701 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8702 than a list of expressions. Adjust callers.
8703 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8705 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8707 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8708 case of the dot in a chained method call being on the following line.
8710 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * electric.el (electric-indent-inhibit): New var.
8713 (electric-indent-post-self-insert-function): Use it.
8714 * progmodes/python.el (python-mode): Set it.
8716 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8719 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8721 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8722 (css-mode): Use electric-indent-chars.
8724 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8725 (font-lock-beg, font-lock-end): Move before first use.
8726 (nxml-mode): Use syntax-propertize-function.
8727 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8728 (nxml-extend-after-change-region): Remove.
8729 * nxml/xmltok.el: Use lexical-binding.
8730 (xmltok-save): Use `declare'.
8731 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8732 * nxml/nxml-util.el: Use lexical-binding.
8733 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8735 * nxml/nxml-ns.el: Use lexical-binding.
8736 (nxml-ns-save): Use `declare'.
8737 (nxml-ns-prefixes-for): Avoid add-to-list.
8738 * nxml/rng-match.el: Use lexical-binding.
8739 (rng--ipattern): Use cl-defstruct.
8740 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8741 (rng-cons-group-after, rng-subst-group-after)
8742 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8743 Use closures instead of `(lambda...).
8745 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8747 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8750 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8751 Use `tramp-handle-insert-file-contents'.
8752 (tramp-gvfs-handle-insert-file-contents): Remove function.
8754 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8755 Use `save-restriction' in order to keep markers.
8757 * net/trampver.el: Update release number.
8759 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8761 * progmodes/compile.el (compilation-parse-errors):
8762 Use compilation--put-prop.
8763 (compilation--ensure-parse): Check compilation-multiline.
8765 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8767 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8770 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8772 * progmodes/ruby-mode.el: Fix recently added tests.
8773 (ruby-smie-grammar): Add - and +.
8774 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8775 (ruby-smie--backward-id): New functions.
8776 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8777 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8780 2013-10-07 Leo Liu <sdl.web@gmail.com>
8782 * register.el (register-preview-delay)
8783 (register-preview-functions): New variables.
8784 (register-read-with-preview, register-preview)
8785 (register-describe-oneline): New functions.
8786 (point-to-register, window-configuration-to-register)
8787 (frame-configuration-to-register, jump-to-register)
8788 (number-to-register, view-register, insert-register)
8789 (copy-to-register, append-to-register, prepend-to-register)
8790 (copy-rectangle-to-register): Use register-read-with-preview to
8791 read register. (Bug#15525)
8793 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8795 * net/network-stream.el (network-stream-open-starttls): Don't add
8796 --insecure if it's already present, because that gnutls-cli
8797 rejects getting that parameter twice.
8799 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8801 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8804 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8806 * newcomment.el (comment-use-global-state): Change default value
8807 to t, mark obsolete (Bug#15251).
8808 (comment-beginning): In addition to `comment-to-syntax', check the
8809 value of `comment-use-global-state'.
8811 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8813 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8814 (ruby-comment-column): Follow the global default, by default.
8815 (ruby-smie-grammar): Add assignment syntax.
8816 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8817 open-paren, a comma, or a \.
8818 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8819 and line continuations.
8820 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8821 followed by implicit semi-colons. Add rule for string concatenation
8822 and for indentation at BOB.
8823 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8825 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8826 calling next-sexp, since next-token may have skipped chars which
8827 next-sexp doesn't know should be skipped!
8829 2013-10-05 Leo Liu <sdl.web@gmail.com>
8831 * progmodes/octave.el (octave-send-region):
8832 Call compilation-forget-errors.
8834 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8836 * vc/vc-svn.el (vc-svn-find-admin-dir):
8837 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8838 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8839 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8840 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8842 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8846 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * subr.el (read-passwd): Hide chars even when called within a context
8849 where after-change-functions is disabled (bug#15501).
8850 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8851 until we removed ourself from overriding-terminal-local-map.
8853 2013-10-04 Leo Liu <sdl.web@gmail.com>
8855 * progmodes/octave.el (inferior-octave-mode):
8856 Call compilation-forget-errors.
8858 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8860 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8862 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8864 * net/secrets.el (secrets-create-collection): Add optional
8865 argument ALIAS. Use proper Label keyword. Append ALIAS as
8866 dbus-call-method argument. (Bug#15516)
8868 2013-10-04 Leo Liu <sdl.web@gmail.com>
8870 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8871 (inferior-octave-compilation-font-lock-keywords): New variables.
8872 (compilation-error-regexp-alist)
8873 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8874 (inferior-octave-mode): Use compilation-shell-minor-mode.
8876 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8878 * minibuffer.el (completion--replace): Be careful that `end' might be
8881 2013-10-03 Daiki Ueno <ueno@gnu.org>
8883 Add support for package signature checking.
8884 * emacs-lisp/package.el (url-http-file-exists-p)
8885 (epg-make-context, epg-context-set-home-directory)
8886 (epg-verify-string, epg-context-result-for)
8887 (epg-signature-status, epg-signature-to-string)
8888 (epg-check-configuration, epg-configuration)
8889 (epg-import-keys-from-file): Declare.
8890 (package-check-signature): New user option.
8891 (package-unsigned-archives): New user option.
8892 (package-desc): Add `signed' field.
8893 (package-load-descriptor): Set `signed' field if .signed file exists.
8894 (package--archive-file-exists-p): New function.
8895 (package--check-signature): New function.
8896 (package-install-from-archive): Check package signature.
8897 (package--download-one-archive): Check archive signature.
8898 (package-delete): Remove .signed file.
8899 (package-import-keyring): New command.
8900 (package-refresh-contents): Import default keyring.
8901 (package-desc-status): Add "unsigned" status.
8902 (describe-package-1, package-menu--print-info)
8903 (package-menu-mark-delete, package-menu--find-upgrades)
8904 (package-menu--status-predicate): Support "unsigned" status.
8906 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8908 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8909 the new compilation scheme using the new byte-codes.
8911 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8912 (byte-pophandler): New byte codes.
8913 (byte-goto-ops): Adjust accordingly.
8914 (byte-compile--use-old-handlers): New var.
8915 (byte-compile-catch): Use new byte codes depending on
8916 byte-compile--use-old-handlers.
8917 (byte-compile-condition-case--old): Rename from
8918 byte-compile-condition-case.
8919 (byte-compile-condition-case--new): New function.
8920 (byte-compile-condition-case): New function that dispatches depending
8921 on byte-compile--use-old-handlers.
8922 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8925 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8926 Optimize under `condition-case' and `catch' if
8927 byte-compile--use-old-handlers is nil.
8928 (disassemble-offset): Handle new bytecodes.
8930 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8932 * subr.el (error): Use `declare'.
8933 (decode-char, encode-char): Use advertised-calling-convention instead
8934 of the docstring to discourage use of the `restriction' arg.
8936 2013-10-03 Daiki Ueno <ueno@gnu.org>
8938 * epg.el (epg-verify-file): Add a comment saying that it does not
8939 notify verification error as a return value nor a signal.
8940 (epg-verify-string): Ditto.
8942 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8944 * progmodes/compile.el (compilation-start): Try globbing the arg to
8947 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8949 Sync with Tramp 2.2.8.
8951 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8952 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8953 * net/trampver.el: Update release number.
8955 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8957 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8958 and default-process-coding-system for darwin only.
8960 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8962 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8964 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8966 * vc/vc-git.el (vc-git-grep): Disable pager.
8968 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8970 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8971 Use :url instead of :homepage, as per
8972 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8974 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8975 non-nil, use `syntax-ppss' (Bug#15251).
8977 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8979 * progmodes/octave.el (inferior-octave-startup-file):
8980 Prefer ~/.emacs.d/init_octave.m.
8982 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8984 * emacs-lisp/package.el (package-desc-from-define):
8985 Accept additional arguments as plist, convert them to an alist and store
8986 them in the `extras' slot.
8987 (package-generate-description-file): Convert extras alist back to
8988 plist and append to the `define-package' form arguments.
8989 (package--alist-to-plist): New function.
8990 (package--ac-desc): Add `extras' slot.
8991 (package--add-to-archive-contents): Check if the archive-contents
8992 vector is long enough, and if it is, pass its `extras' slot value
8993 to `package-desc-create'.
8994 (package-buffer-info): Call `lm-homepage', pass the returned value
8995 to `package-desc-from-define'.
8996 (describe-package-1): Render the homepage button (Bug#13291).
8998 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8999 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9001 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9003 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9004 and default-process-coding-system to utf-8-unix (Bug#15402).
9006 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9008 * subr.el (looking-back): Do not recommend using looking-back.
9010 2013-09-28 Alan Mackenzie <acm@muc.de>
9012 Fix indentation/fontification of Java enum with "implements".
9014 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9015 regexp which matches "implements", etc., in Java.
9016 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9017 specifier clauses coming after "enum".
9018 * progmodes/cc-fonts.el (c-font-lock-declarations)
9019 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9022 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9024 * faces.el (region): Change ns_selection_color to
9025 ns_selection_fg_color, add ns_selection_bg_color.
9027 2013-09-28 Leo Liu <sdl.web@gmail.com>
9029 * progmodes/octave.el (inferior-octave-completion-table)
9030 (inferior-octave-completion-at-point): Minor tweaks.
9032 * textmodes/ispell.el (ispell-lookup-words): Rename from
9033 lookup-words. (Bug#15460)
9034 (lookup-words): Obsolete.
9035 (ispell-complete-word, ispell-command-loop): All uses changed.
9037 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9039 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9040 (octave-mode-menu): Add octave-send-buffer.
9041 (octave-send-buffer): New function.
9043 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9045 * progmodes/octave.el (octave-mode-map): Add key binding for
9047 (octave-mode-menu): Add octave-lookfor.
9048 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9050 (octave-lookfor): New function.
9052 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9054 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9055 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9057 (cl--loop-set-iterator-function): New function.
9058 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9059 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9060 Bind `it' with `let' instead of substituting it with `cl-subst'.
9061 (cl--unused-var-p): New function.
9062 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9063 Eliminate some unused variable warnings (bug#15326).
9065 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9067 * doc-view.el (doc-view-scale-reset): Rename from
9068 `doc-view-reset-zoom-level'.
9069 (doc-view-scale-adjust): New command.
9070 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9071 `doc-view-scale-adjust'.
9073 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9075 * doc-view.el (doc-view-reset-zoom-level): New command.
9076 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9077 zoom commands (bug#15466).
9079 2013-09-26 Kenichi Handa <handa@gnu.org>
9081 * international/quail.el (quail-help): Make it not a command.
9083 2013-09-26 Leo Liu <sdl.web@gmail.com>
9085 * minibuffer.el (completion-all-sorted-completions): Make args
9086 optional as they are.
9088 2013-09-25 Daniel Colascione <dancol@dancol.org>
9090 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9091 specs are and that they're not evaluated.
9093 2013-09-24 Sam Steingold <sds@gnu.org>
9095 * midnight.el (clean-buffer-list-kill-regexps)
9096 (clean-buffer-list-kill-buffer-names): Update for the new Man
9097 buffer naming which includes the object name.
9099 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9101 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9102 (eshell-parse-command, eshell-parse-pipeline): Use it since
9103 eshell-separate-commands requires a dynamic scoped var.
9104 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9106 2013-09-23 Leo Liu <sdl.web@gmail.com>
9108 * autoinsert.el (auto-insert-alist): Make the value of
9109 lexical-binding match its file setting.
9111 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9113 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9115 * autoarg.el (autoarg-kp-digit-argument):
9116 * electric.el (Electric-command-loop):
9117 * kmacro.el (kmacro-step-edit-insert):
9118 Do not set universal-argument-num-events.
9120 2013-09-22 Leo Liu <sdl.web@gmail.com>
9122 * files.el (interpreter-mode-alist): Add octave.
9124 2013-09-21 Alan Mackenzie <acm@muc.de>
9126 C++: fontify identifier in declaration following "public:" correctly.
9127 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9128 to match "public", etc.
9129 (c-decl-prefix-re): Add ":" into the C++ value.
9130 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9131 bit. Add a check for a ":" preceded by "public", etc.
9133 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9135 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9136 recognized by GDB 7.5 and later.
9138 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9140 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9142 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * subr.el (internal--call-interactively): New const.
9145 (called-interactively-p): Use it (bug#3984).
9147 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9149 * vc/pcvs.el (cvs-mode-ignore):
9150 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9151 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9153 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9155 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9156 (eshell-ls-orig-insert-directory): Remove.
9157 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9158 (eshell-ls-use-in-dired): Use advice-add/remove.
9159 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9160 Add `orig-fun' arg for use in :around advice.
9161 Make it check (redundantly) eshell-ls-use-in-dired.
9163 2013-09-19 Glenn Morris <rgm@gnu.org>
9165 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9167 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9169 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9171 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9173 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9174 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9175 (tramp-get-remote-python): New defuns.
9176 (tramp-get-remote-uid-with-perl)
9177 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9178 contributed by yary <not.com@gmail.com> (tiny change).
9179 (tramp-get-remote-uid-with-python)
9180 (tramp-get-remote-gid-with-python): New defuns. Python code
9181 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9182 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9184 2013-09-19 Glenn Morris <rgm@gnu.org>
9186 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9188 * eshell/em-unix.el (eshell-remove-entries):
9189 Rename argument to avoid name-clash with global `top-level'.
9191 * eshell/esh-proc.el (eshell-kill-process-function):
9192 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9193 (eshell-reset-after-proc): Remove unused arg `proc'.
9195 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9196 (directory-files-and-attributes): Mark unused arg.
9198 * eshell/em-unix.el (eshell-remove-entries):
9199 Remove unused arg `path'. Update callers.
9201 * eshell/em-hist.el (eshell-hist-parse-arguments):
9202 Remove unused arg `silent'. Update callers.
9204 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9205 Fix (f)boundp mix-up.
9207 * eshell/em-smart.el (eshell-smart-scroll-window)
9208 (eshell-disable-after-change):
9209 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9211 2013-09-18 Alan Mackenzie <acm@muc.de>
9213 Fix fontification of type when followed by "const".
9214 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9215 "known" types from fontification.
9217 2013-09-18 Glenn Morris <rgm@gnu.org>
9219 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9220 (chart-face-list): Drop Emacsen without display-color-p.
9222 * net/eww.el (libxml-parse-html-region): Declare.
9223 (eww-display-html): Explicit error if no libxml2 support.
9225 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9227 * image.el (image-type-from-buffer, image-multi-frame-p):
9228 Remove --without-x warning/error.
9230 * mouse.el (mouse-yank-primary):
9231 * term.el (term-mouse-paste):
9232 Reorder to silence --without-x compilation.
9234 * mpc.el (doc-view-mode): Silence --without-x compilation.
9236 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9237 Silence --without-x compilation.
9239 * progmodes/gud.el (gud-find-file, gud-mode):
9240 Silence --without-x compilation.
9241 (tooltip-mode): Declare.
9243 * wdired.el (dired-backup-overwrite): Remove declaration.
9244 (wdired-mode-map): Add doc string.
9246 * custom.el (x-get-resource): Declare.
9248 * eshell/em-glob.el (ange-cache):
9249 * eshell/em-unix.el (ange-cache): Declare.
9251 * faces.el (x-display-list, x-open-connection, x-get-resource):
9254 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9255 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9258 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9260 * net/gnutls.el (gnutls-log-level): Declare.
9262 * net/shr.el (image-size, image-animate): Declare.
9264 * simple.el (font-info): Declare.
9266 * subr.el (x-popup-dialog): Declare.
9268 * term/common-win.el (x-select-enable-primary)
9269 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9272 * term/ns-win.el (x-handle-args): Declare.
9274 * term/x-win.el (x-select-enable-clipboard): Declare.
9276 * term/w32-win.el (create-default-fontset): Declare.
9278 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9281 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9282 (fit-frame-to-buffer): Explicit error if --without-x.
9283 (mouse-autoselect-window-select): Silence compiler.
9285 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9287 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9288 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9289 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9290 * eshell/esh-util.el (eshell-sublist):
9291 Remove unused local variables.
9293 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9295 * textmodes/two-column.el: Make 2C-split work for --without-x.
9296 (scroll-bar-columns): Autoload.
9297 (top-level): Require fringe when compiling.
9299 2013-09-18 Leo Liu <sdl.web@gmail.com>
9301 * subr.el (add-hook): Robustify to handle closure as well.
9303 2013-09-17 Glenn Morris <rgm@gnu.org>
9305 * simple.el (messages-buffer-mode-map): Unbind "g".
9307 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9309 * help-mode.el (help-mode-finish): Use derived-mode-p.
9310 Remove obsolete highlighting.
9312 * play/life.el (life-mode): Use define-derived-mode. Derive from
9314 (life): Let-bind inhibit-read-only.
9315 (life-setup): Avoid `setq'. Use `life-mode'.
9317 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9318 which should not be needed any more.
9319 (package-menu-refresh, package-menu-describe-package): Use user-error.
9321 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9322 (eshell-post-rewrite-command-hook): Make obsolete.
9323 (eshell-parse-command): Simplify.
9324 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9325 (eshell--cmd): Declare.
9326 (eshell-parse-pipeline): Remove unused var `final-p'.
9327 Pass a dynvar to eshell-post-rewrite-command-hook.
9328 Implement the new eshell-post-rewrite-command-function.
9329 (eshell-invoke-directly): Remove unused arg `input'.
9330 * eshell/esh-io.el (eshell-io-initialize):
9331 Use eshell-post-rewrite-command-function (bug#15399).
9332 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9333 adjust to new calling convention.
9334 (eshell-create-handles): Rename args to avoid clashing with dynvar
9337 2013-09-17 Glenn Morris <rgm@gnu.org>
9339 * simple.el (messages-buffer-mode): New major mode.
9340 (messages-buffer): New function.
9341 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9342 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9343 (ert-run-test): Use `messages-buffer' function.
9344 (ert--force-message-log-buffer-truncation): Ignore read-only.
9345 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9346 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9348 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9350 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9352 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9354 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * icomplete.el (icomplete-in-buffer): New var.
9357 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9358 vars and replace them with functions.
9359 (icomplete-minibuffer-setup): Adjust accordingly.
9360 (icomplete--completion-table, icomplete--completion-predicate)
9361 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9363 (icomplete-forward-completions, icomplete-backward-completions)
9364 (icomplete-simple-completing-p, icomplete-exhibit)
9365 (icomplete-completions): Use them.
9366 (icomplete--in-region-buffer): New var.
9367 (icomplete--in-region-setup): New function.
9368 (icomplete-mode): Use it.
9370 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9372 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9373 return args and options.
9374 (eshell-eval-using-options): Use the new return value of
9375 eshell--do-opts to set the options's vars in their scope.
9376 (eshell--set-option): Rename from eshell-set-option.
9378 (eshell--process-option): Rename from eshell-process-option.
9380 (eshell--process-args): Use an `opt-vals' alist to store the options's
9381 values during their processing and return them additionally to the
9384 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9386 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9387 continuation character an operator, as far as indentation is
9388 concerned (Bug#15369).
9390 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9392 * window.el (window--state-put-2): Don't process buffer state
9393 when buffer doesn't exist any more (Bug#15382).
9395 2013-09-15 Glenn Morris <rgm@gnu.org>
9397 * eshell/em-unix.el (eshell/rm):
9398 Make -f ignore missing files. (Bug#15373)
9400 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9401 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9402 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9404 2013-09-14 Glenn Morris <rgm@gnu.org>
9406 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9408 2013-09-13 Glenn Morris <rgm@gnu.org>
9410 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9411 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9413 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9415 * frame.el (x-focus-frame): Mark as declared in frame.c.
9417 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9419 * ls-lisp.el: Use advice-add.
9420 (original-insert-directory): Remove.
9421 (ls-lisp--insert-directory): Rename from insert-directory; add
9422 `orig-fun' argument.
9423 (insert-directory): Advise.
9425 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9427 * term.el (term-emulate-terminal): Decode the command string
9428 before passing it to term-command-hook. (Bug#15337)
9430 2013-09-13 Glenn Morris <rgm@gnu.org>
9432 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9434 * eshell/esh-ext.el (eshell-search-path): Declare.
9436 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9437 Otherwise an error occurs if eshell-dirs module not loaded.
9439 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9441 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9443 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9444 `tramp-check-proper-host'. Check for a valid method name.
9446 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9447 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9448 * net/tramp-sh.el (tramp-maybe-open-connection):
9449 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9451 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9452 also for hash values.
9454 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9456 * term/ns-win.el (parameters): Don't declare as dynamic.
9457 (before-make-frame-hook): Don't add ineffective function.
9459 * eshell/*.el: Use lexical-binding (bug#15231).
9461 2013-09-12 Kenichi Handa <handa@gnu.org>
9463 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9465 2013-09-12 Glenn Morris <rgm@gnu.org>
9467 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9468 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9470 * subr.el (do-after-load-evaluation): Also give compiler warnings
9471 when obsolete files are used (except by obsolete files).
9473 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9474 in the status output, assume `filename' is the first. (Bug#15322)
9476 * vc/vc.el (vc-deduce-fileset): Doc fix.
9478 * calc/calc-help.el (Info-goto-node):
9479 * progmodes/cperl-mode.el (Info-find-node):
9480 * vc/ediff.el (Info-goto-node): Update declarations.
9482 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9484 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9485 (vc-bzr-pull): Require vc-dispatcher.
9486 * vc/vc-git.el (vc-compilation-mode): Declare.
9487 (vc-git-pull): Require vc-dispatcher.
9489 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9491 * progmodes/octave.el (help-button-action): Declare.
9493 * shell.el (shell-directory-tracker): Output error as a message
9494 rather than just returning it as a string.
9495 (shell-process-pushd): Remove useless use of message.
9497 * dframe.el (dframe-timer-fn):
9498 * files.el (dir-locals-read-from-file):
9499 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9501 * reveal.el (reveal-post-command):
9502 * saveplace.el (load-save-place-alist-from-file):
9503 * shell.el (shell-resync-dirs):
9504 * w32-common-fns.el (x-get-selection-value):
9505 * emacs-lisp/copyright.el (copyright-find-copyright):
9506 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9507 * emulation/tpu-edt.el (tpu-copy-keyfile):
9508 * play/bubbles.el (bubbles--mark-neighbourhood):
9509 * progmodes/executable.el
9510 (executable-make-buffer-file-executable-if-script-p):
9511 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9513 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9515 Cleanup Eshell to rely less on dynamic scoping.
9516 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9517 last-value, and ext-command here. Bind `args' closer to `body'.
9518 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9519 (eshell--args): Declare new dynamic var.
9520 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9521 last-value, and ext-command. Pass `args' to `body'.
9522 (eshell-process-args): Bind eshell--args.
9523 (eshell-set-option): Use eshell--args.
9524 * eshell/eshell.el (eshell): Use derived-mode-p.
9525 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9526 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9527 (eshell-glob-function): Declare.
9528 * eshell/esh-util.el: Require cl-lib.
9529 (eshell-read-hosts-file): Avoid add-to-list.
9530 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9532 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9534 (eshell/diff): Remove unused var `err'.
9535 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9537 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9538 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9540 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9541 Move declaration before first use.
9542 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9543 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9546 2013-09-12 Glenn Morris <rgm@gnu.org>
9548 * term/ns-win.el (global-map): Remove binding for ispell-next,
9549 deleted 1999-05-29. (Bug#15357)
9551 2013-09-11 Glenn Morris <rgm@gnu.org>
9553 * echistory.el (electric-command-history): Remove call to deleted func.
9555 * play/landmark.el (landmark-mode): Fix typos.
9557 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9558 Check cvs-sort-ignore-file is bound.
9560 * savehist.el: No need for cl when compiling on Emacs.
9562 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9564 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9566 (eshell-self-insert-command, eshell-send-invisible):
9567 Remove unused argument.
9568 (eshell-handle-control-codes): Remove unused var `orig'.
9569 Avoid delete-backward-char.
9571 * files.el (set-auto-mode): Simplify a bit further.
9573 2013-09-11 Glenn Morris <rgm@gnu.org>
9575 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9576 (set-auto-mode): Don't regexp-quote elements.
9577 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9578 * progmodes/cc-mode.el (interpreter-mode-alist):
9579 * progmodes/ruby-mode.el (interpreter-mode-alist):
9580 Revert previous change.
9582 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9584 * play/snake.el (snake-mode):
9585 * play/mpuz.el (mpuz-mode):
9586 * play/landmark.el (lm-mode):
9587 * play/blackbox.el (blackbox-mode):
9588 * play/5x5.el (5x5-mode):
9589 * obsolete/options.el (Edit-options-mode):
9590 * net/quickurl.el (quickurl-list-mode):
9591 * net/newst-treeview.el (newsticker-treeview-mode):
9592 * mail/rmailsum.el (rmail-summary-mode):
9593 * mail/mspools.el (mspools-mode):
9594 * locate.el (locate-mode):
9595 * ibuffer.el (ibuffer-mode):
9596 * emulation/ws-mode.el (wordstar-mode):
9597 * emacs-lisp/debug.el (debugger-mode):
9598 * array.el (array-mode):
9599 * net/eudc.el (eudc-mode): Use define-derived-mode.
9600 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9601 Move initialization into declaration.
9602 (mairix-searches-mode): Use define-derived-mode.
9603 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9604 (eudc-edit-hotlist): Use dolist.
9605 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9606 (Man-mode): Use define-derived-mode.
9607 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9608 (Info-edit-mode): Use define-derived-mode.
9609 (Info-cease-edit): Use Info-mode.
9610 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9612 (eshell-mode): Use define-derived-mode.
9613 * chistory.el (command-history-mode-map): Rename from
9614 command-history-map.
9615 (command-history-mode): Use define-derived-mode.
9616 (Command-history-setup): Remove function.
9617 * calc/calc.el (calc-trail-mode-map): New var.
9618 (calc-trail-mode): Use define-derived-mode.
9619 (calc-trail-buffer): Set calc-main-buffer manually.
9620 * bookmark.el (bookmark-insert-annotation): New function.
9621 (bookmark-edit-annotation): Use it.
9622 (bookmark-edit-annotation-mode): Make it a proper major mode.
9623 (bookmark-send-edited-annotation): Use derived-mode-p.
9624 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9625 closer to its ideal place. Use \' to match EOS.
9627 * profiler.el (profiler-calltree-find): Use function-equal.
9629 2013-09-10 Glenn Morris <rgm@gnu.org>
9631 * files.el (interpreter-mode-alist): Convert to regexps.
9632 (set-auto-mode): Adapt for this. (Bug#15306)
9633 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9634 Comment out unused variable.
9635 * progmodes/cc-mode.el (interpreter-mode-alist):
9636 * progmodes/python.el (interpreter-mode-alist):
9637 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9638 * progmodes/sh-script.el (sh-set-shell):
9639 No longer use interpreter-mode-alist to get list of shells.
9641 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9643 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9645 * simple.el: Use set-temporary-overlay-map for universal-argument.
9646 (universal-argument-map): Don't use default-bindings (bug#15317).
9647 Bind switch-frame explicitly. Replace universal-argument-minus with
9648 a conditional binding.
9649 (universal-argument-num-events, saved-overriding-map): Remove.
9650 (restore-overriding-map): Remove.
9651 (universal-argument--mode): Rename from save&set-overriding-map,
9653 (universal-argument, universal-argument-more, negative-argument)
9654 (digit-argument): Adjust accordingly.
9655 (universal-argument-minus): Remove.
9656 (universal-argument-other-key): Remove.
9658 * subr.el (with-demoted-errors): Add `format' argument.
9660 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9662 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9663 `tramp-cleanup-connection'.
9665 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9666 parameters KEEP-DEBUG and KEEP-PASSWORD.
9668 * net/tramp.el (tramp-file-name-handler):
9669 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9670 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9671 (tramp-maybe-open-connection):
9672 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9673 Use `tramp-cleanup-connection'.
9675 * net/tramp-sh.el (tramp-maybe-open-connection):
9676 Catch 'uname-changed inside the progress reporter.
9678 2013-09-10 Glenn Morris <rgm@gnu.org>
9680 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9682 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9683 returns "alternate access method" in mode (eg "-rw-r--r--.").
9685 2013-09-08 Glenn Morris <rgm@gnu.org>
9687 * saveplace.el (load-save-place-alist-from-file):
9688 Demote errors. (Bug#15305)
9690 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9692 Improve compatibility with older Emacsen, and XEmacs.
9694 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9695 only if it is bound. It isn't for XEmacs.
9696 (with-tramp-progress-reporter): Do not let-bind `result'.
9697 This yields to scoping errors in XEmacs.
9698 (tramp-handle-make-auto-save-file-name): New function, moved from
9701 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9702 for `make-auto-save-file-name'.
9703 (tramp-adb--gnu-switches-to-ash):
9704 Use `tramp-compat-replace-regexp-in-string'.
9706 * net/tramp-cache.el (tramp-cache-print): Call
9707 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9709 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9710 bound. It isn't for XEmacs.
9712 * net/tramp-compat.el (tramp-compat-copy-file):
9713 Catch `wrong-number-of-arguments' error.
9714 (tramp-compat-replace-regexp-in-string): New defun.
9716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9717 for `make-auto-save-file-name'.
9718 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9720 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9721 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9722 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9724 * net/tramp-gw.el (tramp-gw-open-network-stream):
9725 Use `tramp-compat-replace-regexp-in-string'.
9727 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9728 Call `tramp-handle-make-auto-save-file-name'.
9729 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9730 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9731 (tramp-sh-file-inotifywait-process-filter):
9732 Use `tramp-compat-replace-regexp-in-string'.
9733 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9735 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9736 for `make-auto-save-file-name'.
9737 (tramp-smb-handle-copy-directory):
9738 Call `tramp-compat-replace-regexp-in-string'.
9739 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9740 (tramp-smb-handle-copy-file): Improve error message.
9741 (tramp-smb-handle-rename-file): Rename directly only in case
9742 `newname' does not exist yet. This is a restriction of smbclient.
9743 (tramp-smb-maybe-open-connection): Rerun the function only when
9744 `auth-sources' is non-nil.
9746 2013-09-08 Kenichi Handa <handa@gnu.org>
9748 * international/characters.el: Set category "^" (Combining) for
9751 2013-09-07 Alan Mackenzie <acm@muc.de>
9753 Correctly fontify Java class constructors.
9754 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9756 (c-recognize-typeless-decls): Set the Java value to t.
9757 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9758 While handling a "(", add a check for, effectively, Java, and handle a
9759 "typeless" declaration there.
9761 2013-09-07 Roland Winkler <winkler@gnu.org>
9763 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9764 field subtitle for entry type book.
9766 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9768 * minibuffer.el: Make minibuffer-complete call completion-in-region
9769 rather than other way around.
9770 (completion--some, completion-pcm--find-all-completions):
9771 Don't delay signals when debugging.
9772 (minibuffer-completion-contents): Beware fields within the
9773 minibuffer contents.
9774 (completion-all-sorted-completions): Use defvar-local.
9775 (completion--do-completion, completion--cache-all-sorted-completions)
9776 (completion-all-sorted-completions, minibuffer-force-complete):
9777 Add args `beg' and `end'.
9778 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9779 (minibuffer-complete): Use completion-in-region.
9780 (completion-complete-and-exit): New fun, extracted from
9781 minibuffer-complete-and-exit.
9782 (minibuffer-complete-and-exit): Use it.
9783 (completion--complete-and-exit): Rename from
9784 minibuffer--complete-and-exit.
9785 (completion-in-region--single-word): New function, extracted from
9786 minibuffer-complete-word.
9787 (minibuffer-complete-word): Use it.
9788 (display-completion-list): Make `common-substring' argument obsolete.
9789 (completion--in-region): Call completion--in-region-1 instead of
9790 minibuffer-complete.
9791 (completion-help-at-point): Pass boundaries to
9792 minibuffer-completion-help as args rather than via an overlay.
9793 (completion-pcm--string->pattern): Use `any-delim'.
9794 (completion-pcm--optimize-pattern): New function.
9795 (completion-pcm--pattern->regex): Handle `any-delim'.
9796 * icomplete.el (icomplete-forward-completions)
9797 (icomplete-backward-completions, icomplete-completions):
9798 Adjust calls to completion-all-sorted-completions and
9799 completion--cache-all-sorted-completions.
9800 (icomplete-with-completion-tables): Default to t.
9801 * emacs-lisp/crm.el (crm--current-element): Rename from
9802 crm--select-current-element. Don't put an overlay but return the
9804 (crm--completion-command): Take two new args to bind to the boundaries.
9805 (crm-completion-help): Adjust accordingly.
9806 (crm-complete): Use completion-in-region.
9807 (crm-complete-word): Use completion-in-region--single-word.
9808 (crm-complete-and-exit): Use completion-complete-and-exit.
9810 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9812 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9815 2013-09-06 Juri Linkov <juri@jurta.org>
9817 * info.el (Info-display-images-node): When image file doesn't exist
9818 display text version of the image if it's provided in the Info file.
9819 Otherwise, display the location of missing image from SRC attribute.
9820 Add help-echo text property from ALT attribute. (Bug#15279)
9822 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9825 (edit-abbrevs-mode): Use define-derived-mode.
9827 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9828 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9830 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9831 Use define-derived-mode.
9833 * epg.el (epg-start-encrypt): Minor CSE simplification.
9835 2013-09-06 William Xu <william.xwl@gmail.com>
9837 * arc-mode.el: Add support for 7za (bug#15264).
9838 (archive-7z-program): New var.
9839 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9840 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9841 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9843 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9847 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9848 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9849 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9850 (tramp-postfix-host-format, tramp-file-name-regexp)
9851 (tramp-completion-file-name-regexp)
9852 (tramp-completion-dissect-file-name)
9853 (tramp-handle-substitute-in-file-name): Remove 'url case.
9854 (tramp-file-name-regexp-url)
9855 (tramp-completion-file-name-regexp-url): Remove constants.
9857 2013-09-06 Glenn Morris <rgm@gnu.org>
9859 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9861 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9863 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9864 keywords" below "here-doc beginnings" (Bug#15270).
9866 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9868 * subr.el (pop): Use `car-safe'.
9869 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9870 to detect unused `pop' return value.
9872 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9874 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9875 (python-fill-string): Remove unused var `marker'.
9876 (python-skeleton-add-menu-items): Remove unused var `items'.
9878 * international/mule-cmds.el: Require CL.
9879 (find-coding-systems-for-charsets): Avoid add-to-list.
9880 (sanitize-coding-system-list): New function, extracted from
9881 select-safe-coding-system-interactively.
9882 (select-safe-coding-system-interactively): Use it.
9883 (read-input-method-name): Accept symbols for `default'.
9885 * emacs-lisp/advice.el (defadvice): Add indent rule.
9887 2013-09-05 Daniel Hackney <dan@haxney.org>
9891 * net/browse-url.el:
9894 * net/eudcb-ldap.el:
9907 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9908 byte compiler. Remove some unused let-bound variables.
9910 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9912 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9913 a "ref-cell", since it gets better optimized (bug#14883).
9915 2013-09-05 Glenn Morris <rgm@gnu.org>
9917 * progmodes/cc-awk.el (c-forward-sws): Declare.
9919 2013-09-04 Glenn Morris <rgm@gnu.org>
9921 * generic-x.el [rul-generic-mode]: Require cc-mode.
9922 (c++-mode-syntax-table): Declare.
9923 (rul-generic-mode-syntax-table): Init in the defvar.
9925 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9927 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9928 (vc-do-command, vc-set-async-update):
9929 * vc/vc-mtn.el (vc-mtn-dir-status):
9930 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9931 (vc-hg-pull, vc-hg-merge-branch):
9932 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9933 (vc-git-merge-branch):
9934 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9935 (vc-cvs-dir-status-files):
9936 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9937 (vc-bzr-dir-status-files):
9938 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9939 * vc/vc-annotate.el: Use lexical-binding.
9940 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9941 (vc-sentinel-movepoint): Declare.
9942 (vc-annotate): Don't use `goto-line'.
9943 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9944 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9945 (vc-sentinel-movepoint): Declare.
9946 * vc/vc-svn.el: Use lexical-binding.
9947 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9949 * vc/vc-rcs.el: Use lexical-binding.
9951 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9952 `deleted'. Don't drop errors silently.
9954 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9956 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9958 * vc/vc.el (vc-ignore): Rewrite.
9959 (vc-default-ignore): New function.
9960 (vc-default-ignore-completion-table): Use find-ignore-file.
9962 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9963 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9964 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9965 Remove. Most code moved to vc.el.
9967 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9969 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9970 * net/tramp-smb.el (tramp-smb-get-file-entries):
9971 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9972 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9974 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9976 (eww-change-select): Remove unused var `properties'.
9977 (eww-make-unique-file-name): Remove unused var `base'.
9979 * finder.el (finder-compile-keywords): Don't mess with windows.
9981 * calculator.el (calculator-funcall): Fix typo in last change.
9983 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9985 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9986 <pkg>-autoloads.el file stop us.
9988 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9989 warnings, and factor out common code.
9991 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9993 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9994 two-character operators and whether the character preceding them
9995 changes their meaning (Bug#15208).
9997 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9999 Format code sent to Python shell for robustness.
10000 * progmodes/python.el (python-shell-buffer-substring):
10002 (python-shell-send-region, python-shell-send-buffer): Use it.
10004 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10006 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10007 * net/tramp.el (tramp-user-error): ... here.
10008 (tramp-find-method, tramp-check-proper-host)
10009 (tramp-dissect-file-name, tramp-debug-message)
10010 (tramp-handle-shell-command):
10011 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10012 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10014 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10016 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10018 * avoid.el (mouse-avoidance-point-position)
10019 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10022 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10024 * progmodes/python.el (python-shell-completion-get-completions):
10025 Drop use of deleted `comint-last-prompt-overlay'.
10026 (python-nav-if-name-main): New command.
10028 2013-09-01 Glenn Morris <rgm@gnu.org>
10030 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10031 Avoid leading space in $wins. Otherwise the sed command used by
10032 eg compile-main ends up containing "/*.el". (Bug#15170)
10034 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10036 2013-08-30 Glenn Morris <rgm@gnu.org>
10038 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10039 Fix is-this-a-directory logic. (Bug#15220)
10041 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10043 * textmodes/css-mode.el: Use SMIE.
10044 (css-smie-grammar): New var.
10045 (css-smie--forward-token, css-smie--backward-token)
10046 (css-smie-rules): New functions.
10047 (css-mode): Use them.
10048 (css-navigation-syntax-table): Remove var.
10049 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10050 (css-indent-calculate, css-indent-line): Remove functions.
10052 Misc changes to reduce use of `(lambda...); and other cleanups.
10053 * cus-edit.el: Use lexical-binding.
10054 (customize-push-and-save, customize-apropos)
10055 (custom-buffer-create-internal): Use closures.
10056 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10057 * progmodes/ada-xref.el: Use setq.
10058 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10059 * dframe.el: Use lexical-binding.
10060 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10061 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10062 * descr-text.el: Use lexical-binding.
10063 (describe-text-widget, describe-text-sexp, describe-property-list):
10065 * comint.el (comint-history-isearch-push-state): Use a closure.
10066 * calculator.el: Use lexical-binding.
10067 (calculator-number-to-string): Make it work with lexical-binding.
10068 (calculator-funcall): Same and use cl-letf.
10070 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10071 (lisp--company-doc-string, lisp--company-location): New functions.
10072 (lisp-completion-at-point): Use them to improve Company support.
10074 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10075 params of lambda expressions.
10076 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10077 (ruby-smie--opening-pipe-p): New function.
10078 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10079 symbols and matched |...| for formal params.
10080 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10081 from being treated as hanging. Handle "rescue".
10083 2013-08-29 Glenn Morris <rgm@gnu.org>
10085 * progmodes/cc-engine.el (c-pull-open-brace):
10086 Move definition before use.
10088 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10090 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10091 are immutable. Don't use `unsafe' any more.
10092 (cl--defsubst-expand): Don't substitute at the same time as keeping
10093 a residual unused let-binding. Don't use `unsafe' any more.
10095 2013-08-29 Glenn Morris <rgm@gnu.org>
10097 * calendar/cal-china.el (calendar-chinese-year-cache):
10100 * nxml/nxml-util.el (nxml-debug-clear-inside):
10101 Use cl-loop rather than loop.
10103 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10105 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10107 2013-08-28 Glenn Morris <rgm@gnu.org>
10109 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10111 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10113 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10115 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * simple.el (repeat-complex-command--called-interactively-skip):
10119 (repeat-complex-command): Use it (bug#14136).
10121 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10122 (c-define-abbrev-table): Add `doc' argument.
10123 (c-mode-abbrev-table, c++-mode-abbrev-table)
10124 (objc-mode-abbrev-table, java-mode-abbrev-table)
10125 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10126 (awk-mode-abbrev-table): Use it.
10127 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10128 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10129 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10130 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10131 Move initialization into the declaration; and remove any
10134 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10135 and dynamic let binding.
10137 * vc/smerge-mode.el: Remove redundant :group args.
10139 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10142 2013-08-28 Juri Linkov <juri@jurta.org>
10144 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10145 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10146 (isearch-other-meta-char): Handle an undefined shifted printing
10147 character by downshifting it. (Bug#15200)
10149 2013-08-28 Juri Linkov <juri@jurta.org>
10151 * isearch.el (isearch-search): Change regexp error message for
10152 non-regexp searches. (Bug#15166)
10154 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10156 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10157 for portability to hosts where /bin/sh has problems.
10159 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10161 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10163 2013-08-27 Juri Linkov <juri@jurta.org>
10165 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10166 in the keyboard macro. (Bug#15126)
10168 2013-08-27 Juri Linkov <juri@jurta.org>
10170 * isearch.el (isearch-quote-char): Comment out converting unibyte
10171 to multibyte, thus syncing with its `quoted-insert' counterpart.
10174 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10176 * window.el (display-buffer-use-some-window): Add missing
10177 argument in call of get-largest-window (Bug#15185).
10178 Reported by Stephen Leake.
10180 2013-08-27 Glenn Morris <rgm@gnu.org>
10182 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10184 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10186 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10187 from a matcher-function unless there's no more matches (bug#15161).
10189 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10191 * minibuffer.el: Revert change from 2013-08-20.
10193 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10194 with text property `tramp-default', if appropriate.
10195 (tramp-check-proper-host): New defun.
10196 (tramp-dissect-file-name): Do not check hostname. Revert change
10198 (tramp-backtrace): Make VEC-OR-PROC optional.
10200 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10201 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10202 * net/tramp-sh.el (tramp-maybe-open-connection):
10203 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10204 Apply `tramp-check-proper-host'.
10206 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10208 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10209 lambda expression in order to have `describe-variable' display it.
10211 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10213 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10214 BUF can be optional. (Bug#15186)
10216 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10218 * progmodes/flymake.el (flymake-get-real-file-name-function):
10219 Fix broken customization. (Bug#15184)
10221 2013-08-25 Alan Mackenzie <acm@muc.de>
10223 Improve indentation of bracelists defined by macros (without "=").
10225 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10226 expansion begins with "{", regard it as bracelist when it doesn't
10229 Parse C++ inher-intro when there's a template split over 2 lines.
10231 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10232 rigorously the search for "class" etc. followed by ":".
10234 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10235 random languages a regexp which never matches rather than nil.
10237 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10239 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10240 (c-awk-regexp-one-line-possibly-open-char-list-re)
10241 (c-awk-one-line-possibly-open-regexp-re)
10242 (c-awk-one-line-non-syn-ws*-re): Remove.
10243 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10244 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10245 (c-awk-space*-unclosed-regexp-/-re): New constants.
10246 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10247 aren't regexp delimiters.
10249 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10250 handling for a rare situation in AWK Mode involving unterminated
10253 2013-08-23 Glenn Morris <rgm@gnu.org>
10255 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10257 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10259 * files.el (create-file-buffer): If the result would begin with
10260 spaces, prepend a "|" instead of removing them. (Bug#15162)
10262 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10265 text-properties (bug#15155).
10267 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10269 (calc-keypad-redraw): Remove unused var `pad'.
10270 (calc-keypad-press): Remove unused var `menu'.
10272 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10274 * window.el (display-buffer-pop-up-frame):
10275 Call pop-up-frame-function with BUFFER current so `make-frame' will
10276 use it as the new frame's buffer (Bug#15133).
10278 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10280 * calendar/timeclock.el: Minor cleanups.
10281 (timeclock-ask-before-exiting, timeclock-use-display-time):
10283 (timeclock-modeline-display): Define as alias before the
10285 (timeclock-mode-line-display): Use define-minor-mode.
10286 (timeclock-day-list-template): Make it a function, add an argument.
10287 (timeclock-day-list-required, timeclock-day-list-length)
10288 (timeclock-day-list-debt, timeclock-day-list-span)
10289 (timeclock-day-list-break): Adjust calls accordingly.
10291 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10293 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10294 Use read--expression so that completion works again.
10296 2013-08-21 Sam Steingold <sds@gnu.org>
10298 Add rudimentary inferior shell interaction
10299 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10300 (sh-set-shell): Reset it.
10301 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10302 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10304 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * align.el: Use lexical-binding.
10307 (align-region): Simplify accordingly.
10309 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10311 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10313 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10314 `non-essential' up.
10316 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10319 * net/tramp-adb.el:
10320 * net/tramp-cmds.el:
10321 * net/tramp-ftp.el:
10322 * net/tramp-gvfs.el:
10324 * net/tramp-sh.el: Don't wrap external variable declarations by
10325 `eval-when-compile'.
10327 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10329 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10330 now that Emacs supports ImageMagick animations.
10332 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10334 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10335 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10337 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10339 * window.el (mouse-autoselect-window-select): Do autoselect when
10340 mouse pointer is on margin.
10342 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10344 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10346 2013-08-16 Glenn Morris <rgm@gnu.org>
10348 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10349 Handle "Remote Directory" response of some clients. (Bug#15058)
10351 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10352 Tweak warning. (Bug#14926)
10354 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10355 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10357 * image-mode.el (image-mode-map): Add menu items to reverse,
10358 increase, decrease, reset animation speed.
10359 (image--set-speed, image-increase-speed, image-decrease-speed)
10360 (image-reverse-speed, image-reset-speed): New functions.
10361 (image-mode-map): Add bindings for speed commands.
10363 * image.el (image-animate-get-speed, image-animate-set-speed):
10365 (image-animate-timeout): Respect image :speed property.
10367 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10370 previous line (bug#15101).
10371 (debugger-eval-expression, debugger-record-expression):
10372 Use read--expression (bug#15102).
10374 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10376 Remove byte compiler warnings, visible when compiling with
10377 `byte-compile-force-lexical-warnings' set to t.
10379 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10380 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10381 (tramp-handle-unhandled-file-name-directory)
10382 (tramp-handle-file-notify-add-watch, tramp-action-login)
10383 (tramp-action-succeed, tramp-action-permission-denied)
10384 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10385 arguments with "_".
10387 * net/tramp-adb.el (tramp-adb-parse-device-names)
10388 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10389 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10390 (tramp-adb-handle-file-truename): Remove unused arguments.
10392 * net/tramp-cache.el (tramp-flush-directory-property)
10393 (tramp-flush-connection-property, tramp-list-connections)
10394 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10396 * net/tramp-compat.el (tramp-compat-make-temp-file):
10397 Rename FILENAME to F.
10399 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10400 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10401 (tramp-zeroconf-parse-workstation-device-names)
10402 (tramp-zeroconf-parse-webdav-device-names)
10403 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10405 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10406 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10408 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10410 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10411 (tramp-sh-handle-insert-file-contents-literally)
10412 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10414 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10415 Remove unused variables.
10417 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10418 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10419 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10421 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10422 Make them a defconst.
10423 (tramp-uuencode-region): Remove unused variable.
10425 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10427 * frameset.el (frameset--prop-setter): New function.
10428 (frameset-prop): Add gv-setter declaration.
10429 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10430 parameter was already set in FILTERED. Doc fix.
10431 (frameset--record-minibuffer-relationships): Allow saving a
10432 minibufferless frame without its corresponding minibuffer frame.
10433 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10434 frame, if the frame id matches.
10435 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10436 frames before orphaned ones.
10437 (frameset-restore): Warn about orphaned windows, instead of error out.
10439 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10441 * window.el (window-make-atom): Don't overwrite parameter
10443 (display-buffer-in-atom-window): Handle special case where we
10444 split an already atomic window.
10445 (window--major-non-side-window, display-buffer-in-side-window)
10446 (window--side-check): Ignore minibuffer window when walking
10448 (window-deletable-p): Return 'frame only if no other frame uses
10449 our minibuffer window.
10450 (record-window-buffer): Run buffer-list-update-hook.
10451 (split-window): Make sure window--check-frame won't destroy an
10452 existing atomic window in case the new window gets nested
10454 (display-buffer-at-bottom): Ignore minibuffer window when
10455 walking window tree. Don't split a side window.
10456 (pop-to-buffer): Don't set-buffer here, the select-window call
10458 (mouse-autoselect-window-select): Autoselect only if we are in the
10459 text portion of the window.
10461 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10463 * net/shr.el (shr-parse-image-data): New function to grab both the
10464 data itself and the Content-Type.
10465 (shr-put-image): Use it.
10467 * net/eww.el (eww-display-image): Ditto.
10469 * image.el (image-content-type-suffixes): New variable.
10471 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10473 * progmodes/python.el (python-imenu--build-tree)
10474 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10476 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10478 * simple.el (backward-word): Mention the optional argument.
10480 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * frameset.el (frameset--make): Rename constructor from make-frameset.
10483 (frameset-p, frameset-valid-p): Don't autoload.
10484 (frameset-valid-p): Use normal accessors.
10486 2013-08-13 Glenn Morris <rgm@gnu.org>
10488 * progmodes/compile.el (compile-command): Tweak example in doc.
10489 * obsolete/scribe.el (scribe-mode):
10490 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10492 * mail/feedmail.el (feedmail-confirm-outgoing)
10493 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10495 * cus-start.el (truncate-partial-width-windows): Fix type.
10497 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10499 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10501 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10503 * emacs-lisp/timer.el (timer--time-setter): New function.
10504 (timer--time): Use it as gv-setter.
10506 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10507 setter is not a symbol.
10509 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10511 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10512 if sending fails. This makes debugging easier.
10514 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10516 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10517 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10518 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10520 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10522 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10524 2013-08-12 Glenn Morris <rgm@gnu.org>
10526 * format.el (format-annotate-function):
10527 Handle read-only text properties in the source. (Bug#14887)
10529 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10531 * net/eww.el (eww-display-html): Ignore coding system errors.
10532 One web site uses "utf-8lias" as the coding system.
10534 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10536 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10538 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10540 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10541 (tutorial--detailed-help): Remove unused local variables.
10542 (tutorial--save-tutorial-to): Use ignore-errors.
10543 (help-with-tutorial): Use looking-at-p.
10545 * view.el (view-buffer-other-window, view-buffer-other-frame):
10546 Mark unused arguments.
10548 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10549 (woman-select-symbol-fonts, woman, woman-find-file)
10550 (woman-insert-file-contents, woman-non-underline-faces):
10551 Use string-match-p.
10552 (woman1-unquote): Move declaration.
10554 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10555 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10556 argument. Remove unused local variable.
10557 (xml-parse-elem-type): Use string-match-p.
10558 (xml-substitute-numeric-entities): Use ignore-errors.
10560 * calculator.el (calculator): Mark unused argument.
10561 (calculator-paste, calculator-quit, calculator-integer-p):
10563 (calculator-string-to-number, calculator-decimal, calculator-exp)
10564 (calculator-op-or-exp): Use string-match-p.
10566 * dired.el (dired-buffer-more-recently-used-p): Declare.
10567 (dired-insert-set-properties, dired-insert-old-subdirs):
10570 * dired-aux.el (dired-compress): Use ignore-errors.
10571 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10572 (dired-do-async-shell-command, dired-do-shell-command)
10573 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10574 (dired-insert-subdir-validate): Use string-match-p.
10575 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10576 (dired-add-entry): Use string-match-p, looking-at-p.
10577 (dired-insert-subdir-newpos): Remove unused local variable.
10579 * filenotify.el (file-notify-callback): Remove unused local variable.
10581 * filesets.el (filesets-error): Mark unused argument.
10582 (filesets-which-command-p, filesets-filter-dir-names)
10583 (filesets-directory-files, filesets-get-external-viewer)
10584 (filesets-ingroup-get-data): Use string-match-p.
10586 * find-file.el (ff-other-file-name, ff-other-file-name)
10587 (ff-find-the-other-file, ff-cc-hh-converter):
10588 Remove unused local variables.
10589 (ff-get-file-name): Use string-match-p.
10590 (ff-all-dirs-under): Use ignore-errors.
10592 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10593 (follow-select-if-visible): Remove unused local variable.
10595 * forms.el (read-file-filter): Move declaration.
10596 (forms--make-format, forms--make-parser, forms-insert-record):
10597 Quote function with #'.
10598 (forms--update): Use string-match-p. Quote function with #'.
10600 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10601 (help-make-xrefs): Use looking-at-p.
10602 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10604 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10605 (ibuffer-confirm-operation-on): Use string-match-p.
10607 * msb.el (msb-item-handler, msb-dired-item-handler):
10608 Mark unused arguments.
10610 * ses.el (ses-decode-cell-symbol)
10611 (ses-kill-override): Remove unused local variable.
10612 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10613 (ses-load): Use ignore-errors, looking-at-p.
10614 (ses-jump-safe): Use ignore-errors.
10615 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10617 * tabify.el (untabify, tabify): Mark unused arguments.
10619 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10620 Mark unused argument.
10621 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10622 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10624 * emacs-lisp/timer.el (timer--time): Define setter with
10625 gv-define-setter to avoid deprecation warning.
10627 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10628 (*record-cmpl-statistics-p*): Remove (was commented out).
10629 (cmpl-statistics-block): Remove (body was commented out).
10630 All callers changed.
10631 (add-completions-from-buffer, load-completions-from-file):
10632 Remove unused variables.
10634 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10636 * filecache.el (file-cache-delete-file-list):
10637 Print message only when told so.
10638 (file-cache-files-matching): Use #' in mapconcat argument.
10640 * ffap.el (ffap-url-at-point): Fix reference to variable
10641 thing-at-point-default-mail-uri-scheme.
10643 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * subr.el (define-error): New function.
10646 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10647 error-file-not-found and define with define-error.
10648 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10649 and define with define-error.
10650 * userlock.el (file-locked, file-supersession):
10651 * simple.el (mark-inactive):
10652 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10653 * progmodes/ada-mode.el (ada-mode-errors):
10654 * play/life.el (life-extinct):
10655 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10656 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10657 * nxml/rng-util.el (rng-error):
10658 * nxml/rng-uri.el (rng-uri-error):
10659 * nxml/rng-match.el (rng-compile-error):
10660 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10661 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10662 * nxml/nxml-rap.el (nxml-scan-error):
10663 * nxml/nxml-outln.el (nxml-outline-error):
10664 * net/soap-client.el (soap-error):
10665 * net/gnutls.el (gnutls-error):
10666 * net/ange-ftp.el (ftp-error):
10667 * mpc.el (mpc-proc-error):
10668 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10669 (json-number-format, json-string-escape, json-string-format)
10670 (json-key-format, json-object-format):
10671 * jka-compr.el (compression-error):
10672 * international/quail.el (quail-error):
10673 * international/kkc.el (kkc-error):
10674 * emacs-lisp/ert.el (ert-test-failed):
10675 * calc/calc.el (calc-error, inexact-result, math-overflow)
10677 * bookmark.el (bookmark-error-no-filename):
10678 * epg.el (epg-error): Define with define-error.
10680 * time.el (display-time-event-handler)
10681 (display-time-next-load-average): Don't call sit-for since it seems
10682 unnecessary (bug#15045).
10684 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10685 Use #' instead of ' to quote functions.
10686 (checkdoc-output-mode): Use setq-local.
10687 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10688 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10689 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10690 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10691 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10692 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10693 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10694 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10696 * ido.el (ido-completion-help): Fix up compiler warning.
10698 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10700 * frameset.el (frameset-p): Add autoload cookie.
10701 (frameset--jump-to-register): New function, based on code moved from
10703 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10705 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10706 (frameset-restore, frameset-save, frameset-session-filter-alist):
10707 Remove declarations.
10708 (register-alist): Doc fix.
10709 (frameset-to-register): Move to frameset.el.
10710 (jump-to-register, describe-register-1): Remove frameset-specific code.
10712 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10714 * allout-widgets.el (allout-widgets-pre-command-business)
10715 (allout-widgets-post-command-business)
10716 (allout-widgets-after-change-handler)
10717 (allout-decorate-item-and-context, allout-set-boundary-marker)
10718 (allout-body-modification-handler)
10719 (allout-graphics-modification-handler): Mark ignored arguments.
10720 (allout-widgets-post-command-business)
10721 (allout-widgets-exposure-change-processor)
10722 (allout-widgets-exposure-undo-processor)
10723 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10724 (allout-parse-item-at-point, allout-decorate-item-guides)
10725 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10726 * allout.el (epa-passphrase-callback-function): Declare.
10727 (allout-overlay-insert-in-front-handler)
10728 (allout-overlay-interior-modification-handler)
10729 (allout-isearch-end-handler, allout-chart-siblings)
10730 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10731 (allout-yank-processing, allout-process-exposed)
10732 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10733 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10734 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10735 (lisp-indent-defform): Mark ignored arguments.
10736 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10737 (calculate-lisp-indent): Remove unused variables.
10738 * international/characters.el (indian-2-column, arabic-2-column)
10739 (tibetan): Mark ignored arguments.
10740 (use-cjk-char-width-table): Mark ignored arguments.
10741 Remove unused variables.
10742 * international/fontset.el (build-default-fontset-data)
10743 (x-compose-font-name, create-fontset-from-fontset-spec):
10744 Mark ignored arguments.
10745 (fontset-plain-name): Remove unused variables.
10746 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10747 (keyboard-coding-system): Mark ignored arguments.
10748 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10749 * help.el (resize-temp-buffer-window):
10750 * window.el (display-buffer-in-major-side-window)
10751 (display-buffer-in-side-window, display-buffer-in-previous-window):
10752 Remove unused variables.
10753 * isearch.el (isearch-forward-symbol):
10754 * version.el (emacs-bzr-version-bzr):
10755 * international/mule-cmds.el (current-language-environment):
10756 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10757 (x-handle-display):
10758 * term/pc-win.el (x-list-fonts, x-display-planes)
10759 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10760 (x-server-version, x-display-screens, x-display-mm-height)
10761 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10762 (x-selection-owner-p, x-own-selection-internal)
10763 (x-disown-selection-internal, x-get-selection-internal)
10764 (msdos-initialize-window-system):
10765 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10766 * term/x-win.el (x-handle-no-bitmap-icon):
10767 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10768 (vc-default-find-file-hook, vc-default-extra-menu):
10769 Mark ignored arguments.
10771 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10773 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10774 break-condition in the context of the debugged code (bug#12685).
10776 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10779 Do not use an overlay to highlight the last prompt. (Bug#14744)
10780 (comint-mode): Make comint-last-prompt buffer local.
10781 (comint-last-prompt): New variable.
10782 (comint-last-prompt-overlay): Remove. Superseded by
10783 comint-last-prompt.
10784 (comint-snapshot-last-prompt, comint-output-filter):
10785 Use comint-last-prompt.
10787 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10789 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10790 (frameset-save): Check validity of the resulting frameset.
10792 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10794 * ido.el (ido-record-command): Add doc string.
10796 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10798 * frameset.el (frameset): Do not disable creation of the default
10799 frameset-p predicate. Doc fix.
10800 (frameset-valid-p): New function, copied from the old predicate-p.
10801 Add additional checks.
10802 (frameset-restore): Check with frameset-valid-p.
10803 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10804 (frameset-name, frameset-description, frameset-properties)
10805 (frameset-states): Add docstring.
10806 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10807 (frameset-filter-alist): Doc fixes.
10809 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10811 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10813 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10816 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10817 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10818 (byte-compile-normal-call): Remove obsolescence check.
10820 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10822 * frameset.el (frameset-restore): Doc fix.
10824 * register.el (frameset-frame-id, frameset-frame-with-id)
10825 (frameset-p, frameset-restore, frameset-save): Declare.
10826 (register-alist): Document framesets.
10827 (frameset-session-filter-alist): Declare.
10828 (frameset-to-register): New function.
10829 (jump-to-register): Implement jumping to framesets. Doc fix.
10830 (describe-register-1): Describe framesets.
10832 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10834 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10836 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10837 Use lexical-binding.
10839 * frameset.el (frameset): Use type vector, not list (incompatible
10840 change). Do not declare a new constructor, use the default one.
10841 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10842 `name' and `description', respectively, and add read-only slot
10843 `timestamp'. Doc fixes.
10844 (frameset-copy, frameset-persistent-filter-alist)
10845 (frameset-filter-alist, frameset-switch-to-gui-p)
10846 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10847 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10848 (frameset-filter-iconified, frameset-keep-original-display-p):
10850 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10851 Rename from frameset-filter-(save|restore)-param. All callers changed.
10853 (frameset-p): Adapt to change to vector and be more thorough.
10854 Change arg name to OBJECT. Doc fix.
10855 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10856 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10857 All callers changed.
10858 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10859 All callers changed.
10860 (frameset--record-minibuffer-relationships): Rename from
10861 frameset--process-minibuffer-frames. All callers changed.
10862 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10863 Use new default constructor (again). Doc fix.
10864 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10865 All callers changed.
10866 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10867 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10869 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10870 PARAMETERS and WINDOW-STATE, respectively.
10871 (frameset-restore): Add new keyword argument PREDICATE.
10872 Reset frameset--target-display to nil. Doc fix.
10874 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10876 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10877 (bat-mode): Use it.
10878 (bat-mode-syntax-table): Mark \n as end-of-comment.
10879 (bat-font-lock-keywords): Remove comment rule.
10881 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10882 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10884 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10885 (byte-compile-callargs-warn): Use `push'.
10886 (byte-compile-arglist-warn): Ignore higher-order "calls".
10887 (byte-compile-file-form-autoload): Use `pcase'.
10888 (byte-compile-function-form): If quoting a symbol, check that it exists.
10890 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10892 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10893 and add a few popular commands found in batch files.
10894 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10895 (dos-mode): Doc fixes.
10897 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10900 (dos-mode): Use setq-local. Add space after "rem".
10901 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10902 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10904 2013-08-07 Arni Magnusson <arnima@hafro.is>
10906 * progmodes/dos.el: New file.
10907 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10910 2013-08-06 Glenn Morris <rgm@gnu.org>
10912 * calendar/calendar.el: Add new faces, and day-header-array.
10913 (calendar-weekday-header, calendar-weekend-header)
10914 (calendar-month-header): New faces.
10915 (calendar-day-header-construct): New function.
10916 (calendar-day-header-width): Also :set calendar-day-header-array.
10917 (calendar-american-month-header, calendar-european-month-header)
10918 (calendar-iso-month-header): Use calendar- faces.
10919 (calendar-generate-month):
10920 Use calendar-day-header-array for day headers; apply faces to them.
10921 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10922 (calendar-abbrev-construct): Add optional maxlen argument.
10923 (calendar-day-name-array): Doc fix.
10924 (calendar-day-name-array, calendar-abbrev-length)
10925 (calendar-day-abbrev-array):
10926 Also :set calendar-day-header-array, and maybe redraw.
10927 (calendar-day-header-array): New option. (Bug#15007)
10928 (calendar-font-lock-keywords): Set to nil and make obsolete.
10929 (calendar-day-name): Add option to use header array.
10931 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10933 * net/shr.el (shr-render-td): Remove debugging.
10934 (shr-render-td): Make width computation consistent by defaulting
10935 all zero-width columns to 10 characters. This may not be optimal,
10936 but it's at least consistent.
10937 (shr-make-table-1): Redo last change to fix the real problem in
10940 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10942 * files.el (cache-long-line-scans):
10943 Make obsolete alias to `cache-long-scans'.
10945 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10947 * frameset.el (frameset, frameset-filter-alist)
10948 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10949 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10950 (frameset-compute-pos): Rename from frameset--compute-pos,
10952 (frameset-move-onscreen): Use frameset-compute-pos.
10953 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10955 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10956 Fix typos in docstrings.
10958 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10960 * frame.el (get-other-frame): Tiny cleanup.
10962 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10964 * vc/vc.el (vc-default-ignore-completion-table):
10965 Silence byte-compiler warning.
10967 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10968 slot, which can indeed be nil.
10969 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10970 Move entry for `left' from persistent to live filter alist.
10971 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10973 (frameset-filter-params): When restoring a frame, copy items added to
10974 `filtered', to avoid unwittingly modifying the original parameters.
10975 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10976 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10978 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10979 to use looking-at-p instead of looking-at. (Bug#15028)
10981 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10983 Revert introduction of isearch-filter-predicates (bug#14714).
10984 Rely on add-function instead.
10985 * isearch.el (isearch-filter-predicates): Rename it back to
10986 isearch-filter-predicate.
10987 (isearch-message-prefix): Use advice-function-mapc and advice
10988 properties to get the isearch-message-prefix.
10989 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10990 instead of run-hook-with-args-until-failure.
10991 (isearch-filter-visible): Not obsolete any more.
10992 * loadup.el: Preload nadvice.
10993 * replace.el (perform-replace): Revert to funcall
10994 instead of run-hook-with-args-until-failure.
10995 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10996 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10997 dired-isearch-filenames-toggle; make it into a proper minor mode.
10998 Use add/remove-function.
10999 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11000 Call the minor-mode rather than add/remove-hook.
11001 (dired-isearch-filter-filenames):
11002 Remove isearch-message-prefix property.
11003 * info.el (Info--search-loop): New function, extracted from Info-search.
11004 Funcall isearch-filter-predicate instead of
11005 run-hook-with-args-until-failure isearch-filter-predicates.
11006 (Info-search): Use it.
11007 (Info-mode): Use isearch-filter-predicate instead of
11008 isearch-filter-predicates.
11010 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11012 Do not call to `selected-window' where it is assumed by default.
11013 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11014 `window-hscroll', `window-width', `window-height', `window-buffer',
11015 `window-frame', `window-start', `window-point', `next-window'
11016 and `window-display-table'.
11017 * abbrev.el (abbrev--default-expand):
11018 * bs.el (bs--show-with-configuration):
11019 * buff-menu.el (Buffer-menu-mouse-select):
11020 * calc/calc.el (calc):
11021 * calendar/calendar.el (calendar-generate-window):
11022 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11023 (diary-make-entry):
11024 * comint.el (send-invisible, comint-dynamic-complete-filename)
11025 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11026 * completion.el (complete):
11027 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11028 * disp-table.el (describe-current-display-table):
11029 * doc-view.el (doc-view-insert-image):
11030 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11031 * ehelp.el (with-electric-help):
11032 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11033 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11034 * emacs-lisp/helper.el (Helper-help-scroller):
11035 * emulation/cua-base.el (cua--post-command-handler-1):
11036 * eshell/esh-mode.el (eshell-output-filter):
11037 * ffap.el (ffap-gnus-wrapper):
11038 * help-macro.el (make-help-screen):
11039 * hilit-chg.el (highlight-compare-buffers):
11040 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11041 * hl-line.el (global-hl-line-highlight):
11042 * icomplete.el (icomplete-simple-completing-p):
11043 * isearch.el (isearch-done):
11044 * jit-lock.el (jit-lock-stealth-fontify):
11045 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11046 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11047 * mpc.el (mpc-tagbrowser, mpc):
11048 * net/rcirc.el (rcirc-any-buffer):
11049 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11050 * play/landmark.el (landmark-max-width, landmark-max-height):
11051 * play/zone.el (zone):
11052 * progmodes/compile.el (compilation-goto-locus):
11053 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11054 * progmodes/etags.el (find-tag-other-window):
11055 * progmodes/fortran.el (fortran-column-ruler):
11056 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11057 * progmodes/verilog-mode.el (verilog-point-text):
11058 * reposition.el (reposition-window):
11059 * rot13.el (toggle-rot13-mode):
11060 * server.el (server-switch-buffer):
11061 * shell.el (shell-dynamic-complete-command)
11062 (shell-dynamic-complete-environment-variable):
11063 * simple.el (insert-buffer, set-selective-display)
11064 (delete-completion-window):
11065 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11066 (speedbar-recenter):
11067 * startup.el (fancy-splash-head):
11068 * textmodes/ispell.el (ispell-command-loop):
11069 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11070 * tutorial.el (help-with-tutorial):
11071 * vc/add-log.el (add-change-log-entry):
11072 * vc/compare-w.el (compare-windows):
11073 * vc/ediff-help.el (ediff-indent-help-message):
11074 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11075 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11076 (ediff-setup-control-frame):
11077 * vc/emerge.el (emerge-position-region):
11078 * vc/pcvs-util.el (cvs-bury-buffer):
11079 * window.el (walk-windows, mouse-autoselect-window-select):
11080 * winner.el (winner-set-conf, winner-undo): Related users changed.
11082 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11084 * frameset.el (frameset--set-id): Doc fix.
11085 (frameset-frame-id, frameset-frame-id-equal-p)
11086 (frameset-locate-frame-id): New functions.
11087 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11088 (frameset-restore): Use them.
11090 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11092 Do not call to `selected-frame' where it is assumed by default.
11093 Affected functions are `raise-frame', `redraw-frame',
11094 `frame-first-window', `frame-terminal' and `delete-frame'.
11095 * calendar/appt.el (appt-disp-window):
11096 * epg.el (epg-wait-for-completion):
11097 * follow.el (follow-delete-other-windows-and-split)
11098 (follow-avoid-tail-recenter):
11099 * international/mule.el (set-terminal-coding-system):
11100 * mail/rmail.el (rmail-mail-return):
11101 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11102 * progmodes/f90.el (f90-add-imenu-menu):
11103 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11104 * server.el (server-switch-buffer):
11105 * simple.el (delete-completion-window):
11107 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11108 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11109 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11110 * vc/ediff.el (ediff-documentation): Related users changed.
11111 * frame.el (selected-terminal): Remove the leftover.
11113 2013-08-05 Glenn Morris <rgm@gnu.org>
11115 * calendar/calendar.el (calendar-generate-month):
11116 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11117 (calendar-generate-month, calendar-font-lock-keywords):
11118 Fix for calendar-day-header-width > length of any day name.
11120 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11122 * desktop.el (desktop-clear): Use new name of sort predicate.
11124 * frameset.el (frameset): Add docstring. Move :version property to its
11125 own `version' slot.
11126 (frameset-copy): Rename from copy-frameset.
11127 (frameset-p): Check more thoroughly.
11128 (frameset-prop): Do not check for :version, which is no longer a prop.
11129 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11130 Use new :never value instead of t.
11131 (frameset-filter-alist): Expand and clarify docstring.
11132 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11133 (frameset-filter-minibuffer, frameset-filter-save-param)
11134 (frameset-filter-restore-param, frameset-filter-iconified):
11135 Add pointer to docstring of frameset-filter-alist.
11136 (frameset-filter-params): Rename filter values to be more meaningful:
11137 :never instead of t, and reverse the meanings of :save and :restore.
11138 (frameset--process-minibuffer-frames): Clarify error message.
11139 (frameset-save): Avoid unnecessary and confusing call to framep.
11140 Use new BOA constructor for framesets.
11141 (frameset--reuse-list): Doc fix.
11142 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11143 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11144 (frameset-minibufferless-first-p): Doc fix.
11145 Rename from frameset-sort-frames-for-deletion.
11146 (frameset-restore): Doc fixes. Use new function names.
11147 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11149 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11151 * desktop.el (desktop-restore-forces-onscreen)
11152 (desktop-restore-reuses-frames): Document :keyword constant values.
11153 (desktop-filter-parameters-alist): Remove, now identical to
11154 frameset-filter-alist.
11155 (desktop--filter-tty*): Remove, moved to frameset.el.
11156 (desktop-save-frameset, desktop-restore-frameset):
11157 Do not pass :filters argument.
11159 * frameset.el (frameset-live-filter-alist)
11160 (frameset-persistent-filter-alist): New variables.
11161 (frameset-filter-alist): Use them. Add autoload cookie.
11162 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11163 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11164 `frameset--id' (it's supposed to be internal to frameset.el).
11165 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11166 (frameset--initial-params): New function.
11167 (frameset--get-frame): Use it. Doc fix.
11168 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11169 Accept :all, not 'all.
11170 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11171 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11172 with fbound symbols. Fix frame id matching, and remove matching ids if
11173 the frame being restored is deleted. Obey :delete.
11175 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11177 * subr.el (macrop): New function.
11178 (text-clone--maintaining): New var.
11179 (text-clone--maintain): Rename from text-clone-maintain. Use it
11180 instead of inhibit-modification-hooks.
11182 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11183 a proxy, so as handle autoloads and redefinitions of the target.
11184 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11186 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11187 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11188 (pcase--mutually-exclusive-p): New function.
11189 (pcase--split-consp): Use it.
11190 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11191 mutually exclusive with the current predicate.
11193 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11194 (edebug-macrop): Remove. Use `macrop' instead.
11195 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11197 * eshell/esh-cmd.el (eshell-macrop):
11198 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11200 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11202 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11203 (advice-mapc): New function, using it.
11204 (advice-function-member-p): New function.
11205 (advice--normalize): Store the cdr in advice--saved-rewrite since
11206 that's the part that will be changed.
11207 (advice--symbol-function): New function.
11208 (advice-remove): Handle removal before the function is defined.
11209 Adjust to new advice--saved-rewrite.
11210 (advice-member-p): Use advice-function-member-p and
11211 advice--symbol-function.
11213 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11215 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11216 (frameset-filter-minibuffer): Doc fix.
11217 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11218 (frameset--set-id, frameset--process-minibuffer-frames)
11219 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11220 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11222 * desktop.el (desktop-clear): Only delete frames when called
11223 interactively and desktop-restore-frames is non-nil. Doc fix.
11224 (desktop-read): Set desktop-saved-frameset to nil.
11226 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11228 * vc/vc.el (vc-ignore): Rewrite.
11229 (vc-default-ignore-completion-table, vc--read-lines)
11230 (vc--add-line, vc--remove-regexp): New functions.
11232 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11233 (vc-svn-ignore-completion-table): New function.
11235 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11236 (vc-hg-ignore-completion-table)
11237 (vc-hg-find-ignore-file): New functions.
11239 * vc/vc-git.el (vc-git-ignore): Rewrite.
11240 (vc-git-ignore-completion-table)
11241 (vc-git-find-ignore-file): New functions.
11243 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11245 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11246 (vc-bzr-ignore-completion-table)
11247 (vc-bzr-find-ignore-file): New functions.
11249 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11251 * frameset.el (frameset-prop): New function and setter.
11252 (frameset-save): Do not modify frame list passed by the caller.
11254 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11258 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11260 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11261 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11263 * custom.el (custom-initialize-default, custom-initialize-set)
11264 (custom-initialize-reset, custom-initialize-changed): Affect the
11265 toplevel-default-value (bug#6275, bug#14586).
11266 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11269 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11271 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11272 Add cl-def* expressions.
11274 * frameset.el (frameset-filter-params): Fix order of arguments.
11276 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11278 Move code related to saving frames to frameset.el.
11279 * desktop.el: Require frameset.
11280 (desktop-restore-frames): Doc fix.
11281 (desktop-restore-reuses-frames): Rename from
11282 desktop-restoring-reuses-frames.
11283 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11284 (desktop-clear): Clear frames too.
11285 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11286 (desktop--filter-tty*, desktop-save, desktop-read):
11287 Use frameset functions.
11288 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11289 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11290 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11291 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11292 (desktop--process-minibuffer-frames, desktop-save-frames)
11293 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11294 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11295 (desktop--sort-states, desktop-restoring-frames-p)
11296 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11297 (desktop-restoring-frameset-p, desktop-restore-frameset)
11298 (desktop--check-dont-save, desktop-save-frameset): New functions.
11299 (desktop--app-id): New constant.
11300 (desktop-first-buffer, desktop-buffer-ok-count)
11301 (desktop-buffer-fail-count): Move before first use.
11302 * frameset.el: New file.
11304 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11306 * files.el: Use lexical-binding.
11307 (dir-locals-read-from-file): Remove unused `err' variable.
11308 (hack-dir-local-variables--warned-coding): New var.
11309 (hack-dir-local-variables): Use it to avoid repeated warnings.
11310 (make-backup-file-name--default-function): New function.
11311 (make-backup-file-name-function): Use it as default.
11312 (buffer-stale--default-function): New function.
11313 (buffer-stale-function): Use it as default.
11314 (revert-buffer-insert-file-contents--default-function): New function.
11315 (revert-buffer-insert-file-contents-function): Use it as default.
11316 (insert-directory): Avoid add-to-list.
11318 * autorevert.el (auto-revert-handler): Simplify.
11319 Use buffer-stale--default-function.
11321 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11323 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11325 * whitespace.el (whitespace-ensure-local-variables): New function.
11326 (whitespace-cleanup-region): Call it.
11327 (whitespace-turn-on): Call it.
11329 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11331 Complete file name handlers.
11333 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11334 (tramp-handle-verify-visited-file-modtime)
11335 (tramp-handle-file-notify-rm-watch): New functions.
11336 (tramp-call-process): Do not bind `default-directory'.
11338 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11339 Order alphabetically.
11340 <access-file, add-name-to-file, dired-call-process>:
11341 <dired-compress-file, file-acl, file-notify-rm-watch>:
11342 <file-ownership-preserved-p, file-selinux-context>:
11343 <make-directory-internal, make-symbolic-link, set-file-acl>:
11344 <set-file-selinux-context, set-visited-file-modtime>:
11345 <verify-visited-file-modtime>: Add handler.
11346 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11348 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11349 <file-notify-add-watch, file-notify-rm-watch>:
11350 <set-file-times, set-visited-file-modtime>:
11351 <verify-visited-file-modtime>: Add handler.
11352 (with-tramp-gvfs-error-message)
11353 (tramp-gvfs-handle-set-visited-file-modtime)
11354 (tramp-gvfs-fuse-file-name): Remove.
11355 (tramp-gvfs-handle-file-notify-add-watch)
11356 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11357 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11359 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11360 Order alphabetically.
11361 <file-notify-rm-watch>: Use default Tramp handler.
11362 <executable-find>: Remove private handler.
11363 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11364 `default-directory'.
11365 (tramp-sh-handle-executable-find)
11366 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11367 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11368 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11369 Do not use `format' in `tramp-message'.
11371 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11372 <file-notify-rm-watch, set-visited-file-modtime>:
11373 <verify-visited-file-modtime>: Add handler.
11374 (tramp-smb-call-winexe): Do not bind `default-directory'.
11376 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11378 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11380 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11382 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11384 (log-view-diff-changeset): Same.
11385 (log-view-diff-common): Call backend command `previous-revision'
11386 to find out the previous revision, in both cases. Swap the
11387 variables `to' and `fr', so that `fr' usually refers to the
11388 earlier revision (Bug#14989).
11390 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11392 * ibuf-ext.el (ibuffer-filter-by-filename):
11393 Make it work with dired buffers too.
11395 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11397 * emacs-lisp/re-builder.el (reb-color-display-p):
11398 * files.el (save-buffers-kill-terminal):
11399 * net/browse-url.el (browse-url):
11400 * server.el (server-save-buffers-kill-terminal):
11401 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11402 Prefer nil to selected-frame for the first arg of frame-parameter.
11404 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11406 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11408 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11410 * minibuffer.el (completion--twq-all): Try and preserve each
11411 completion's case choice (bug#14907).
11413 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11415 * net/network-stream.el (open-network-stream): Mention the new
11416 :nogreeting parameter.
11417 (network-stream-open-starttls): Use the :nogreeting parameter
11420 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11422 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11423 more natural than popping.
11425 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11426 (shr-urlify): Highlight under mouse.
11428 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11430 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11432 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11434 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11437 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11438 point-min==1. Fix search string. Fix parentheses missing.
11440 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11441 assume point-min==1. Fix search string. Fix parentheses missing.
11443 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11445 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11448 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11450 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11451 initial frame is minibuffer-less. (Bug#14841)
11453 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11455 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11458 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11459 (tramp-maybe-open-connection): Use it.
11461 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11463 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11464 minimal set of parameters passed when creating a frame, because
11465 the minibuffer status of a frame cannot be changed later.
11467 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11469 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11470 replace-regexp-in-string and inadvertent omissions in previous change.
11471 (todo-filter-items): Ensure only file names are comma-separated in
11472 name of filtered items buffer.
11474 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11476 * desktop.el: Optionally force offscreen frames back onscreen.
11477 (desktop-restoring-reuses-frames): New option.
11478 (desktop--compute-pos, desktop--move-onscreen): New functions.
11479 (desktop--make-frame): Use desktop--move-onscreen.
11481 2013-07-27 Alan Mackenzie <acm@muc.de>
11483 Fontify a Java generic method as a function.
11484 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11487 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11489 * calendar/todo-mode.el: Add command to rename todo files.
11490 (todo-rename-file): New command.
11491 (todo-key-bindings-t): Add key binding for it. Change the
11492 bindings of todo-filter-regexp-items(-multifile) to use `x'
11493 instead of `r', since the latter is better suited to the new
11496 2013-07-27 Alan Mackenzie <acm@muc.de>
11498 Make Java try-with-resources statement parse properly.
11499 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11500 (c-block-stmt-1-2-key): New language constants/variables.
11501 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11502 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11503 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11504 with c-block-stmt-1-2-key.
11506 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11508 * desktop.el (desktop--make-frame): Apply most frame parameters after
11509 creating the frame to force (partially or totally) offscreen frames to
11510 be restored as such.
11512 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11514 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11517 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11519 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11520 `base' arg of backtrace-frame.
11522 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11524 * simple.el (list-processes): Doc fix.
11526 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11528 * desktop.el (desktop--select-frame):
11529 Try harder to reuse existing frames.
11531 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11533 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11534 (edebug-eval): Use backtrace-eval.
11535 (edebug--display, edebug--recursive-edit): Don't let-bind the
11536 edebug-outer-* vars that keep track of variables we locally let-bind.
11537 (edebug-outside-excursion): Don't restore outside values of locally
11539 (edebug--display): Use user-error.
11540 (cl-lexical-debug, cl-debug-env): Remove.
11542 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11544 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11545 are restored to be sure that they are visible before deleting any
11548 2013-07-26 Matthias Meulien <orontee@gmail.com>
11550 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11551 vc-print-root-log. (Bug#14948)
11553 2013-07-26 Richard Stallman <rms@gnu.org>
11555 Add aliases for encrypting mail.
11556 * epa.el (epa-mail-aliases): New option.
11557 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11558 Bind inhibit-read-only so read-only text doesn't ruin everything.
11559 (epa-mail-default-recipients): New subroutine broken out.
11560 Handle epa-mail-aliases.
11562 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11564 Add support for lexical variables to the debugger's `e' command.
11565 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11566 vars, except for debugger-outer-match-data.
11567 (debugger-frame-number): Move check for "on a function call" from
11568 callers into it. Add `skip-base' argument.
11569 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11570 (debugger-env-macro): Only reset the state stored in non-variables,
11571 i.e. current-buffer and match-data.
11572 (debugger-eval-expression): Rewrite using backtrace-eval.
11573 * subr.el (internal--called-interactively-p--get-frame): Remove.
11574 (called-interactively-p):
11575 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11576 `base' arg of backtrace-frame instead.
11578 2013-07-26 Glenn Morris <rgm@gnu.org>
11580 * align.el (align-regexp): Doc fix. (Bug#14857)
11581 (align-region): Explicit error if subexpression missing/does not match.
11583 * simple.el (global-visual-line-mode):
11584 Do not duplicate the mode lighter. (Bug#14858)
11586 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11588 * window.el (display-buffer): In display-buffer bind
11589 split-window-keep-point to t, bug#14829.
11591 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11593 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11594 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11595 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11596 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11597 Change accordingly.
11598 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11599 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11601 2013-07-25 Glenn Morris <rgm@gnu.org>
11603 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11605 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11607 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11608 parameter to modify-frame-parameters if the value has not changed;
11609 this is a workaround for bug#14949.
11610 (desktop--make-frame): On cl-delete-if call, check parameter name,
11611 not full parameter.
11613 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11615 * vc/vc.el (vc-ignore): New function.
11617 * vc/vc-svn.el (vc-svn-ignore): New function.
11619 * vc/vc-hg.el (vc-hg-ignore): New function.
11621 * vc/vc-git.el (vc-git-ignore): New function.
11623 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11624 (vc-dir-ignore): New function.
11626 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11627 (cvs-append-to-ignore): Move here from pcvs.el.
11629 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11631 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11633 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11635 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11636 (desktop-restore-frames): Warn when deleting an existing frame failed.
11638 2013-07-24 Glenn Morris <rgm@gnu.org>
11640 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11642 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11644 * filenotify.el (file-notify-supported-p):
11645 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11648 * autorevert.el (auto-revert-use-notify)
11649 (auto-revert-notify-add-watch):
11650 * net/tramp.el (tramp-file-name-for-operation):
11651 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11652 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11653 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11654 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11655 Remove `file-notify-supported-p' entry.
11657 2013-07-24 Glenn Morris <rgm@gnu.org>
11659 * printing.el: Replace all uses of deleted ps-windows-system,
11660 ps-lp-system, ps-flatten-list with lpr- versions.
11662 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11664 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11665 checked with memq (bug#14935).
11667 * files.el (revert-buffer-function): Use a non-nil default.
11668 (revert-buffer-preserve-modes): Declare var to
11669 provide access to the `preserve-modes' argument.
11670 (revert-buffer): Let-bind it.
11671 (revert-buffer--default): New function, extracted from revert-buffer.
11673 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11675 * lpr.el: Signal print errors more prominently.
11676 (print-region-function): Don't default to nil.
11677 (lpr-print-region): New function, extracted from print-region-1.
11678 Check lpr's return value and signal an error in case of problem.
11679 (print-region-1): Use it.
11680 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11682 (ps-printer-name): Default to nil.
11683 (ps-printer-name-option): Default to lpr-printer-switch.
11684 (ps-print-region-function): Don't default to nil.
11685 (ps-postscript-code-directory): Simplify default.
11686 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11687 (ps-string-list, ps-eval-switch, ps-flatten-list)
11688 (ps-flatten-list-1): Remove.
11689 (ps-multibyte-buffer): Avoid setq.
11690 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11691 (print-region-function, ps-print-region-function): Don't set them here.
11693 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11695 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11696 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11697 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11698 (ido-decorations): Doc fix.
11700 * ansi-color.el: Fix old URL.
11702 2013-07-23 Michael R. Mauger <michael@mauger.com>
11704 * progmodes/sql.el: Version 3.3
11705 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11706 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11707 (sql-interactive-remove-continuation-prompt): Rewrite, use
11708 functions above. Fix continuation prompt and complete output line
11710 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11711 redirected output buffer.
11712 (sql-mode): Restore deleted code (Bug#13591).
11714 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11716 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11718 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11720 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11722 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11723 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11724 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11726 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11728 * desktop.el (desktop-clear): Simplify; remove useless checks
11729 against invalid buffer names.
11730 (desktop-list*): Use cl-list*.
11731 (desktop-buffer-info, desktop-create-buffer): Simplify.
11733 2013-07-23 Leo Liu <sdl.web@gmail.com>
11735 * bookmark.el (bookmark-make-record): Restore NAME as a default
11738 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11740 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11741 extracted from autoload--insert-text.
11742 (autoload--insert-text): Remove.
11743 (autoload--print-cookie-text): New function, extracted from
11744 autoload--insert-cookie-text.
11745 (autoload--insert-cookie-text): Remove.
11746 (autoload-generate-file-autoloads): Adjust calls accordingly.
11748 * winner.el (winner-hook-installed-p): Remove.
11749 (winner-mode): Simplify accordingly.
11751 * subr.el (add-to-list): Fix compiler-macro when `append' is
11752 not constant. Don't use `cl-member' for the base case.
11754 * progmodes/subword.el: Fix boundary case (bug#13758).
11755 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11757 (subword-backward-regexp): Make it a constant.
11758 (subword-forward-internal): Don't treat a trailing capital as the
11759 beginning of a word.
11761 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11763 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11764 global value of tabulated-list-revert-hook (bug#14930).
11766 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11768 * desktop.el: Require 'cl-lib.
11769 (desktop-before-saving-frames-functions): New hook.
11770 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11771 for frames being saved. Rename from desktop--save-minibuffer-frames.
11772 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11773 Do not save frames with non-nil `desktop-dont-save' parameter.
11774 Filter out deleted frames.
11775 (desktop--find-frame): Use cl-find-if.
11776 (desktop--select-frame): Use cl-(first|second|third) to access values
11778 (desktop--make-frame): Use cl-delete-if.
11779 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11780 (desktop-restore-frames): Use cl-(first|second|third) to access values
11781 of desktop-mini. Look for visible frame at the end, not while
11784 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11785 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11786 Use string-match-p, looking-at-p (bug#14927).
11788 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11790 * desktop.el (desktop-saved-frame-states):
11791 Rename from desktop--saved-states; all users changed.
11792 (desktop-save-frames): Rename from desktop--save-frames.
11793 Do not save state to desktop file.
11794 (desktop-save): Save desktop-saved-frame-states to desktop file
11796 (desktop-restoring-frames-p): New function.
11797 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11798 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11799 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11801 * desktop.el: Correctly restore iconified frames.
11802 (desktop--filter-iconified-position): New function.
11803 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11805 2013-07-20 Glenn Morris <rgm@gnu.org>
11807 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11808 Let `message' do the formatting.
11809 (def-gdb-preempt-display-buffer): Add explicit format.
11811 * image-dired.el (image-dired-track-original-file):
11812 Use with-current-buffer.
11813 (image-dired-track-thumbnail): Use with-current-buffer.
11814 Avoid changing point of wrong window.
11816 * image-dired.el (image-dired-track-original-file):
11817 Avoid changing point of wrong window. (Bug#14909)
11819 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11821 * progmodes/gdb-mi.el (gdb-done-or-error):
11822 Guard against "%" in gdb output. (Bug#14127)
11824 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11826 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11829 * international/mule.el (coding-system-iso-2022-flags): Fix last
11832 2013-07-20 Kenichi Handa <handa@gnu.org>
11834 * international/mule.el (coding-system-iso-2022-flags):
11835 Add `8-bit-level-4'. (Bug#8522)
11837 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11839 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11842 * net/eww.el (eww-process-text-input): Allow inputting when the
11843 point is at the start of the line, as the properties aren't
11846 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11849 2013-07-19 Richard Stallman <rms@gnu.org>
11851 * epa.el (epa-popup-info-window): Doc fix.
11853 * subr.el (split-string): New arg TRIM.
11855 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11857 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11858 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11860 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11862 * filenotify.el (file-notify--library): Rename from
11863 `file-notify-support'. Do not autoload. Adapt all uses.
11864 (file-notify-supported-p): New defun.
11866 * autorevert.el (auto-revert-use-notify):
11867 Use `file-notify-supported-p' instead of `file-notify-support'.
11869 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11871 * net/tramp.el (tramp-file-name-for-operation):
11872 Add `file-notify-supported-p'.
11874 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11876 (tramp-sh-file-name-handler-alist): Add it as handler for
11877 `file-notify-supported-p '.
11879 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11880 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11881 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11882 Add `ignore' as handler for `file-notify-*' functions.
11884 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11886 * simple.el (line-move-partial, line-move): Don't start vscroll or
11887 scroll-up if the current line is not taller than the window.
11890 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11892 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11893 highlight question marks in the method names as strings.
11894 (ruby-block-beg-keywords): Inline.
11895 (ruby-font-lock-keyword-beg-re): Extract from
11896 `ruby-font-lock-keywords'.
11898 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11900 * frame.el (blink-cursor-blinks): New defcustom.
11901 (blink-cursor-blinks-done): New defvar.
11902 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11903 (blink-cursor-timer-function): Check if number of blinks has been
11905 (blink-cursor-suspend, blink-cursor-check): New defuns.
11907 2013-07-15 Glenn Morris <rgm@gnu.org>
11909 * edmacro.el (edmacro-format-keys): Fix previous change.
11911 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11913 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11914 The hack didn't work outside English locales anyway.
11916 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11918 * simple.el (define-alternatives): Rename from alternatives-define,
11919 per RMS' suggestion.
11921 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11923 * desktop.el (desktop-restore-frames): Change default to t.
11924 (desktop-restore-in-current-display): Now offer more options.
11925 (desktop-restoring-reuses-frames): New customization option.
11926 (desktop--saved-states): Doc fix.
11927 (desktop-filter-parameters-alist): New variable, renamed and expanded
11928 from desktop--excluded-frame-parameters.
11929 (desktop--target-display): New variable.
11930 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11931 (desktop--filter-tty*, desktop--filter-*-color)
11932 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11933 (desktop--filter-save-desktop-parm)
11934 (desktop-restore-in-original-display-p): New functions.
11935 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11936 (desktop--save-minibuffer-frames): New function, inspired by a similar
11937 function from Martin Rudalics.
11938 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11939 (desktop--restore-in-this-display-p): Remove.
11940 (desktop--find-frame): Rename from desktop--find-frame-in-display
11941 and add predicate argument.
11942 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11943 (desktop--reuse-list): New variable.
11944 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11946 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11948 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11950 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11952 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11954 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11955 Highlight conversion methods on Kernel.
11957 2013-07-13 Alan Mackenzie <acm@muc.de>
11959 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11960 and comment it out. This out-commenting enables certain C++
11961 declarations to be parsed correctly.
11963 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11965 * international/mule.el (define-coding-system): Doc fix.
11967 * simple.el (default-font-height): Don't call font-info if the
11968 frame's default font didn't change since the frame was created.
11971 2013-07-13 Leo Liu <sdl.web@gmail.com>
11973 * ido.el (ido-read-file-name): Guard against non-symbol value.
11975 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11977 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11980 2013-07-13 Leo Liu <sdl.web@gmail.com>
11982 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11983 ido-set-matches call. (Bug#6852)
11985 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11987 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11988 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11990 (ruby-font-lock-keywords): Distinguish calls to functions with
11991 module-like names from module references. Highlight character
11994 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11996 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11997 (gdb-send): Handle continued commands. (Bug#14847)
11999 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12001 * desktop.el (desktop--v2s): Remove unused local variable.
12002 (desktop-save-buffer): Make defvar-local; adjust docstring.
12003 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12004 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12006 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12008 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12010 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12012 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12015 2013-07-12 Glenn Morris <rgm@gnu.org>
12017 * doc-view.el: Require cl-lib at runtime too.
12018 (doc-view-remove-if): Remove.
12019 (doc-view-search-next-match, doc-view-search-previous-match):
12022 * edmacro.el: Require cl-lib at runtime too.
12023 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12024 (edmacro-mismatch, edmacro-subseq): Remove.
12026 * shadowfile.el: Require cl-lib.
12027 (shadow-remove-if): Remove.
12028 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12031 * wid-edit.el: Require cl-lib.
12032 (widget-choose): Use cl-remove-if.
12033 (widget-remove-if): Remove.
12035 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12036 (ebrowse-delete-if-not): Remove.
12037 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12038 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12039 Use cl-delete-if-not.
12041 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12043 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12044 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12046 2013-07-12 Leo Liu <sdl.web@gmail.com>
12048 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12050 2013-07-11 Glenn Morris <rgm@gnu.org>
12052 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12053 (edebug-gensym-index, edebug-gensym):
12054 Remove reimplementation of cl-gensym.
12055 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12057 * thumbs.el: Require cl-lib at run-time too.
12058 (thumbs-gensym-counter, thumbs-gensym):
12059 Remove reimplementation of cl-gensym.
12060 (thumbs-temp-file): Use cl-gensym.
12062 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12063 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12064 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12065 (ert--union, ert--gensym-counter, ert--gensym-counter)
12066 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12067 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12068 (ert-make-test-unbound, ert--expand-should-1)
12069 (ert--expand-should, ert--should-error-handle-error)
12070 (should-error, ert--explain-equal-rec)
12071 (ert--plist-difference-explanation, ert-select-tests)
12072 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12073 Use cl-lib functions rather than reimplementations.
12075 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12077 * net/tramp.el (tramp-methods): Extend docstring.
12078 (tramp-connection-timeout): New defcustom.
12079 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12080 (with-tramp-progress-reporter): Simplify.
12081 (tramp-process-actions): Improve messages.
12083 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12084 * net/tramp-sh.el (tramp-maybe-open-connection):
12085 Use `tramp-connection-timeout'.
12086 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12089 2013-07-11 Leo Liu <sdl.web@gmail.com>
12091 * ido.el (ido-read-file-name): Conform to the requirements of
12092 read-file-name. (Bug#11861)
12093 (ido-read-directory-name): Conform to the requirements of
12094 read-directory-name.
12096 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12098 * subr.el (delay-warning): New function.
12100 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12102 * simple.el (default-line-height): New function.
12103 (line-move-partial, line-move): Use it instead of computing the
12104 line height inline.
12105 (line-move-partial): Always compute ROWH. If the last line is
12106 partially-visible, but its text is completely visible, allow
12107 cursor to enter such a partially-visible line.
12109 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12111 Improve error messages. (Bug#14808)
12113 * net/tramp.el (tramp-current-connection): New defvar, moved from
12115 (tramp-message-show-progress-reporter-message): Remove, not
12117 (tramp-error-with-buffer): Show message in minibuffer.
12118 Discard input before waiting. Reset connection timestamp.
12119 (with-tramp-progress-reporter): Improve messages.
12120 (tramp-process-actions): Use progress reporter. Delete process in
12121 case of error. Improve messages.
12123 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12124 Call `tramp-error-with-buffer' with vector and buffer.
12125 (tramp-current-connection): Remove.
12126 (tramp-maybe-open-connection): The car of
12127 `tramp-current-connection' are the first 3 slots of the vector.
12129 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12131 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12132 inside continued strings.
12134 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12136 Timestamp fixes for undo (Bug#14824).
12137 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12139 2013-07-10 Leo Liu <sdl.web@gmail.com>
12141 * files.el (require-final-newline): Allow safe local value.
12144 2013-07-09 Leo Liu <sdl.web@gmail.com>
12146 * ido.el (ido-read-directory-name): Handle fallback.
12147 (ido-read-file-name): Update DIR to ido-current-directory.
12149 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12151 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12153 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12154 "autoload". Remove "warn lower camel case" section, previously
12155 commented out. Highlight negation char. Do not highlight the
12156 target in singleton method definitions.
12158 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12160 * faces.el (tty-setup-hook): Declare the hook.
12162 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12163 and detect when a guard/pred depends on local vars (bug#14773).
12164 (pcase--u1): Adjust caller.
12166 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12168 * simple.el (line-move-partial, line-move): Account for
12170 (line-move-partial): Avoid setting vscroll when the last
12171 partially-visible line in window is of default height.
12173 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12175 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12178 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12180 * subr.el (read-quoted-char): Remove unused local variable `char'.
12182 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12184 * vc/ediff.el (ediff-version): Version update.
12185 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12186 (ediff-merge-with-ancestor-command, ediff-directories-command)
12187 (ediff-directories3-command, ediff-merge-directories-command)
12188 (ediff-merge-directories-with-ancestor-command): New functions.
12189 All are command-line interfaces to ediff: to facilitate calling
12190 Emacs with the appropriate ediff functions invoked.
12192 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12194 (viper-save-kill-buffer): Check if buffer is modified.
12196 * emulation/viper.el (viper-version): Version update.
12197 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12199 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12201 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12202 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12203 (viper-intercept-ESC-key): Simplify.
12204 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12206 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12207 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12208 (viper-setup-ESC-to-escape): New functions.
12209 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12210 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12212 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12214 * simple.el (default-font-height, window-screen-lines):
12216 (line-move, line-move-partial): Use them instead of
12217 frame-char-height and window-text-height. This makes scrolling
12218 text smoother when the buffer's default face uses a font that is
12219 different from the frame's default font.
12221 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12223 * files.el (write-file): Do not display confirm dialog for NS,
12224 it does its own dialog, which can't be canceled (Bug#14578).
12226 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12228 * simple.el (line-move-partial): Adjust the row returned by
12229 posn-at-point for the current window-vscroll. (Bug#14567)
12231 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12233 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12234 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12237 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12239 * window.el (window-state-put-stale-windows): New variable.
12240 (window--state-put-2): Save list of windows without matching buffer.
12241 (window-state-put): Remove "bufferless" windows if possible.
12243 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12245 * simple.el (alternatives-define): Remove leftover :group keyword.
12248 2013-07-06 Leo Liu <sdl.web@gmail.com>
12250 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12251 (ido-enable-virtual-buffers): New variable.
12252 (ido-buffer-internal, ido-toggle-virtual-buffers)
12253 (ido-make-buffer-list): Use it.
12254 (ido-exhibit): Support turning on and off virtual buffers
12257 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12259 * simple.el (alternatives-define): New macro.
12261 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12263 * subr.el (read-quoted-char): Use read-key.
12264 (sit-for): Let read-event decode tty input (bug#14782).
12266 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12268 * calendar/todo-mode.el: Add handling of file deletion, both by
12269 mode command and externally. Fix various related bugs.
12270 Clarify Commentary and improve some documentation strings and code.
12271 (todo-delete-file): New command.
12272 (todo-check-file): New function.
12273 (todo-show): Handle external deletion of the file we're trying to
12274 show (bug#14688). Replace called-interactively-p by an optional
12275 prefix argument to avoid problematic interaction with catch form
12276 when byte compiled (bug#14702).
12277 (todo-quit): Handle external deletion of the archive's todo file.
12278 Make sure the buffer that was visiting the archive file is still
12279 live before trying to bury it.
12280 (todo-category-completions): Handle external deletion of any
12281 category completion files.
12282 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12283 of todo files, in case of external deletion.
12284 (todo-add-file): Replace unnecessary setq by let-binding.
12285 (todo-find-archive): Check whether there are any archives.
12286 Replace unnecessary setq by let-binding.
12287 (todo-archive-done-item): Use find-file-noselect to get the
12288 archive buffer whether or not the archive already exists.
12289 Remove superfluous code. Use file size instead of buffer-file-name to
12290 check if the archive is new; if it is, update list of archives.
12291 (todo-default-todo-file): Allow nil to be a valid value for when
12292 there are no todo files.
12293 (todo-reevaluate-default-file-defcustom): Use corrected definition
12294 of todo-default-todo-file.
12295 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12296 (todo-delete-category, todo-show-categories-table)
12297 (todo-category-number): Clarify comment.
12298 (todo-filter-items): Clarify documentation string.
12299 (todo-show-current-file, todo-display-as-todo-file)
12300 (todo-reset-and-enable-done-separator): Tweak documentation string.
12301 (todo-done-separator): Make separator length window-width, since
12302 bug#2749 is now fixed.
12304 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12306 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12307 Support both "gvfs-monitor-dir" and "inotifywait".
12308 (tramp-sh-file-inotifywait-process-filter): Rename from
12309 `tramp-sh-file-notify-process-filter'.
12310 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12311 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12313 2013-07-05 Leo Liu <sdl.web@gmail.com>
12315 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12317 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12319 * frame.el (display-pixel-height, display-pixel-width)
12320 (display-mm-height, display-mm-width): Mention behavior on
12321 multi-monitor setups in docstrings.
12322 (w32-display-monitor-attributes-list): Declare function.
12323 (display-monitor-attributes-list): Use it.
12325 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12327 * filenotify.el: New package.
12329 * autorevert.el (top): Require filenotify.el.
12330 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12332 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12333 (auto-revert-notify-handler): Use `file-notify-*' functions.
12335 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12337 * net/tramp.el (tramp-file-name-for-operation):
12338 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12340 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12341 for `file-notify-add-watch' and `file-notify-rm-watch'.
12342 (tramp-process-sentinel): Improve trace.
12343 (tramp-sh-handle-file-notify-add-watch)
12344 (tramp-sh-file-notify-process-filter)
12345 (tramp-sh-handle-file-notify-rm-watch)
12346 (tramp-get-remote-inotifywait): New defuns.
12348 2013-07-03 Juri Linkov <juri@jurta.org>
12350 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12351 call of `occur-read-primary-args' to interactive spec.
12353 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12354 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12356 2013-07-03 Matthias Meulien <orontee@gmail.com>
12358 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12359 `Buffer-menu-multi-occur'. Add it to the menu.
12360 (Buffer-menu-mode): Document it in docstring.
12361 (Buffer-menu-multi-occur): New command. (Bug#14673)
12363 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12365 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12366 keywords and built-ins.
12368 2013-07-03 Glenn Morris <rgm@gnu.org>
12370 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12372 Make info-xref checks case-sensitive by default
12373 * info.el (Info-find-node, Info-find-in-tag-table)
12374 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12375 Add option for exact case matching of nodes.
12376 * info-xref.el (info-xref): New custom group.
12377 (info-xref-case-fold): New option.
12378 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12380 2013-07-03 Leo Liu <sdl.web@gmail.com>
12382 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12384 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12386 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12387 middle of block statement initially, lower the depth. Remove
12388 FIXME comment, not longer valid. Remove middle of block statement
12389 detection, no need to do that anymore since we've been using
12390 `ruby-parse-region' here.
12392 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12394 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12396 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12398 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12400 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12402 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12403 (desktop-restore-in-current-display): New customization option.
12404 (desktop--excluded-frame-parameters): Add `font'.
12405 (desktop--save-frames): Rename from desktop--save-windows.
12406 (desktop--restore-in-this-display-p): New function.
12407 (desktop--make-full-frame): Remove unwanted width/height from
12408 full(width|height) frames.
12409 (desktop--restore-frames): Rename from desktop--restore-windows.
12410 Obey desktop-restore-current-display. Do not delete old frames or
12411 select a new frame unless we were able to restore at least one frame.
12413 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12415 * files.el (find-file-noselect): Simplify conditional expression.
12417 * textmodes/remember.el (remember-append-to-file):
12418 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12420 Add `remember-notes' function to store random notes across Emacs
12422 * textmodes/remember.el (remember-data-file): Add :set callback to
12423 affect notes buffer (if any).
12424 (remember-notes): New command.
12425 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12426 New defcustoms for the `remember-notes' function.
12427 (remember-notes-save-and-bury-buffer): New command.
12428 (remember-notes-mode-map): New variable.
12429 (remember-mode): New minor mode.
12430 (remember-notes--kill-buffer-query): New function.
12431 * startup.el (initial-buffer-choice): Add notes to custom type.
12433 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12435 * bindings.el (right-char, left-char): Don't call sit-for, this is
12436 no longer needed. Use arithmetic comparison only for numerical
12439 * international/mule-cmds.el (select-safe-coding-system):
12440 Handle the case of FROM being a string correctly. (Bug#14755)
12442 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12444 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12445 progression on degenerate tables.
12446 (shr-rescale-image): ImageMagick animated images currently don't work.
12448 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12450 Some fixes and improvements for desktop frame restoration.
12451 It is still experimental and disabled by default.
12452 * desktop.el (desktop--save-windows): Put the selected frame at
12453 the head of the list.
12454 (desktop--make-full-frame): New function.
12455 (desktop--restore-windows): Try to re-select the frame that was
12456 selected upon saving. Do not abort if some frames fail to restore,
12457 just show an error message and continue. Set up maximized frames
12458 so they have default non-maximized dimensions.
12460 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12462 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12463 Don't start heredoc inside a string or comment.
12465 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12467 * bindings.el (visual-order-cursor-movement): New defcustom.
12468 (right-char, left-char): Provide visual-order cursor motion by
12469 calling move-point-visually. Update the doc strings.
12471 2013-06-28 Kenichi Handa <handa@gnu.org>
12473 * international/mule.el (define-coding-system): New coding system
12474 properties :inhibit-null-byte-detection,
12475 :inhibit-iso-escape-detection, and :prefer-utf-8.
12476 (set-buffer-file-coding-system): If :charset-list property of
12477 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12478 appropriate for setting.
12480 * international/mule-cmds.el (select-safe-coding-system):
12481 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12482 multibyte characters, return utf-8 (or one of its siblings).
12484 * international/mule-conf.el (prefer-utf-8): New coding system.
12485 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12488 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12490 * net/shr.el (shr-render-region): New function.
12492 * net/eww.el: Autoload `eww-browse-url'.
12494 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12496 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12497 Adapt to `package-desc-version' being a list.
12498 Use `package--ac-desc-version' to retrieve version from a package
12501 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12503 New experimental feature to save&restore window and frame setup.
12504 * desktop.el (desktop-save-windows): New defcustom.
12505 (desktop--saved-states): New var.
12506 (desktop--excluded-frame-parameters): New defconst.
12507 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12508 (desktop--restore-windows, desktop--save-windows): New functions.
12509 (desktop-save): Call `desktop--save-windows'.
12510 (desktop-read): Call `desktop--restore-windows'.
12512 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12514 * net/shr.el (add-face-text-property): Remove compat definition.
12516 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12518 * info.el (Info-try-follow-nearest-node): Move search for footnote
12519 above search for node name to prevent missing a footnote (bug#14717).
12521 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12523 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12525 2013-06-27 Leo Liu <sdl.web@gmail.com>
12527 * net/eww.el (eww-read-bookmarks): Check file size.
12529 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12531 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12532 advice--pending if newdef is nil or an autoload (bug#13820).
12533 (advice-mapc): New function.
12535 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12537 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12539 (eww-mode-map): Add a menu bar.
12540 (eww-add-bookmark): New command.
12541 (eww-bookmark-mode): New mode and commands.
12542 (eww-add-bookmark): Remove newlines from the title.
12543 (eww-bookmark-browse): Don't bug out if it's the only window.
12545 2013-06-26 Glenn Morris <rgm@gnu.org>
12547 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12548 (hfy-size): Handle ttys. (Bug#14668)
12550 * info-xref.el: Update for Texinfo 5 change in *note format.
12551 (info-xref-node-re, info-xref-note-re): New constants.
12552 (info-xref-check-buffer): Use info-xref-note-re.
12554 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12558 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12559 nil terminate the loop (bug#14718).
12561 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12563 * net/eww.el: Rework history traversal. When going forward/back,
12564 put these actions into the history, too, so that they can be
12566 (eww-render): Move the history reset to the correct buffer.
12568 2013-06-25 Juri Linkov <juri@jurta.org>
12570 * files-x.el (modify-dir-local-variable): Change the header comment
12571 in the file with directory local variables. (Bug#14692)
12573 * files-x.el (read-file-local-variable-value): Add `default'.
12576 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12578 * net/eww.el (eww-make-unique-file-name): Create a unique file
12579 name before saving to entering `y' accidentally asynchronously.
12581 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12583 * net/eww.el (eww-download): New command and keystroke.
12585 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12587 * net/eww.el (eww-copy-page-url): Change name of command.
12589 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12590 be more consistent with Info and dired.
12592 * net/eww.el (eww-mode-map): Ditto.
12594 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12596 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12597 packages from archives.
12598 (package-archive-contents): Change format; include obsolete packages.
12599 (package-desc): Use `dir' to mark builtin packages.
12600 (package--from-builtin): Set the `dir' field to `builtin'.
12601 (generated-autoload-file, version-control): Declare.
12602 (package-compute-transaction): Change first arg and return value to be
12603 lists of package-descs. Adjust to new package-archive-contents format.
12604 (package--add-to-archive-contents): Adjust to new
12605 package-archive-contents format.
12606 (package-download-transaction): Arg is now a list of package-descs.
12607 (package-install): If `pkg' is a package name, pass it as
12608 a requirement, so it is subject to the usual (e.g. disabled) checks.
12609 (describe-package): Accept package-desc as well.
12610 (describe-package-1): Describe a specific package-desc. Add links to
12611 other package-descs for the same package name.
12612 (package-menu-describe-package): Pass the actual package-desc.
12613 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12615 (package-desc-status): New function.
12616 (package-menu--refresh): New function, extracted
12617 from package-menu--generate.
12618 (package-menu--generate): Use it.
12619 (package-delete): Update package-alist.
12620 (package-menu-execute): Don't call package-initialize.
12622 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12623 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12624 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12625 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12626 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12627 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12629 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12631 * window.el (window--state-get-1): Workaround for bug#14527.
12632 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12634 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12636 * net/eww.el (eww-back-url): Implement the history by stashing all
12637 the data into a list.
12638 (eww-forward-url): Allow going forward in the history, too.
12640 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12642 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12643 for values and use read--expression for expressions (bug#14710).
12644 (read-file-local-variable): Avoid setq.
12645 (read-file-local-variable-mode): Use minor-mode-list.
12647 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12649 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12652 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12654 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12655 Update imenu-support when dialect changes.
12657 2013-06-25 Leo Liu <sdl.web@gmail.com>
12659 * ido.el (ido-read-internal): Allow forward slash on windows.
12661 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12663 * net/eww.el (eww): Start of strings is \\`, not ^.
12665 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12667 * net/shr.el (shr-browse-url): Fix interactive spec.
12669 * net/eww.el (eww): Add a trailing slash to domain names.
12671 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12673 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12675 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12677 * net/shr.el (shr-browse-url): Use an external browser if given a
12680 * net/eww.el (eww-external-browser): Move to shr.
12682 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12684 * net/eww.el (eww): Work more correctly for file: URLs.
12685 (eww-detect-charset): Allow quoted charsets.
12686 (eww-yank-page-url): New command and keystroke.
12688 2013-06-24 Daiki Ueno <ueno@gnu.org>
12690 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12691 file name of gpg executable.
12692 (epg-context-program): New function.
12693 (epg-context-home-directory): New function.
12694 (epg-context-set-program): New function.
12695 (epg-context-set-home-directory): New function.
12696 (epg--start): Use `epg-context-program' instead of
12698 (epg--list-keys-1): Likewise.
12700 2013-06-24 Leo Liu <sdl.web@gmail.com>
12702 * ido.el (ido-read-internal): Fix bug#14620.
12704 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12706 * faces.el (face-documentation): Simplify.
12707 (read-face-attribute, tty-find-type, x-resolve-font-name):
12708 Use `string-match-p'.
12709 (list-faces-display): Use `string-match-p'. Simplify.
12710 (face-spec-recalc): Check face to avoid face alias loops.
12711 (read-color): Use `string-match-p' and non-capturing parenthesis.
12713 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12715 * net/shr.el (shr-rescale-image): Use the new
12716 :max-width/:max-height functionality.
12718 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12720 * net/eww.el (eww-search-prefix): New variable.
12722 (eww-external-browser): New variable.
12723 (eww-mode-map): New keystroke.
12724 (eww-browse-with-external-browser): New command.
12726 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12728 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12730 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12731 Don't skip aligning the next header field when padding is 0;
12732 otherwise, field width is not respected unless the title is as
12735 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12737 * emacs-lisp/package.el (package-el-version): Remove.
12738 (package-process-define-package): Fix inf-loop.
12739 (package-install): Allow symbols as arguments again.
12741 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12743 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12744 add some more keyword-like methods.
12745 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12747 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12749 * bs.el (bs-buffer-show-mark): Make defvar-local.
12750 (bs-mode): Use setq-local.
12752 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12753 (emacs-lock--try-unlocking): Make defvar-local.
12755 2013-06-22 Glenn Morris <rgm@gnu.org>
12757 * play/cookie1.el (cookie-apropos): Minor simplification.
12759 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12761 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12763 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12764 `regexp-opt', it breaks the build during dumping.
12766 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12768 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12769 Highlight keyword-like methods on Kernel and Module with
12770 font-lock-builtin-face.
12771 (auto-mode-alist): Consolidate different entries into one regexp
12772 and add more *file-s.
12774 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12776 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12778 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12779 (diary-entry): Use it in the action of this button type instead of
12782 * calendar/todo-mode.el: New version.
12783 (todo-add-category): Append new category to end of file and give
12784 it the highest number, instead of putting it at the beginning and
12785 giving it 0. Incorporate noninteractive functionality.
12786 (todo-forward-category): Adapt to 1-based category numbering.
12787 Allow skipping over archived categories.
12788 (todo-backward-category): Derive from todo-forward-category.
12789 (todo-backward-item, todo-forward-item): Make noninteractive and
12790 delegate interactive part to new commands. Make sensitive to done items.
12791 (todo-categories): Make value an alist of category names and
12792 vectors of item counts.
12793 (todo-category-beg): Make a defconst.
12794 (todo-category-number): Use 1 instead of 0 as initial value.
12795 (todo-category-select): Make sensitive to overlays, optional item
12796 highlighting and done items.
12797 (todo-delete-item): Make sensitive to overlays and marked and done items.
12798 (todo-edit-item): Make sensitive to overlays and editing of
12799 date/time header optional. Add format checks.
12800 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12801 no-op if point is not on an item. Advertise using todo-edit-quit.
12802 (todo-edit-mode): Make sensitive to new format, font-locking, and
12803 multiple todo files.
12804 (todo-insert-item, todo-insert-item-here): Derive from
12805 todo-basic-insert-item and extend functionality.
12806 (todo-item-end, todo-item-start): Make sensitive to done items.
12807 (todo-item-string): Don't return text properties. Restore point.
12808 (todo-jump-to-category): Make sensitive to multiple todo files and
12809 todo archives. Use extended category completion.
12810 (todo-lower-item, todo-raise-item): Rename to *-priority and
12811 derive from todo-set-item-priority.
12812 (todo-mode): Derive from special-mode. Make sensitive to new
12813 format, font-locking and multiple todo files. Make read-only.
12814 (todo-mode-map): Don't suppress digit keys, so they can supply
12815 prefix arguments. Add many new key bindings.
12816 (todo-prefix): Insert as an overlay instead of file text.
12817 Change semantics from diary date expression to purely visual mark.
12818 (todo-print): Rename to todo-print-buffer. Make buffer display
12819 features printable. Remove option to restrict number of items
12820 printed. Add option to print to file.
12821 (todo-print-function): Rename to todo-print-buffer-function.
12822 (todo-quit): Extend to handle exiting new todo modes.
12823 (todo-remove-item): Make sensitive to overlays.
12824 (todo-save): Extend to buffers of filtered items.
12825 (todo-show): Make sensitive to done items, multiple todo files and
12826 new todo modes. Offer to convert legacy todo file before creating
12827 first new todo file.
12828 (todo-show-priorities): Rename to todo-top-priorities.
12829 Change semantics of value 0.
12830 (todo-top-priorities): Rename to todo-filter-top-priorities,
12831 derive from todo-filter-items and extend functionality.
12832 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12833 and extend functionality to other types of filtered items.
12834 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12835 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12836 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12837 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12838 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12839 (todo-edit-mode-hook, todo-entry-prefix-function)
12840 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12841 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12842 (todo-initials, todo-insert-threshold, todo-item-string-start)
12843 (todo-line-string, todo-menu, todo-mode-hook)
12844 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12845 (todo-print-priorities, todo-remove-separator)
12846 (todo-save-top-priorities-too, todo-string-count-lines)
12847 (todo-string-multiline-p, todo-time-string-format)
12848 (todo-tmp-buffer-name): Remove.
12849 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12850 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12851 (todo-edit-category-diary-inclusion)
12852 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12853 (todo-edit-file, todo-edit-item-date-day)
12854 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12855 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12856 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12857 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12858 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12859 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12860 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12861 (todo-filter-top-priorities-multifile, todo-find-archive)
12862 (todo-find-filtered-items-file, todo-go-to-source-item)
12863 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12864 (todo-jump-to-archive-category, todo-lower-category)
12865 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12866 (todo-move-category, todo-move-item, todo-next-button)
12867 (todo-next-item, todo-padded-string, todo-powerset)
12868 (todo-previous-button, todo-previous-item)
12869 (todo-print-buffer-to-file, todo-raise-category)
12870 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12871 (todo-set-category-number, todo-set-item-priority)
12872 (todo-set-top-priorities-in-category)
12873 (todo-set-top-priorities-in-file, todo-show-categories-table)
12874 (todo-sort-categories-alphabetically-or-numerically)
12875 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12876 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12877 (todo-toggle-item-header, todo-toggle-item-highlighting)
12878 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12879 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12880 (todo-unarchive-items, todo-unmark-category): New commands.
12881 (todo-absolute-file-name, todo-add-to-buffer-list)
12882 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12883 (todo-basic-insert-item, todo-category-completions)
12884 (todo-category-number, todo-category-string-matcher-1)
12885 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12886 (todo-check-format, todo-clear-matches)
12887 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12888 (todo-current-category, todo-date-string-matcher)
12889 (todo-define-insertion-command, todo-diary-expired-matcher)
12890 (todo-diary-goto-entry, todo-diary-item-p)
12891 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12892 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12893 (todo-done-item-section-p, todo-done-separator)
12894 (todo-done-string-matcher, todo-files, todo-filter-items)
12895 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12896 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12897 (todo-insert-category-line, todo-insert-item-from-calendar)
12898 (todo-insert-sort-button, todo-insert-with-overlays)
12899 (todo-insertion-command-name, todo-insertion-key-bindings)
12900 (todo-label-to-key, todo-longest-category-name-length)
12901 (todo-make-categories-list, todo-mode-external-set)
12902 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12903 (todo-modes-set-3, todo-multiple-filter-files)
12904 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12905 (todo-read-category, todo-read-date, todo-read-dayname)
12906 (todo-read-file-name, todo-read-time)
12907 (todo-reevaluate-category-completions-files-defcustom)
12908 (todo-reevaluate-default-file-defcustom)
12909 (todo-reevaluate-filelist-defcustoms)
12910 (todo-reevaluate-filter-files-defcustom)
12911 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12912 (todo-reset-done-separator, todo-reset-done-separator-string)
12913 (todo-reset-done-string, todo-reset-global-current-todo-file)
12914 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12915 (todo-reset-prefix, todo-set-categories)
12916 (todo-set-date-from-calendar, todo-set-show-current-file)
12917 (todo-set-top-priorities, todo-short-file-name)
12918 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12919 (todo-total-item-counts, todo-update-buffer-list)
12920 (todo-update-categories-display, todo-update-categories-sexp)
12921 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12923 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12925 (todo-categories, todo-display, todo-edit, todo-faces)
12926 (todo-filtered): New defgroups.
12927 (todo-archived-only, todo-button, todo-category-string, todo-date)
12928 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12929 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12930 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12931 (todo-add-item-if-new-category, todo-always-add-time-string)
12932 (todo-categories-align, todo-categories-archived-label)
12933 (todo-categories-category-label, todo-categories-diary-label)
12934 (todo-categories-done-label, todo-categories-number-separator)
12935 (todo-categories-todo-label, todo-categories-totals-label)
12936 (todo-category-completions-files, todo-completion-ignore-case)
12937 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12938 (todo-done-separator-string, todo-done-string)
12939 (todo-files-function, todo-filter-done-items, todo-filter-files)
12940 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12941 (todo-initial-category, todo-initial-file, todo-item-mark)
12942 (todo-legacy-date-time-regexp, todo-mode-line-function)
12943 (todo-nondiary-marker, todo-number-prefix)
12944 (todo-print-buffer-function, todo-show-current-file)
12945 (todo-show-done-only, todo-show-first, todo-show-with-done)
12946 (todo-skip-archived-categories, todo-top-priorities-overrides)
12947 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12948 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12950 (todo-category-done, todo-date-pattern, todo-date-string-start)
12951 (todo-diary-items-buffer, todo-done-string-start)
12952 (todo-filtered-items-buffer, todo-item-start)
12953 (todo-month-abbrev-array, todo-month-name-array)
12954 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12955 (todo-top-priorities-buffer): New defconsts.
12956 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12957 (todo-categories-with-marks, todo-category-string-face)
12958 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12959 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12960 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12961 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12962 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12963 (todo-font-lock-keywords, todo-global-current-todo-file)
12964 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12965 (todo-insertion-commands-args)
12966 (todo-insertion-commands-args-genlist)
12967 (todo-insertion-commands-names, todo-insertion-map)
12968 (todo-key-bindings-t, todo-key-bindings-t+a)
12969 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12970 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12971 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12972 (todo-visited): New variables.
12974 2013-06-21 Glenn Morris <rgm@gnu.org>
12976 * play/cookie1.el (cookie-apropos): Add optional display argument.
12977 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12978 (psychoanalyze-pinhead): Use cookie-doctor.
12980 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12982 * emacs-lisp/package.el (tar-get-file-descriptor)
12983 (tar--extract): Declare.
12985 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12987 Extend flymake's warning predicate to be a function (bug#14217).
12988 * progmodes/flymake.el (flymake-warning-predicate): New.
12989 (flymake-parse-line): Use it.
12990 (flymake-warning-re): Make obsolete alias to
12991 `flymake-warning-predicate'.
12993 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12995 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12996 (package-obsolete-list): Remove.
12997 (package-activate): Remove min-version argument. Add `force' argument.
12998 Adjust to new package-alist format.
12999 (package-mark-obsolete): Remove.
13000 (package-unpack): Force reload of the package's autoloads.
13001 (package-installed-p): Check builtins if the installed package is not
13003 (package-initialize): Don't reset package-obsolete-list.
13004 Don't specify which package version to activate.
13005 (package-process-define-package, describe-package-1)
13006 (package-menu--generate): Adjust to new package-alist format.
13008 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13010 * allout-widgets.el (allout-widgets-mode-off)
13011 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13012 (allout-widgets-post-command-business)
13013 (allout-widgets-after-copy-or-kill-function)
13014 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13015 (allout-decorate-item-and-context)
13016 (allout-graphics-modification-handler): Fix typos in docstrings.
13017 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13019 * cmuscheme.el (scheme-start-file): Doc fix.
13020 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13021 (scheme-input-filter): Use `string-match-p'.
13023 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13025 * dired-x.el: Use Dired consistently in docstrings.
13027 * dired.el: Use Dired consistently in docstrings.
13028 (dired-readin, dired-mode): Use `setq-local'.
13029 (dired-switches-alist): Make defvar-local.
13030 (dired-buffers-for-dir): Use `zerop'.
13031 (dired-safe-switches-p, dired-switches-escape-p)
13032 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13033 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13034 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13035 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13036 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13037 (dired-toggle-marks, dired-mark-files-containing-regexp)
13038 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13039 (dired-flag-auto-save-files, dired-flag-backup-files):
13040 Use `looking-at-p'.
13041 (dired-mark-files-regexp, dired-build-subdir-alist):
13042 Use `string-match-p', `looking-at-p'.
13044 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13045 (direct-print-region-helper): Use `string-match-p'.
13047 2013-06-21 Leo Liu <sdl.web@gmail.com>
13049 * comint.el (comint-redirect-results-list-from-process):
13052 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13054 * net/eww.el (eww-update-header-line-format): Quote % characters.
13056 2013-06-21 Glenn Morris <rgm@gnu.org>
13058 * play/cookie1.el (cookie): New custom group.
13059 (cookie-file): New option.
13060 (cookie-check-file): New function.
13061 (cookie): Make it interactive. Make start and end messages optional.
13062 Interactively, display the result. Default to cookie-file.
13063 (cookie-insert): Default to cookie-file.
13064 (cookie-snarf): Make start and end messages optional.
13065 Default to cookie-file. Use with-temp-buffer.
13066 (cookie-read): Rename from read-cookie.
13067 Make start and end messages optional. Default to cookie-file.
13068 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13069 Do not autoload it.
13070 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13071 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13073 2013-06-21 Leo Liu <sdl.web@gmail.com>
13075 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13077 2013-06-21 Glenn Morris <rgm@gnu.org>
13079 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13081 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13082 Daniel Hackney <dan@haxney.org>
13084 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13085 Consolidate the single-file vs tarball code.
13086 (package-desc-suffix): New function.
13087 (package-desc-full-name): Don't bother inlining it.
13088 (package-load-descriptor): Return the new package-desc.
13089 (package-mark-obsolete): Remove unused arg `package'.
13090 (package-unpack): Make it work for single files as well.
13091 Make it update package-alist.
13092 (package--make-autoloads-and-stuff): Rename from
13093 package--make-autoloads-and-compile. Don't compile any more.
13094 (package--compile): New function.
13095 (package-generate-description-file): New function, extracted from
13096 package-unpack-single.
13097 (package-unpack-single): Remove.
13098 (package--with-work-buffer): Add indentation and debugging info.
13099 (package-download-single): Remove.
13100 (package-install-from-archive): Rename from package-download-tar, make
13101 it take a pkg-desc, and make it work for single files as well.
13102 (package-download-transaction): Simplify.
13103 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13104 external tar program.
13105 (package-install-from-buffer): Remove `pkg-desc' argument.
13106 Use package-tar-file-info for tar-mode buffers.
13107 (package-install-file): Simplify accordingly.
13108 (package-archive-base): Change to take a pkg-desc.
13109 * tar-mode.el (tar--check-descriptor): New function, extracted from
13110 tar-get-descriptor.
13111 (tar-get-descriptor): Use it.
13112 (tar-get-file-descriptor): New function.
13113 (tar--extract): New function, extracted from tar-extract.
13114 (tar--extract): Use it.
13115 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13116 case the summary uses non-ascii. Adjust to new calling convention of
13117 package-tar-file-info.
13119 2013-06-21 Leo Liu <sdl.web@gmail.com>
13121 * comint.el (comint-redirect-results-list-from-process):
13122 Fix random delay. (Bug#14681)
13124 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13126 * profiler.el (profiler-format-number): Use log, not log10.
13128 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13130 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13132 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13134 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13135 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13137 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13138 (AUTOGENEL): ... here.
13139 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13140 (cl--defsubst-expand): Use it.
13142 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13144 * subr.el (log10): Move here from C code, and declare as obsolete.
13145 All uses of (log10 X) replaced with (log X 10).
13147 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13149 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13150 Declare with `defvar-local'.
13151 (tabulated-list-use-header-line, tabulated-list-entries)
13152 (tabulated-list-padding, tabulated-list-printer)
13153 (tabulated-list-sort-key): Declare with `defvar-local'.
13154 (tabulated-list-init-header, tabulated-list-print-fake-header):
13157 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13159 * arc-mode.el (archive-mode): Add `archive-write-file' to
13160 `write-contents-functions' also for remote files. (Bug#14652)
13162 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13164 * cus-edit.el (custom-commands): Fix typos.
13165 (custom-display): Fix tooltip text.
13166 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13167 Fix typos in docstrings.
13168 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13169 (custom-unlispify-menu-entry, custom-magic-value-create)
13170 (custom-add-see-also, custom-group-value-create): Use ?\s.
13171 (custom-guess-type, customize-apropos, editable-field)
13172 (custom-face-value-create): Use `string-match-p'.
13173 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13175 * custom.el (custom-load-symbol): Use `string-match-p'.
13177 * ansi-color.el: Convert to lexical binding.
13178 (ansi-colors): Fix URL.
13179 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13180 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13181 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13183 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13185 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13187 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13189 2013-06-19 Tom Tromey <tromey@redhat.com>
13191 * net/eww.el (eww-top-url): Remove.
13192 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13193 (eww-render): Set new variables. Don't set eww-top-url.
13194 (eww-handle-link): Handle "prev", "home", and "contents".
13195 Downcase the rel text.
13196 (eww-top-url): Choose best top URL.
13198 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13200 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13201 relying in widget.el. Using widget.el leads to too many
13202 user interface inconsistencies.
13203 (eww-self-insert): Implement entering commands in text fields.
13204 (eww-process-text-input): New function to make text input field editing
13206 (eww-submit): Rewrite to use the new-style form methods.
13207 (eww-select-display): Display the correct selected item.
13208 (eww-change-select): Implement changing the select value.
13209 (eww-toggle-checkbox): Implement radio/checkboxes.
13210 (eww-update-field): Fix compilation error.
13211 (eww-tag-textarea): Implement <textarea>.
13213 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13214 we don't shadow mode-specific bindings.
13216 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13219 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13221 2013-06-19 Glenn Morris <rgm@gnu.org>
13223 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13225 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13227 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13230 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13232 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13234 * net/browse-url.el (browse-url-browser-function):
13235 `eww-browse-url' has the right calling signature, `eww' does not.
13237 2013-06-19 Glenn Morris <rgm@gnu.org>
13239 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13240 Only eval autoloaded macros.
13241 (byte-compile-autoload): Only give the macro warning for macros.
13243 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13244 (ps-underlined-faces): Declare.
13246 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13247 (speedbar-add-supported-extension): Declare.
13249 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13250 Don't include a date stamp in the header of the generated file;
13251 it leads to needless differences between output files.
13253 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13255 * net/secrets.el (secrets-struct-secret-content-type):
13256 Replace check of introspection data by a test call of "CreateItem".
13257 Some servers do not offer introspection.
13259 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13261 * electric.el (electric-pair-mode): Improve interaction with
13262 electric-layout-mode.
13263 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13264 (electric-pair-syntax): Use text-mode-syntax-table in comments
13266 (electric-pair--insert): New function.
13267 (electric-pair-post-self-insert-function): Use it and
13268 electric--after-char-pos.
13270 2013-06-19 Leo Liu <sdl.web@gmail.com>
13272 * progmodes/octave.el (octave-help): Fix regexp.
13274 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13276 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13277 (shr-table-horizontal-line): Allow nil as a value, and change the
13279 (shr-insert-table-ruler): Respect the nil value.
13281 2013-06-18 Tom Tromey <tromey@barimba>
13283 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13285 (eww-open-file): New defun.
13286 (eww-render): Initialize new variables.
13287 (eww-display-html): Handle "link" and "a".
13288 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13289 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13290 (eww-back-url): Rename from eww-previous-url.
13291 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13294 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13296 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13297 Distinguish ternary operator tokens from slash symbol and slash
13300 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13302 Convert symbol prettification into minor mode and global minor mode.
13304 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13305 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13306 (prettify-symbols--keywords): Rename from
13307 `prog-prettify-symbols-alist' and make a local defvar.
13308 (prettify-symbols--compose-symbol): Rename from
13309 `prog--prettify-font-lock-compose-symbol'.
13310 (prettify-symbols--make-keywords): Rename from
13311 `prog-prettify-font-lock-symbols-keywords' and simplify.
13312 (prog-prettify-install): Remove.
13313 (prettify-symbols-mode): New minor mode, based on
13314 `prog-prettify-install'.
13315 (turn-on-prettify-symbols-mode): New function.
13316 (global-prettify-symbols-mode): New globalized minor mode.
13318 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13319 * progmodes/cfengine.el (cfengine3-mode):
13320 * progmodes/perl-mode.el (perl-mode): Don't call
13321 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13323 2013-06-18 Juri Linkov <juri@jurta.org>
13325 * files-x.el (modify-file-local-variable-message): New function.
13326 (modify-file-local-variable)
13327 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13328 and call `modify-file-local-variable-message' when it's non-nil.
13329 (add-file-local-variable, delete-file-local-variable)
13330 (add-file-local-variable-prop-line)
13331 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13332 and use it. (Bug#9820)
13334 2013-06-18 Juri Linkov <juri@jurta.org>
13336 * emulation/vi.el (vi-shell-op):
13337 * emulation/vip.el (vip-execute-com, ex-command):
13338 * emulation/viper-cmd.el (viper-exec-bang):
13339 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13340 the call of `shell-command-on-region'. (Bug#14637)
13342 * simple.el (shell-command-on-region): Doc fix.
13344 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13346 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13349 2013-06-18 Glenn Morris <rgm@gnu.org>
13351 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13353 * newcomment.el (comment-search-forward, comment-search-backward):
13354 Doc fix. (Bug#14376)
13356 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13358 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13359 (buffer-face-mode-invoke): Doc fix.
13361 2013-06-18 Matthias Meulien <orontee@gmail.com>
13363 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13364 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13366 2013-06-18 Glenn Morris <rgm@gnu.org>
13368 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13369 Replace obsolete function generic-make-keywords with its expansion.
13371 * progmodes/python.el (ffap-alist): Declare.
13373 * textmodes/reftex.el (bibtex-mode-map): Declare.
13375 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13377 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13378 (package-unpack, package-unpack-single): Return the pkg-dir.
13379 (package-download-transaction): Use it to update package-alist.
13381 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13383 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13386 2013-06-17 Juri Linkov <juri@jurta.org>
13388 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13390 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13392 * emacs-lisp/package.el (package-load-descriptor):
13393 Remove `with-syntax-table' call, `read' doesn't need it.
13394 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13396 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13398 * startup.el (command-line): Expand package name returned by
13399 `package--description-file' (bug#14639).
13401 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13403 * emacs-lisp/package.el (package-load-descriptor): Do not call
13404 `emacs-lisp-mode', just use its syntax table.
13406 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13408 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13409 `font-lock-extra-managed-props' if any prettifying keyword is added.
13410 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13411 (prog-mode): Use `setq-local'.
13413 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13415 * international/characters.el (standard-case-table): Set syntax of ?»
13416 and ?« to punctuation.
13418 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13420 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13421 Save relevant match data before calling `syntax-ppss' (bug#14595).
13423 2013-06-15 Juri Linkov <juri@jurta.org>
13425 * files-x.el (modify-file-local-variable-prop-line): Add local
13426 variables to the end of the existing comment on the first line.
13427 Use `file-auto-mode-skip' to skip interpreter magic line,
13428 and also skip XML declaration.
13430 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13432 * startup.el (package--builtin-versions): New var.
13433 (package-subdirectory-regexp): Remove.
13434 (package--description-file): Hard code its value instead.
13436 * emacs-lisp/package.el: Don't activate packages older than builtin.
13437 (package-obsolete-list): Rename from package-obsolete-alist, and make
13438 it into a simple list of package-desc.
13439 (package-strip-version): Remove.
13440 (package-built-in-p): Use package--builtin-versions.
13441 (package-mark-obsolete): Simplify.
13442 (package-process-define-package): Mark it obsolete if older than the
13444 (package-handle-response): Use line-end-position.
13445 (package-read-archive-contents, package--download-one-archive):
13447 (package--add-to-archive-contents): Skip if older than the builtin or
13449 (package-menu-describe-package): Fix last change.
13450 (package-list-unversioned): New var.
13451 (package-menu--generate): Use it.
13453 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13454 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13455 (autoload-builtin-package-versions): New variable.
13456 (autoload-generate-file-autoloads): Use them.
13457 Remove the list of autoloaded functions/macros from the
13458 (autoload...) comments.
13460 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13462 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13464 * simple.el (line-move-partial): Don't jump to the next screen
13465 line as soon as it becomes visible. Instead, continue enlarging
13466 the vscroll until the portion of a tall screen line that's left on
13467 display is about the height of the frame's default font.
13470 2013-06-15 Glenn Morris <rgm@gnu.org>
13472 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13473 compilation-error-regexp-alist void, or local while let-bound.
13475 * progmodes/make-mode.el (makefile-mode-syntax-table):
13476 Treat "=" as punctuation. (Bug#14614)
13478 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13480 * help-fns.el (describe-variable):
13481 Add extra line for permanent-local variables.
13483 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13485 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13486 Add export, import, library. (Bug#9164)
13487 (library): Set indent function.
13489 2013-06-14 Glenn Morris <rgm@gnu.org>
13491 * term/xterm.el (xterm--query):
13492 Stop after first matching handler. (Bug#14615)
13494 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13496 Add support for dired in saveplace.
13497 * dired.el (dired-initial-position-hook): New variable.
13498 (dired-initial-position): Call hook to place cursor position.
13499 * saveplace.el (save-place-to-alist): Add dired position.
13500 (save-place-dired-hook): New function.
13502 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13504 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13505 through a symbol rather than letrec.
13507 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13508 (package-desc): Add `dir' field.
13509 (package-desc-full-name): New function.
13510 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13511 (package-maybe-load-descriptor): Remove.
13512 (package-load-all-descriptors): Just call package-load-descriptor.
13513 (package--disabled-p): New function.
13514 (package-desc-vers, package-desc-doc): Remove aliases.
13515 (package--dir): Remove function.
13516 (package-activate): Check if a package is disabled.
13517 (package-process-define-package): New function, extracted from
13519 (define-package): Turn into a place holder.
13520 (package-unpack-single, package-tar-file-info):
13521 Use package--description-file.
13522 (package-compute-transaction): Use package--disabled-p.
13523 (package-download-transaction): Don't call
13524 package-maybe-load-descriptor since they're all loaded anyway.
13525 (package-install): Change argument to be a pkg-desc.
13526 (package-delete): Use a single pkg-desc argument.
13527 (describe-package-1): Use package-desc-dir instead of package--dir.
13528 Use package-desc property instead of package-symbol.
13529 (package-install-button-action): Adjust accordingly.
13530 (package--push): Rewrite.
13531 (package-menu--print-info): Adjust accordingly. Change the ID format
13533 (package-menu-describe-package, package-menu-get-status)
13534 (package-menu--find-upgrades, package-menu-mark-upgrades)
13535 (package-menu-execute, package-menu--name-predicate):
13536 Adjust accordingly.
13537 * startup.el (package--description-file): New function.
13538 (command-line): Use it.
13539 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13540 Use package-desc-version.
13542 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13543 (byte-compile-preprocess): Use it.
13544 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13545 can't quite recognize.
13546 (byte-compile-add-to-list): Remove.
13547 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13548 (cconv-closure-convert): Add assertion.
13550 * emacs-lisp/map-ynp.el: Use lexical-binding.
13551 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13552 Factor out some repeated code.
13554 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13556 * subr.el (with-eval-after-load): New macro.
13557 (eval-after-load): Allow form to be a function.
13558 take advantage of lexical-binding.
13559 (do-after-load-evaluation): Use dolist and adjust to new format.
13560 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13562 2013-06-13 Juri Linkov <juri@jurta.org>
13564 * replace.el (perform-replace): Display "symbol " and other search
13565 modes from `isearch-message-prefix' in the *Help* buffer.
13567 * isearch.el (isearch-query-replace): Add " symbol" and other
13568 possible search modes from `isearch-message-prefix' to the prompt.
13569 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13570 when reading a regexp to collect.
13572 2013-06-13 Juri Linkov <juri@jurta.org>
13574 * isearch.el (word-search-regexp): Match whitespace if the search
13575 string begins or ends in whitespace. The LAX arg is applied to
13576 both ends of the search string. Use `regexp-quote' and explicit
13577 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13578 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13579 boundaries are replaced with symbol boundaries, and characters
13580 between symbols match non-word non-symbol syntax. (Bug#14602)
13582 2013-06-13 Juri Linkov <juri@jurta.org>
13584 * isearch.el (isearch-del-char): Don't exceed the length of
13585 `isearch-string' by the prefix arg. (Bug#14563)
13587 2013-06-13 Juri Linkov <juri@jurta.org>
13589 * isearch.el (isearch-yank-word, isearch-yank-line)
13590 (isearch-char-by-name, isearch-quote-char)
13591 (isearch-printing-char, isearch-process-search-char):
13592 Add optional count prefix arg. (Bug#14563)
13594 * international/isearch-x.el
13595 (isearch-process-search-multibyte-characters):
13596 Add optional count prefix arg.
13598 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13600 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13601 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13604 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13606 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13608 2013-06-13 Glenn Morris <rgm@gnu.org>
13610 * startup.el (tty-handle-args):
13611 Don't just discard "--" and anything after. (Bug#14608)
13613 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13615 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13617 Implement changes in Secret Service API. Make it backward compatible.
13618 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13619 (secrets-create-item): Use it. Prefix properties with interface.
13621 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13623 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13624 (term-emulate-terminal): Respect term-suppress-hard-newline.
13626 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13628 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13629 Only remove a `thumb-file' overlay. (Bug#14548)
13631 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13633 * mail/reporter.el (reporter-submit-bug-report):
13634 Handle missing package-name. (Bug#14600)
13636 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13638 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13639 (reftex-citation-prompt, reftex-default-bibliography)
13640 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13641 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13642 (reftex-bib-sort-author, reftex-bib-sort-year)
13643 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13644 (reftex-extract-bib-entries-from-thebibliography)
13645 (reftex-get-bibkey-default, reftex-get-bib-names)
13646 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13647 (reftex-format-bib-entry, reftex-parse-bibitem)
13648 (reftex-format-bibitem, reftex-do-citation)
13649 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13650 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13651 (reftex-insert-bib-matches, reftex-format-citation)
13652 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13653 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13654 existing comments into docstrings.
13656 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13658 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13660 2013-06-12 Andreas Schwab <schwab@suse.de>
13662 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13663 for auto-save files.
13665 2013-06-12 Glenn Morris <rgm@gnu.org>
13667 * ido.el (ido-delete-ignored-files): Remove.
13668 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13669 Go back to calling ido-ignore-item-p directly.
13671 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13673 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13675 * ido.el (ido-delete-ignored-files): New function,
13676 split from ido-make-file-list-1.
13677 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13678 (ido-make-file-list-1): Use ido-delete-ignored-files.
13680 2013-06-12 Leo Liu <sdl.web@gmail.com>
13682 * progmodes/octave.el (inferior-octave-startup)
13683 (inferior-octave-completion-table)
13684 (inferior-octave-track-window-width-change)
13685 (octave-eldoc-function-signatures, octave-help)
13686 (octave-find-definition): Use single quoted strings.
13687 (inferior-octave-startup-args): Change default value.
13688 (inferior-octave-startup): Do not hard code "-i" and
13689 "--no-line-editing".
13690 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13691 (inferior-octave-directory-tracker): Use it.
13692 (octave-goto-function-definition): Robustify.
13693 (octave-help): Support highlighting operators in 'See also'.
13694 (octave-find-definition): Find subfunctions only in Octave mode.
13696 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * help-fns.el (help-fns--compiler-macro): If the handler function is
13699 named, then put a link to it.
13700 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13701 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13702 (cl-typep): Use it.
13703 (cl-eval-when): Simplify debug spec.
13704 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13705 compiler-macro function instead of setting `compiler-macro-file'.
13707 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13709 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13710 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13712 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13713 Daniel Hackney <dan@haxney.org>
13715 First part of Daniel Hackney's patch to package.el.
13716 * emacs-lisp/package.el: Use defstruct.
13717 (package-desc): New, main struct.
13718 (package--bi-desc, package--ac-desc): New structs, used to describe the
13719 format in external files.
13720 (package-desc-vers): Replace with package-desc-version accessor.
13721 (package-desc-doc): Replace with package-desc-summary accessor.
13722 (package-activate-1): Remove `package' arg since the pkg-vec now
13724 (define-package): Use package-desc-from-define.
13725 (package-unpack-single): Change file-name arg to be a symbol.
13726 (package--add-to-archive-contents): Use package-desc-create and new
13727 accessor functions to package--ac-desc.
13728 (package-buffer-info, package-tar-file-info): Return a package-desc.
13729 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13730 arg to be a package-desc.
13731 (package-install-file): Adjust accordingly. Use \' to match EOS.
13732 (package--from-builtin): New function.
13733 (describe-package-1, package-menu--generate): Use it.
13734 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13735 (package-generate-autoloads): Idem and return the name of the file.
13736 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13737 Change pkg-info arg to be a package-desc.
13738 Use package-make-ac-desc.
13739 (package-upload-file): Use \' to match EOS.
13740 * finder.el (finder-compile-keywords): Use package-make-builtin.
13742 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13744 * vc/vc.el (vc-deduce-fileset): Change error message.
13745 (vc-read-backend): New function.
13746 (vc-next-action): Use it.
13748 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13750 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13751 (prolog-font-lock-keywords): Use regexp-opt instead.
13752 Don't manually highlight strings.
13753 (prolog-mode-variables): Simplify comment-start-skip.
13754 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13756 * emacs-lisp/generic.el (generic--normalise-comments)
13757 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13758 (generic-mode-set-comments): Use them.
13759 (generic-bracket-support): Use setq-local.
13760 (generic-make-keywords-list): Declare obsolete.
13762 2013-06-11 Glenn Morris <rgm@gnu.org>
13764 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13765 Prettify after setting font-lock-defaults. (Bug#14574)
13767 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13769 * replace.el (query-replace, occur-read-regexp-defaults-function)
13771 * subr.el (declare-function, number-sequence, local-set-key)
13772 (substitute-key-definition, locate-user-emacs-file)
13773 (with-silent-modifications, split-string, eval-after-load):
13774 Fix typos, remove unneeded backslashes and reflow some docstrings.
13776 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13778 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13779 default for Elisp files.
13781 2013-06-11 Glenn Morris <rgm@gnu.org>
13783 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13784 although define-derived-mode was doing this anyway. (Bug#14583)
13786 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13788 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13789 Fix make-variable-buffer-local call to refer to the correct variable.
13791 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13793 * eshell/em-term.el (eshell-visual-commands)
13794 (eshell-visual-subcommands, eshell-visual-options):
13795 Add summary line to docstrings. Add cross-references.
13797 2013-06-10 Glenn Morris <rgm@gnu.org>
13799 * epa.el (epa-read-file-name): New function. (Bug#14510)
13800 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13802 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13804 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13805 output redirection to be ignored with visual commands.
13807 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13809 * eshell/em-term.el (eshell-visual-command-p): New function.
13810 (eshell-term-initialize): Move long lambda to separate function
13811 eshell-visual-command-p.
13812 * eshell/em-dirs.el (eshell-dirs-initialize):
13813 * eshell/em-script.el (eshell-script-initialize):
13814 Add missing #' to lambda.
13816 2013-06-08 Leo Liu <sdl.web@gmail.com>
13818 * progmodes/octave.el (octave-add-log-current-defun): New function.
13819 (octave-mode): Set add-log-current-defun-function.
13820 (octave-goto-function-definition): Do not move point if not found.
13821 (octave-find-definition): Enhance to try subfunctions first.
13823 2013-06-08 Glenn Morris <rgm@gnu.org>
13825 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13826 (byte-compile-backward-char, byte-compile-backward-word):
13827 Improve previous change, to handle non-explicit nil.
13829 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13831 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13832 (smie--opener/closer-at-point): New function.
13833 (smie--matching-block-data): Use it. Don't match from right after an
13834 opener or right before a closer. Obey smie-blink-matching-inners.
13835 Don't signal a mismatch for repeated inners like "switch..case..case".
13837 2013-06-07 Leo Liu <sdl.web@gmail.com>
13839 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13841 (octave-function-header-regexp): Fix. (Bug#14570)
13842 (octave-help-mode-finish-hook, octave-help-mode-finish):
13843 Remove. Just use temp-buffer-show-hook.
13845 * newcomment.el (comment-search-backward): Revert last change.
13848 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13850 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13852 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13853 through xargs, to avoid failure due to MS-Windows limitations on
13854 command-line length.
13856 2013-06-06 Glenn Morris <rgm@gnu.org>
13858 * font-lock.el (lisp-font-lock-keywords-2):
13859 Treat user-error like error.
13861 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13862 (byte-compile-backward-char, byte-compile-backward-word):
13863 Handle explicit nil arguments. (Bug#14565)
13865 2013-06-05 Alan Mackenzie <acm@muc.de>
13867 * isearch.el (isearch-allow-prefix): New user option.
13868 (isearch-other-meta-char): Don't exit isearch when a prefix
13869 argument is typed whilst `isearch-allow-prefix' is non-nil.
13872 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13874 * autorevert.el (auto-revert-notify-handler): Use memq.
13875 Hide assertion failure.
13877 * skeleton.el: Use cl-lib.
13878 (skeleton-further-elements): Use defvar-local.
13879 (skeleton-insert): Use cl-progv.
13881 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13883 * progmodes/prog-mode.el (prog-prettify-symbols)
13884 (prog-prettify-install): Update docstrings.
13886 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13888 * simple.el: Move all the prog-mode code to prog-mode.el.
13889 * progmodes/prog-mode.el: New file.
13890 * loadup.el: Add prog-mode.el.
13892 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13894 * simple.el (prog-prettify-symbols): Add version.
13895 (prog-prettify-install): Add convenience function to prettify symbols.
13897 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13898 (perl--augmented-font-lock-keywords-1)
13899 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13900 variables and use it.
13902 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13903 (cfengine3-mode): Remove unneeded variable and use it.
13905 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13906 (lisp--augmented-font-lock-keywords-1)
13907 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13908 Remove unneeded variables and use it.
13910 2013-06-05 João Távora <joaotavora@gmail.com>
13912 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13913 to point when opening the connection. (Bug#14380)
13915 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13917 * subr.el (load-history-regexp, load-history-filename-element)
13918 (eval-after-load, after-load-functions, do-after-load-evaluation)
13919 (eval-next-after-load, display-delayed-warnings)
13920 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13921 definition of save-match-data.
13922 (overriding-local-map): Remove accidental obsolescence declaration.
13924 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13926 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13928 Generalize symbol prettify support to prog-mode and implement it
13929 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13930 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13931 (prog--prettify-font-lock-compose-symbol)
13932 (prog-prettify-font-lock-symbols-keywords): New variables and
13933 functions to support symbol prettification.
13934 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13935 (lisp--augmented-font-lock-keywords-1)
13936 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13937 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13938 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13939 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13940 Implement prettify of -> => :: strings.
13941 * progmodes/perl-mode.el (perl-prettify-symbols)
13942 (perl--font-lock-compose-symbol)
13943 (perl--font-lock-symbols-keywords): Move to prog-mode.
13944 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13945 (perl-font-lock-keywords-1)
13946 (perl-font-lock-keywords-2): Remove explicit prettify support.
13947 (perl--augmented-font-lock-keywords)
13948 (perl--augmented-font-lock-keywords-1)
13949 (perl--augmented-font-lock-keywords-2, perl-mode):
13950 Implement prettify support.
13952 2013-06-05 Leo Liu <sdl.web@gmail.com>
13954 Re-implement SMIE matching block highlight using
13955 show-paren-data-function. (Bug#14395)
13956 * emacs-lisp/smie.el (smie-matching-block-highlight)
13957 (smie--highlight-matching-block-overlay)
13958 (smie--highlight-matching-block-lastpos)
13959 (smie-highlight-matching-block)
13960 (smie-highlight-matching-block-mode): Remove.
13961 (smie--matching-block-data-cache): New variable.
13962 (smie--matching-block-data): New function.
13963 (smie-setup): Use smie--matching-block-data for
13964 show-paren-data-function.
13966 * progmodes/octave.el (octave-mode-menu): Fix.
13967 (octave-find-definition): Skip garbage lines.
13969 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13971 Fix compilation error with simultaneous dynamic+lexical scoping.
13972 Add warning when a defvar appears after the first let-binding.
13973 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13974 (byte-compile-close-variables): Initialize it.
13975 (byte-compile--declare-var): New function.
13976 (byte-compile-file-form-defvar)
13977 (byte-compile-file-form-define-abbrev-table)
13978 (byte-compile-file-form-custom-declare-variable): Use it.
13979 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13980 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13981 (byte-compile-bind): Handle dynamic bindings that shadow
13983 (byte-compile-unbind): Make arg non-optional.
13984 (byte-compile-let): Simplify.
13985 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13986 (cconv--analyse-function, cconv-analyse-form): Populate it.
13987 Protect byte-compile-bound-variables to limit the scope of defvars.
13988 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13989 Remove unneeded rule for `declare'.
13991 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13992 so as to avoid depending on cl-adjoin at run-time.
13993 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13995 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13996 (macroexp--warn-and-return): Use it.
13998 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14000 * subr.el: Convert to lexical binding.
14001 (overriding-local-map): Make obsolete.
14002 (add-to-list): Doc fix. Add compiler macro.
14003 (read-key): Swap values of local maps.
14005 2013-06-05 Leo Liu <sdl.web@gmail.com>
14007 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14009 2013-06-04 Leo Liu <sdl.web@gmail.com>
14011 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14012 (compilation-auto-jump): Suppress the "Mark set" message to give
14013 way to exit message.
14015 2013-06-04 Alan Mackenzie <acm@muc.de>
14017 Remove faulty optimisation from indentation calculation.
14018 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14019 search limit based on 2000 characters back from indent-point.
14021 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14023 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14025 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14027 * emacs-lisp/lisp.el: Use lexical-binding.
14028 (lisp--local-variables-1, lisp--local-variables): New functions.
14029 (lisp--local-variables-completion-table): New var.
14030 (lisp-completion-at-point): Use it complete let-bound vars.
14032 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14033 eagerly (bug#14422).
14035 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14037 * autorevert.el (auto-revert-notify-enabled)
14038 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14039 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14040 (auto-revert-notify-handler): Handle also gfilenotify.
14042 * subr.el (file-notify-handle-event): New defun. Replacing ...
14043 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14046 2013-06-03 Juri Linkov <juri@jurta.org>
14048 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14049 `M-s h .'. (Bug#14427)
14051 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14052 command `hi-lock-face-symbol-at-point'.
14053 (hi-lock-face-symbol-at-point): New command.
14054 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14055 (hi-lock-menu): Add `highlight-symbol-at-point'.
14056 (hi-lock-mode): Doc fix.
14058 * isearch.el (isearch-forward-symbol-at-point): New command.
14059 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14060 (isearch-highlight-regexp): Add a regexp which matches
14061 words/symbols for word/symbol mode.
14063 * subr.el (find-tag-default-bounds): New function with the body
14064 mostly moved from `find-tag-default'.
14065 (find-tag-default): Move most code to `find-tag-default-bounds',
14066 call it and apply `buffer-substring-no-properties' afterwards.
14068 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14070 * eshell/em-term.el (eshell-term-initialize):
14071 Use `cl-intersection' rather than `intersection'.
14073 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14075 * vc/log-view.el: Doc fix.
14076 (log-view-mode-map): Copy keymap from `special-mode-map'.
14078 2013-06-02 Eric Ludlam <zappo@gnu.org>
14080 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14081 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14082 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14083 (eieio-unbound, eieio-default-superclass)
14084 (eieio--define-field-accessors, method-static, method-before)
14085 (method-primary, method-after, method-num-lists)
14086 (method-generic-before, method-generic-primary)
14087 (method-generic-after, method-num-slots)
14088 (eieio-specialized-key-to-generic-key)
14089 (eieio--check-type, class-v, class-p)
14090 (eieio-class-name, define-obsolete-function-alias)
14091 (eieio-class-parents-fast, eieio-class-children-fast)
14092 (same-class-fast-p, class-constructor, generic-p)
14093 (generic-primary-only-p, generic-primary-only-one-p)
14094 (class-option-assoc, class-option, eieio-object-p)
14095 (class-abstract-p, class-method-invocation-order)
14096 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14097 (eieio-class-un-autoload, eieio-defclass)
14098 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14099 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14100 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14101 (eieio-defgeneric-reset-generic-form)
14102 (eieio-defgeneric-form-primary-only)
14103 (eieio-defgeneric-reset-generic-form-primary-only)
14104 (eieio-defgeneric-form-primary-only-one)
14105 (eieio-defgeneric-reset-generic-form-primary-only-one)
14106 (eieio-unbind-method-implementations)
14107 (eieio--defmethod, eieio--typep)
14108 (eieio-perform-slot-validation, eieio-validate-slot-value)
14109 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14110 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14111 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14112 (eieio-slot-name-index, eieio-class-slot-name-index)
14113 (eieio-set-defaults, eieio-initarg-to-attribute)
14114 (eieio-attribute-to-initarg, eieio-c3-candidate)
14115 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14116 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14117 (eieio-class-precedence-list, eieio-generic-call-methodname)
14118 (eieio-generic-call-arglst, eieio-generic-call-key)
14119 (eieio-generic-call-next-method-list)
14120 (eieio-pre-method-execution-functions, eieio-generic-call)
14121 (eieio-generic-call-primary-only, eieiomt-method-list)
14122 (eieiomt-optimizing-obarray, eieiomt-install)
14123 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14124 (eieio-generic-form, eieio-defmethod, make-obsolete)
14125 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14126 (defclass): Remove `eval-and-compile' from macro.
14127 (call-next-method, shared-initialize): Instead of using
14128 `scoped-class' variable, use new eieio--scoped-class, and
14129 eieio--with-scoped-class.
14130 (initialize-instance): Rename local variable 'scoped-class' to
14131 'this-class' to remove ambiguitity from old global.
14133 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14135 (eieio--scoped-class-stack): New variable.
14136 (eieio--scoped-class): New fcn.
14137 (eieio--with-scoped-class): New scoping macro.
14138 (eieio-defclass): Use pushnew instead of add-to-list.
14139 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14140 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14141 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14142 `scoped-class' variable, use new eieio--scoped-class, and
14143 eieio--with-scoped-class.
14145 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14147 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14149 * eshell/esh-ext.el (eshell-external-command): Pass args to
14150 `eshell-find-interpreter'.
14151 (eshell-find-interpreter): Add new second parameter ARGS.
14153 * eshell/em-script.el (eshell-script-initialize): Add second arg
14154 to the function added as MATCH to `eshell-interpreter-alist'.
14156 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14157 the function added as MATCH to `eshell-interpreter-alist'.
14159 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14160 (eshell-visual-options): New defcustom.
14161 (eshell-escape-control-x): Adapt docstring.
14162 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14163 `eshell-visual-options' in addition to `eshell-visual-commands'.
14164 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14166 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14168 * progmodes/python.el (python-indent-block-enders): Add break,
14169 continue and raise keywords.
14171 2013-06-01 Glenn Morris <rgm@gnu.org>
14173 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14175 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14176 * progmodes/cc-cmds.el (delete-forward-p):
14177 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14178 * progmodes/cc-engine.el (buffer-syntactic-context):
14179 * progmodes/cc-fonts.el (face-property-instance):
14180 * progmodes/cc-mode.el (set-keymap-parents):
14181 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14182 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14183 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14184 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14185 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14187 * progmodes/cc-vars.el (other): Emacs has this widget since
14188 at least 21.1, so don't (re)define it.
14190 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14191 Replace the obsolete alias pcomplete-arg-quote-list.
14193 2013-06-01 Leo Liu <sdl.web@gmail.com>
14195 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14196 punctuation syntax.
14197 (inferior-octave-minimal-columns)
14198 (inferior-octave-last-column-width): New variables.
14199 (inferior-octave-track-window-width-change): New function.
14200 (inferior-octave-mode): Adjust column width so that Octave output,
14201 for example from 'ls', can fit into the window nicely.
14203 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14205 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14206 Highlight expansions inside regexp literals.
14208 2013-05-31 Glenn Morris <rgm@gnu.org>
14210 * obsolete/sym-comp.el (symbol-complete):
14211 Replace obsolete completion-annotate-function.
14213 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14215 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14217 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14218 New function, checks if point is inside a literal that allows
14219 expression expansion.
14220 (ruby-syntax-propertize-expansion): Use it.
14221 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14224 2013-05-30 Juri Linkov <juri@jurta.org>
14226 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14228 (isearch-invisible): New variable.
14229 (isearch-forward): Doc fix.
14230 (isearch-mode): Set `isearch-invisible'
14231 to the value of `search-invisible'.
14232 (isearch-toggle-case-fold): Doc fix.
14233 (isearch-toggle-invisible): New command.
14234 (isearch-query-replace): Let-bind `search-invisible'
14235 to the value of `isearch-invisible'.
14236 (isearch-search): Use `isearch-invisible' instead of
14237 `search-invisible'. Let-bind `search-invisible'
14238 to the value of `isearch-invisible'. (Bug#11378)
14240 2013-05-30 Juri Linkov <juri@jurta.org>
14242 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14243 call when `query-flag' is nil and `search-invisible' is non-nil.
14246 2013-05-30 Glenn Morris <rgm@gnu.org>
14248 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14250 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14251 (cc-require): Suppress spurious "noruntime" warnings.
14252 (cc-require-when-compile): Use fboundp, for sake of compiler.
14254 * progmodes/cc-mode.el: Move load of cc-vars before that of
14255 cc-langs (which in turn loads cc-vars), to quieten compiler.
14257 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14259 * paren.el: Simplify the code.
14260 (show-paren-mode): Always start the timer.
14261 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14262 (show-paren--overlay, show-paren--overlay-1): Rename from
14263 show-paren-overlay and show-paren-overlay-1, and initialize to an
14264 overlay rather than to nil.
14265 (show-paren-function): Misc cleanup and simplifications.
14267 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14269 * paren.el (show-paren-data-function): New hook.
14270 (show-paren--default): New function, extracted from show-paren-function.
14271 (show-paren-function): Use show-paren-data-function.
14273 2013-05-30 Glenn Morris <rgm@gnu.org>
14275 * ielm.el (ielm-map, ielm-complete-symbol):
14276 Use completion-at-point rather than obsolete functions.
14277 (inferior-emacs-lisp-mode): Doc fix.
14278 Set completion-at-point-functions, rather than
14279 comint-dynamic-complete-functions.
14281 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14282 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14283 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14285 * image.el (image-animated-p): Tweak definition.
14287 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14288 (rlogin-process-connection-type): Tweak default. Add set-after.
14289 (rlogin-host): Doc fix.
14290 (rlogin): Tweak prompt.
14291 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14293 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14294 * progmodes/tcl.el (inferior-tcl-mode-map):
14295 Use completion-at-point rather than obsolete alias.
14297 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14299 * minibuffer.el (read-file-name-completion-ignore-case):
14300 Move before completion--in-region, for eager macro expansion.
14302 2013-05-29 Juri Linkov <juri@jurta.org>
14304 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14305 for total count of matching lines. Add `global-matches' for total
14306 count of matches. Rename `matches' to `lines' for count of
14307 matching lines. Add `matches' for count of matches.
14308 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14309 to `prev-line' for line number of prev match endpt.
14310 Increment `matches' for every match. Print the number of
14311 matching lines in the header.
14312 (occur-context-lines): Rename `lines' to `curr-line'.
14313 Rename `prev-lines' to `prev-line'. (Bug#14017)
14315 2013-05-29 Juri Linkov <juri@jurta.org>
14317 * replace.el (perform-replace): Add `skip-read-only-count',
14318 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14319 Increment them for corresponding conditions and report the number
14320 of skipped occurrences in the final message. (Bug#11746)
14321 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14322 (replace-string, replace-regexp): Doc fix.
14324 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14326 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14328 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14329 prog-mode-map (bug#14504).
14331 2013-05-29 Leo Liu <sdl.web@gmail.com>
14333 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14334 (octave-help): Small simplification.
14336 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14337 off the highlight first.
14339 2013-05-29 Glenn Morris <rgm@gnu.org>
14341 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14342 Handle idlwave-last-system-routine-info-cons-cell being nil.
14344 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14345 (idlwave-write-paths): Simplify via with-temp-buffer.
14347 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14348 * emulation/cua-rect.el: Also load cua-base at run time.
14350 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14351 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14352 (cperl-imenu-on-info): Require imenu.
14354 2013-05-28 Alan Mackenzie <acm@muc.de>
14356 Handle "capitalised keywords" correctly.
14357 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14359 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14361 * eshell/em-unix.el: Add -r option to cp.
14363 2013-05-28 Glenn Morris <rgm@gnu.org>
14365 * vc/vc-arch.el (vc-exec-after): Declare.
14366 (vc-switches): Autoload.
14367 * vc/vc-bzr.el: No need to require vc when compiling.
14368 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14369 (vc-resynch-buffer, vc-dir-refresh): Declare.
14370 (vc-setup-buffer, vc-switches): Autoload.
14371 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14372 (vc-resynch-buffer): Declare.
14373 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14374 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14375 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14376 (grep-read-regexp, grep-read-files, grep-expand-template)
14377 (vc-dir-refresh): Declare.
14378 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14379 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14380 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14381 * vc/vc-mtn.el (vc-exec-after): Declare.
14382 (vc-switches): Autoload.
14383 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14384 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14385 (vc-file-tree-walk): Declare.
14386 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14387 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14388 (vc-tag-precondition, vc-rename-master): Autoload.
14389 * vc/vc-svn.el (vc-exec-after): Declare.
14390 (vc-switches, vc-setup-buffer): Autoload.
14391 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14393 (vc-resynch-buffer): Declare.
14395 * obsolete/fast-lock.el (byte-compile-warnings):
14396 Don't warn about obsolete features in this obsolete file.
14398 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14399 Move definition before use.
14401 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14402 (dun-unix-verbs): Remove dun-zippy.
14403 (dun-zippy): Remove function.
14405 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14407 2013-05-27 Juri Linkov <juri@jurta.org>
14409 * replace.el (replace-search): New function with code moved out
14410 from `perform-replace'.
14411 (replace-highlight, replace-dehighlight): Move function definitions
14412 up closer to `replace-search'. (Bug#11746)
14414 2013-05-27 Juri Linkov <juri@jurta.org>
14416 * replace.el (perform-replace): Ignore invisible matches.
14417 In addition to checking `query-replace-skip-read-only', also
14418 filter out matches by calling `run-hook-with-args-until-failure'
14419 on `isearch-filter-predicates', and also check `search-invisible'
14420 for t or call `isearch-range-invisible'.
14421 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14423 2013-05-27 Juri Linkov <juri@jurta.org>
14425 * isearch.el (isearch-filter-predicates): Rename from
14426 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14427 (isearch-message-prefix): Display text from the property
14428 `isearch-message-prefix' of the currently active filters.
14429 (isearch-search): Don't compare `isearch-filter-predicate' with
14430 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14431 on `isearch-filter-predicates'. Also check `search-invisible' for t
14432 or call `isearch-range-invisible'.
14433 (isearch-filter-visible): Make obsolete.
14434 (isearch-lazy-highlight-search):
14435 Call `run-hook-with-args-until-failure' on
14436 `isearch-filter-predicates' and use `isearch-range-invisible'.
14438 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14439 `isearch-filter-predicates' instead of `funcall'ing
14440 `isearch-filter-predicate'.
14441 (Info-mode): Set `Info-isearch-filter' to
14442 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14444 * dired-aux.el (dired-isearch-filter-predicate-orig):
14446 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14447 (dired-isearch-filenames-end): Add and remove
14448 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14449 instead of changing the value of `isearch-filter-predicate'.
14450 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14451 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14452 Put property `isearch-message-prefix' to "filename " on
14453 `dired-isearch-filter-filenames'.
14455 * wdired.el (wdired-change-to-wdired-mode):
14456 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14457 locally instead of changing `isearch-filter-predicate'.
14458 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14460 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14462 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14463 return the commit hash (Bug#14459). Also set the
14464 `vc-git-detached' property.
14465 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14466 (vc-git-mode-line-string): Use the same help-echo format whether
14467 in detached mode or not, because we know the actual revision now.
14468 When in detached mode, shorten the revision to 7 chars.
14470 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14472 * emacs-lisp/easy-mmode.el (define-minor-mode):
14473 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14474 mode hook and provide a docstring.
14476 2013-05-27 Alan Mackenzie <acm@muc.de>
14478 Remove spurious syntax-table text properties inserted by C-y.
14479 * progmodes/cc-mode.el (c-after-change): Also clear hard
14480 syntax-table property with value nil.
14482 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14484 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14485 when reading the events; the buffer layout shall not be changed.
14487 2013-05-27 Leo Liu <sdl.web@gmail.com>
14489 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14491 (inferior-octave-directory-tracker): Automatically re-sync
14493 (octave-help): Improve handling of 'See also'.
14495 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14497 * doc-view.el: Minor naming convention tweaks.
14498 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14500 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14501 even if there's no `display' property yet (bug#14435).
14503 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14505 * subr.el (unmsys--file-name): Rename from reveal-filename.
14507 * Makefile.in (custom-deps, finder-data, autoloads)
14508 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14509 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14510 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14512 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14514 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14515 error-completion on the first 2 args of condition-case (bug#14446).
14518 2013-05-25 Leo Liu <sdl.web@gmail.com>
14520 * comint.el (comint-previous-matching-input): Do not flood the
14521 *Messages* buffer with trivial messages.
14523 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14525 * progmodes/flymake.el (flymake-nop): Don't return a string.
14526 (flymake-set-at): Fix typo.
14528 * simple.el (read--expression): New function, extracted from
14529 eval-expression. Set completion-at-point-functions (bug#14465).
14530 (eval-expression, eval-minibuffer): Use it.
14532 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14534 * progmodes/flymake.el (flymake-save-buffer-in-file)
14535 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14536 (flymake-selected-frame, flymake-log, flymake-ins-after)
14537 (flymake-set-at, flymake-get-buildfile-from-cache)
14538 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14539 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14540 Refine the doc string.
14541 (flymake-get-file-name-mode-and-masks): Reformat.
14542 (flymake-get-real-file-name-function): Fix a minor bug.
14544 2013-05-24 Juri Linkov <juri@jurta.org>
14546 * progmodes/grep.el (grep-mode-font-lock-keywords):
14547 Support =linenumber= format used by git-grep for lines with
14548 function names. (Bug#13549)
14550 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14552 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14553 0 after a semi-colon; it works better for smie-auto-fill.
14554 (octave--indent-new-comment-line): New function.
14555 (octave-indent-new-comment-line): Use it (indirectly).
14556 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14557 modify comment-line-break-function.
14559 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14560 (smie-setup): Use add-function to set it.
14562 2013-05-24 Sam Steingold <sds@gnu.org>
14564 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14565 argument (before the `interactive' argument).
14567 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14569 * image-mode.el (image-mode-winprops): Add winprops to
14570 image-mode-winprops-alist before running
14571 image-mode-new-window-functions.
14572 * doc-view.el (doc-view-new-window-function): Don't delay
14573 doc-view-goto-page via timers (bug#14435).
14575 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14577 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14578 (doc-view-desktop-save-buffer): New function.
14579 (doc-view-restore-desktop-buffer): New function.
14580 (desktop-buffer-mode-handlers):
14581 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14583 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14584 `desktop-save-buffer' function.
14586 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14588 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14589 (tramp-gvfs-file-name-handler): Raise a user error when
14590 `tramp-gvfs-enabled' is nil.
14591 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14592 Do not raise a user error when loading package. (Bug#14447)
14594 * net/xesam.el: Move to obsolete/.
14596 2013-05-24 Glenn Morris <rgm@gnu.org>
14598 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14600 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14602 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14603 (Info-find-node, Man-getpage-in-background): Declare.
14605 * mail/unrmail.el (unrmail):
14606 Replace obsolete detect-coding-with-priority.
14608 * net/socks.el (socks-split-string): Use this rather than split-string.
14609 (socks-nslookup-host): Update for above change.
14610 (dynamic-choice, s5-dynamic-choice-match)
14611 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14612 Comment out unused code.
14614 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14615 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14616 (gud-tooltip-echo-area): Make obsolete.
14617 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14619 * progmodes/js.el (js--optimize-arglist): Declare.
14621 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14623 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14624 (ediff-window-C): Declare.
14626 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14627 Tweak requires to silence compiler.
14629 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14630 (he-search-string, he-tried-table, he-expand-list)
14631 (he-init-string, he-string-member, he-substitute-string)
14632 (he-reset-string): Declare.
14634 * obsolete/options.el (list-options): Use custom-variable-p,
14635 rather than obsolete alias.
14637 2013-05-23 Sam Steingold <sds@gnu.org>
14639 * simple.el (shell-command-on-region): Pass the `replace' argument
14640 down to `call-process-region' to comply with the doc as reported on
14641 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14643 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14645 * emacs-lisp/smie.el (smie-indent-forward-token)
14646 (smie-indent-backward-token): Handle string tokens (bug#14381).
14648 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14650 * ielm.el (ielm-menu): New menu.
14651 (inferior-emacs-lisp-mode): Set comment-start.
14653 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14655 * textmodes/reftex.el (reftex-ref-style-toggle):
14656 Fix deactivate action.
14658 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14659 Add cleveref macros.
14661 * textmodes/reftex-parse.el
14662 (reftex-locate-bibliography-files): Accept options for
14663 bibliography commands.
14664 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14665 Add addbibresource. Basic Biblatex support.
14667 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14669 * net/tramp-gvfs.el (top):
14670 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14671 when loading package. (Bug#14447)
14673 2013-05-23 Glenn Morris <rgm@gnu.org>
14675 * progmodes/js.el: No need to load comint when compiling.
14676 (ring-insert, comint-send-string, comint-send-input)
14677 (comint-last-input-end, ido-chop): Declare.
14679 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14680 * vc/ediff-mult.el: Adjust requires.
14681 (ediff-directories-internal, ediff-directory-revisions-internal)
14682 (ediff-patch-file-internal): Declare.
14683 * vc/ediff-ptch.el: Adjust requires.
14684 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14685 (ediff-find-file): Autoload.
14686 * vc/ediff-util.el: No need to load ediff when compiling.
14687 (ediff-regions-internal): Declare.
14688 * vc/ediff-wind.el: Adjust requires.
14689 (ediff-compute-toolbar-width): Define when compiling.
14690 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14691 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14692 (dired-get-filename, dired-get-marked-files)
14693 (ediff-last-dir-patch, ediff-patch-default-directory)
14694 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14695 (ediff-patch-buffer-internal): Declare.
14697 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14698 (ispell-process, ispell-buffer-local-words, lm-summary)
14699 (lm-section-start, lm-section-end): Declare.
14700 (checkdoc-ispell-init): Simplify.
14702 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14703 (he-string-member, he-reset-string, he-substitute-string): Declare.
14705 * eshell/em-ls.el: Adjust requires.
14706 (eshell-glob-regexp): Declare.
14707 * eshell/em-tramp.el: Adjust requires.
14708 (eshell-parse-command): Autoload.
14709 * eshell/em-xtra.el: Adjust requires.
14710 (eshell-parse-command): Autoload.
14711 * eshell/esh-ext.el: Adjust requires.
14712 (eshell-parse-command, eshell-close-handles): Autoload.
14713 * eshell/esh-io.el: Adjust requires.
14714 (eshell-output-filter): Autoload.
14715 * eshell/esh-util.el: No need to load tramp when compiling.
14716 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14718 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14719 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14720 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14721 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14722 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14723 * eshell/esh-opt.el, eshell/esh-proc.el:
14724 * eshell/esh-var.el: Adjust requires.
14725 * eshell/eshell.el: Do not require esh-util twice.
14726 (eshell-add-input-to-history): Declare.
14727 (eshell-command): Check history module is active before using it.
14729 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14731 2013-05-22 Leo Liu <sdl.web@gmail.com>
14733 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14735 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14737 * autorevert.el (auto-revert-notify-add-watch)
14738 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14739 it indicates changes in file modification time.
14741 2013-05-22 Glenn Morris <rgm@gnu.org>
14743 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14744 Always delete the autoloaded function from the noruntime and
14745 unresolved functions lists.
14747 * allout.el: No need to load epa, epg, overlay when compiling.
14748 (epg-context-set-passphrase-callback, epg-list-keys)
14749 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14750 (epg-key-user-id-list): Declare.
14752 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14753 (viper-set-parsing-style-toggling-macro)
14754 (viper-set-emacs-state-searchstyle-macros):
14755 Use called-interactively-p on Emacs.
14756 (viper-looking-back): Make it an obsolete alias. Update callers.
14757 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14758 Use looking-back rather than viper-looking-back.
14759 (viper-tmp-insert-at-eob, viper-enlarge-region)
14760 (viper-read-string-with-history, viper-register-to-point)
14761 (viper-append-to-register, viper-change-state-to-vi)
14762 (viper-backward-char-carefully, viper-forward-char-carefully)
14763 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14764 (viper-change-state-to-emacs): Declare.
14765 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14766 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14767 * emulation/viper-mous.el: Do not load viper-cmd.
14768 (viper-backward-char-carefully, viper-forward-char-carefully)
14769 (viper-forward-word, viper-adjust-window): Declare.
14771 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14773 * progmodes/idlw-help.el (idlwave-help-fontify):
14774 Use called-interactively-p.
14776 * term/w32console.el (w32-get-console-codepage)
14777 (w32-get-console-output-codepage): Declare.
14779 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14780 Remove unnecessary declarations.
14781 (dframe-message): Doc fix.
14783 * info.el (dframe-select-attached-frame, dframe-current-frame):
14786 * speedbar.el (speedbar-message): Make it an obsolete alias.
14787 Update all callers.
14788 (speedbar-with-attached-buffer)
14789 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14790 (speedbar-with-writable): Use backquote.
14791 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14792 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14793 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14794 rather than speedbar- aliases.
14795 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14796 (speedbar-make-specialized-keymap, speedbar-insert-button)
14797 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14798 (speedbar-do-function-pointer): Declare.
14799 (rmail-speedbar-button, rmail-speedbar-find-file)
14800 (rmail-speedbar-move-message):
14801 Use dframe-with-attached-buffer rather than speedbar- alias.
14802 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14803 (dframe-message, speedbar-make-specialized-keymap)
14804 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14805 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14806 (speedbar-insert-button, dframe-select-attached-frame)
14807 (dframe-maybee-jump-to-attached-frame)
14808 (speedbar-change-initial-expansion-list)
14809 (speedbar-previously-used-expansion-list-name): Declare.
14810 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14811 Use dframe-message, dframe-with-attached-buffer rather than
14813 (gud-sentinel): Silence compiler.
14814 * progmodes/vhdl-mode.el (speedbar-refresh)
14815 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14816 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14817 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14818 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14819 (speedbar-file-lists, speedbar-make-tag-line)
14820 (speedbar-line-directory, speedbar-goto-this-file)
14821 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14822 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14823 (speedbar-make-button, speedbar-reset-scanners)
14824 (speedbar-files-item-info, speedbar-line-text)
14825 (speedbar-find-file-in-frame, speedbar-set-timer)
14826 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14827 (speedbar-with-writable): Do not (re)define it.
14828 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14829 rather than speedbar- alias.
14831 2013-05-21 Leo Liu <sdl.web@gmail.com>
14833 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14835 (octave-mode): Tweak fill-nobreak-predicate.
14836 (inferior-octave-startup): Check process to avoid infinite loop.
14837 (inferior-octave): Pop to buffer first to show abornmal process
14840 2013-05-21 Glenn Morris <rgm@gnu.org>
14842 * printing.el (pr-menu-bar): Define when compiling.
14844 2013-05-21 Leo Liu <sdl.web@gmail.com>
14846 * progmodes/octave.el (octave-auto-fill): Remove.
14847 (octave-indent-new-comment-line): Improve.
14848 (octave-mode): Use auto fill mode through
14849 comment-line-break-function and fill-nobreak-predicate.
14850 (octave-goto-function-definition): Support DEFUN_DLD.
14851 (octave-beginning-of-defun): Small tweak.
14852 (octave-help): Show parent directory.
14854 2013-05-21 Glenn Morris <rgm@gnu.org>
14856 * files.el (dired-unmark):
14857 * progmodes/gud.el (gdb-input): Update declarations.
14859 * calculator.el (electric, ehelp): No need to load when compiling.
14860 (Electric-command-loop, electric-describe-mode): Declare.
14862 * doc-view.el (doc-view-current-converter-processes): Move before use.
14864 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14865 Move MODE-set-explicitly definition before use.
14867 * international/mule-diag.el (mule-diag):
14868 Don't use obsolete window-system-version.
14870 * mail/feedmail.el (smtpmail): No need to load when compiling.
14871 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14873 * mail/mail-utils.el (rfc822): No need to load when compiling.
14874 (rfc822-addresses): Autoload it.
14875 (mail-strip-quoted-names): Trivial simplification.
14877 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14878 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14880 * net/snmp-mode.el (tempo): Don't duplicate requires.
14882 * progmodes/prolog.el (info): No need to load when compiling.
14883 (comint): Require before shell requires it.
14884 (Info-goto-node): Autoload it.
14885 (Info-follow-nearest-node): Declare.
14886 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14888 * textmodes/artist.el (picture-mode-exit): Declare.
14890 * textmodes/reftex-parse.el (reftex-parse-from-file):
14891 Trivial rewrite so the compiler can parse it better.
14893 2013-05-20 Leo Liu <sdl.web@gmail.com>
14895 * progmodes/octave.el (octave-help-mode-map)
14896 (octave-help-mode-finish-hook): New variables.
14897 (octave-help-mode, octave-help-mode-finish): New functions.
14898 (octave-help): Use octave-help-mode.
14900 2013-05-20 Glenn Morris <rgm@gnu.org>
14902 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14904 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14906 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14907 start at point, so that expansion starting right after opening
14908 slash in a regexp is recognized.
14909 (ruby-syntax-before-regexp-re): New defvar, extracted from
14910 ruby-syntax-propertize-function. Since the value of this regexp
14911 is looked up at runtime now, we should be able to turn
14912 `ruby-syntax-methods-before-regexp' into a defcustom later.
14913 (ruby-syntax-propertize-function): Split regexp matching into two
14914 parts, for opening and closing slashes. That allows us to skip
14915 over string interpolations and support multiline regexps.
14916 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14917 for them, which calls `ruby-syntax-propertize-expansion'.
14918 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14919 call to `ruby-syntax-propertize-function'.
14920 (ruby-syntax-propertize-expansion): Extracted from
14921 `ruby-syntax-propertize-expansions'. Handles one expansion.
14922 (ruby-syntax-propertize-percent-literal): Leave point right after
14923 the percent symbol, so that the expression expansion rule can
14924 propertize the contents.
14925 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14927 (ruby-syntax-propertize-expansions): Remove.
14929 2013-05-18 Juri Linkov <juri@jurta.org>
14931 * man.el (Man-default-man-entry): Remove `-' from the end
14932 of the default value. (Bug#14400)
14934 2013-05-18 Glenn Morris <rgm@gnu.org>
14936 * comint.el (comint-password-prompt-regexp):
14937 Allow "password for XXX" where XXX contains colons (eg https://...).
14939 2013-05-18 Leo Liu <sdl.web@gmail.com>
14941 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14942 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14943 (octave-source-directories): Don't check process.
14944 (octave-source-directories, octave-find-definition): Doc fix.
14946 2013-05-18 Glenn Morris <rgm@gnu.org>
14948 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14949 Remove backspace/delete bindings. (Bug#14392)
14951 * cus-dep.el (custom-make-dependencies): Sort the output.
14952 (custom-versions-load-alist): Convert comment to doc.
14954 2013-05-17 Leo Liu <sdl.web@gmail.com>
14956 * newcomment.el (comment-search-backward): Stricter in finding
14957 comment start. (Bug#14303)
14959 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14960 (octave-comment-start-skip): Properly anchored.
14962 2013-05-17 Leo Liu <sdl.web@gmail.com>
14964 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14965 Clean up when turned off. (Bug#14395)
14966 (smie--highlight-matching-block-overlay): No longer buffer-local.
14967 (smie-highlight-matching-block): Adjust.
14969 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14971 Doc string fix for "nanoseconds" (Bug#14406).
14972 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14973 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14975 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14977 * calc/calc-units.el (math-extract-units): Preserve powers
14980 2013-05-17 Leo Liu <sdl.web@gmail.com>
14982 * subr.el (delete-consecutive-dups): New function.
14983 * ido.el (ido-set-matches-1): Use it.
14984 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14985 * ido.el (ido-remove-consecutive-dups): Remove.
14987 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14989 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14990 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14991 regexp-opt's `words'.
14993 2013-05-16 Leo Liu <sdl.web@gmail.com>
14995 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14996 (smie--highlight-matching-block-overlay)
14997 (smie--highlight-matching-block-lastpos)
14998 (smie--highlight-matching-block-timer): New variables.
14999 (smie-highlight-matching-block): New function.
15000 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15001 (smie-setup): Conditionally enable smie-blink-matching-open.
15003 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15005 Sync with upstream verilog-mode r840.
15006 * progmodes/verilog-mode.el (verilog-mode-version)
15007 (verilog-mode-release-date): Update.
15008 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15009 (verilog-sig-tieoff): Fix string error on
15010 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15011 (verilog-read-decls): Fix parameters confusing
15012 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15014 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15016 * subr.el (reveal-filename): New function.
15018 * loadup.el: Compute Emacs executable versions on MS-Windows,
15019 where executables have the .exe extension. Add a hard link
15020 emacs-XX.YY.ZZ.exe on MS-Windows.
15022 * Makefile.in (XARGS_LIMIT): New variable.
15023 (custom-deps, finder-data, autoloads)
15024 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15025 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15026 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15027 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15029 2013-05-16 Leo Liu <sdl.web@gmail.com>
15031 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15032 (octave-mode-menu, octave-mode-map): Remove its uses.
15034 2013-05-16 Reto Zimmermann <reto@gnu.org>
15036 Sync with upstream vhdl mode v3.34.2.
15037 * progmodes/vhdl-mode.el: Use `push' throughout.
15038 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15039 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15040 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15041 (vhdl-actual-generic-name): New option to derive actual generic name.
15042 (vhdl-port-paste-signals): Replace formal by actual generics.
15043 (vhdl-beautify): New name for old group vhdl-align. Update users.
15044 (vhdl-beautify-options): New option.
15045 (vhdl-last-input-event): New compat alias. Use throughout.
15046 (vhdl-goto-line): Replace user level function `goto-line'.
15047 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15048 vhdl-fix-statement-buffer.
15049 (vhdl-create-mode-menu): Add some entries.
15050 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15051 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15052 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15053 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15054 to force statements on one line.
15055 (vhdl-remove-trailing-spaces-region):
15056 New, split from vhdl-remove-trailing-spaces.
15057 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15058 Respect vhdl-beautify-options.
15059 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15060 (vhdl-update-sensitivity-list): Not add with index if exists without.
15061 Not include array index with signal. Ignore keywords in comments.
15062 (vhdl-get-visible-signals): Regexp tweaks.
15063 (vhdl-template-component-inst): Handle empty library.
15064 (vhdl-template-type): Add template for 'enum' type.
15065 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15066 Use vhdl-replace-string.
15067 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15068 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15069 (vhdl-speedbar-initialize): Update for above name change.
15070 (vhdl-compose-wire-components): Fix in handling of constants.
15071 (vhdl-error-regexp-emacs-alist): New variable.
15072 (vhdl-error-regexp-add-emacs): New function;
15073 adds support for new compile.el (Emacs 22+)
15074 (vhdl-generate-makefile-1): Change target order for single lib. units.
15075 Allow use of absolute file names.
15077 2013-05-16 Leo Liu <sdl.web@gmail.com>
15079 * simple.el (prog-indent-sexp): Indent enclosing defun.
15081 2013-05-15 Glenn Morris <rgm@gnu.org>
15083 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15084 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15085 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15086 (whitespace-highlight): Move to whitespace group.
15088 * comint.el (comint-source):
15089 * pcmpl-linux.el (pcmpl-linux):
15090 * shell.el (shell-faces):
15091 * eshell/esh-opt.el (eshell-opt):
15092 * international/ccl.el (ccl): Remove empty custom groups.
15094 * completion.el (dynamic-completion-mode):
15095 * jit-lock.el (jit-lock-debug-mode):
15096 * minibuffer.el (completion-in-region-mode):
15097 * type-break.el (type-break-mode-line-message-mode)
15098 (type-break-query-mode):
15099 * emulation/tpu-edt.el (tpu-edt-mode):
15100 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15101 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15102 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15104 * term/xterm.el (xterm): Change parent group to terminals.
15106 * master.el (master): Remove empty custom group.
15107 (master-mode): Remove unused :group argument.
15108 * textmodes/refill.el (refill): Remove empty custom group.
15109 (refill-mode): Remove unused :group argument.
15111 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15113 * cus-dep.el: Provide a feature.
15114 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15115 Don't mistakenly ignore files whose basenames match a basename
15116 from preloaded-file-list (eg cedet/ede/simple.el).
15117 Add a fallback method for getting :group.
15119 2013-05-15 Juri Linkov <juri@jurta.org>
15121 * isearch.el (isearch-char-by-name): Rename from
15122 `isearch-insert-char-by-name'. Doc fix.
15123 (isearch-forward): Mention `isearch-char-by-name' in
15124 the docstring. (Bug#13348)
15126 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15127 `exit-minibuffer' instead of
15128 `isearch-nonincremental-exit-minibuffer'.
15129 (isearch-edit-string): Remove mention of
15130 `isearch-nonincremental-exit-minibuffer' from docstring.
15131 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15132 (isearch-forward-exit-minibuffer)
15133 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15135 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * loadup.el: Just use unversioned DOC.
15139 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15140 literals as extending to EOB.
15141 (nxml-last-fontify-end): Remove unused variable.
15142 (nxml-after-change1): Use with-silent-modifications.
15143 (nxml-extend-after-change-region): Simplify.
15144 (nxml-extend-after-change-region1): Remove function.
15145 (nxml-after-change1): Don't adjust for dependent regions.
15146 (nxml-fontify-matcher): Simplify.
15147 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15148 (xmltok-add-dependent): Remove function.
15149 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15150 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15151 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15152 unclosed <[[, <?, comment, and other literals as extending to EOB.
15153 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15154 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15156 (rng-do-some-validation-1): Don't mark dependent regions.
15157 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15158 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15159 (nxml-clear-dependent-regions): Remove functions.
15160 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15161 (nxml-ensure-scan-up-to-date):
15162 Don't clear&mark dependent regions.
15164 2013-05-15 Leo Liu <sdl.web@gmail.com>
15166 * progmodes/octave.el (octave-goto-function-definition):
15167 Improve and fix callers.
15169 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15171 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15172 the setter (bug#14387).
15174 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15175 surrounding group (bug#14402).
15177 2013-05-14 Juri Linkov <juri@jurta.org>
15179 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15182 2013-05-14 Glenn Morris <rgm@gnu.org>
15184 * progmodes/f90.el (f90-imenu-generic-expression):
15185 Fix typo in 2013-05-08 change. (Bug#14402)
15187 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15189 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15190 Remove signals for which replies are never received.
15192 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15194 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15195 (gdb-handler-alist, gdb-handler-number): Remove variables.
15196 (gdb-handler-list): New variable.
15197 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15198 (gdb-pending-handler-p, gdb-handle-reply)
15199 (gdb-remove-all-pending-triggers): New functions.
15200 (gdb-discard-unordered-replies): New defcustom.
15201 (gdb-handler): New defstruct.
15202 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15203 instead of gdb-pending-triggers. Update docstring.
15204 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15205 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15206 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15207 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15208 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15209 (gdb-frame-handler): Pending triggers are now automatically managed.
15210 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15212 (gdb-input): Automatically handles pending triggers. Update docstring.
15213 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15214 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15216 (gdb-done-or-error): Now use gdb-handle-reply.
15218 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15220 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15223 2013-05-14 Glenn Morris <rgm@gnu.org>
15225 * subr.el (user-emacs-directory-warning): New option.
15226 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15228 2013-05-14 Leo Liu <sdl.web@gmail.com>
15230 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15232 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15233 (octave-font-lock-texinfo-comment): Fix invalid search bound
15234 error: wrong side of point.
15236 2013-05-14 Glenn Morris <rgm@gnu.org>
15238 * progmodes/flymake.el (flymake-xml-program): New option.
15239 (flymake-xml-init): Use it.
15241 * term/xterm.el: Provide a feature.
15243 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15245 2013-05-13 Glenn Morris <rgm@gnu.org>
15247 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15248 Add compat aliases as a hack workaround. (Bug#14384)
15250 2013-05-13 Leo Liu <sdl.web@gmail.com>
15252 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15254 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15256 (octave-comment-start-skip): Include %!.
15257 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15259 2013-05-12 Leo Liu <sdl.web@gmail.com>
15261 * progmodes/octave.el (inferior-octave-startup): Store the value
15262 of __octave_srcdir__ for octave-source-directories.
15263 (inferior-octave-check-process): New function refactored out of
15264 inferior-octave-send-list-and-digest.
15265 (octave-source-directories)
15266 (octave-find-definition-filename-function): New variables.
15267 (octave-source-directories)
15268 (octave-find-definition-default-filename): New functions.
15269 (octave-find-definition): Improve to find functions implemented in C++.
15271 2013-05-12 Glenn Morris <rgm@gnu.org>
15273 * calendar/diary-lib.el (diary-outlook-format-1):
15274 Don't include dayname in the output. (Bug#14349)
15276 2013-05-11 Glenn Morris <rgm@gnu.org>
15278 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15280 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15281 Treat cc-provide like provide.
15283 2013-05-11 Kevin Ryde <user42@zip.com.au>
15285 * cus-dep.el (custom-make-dependencies):
15286 Use generated-autoload-load-name for the sake of files such
15287 such cedet/semantic/bovine/c.el, where the base file name
15288 is not in load-path. (Bug#5277)
15290 2013-05-11 Glenn Morris <rgm@gnu.org>
15292 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15295 2013-05-11 Leo Liu <sdl.web@gmail.com>
15297 * progmodes/octave.el (octave-indent-comment): Improve.
15298 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15299 (octave-eldoc-function-signatures, octave-eldoc-function):
15301 (octave-mode, inferior-octave-mode): Add eldoc support.
15303 2013-05-11 Richard Stallman <rms@gnu.org>
15305 * epa.el (epa-decrypt-file): Take output file name as argument
15306 and read it using `interactive'.
15308 2013-05-11 Leo Liu <sdl.web@gmail.com>
15310 * progmodes/octave.el (octave-beginning-of-line)
15311 (octave-end-of-line): Check before using up-list because it jumps
15312 out of more syntactic contructs since moving to smie.
15313 (octave-indent-comment): New function.
15314 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15315 (octave-begin-keywords, octave-end-keywords)
15316 (octave-reserved-words, octave-smie-bnf-table)
15317 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15319 2013-05-11 Glenn Morris <rgm@gnu.org>
15321 * faces.el (internal-face-x-get-resource):
15322 * frame.el (ns-display-monitor-attributes-list):
15323 * calc/calc-aent.el (math-to-radians-2):
15324 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15327 * calc/calc-menu.el: Make it loadable in isolation.
15329 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15330 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15331 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15332 (eudc-bbdb-query-internal): Require 'bbdb.
15334 * lpr.el (lpr-headers-switches):
15335 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15337 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15339 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15341 * term.el (term-set-escape-char): Make it idempotent.
15343 2013-05-10 Leo Liu <sdl.web@gmail.com>
15345 * progmodes/octave.el (inferior-octave-completion-table):
15346 No longer a function and all uses changed. Use cache to speed up
15347 completion due to bug#11906.
15348 (octave-beginning-of-defun): Re-write to be more general.
15350 2013-05-10 Glenn Morris <rgm@gnu.org>
15352 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15354 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15356 * comint.el (comint-redirect-send-command-to-process): Use :around
15357 rather than :override for comint-redirect-filter.
15358 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15359 Call it instead of comint-redirect-original-filter-function (which
15360 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15362 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15364 * frame.el (display-monitor-attributes-list): Add NS case.
15365 (ns-display-monitor-attributes-list): Declare.
15367 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15369 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15371 2013-05-09 Glenn Morris <rgm@gnu.org>
15373 * international/fontset.el (vertical-centering-font-regexp):
15374 Set standard-value.
15376 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15378 * bookmark.el (bookmark-search-delay):
15379 * cus-start.el (vertical-centering-font-regexp):
15380 * ps-mule.el (ps-mule-font-info-database-default):
15381 * ps-print.el (ps-default-fg, ps-default-bg):
15382 * type-break.el (type-break-good-break-interval):
15383 * whitespace.el (whitespace-indentation-regexp)
15384 (whitespace-space-after-tab-regexp):
15385 * emacs-lisp/testcover.el (testcover-1value-functions)
15386 (testcover-noreturn-functions, testcover-progn-functions)
15387 (testcover-prog1-functions):
15388 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15389 * eshell/em-glob.el (eshell-glob-translate-alist):
15390 * play/tetris.el (tetris-tty-colors):
15391 * progmodes/cpp.el (cpp-face-default-list):
15392 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15393 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15394 (idlwave-help-browser-generic-args):
15395 * progmodes/make-mode.el (makefile-special-targets-list):
15396 * progmodes/python.el (python-shell-virtualenv-path):
15397 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15398 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15399 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15400 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15401 * textmodes/reftex-vars.el (reftex-format-label-function):
15402 * textmodes/remember.el (remember-diary-file): Fix custom types.
15404 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15407 2013-05-09 Leo Liu <sdl.web@gmail.com>
15409 * progmodes/octave.el (inferior-octave-completion-at-point):
15410 Restore file completion. (Bug#14300)
15411 (inferior-octave-startup): Fix incorrect highlighting for the
15414 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15416 * progmodes/ruby-mode.el: First cut at SMIE support.
15417 (ruby-use-smie): New var.
15418 (ruby-smie-grammar): New constant.
15419 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15420 (ruby-smie--forward-token, ruby-smie--backward-token)
15421 (ruby-smie-rules): New functions.
15422 (ruby-mode-variables): Setup SMIE if applicable.
15424 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15426 * simple.el (line-move-visual): Signal beginning/end of buffer
15427 only if vertical-motion moved less than it was requested. Avoids
15428 silly incorrect error messages when there are display strings with
15429 multiple newlines at EOL.
15431 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15433 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15434 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15435 (prolog-char-quote-workaround):
15436 * progmodes/cperl-mode.el (cperl-under-as-char):
15437 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15439 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15441 (vhdl-mode-syntax-table-init): Remove.
15443 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15446 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15448 (ld-script-font-lock-keywords):
15449 Change regexps to use things like \_< and \_>.
15451 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15452 Change all regexps to use things like \_< and \_>.
15454 * progmodes/autoconf.el (autoconf-definition-regexp)
15455 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15456 Handle a _ with symbol syntax.
15457 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15459 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15460 Consolidate declaration.
15461 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15463 (ada-create-syntax-table): Remove.
15464 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15465 already has the right syntax nowadays.
15466 (ada-goto-next-word): Don't change the syntax of "_".
15468 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15471 2013-05-08 Sam Steingold <sds@gnu.org>
15473 * thingatpt.el (thing-at-point): Accept optional second argument
15474 NO-PROPERTIES to strip the text properties from the return value.
15475 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15476 to `thing-at-point' instead of stripping the properties ourselves.
15477 Also, when `thing-at-point' fails to find a url, prepend "http://"
15478 to the filename at point on the assumption that the user is
15479 pointing at something like gnu.org/gnu.
15481 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15483 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15484 * faces.el (crm-separator):
15485 Silence byte-compiler.
15487 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15488 (tool-bar-map): Remove unneeded defvars.
15490 2013-05-08 Leo Liu <sdl.web@gmail.com>
15492 Re-work a fix for bug#10994 based on Le Wang's patch.
15493 * ido.el (ido-remove-consecutive-dups): New helper.
15494 (ido-completing-read): Use it.
15495 (ido-chop): Revert fix for bug#10994.
15497 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15499 * cus-edit.el (custom-save-variables):
15500 Pretty-print long values. (Bug#14187)
15502 2013-05-08 Glenn Morris <rgm@gnu.org>
15504 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15505 (m4-mode-syntax-table): Init in the defvar.
15506 (m4-mode-abbrev-table): Let define-derived-mode define it.
15508 2013-05-08 Tom Tromey <tromey@redhat.com>
15510 * progmodes/m4-mode.el (m4-mode-syntax-table):
15511 Do not treat "_" as word constituent. (Bug#14167)
15513 2013-05-07 Glenn Morris <rgm@gnu.org>
15515 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15516 Remove explicit eshell-isearch-cancel-map.
15518 * progmodes/f90.el (f90-smart-end-names): New option.
15519 (f90-smart-end): Doc fix.
15520 (f90-end-block-optional-name): New constant.
15521 (f90-block-match): Respect f90-smart-end-names.
15523 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15525 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15526 about implicit semi-colons (bug#14218).
15528 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15530 * frame.el (display-monitor-attributes-list)
15531 (frame-monitor-attributes): New functions.
15533 2013-05-06 Leo Liu <sdl.web@gmail.com>
15535 * progmodes/octave.el (octave-syntax-propertize-function): Change
15536 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15537 (octave-font-lock-keywords): Use octave-operator-regexp.
15538 (octave-completion-at-point): Rename from
15539 octave-completion-at-point-function.
15540 (inferior-octave-directory-tracker): Robustify.
15541 (octave-text-functions): Remove and fix its uses. No such things
15544 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15546 * emacs-lisp/trace.el (trace--display-buffer): New function.
15547 (trace-make-advice): Use it.
15549 2013-05-06 Juri Linkov <juri@jurta.org>
15551 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15552 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15554 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15555 in the help string. (Bug#12985)
15557 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15559 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15561 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15563 * progmodes/perl-mode.el: Add support for here documents.
15564 (perl-syntax-propertize-function): Match here-doc markers.
15565 (perl-syntax-propertize-special-constructs): Find their end.
15566 (perl-imenu-generic-expression): Use [:alnum:].
15568 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15569 (advice--add-function): Refresh the advice if already present
15572 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15574 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15576 2013-05-06 Glenn Morris <rgm@gnu.org>
15578 * w32-fns.el (w32-charset-info-alist): Declare.
15580 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15581 of its defcustom properties.
15582 (eshell-cmpl-initialize): No need to load pcomplete.
15584 * generic-x.el: No need to require comint when compiling.
15586 * net/eudc-export.el: Make it loadable without bbdb.
15587 (top-level): Use require rather than load-library.
15588 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15589 (eudc-batch-export-records-to-bbdb)
15590 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15593 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15595 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15596 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15597 some tweaks, instead.
15599 2013-05-05 Leo Liu <sdl.web@gmail.com>
15601 * progmodes/octave.el (octave-font-lock-keywords)
15602 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15603 (inferior-octave-send-list-and-digest): Improve error message.
15604 (octave-mode, inferior-octave-mode): Use setq-local.
15605 (octave-help): Set info-lookup-mode.
15607 2013-05-05 Richard Stallman <rms@gnu.org>
15609 * vc/compare-w.el (compare-windows-whitespace):
15610 Treat no-break space as whitespace.
15612 * mail/rmailsum.el (rmail-summary-rmail-update):
15613 Detect empty summary and don't change selected message.
15614 (rmail-summary-goto-msg): Likewise.
15616 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15617 Doc fixes, rename args.
15619 2013-05-05 Alan Mackenzie <acm@muc.de>
15621 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15623 2013-05-05 Juri Linkov <juri@jurta.org>
15625 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15626 to not add the length of the summary segment to the return value.
15629 2013-05-05 Leo Liu <sdl.web@gmail.com>
15631 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15632 (inferior-octave-output-filter): Remove.
15633 (octave-send-region, inferior-octave-startup): Fix callers.
15634 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15635 (octave-binary-file-extensions): New user variable.
15636 (octave-find-definition): Confirm if opening binary files.
15637 (octave-help-file): Use octave-find-definition to get the binary
15639 (octave-help): Adjust for octave-help-file change.
15641 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15643 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15644 Merge the two entries that handle function definitions.
15645 (pascal--syntax-propertize): New const.
15646 (pascal-mode): Use it. Use setq-local.
15648 2013-05-04 Glenn Morris <rgm@gnu.org>
15650 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15651 (diary-from-outlook): Respect diary-from-outlook-function.
15653 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15655 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15656 Move the declaration from C.
15657 (read-minibuffer, eval-minibuffer): Move from C.
15658 (completion-setup-function): Avoid minibuffer-completion-contents.
15660 2013-05-03 Leo Liu <sdl.web@gmail.com>
15662 * progmodes/octave.el (octave-font-lock-keywords): Do not
15663 dehighlight 'end' in comments or strings.
15664 (octave-completing-read, octave-goto-function-definition):
15666 (octave-help-buffer): New user variable.
15667 (octave-help-file, octave-help-function): New button types.
15668 (octave-help): New command and bind it to C-h ;.
15669 (octave-find-definition): New command and bind it to M-.
15670 (user-error): Alias to error if not defined.
15672 2013-05-02 Leo Liu <sdl.web@gmail.com>
15674 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15676 (octave-font-lock-keywords): Include [ and {.
15678 2013-05-02 Leo Liu <sdl.web@gmail.com>
15680 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15681 (inferior-octave): Remove calling comint-mode and return the buffer.
15682 (inferior-octave-startup): Cosmetic changes.
15684 2013-05-02 Leo Liu <sdl.web@gmail.com>
15686 * progmodes/octave.el (octave-syntax-propertize-function):
15687 Include the case when ' is at line beginning. (Bug#14336)
15689 2013-05-02 Glenn Morris <rgm@gnu.org>
15691 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15692 * desktop.el (vc-dir-mode): Just autoload it here.
15694 2013-05-02 Alan Mackenzie <acm@muc.de>
15696 Eliminate variable c-standard-font-lock-fontify-region-function.
15697 * progmodes/cc-mode.el
15698 (c-standard-font-lock-fontify-region-function): Remove.
15699 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15701 2013-05-01 Leo Liu <sdl.web@gmail.com>
15703 * progmodes/octave.el: Compatible with older emacs-24 releases.
15704 (inferior-octave-has-built-in-variables): Remove. Built-in
15705 variables were removed from Octave in 2007.
15706 (inferior-octave-startup): Fix uses.
15707 (comint-line-beginning-position): Remove compatibility code for
15710 2013-05-01 Juri Linkov <juri@jurta.org>
15712 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15714 2013-05-01 Juri Linkov <juri@jurta.org>
15716 * comint.el (comint-previous-matching-input): Don't print message
15717 "History item: %d" when `isearch-mode' is active.
15718 (comint-history-isearch-message): Print message "History item: %d"
15719 when `comint-input-ring-index' is not empty and this function is
15720 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15722 2013-05-01 Leo Liu <sdl.web@gmail.com>
15724 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15725 definitions. Use completion-at-point to insert keywords.
15726 (octave-abbrev-start): Remove.
15727 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15729 2013-04-30 Leo Liu <sdl.web@gmail.com>
15731 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15734 2013-04-30 Alan Mackenzie <acm@muc.de>
15736 Handle arbitrarily long C++ member initialisation lists.
15737 * progmodes/cc-engine.el (c-back-over-member-initializers):
15739 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15740 (most) member init lists.
15742 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15744 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15747 2013-04-30 Leo Liu <sdl.web@gmail.com>
15749 * progmodes/octave.el (octave-variables): Remove. No builtin
15750 variables any more. All converted to functions.
15751 (octave-font-lock-keywords, octave-completion-at-point-function):
15753 (octave-font-lock-texinfo-comment): New user variable.
15754 (octave-texinfo-font-lock-keywords): New variable for texinfo
15756 (octave-function-comment-block): New face.
15757 (octave-font-lock-texinfo-comment): New function.
15758 (octave-mode): Font lock texinfo comment block.
15760 2013-04-29 Leo Liu <sdl.web@gmail.com>
15762 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15763 indexing expression.
15764 (octave-continuation-string): Do not use \.
15765 (inferior-octave-complete-impossible): Remove.
15766 (inferior-octave-completion-table)
15767 (inferior-octave-completion-at-point): Remove its uses.
15768 (inferior-octave-startup): completion_matches was introduced to
15769 Octave in 1996 so safe to assume it.
15770 (octave-function-file-comment): Improve to follow how Octave does it.
15771 (octave-update-function-file-comment): Tweak.
15773 2013-04-29 Leo Liu <sdl.web@gmail.com>
15775 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15776 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15777 (octave-function-file-comment): Fix typo.
15778 (octave-sync-function-file-names): Use read-char-choice.
15780 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15782 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15783 to t for the less important warnings.
15785 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15787 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15789 2013-04-27 Glenn Morris <rgm@gnu.org>
15791 * vc/log-view.el (log-view-current-entry):
15792 Treat "---" separator lines as part of the following rev. (Bug#14169)
15794 2013-04-27 Juri Linkov <juri@jurta.org>
15796 * subr.el (read-number): Doc fix about using it by interactive
15797 code letter `n'. (Bug#14254)
15799 2013-04-27 Juri Linkov <juri@jurta.org>
15801 * desktop.el (desktop-auto-save-timeout): New option.
15802 (desktop-file-checksum): New variable.
15803 (desktop-save): Add optional arg `auto-save' and don't auto-save
15804 if nothing changed.
15805 (desktop-auto-save-timer): New variable.
15806 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15807 (after-init-hook): Call `desktop-auto-save-set-timer'.
15808 Suggested by Reuben Thomas <rrt@sc3d.org> in
15809 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15811 2013-04-27 Leo Liu <sdl.web@gmail.com>
15813 * progmodes/octave.el (octave-function-file-p)
15814 (octave-skip-comment-forward, octave-function-file-comment)
15815 (octave-update-function-file-comment): New functions.
15816 (octave-mode-map): Bind C-c ; to
15817 octave-update-function-file-comment.
15818 (octave-mode-menu): Add octave-update-function-file-comment.
15819 (octave-mode, inferior-octave-mode): Fix doc-string.
15820 (octave-insert-defun): Conform to Octave's coding convention.
15823 * files.el (basic-save-buffer): Don't let errors in
15824 before-save-hook prevent saving buffer.
15826 2013-04-20 Roland Winkler <winkler@gnu.org>
15828 * faces.el (read-face-name): Use completing-read if arg multiple
15831 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15833 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15834 displayed, move point to after the totals line.
15835 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15838 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15840 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15841 Add current dir to the load-path.
15842 (package-generate-autoloads): Don't rely on
15843 autoload-ensure-default-file.
15845 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15847 * textmodes/remember.el (remember-store-in-files): Document that
15848 the file name format is passed to `format-time-string'.
15850 2013-04-26 Leo Liu <sdl.web@gmail.com>
15852 * progmodes/octave.el (octave-sync-function-file-names): New function.
15853 (octave-mode): Use it in before-save-hook.
15855 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15857 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15860 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15861 \n and comment, even if it's not an implicit ; (bug#14218).
15863 2013-04-26 Glenn Morris <rgm@gnu.org>
15865 * subr.el (read-number): Once more use `read' rather than
15866 `string-to-number', to trap non-numeric input. (Bug#14254)
15868 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15870 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15871 Use `syntax-multiline' text property consistently instead of
15872 `font-lock-multiline'. (Bug#14237)
15874 2013-04-26 Glenn Morris <rgm@gnu.org>
15876 * emacs-lisp/shadow.el (list-load-path-shadows):
15877 No longer necessary to check for duplicate simple.el, since
15878 2012-07-07 change to init_lread to not include installation lisp
15879 directories in load-path when running uninstalled. (Bug#14270)
15881 2013-04-26 Leo Liu <sdl.web@gmail.com>
15883 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15884 (octave-mode, inferior-octave-mode): Use setq-local.
15885 (octave-not-in-string-or-comment-p): Rename to
15886 octave-in-string-or-comment-p.
15887 (octave-in-comment-p, octave-in-string-p)
15888 (octave-in-string-or-comment-p): Replace defsubst with defun.
15890 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15892 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15894 2013-04-25 Bastien Guerry <bzg@gnu.org>
15896 * textmodes/remember.el (remember-data-directory)
15897 (remember-directory-file-name-format): Fix custom types.
15899 2013-04-25 Leo Liu <sdl.web@gmail.com>
15901 * progmodes/octave.el (octave-completion-at-point-function):
15902 Make use of inferior octave process.
15903 (octave-initialize-completions): Remove.
15904 (inferior-octave-completion-table): New function.
15905 (inferior-octave-completion-at-point): Use it.
15906 (octave-completion-alist): Remove.
15908 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15910 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15911 (opascal-mode-syntax-table): New var.
15912 (opascal-literal-kind, opascal-is-literal-end)
15913 (opascal-literal-token-at): Rewrite.
15914 (opascal--literal-start-re, opascal-font-lock-keywords)
15915 (opascal--syntax-propertize): New constants.
15916 (opascal-font-lock-defaults): Adjust.
15917 (opascal-mode): Use them. Set comment-<foo> variables as well.
15918 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15919 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15920 (delphi-other-face, opascal-other-face): Remove face variables.
15921 (opascal-save-state): Remove macro.
15922 (opascal-fontifying-progress-step): Remove constant.
15923 (opascal--ignore-changes): Remove var.
15924 (opascal-set-token-property, opascal-parse-next-literal)
15925 (opascal-is-stable-literal, opascal-complete-literal)
15926 (opascal-is-literal-start, opascal-face-of)
15927 (opascal-parse-region, opascal-parse-region-until-stable)
15928 (opascal-fontify-region, opascal-after-change)
15929 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15930 (opascal-debug-parse-region, opascal-debug-parse-window)
15931 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15932 (opascal-debug-fontify-buffer): Remove.
15933 (opascal-debug-mode-map): Adjust accordingly.
15935 2013-04-25 Leo Liu <sdl.web@gmail.com>
15937 Merge octave-mod.el and octave-inf.el into octave.el with some
15939 * progmodes/octave.el: New file renamed from octave-mod.el.
15940 * progmodes/octave-inf.el: Merged into octave.el.
15941 * progmodes/octave-mod.el: Renamed to octave.el.
15943 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15945 * textmodes/reftex-vars.el
15946 (reftex-label-ignored-macros-and-environments): New defcustom.
15948 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15950 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15952 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15953 (smie-indent-keyword): Improve the check to ensure that the next
15954 comment is really on the same line.
15955 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15957 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15958 semi-colons if the line is not otherwise empty (bug#14218).
15960 2013-04-25 Glenn Morris <rgm@gnu.org>
15962 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15964 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * progmodes/opascal.el (opascal-set-token-property): Rename from
15967 opascal-set-text-properties and only set `token' (bug#14134).
15968 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15969 (opascal-literal-text-properties): Remove.
15970 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15973 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15975 * textmodes/remember.el (remember-handler-functions): Add an
15976 option for a new handler `remember-store-in-files'.
15977 (remember-data-directory, remember-directory-file-name-format):
15979 (remember-store-in-files): New function to store remember notes
15980 as separate files within a directory.
15982 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15984 * progmodes/compile.el (compilation-next-error-function):
15985 Pass "formats" to compilation-find-file (bug#11777).
15987 2013-04-24 Glenn Morris <rgm@gnu.org>
15989 * vc/vc-bzr.el (vc-bzr-print-log):
15990 * vc/vc-hg.el (vc-hg-print-log):
15991 * vc/vc-svn.el (vc-svn-print-log):
15992 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15994 * vc/vc-bzr.el (vc-bzr-print-log):
15995 * vc/vc-cvs.el (vc-cvs-print-log):
15996 * vc/vc-git.el (vc-git-print-log):
15997 * vc/vc-hg.el (vc-hg-print-log):
15998 * vc/vc-mtn.el (vc-mtn-print-log):
15999 * vc/vc-rcs.el (vc-rcs-print-log):
16000 * vc/vc-sccs.el (vc-sccs-print-log):
16001 * vc/vc-svn.el (vc-svn-print-log):
16002 * vc/vc.el (vc-print-log-internal): Doc fixes.
16004 2013-04-23 Glenn Morris <rgm@gnu.org>
16006 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16007 Remove venerable code attempting to avoid substitute-command-keys.
16009 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16011 * textmodes/reftex-vars.el (reftex-label-regexps):
16012 Call `reftex-compile-variables' after changes to this variable.
16014 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16016 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16017 Use lexical-binding.
16018 (jit-lock-force-redisplay): Use markers, check buffer's continued
16019 existence and beware narrowed buffers.
16020 (jit-lock-fontify-now): Adjust call accordingly.
16022 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16024 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16025 to avoid misleading the user.
16027 2013-04-22 Leo Liu <sdl.web@gmail.com>
16029 * info-look.el: Prefer latex2e.info. (Bug#14240)
16031 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16033 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16035 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16036 * net/tramp.el (tramp-call-process): ... here.
16037 (tramp-set-completion-function, tramp-parse-putty):
16038 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16039 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16040 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16041 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16042 (tramp-call-local-coding-command): Use `tramp-call-process'
16043 instead of `tramp-compat-call-process'.
16045 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16046 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16047 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16048 (tramp-find-inline-compress): Improve traces.
16049 (tramp-maybe-send-script): Check for Perl binary.
16050 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16052 2013-04-22 Daiki Ueno <ueno@gnu.org>
16054 * epg.el (epg-context-pinentry-mode): New function.
16055 (epg-context-set-pinentry-mode): New function.
16056 (epg--start): Pass --pinentry-mode option to gpg command.
16058 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16060 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16061 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16062 `completion-at-point'. (Bug#13774)
16064 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16065 default key binding for `describe-distribution' has been moved to
16066 `C-h C-o'. (Bug#13970)
16068 2013-04-21 Glenn Morris <rgm@gnu.org>
16070 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16072 (vc-print-log): Clarify interactive prompt.
16074 2013-04-20 Glenn Morris <rgm@gnu.org>
16076 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16077 No longer include timestamp etc information.
16079 2013-04-20 Roland Winkler <winkler@gnu.org>
16081 * faces.el (read-face-name): Bug fix, return just one face if arg
16082 multiple is nil. (Bug#14209)
16084 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16086 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16087 (remove-function): Autoload.
16089 * comint.el (comint-redirect-original-filter-function): Remove.
16090 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16091 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16092 (vc-cvs-annotate-command):
16093 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16094 * progmodes/prolog.el (prolog-consult-compile):
16095 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16096 Use add/remove-function instead.
16097 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16098 (gud-tooltip-process-output, gud-tooltip-tips):
16099 Use add/remove-function instead.
16100 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16101 (scheme-interaction-mode, exit-scheme-interaction-mode):
16102 Use add/remove-function instead.
16104 * vc/vc-dispatcher.el: Use lexical-binding.
16105 (vc--process-sentinel): Rename from vc-process-sentinel.
16106 Change last arg to be the code to run. Don't use vc-previous-sentinel
16107 and vc-sentinel-commands any more.
16108 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16109 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16111 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16113 * progmodes/sh-script.el (sh-imenu-generic-expression):
16114 Handle function names with a single character. (Bug#14111)
16116 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16118 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16119 for subroutines defined in an eval (bug#14182).
16121 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16123 * bookmark.el (bookmark-completing-read): Improve handling of empty
16124 string (bug#14176).
16126 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16128 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16130 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16132 New faster Imenu implementation (bug#14058).
16133 * progmodes/python.el:
16134 (python-imenu-prev-index-position):
16135 (python-imenu-format-item-label-function)
16136 (python-imenu-format-parent-item-label-function)
16137 (python-imenu-format-parent-item-jump-label-function):
16139 (python-imenu-format-item-label)
16140 (python-imenu-format-parent-item-label)
16141 (python-imenu-format-parent-item-jump-label)
16142 (python-imenu--put-parent, python-imenu--build-tree)
16143 (python-imenu-create-index, python-imenu-create-flat-index)
16144 (python-util-popn): New functions.
16145 (python-mode): Set imenu-create-index-function to
16146 python-imenu-create-index.
16148 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16150 * winner.el (winner-active-region): Use region-active-p, activate-mark
16151 and deactivate-mark (bug#14225).
16153 * simple.el (deactivate-mark): Don't inline it.
16155 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16157 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16159 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16161 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16162 file extensions from the archive-mode entry in order to prefer
16163 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16165 2013-04-18 Leo Liu <sdl.web@gmail.com>
16167 * bindings.el (help-event-list): Add ?\?.
16169 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16171 * subr.el (with-wrapper-hook): Declare obsolete.
16172 * simple.el (filter-buffer-substring-function): New hook.
16173 (filter-buffer-substring): Use it.
16174 (filter-buffer-substring-functions): Mark obsolete.
16175 * minibuffer.el (completion-in-region-function): New hook.
16176 (completion-in-region): Use it.
16177 (completion-in-region-functions): Mark obsolete.
16178 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16179 * abbrev.el (abbrev-expand-function): New hook.
16180 (expand-abbrev): Use it.
16181 (abbrev-expand-functions): Mark obsolete.
16182 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16183 and :filter-return.
16185 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16187 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16188 and do not care about match data.
16190 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16192 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16193 completion tables when completing error conditions and
16194 `declare' arguments.
16195 (lisp-complete-symbol, field-complete): Mark as obsolete.
16196 (check-parens): Unmatched parens are user errors.
16197 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16199 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16201 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16202 command changed buffer (ie. `flyspell-pre-buffer' is not current
16203 buffer), which prevents making decisions based on invalid value of
16204 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16205 cause an error when `flyspell-pre-point' was nil after switching
16207 (flyspell-post-command-hook): No longer needs to change buffers when
16208 checking pre-word. While at it remove unnecessary progn.
16210 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16212 * textmodes/ispell.el (ispell-add-per-file-word-list):
16213 Fix `flyspell-correct-word-before-point' error when accepting
16214 words and `coment-padding' is an integer by using
16215 `comment-normalize-vars' (Bug #14214).
16217 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16219 New defun movement commands.
16220 * progmodes/python.el (python-nav--syntactically)
16221 (python-nav--forward-defun, python-nav-backward-defun)
16222 (python-nav-forward-defun): New functions.
16224 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16226 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16227 (python-syntax-context): Use named compiler-macro for backwards
16228 compatibility with Emacs 24.x.
16230 2013-04-17 Leo Liu <sdl.web@gmail.com>
16232 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16233 octave-hide-process-buffer.
16235 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16237 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16240 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16242 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16243 Fix adjustment of offset when receiving incomplete responses from GDB
16246 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16248 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16249 python-mode-abbrev-table.
16250 (python-skeleton-define): Adjust accordingly.
16251 (python-mode-abbrev-table): New table that inherits from it so that
16252 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16254 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16255 (abbrev-symbol): Use it.
16256 (abbrev--before-point): Use it since we already handle inheritance.
16258 2013-04-16 Leo Liu <sdl.web@gmail.com>
16260 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16261 binding to info-lookup-symbol.
16263 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16265 * minibuffer.el (completion--twq-all):
16266 * term/ns-win.el (ns-initialize-window-system):
16267 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16269 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16271 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16274 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16276 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16278 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16279 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16281 (ruby-end-of-defun): Remove the unused arg, change the docstring
16282 to reflect that this function is only used as the value of
16283 `end-of-defun-function'.
16284 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16285 to reflect an earlier change that beginning/end-of-defun functions
16286 jump between methods in a class definition, as well as top-level
16289 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16291 * minibuffer.el (minibuffer-complete): Don't just scroll
16292 a *Completions* that's been iconified.
16293 (minibuffer-force-complete): Make sure repetitions do cycle when going
16294 through completion-in-region -> minibuffer-complete.
16296 2013-04-15 Alan Mackenzie <acm@muc.de>
16298 Correct the placement of c-cpp-delimiters when there're #s not at
16301 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16302 place a submatch around the #.
16303 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16304 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16307 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16309 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16310 (advice--member-p): New arg `name'.
16311 (advice--add-function, advice-member-p): Use it (bug#14202).
16313 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16315 Reformulate java imenu-generic-expression.
16316 The old expression contained ill formed regexps.
16318 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16319 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16320 (cc-imenu-java-method-arg-regexp): New defconsts.
16321 (cc-imenu-java-build-type-args-regex): New defun.
16322 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16323 handling of spaces in the regexp.
16325 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16327 * textmodes/ispell.el (ispell-command-loop): Remove
16328 flyspell highlight of a word when ispell accepts it (bug #14178).
16330 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16332 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16333 uses code from the previous `ange-ftp-run-real-handler'.
16334 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16335 only in case that function exist. This is needed for proper
16336 unloading of Tramp.
16338 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16340 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16342 * textmodes/reftex.el (reftex-compile-variables): Use it.
16344 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16346 * files.el (normal-mode): Only use default major-mode if no other mode
16349 * emacs-lisp/trace.el (trace-values): New function.
16351 * files.el: Allow : in local variables (bug#14089).
16352 (hack-local-variable-regexp): New var.
16353 (hack-local-variables-prop-line, hack-local-variables): Use it.
16355 2013-04-13 Roland Winkler <winkler@gnu.org>
16357 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16358 data before it gets modified by bibtex-beginning-of-entry.
16360 2013-04-13 Roland Winkler <winkler@gnu.org>
16362 * textmodes/bibtex.el (bibtex-url): Doc fix.
16364 2013-04-13 Roland Winkler <winkler@gnu.org>
16366 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16367 does not visit a BibTeX file, exclude it from the list of buffers
16368 returned by bibtex-initialize.
16370 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16372 * window.el (split-window): Remove interactive form, since as a
16373 command this function is a special case of split-window-below.
16374 Correct doc string.
16376 2013-04-12 Roland Winkler <winkler@gnu.org>
16378 * faces.el (read-face-name): Do not override value of arg default.
16379 Allow single faces and strings as default values. Remove those
16380 elements from return value that are not faces.
16381 (describe-face): Simplify.
16382 (face-at-point): New optional args thing and multiple so that this
16383 function can provide the same functionality previously provided by
16385 (make-face-bold, make-face-unbold, make-face-italic)
16386 (make-face-unitalic, make-face-bold-italic, invert-face)
16387 (modify-face, read-face-and-attribute): Use face-at-point.
16389 * cus-edit.el (customize-face, customize-face-other-window)
16390 * cus-theme.el (custom-theme-add-face)
16391 * face-remap.el (buffer-face-set)
16392 * facemenu.el (facemenu-set-face): Use face-at-point.
16394 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16396 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16398 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16400 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16401 off leading { and trailing } from field values.
16403 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16405 * emacs-lisp/timer.el (timer--check): New function.
16406 (timer--time, timer-set-function, timer-event-handler): Use it.
16407 (timer-set-idle-time): Simplify.
16408 (timer--activate): CSE.
16409 (timer-event-handler): Give more info in error message.
16410 (internal-timer-start-idle): New function, moved from C.
16412 * mpc.el (mpc-proc): Add `restart' argument.
16413 (mpc-proc-cmd): Use it.
16414 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16415 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16418 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16420 * progmodes/sh-script.el: Implement `sh-mode' own
16421 `add-log-current-defun-function' (bug#14112).
16422 (sh-current-defun-name): New function.
16423 (sh-mode): Use the function.
16425 2013-04-09 Bastien Guerry <bzg@gnu.org>
16427 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16429 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16431 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16433 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16436 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16438 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16441 2013-04-07 Leo Liu <sdl.web@gmail.com>
16443 * pcmpl-x.el: New file.
16445 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16447 Do not set x-display-name until X connection is established.
16448 This is needed to prevent from weird situation described at
16449 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16450 * frame.el (make-frame): Set x-display-name after call to
16451 window system initialization function, not before.
16452 * term/x-win.el (x-initialize-window-system): Add optional
16453 display argument and use it.
16454 * term/w32-win.el (w32-initialize-window-system):
16455 * term/ns-win.el (ns-initialize-window-system):
16456 * term/pc-win.el (msdos-initialize-window-system):
16457 Add compatible optional display argument.
16459 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16461 * files.el (normal-backup-enable-predicate): On MS-Windows and
16462 MS-DOS compare truenames of temporary-file-directory and of the
16463 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16464 don't fail comparison by compare-strings. Also, compare file
16465 names case-insensitively on MS-Windows and MS-DOS.
16467 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16469 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16470 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16472 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16474 * whitespace.el (whitespace-color-on, whitespace-color-off):
16475 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16477 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16479 * ispell.el (ispell-set-spellchecker-params):
16480 Really set `ispell-args' for all equivs.
16482 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16484 * ido.el (ido-completions): Use extra elements of ido-decorations
16486 (ido-decorations): Update docstring.
16488 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16490 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16491 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16492 nil during initialization, in order not to miss changes since the
16493 file was opened. (Bug#14140)
16495 2013-04-05 Leo Liu <sdl.web@gmail.com>
16497 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16499 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16501 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16503 2013-04-04 Glenn Morris <rgm@gnu.org>
16505 * electric.el (electric-pair-inhibit-predicate): Add :version.
16507 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16509 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16510 when a package is required several times (bug#14082).
16512 2013-04-04 Roland Winkler <winkler@gnu.org>
16514 * faces.el (read-face-name): Behave as promised by the docstring.
16515 Assume that arg default is a list of faces.
16516 (describe-face): Call read-face-name with list of default faces.
16518 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16520 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16521 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16522 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16524 (bookmark-exit-hook-internal): Save even if list is empty.
16526 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16528 * emacs-lisp/package.el (package-pinned-packages): New var.
16529 (package--add-to-archive-contents): Obey it (bug#14118).
16531 2013-04-03 Alan Mackenzie <acm@muc.de>
16533 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16534 Also adapt to the new values of element 7 of a parse state.
16536 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16537 parameter `not-in-delimiter'. Handle being inside comment opener.
16538 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16539 character in case we're typing a '*' after a '/'.
16540 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16541 instead by passing the parameter to c-state-pp-to-literal.
16543 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16544 for elt. 7 of a parse state.
16546 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16548 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16549 * international/latin1-disp.el, international/mule-util.el:
16550 * language/cyril-util.el, language/european.el, language/ind-util.el:
16551 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16552 * language/tibetan.el, language/viet-util.el:
16553 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16555 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16557 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16558 (electric-pair-post-self-insert-function): Use it.
16559 (electric-pair-default-inhibit): New function, extracted from
16560 electric-pair-post-self-insert-function.
16562 2013-03-31 Roland Winkler <winkler@gnu.org>
16564 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16566 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16568 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16570 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16572 Un-indent after "pass" and "return" statements (Bug#13888)
16573 * progmodes/python.el (python-indent-block-enders): New var.
16574 (python-indent-calculate-indentation): Use it.
16576 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16578 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16579 defun. Defining it as defalias could introduce too eager
16580 byte-compiler optimization. (Bug#14030)
16582 2013-03-30 Chong Yidong <cyd@gnu.org>
16584 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16586 2013-03-30 Leo Liu <sdl.web@gmail.com>
16588 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16589 (kmacro-execute-from-register): Pass the keyboard macro to
16590 kmacro-call-macro or repeating won't work correctly.
16592 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16594 * progmodes/subword.el: Back to using `forward-symbol'.
16596 * subr.el (forward-whitespace, forward-symbol)
16597 (forward-same-syntax): Move from thingatpt.el.
16599 2013-03-29 Leo Liu <sdl.web@gmail.com>
16601 * kmacro.el (kmacro-to-register): New command.
16602 (kmacro-execute-from-register): New function.
16603 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16605 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16607 * mpc.el: Use defvar-local and setq-local.
16608 (mpc--proc-connect): Connection failures are not bugs.
16609 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16610 (mpc-volume-map): Bind to the up-events.
16612 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16614 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16615 instead of `forward-symbol'.
16617 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16619 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16620 (edebug--recursive-edit): Use it.
16621 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16622 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16624 2013-03-28 Leo Liu <sdl.web@gmail.com>
16626 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16628 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16630 * facemenu.el (list-colors-callback): New defvar.
16631 (list-colors-redisplay): New function.
16632 (list-colors-display): Install list-colors-redisplay as the
16633 revert-buffer-function. (Bug#14063)
16635 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16637 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16638 and suffixes don't overlap (bug#14061).
16640 * case-table.el: Use lexical-binding.
16641 (case-table-get-table): New function.
16642 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16644 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16646 * progmodes/subword.el: Add `superword-mode' to do word motion
16647 over symbol_words (parallels and leverages `subword-mode' which
16648 does word motion inside MixedCaseWords).
16650 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16652 * eshell/em-unix.el: Move su and sudo to...
16653 * eshell/em-tramp.el: ...Eshell tramp module.
16655 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16657 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16658 Change return value to be a sexp. Delay `get-buffer' to after
16659 restoring the desktop (bug#13951).
16661 2013-03-26 Leo Liu <sdl.web@gmail.com>
16663 * register.el: Move semantic tag handling back to
16664 cedet/semantic/senator.el. (Bug#14052)
16666 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16668 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16669 into the prompt either (bug#13963).
16671 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16673 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16674 part of "(error-foo)".
16676 2013-03-24 Juri Linkov <juri@jurta.org>
16678 * replace.el (list-matching-lines-prefix-face): New defcustom.
16679 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16680 `occur-engine' if `face-differs-from-default-p' returns t.
16681 (occur-engine): Add `,' inside backquote construct to evaluate
16682 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16683 Pass `prefix-face' to the functions `occur-context-lines' and
16684 `occur-engine-add-prefix'.
16685 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16686 `prefix-face' and propertize the prefix with `prefix-face'.
16689 2013-03-24 Leo Liu <sdl.web@gmail.com>
16691 * nxml/rng-valid.el (rng-validate-while-idle)
16692 (rng-validate-quick-while-idle): Guard against deleted buffer.
16695 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16696 is the last entry in kill-buffer-hook.
16698 * files.el (kill-buffer-hook): Doc fix.
16700 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16702 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16703 Make it safe-local.
16705 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16707 2013-03-23 Leo Liu <sdl.web@gmail.com>
16709 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16712 * nxml/rng-valid.el (rng-validate-mode)
16713 (rng-after-change-function, rng-do-some-validation):
16714 * nxml/rng-maint.el (rng-validate-buffer):
16715 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16716 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16717 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16718 (nxml-extend-after-change-region): Use with-silent-modifications.
16720 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16723 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16724 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16725 timer-idle-list. (Bug#13999)
16727 2013-03-23 Juri Linkov <juri@jurta.org>
16729 * info.el (info-index-match): New face.
16730 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16731 main pattern and add text properties with the new face to matches
16732 in index entries relative to the beginning of the index entry.
16735 2013-03-21 Eric Ludlam <zappo@gnu.org>
16737 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16738 Inhibit read only while inserting objects.
16740 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16742 * progmodes/cfengine.el: Update docs to mention
16743 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16744 symbol motion. Remove "_" from the word syntax.
16746 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16748 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16749 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16751 2013-03-20 Juri Linkov <juri@jurta.org>
16753 * info.el (Info-next-reference-or-link)
16754 (Info-prev-reference-or-link): New functions.
16755 (Info-next-reference, Info-prev-reference): Use them.
16756 (Info-try-follow-nearest-node): Handle footnote navigation.
16757 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16759 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16761 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16762 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16764 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16766 Suppress unnecessary non-ASCII chatter during build process.
16767 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16768 (batch-skkdic-convert): Suppress most of the chatter.
16769 It's not needed so much now that machines are faster,
16770 and its non-ASCII component was confusing; see Dmitry Gutov in
16771 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16773 2013-03-20 Leo Liu <sdl.web@gmail.com>
16775 * ido.el (ido-chop): Fix bug#10994.
16777 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16779 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16781 (whitespace-color-on, whitespace-color-off):
16782 Use `font-lock-fontify-buffer' (Bug#13817).
16784 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16786 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16787 remapping in mode-line.
16788 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16790 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16792 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16793 value for `whitespace-line' face (Bug#13875).
16794 (whitespace-font-lock-keywords): Change description.
16795 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16796 the constructed keywords instead.
16797 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16799 2013-03-19 Leo Liu <sdl.web@gmail.com>
16801 * progmodes/compile.el (compilation-display-error): New command.
16802 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16805 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16807 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16809 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16811 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16813 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16815 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16817 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16818 * net/tramp-gvfs.el (top):
16819 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16820 (tramp-handle-shell-command): Use it.
16821 (tramp-dissect-file-name): Raise an error when hostname is a
16822 method name, and neither method nor user is specified.
16824 * net/trampver.el: Update release number.
16826 2013-03-18 Leo Liu <sdl.web@gmail.com>
16828 Make sure eldoc can be turned off properly.
16829 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16831 (eldoc-display-message-p): Revert last change.
16832 (eldoc-display-message-no-interference-p)
16833 (eldoc-print-current-symbol-info): Tweak.
16835 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16837 * doc-view.el (doc-view-new-window-function): Check the new window
16838 overlay's display property instead the char property of the
16839 buffer's first char. Use `with-selected-window' instead of
16840 `save-window-excursion' with `select-window'.
16841 (doc-view-document->bitmap): Check the current doc-view overlay's
16842 display property instead the char property of the buffer's first char.
16844 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16846 Automate the build of ja-dic.el (Bug#13984).
16847 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16848 from the input, rather than assume that it's been done for us by the
16849 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16850 the current date into a ja-dic.el comment, as that complicates
16851 regression testing.
16853 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16855 * whitespace.el: Fix double evaluation.
16856 (whitespace-space, whitespace-hspace, whitespace-tab)
16857 (whitespace-newline, whitespace-trailing, whitespace-line)
16858 (whitespace-space-before-tab, whitespace-indentation)
16859 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16861 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16862 (whitespace-color-on): Use a single font-lock-add-keywords call.
16863 Fix double-evaluation of face variables.
16865 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16867 * net/tramp-adb.el (tramp-adb-parse-device-names):
16868 Use `start-process' instead of `call-process'. Otherwise, the
16869 function might be blocked under MS Windows. (Bug#13299)
16871 2013-03-17 Leo Liu <sdl.web@gmail.com>
16873 Extend eldoc to display info in the mode-line. (Bug#13978)
16874 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16875 (eldoc-mode-line-string): New variable.
16876 (eldoc-minibuffer-message): New function.
16877 (eldoc-message-function): New variable.
16878 (eldoc-message): Use it.
16879 (eldoc-display-message-p)
16880 (eldoc-display-message-no-interference-p):
16881 Support eldoc-post-insert-mode.
16883 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16884 (eval-expression): Run it.
16886 2013-03-17 Roland Winkler <winkler@gnu.org>
16888 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16889 strings in the list of return values.
16891 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16893 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16894 radix before checking for HMS forms.
16896 2013-03-16 Leo Liu <sdl.web@gmail.com>
16898 * progmodes/scheme.el: Add indentation and font-locking for λ.
16901 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16903 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16904 token before point (bug#13942).
16906 2013-03-16 Leo Liu <sdl.web@gmail.com>
16908 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16910 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16912 * startup.el (command-line-normalize-file-name): Fix handling of
16913 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16914 <xfq.free@gmail.com> in
16915 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16917 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16919 Sync with Tramp 2.2.7.
16921 * net/trampver.el: Update release number.
16923 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16925 * doc-view.el: Fix bug#13887.
16926 (doc-view-insert-image): Don't modify overlay associated to
16927 non-live windows, and implement horizontal centering of image in
16928 case it's smaller than the window.
16929 (doc-view-new-window-function): Force redisplay of new windows on
16932 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16934 * saveplace.el (save-place-alist-to-file): Don't sort
16935 `save-place-alist', just pretty-print it (bug#13882).
16937 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16939 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16940 Check whether `default-file-name-coding-system' is bound.
16941 It isn't in XEmacs.
16943 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16945 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16946 backquotes for `obsolete' (bug#13929).
16948 * international/mule.el (find-auto-coding): Include file name in
16949 obsolescence warning (bug#13922).
16951 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16953 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16954 for CFEngine 3-specific indentation.
16955 (cfengine3-indent-line): Use it. Fix up category regex.
16956 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16958 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16960 * type-break.el (type-break-file-name):
16961 * textmodes/remember.el (remember-data-file):
16962 * strokes.el (strokes-file):
16963 * shadowfile.el (shadow-initialize):
16964 * saveplace.el (save-place-file):
16965 * ps-bdf.el (bdf-cache-file):
16966 * progmodes/idlwave.el (idlwave-config-directory):
16967 * net/quickurl.el (quickurl-url-file):
16968 * international/kkc.el (kkc-init-file-name):
16969 * ido.el (ido-save-directory-list-file):
16970 * emulation/viper.el (viper-custom-file-name):
16971 * emulation/vip.el (vip-startup-file):
16972 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16973 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16975 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16977 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16978 * language/thai-word.el: Switch to UTF-8.
16980 See ChangeLog.16 for earlier changes.
16982 ;; Local Variables:
16986 Copyright (C) 2011-2015 Free Software Foundation, Inc.
16988 This file is part of GNU Emacs.
16990 GNU Emacs is free software: you can redistribute it and/or modify
16991 it under the terms of the GNU General Public License as published by
16992 the Free Software Foundation, either version 3 of the License, or
16993 (at your option) any later version.
16995 GNU Emacs is distributed in the hope that it will be useful,
16996 but WITHOUT ANY WARRANTY; without even the implied warranty of
16997 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16998 GNU General Public License for more details.
17000 You should have received a copy of the GNU General Public License
17001 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.