1 2015-01-13 Michael Albinus <michael.albinus@gmx.de>
3 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
5 (file-notify--descriptor): New defun.
6 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
7 Adapt docstring. Handle multiple values for
8 `file-notify-descriptors' entries. (Bug#18880)
10 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
11 `file-notify-descriptors', the implementation has been changed.
13 2015-01-13 Juri Linkov <juri@linkov.net>
15 * comint.el (comint-history-isearch-search)
16 (comint-history-isearch-wrap): Use field-beginning instead of
17 comint-line-beginning-position.
18 (comint-send-input): Go to the end of the field instead of the end
19 of the line to accept whole multi-line input.
20 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
21 (comint-history-isearch-message): Use field-beginning
22 instead of comint-line-beginning-position - that's more fixes for
23 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
24 (comint-history-isearch-message): Fix args of isearch-message-prefix.
28 2015-01-09 Eli Zaretskii <eliz@gnu.org>
30 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
31 On MS-Windows, bind coding-system-for-read to the console output
34 2015-01-08 Eli Zaretskii <eliz@gnu.org>
36 * simple.el (line-move-visual): When converting X pixel coordinate
37 to temporary-goal-column, adjust the value for right-to-left
38 screen lines. This fixes vertical-motion, next/prev-line, etc.
40 2015-01-06 Glenn Morris <rgm@gnu.org>
42 * progmodes/sh-script.el (sh-mode): Doc fix.
43 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
45 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
47 * emacs-lisp/package.el (package-menu-mode): Use an extra column
48 for the "Version" column, to accomodate date-and-time-based versions.
50 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
52 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
53 * files.el (shell-quote-wildcard-pattern): Also quote "`".
55 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
57 Unbreak `mouse-action' property in text buttons.
58 * button.el (push-button): Fix regression from 2012-12-06.
60 2015-01-01 Eli Zaretskii <eliz@gnu.org>
62 * tool-bar.el (tool-bar-local-item)
63 (tool-bar-local-item-from-menu): Call force-mode-line-update to
64 make sure the tool-bar changes show on display.
66 2014-12-29 Michael Albinus <michael.albinus@gmx.de>
68 Sync with Tramp 2.2.11.
70 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
71 Make an alias for `default-toplevel-value' if it doesn't exist.
73 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
74 Use `tramp-compat-delete-directory'.
76 * net/trampver.el: Update release number.
78 2014-12-29 Filipp Gunbin <fgunbin@fastmail.fm>
80 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
81 for remote files. (Bug#19449)
83 2014-12-28 Eli Zaretskii <eliz@gnu.org>
85 * international/mule.el (define-coding-system): Fix typos in the
88 2014-12-28 Kenichi Handa <handa@gnu.org>
90 * international/mule.el (define-coding-system): Improve the doc
93 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
95 * progmodes/python.el (python-shell-buffer-substring): Handle
96 cornercase when region sent starts at point-min.
98 2014-12-27 Eli Zaretskii <eliz@gnu.org>
100 * language/misc-lang.el (composition-function-table): Add Syriac
101 characters and also ZWJ/ZWNJ. See
102 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
105 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
107 python.el: Fix message when sending region.
109 * progmodes/python.el (python-shell-send-region): Rename argument
110 send-main from nomain. Fix message.
111 (python-shell-send-buffer): Rename argument send-main from arg.
113 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
115 python.el: Cleanup temp files even with eval errors.
117 * progmodes/python.el (python-shell-send-file): Make file-name
118 mandatory. Fix temp file removal in the majority of cases.
120 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
122 python.el: Handle file encoding for shell.
124 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
125 (python-shell--save-temp-file): Write file with proper encoding.
126 (python-shell-buffer-substring): Add coding cookie for detected
127 encoding to generated content. Fix blank lines when removing
129 (python-shell-send-file): Handle file encoding.
130 (python-info-encoding-from-cookie)
131 (python-info-encoding): New functions.
133 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
135 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
136 Use `tramp-rsh-end-of-line', it ought to be more robust.
138 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
140 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
143 2014-12-23 Michael Albinus <michael.albinus@gmx.de>
145 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
147 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
148 as end-of-line delimeter for passwords, when running on MS Windows.
150 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
152 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
153 of indent-line-function (bug#19433).
155 2014-12-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
157 Fix line numbers on Python shell.
158 * progmodes/python.el (python-shell--save-temp-file): Do not
159 append coding cookie.
160 (python-shell-send-string): Generalize for
161 python-shell-send-region.
162 (python--use-fake-loc): Delete var.
163 (python-shell-buffer-substring): Cleanup fake-loc logic.
164 (python-shell-send-region): Remove fake-loc logic, simplify.
166 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
168 * progmodes/python.el (python-indent-post-self-insert-function):
169 Make colon to re-indent only for dedenters, handling
170 multiline-statements gracefully.
172 2014-12-21 Michael Albinus <michael.albinus@gmx.de>
174 * net/tramp.el (tramp-handle-insert-file-contents):
175 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
177 2014-12-19 Michael Albinus <michael.albinus@gmx.de>
179 * net/tramp-sh.el (tramp-send-command-and-read): New optional
181 (tramp-get-remote-path): Use it.
183 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
185 * subr.el (redisplay-dont-pause): Mark as obsolete.
187 2014-12-17 Michael Albinus <michael.albinus@gmx.de>
189 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
190 (tramp-accept-process-output): Use nil as argument for
191 `accept-process-output', when there is a gateway prepended.
193 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
195 (tramp-gw-open-connection): Set process coding system 'binary.
196 (tramp-gw-open-network-stream): Handle HTTP error 403.
198 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
200 (tramp-maybe-open-connection): Set connection property "gateway".
202 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
204 * subr.el (sit-for): Tweak docstring (bug#19381).
206 2014-12-15 Dmitry Gutov <dgutov@yandex.ru>
208 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
209 stage to after `diff-index' (bug#19386).
211 2014-12-14 João Távora <joaotavora@gmail.com>
213 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
214 `electric-pair-mode' (bug#19356).
216 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
218 * simple.el (password-word-equivalents): Add "passcode", used for
219 numeric secrets like PINs or RSA tokens.
221 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
223 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
224 order to determine `tramp-own-remote-path'.
226 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
228 * progmodes/python.el (python-shell-parse-command):
229 Quote `python-shell-interpreter`. (Bug#19289)
231 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
233 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
234 of the whole pipe when indenting an opening keyword after a |.
235 Generalize this treatment to opening keywords like "while" (bug#18031).
237 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
239 * simple.el (newline): Place the hook buffer-locally,
240 to make sure it's first.
242 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
243 Fix handling of symbols with different syntax at beginning/end or with
244 symbol rather than word syntax.
246 2014-11-30 Eli Zaretskii <eliz@gnu.org>
248 * simple.el (line-move): If noninteractive, call line-move-1, not
249 forward-line, since the former is compatible with line-move-visual
250 both in terms of the column to which it moves and the return
253 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
254 Stefan Monnier <monnier@iro.umontreal.ca>
256 * outline.el (outline-move-subtree-down): Make sure we can move
257 forward to find the end of the subtree and the insertion point
260 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
262 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
263 for comment lines non-greedy and stopping at newlines to fix stack
264 overflows with large files. [Backport]
266 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
268 * progmodes/python.el (python-shell-completion-setup-code):
269 Use __builtin__ module (or builtins in Python 3) and catch all errors
270 when importing readline and rlcompleter.
272 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
274 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
275 (todo-revert-buffer): New function.
276 (todo-modes-set-1): Use it as the buffer-local value of
277 revert-buffer-function.
279 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
281 * calendar/todo-mode.el (todo-mode): If called interactively, just
282 display a message saying to call todo-show to enter Todo mode
285 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
287 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
290 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
293 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
295 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
296 remote `buffer-file-name'.
298 2014-11-23 Leo Liu <sdl.web@gmail.com>
300 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
302 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
304 Set PYTHONUNBUFFERED on shell startup.
306 * progmodes/python.el (python-shell-unbuffered): New var.
307 (python-shell-calculate-process-environment): Use it.
309 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
311 * net/tramp.el (tramp-action-password): Clean password on subsequent
312 attempts even if there was no wrong password indication. (Bug#19047)
314 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
316 (tramp-open-connection-setup-interactive-shell): No need to check
317 for nil as `tramp-get-remote-locale' return value.
319 2014-11-21 Eli Zaretskii <eliz@gnu.org>
321 * vc/vc-git.el (vc-git-command, vc-git--call):
322 Bind coding-system-for-read and coding-system-for-write to
323 vc-git-commits-coding-system.
324 (vc-git-previous-revision): Use "~1" instead of "^", since the
325 latter is a special character for MS-Windows system shells.
327 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
329 Improve XEmacs compatibility.
331 * net/tramp.el (tramp-autoload-file-name-handler):
332 Wrap `temporary-file-directory' by `symbol-value', it doesn't
334 (tramp-read-passwd): Don't use `with-timeout-suspend' and
335 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
336 (tramp-time-less-p, tramp-time-subtract): Remove functions.
337 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
338 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
339 * net/tramp-cache.el (tramp-get-file-property):
340 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
341 Use `time-less-p' and `time-subtract, respectively.
343 * net/tramp-adb.el (top): Do not require time-date.el.
345 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
347 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
348 Check, whether `utf-8' is a valid coding system.
350 2014-11-19 Eli Zaretskii <eliz@gnu.org>
352 * vc/vc.el (vc-retrieve-tag): Doc fix.
354 2014-11-17 Eli Zaretskii <eliz@gnu.org>
356 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
357 Don't assume --long is the default for "bzr log", always specify
358 it explicitly, in case the user defined an alias for 'log' that
359 uses some other format.
361 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
363 * progmodes/python.el (python-eldoc--get-doc-at-point):
364 Strip shell output before returning. (bug#18794)
366 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
368 Fix indentation before `!=' and after `+='. Originally reported
369 in https://github.com/mooz/js2-mode/issues/174.
370 * progmodes/js.el (js--indent-operator-re): Make assignments and
371 (in)equality operator a separate case.
372 (js--continued-expression-p): Escape the second `+' in the regexp.
374 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
376 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
378 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
380 * version.el (emacs-repository-get-version): Use git rev-parse
383 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
385 * progmodes/python.el (python-indent-calculate-levels):
386 Fix indentation behavior multiline dedenter statement. (Bug#18432)
388 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
390 * progmodes/python.el (python-indent-region):
391 Use python-indent-line and skip special cases. (Bug#18843)
393 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
395 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
397 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
399 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
400 envelope-from when reporting through sendmail (bug#19054).
402 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
404 * progmodes/python.el (python-ffap-module-path):
405 Use `derived-mode-p' instead of equality test on `major-mode'.
407 2014-11-13 Ulrich Müller <ulm@gentoo.org>
409 * version.el (emacs-repository-get-version): Call `git log'
410 command with proper format argument (bug#19049).
412 2014-11-10 Glenn Morris <rgm@gnu.org>
414 * startup.el (command-line): Handle nil elements in load-path.
416 2014-11-08 Glenn Morris <rgm@gnu.org>
418 * emacs-lisp/bytecomp.el (byte-compile-report-error):
419 Allow the argument to be a string. Due to the vague doc,
420 it was already being used this way.
422 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
424 * net/tramp.el (tramp-check-cached-permissions): Include hop in
425 the constructed Tramp file name. (Bug#18943)
427 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
429 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
431 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
432 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
434 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
436 * files.el (file-name-non-special): Wrap the call of
437 `insert-file-contents' by `unwind-protect', in order to set the
438 buffer's file name anyway. (Bug#18891)
440 2014-11-07 Daiki Ueno <ueno@gnu.org>
442 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
443 (bug#18979). Reported by Hideki Saito.
445 2014-10-18 Alan Mackenzie <acm@muc.de>
447 Check that a "macro" found near point-min isn't a ## operator.
448 Fixes bug #18749. Backported from trunk, 2014-11-05.
449 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
450 (c-beginning-of-macro): Use the above new function.
452 2014-11-05 Alan Mackenzie <acm@muc.de>
454 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
455 * progmodes/cc-fonts.el (c-font-lock-declarations):
456 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
457 the buffer is sometimes narrowed to less than "limit" (e.g., in
458 the presence of macros).
460 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
462 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
463 only when message appeared in minibuffer. (Bug#18891)
465 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
466 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
467 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
470 2014-11-04 Eli Zaretskii <eliz@gnu.org>
472 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
473 returned by load-average.
475 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
477 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
478 a local copy; setting `inhibit-file-name-handlers' proper might be
479 more performant. (Bug#18751)
481 2014-11-04 Glenn Morris <rgm@gnu.org>
483 * mail/emacsbug.el (report-emacs-bug): No longer include
484 recent-keys in the report. (Bug#18900)
486 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
488 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
489 local copy of FILENAME, when it is remote. (Bug#18751)
491 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
493 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
494 an error when the command fails; the return code must indicate.
495 (tramp-adb-send-command-and-check): Fix docstring.
497 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
499 * net/tramp-cache.el (tramp-get-file-property)
500 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
501 and `tramp-cache-set-count-*' are bound. Otherwise, there might
502 be compiler warnings.
504 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
505 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
507 2014-11-01 Eli Zaretskii <eliz@gnu.org>
509 * progmodes/compile.el (compilation-mode): Turn off deferred
510 fontifications locally. (Bug#18856)
512 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
514 * net/tramp-sh.el (tramp-send-command): Fix the case where the
515 remote-echo connection property is non-nil (bug#18858).
517 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
519 Backport Tramp changes from trunk.
521 * net/tramp.el (tramp-methods): Tweak docstring.
522 (tramp-file-name-handler): Apply `cons' where appropriate.
523 (tramp-handle-file-accessible-directory-p): Check for
524 `file-readable-p' instead of `file-executable-p'.
525 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
526 (tramp-handle-unhandled-file-name-directory): Return "/".
527 (tramp-check-cached-permissions):
528 Use `tramp-compat-file-attributes'.
529 (tramp-call-process): Add new argument VEC. Adapt callees in all
532 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
533 (tramp-adb-handle-write-region): Improve messages.
534 (tramp-adb-maybe-open-connection): Don't set
535 `tramp-current-*' variables.
537 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
538 Suppress debug messages.
540 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
541 (tramp-ftp-file-name-handler):
543 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
544 (tramp-gvfs-methods-mounttracker)
545 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
546 during initialization. (Bug#18774)
547 (tramp-gvfs-handle-delete-file): Flush file properties, not
548 directory properties.
549 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
550 reading "unix::mode".
551 (tramp-gvfs-handle-file-name-all-completions):
552 Use "-h" option for "gvfs-ls".
553 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
554 `user' and `localname' could be nil.
555 (tramp-gvfs-send-command): Simplify traces.
557 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
558 (vc-git-program, vc-hg-program): Declare.
559 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
560 (tramp-methods) <nc>: Add new method.
561 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
562 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
564 (tramp-default-user-alist): Add "nc".
565 (top): Remove completion function for "sftp". Add completion
566 functions for "nc" and "psftp".
567 (tramp-sh-handle-set-visited-file-modtime):
568 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
569 (tramp-do-copy-or-rename-file-out-of-band):
570 Use cached "remote-copy-args" value, if available. (Bug#18199)
571 Tweak docstring. Implement support for "nc" method.
572 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
573 (tramp-remote-coding-commands, tramp-call-local-coding-command):
575 (tramp-sh-handle-start-file-process): Expand `default-directory'.
576 (tramp-sh-handle-write-region): Tweak error message.
577 (tramp-sh-handle-vc-registered): Remove backends when the remote
578 binary does not exist.
579 (tramp-open-connection-setup-interactive-shell):
580 Prefer utf-8 coding. (Bug#17859)
581 (tramp-find-inline-encoding): Do not raise an error.
582 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
583 the "nc" case. Quote result also locally.
584 (tramp-get-remote-id): Check also for "gid".
585 (tramp-get-remote-python):
587 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
588 (tramp-smb-handle-set-file-acl): Use `start-process'.
589 (tramp-smb-handle-insert-directory): Use progress reporter.
590 (tramp-smb-handle-rename-file): Flush also file properties of
593 * net/trampver.el: Update release number.
595 2014-11-01 Reuben Thomas <rrt@sc3d.org>
597 * net/tramp.el (tramp-handle-file-symlink-p):
598 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
599 about VMS, which we no longer support.
601 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
603 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
604 the global vc-handled-backends (bug#18535).
606 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
607 Michael Albinus <michael.albinus@gmx.de>
609 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
610 Reduce the amount of set environment variable commands.
612 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
614 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
617 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
619 * net/tramp-sh.el (tramp-get-remote-python): Also search for
620 executables named "python2" or "python3".
621 (tramp-get-remote-uid-with-python): Use parentheses around
622 arguments to `print' to make it compatible with Python 3.
623 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
625 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
627 * simple.el (newline): Add assertions to try and help catch bug#18913.
629 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
631 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
633 2014-10-31 Eli Zaretskii <eliz@gnu.org>
635 * Makefile.in (repo-update): Fix a typo and slightly reword
638 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
640 * Makefile.in: Change some production names so they're neutral
641 about the repository type.
643 2014-10-30 Kim F. Storm <storm@cua.dk>
645 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
646 * delsel.el (delete-selection-save-to-register)
647 (delsel--replace-text-or-position): New vars.
648 (delete-active-region): Use them.
649 (delete-selection-repeat-replace-region): New command, moved from
651 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
652 (cua-repeat-replace-region): Move command to delsel.el.
653 (cua--init-keymaps): Update binding accordingly.
654 (cua-mode): Set delete-selection-save-to-register.
656 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
658 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
660 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
662 2014-10-29 Eli Zaretskii <eliz@gnu.org>
664 * progmodes/compile.el (compilation-start):
665 If compilation-scroll-output is non-nil, don't force window-start of
666 the compilation buffer to be at beginning of buffer. (Bug#18874)
668 2014-10-23 Tassilo Horn <tsdh@gnu.org>
670 * doc-view.el (doc-view-open-text): View the document's plain text
671 in the current buffer instead of a new one.
672 (doc-view-toggle-display): Handle the case where the current
673 buffer contains the plain text contents of the document.
674 (doc-view-initiate-display): Don't switch to fallback mode if the
675 user wants to view the doc's plain text. [Backport]
677 2014-10-23 Eli Zaretskii <eliz@gnu.org>
679 * startup.el (fancy-about-text): Read the entire tutorial, not
680 just its first 256 bytes. (Bug#18760)
682 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
684 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
685 * emacs-lisp/cl-extra.el: Add missing provide.
687 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
689 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
690 all args are copyable (bug#18767).
691 (=, <, >, <=, >=): Re-enable the optimization.
693 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
695 * vc/vc-hg.el (vc-hg-log-graph): New var.
696 (vc-hg-print-log): Use it.
697 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
698 graph output (bug#17515).
700 2014-10-20 Juri Linkov <juri@jurta.org>
702 * vc/diff-mode.el (diff-refine-changed): Rename from
703 `diff-refine-change' for consistency with `diff-changed'.
704 (diff-refine-change): Add obsolete face alias. (Bug#10181)
706 * vc/smerge-mode.el (smerge-refined-changed): Rename from
707 `smerge-refined-change'.
708 (smerge-refined-change): Add obsolete face alias.
710 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
712 * subr.el (call-process-shell-command, process-file-shell-command):
713 Make the `args' obsolete (bug#18409).
714 (start-process-shell-command, start-file-process-shell-command):
717 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
719 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
721 2014-10-20 Glenn Morris <rgm@gnu.org>
723 * dired.el (dired-read-regexp): Make obsolete.
724 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
725 (dired-flag-files-regexp):
726 * dired-aux.el (dired-mark-read-regexp):
727 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
729 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
731 * progmodes/python.el (inferior-python-mode): Use add-hook.
733 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
735 2014-10-20 Glenn Morris <rgm@gnu.org>
737 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
738 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
739 * emulation/ws-mode.el: Move to obsolete/. [Backport]
741 2014-10-20 Glenn Morris <rgm@gnu.org>
743 * cus-start.el (history-length): Bump :version. [Backport]
745 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
747 * obsolete/cc-compat.el: Make obsolete (bug#18561).
749 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
751 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
754 2014-10-20 Glenn Morris <rgm@gnu.org>
756 * Version 24.4 released.
758 2014-10-15 Alan Mackenzie <acm@muc.de>
760 * cus-edit.el (custom-command-apply): Specify the return value in
762 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
763 custom-command-apply has returned non-nil.
765 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
767 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
768 Backported (bug#18688).
770 2014-10-14 Eli Zaretskii <eliz@gnu.org>
772 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
773 Force bidi-paragraph-direction to 'left-to-right'. This fixes
774 buffer-menu display when the first buffer happens to start with
777 2014-10-13 Glenn Morris <rgm@gnu.org>
779 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
780 (authors-obsolete-files-regexps): Additions.
781 (authors-no-scan-regexps): New constant.
782 (authors-no-scan-file-p): New function.
783 (authors): Respect authors-no-scan-file-p.
785 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
787 Fix import completion. (Bug#18582)
788 * progmodes/python.el (python-shell-completion-get-completions):
789 Fix import case regexp.
791 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
793 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
794 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
795 * progmodes/prolog.el (prolog-electric--underscore): Same.
797 2014-10-09 Glenn Morris <rgm@gnu.org>
799 * frame.el (display-monitor-attributes-list): Doc tweaks.
801 2014-10-08 Eli Zaretskii <eliz@gnu.org>
803 * faces.el (display-grayscale-p): Mention in the doc string that
804 the argument can be either a display name or a frame.
806 * frame.el (display-pixel-height, display-pixel-width)
807 (display-mm-height, display-mm-width, display-backing-store)
808 (display-save-under, display-planes, display-color-cells)
809 (display-visual-class, display-monitor-attributes-list)
810 (display-screens): Mention in the doc string that the argument can
811 be either a display name or a frame. Improve the docs of the
812 monitor attributes. (Bug#18636)
814 2014-10-06 Martin Rudalics <rudalics@gmx.at>
816 * term.el (term-window-width): Subtract 1 from the width when
817 any fringe has zero width, not just the right fringe. (Bug#18601)
819 2014-10-05 Leo Liu <sdl.web@gmail.com>
821 * imenu.el (imenu-default-goto-function): Fix typo.
823 2014-10-04 Glenn Morris <rgm@gnu.org>
825 * frame.el (frame-monitor-attributes)
826 (display-monitor-attributes-list): Doc fixes.
828 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
830 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
831 (vc-svn-ignore): Use it. (Bug#18619)
833 2014-10-03 Martin Rudalics <rudalics@gmx.at>
835 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
836 In doc-string mention need to set `frame-resize-pixelwise'.
838 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
840 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
841 similarly to Rogers's 2010-06-16 change for the remote case
844 2014-10-01 Glenn Morris <rgm@gnu.org>
846 * emacs-lisp/package.el (package-import-keyring):
847 Create gnupg directory private. (Bug#17625#155)
849 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
851 * progmodes/python.el (python-shell-completion-get-completions):
852 Use python-shell--prompt-calculated-input-regexp from the
853 process buffer (bug#18582).
854 Don't assume that `line' comes from the process buffer.
856 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
858 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
861 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
863 * emacs-lisp/package.el (package-check-signature): Default to nil if
864 GPG is not available.
865 (package-refresh-contents): Don't mess with the keyring if we won't
866 check the signatures anyway.
868 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
870 * window.el (fit-window-to-buffer): When counting buffer width,
871 count the whole visible buffer. Correctly convert the body-height
872 to pixel size for window-text-pixel-size (Bug#18498).
874 2014-09-14 Glenn Morris <rgm@gnu.org>
876 * image.el (image-multi-frame-p): Fix thinko - do not force
877 a delay if none was specified. (Bug#18334)
879 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
881 * window.el (fit-window-to-buffer): Doc fix.
883 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
885 * desktop.el (desktop-create-buffer): Check that buffers are still live
886 before burying them (bug#18373).
888 2014-09-09 Glenn Morris <rgm@gnu.org>
890 * calendar/diary-lib.el (diary-list-entries):
891 Restore 24.3 display behavior. (Bug#18381)
893 2014-09-09 Eli Zaretskii <eliz@gnu.org>
895 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
896 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
897 discrepancy between window-pixel-edges and mouse events, and
898 avoids moving mode line up when the mouse click is on the modeline
899 and no drag is attempted.
901 2014-09-08 Glenn Morris <rgm@gnu.org>
903 * calendar/calendar.el (calendar-basic-setup):
904 Avoid clobbering calendar with diary. (Bug#18381)
906 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
908 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
910 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
912 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
915 2014-09-04 Eli Zaretskii <eliz@gnu.org>
917 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
919 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
921 * emacs-lisp/package.el (package-generate-description-file):
922 Properly quote the arguments (bug#18332). Change second arg.
923 (package--alist-to-plist-args): Rename from package--alist-to-plist and
925 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
926 the *-pkg.el file. Adjust to new calling convention of
927 package-generate-description-file.
929 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
930 (gud-gdb-completions): Remove obsolete workaround.
932 2014-09-02 Eli Zaretskii <eliz@gnu.org>
934 * subr.el (posn-col-row): Revert the change from commit
935 2010-11-13T21:07:58Z!eliz@gnu.org, which
936 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
937 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
938 introduced an off-by-one error in the reported row when there is a
939 header line. (Bug#18384)
941 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
943 * progmodes/python.el (python-indent-post-self-insert-function):
944 Avoid electric colon at beginning-of-defun. (Bug#18228)
946 2014-09-01 Glenn Morris <rgm@gnu.org>
948 * tutorial.el (tutorial--display-changes):
949 Fix 2014-07-29 change. (Bug#18382)
951 2014-08-29 Ken Brown <kbrown@cornell.edu>
953 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
954 the Cygwin-w32 build. (Bug#18347)
956 2014-08-28 Glenn Morris <rgm@gnu.org>
958 * tar-mode.el (tar--extract, tar-extract):
959 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
961 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
963 * emacs-lisp/authors.el (authors-aliases): Addition.
965 * net/tramp-adb.el: Spell author name correctly.
967 2014-08-27 João Távora <joaotavora@gmail.com>
969 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
970 use url-expand-file-name. (Bug#18310)
972 2014-08-25 Glenn Morris <rgm@gnu.org>
974 * emulation/cua-rect.el (cua--highlight-rectangle):
975 Avoid error at point-min. (Bug#18309)
977 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
979 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
980 executable-find (bug#18244).
982 * simple.el (self-insert-uses-region-functions): Defvar.
984 2014-08-13 Leo Liu <sdl.web@gmail.com>
986 * speedbar.el (speedbar-generic-list-tag-p): Allow special
989 2014-08-11 Glenn Morris <rgm@gnu.org>
991 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
993 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
994 chose coding system for writing before backing up, since it causes
995 a more serious problem than the one it solves. (Closes Bug#18141,
998 2014-08-10 Martin Rudalics <rudalics@gmx.at>
1000 * window.el (window-total-size): Make doc-string more
1003 2014-08-09 Martin Rudalics <rudalics@gmx.at>
1005 * window.el (display-buffer-below-selected): Restore original
1006 behavior if buffer is already displayed in the window below the
1007 selected one (Bug#18181).
1009 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1014 2014-08-08 Eli Zaretskii <eliz@gnu.org>
1016 * info.el (info): Doc fix.
1018 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1020 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1023 2014-08-05 Eli Zaretskii <eliz@gnu.org>
1025 * simple.el (default-line-height): A floating-point value of
1026 line-spacing means a fraction of the default frame font's height,
1027 not of the font currently used by the 'default' face.
1028 Truncate the pixel value, like the display engine does.
1029 (window-screen-lines): Use window-inside-pixel-edges for
1030 determining the window height in pixels. (Bug#18195)
1032 2014-07-29 Eli Zaretskii <eliz@gnu.org>
1034 * tutorial.el (tutorial--display-changes): Accept punctuation
1035 characters before the key binding. (Bug#18146)
1037 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1039 * doc-view.el (doc-view-open-text): Don't require that the
1040 document is saved in a file (e.g., email attachment).
1042 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1044 * window.el (window--pixel-to-total): Use FRAME's root window, not
1045 that of the selected frame. (Bug#18112, Bug#16674)
1047 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
1049 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1052 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1054 * progmodes/python.el (inferior-python-mode): Doc fix.
1056 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1058 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1059 not a character, ignore it instead of raising an error.
1061 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
1063 * calendar/todo-mode.el: Fix handling of marked items and make
1064 minor code improvements.
1065 (todo-edit-item): If there are marked items, ensure user can only
1066 invoke editing commands that work with marked items.
1067 (todo-edit-item--text): When there are marked items, make it a
1068 noop if invoked with point not on an item; otherwise, ensure it
1069 applies only to item at point.
1070 (todo-item-undone): If there are marked not-done items, return
1071 point to its original position before signaling user error.
1072 (todo--user-error-if-marked-done-item): New function.
1073 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1074 (todo-item-done): Use it.
1076 2014-07-25 Glenn Morris <rgm@gnu.org>
1078 * files.el (toggle-read-only): Re-add basic doc-string.
1079 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1081 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1082 Replace missing `switch-to-prolog' with `run-prolog'.
1083 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1085 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
1087 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1088 of file-wide setting when changing category-wide setting.
1090 2014-07-21 Glenn Morris <rgm@gnu.org>
1092 * progmodes/hideif.el (hide-ifdef-mode-submap):
1093 Also substitute read-only-mode.
1094 * bindings.el (mode-line-toggle-read-only):
1095 * bs.el (bs-toggle-readonly):
1096 * buff-menu.el (Buffer-menu-toggle-read-only):
1097 * dired.el (dired-toggle-read-only):
1098 * files.el (view-read-only, find-file-read-only)
1099 (find-file-read-only-other-window)
1100 (find-file-read-only-other-frame):
1101 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1102 Doc fixes re toggle-read-only.
1104 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1106 * progmodes/python.el: Add comment about pipe buffering and
1107 solutions for missing/delayed output in inferior Python shells.
1110 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1112 * progmodes/python.el (python-mode): Don't set
1113 mode-require-final-newline. (Bug#17990)
1115 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
1117 Make python.el work with IPython automatically. (Bug#15510)
1118 * progmodes/python.el:
1119 (python-shell-completion-setup-code): New value supporting iPython.
1120 (python-shell-completion-string-code): New value supporting iPython.
1121 (python-shell-completion-get-completions): Use them.
1122 (python-shell-completion-module-string-code): Make obsolete.
1123 (python-shell-prompt-input-regexps)
1124 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1125 (python-shell-output-filter): Fix comment typo.
1127 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1129 Fix Python shell prompts detection for remote hosts.
1130 * progmodes/python.el (python-shell-prompt-detect):
1131 Replace call-process with process-file and make it more robust.
1133 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1135 Autodetect Python shell prompts. (Bug#17370)
1136 * progmodes/python.el:
1137 (python-shell-interpreter-interactive-arg)
1138 (python-shell-prompt-detect-enabled)
1139 (python-shell-prompt-detect-failure-warning)
1140 (python-shell-prompt-input-regexps)
1141 (python-shell-prompt-output-regexps): New vars.
1142 (python-shell-prompt-calculated-input-regexp)
1143 (python-shell-prompt-calculated-output-regexp): New vars.
1144 (python-shell-get-process-name)
1145 (python-shell-internal-get-process-name)
1146 (python-shell-output-filter)
1147 (python-shell-completion-get-completions): Use them.
1148 (python-shell-prompt-detect)
1149 (python-shell-prompt-validate-regexps): New functions.
1150 (python-shell-prompt-set-calculated-regexps): New function.
1151 (inferior-python-mode): Use it. Also honor overridden
1152 python-shell-interpreter and python-shell-interpreter-args.
1153 (python-shell-make-comint): Honor overridden
1154 python-shell-interpreter and python-shell-interpreter-args.
1155 (python-shell-get-or-create-process): Make it testable by allowing
1156 to call run-python non-interactively.
1157 (python-util-valid-regexp-p): New function.
1158 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1159 (python-shell-prompt-output-regexp)
1160 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1162 2014-07-16 Glenn Morris <rgm@gnu.org>
1164 * desktop.el (after-init-hook): Disable startup frame restoration
1165 in non-graphical situations. (Bug#17693)
1167 2014-07-14 Glenn Morris <rgm@gnu.org>
1169 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1170 if it was "empty", or used for a different set of files. (Bug#17884)
1172 2014-07-13 Eli Zaretskii <eliz@gnu.org>
1174 * bindings.el (mode-line-remote): If default-directory is not a
1175 string, don't call file-remote-p on it; instead state in the
1176 help-echo that it is nil. (Bug#17986)
1178 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1180 Fix bug: C-x v v discarded existing log message (Bug#17884).
1181 * vc/vc-dispatcher.el (vc-log-edit):
1182 Don't clobber an already-existing log message.
1184 2014-07-10 Glenn Morris <rgm@gnu.org>
1186 * vc/log-edit.el (log-edit-changelog-entries):
1187 Check for a visited-but-never-saved ChangeLog.
1189 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1192 a non-existing file (bug#17970).
1194 * faces.el (face-name): Undo last change.
1195 (x-resolve-font-name): Don't call face-name (bug#17956).
1197 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
1199 Fix dedenters and electric colon handling. (Bug#15163)
1201 * progmodes/python.el
1202 (python-rx-constituents): Add dedenter and block-ender.
1203 (python-indent-dedenters, python-indent-block-enders): Delete.
1204 (python-indent-context): Return new case for dedenter-statement.
1205 (python-indent-calculate-indentation): Handle new case.
1206 (python-indent-calculate-levels): Fix levels calculation for
1207 dedenter statements.
1208 (python-indent-post-self-insert-function): Fix colon handling.
1209 (python-info-dedenter-opening-block-message): New function.
1210 (python-indent-line): Use it.
1211 (python-info-closing-block)
1212 (python-info-closing-block-message): Remove.
1213 (python-info-dedenter-opening-block-position)
1214 (python-info-dedenter-opening-block-positions)
1215 (python-info-dedenter-statement-p): New functions.
1217 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1220 the middle of a line (bug#17896).
1222 2014-07-08 Juri Linkov <juri@jurta.org>
1224 * startup.el (command-line): Append displaying the warning about
1225 the errors in the init file to the end of `after-init-hook'.
1228 2014-07-08 Juri Linkov <juri@jurta.org>
1230 * faces.el (face-name): Return input arg `face' as is
1231 when it's not a symbol.
1232 (x-resolve-font-name): Don't check if the face is a symbol.
1235 2014-07-08 Juri Linkov <juri@jurta.org>
1237 * facemenu.el (list-colors-print): In help-echo format use %.2f
1238 instead of %d because now HSV values are floating-point components
1239 between 0.0 and 1.0.
1241 2014-07-06 Glenn Morris <rgm@gnu.org>
1243 * emulation/cua-rect.el (cua--activate-rectangle):
1244 Avoid setting cua--rectangle to nil. (Bug#17877)
1246 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1248 * calendar/todo-mode.el: Fix wrong-type-argument error when
1249 marking multiple consecutive items.
1250 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1251 end of the todo and done items sections. Note in doc string that
1252 items marked by passing a numeric prefix argument can include the
1253 last todo and first done items.
1254 (todo-mark-category): Don't try to mark the empty line between the
1255 todo and done items sections.
1257 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1260 proper Lisp quoting (bug#17934).
1262 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1263 require-final-newline since prog-mode already took care of it (bug#17947).
1265 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1267 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1268 refer to the Todo mode Info manual. Update the comment on
1270 (todo-find-filtered-items-file): Add todo-prefix overlays.
1271 (todo-filter-items): Reorder a let-bound variable to avoid a
1272 wrong-type-argument error on canceling the file choice dialog.
1274 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * progmodes/octave.el (inferior-octave-mode):
1277 Set comint-input-ring-size to a number (bug#17912).
1279 2014-07-03 Juri Linkov <juri@jurta.org>
1281 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1282 and `isearch-mode' associated with nil. (Bug#17849)
1284 2014-07-02 Juri Linkov <juri@jurta.org>
1286 * desktop.el (desktop-save): Rename arg `auto-save' to
1287 `only-if-changed'. Doc fix. (Bug#17873)
1289 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1292 Use insert-for-yank (bug#17271).
1294 2014-07-02 Leo Liu <sdl.web@gmail.com>
1296 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1297 Support lexical-binding.
1299 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * vc/log-edit.el (log-edit-goto-eoh): New function.
1302 (log-edit--match-first-line): Use it (bug#17861).
1304 2014-07-01 Glenn Morris <rgm@gnu.org>
1306 * vc/log-edit.el (log-edit-hook): Add missing :version.
1308 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1310 * progmodes/python.el (python-indent-post-self-insert-function):
1311 Enhancements to electric indentation behavior inside
1314 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1317 buffer-invisibility-spec (bug#17867).
1319 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1321 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1324 2014-06-29 Glenn Morris <rgm@gnu.org>
1326 * cus-edit.el (help):
1327 * finder.el (finder-known-keywords):
1328 * help.el (help-for-help-internal):
1329 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1330 (ediff-redraw-registry-buffer):
1331 * vc/ediff-ptch.el (ediff-patch-file-internal):
1332 Doc fixes re "online" help. (Bug#17803)
1334 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1335 (idlwave-mode): Doc URL update.
1337 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1339 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1340 account for file-wide setting of todo-top-priorities-overrides.
1341 Make code a bit cleaner.
1343 2014-06-27 Leo Liu <sdl.web@gmail.com>
1345 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1347 2014-06-27 Glenn Morris <rgm@gnu.org>
1349 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1351 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1353 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1354 category-wide setting of todo-top-priorities-overrides, check for
1355 a file-wide setting and fontify accordingly.
1357 2014-06-26 Glenn Morris <rgm@gnu.org>
1359 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1361 2014-06-26 Daiki Ueno <ueno@gnu.org>
1363 * emacs-lisp/package.el (package--check-signature):
1364 If package-check-signature is allow-unsigned, don't signal error when
1365 we can't verify signature because of missing public key
1366 (backport for bug#17625).
1368 2014-06-26 Glenn Morris <rgm@gnu.org>
1370 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1371 Remove outdated declaration.
1373 * emacs-lisp/authors.el (authors-valid-file-names)
1374 (authors-renamed-files-alist): Additions.
1376 2014-06-25 Leo Liu <sdl.web@gmail.com>
1378 * textmodes/picture.el (picture-set-tab-stops):
1379 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1380 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1382 * progmodes/asm-mode.el (asm-calculate-indentation):
1383 Use indent-next-tab-stop.
1385 * indent.el (indent-accumulate-tab-stops): New function.
1387 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1389 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1390 (package-desc-status): Obey it.
1392 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1394 * calendar/todo-mode.el: Fix two bugs.
1395 (todo-insert-item--basic): If user cancels item insertion to
1396 another category before setting priority, show original category
1397 whether it is in the same or a different file.
1398 (todo-set-item-priority): After selecting category, instead of
1399 moving point to top, which extends an active region, restore it.
1401 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * help-fns.el (describe-function-1): Check file-name is a string before
1404 calling help-fns--autoloaded-p (bug#17564).
1406 2014-06-24 Juri Linkov <juri@jurta.org>
1408 * desktop.el (desktop-auto-save-enable)
1409 (desktop-auto-save-disable): New functions.
1410 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1411 (desktop-read): Disable the autosave before loading the desktop,
1412 and enable afterwards. (Bug#17351)
1414 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1416 Fix some indentation problem with \; and pipes (bug#17842).
1417 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1418 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1420 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1421 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1422 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1424 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1426 * international/fontset.el (script-representative-chars):
1427 Add representative characters for scripts added in Unicode 7.0.
1428 (otf-script-alist): Synchronize with the latest registry of OTF
1431 * international/characters.el (char-script-table): Update for
1432 scripts added and codepoint ranges changed in Unicode 7.0.
1434 2014-06-23 Leo Liu <sdl.web@gmail.com>
1436 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1437 tab-stop-list to nil. (Bug#16381)
1439 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1440 (indent-rigidly-left-to-tab-stop)
1441 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1442 (move-to-tab-stop): Change callers.
1444 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1446 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1447 wrt behavior of \n as the first/last element of a skeleton.
1449 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1451 * net/tramp-adb.el (tramp-adb-handle-process-file):
1452 * net/tramp-sh.el (tramp-sh-handle-process-file):
1453 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1454 the output buffer when DISPLAY is non-nil. (Bug#17815)
1456 2014-06-21 Glenn Morris <rgm@gnu.org>
1458 * play/landmark.el (landmark-move-down, landmark-move-up):
1459 Fix 2007-10-20 change - preserve horizontal position.
1461 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1463 Fix completion retrieval parsing (bug#17209).
1464 * progmodes/python.el (python-mode):
1465 (python-util-strip-string): New function.
1466 (python-shell-completion-get-completions): Use it.
1468 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1470 * skeleton.el (skeleton-insert): Fix last change.
1472 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1474 Enhancements for outline integration (bug#17796).
1475 * progmodes/python.el (python-mode): Properly set
1476 outline-heading-end-regexp so that comments after colons for
1477 defuns are supported.
1479 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1481 * skeleton.el (skeleton-insert): Doc fix.
1483 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1485 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1486 (smie-config-guess): Use smie-config-local so the rules are obeyed
1489 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1490 since it's already done inside the loop (bug#17819).
1492 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1494 * mouse.el (mouse-drag-line): Re-remove code initially removed
1495 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1498 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1500 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1501 align with the surrounding parent (bug#17721).
1503 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1505 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1507 (texinfo-insert-block, texinfo-insert-@end)
1508 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1509 local setting of skeleton-end-newline by adding an explicit \n to
1510 the skeletons where appropriate. (Bug#17801)
1512 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1514 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1515 (smie-indent--hanging-p): Use it.
1516 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1518 2014-06-20 Leo Liu <sdl.web@gmail.com>
1520 * simple.el (read-quoted-char): Don't let help chars pop up help
1523 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1525 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1528 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1530 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1531 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1534 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1536 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1537 and later. (Bug#17790)
1539 2014-06-18 Juri Linkov <juri@jurta.org>
1541 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1542 to `soft'. (Bug#17554)
1544 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1546 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1549 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1551 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1552 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1554 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1556 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1557 `unread-command-events'.
1559 2014-06-14 Glenn Morris <rgm@gnu.org>
1561 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1562 Replace delete-duplicates and mapcan by cl- versions throughout.
1563 And cl-macroexpand-all by macroexpand-all.
1564 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1566 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1568 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1570 2014-06-14 Juri Linkov <juri@jurta.org>
1572 * bindings.el: Put `ascii-character' property on keypad keys
1573 mapped to characters. (Bug#17759)
1575 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1578 bumping forward into a closing paren (bug#17761).
1580 * term/xterm.el (xterm--version-handler): Work around for OSX
1581 Terminal.app (bug#17607).
1583 2014-06-08 Glenn Morris <rgm@gnu.org>
1585 * startup.el (initial-buffer-choice): Doc fix.
1586 Reset :version (adding an option does not merit a :version bump).
1588 * bookmark.el (bookmark-load):
1589 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1591 2014-06-06 Juri Linkov <juri@jurta.org>
1593 * desktop.el: Activate auto-saving on window configuration changes.
1594 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1595 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1596 (desktop-auto-save-set-timer): Change REPEAT arg of
1597 `run-with-idle-timer' from t to nil.
1598 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1600 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1602 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1603 vc-hg-command (bug#17570).
1605 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1607 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1610 2014-06-06 Glenn Morris <rgm@gnu.org>
1612 * startup.el (window-setup-hook): Doc fix.
1614 2014-06-05 Glenn Morris <rgm@gnu.org>
1616 * emacs-lisp/package.el (package-check-signature)
1617 (package-unsigned-archives): Doc fixes.
1619 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1621 * window.el (display-buffer-use-some-window): Don't make window
1622 used smaller than it was before (Bug#17671).
1624 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1626 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1627 'redisplay' instead of '(sit-for 0)'.
1629 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1631 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1634 2014-06-03 Glenn Morris <rgm@gnu.org>
1636 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1638 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1640 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1642 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1644 * simple.el (keyboard-quit): Force update of mode lines, to remove
1645 the "Def" indicator, if we were defining a macro. (Bug#17615)
1647 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * minibuffer.el (minibuffer-force-complete-and-exit):
1650 Obey minibuffer-default (bug#17545).
1652 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1655 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1657 * subr.el (set-transient-map): Don't wait for some "nested"
1658 transient-map to finish if we're only supposed to be active for
1659 the next command (bug#17642).
1661 2014-05-31 Leo Liu <sdl.web@gmail.com>
1663 * emacs-lisp/gv.el (window-buffer, window-display-table)
1664 (window-dedicated-p, window-hscroll, window-point, window-start):
1665 Fix gv-expander. (Bug#17630)
1667 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1672 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1673 for the single comma, since ", " is *very* common in normal French text
1676 2014-05-30 Glenn Morris <rgm@gnu.org>
1678 * emacs-lisp/package.el (package-check-signature)
1679 (package-unsigned-archives): Fix :version.
1681 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * subr.el (sit-for): Don't run input-methods (bug#15614).
1685 2014-05-28 Glenn Morris <rgm@gnu.org>
1687 * cus-start.el: Fix some :version numbers.
1689 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * simple.el (deactivate-mark): Set mark-active to nil even if
1692 deactivation is done via setting transient-mark-mode to nil,
1693 since one is buffer-local and the other is global.
1695 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1696 there can't be more than 2 arguments (bug#17584).
1698 2014-05-27 Glenn Morris <rgm@gnu.org>
1700 * simple.el (filter-buffer-substring-functions)
1701 (filter-buffer-substring-function, buffer-substring-filters)
1702 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1704 * minibuffer.el (completion-in-region-functions, completion-in-region)
1705 (completion--in-region): Doc fixes.
1707 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1708 (expand-abbrev, abbrev--default-expand): Doc fixes.
1710 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1712 Include sources used to create macuvs.h.
1713 * international/README: Refer to the Unicode Terms of Use rather
1714 than copying it bodily here, as that simplifies maintenance.
1716 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1718 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1720 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1722 * window.el (window--dump-frame): Remove interactive
1725 2014-05-23 Glenn Morris <rgm@gnu.org>
1727 * hippie-exp.el (he-line-search-regexp):
1728 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1730 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1732 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1733 to avoid errors when trying to create or visit a file foo.todo
1734 located outside to todo-directory, and to allow having such files
1735 without them being tied to Todo mode (bug#17482).
1736 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1737 (todo-archive-done-item, todo-find-filtered-items-file)
1738 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1739 (todo-category-completions, todo-read-category): When visiting a
1740 Todo file, make sure we're in the right mode and the buffer local
1742 (todo-make-categories-list, todo-reset-nondiary-marker)
1743 (todo-reset-done-string, todo-reset-comment-string):
1744 After processing all Todo files, kill the buffers of those files that
1745 weren't being visited before the processing.
1746 (todo-display-as-todo-file, todo-add-to-buffer-list)
1747 (todo-visit-files-commands): Comment out.
1748 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1749 (auto-mode-alist): Remove add-to-list calls making Todo file
1750 extensions unrestrictedly tied to Todo modes.
1752 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1754 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1755 (advice-function-member-p): Tell it to check both names and functions
1757 (advice--add-function): Adjust call accordingly.
1759 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1761 * calendar/todo-mode.el: Miscellaneous bug fixes.
1762 (todo-delete-file): When deleting an archive but not its todo
1763 file, make sure to update the todo file's category sexp.
1764 (todo-move-category): Keep the moved category's name unless the
1765 file moved to already has a category with that name. If the
1766 numerically last category of the source file was moved, make the
1767 first category current to avoid selecting a nonexisting category.
1768 (todo-merge-category): Fix implementation to make merging to a
1769 category in another file work as documented. Eliminate now
1770 insufficient and unnecessary renaming of archive category, correct
1771 document string accordingly, and clarify it. If the numerically
1772 last category of the source file was merged, make the first
1773 category current to avoid selecting a nonexisting category.
1774 (todo-archive-done-item): When there are marked items and point
1775 happens to be on an unmarked item, ignore the latter. Don't leave
1776 point below last item after archiving marked items.
1777 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1778 from an archive with only one category deletes the archive only
1779 when the category is empty after unarchiving. Make sure the todo
1780 file's category sexp is updated.
1781 (todo-read-file-name): Allow an existing file name even when it is
1782 not required (todo-move-category needs this to work as documented).
1783 (todo-add-file): Call todo-validate-name to reject the name of an
1784 existing todo file (needed due to fix in todo-read-file-name).
1785 (todo-reset-nondiary-marker): Also reset in filtered items files.
1786 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1787 regexp filtered items files.
1788 (todo-reset-highlight-item): Also reset in filtered items files.
1789 Fix incorrect variable reference in document string.
1791 2014-05-22 Glenn Morris <rgm@gnu.org>
1793 * window.el (window--dump-frame): Avoid error in --without-x builds.
1795 2014-05-21 Glenn Morris <rgm@gnu.org>
1797 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1799 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1801 * frame.el (set-frame-font): Doc fix.
1803 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1805 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1807 * emacs-lisp/package.el (package--download-one-archive):
1808 Use `write-region' instead of `save-buffer' to avoid running various
1810 (describe-package-1): Same. Insert newline at the end of the
1811 buffer if appropriate.
1813 2014-05-20 Juri Linkov <juri@jurta.org>
1815 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1816 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1817 Add more modifiers: meta, control, shift, hyper, super, alt.
1820 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1821 to allow changing its value with `set-variable'.
1823 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1827 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1829 (scheme-mode-variables): Set syntax-propertize-function instead of
1830 font-lock-syntactic-face-function.
1831 (scheme-font-lock-syntactic-face-function): Delete.
1833 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1835 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1840 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1842 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1843 for a temporary file name.
1845 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1847 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1849 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1851 * net/dbus.el (dbus-init-bus, dbus-call-method)
1852 (dbus-call-method-asynchronously, dbus-send-signal)
1853 (dbus-method-return-internal, dbus-method-error-internal):
1854 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1856 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1858 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1859 methods which do not have a doc string. (Bug#17490)
1861 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1862 Stefan Monnier <monnier@iro.umontreal.ca>
1864 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1867 2014-05-14 Glenn Morris <rgm@gnu.org>
1869 * vc/emerge.el (emerge-temp-file-prefix):
1870 Make pointless option obsolete.
1871 (emerge-temp-file-mode): Make non-functional option obsolete.
1873 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1875 * net/browse-url.el (browse-url):
1876 Use `unhandled-file-name-directory' when setting `default-directory',
1877 in order to circumvent stalled remote connections. (Bug#17425)
1879 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1882 into autoloading just because of a silly indirection.
1884 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1886 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1888 2014-05-11 Glenn Morris <rgm@gnu.org>
1890 * emacs-lisp/find-gc.el: Move to ../admin.
1892 2014-05-10 Glenn Morris <rgm@gnu.org>
1894 * printing.el (pr-version):
1895 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1897 * net/browse-url.el (browse-url-mosaic):
1898 Create /tmp/Mosaic.PID as a private file.
1900 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1903 (advice--member-p): If name is given, only compare the name.
1904 (advice--remove-function): Don't stop at the first match.
1905 (advice--normalize-place): New function.
1906 (add-function, remove-function): Use it.
1907 (advice--add-function): Pass the name, if any, to
1908 advice--remove-function.
1910 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1912 * electric.el (electric-indent-post-self-insert-function): Don't use
1913 `pos' after modifying the buffer (bug#17449).
1915 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * subr.el (function-put): Add function.
1919 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1921 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1922 Correct argument list to conform to todo-insert-item--basic.
1924 2014-05-09 Glenn Morris <rgm@gnu.org>
1926 * files.el (cd-absolute): Test if directory is accessible
1927 rather than executable. (Bug#17330)
1929 * progmodes/compile.el (recompile):
1930 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1932 2014-05-08 Juri Linkov <juri@jurta.org>
1934 * dired.el (dired-check-switches, dired-switches-recursive-p):
1935 New functions. (Bug#17218)
1936 (dired-switches-escape-p, dired-move-to-end-of-filename):
1937 Use `dired-check-switches'.
1938 (dired-insert-old-subdirs, dired-build-subdir-alist)
1939 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1941 2014-05-08 Glenn Morris <rgm@gnu.org>
1943 * net/browse-url.el (browse-url-mosaic):
1944 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1945 This is CVE-2014-3423.
1947 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1950 (xterm-mouse--read-event-sequence-1000): Return nil if something
1952 (xterm-mouse-event): Propagate it.
1953 (xterm-mouse-translate-1): Handle it.
1955 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1957 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1958 four slots of the parameter list are filled, make sure to pass it
1959 to the argument list of todo-insert-item--basic.
1961 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1964 Add optional `seen' argument to detect and break infinite loops.
1966 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1968 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1969 (trace-unsafe, trace-use-tree): Make parentheses style be
1970 according to Emacs style.
1972 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1974 * net/tramp-sh.el (tramp-remote-process-environment):
1975 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1977 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1978 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1979 extra "PSx=..." commands.
1980 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1983 (tramp-uudecode): Replace the hard-coded temporary file name by a
1985 (tramp-remote-coding-commands): Enhance docstring.
1986 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1988 This is CVE-2014-3424.
1990 2014-05-06 Glenn Morris <rgm@gnu.org>
1992 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1993 (find-gc-source-files): Update some names.
1994 (trace-call-tree): Simplify and update.
1995 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1996 This is CVE-2014-3422.
1998 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2000 * minibuffer.el (completion--try-word-completion): Revert fix for
2001 Bug#15980 (bug#17375).
2003 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2004 Always store button numbers in the same way in xterm-mouse-last;
2005 Don't burp is xterm-mouse-last is not set as expected.
2006 Never return negative indices.
2008 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
2010 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2011 Backtrack one char if the global/char-literal var matcher hits
2012 inside a string. The next char could be the beginning of an
2013 expression expansion.
2015 2014-05-05 Glenn Morris <rgm@gnu.org>
2017 * help-fns.el (describe-function-1): Test for an autoload before a
2018 macro, since `macrop' works on autoloads. (Bug#17410)
2020 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2022 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2024 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2025 Make sure the new point we return is within the new string (bug#17239).
2027 2014-05-03 Eli Zaretskii <eliz@gnu.org>
2029 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2031 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2034 Use nil rather than `default' for the "default" appearance (bug#17388).
2035 * vc/ediff-util.el (ediff-inferior-compare-regions)
2036 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2037 a misleading `default' value when it's really a boolean.
2038 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2039 overlay is not visible.
2041 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2043 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2044 (todo-menu): Uncomment and update.
2046 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2048 * calendar/todo-mode.el: Reimplement item editing to have the same
2049 basic user interface as item insertion, and make small UI and
2050 larger internal improvements to the latter.
2051 (todo-insert-item): Add reference to the Todo mode user manual to
2052 the documentation string.
2053 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2054 adjust all callers. Change signature to combine diary and
2055 nonmarking arguments. Incorporate functionality of deleted item
2056 copying command and add error checking. Remove detailed
2057 descriptions of the arguments from the documentation string, since
2058 this is treated in the Todo mode user manual.
2059 (todo-copy-item, todo-edit-multiline-item)
2060 (todo-edit-done-item-comment, todo-edit-item-header)
2061 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2062 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2063 (todo-edit-item-date-year, todo-edit-item-date-month)
2064 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2066 (todo-edit-item): Reimplement as wrapper command for
2067 todo-edit-item--next-key and make it distinguish done and not done
2069 (todo-edit-item--text): New function, replacing old command
2070 todo-edit-item and incorporating deleted commands
2071 todo-edit-multiline-item and todo-edit-done-item-comment.
2072 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2073 Use only numeric value of prefix argument. Remove detailed
2074 descriptions of the arguments from the documentation string, since
2075 this is treated in the Todo mode user manual.
2076 (todo-edit-item--diary-inclusion): New function, replacing old
2077 command todo-edit-item-diary-inclusion and incorporating and fixing
2078 functionality of deleted command todo-edit-item-diary-nonmarking,
2079 making sure to remove todo-nondiary-marker when adding
2080 diary-nonmarking-symbol.
2081 (todo-edit-category-diary-inclusion): Make sure to delete
2082 diary-nonmarking-symbol when adding todo-nondiary-marker.
2083 (todo-edit-category-diary-nonmarking): Fix indentation.
2084 (todo-insert-item--parameters): Group diary and nonmarking
2085 parameters together.
2086 (todo-insert-item--apply-args): Adjust to signature of
2087 todo-insert-item--basic and incorporate copy parameter.
2088 Make small code improvements.
2089 (todo-insert-item--next-param): Improve prompt and adjust it to
2090 new parameter grouping. Remove obsolete code.
2091 (todo-edit-item--param-key-alist)
2092 (todo-edit-item--date-param-key-alist)
2093 (todo-edit-done-item--param-key-alist): New defconsts.
2094 (todo-edit-item--prompt): New variable.
2095 (todo-edit-item--next-key): New function.
2096 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2097 Remove bindings of deleted commands.
2099 2014-05-02 Leo Liu <sdl.web@gmail.com>
2101 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2103 2014-05-01 Glenn Morris <rgm@gnu.org>
2105 * allout-widgets.el (allout-widgets-tally)
2106 (allout-decorate-item-guides):
2107 * menu-bar.el (menu-bar-positive-p):
2108 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2109 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2110 * progmodes/js.el (js--inside-param-list-p)
2111 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2112 * progmodes/prolog.el (region-exists-p):
2113 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2114 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2115 Doc fixes (replace `iff').
2117 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2119 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2121 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2123 * dired.el (dired-initial-position-hook, dired-initial-position):
2126 2014-04-29 Glenn Morris <rgm@gnu.org>
2128 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2130 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2132 * faces.el (face-spec-recalc): Apply X resources only after the
2133 defface spec has been applied. Thus, X resources are no longer
2134 overridden by the defface spec which also fixes issues on win32 where
2135 the toolbar coloring was wrong because it is set through X resources
2136 and was (wrongfully) overridden. (Bug#16694)
2138 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * textmodes/rst.el (electric-pair-pairs): Declare.
2141 (rst-mode): Set it (bug#17131).
2143 2014-04-27 Juri Linkov <juri@jurta.org>
2145 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2146 and `print-level' to nil. (Bug#17351)
2148 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2150 * battery.el (battery-update): Handle the case where battery
2151 status is "N/A" (bug#17319).
2153 2014-04-24 Eli Zaretskii <eliz@gnu.org>
2155 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2156 Use equal-including-properties to compare help-echo strings (bug#17331).
2158 2014-04-24 Leo Liu <sdl.web@gmail.com>
2160 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2161 Fix syntax for @. (Bug#17325)
2163 2014-04-24 Daniel Colascione <dancol@dancol.org>
2165 * emacs-lisp/cl.el (gv): Require gv early to break eager
2166 macro-expansion cycles.
2168 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2170 * simple.el (region-active-p): Check there's a mark (bug#17324).
2172 * simple.el (completion-list-mode-map): Use choose-completion for the
2173 mouse binding as well (bug#17302).
2174 (completion-list-mode, completion-setup-function): Adjust docstring and
2175 echo area message accordingly.
2176 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2177 calling convention of choose-completion.
2178 * comint.el (comint-dynamic-list-completions):
2179 * term.el (term-dynamic-list-completions): Accept choose-completion.
2181 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2182 &, |, +, - and * can't be a division (bug#17317).
2184 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2187 features on gnome-terminal (bug#16988).
2189 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2191 * dired.el (dired-insert-set-properties): Do not consider
2192 subdirectory headings and empty lines to be information that
2193 `dired-hide-details-mode' should hide. (Bug#17228)
2195 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2197 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2198 Remove test messages.
2199 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2202 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2205 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2207 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2209 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
2211 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2212 Set "IFS=" when using read builtin, in order to preserve spaces in
2213 the file name. Add test messages for hunting a bug on hydra.
2214 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2216 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2219 Don't prettify a word within a symbol.
2221 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2223 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2226 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2229 assignments such as "case=hello" (bug#17297).
2231 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2233 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2235 (tramp-file-name-handler, tramp-completion-file-name-handler):
2236 Revert patch from 2014-04-10, it isn't necessary anymore.
2237 (tramp-autoload-file-name-handler)
2238 (tramp-register-autoload-file-name-handlers): New defuns.
2239 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2240 (tramp-register-file-name-handlers): Remove also
2241 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2242 Do not autoload its invocation, but eval it after loading of 'tramp.
2244 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2246 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2248 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2250 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2251 was done (bug#17264).
2252 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2255 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2256 here-documents (bug#17262).
2258 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2260 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2261 Provide doc strings, as required by snarf-documentation.
2263 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2265 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2266 arg of overlays-at. Use `invisible-p'.
2268 * obsolete/lucid.el (extent-at):
2269 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2271 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2273 2014-04-14 João Távora <joaotavora@gmail.com>
2275 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2278 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2280 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2281 Use mapc to loop over a vector. (Bug#17257).
2283 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2285 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2286 patch, there are new problems with file names containing spaces.
2287 Get rid of backticks. (Bug#17238)
2289 2014-04-13 João Távora <joaotavora@gmail.com>
2291 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2294 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2296 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2297 (blink-cursor-mode): Mention customization variables and the
2298 effect of 'blink-cursor-blinks'.
2300 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2302 * simple.el (undo): Prevent insertion of identity mapping into
2303 undo-equiv-table so as undo-only does not inf loop in the presence
2304 of consecutive nils in undo list.
2306 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2308 * faces.el (make-face): Deprecate optional argument as it is no
2309 longer needed/used since the conditional X resources handling
2310 has been pushed down to make-face-x-resource-internal itself.
2311 (make-empty-face): Don't pass optional argument to make-face.
2313 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2315 * international/characters.el <standard-case-table>: Add entries
2316 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2317 Set category of Coptic characters be 'g' (Greek).
2319 2014-04-12 Leo Liu <sdl.web@gmail.com>
2321 * progmodes/octave.el (completion-table-with-cache): Define if not
2323 (octave-goto-function-definition)
2324 (octave-sync-function-file-names)
2325 (octave-find-definition-default-filename): Backquote upattern for
2328 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2330 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2331 name twice due to backticks. (Bug#17238)
2333 2014-04-11 Glenn Morris <rgm@gnu.org>
2335 * term/w32-win.el (x-win-suspend-error):
2336 * term/x-win.el (x-win-suspend-error): Sync docs.
2338 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2340 Ediff's overlay priorities cause more trouble than they solve.
2341 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2342 (ediff-highest-priority): Remove function (bug#17234).
2343 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2344 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2345 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2348 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2350 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2351 entry; use symbol boundaries to avoid mis-matches.
2353 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2355 * net/tramp.el (tramp-file-name-handler)
2356 (tramp-completion-file-name-handler): Avoid recursive loading.
2358 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2359 Quote result also locally.
2361 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2363 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2364 Module methods. (Bug#17216)
2366 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2369 (describe-bindings-internal): Mark obsolete.
2371 2014-04-07 João Távora <joaotavora@gmail.com>
2374 (electric-pair--syntax-ppss): When inside comments parse from
2376 (electric-pair--balance-info): Fix typo in comment.
2377 (electric-pair--in-unterminated-string-p): Delete.
2378 (electric-pair--unbalanced-strings-p): New function.
2379 (electric-pair-string-bound-function): New var.
2380 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2381 according to `electric-pair--in-unterminated-string-p'
2383 2014-04-07 João Távora <joaotavora@gmail.com>
2385 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2386 Inhibit quote pairing if point-max is inside an unterminated string.
2387 (electric-pair--looking-at-unterminated-string-p): Delete.
2388 (electric-pair--in-unterminated-string-p): New function.
2390 2014-04-07 Glenn Morris <rgm@gnu.org>
2392 * shell.el (shell-directory-tracker):
2393 Go back to just ignoring failures. (Bug#17159)
2395 2014-04-06 João Távora <joaotavora@gmail.com>
2397 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2398 backspace. (bug#16981)
2399 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2400 (electric-pair-backward-delete-char-untabify): Delete.
2401 (electric-pair-mode-map): Bind backspace to a menu item filtering
2402 a new `electric-pair-delete-pair' command.
2403 (electric-pair-delete-pair): New command.
2405 2014-04-06 João Távora <joaotavora@gmail.com>
2407 * progmodes/python.el (python-electric-pair-string-delimiter):
2408 Fix triple-quoting electricity. (Bug#17192)
2410 2014-04-06 João Távora <joaotavora@gmail.com>
2412 * elec-pair.el (electric-pair-post-self-insert-function):
2413 Don't skip whitespace when `electric-pair-text-pairs' and
2414 `electric-pair-pairs' were used. syntax to
2415 electric-pair--skip-whitespace. (Bug#17183)
2417 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2419 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2422 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2425 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2427 2014-04-05 Glenn Morris <rgm@gnu.org>
2429 * help.el (view-lossage): Doc tweak.
2431 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2433 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2434 only when inhibit-x-resources is nil, and do that earlier in the
2435 function. Doc fix. (Bug#16694)
2436 (face-spec-choose): Accept additional optional argument, whose
2437 value is returned if no matching attributes are found.
2438 (face-spec-recalc): Use the new optional argument when calling
2439 face-spec-choose. (Bug#16378)
2440 (make-face-x-resource-internal): Do nothing when
2441 inhibit-x-resources is non-nil. Don't touch the default face if
2442 reversed video is given--as was done in previous versions of Emacs.
2443 (face-set-after-frame-default): Don't call
2444 make-face-x-resource-internal here. (Bug#16434)
2446 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2448 * doc-view.el (doc-view-bookmark-jump):
2449 Use `bookmark-after-jump-hook' to jump to the right page after the
2450 buffer is shown in a window. (bug#16090)
2452 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2454 * international/characters.el (mirroring): Fix last change:
2455 instead of loading uni-mirrored.el explicitly, do that implicitly
2456 by creating the 'mirroring' uniprop table. This avoids announcing
2457 the loading of uni-mirrored.el.
2459 2014-04-04 Glenn Morris <rgm@gnu.org>
2461 * files.el (buffer-stale--default-function)
2462 (buffer-stale-function, revert-buffer--default):
2463 * autorevert.el (auto-revert-buffers): Doc tweaks.
2465 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2467 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2469 2014-04-03 Glenn Morris <rgm@gnu.org>
2471 * files.el (make-backup-file-name-function)
2472 (make-backup-file-name, make-backup-file-name--default-function)
2473 (make-backup-file-name-1, find-backup-file-name)
2474 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2475 (buffer-stale--default-function, buffer-stale-function)
2476 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2477 (revert-buffer, revert-buffer--default)
2478 (revert-buffer-insert-file-contents--default-function):
2479 Doc fixes related to defaults no longer being nil.
2480 (make-backup-file-name-function): Bump :version.
2481 Restore nil as a valid but deprecated custom type.
2483 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2485 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2486 used as a variable (bug#17174).
2488 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * progmodes/perl-mode.el (perl-indent-new-calculate):
2491 Handle forward-sexp failure (bug#16985).
2492 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2493 modifiers introducing expressions (bug#17116).
2495 2014-04-02 Glenn Morris <rgm@gnu.org>
2497 * menu-bar.el (menu-bar-file-menu):
2498 * vc/ediff.el (ediff-current-file):
2499 Update for revert-buffer-function no longer being nil by default.
2501 * simple.el (command-execute): Respect nil disabled-command-function.
2503 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2505 * simple.el (command-execute): Do not execute the command when it
2506 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2508 2014-03-29 Juri Linkov <juri@jurta.org>
2510 * dired-aux.el (dired-compress-file): Don't use string-match-p
2511 because its match data is used afterwards.
2513 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2518 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2520 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2521 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2523 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2524 Don't propertize `?' or `!' as symbol constituent when after
2527 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2529 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2530 which is no longer needed and causes trouble in GTK builds (bug#17046).
2532 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2533 Use url-insert-file-contents; package-handle-response no longer exists.
2535 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2537 * emacs-lisp/package.el: Fix bug#16733 (again).
2538 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2539 (url-http-target-url): Remove unused declarations.
2540 (package-handle-response): Remove.
2541 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2542 (package--download-one-archive): Use current-buffer instead of
2543 dynamic binding of `buffer'.
2544 (describe-package-1): Do not decode readme-string.
2546 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2548 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2550 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2552 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2554 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2555 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2556 `remote-file-name-inhibit-cache' to nil in the second pass.
2557 (tramp-find-executable): Do not call "which" on SunOS.
2558 (tramp-send-command-and-check): Fix docstring.
2559 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2560 check whether source directory has set the sticky bit.
2562 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2564 * simple.el (primitive-undo): Only process marker adjustments
2565 validated against their corresponding (TEXT . POS). Issue warning
2566 for lone marker adjustments in undo history. (Bug#16818)
2567 (undo-make-selective-list): Add marker adjustments to selective
2568 undo list based on whether their corresponding (TEXT . POS) is in
2569 the region. Remove variable adjusted-markers, which was unused
2570 and only non nil during undo-make-selective-list.
2571 (undo-elt-in-region): Return nil when passed a marker adjustment
2572 and explain in function doc.
2574 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2576 * emacs-lisp/package.el (package--add-to-archive-contents):
2577 Include already installed and built-in packages in
2578 `package-archive-contents'.
2579 (package-install): Don't include already installed packages in the
2580 options during interactive invocation. (Bug#16762)
2582 2014-03-24 Daniel Colascione <dancol@dancol.org>
2584 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2585 instead of cl-loop search function.
2587 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2589 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2591 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2593 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2595 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2597 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2598 Match special global variables without curlies, too.
2599 (ruby-font-lock-keywords): Simplify the matcher for special global
2600 variables. Don't require a non-word character after the variable.
2603 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * simple.el (redisplay-highlight-region-function): Increase priority of
2606 overlay to make sure boundaries are visible (bug#15899).
2608 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2610 * frameset.el (frameset-restore): Compare display strings with equal.
2612 * frame.el (make-frame): Don't quote display name in error message,
2613 it is already a string.
2615 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2617 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2620 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2622 * emacs-lisp/package.el (package-show-package-list): If the buffer
2623 is already displayed in another window, switch to that window.
2625 2014-03-21 Daniel Colascione <dancol@dancol.org>
2627 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2628 information in bug reports.
2630 2014-03-23 Daniel Colascione <dancol@dancol.org>
2632 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2633 list to look for keyword arguments instead of `memq', fixing
2634 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2635 Please make bootstrap.
2637 2014-03-23 Richard Stallman <rms@gnu.org>
2639 * battery.el (battery-linux-sysfs): Search for each field
2640 from the beginning of the buffer.
2642 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2644 * emacs-lisp/package.el (package-desc): Use the contents of the
2645 quoted form, not its cdr. (Bug#16873)
2647 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2649 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2650 benefit of doc.c; change parameter profile to match the X function.
2652 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2654 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2655 and `tramp-copy-env'.
2657 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2658 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2660 2014-03-21 Glenn Morris <rgm@gnu.org>
2662 * electric.el (electric-indent-post-self-insert-function): Add doc.
2664 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2666 * emacs-lisp/package.el (package-compute-transaction):
2667 Use `version-list-<=' to compare the requirement version against
2668 the version of package already to be installed. Update the error
2669 message. (Bug#16826)
2671 * progmodes/ruby-mode.el (ruby-smie-rules):
2672 Add indentation rule for ` @ '. (Bug#17050)
2674 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2676 * align.el (align-regexp): Remove superfluous backslash.
2678 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2679 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2680 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2681 Fix docstring typos.
2682 (ffap-next): Use C-u in docstring.
2683 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2684 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2685 Remove superfluous backslashes.
2686 (ffap-string-at-point): Reflow docstring.
2688 * server.el (server-host): Reflow docstring.
2689 (server-unload-function): Fix docstring typo.
2690 (server-eval-at): Remove superfluous backslash.
2692 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2693 (skeleton-insert): Doc fix.
2694 (skeleton-insert): Reflow docstring.
2696 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2697 (tty-color-approximate, tty-color-by-index, tty-color-values)
2698 (tty-color-desc): Remove superfluous backslashes.
2700 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * electric.el (electric-newline-and-maybe-indent): New command.
2703 Bind it globally to C-j.
2704 (electric-indent-mode): Don't mess with the global map any more.
2705 Don't drop the post-self-insert-hook is some buffer is still using it
2708 * bindings.el (global-map): Remove C-j binding.
2710 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2711 the docstring of functions advised before dumping (bug#16993).
2713 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2715 * ps-print.el (ps-generate-postscript-with-faces):
2716 Explicitly deactivate the mark (bug#16866).
2717 * simple.el (deactivate-mark): Update region highlight.
2719 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2721 * emacs-lisp/package.el (describe-package-1):
2722 Decode commentary (bug#16733).
2724 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2726 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2727 modification of the value argument of :set (bug#16755).
2729 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2731 * simple.el (newline-and-indent): Do autofill (bug#17031).
2733 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2735 * newcomment.el (comment-normalize-vars): Only add escaping check
2736 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2737 (comment-beginning): Use `narrow-to-region' instead of moving back
2739 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2740 (comment-start-skip): Update the docstring.
2742 2014-03-18 Richard Stallman <rms@gnu.org>
2744 * dired.el (dired-display-file): Force use of other window.
2746 2014-03-18 Daniel Colascione <dancol@dancol.org>
2748 * startup.el (tty-handle-args): Remove debug message from 2007.
2750 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2752 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2753 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2754 (advice--make-1, advice-add, advice-remove):
2755 Remove braindead :advice-pending hack.
2757 2014-03-17 Glenn Morris <rgm@gnu.org>
2759 * calendar/calendar.el (calendar-generate-month): Apply weekend
2760 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2762 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2764 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2765 (tramp-call-process): Trace also DESTINATION.
2767 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2768 Quote file names when they are local. Remove superfluous trace.
2770 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2772 * newcomment.el (comment-beginning): If `comment-start-skip'
2773 doesn't match, move back one char and try again. (Bug#16971)
2775 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2776 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2777 Set `comment-start-skip' to a simpler value that doesn't try to
2778 check if the semicolon is escaped (this is handled by
2779 `syntax-ppss' now). (Bug#16971)
2781 * progmodes/scheme.el (scheme-mode-variables): Same.
2783 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2785 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2786 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2787 current (Bug#16816, Bug#17007).
2788 (with-current-buffer-window): New macro doing the same as
2789 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2790 * help.el (help-print-return-message): Warn in doc-string to not
2791 use this in `with-help-window'.
2792 (describe-bindings-internal): Call `describe-buffer-bindings'
2793 from within help buffer. See Juanma's scenario in (Bug#16816).
2794 (with-help-window): Update doc-string.
2795 * dired.el (dired-mark-pop-up):
2796 * files.el (save-buffers-kill-emacs):
2797 * register.el (register-preview): Use `with-current-buffer-window'
2798 instead of `with-temp-buffer-window'.
2800 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2802 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2803 Implement inserting into current buffer, documented in their docstrings.
2804 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2805 (rst-section-tree-point, rst-forward-section, rst-indent)
2806 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2807 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2808 (rst-font-lock-handle-adornment-pre-match-form)
2809 (rst-repeat-last-character): Reflow docstrings.
2810 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2811 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2812 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2813 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2814 Fix docstring typos.
2815 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2816 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2817 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2819 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2821 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2822 for compatibility with other ports.
2823 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2824 from the -xrm command line argument, but in the Nextstep port its value
2825 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2827 * progmodes/python.el (defconst, python-syntax-count-quotes)
2828 (python-indent-region, python-indent-shift-right)
2829 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2830 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2831 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2832 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2833 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2834 (python-shell-buffer-substring, python-shell-send-buffer)
2835 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2836 (python-completion-complete-at-point, python-fill-docstring-style)
2837 (python-eldoc-function, python-imenu-format-item-label)
2838 (python-imenu-format-parent-item-label)
2839 (python-imenu-format-parent-item-jump-label)
2840 (python-imenu--build-tree, python-imenu-create-index)
2841 (python-imenu-create-flat-index): Fix docstring typos.
2842 (python-indent-context, python-shell-prompt-regexp, run-python):
2843 Remove superfluous backslashes.
2844 (python-indent-line, python-nav-beginning-of-defun)
2845 (python-shell-get-buffer, python-shell-get-process)
2846 (python-info-current-defun, python-info-current-line-comment-p)
2847 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2848 (python-indent-post-self-insert-function, python-shell-send-file)
2849 (python-shell-completion-get-completions)
2850 (python-shell-completion-complete-or-indent)
2851 (python-eldoc--get-doc-at-point): Reflow docstrings.
2853 2014-03-14 Glenn Morris <rgm@gnu.org>
2855 * emacs-lisp/package.el (package-menu-mode-map):
2856 Replace use of obsolete function alias. Tweak menu item text.
2858 * info.el (Info-finder-find-node):
2859 Ignore the `emacs' metapackage. (Bug#10813)
2861 * finder.el (finder-list-matches): Include unversioned packages
2862 in the result of a keyword search.
2864 * finder.el (finder--builtins-descriptions): New constant.
2865 (finder-compile-keywords): Use finder--builtins-descriptions.
2867 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2869 * simple.el (blink-matching-paren): Describe the new value,
2870 `jump', enabling the old behavior.
2871 (blink-matching-open): Use that value. (Bug#17008)
2873 2014-03-14 Glenn Morris <rgm@gnu.org>
2875 * finder.el (finder-no-scan-regexp): Add leim-list.
2876 (finder-compile-keywords):
2877 Don't skip files with same basename. (Bug#14010)
2878 * Makefile.in (setwins_finder): New, excluding leim.
2879 (finder-data): Use setwins_finder.
2881 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2882 (help-function-arglist, help-make-usage): Move from here...
2883 * help.el (help-split-fundoc, help-add-fundoc-usage)
2884 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2885 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2887 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2889 * net/socks.el (socks, socks-override-functions)
2890 (socks-find-services-entry):
2891 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2892 (hif-find-ifdef-block):
2893 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2895 * net/tls.el (tls-program): Reflow docstring.
2897 * progmodes/pascal.el (pascal-mode-abbrev-table)
2898 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2899 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2900 (pascal-outline-mode): Fix docstring typos.
2901 (pascal-mode): Let define-derived-mode document mode hook.
2902 (pascal-uncomment-area): Reflow.
2903 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2905 * progmodes/opascal.el (opascal-compound-block-indent)
2906 (opascal-case-label-indent): Fix docstring typos.
2907 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2909 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2911 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2912 Fontify multiple adjacent negation chars. (Bug#17004)
2914 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2916 * emacs-lisp/package.el (package--prepare-dependencies):
2917 Accept requirements without explicit version (bug#14941).
2919 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2921 * register.el (register-separator, copy-to-register): Doc fixes.
2922 (register-preview-default): Remove unnecessary call to concat.
2924 * frameset.el (frameset-restore): When checking for a visible frame,
2925 use the action map instead of calling visible-frame-list.
2927 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2929 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2931 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2933 * window.el (fit-frame-to-buffer): Get maximum width from
2934 display's width instead of height.
2936 2014-03-12 Glenn Morris <rgm@gnu.org>
2938 * desktop.el (desktop-restore-frames)
2939 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2940 (desktop-restore-reuses-frames): Doc tweaks.
2942 * electric.el (electric-indent-mode): Doc fix.
2944 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2946 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2947 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2948 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2949 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2950 (cvs-dired-use-hook): Fix docstring typos.
2951 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2954 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2955 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2956 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2957 (cvs-execute-single-dir): Fix docstring typos.
2959 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2960 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2962 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2964 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2965 Fix docstring typos.
2967 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2969 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2970 called from jump-to-register after unloading the frameset package.
2972 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2975 (bug#16975). Deactivate the mark before setting it to nil.
2976 (activate-mark): Do nothing if region is already active.
2978 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2980 * frameset.el (frameset--target-display): Remove definition; declare.
2981 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2983 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2986 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2987 when the advice is pending.
2988 (advice-remove): Remove this marker when not needed any more.
2990 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2992 * frameset.el: Separate options for reusing frames and cleaning up.
2993 (frameset--reuse-list): Remove definition; declare.
2994 (frameset--action-map): Declare.
2995 (frameset--find-frame-if): Doc fix.
2996 (frameset--restore-frame): Cache frame action.
2997 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2998 how to clean up the frame list after restoring. Remove cleaning
2999 options from REUSE-FRAMES. Change all keyword values to symbols.
3000 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3002 * desktop.el (desktop-restore-forces-onscreen)
3003 (desktop-restore-reuses-frames): Use non-keyword values.
3004 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3006 2014-03-10 Glenn Morris <rgm@gnu.org>
3008 * files.el (find-file): Doc fix: update info node name.
3010 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3011 Doc fix: remove references to deleted info nodes.
3013 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3015 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3016 Do not add `nil' to the environment, when there's no remote `locale'.
3017 (tramp-find-inline-encoding): Check, that the remote host has
3018 installed perl, before sending scripts.
3020 2014-03-10 Leo Liu <sdl.web@gmail.com>
3022 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3023 Clear eldoc-last-message. (Bug#16920)
3025 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3027 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3030 2014-03-09 Juri Linkov <juri@jurta.org>
3032 * ansi-color.el (ansi-color-names-vector): Copy default colors
3033 from `xterm-standard-colors' that look well on the default white
3034 background (and also on the black background) to avoid illegible
3035 color combinations like yellow-on-white and white-on-white.
3036 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3038 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3040 * frameset.el (frameset-restore): When no frame is visible, do not
3041 generate a list of frames, just make visible the selected one.
3043 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3045 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3046 it only contains the repository root. (Bug#16897)
3048 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3050 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3051 only when `remote-file-name-inhibit-cache' is nil.
3052 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3054 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3056 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3058 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3059 fit-frame-to-buffer variable. Fix doc-string.
3060 (fit-window-to-buffer): Set ONLY argument in call of
3061 fit-frame-to-buffer. Fix doc-string.
3063 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3065 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3066 (tramp-action-password): Clear password cache if needed.
3067 (tramp-read-passwd): Do not clear password cache.
3069 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3070 cache unless it is the first password request.
3072 2014-03-06 Glenn Morris <rgm@gnu.org>
3074 * simple.el (newline): Doc tweak.
3076 * emacs-lisp/shadow.el (load-path-shadows-find):
3077 Ignore dir-locals. (Bug#12357)
3079 2014-03-05 Glenn Morris <rgm@gnu.org>
3081 * files.el (interpreter-mode-alist):
3082 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3084 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3086 * frameset.el (frameset--initial-params): Filter out null entries.
3088 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3090 * window.el (window-min-height, window-min-width):
3091 Rewrite doc-strings.
3092 (window-body-size): Add PIXELWISE argument to make it consistent
3095 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3097 * finder.el (finder-mode-map, finder-mode-syntax-table):
3098 Revert part of 2014-02-28 change.
3100 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3102 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3103 (eww-setup-buffer): Clear next/prev/etc more reliably.
3104 (eww-textarea-map): [tab] doesn't work on tty.
3105 Reported by Mario Lang.
3107 * net/shr.el (shr-map): Ditto.
3109 2014-03-04 Glenn Morris <rgm@gnu.org>
3111 * minibuffer.el (completion-hilit-commonality):
3112 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3114 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3116 * hilit-chg.el (hilit-chg-unload-function): New function.
3117 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3118 (hilit-chg-map-changes): Prefer cardinal number to digit.
3119 (hilit-chg-display-changes): Reflow docstring.
3120 (highlight-changes-rotate-faces): Remove superfluous backslash.
3122 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3124 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3125 `tramp-send-command-and-check'.
3127 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3129 * hexl.el (hexl-address-region, hexl-ascii-region)
3130 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3131 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3132 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3133 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3134 (hexl-mode): Doc fix.
3135 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3136 (hexl-mode-ruler): Fix typos in docstrings.
3138 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3139 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3140 Remove superfluous backslashes.
3141 (strokes-last-stroke, strokes-global-map, strokes-mode):
3143 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3144 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3145 (strokes-distance-squared, strokes-global-set-stroke)
3146 (strokes-global-set-stroke-string): Doc fixes.
3147 (strokes-help): Fix typos; reflow docstring.
3149 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3151 * window.el (window-in-direction): Fix doc-string.
3153 2014-03-04 Glenn Morris <rgm@gnu.org>
3155 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3156 Explicit error if no grammar.
3157 (smie-config-save): Doc fix. Fix quote typo.
3159 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3161 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3162 electric-indent-mode-hook if we obey electric-indent-mode.
3163 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3164 decide whether we obey electric-indent-mode.
3165 (c-change-set-fl-decl-start, c-extend-after-change-region):
3167 (c-electric-indent-mode-hook): Assume we do want to obey
3168 electric-indent-mode.
3170 * electric.el (electric-indent-mode-has-been-called): Remove.
3171 (electric-indent-mode): Fix accordingly.
3173 * files.el (hack-local-variables): Mention file name in warning.
3175 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3177 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3179 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3180 * simple.el (delete-forward-char): Mark as interactive-only.
3182 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3184 * icomplete.el (icomplete-completions):
3185 Follow-up to 2014-03-01 change.
3187 * icomplete.el: Miscellaneous doc fixes.
3188 Use Icomplete everywhere instead of icomplete for consistency.
3189 (icomplete-max-delay-chars): Fix typo.
3190 (icomplete-mode): Use \[].
3191 (icomplete-tidy, icomplete-exhibit): Reflow.
3192 (icomplete-minibuffer-setup-hook, icomplete-completions):
3193 Remove superfluous backlashes.
3195 * ido.el: Miscellaneous doc fixes.
3196 Use Ido everywhere instead of ido or `ido' for consistency.
3197 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3198 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3199 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3200 (ido-separator): Extract obsolescence info from docstring and declare
3201 with make-obsolete-variable.
3202 (ido-minibuffer-setup-hook): Simplify example.
3203 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3204 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3205 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3206 (ido-everywhere): Reflow docstring.
3207 (ido-toggle-vc): Doc fix.
3208 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3209 of long list of keybindings.
3211 2014-03-03 Glenn Morris <rgm@gnu.org>
3213 * frame.el (display-pixel-height, display-pixel-width)
3214 (display-mm-dimensions-alist, display-mm-height)
3215 (display-mm-width): Doc tweaks.
3217 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3219 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3220 case of undo in region.
3222 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3224 * window.el (fit-window-to-buffer): Fix argument in window-size
3225 call when window is horizontally combined.
3227 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3229 * icomplete.el (icomplete-completions): Use string-width.
3230 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3232 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3234 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3235 Highlight regexp options. (Bug#16914)
3237 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3239 * window.el (window--max-delta-1): Round down when calculating
3240 how many lines/columns we can get from a window.
3242 2014-03-01 Glenn Morris <rgm@gnu.org>
3244 * isearch.el (search-invisible): Doc fix.
3246 * minibuffer.el (completion-hilit-commonality):
3247 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3248 * comint.el (comint-dynamic-list-completions): Doc fix.
3249 * comint.el (comint-dynamic-list-completions):
3250 * filecache.el (file-cache-minibuffer-complete):
3251 * tempo.el (tempo-display-completions):
3252 * eshell/em-hist.el (eshell-list-history):
3253 Replace use of obsolete argument of display-completion-list.
3255 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3257 * icomplete.el (icomplete-completions):
3258 Revert back to using "..." when ?… cannot be displayed.
3260 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3262 * finder.el (finder-unload-function): New function.
3264 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3266 * dframe.el (dframe-detach):
3267 * find-dired.el (find-dired, find-name-dired):
3268 * finder.el (finder-mode-map, finder-mode-syntax-table)
3269 (finder-headmark, finder-select, finder-mouse-select):
3270 Fix docstring typos.
3272 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3274 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3275 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3276 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3277 Fix doc-string based on a suggestion by Nicolas Richard
3278 <theonewiththeevillook@yahoo.fr>.
3279 * help.el (with-help-window): Fix doc-string.
3281 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3283 * net/shr.el (shr-image-animate): New option.
3284 (shr-put-image): Respect shr-image-animate.
3286 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3288 * net/tramp-adb.el (tramp-adb-parse-device-names):
3289 Use `accept-process-output'.
3290 (tramp-adb-handle-file-truename): Cache the localname only.
3291 (tramp-adb-handle-make-directory)
3292 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3293 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3294 modes cannot be changed.
3296 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3297 file properties of symlinks.
3299 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3301 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3302 required/optional fields to match development biblatex. (Bug#16781)
3304 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3306 * saveplace.el (toggle-save-place):
3307 Fix argument handling. (Bug#16673)
3309 2014-02-28 Glenn Morris <rgm@gnu.org>
3311 * minibuffer.el (completions-first-difference)
3312 (completions-common-part, completion-hilit-commonality): Doc fixes.
3314 2014-02-28 Karl Berry <karl@gnu.org>
3316 * info.el (Info-mode-map): Add H for describe-mode,
3317 to synchronize with standalone Info.
3319 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3321 * progmodes/sql.el (sql-interactive-mode):
3322 Avoid setting global comint-input-ring-separator. (Bug#16814)
3324 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3326 * net/dbus.el (dbus--init-bus): Declare function.
3327 (dbus-path-local, dbus-interface-local): New defconst.
3328 (dbus-init-bus): Use them.
3329 (dbus-return-values-table): Extend doc.
3330 (dbus-handle-bus-disconnect): Extend error message.
3332 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3334 * subr.el (y-or-n-p): Fix double space issue in message.
3336 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3338 * net/tramp.el (tramp-call-process): Improve trace message.
3339 (tramp-handle-insert-file-contents): Trace error case.
3341 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3342 <insert-directory>: Use `tramp-handle-insert-directory'.
3343 (tramp-adb-handle-insert-directory): Remove function.
3344 (tramp-adb-send-command-and-check): New defun, replacing
3345 `tramp-adb-command-exit-status'. Change all callees.
3346 (tramp-adb-handle-file-attributes)
3347 (tramp-adb-handle-directory-files-and-attributes): Use it.
3348 (tramp-adb-ls-output-name-less-p):
3349 Use `directory-listing-before-filename-regexp'.
3350 (tramp-adb-handle-delete-directory): Flush also file properties of
3351 the truename of directory.
3352 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3353 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3354 (tramp-adb-handle-write-region): Implement APPEND.
3355 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3356 properties correctly.
3357 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3358 variables. Check for connected devices only when needed.
3360 2014-02-27 Glenn Morris <rgm@gnu.org>
3362 * minibuffer.el (completion-table-dynamic)
3363 (completion-table-with-cache): Doc fixes.
3365 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3366 (completing-read-multiple): Doc fixes.
3368 2014-02-27 Daniel Colascione <dancol@dancol.org>
3370 * minibuffer.el (completion--nth-completion): Fix indentation.
3372 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3373 explicit tramp path is empty.
3375 2014-02-27 Glenn Morris <rgm@gnu.org>
3377 * emacs-lisp/crm.el (completing-read-multiple):
3378 Empower help-enable-auto-load.
3380 2014-02-26 Glenn Morris <rgm@gnu.org>
3382 * startup.el (command-line): Don't init the tty in daemon mode.
3384 Avoid calling tty-setup-hook twice, eg if a term file
3385 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3386 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3387 (tty-create-frame-with-faces): Use it.
3388 * startup.el (command-line): Pass run-hook argument
3389 to tty-run-terminal-initialization.
3391 * dired.el (dired-restore-desktop-buffer): Demote errors;
3392 eg in case a glob match fails. (Bug#16884)
3394 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3396 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3397 error from `read-from-string'. (Bug#16850)
3399 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3400 result of `completing-read' in the interactive form. (Bug#16854)
3402 2014-02-25 Glenn Morris <rgm@gnu.org>
3404 * image.el (image-animate, image-animate-timeout):
3405 Stop animating images in dead buffers. (Bug#16878)
3407 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3409 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3411 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3412 * term/sun.el (sun-raw-prefix-hooks):
3413 Use tty-setup-hook instead of term-setup-hook.
3414 (terminal-init-sun): Construct message from bytecomp plist.
3415 * term/wyse50.el (enable-arrow-keys): Doc fix.
3417 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3419 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3420 Fix docstring typos.
3422 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3424 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3426 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3428 * minibuffer.el (completion--try-word-completion):
3429 Fix error when completing M-x commands (bug#16808).
3431 2014-02-24 Leo Liu <sdl.web@gmail.com>
3433 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3435 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3437 * apropos.el (apropos-print): Avoid formatting error when
3438 apropos-do-all and apropos-compact-layout are both t.
3440 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3442 * apropos.el (apropos-property, apropos-all-words-regexp)
3443 (apropos-true-hit, apropos-variable, apropos-print):
3444 Fix docstring typos, and remove obsolete comment.
3446 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3448 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3449 Preserve trailing "/". (Bug#16851)
3451 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3453 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3454 after `=>' (bug#16811).
3455 (ruby-smie-rules): Handle the inconsistent second element of the
3456 list returned by `smie-indent--parent'.
3457 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3460 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3462 * elec-pair.el (electric-pair-text-syntax-table)
3463 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3464 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3465 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3466 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3468 2014-02-22 Glenn Morris <rgm@gnu.org>
3470 * imenu.el (imenu--generic-function): Doc fix.
3472 * register.el (frame-configuration-to-register): Make obsolete.
3474 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3476 * desktop.el (desktop-save-buffer-p): Do not fail when
3477 desktop-files-not-to-save is nil. Return t for true result
3480 2014-02-22 Daniel Colascione <dancol@dancol.org>
3482 * net/secrets.el (secrets-create-item, secrets-search-items):
3483 Check that attribute values are strings, avoiding the construction
3484 of invalid dbus messages.
3486 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3488 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3489 defun-declarations-alist.
3491 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3493 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3496 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3498 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3499 (whitespace-newline, whitespace-trailing, whitespace-line)
3500 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3501 (whitespace-space-after-tab): Fix typo in docstrings.
3503 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3505 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3507 * electric.el (electric-indent-functions-without-reindent):
3508 Add `yaml-indent-line'.
3510 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3512 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3513 It has done nothing for years; should be removed after the release.
3515 * simple.el (choose-completion): Fix docstring typo.
3516 (read-quoted-char-radix): Remove unneeded * in docstring.
3517 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3518 Don't escape parentheses unnecessarily in docstrings.
3520 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3522 Fix handling of window-min-height/-width (Bug#16738).
3523 * window.el (window--dump-window, window--dump-frame):
3525 (window--min-size-1): Account for window dividers.
3526 When window-resize-pixelwise is nil, delay rounding till after the
3527 sum of the window components has been calculated.
3528 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3529 nil make sure at least one text line and two text columns remain
3531 (window-resize): Signal an error when window-resize-apply fails.
3532 (window--resize-child-windows): Fix calculation of by how many
3533 pixels a window can still be shrunk via window-new-normal.
3534 (adjust-window-trailing-edge): Call window--resizable with
3535 correct TRAIL argument.
3537 (with-temp-buffer-window): Don't evaluate BODY within
3538 with-current-buffer (Bug#16816).
3540 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3542 * net/tramp.el (tramp-check-cached-permissions):
3543 Call `file-attributes' with `suffix' being a symbol but a string.
3545 2014-02-21 Daniel Colascione <dancol@dancol.org>
3547 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3548 (dbus-init-bus): New function: call into dbus-init-bus-1
3549 and installs a handler for the disconnect signal.
3550 (dbus-call-method): Rewrite to look for result in cons.
3551 (dbus-call-method-handler): Store result in cons.
3552 (dbus-check-event): Recognize events with nil sender as valid.
3553 (dbus-handle-bus-disconnect): New function. React to bus
3554 disconnection signal by synthesizing dbus error for each
3555 pending synchronous or asynchronous call.
3556 (dbus-notice-synchronous-call-errors): New function.
3557 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3558 is true, not all the time.
3560 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3562 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3563 Remove obsolescence declarations, these variables do not exist anymore.
3565 * savehist.el (savehist-save-minibuffer-history)
3566 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3567 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3568 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3569 mostly, refer to "Savehist mode" when talking about the mode,
3570 and not the function.
3572 * saveplace.el (save-place): Remove redundant info in docstring.
3573 (save-place-forget-unreadable-files, toggle-save-place)
3574 (save-place-forget-unreadable-files, save-place-dired-hook):
3575 Fix typos and remove unneeded backslashes.
3577 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3579 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3580 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3582 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3583 <insert-directory>: Use `tramp-handle-insert-directory'.
3584 (tramp-gvfs-handle-insert-directory): Remove function.
3586 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3587 Call `tramp-handle-insert-directory'.
3589 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3591 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3592 before the start of buffer/region (bug#16799).
3594 2014-02-20 Glenn Morris <rgm@gnu.org>
3596 * isearch.el (search-invisible): Doc fix.
3598 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3600 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3603 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3605 * frameset.el (frameset-restore): Delay removing an old frame's
3606 duplicate id until the new frame has been correctly created.
3608 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3610 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3611 (tramp-check-cached-permissions): Call `file-attributes' if the
3614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3615 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3617 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3618 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3619 (tramp-gvfs-maybe-open-connection): Set always connection
3620 properties, even if target is mounted already.
3622 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3623 Set tramp-autoload cookie.
3624 (tramp-get-remote-touch): New defun.
3625 (tramp-sh-handle-set-file-times): Use it.
3626 (tramp-sh-handle-directory-files-and-attributes):
3627 Use `tramp-handle-directory-files-and-attributes' if neither stat
3628 nor perl are available on the remote host.
3630 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3631 "/". Write long listing only when "l" belongs to the switches.
3633 * net/trampver.el: Update release number.
3635 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3637 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3639 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3641 * window.el (window-state-put): Allow WINDOW to refer to an
3642 internal window (Bug#16793).
3644 2014-02-19 Glenn Morris <rgm@gnu.org>
3646 * textmodes/remember.el: Move provide statement to end.
3647 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3648 (remember-notes): Doc fixes.
3650 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3652 * delsel.el (delete-char): Restore incorrectly erased property
3655 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3657 * frameset.el (frameset--restore-frame): When a frame is being reused
3658 and its root window is not alive, delete all the frame's windows before
3659 restoring the window state. This works around the issue in bug#16793.
3661 2014-02-18 Glenn Morris <rgm@gnu.org>
3663 * textmodes/remember.el (remember-data-directory)
3664 (remember-directory-file-name-format, remember-store-in-files)
3665 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3666 (remember-notes-save-and-bury-buffer)
3667 (remember-notes--kill-buffer-query): Doc fixes.
3669 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3671 2014-02-17 Alan Mackenzie <acm@muc.de>
3673 Connect electric-indent-mode up with CC Mode. Bug #15478.
3674 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3675 to electric-indent-{,local-}-mode.
3676 (c-basic-common-init): Set electric-indent-inhibit.
3677 Initialise c-electric-flag from electric-indent-mode.
3678 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3679 New hook functions which propagate electric-indent-mode to CC mode.
3681 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3682 hit, toggle electric-indent-local-mode.
3684 * electric.el (electric-indent-mode-has-been-called):
3687 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3689 * frameset.el (frameset-cfg-id): New function.
3690 (frameset--reuse-frame, frameset-restore): Use it.
3691 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3693 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * ido.el (ido-file-internal): Remove unused var `d'.
3696 Use \` for to match BoS. Fit within 80n columns.
3698 2014-02-17 Daniel Colascione <dancol@dancol.org>
3700 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3701 dbus-call-method check for completion using a busy-wait loop with
3704 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3706 Sync with Tramp 2.2.9.
3708 * net/trampver.el: Update release number.
3710 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3712 * ido.el (ido-file-internal): Don't add the name of an existing
3713 directory twice. (Bug#16747)
3715 2014-02-16 Glenn Morris <rgm@gnu.org>
3717 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3718 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3720 2014-02-15 Michael R. Mauger <michael@mauger.com>
3722 * progmodes/sql.el: Version 3.4
3723 (sql-oracle-options): New default value ("-L").
3724 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3725 (sql-placeholders-filter): Correct placeholder pattern.
3726 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3727 (sql-login-delay): New variable.
3728 (sql-product-interactive): Use it.
3730 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3732 * frameset.el (frameset--jump-to-register): Check that buffer is live
3735 2014-02-15 Glenn Morris <rgm@gnu.org>
3737 * info.el (info-initialize): Revert 2014-01-10 change.
3739 2014-02-14 Glenn Morris <rgm@gnu.org>
3741 * replace.el (map-query-replace-regexp)
3742 (read-regexp-defaults-function, read-regexp): Doc fixes.
3744 * dired.el (dired-read-regexp):
3745 * faces.el (list-faces-display):
3746 * misearch.el (multi-isearch-read-matching-buffers)
3747 (multi-isearch-read-matching-files):
3748 * play/cookie1.el (cookie-apropos):
3749 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3751 * textmodes/remember.el (remember): Use frameset-to-register
3752 rather than frame-configuration-to-register.
3754 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3756 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3757 incorrect keybinding.
3759 2014-02-13 Daniel Colascione <dancol@dancol.org>
3761 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3762 when adding overlays so that line numbers from compiler match line
3765 2014-02-13 Glenn Morris <rgm@gnu.org>
3767 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3769 * jit-lock.el (jit-lock-mode): Doc fix.
3771 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3773 * apropos.el (apropos-read-pattern): When the user passes an empty
3774 string, give a more helpful error message than "Wrong type
3775 argument: stringp, nil".
3777 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3779 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3781 2014-02-13 Glenn Morris <rgm@gnu.org>
3783 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3785 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3788 shift-select commands.
3790 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3792 * progmodes/js.el (js-indent-line): Don't widen.
3793 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3795 2014-02-12 Glenn Morris <rgm@gnu.org>
3797 * icomplete.el (icomplete): Add info-link to defgroup.
3798 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3799 (icomplete-minibuffer-map, icomplete-mode)
3800 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3802 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3803 (package-menu-filter): Rename from package-menu-filter-interactive.
3806 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3808 * frameset.el (frameset--jump-to-register): Select the required
3809 window and buffer before restoring position (bug#16696).
3811 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3813 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3815 2014-02-10 Glenn Morris <rgm@gnu.org>
3817 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3819 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3821 * w32-common-fns.el (x-get-selection): Doc fix.
3822 * select.el (x-get-selection): Doc fix. (Bug#15109)
3824 * face-remap.el (face-remap-add-relative)
3825 (face-remap-remove-relative, face-remap-reset-base)
3826 (face-remap-set-base): Call force-mode-line-update to redisplay
3827 the current buffer due to potential change in faces. (Bug#16709)
3829 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3831 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3832 script more robustly.
3834 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3836 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3838 * simple.el (choose-completion): Doc fix (bug#14160).
3840 * subr.el (event-start): Say what a nil EVENT value means.
3842 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3845 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3847 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3849 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3851 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3852 predicate function (bug#15455).
3854 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3856 * ielm.el (inferior-emacs-lisp-mode): Instead of
3857 `comment-use-global-state', set `comment-use-syntax'.
3859 2014-02-10 Glenn Morris <rgm@gnu.org>
3861 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3863 2014-02-09 Alan Mackenzie <acm@muc.de>
3865 Fix c-invalidate-state-cache on narrowed buffers.
3866 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3867 Widen when setting and clearing the CPP delimiter properties.
3869 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3871 * help.el (describe-bindings): Doc fix (bug#9888).
3873 * files.el (save-buffer): Use ARG as the parameter name for
3874 consistency (bug#10346).
3875 (save-buffer): Clarify the 0 argument (bug#10346).
3877 * cus-edit.el (customize-apropos): Fix error string.
3878 (custom-buffer-create): Doc fix (bug#11122).
3879 (custom-sort-items): Doc fix (bug#11121).
3881 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3883 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3884 (icomplete-simple-completing-p): Mention the previous variable.
3886 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3887 meaning of the parameter (bug#12282).
3889 * files.el (find-file-noselect): Clarify prompt when changing
3890 readedness (bug#13261).
3891 (locate-file): Suffixes aren't returned, so don't say that they
3893 (backup-inhibited): Doc clarification (bug#12525).
3895 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3896 before we actually start to delete things (bug#16331).
3898 * subr.el (event-start): Doc fix (bug#14228).
3901 2014-02-09 Glenn Morris <rgm@gnu.org>
3903 * emacs-lisp/warnings.el (lwarn):
3904 Empower help-enable-auto-load. (Bug#15940)
3906 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3908 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3911 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3913 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3914 Insert output at end of buffer. (Bug#16120)
3916 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3918 * simple.el (choose-completion-string-functions): Document new
3919 calling convention (bug#14153).
3920 (execute-extended-command): Clarify doc string (bug#13373).
3922 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3924 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3925 (find-grep-dired): Doc fix (bug#14288).
3927 2014-02-08 Juri Linkov <juri@jurta.org>
3929 * isearch.el (isearch-quote-char): Check character validity
3930 like in `quoted-insert' (bug#16677).
3932 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3934 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3936 * isearch.el (isearch-hide-immediately): Doc clarification
3939 * simple.el (line-move): Document utility function used many
3940 places in the Emacs sources (bug#14843).
3942 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3943 (dired-prev-marked-file): Doc fix (bug#14855).
3944 (dired-up-directory): Doc fix (bug#14848).
3946 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3948 * files.el (file-relative-name): Doc fix (bug#15159).
3950 * fringe.el (fringe-styles): Doc fix (bug#15239).
3952 * isearch.el (isearch-filter-predicate): Documentation typo fix
3955 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3957 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3959 * replace.el (replace-match-maybe-edit): Doc clarification
3962 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3964 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3966 2014-02-08 Glenn Morris <rgm@gnu.org>
3968 * help-fns.el (describe-variable):
3969 Check {file,dir}-local-variables-alist, and buffer-file-name,
3970 in the correct buffer.
3972 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3974 * help-fns.el (describe-variable): Fix the case where
3975 a value is directory-local with no dir-locals file. (Bug#16635)
3977 2014-02-08 Glenn Morris <rgm@gnu.org>
3979 * abbrev.el (edit-abbrevs-mode):
3980 Derive from fundamental-mode. (Bug#16682)
3982 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3984 * simple.el (quoted-insert): Check character validity (bug#16677).
3986 2014-02-07 Juri Linkov <juri@jurta.org>
3988 * desktop.el (desktop-read): Claim the lock when the owner is not
3989 the current process. (Bug#16157)
3991 2014-02-07 Juri Linkov <juri@jurta.org>
3993 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3994 to "\\` ". (Bug#16651)
3996 2014-02-07 Juri Linkov <juri@jurta.org>
3998 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3999 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4000 (desktop-auto-save-cancel-timer): New function with some code from
4001 `desktop-auto-save-set-timer'.
4002 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4003 Instead of setting `desktop-save-mode' to nil, call
4004 `desktop-save-mode' with arg 0. (Bug#16630)
4006 2014-02-07 Glenn Morris <rgm@gnu.org>
4008 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4009 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4010 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4012 * obsolete/iswitchb.el: Move to obsolete/.
4013 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4014 since obsolete/ is not scanned for autoloads.
4015 * emacs-lisp/authors.el (authors-valid-file-names):
4018 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4019 Disable now non-functional find-file-hook.
4021 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4023 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4024 instead of ";" in order to avoid additional prompts. Let heredoc
4025 scripts read from tty. (Bug#16582)
4026 (tramp-send-command): No special handling of heredocs, it isn't
4029 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4031 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4032 with a space (bug#16664). Limit the symbols considered to the ones
4033 that are bound or fbound (bug#16646).
4035 2014-02-06 Glenn Morris <rgm@gnu.org>
4037 * epa.el (epa-mail-aliases): Doc fix.
4039 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4041 * emacs-lisp/lisp.el (lisp-completion-at-point):
4042 Use `completion-table-merge' instead of `completion-table-in-turn'
4045 * minibuffer.el (completion-table-merge): New function.
4047 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4049 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4050 (tramp-sh-handle-set-file-acl)
4051 (tramp-sh-handle-start-file-process)
4052 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4053 (tramp-find-executable, tramp-send-command): Use it.
4055 2014-02-05 Glenn Morris <rgm@gnu.org>
4057 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4059 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4061 * progmodes/python.el (python-shell-send-string)
4062 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4064 2014-02-04 Anders Lindgren <andlind@gmail.com>
4066 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4067 the names (bug#16620).
4069 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4071 * faces.el (window-divider): New default value. Rewrite doc-string.
4072 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4074 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4077 `protected' and `public' can also be called without arguments.
4079 2014-02-03 Glenn Morris <rgm@gnu.org>
4081 * register.el (window-configuration-to-register)
4082 (frame-configuration-to-register): Unadvertise unused argument.
4083 * frameset.el (frameset-to-register): Remove unused argument.
4085 * frameset.el (frameset-to-register):
4086 * kmacro.el (kmacro-to-register):
4087 * register.el (increment-register):
4088 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4089 (calc-append-to-register, calc-prepend-to-register):
4090 * play/gametree.el (gametree-layout-to-register)
4091 (gametree-apply-register-layout):
4092 * textmodes/picture.el (picture-clear-rectangle-to-register)
4093 (picture-yank-rectangle-from-register):
4094 * vc/emerge.el (emerge-combine-versions-register):
4095 Use register-read-with-preview to read registers.
4097 2014-02-03 João Távora <joaotavora@gmail.com>
4099 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4100 when at beginning of (possibly narrowed) buffer.
4102 2014-02-02 Daniel Colascione <dancol@dancol.org>
4104 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4105 Also try to display local help from just before point.
4107 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4109 c-parse-state. Don't "append-lower-brace-pair" in certain
4110 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4111 recognised as a comment.
4113 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4114 as well as normal comment starter.
4115 (c-parse-state-get-strategy): Extra return possibility
4117 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4118 return value list to indicate replacement of a brace-pair cons
4120 (c-parse-state-1): With 'back-and-forward, only call
4121 c-append-lower-brace-pair-to state-cache when cons-separated.
4123 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4125 * term/ns-win.el (ns-suspend-error): New function.
4126 (ns-initialize-window-system): Add ns-suspend-error to
4127 suspend-hook (Bug#16612).
4129 2014-02-02 Daniel Colascione <dancol@dancol.org>
4131 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4132 Make loading cc-mode silent.
4134 2014-02-02 Daniel Colascione <dancol@dancol.org>
4136 * comint.el (comint-prompt-read-only): Change doc to suggest
4139 2014-02-02 Glenn Morris <rgm@gnu.org>
4141 * register.el (register-read-with-preview, point-to-register)
4142 (window-configuration-to-register, frame-configuration-to-register)
4143 (jump-to-register, number-to-register, view-register, insert-register)
4144 (copy-to-register, append-to-register, prepend-to-register)
4145 (copy-rectangle-to-register): Doc fixes.
4147 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4150 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4151 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4152 * help-fns.el (describe-function-1): Use it.
4154 2014-02-02 Glenn Morris <rgm@gnu.org>
4156 * register.el (register-preview-default): New function,
4157 split from register-preview.
4158 (register-preview-function): Rename from register-preview-functions,
4160 (register-preview): Use register-preview-function.
4161 (register-read-with-preview): Error on non-character event. (Bug#16595)
4163 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4165 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4166 `:' before binary operators (bug#16609). Don't check for `:'
4167 before `[' and `(', or their syntax status. A percent literal
4168 can't end with either.
4169 (ruby-font-lock-keywords): For built-ins that require arguments,
4170 check that they're followed by something that looks like argument
4173 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4175 * subr.el (butlast): Document what an omitted N means (bug#13437).
4178 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4180 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4181 depth shallower (bug#16587).
4182 (shr-tag-svg): Respect `shr-inhibit-images'.
4183 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4185 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4187 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4188 (ruby-smie-grammar): Make "." right-associative. Make its priority
4189 lower than the ternary and all binary operators.
4190 (ruby-smie-rules): Indent "(" relative to the first non-"."
4191 parent, or the first "." parent at indentation.
4192 Use `ruby-align-chained-calls' for indentation of "." tokens.
4195 2014-01-31 Juri Linkov <juri@jurta.org>
4197 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4198 from `make-hash-table'.
4200 * textmodes/ispell.el (ispell-init-process): Change message format
4201 to be consistent with other messages.
4203 2014-01-31 Glenn Morris <rgm@gnu.org>
4205 * delsel.el (delete-selection-mode): Doc fix.
4207 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4208 (trace-function-background): Doc fixes.
4210 * ido.el (ido-use-virtual-buffers): Doc fix.
4211 Reset :version, since the default value has not changed.
4213 * register.el (register-preview-delay, register-read-with-preview):
4216 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4217 do not mess with mail-buffer position (fixes 2009-11-03 change).
4218 * progmodes/cc-mode.el (c-submit-bug-report):
4219 Check auto-fill-mode is bound. (Bug#16592)
4221 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4223 * startup.el (fancy-splash-image-file): New function,
4224 split from fancy-splash-head.
4225 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4226 so that we are both using the same image. (Bug#16574)
4228 2014-01-30 Glenn Morris <rgm@gnu.org>
4230 * simple.el (eval-expression): Doc fix.
4232 * hexl.el (hexl-mode-hook):
4233 * ielm.el (ielm-mode-hook):
4234 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4235 (lisp-interaction-mode-hook):
4236 * progmodes/cfengine.el (cfengine3-documentation-function):
4237 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4239 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4241 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4242 is a symbol (bug#16584).
4244 2014-01-30 Glenn Morris <rgm@gnu.org>
4246 * help.el (help-for-help-internal): Add "P" to text.
4248 2014-01-29 Glenn Morris <rgm@gnu.org>
4250 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4252 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4254 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4257 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4259 * progmodes/hideif.el: Extend to full CPP expression syntax.
4260 (hif-token-alist): Add missing tokens.
4261 (hif-token-regexp): Add support for float/octal/hex immediates.
4262 (hif-string-literal-regexp): New const.
4263 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4264 (hif-exprlist): New function.
4265 (hif-parse-if-exp): Use it.
4266 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4267 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4268 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4269 (hif-logxor, hif-comma): New functions.
4271 2014-01-28 Glenn Morris <rgm@gnu.org>
4273 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4275 * indent.el (tab-stop-list): Doc fix. Add :version.
4277 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4278 (cvs-append-to-ignore): Add compatibility alias.
4280 2014-01-27 Glenn Morris <rgm@gnu.org>
4282 * dired.el (dired-hide-details-mode): Don't autoload it,
4283 since it cannot be used outside Dired buffers anyway.
4285 * emulation/cua-base.el (cua-mode): Doc fix.
4287 * dired.el (dired-hide-details-hide-symlink-targets)
4288 (dired-hide-details-hide-information-lines)
4289 (dired-hide-details-mode): Doc fixes.
4291 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4292 * strokes.el (strokes-file): Doc fix. Bump :version.
4293 (strokes-help): Doc fix.
4294 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4295 * emulation/viper.el (viper): Doc fix for custom group.
4296 (top-level): Remove oh-so-no-longer-relevant text about vip.
4297 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4299 * ido.el (ido-save-directory-list-file):
4300 * saveplace.el (save-place-file):
4301 * calendar/timeclock.el (timeclock-file):
4302 * net/quickurl.el (quickurl-url-file):
4303 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4304 * progmodes/idlwave.el (idlwave-config-directory):
4305 * textmodes/remember.el (remember-data-file):
4308 2014-01-26 Glenn Morris <rgm@gnu.org>
4310 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4311 Doc fix. Make obsolete.
4312 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4314 * sort.el (delete-duplicate-lines): Doc fix.
4316 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4318 * progmodes/ada-mode.el (ada):
4319 * woman.el (woman): Link to info manual and Commentary section.
4321 * progmodes/flymake.el (flymake):
4322 * nxml/nxml-mode.el (nxml):
4324 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4325 * htmlfontify.el (htmlfontify):
4328 * ido.el (ido): Link to info manual.
4330 2014-01-25 Leo Liu <sdl.web@gmail.com>
4332 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4334 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4336 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4339 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4341 * net/eww.el (eww-download-callback):
4342 Fix reference to eww-download-directory.
4344 * emacs-lisp/bytecomp.el (byte-compile-file):
4345 Remove unused local variable `file-name'.
4347 2014-01-24 Glenn Morris <rgm@gnu.org>
4349 * woman.el (woman-default-faces, woman-monochrome-faces):
4350 Fix obsolescence specification.
4352 * subr.el (with-demoted-errors): Doc fix.
4354 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4356 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4357 (cl--macroexp-fboundp): New function.
4358 (cl--make-type-test): Use it.
4360 2014-01-23 Glenn Morris <rgm@gnu.org>
4362 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4363 * simple.el (eval-expression): Doc fixes.
4365 2014-01-22 Glenn Morris <rgm@gnu.org>
4367 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4369 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4371 * emacs-lisp/package.el: Write files silently.
4372 (package-autoload-ensure-default-file, package--write-file-no-coding)
4373 (package-generate-description-file, package--download-one-archive)
4374 (package-install-from-archive): Tell `write-region' to stay quiet.
4375 (package-menu-mode, package-menu--print-info): Omit the Archive column
4376 if there's only one archive.
4377 (package-all-keywords, package--has-keyword-p): Remove dead code.
4379 2014-01-22 Glenn Morris <rgm@gnu.org>
4381 * version.el (emacs-bzr-version-bzr): Fix typo.
4383 * version.el (emacs-repository-get-version):
4384 Check either .bzr or .git, but not both.
4385 Make the git case actually use the DIR argument, and return nil
4386 rather than the empty string.
4387 Avoid error if .git exists but the git executable is not found.
4389 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4391 Fixes in window size functions around Bug#16430 and Bug#16470.
4392 * window.el (window-total-size, window-size): New argument ROUND.
4393 (window--min-delta-1, window-min-delta, window--max-delta-1):
4394 Be more conservative when calculating the numbers of lines or
4395 columns a window can shrink (Bug#16430).
4396 (fit-window-to-buffer): Simplify code.
4397 * term.el (term-window-width): Call window-body-width again.
4399 2014-01-22 Glenn Morris <rgm@gnu.org>
4401 * image.el (image-format-suffixes): Doc fix.
4403 * international/quail.el (quail-define-package): Doc fix.
4405 * emacs-lisp/authors.el (authors-valid-file-names)
4406 (authors-renamed-files-alist): Additions.
4408 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4409 reverts 2014-01-09 change. (Bug#16422)
4411 * calc/calc-embed.el (thing-at-point-looking-at):
4412 * emacs-lisp/map-ynp.el (x-popup-dialog):
4413 * obsolete/lmenu.el (x-popup-dialog):
4414 * emacs-lisp/package.el (url-recreate-url):
4415 * mail/mailclient.el (clipboard-kill-ring-save):
4416 * subr.el (x-popup-dialog): Update declaration.
4417 * mail/rmail.el (rmail-mime-message-p):
4418 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4420 2014-01-21 Daniel Colascione <dancol@dancol.org>
4422 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4423 Correctly detect when we're inside an arithmetic expansion form
4424 containing nested parenthesis.
4425 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4426 to detect cases where we shouldn't expand "<<" to a heredoc
4429 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4431 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4432 (eldoc--message-command-p): New function.
4433 (eldoc-display-message-p): Use it.
4434 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4435 message is not automatically erased for us.
4436 (eldoc-print-current-symbol-info): Erase previous message, if any.
4438 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4440 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4441 specify it's an interactive function.
4443 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4444 Fix regex used for scanning for citation keys which failed for
4445 citations with optional arguments.
4447 2014-01-21 Leo Liu <sdl.web@gmail.com>
4449 * simple.el (read--expression): Don't enable eldoc-mode.
4451 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4453 * simple.el (move-beginning-of-line): Make sure we don't move forward
4456 2014-01-20 Juri Linkov <juri@jurta.org>
4458 * saveplace.el (toggle-save-place, save-place-to-alist)
4459 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4460 'dired-mode) before checking for dired-directory. (Bug#16477)
4462 2014-01-20 Juri Linkov <juri@jurta.org>
4464 * indent.el (indent-line-to): Use backward-to-indentation
4465 instead of back-to-indentation. (Bug#16461)
4467 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4469 Revert some of the CANNOT_DUMP fix (Bug#16494).
4470 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4471 but fixing this can wait until after the next release.
4472 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4474 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4476 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4477 Use `password-word-equivalents'.
4478 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4479 to t. (Bug#5664, Bug#13124)
4481 2014-01-19 Alan Mackenzie <acm@muc.de>
4483 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4485 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4486 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4487 * progmodes/cc-mode.el (c-before-change, c-after-change)
4488 (c-font-lock-fontify-region): Bind it here.
4490 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4492 * term.el (term-window-width): Call window-text-width instead of
4493 window-width (Bug#16470).
4495 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4497 * simple.el (password-word-equivalents): Remove duplicates.
4498 Sort, to make this easier next time.
4499 Downcase. Omit ": " after "jelszó".
4501 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4503 * term/common-win.el (saved-region-selection): Defvar it.
4504 (x-select-text): Set saved-region-selection (Bug#16382).
4506 2014-01-18 Glenn Morris <rgm@gnu.org>
4508 * emacs-lisp/authors.el (authors-aliases)
4509 (authors-renamed-files-alist): Add some entries.
4511 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4513 * net/tramp.el (tramp-password-prompt-regexp):
4514 Use `password-word-equivalents' if available.
4515 (tramp-action-password, tramp-process-one-action)
4516 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4518 2014-01-17 Chong Yidong <cyd@gnu.org>
4520 * simple.el (password-word-equivalents): New defcustom.
4521 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4523 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4526 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4528 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4529 (ruby-align-to-stmt-keywords): Change the default value.
4530 Use `ruby-alignable-keywords' to generate the possible customization
4532 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4533 keywords, check against the value of `ruby-alignable-keywords'
4534 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4536 2014-01-17 Glenn Morris <rgm@gnu.org>
4538 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4540 Make M-x authors return zero *Authors Errors* from current logs.
4541 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4542 (authors-ignored-files): Add some entries, remove others.
4543 (authors-ambiguous-files, authors-valid-file-names):
4545 (authors-renamed-files-alist): Add, remove, and adjust entries.
4546 (authors-renamed-files-regexps): Add some entries.
4547 Remove some very broad ones. Make some entries `lax'.
4548 (authors-lax-changelogs): New constant.
4549 (authors-disambiguate-file-name): Treat top-level specially.
4550 (authors-lax-changelog-p): New function.
4551 (authors-canonical-file-name): Check file as written against
4552 authors-valid-file-names. Do not special-case etc/.
4553 Handle `lax' logs and authors-renamed-files-regexps elements.
4555 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4557 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4558 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4561 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4564 Assume we're already in the proper buffer.
4565 Inspired by Anders Lindgren <andlind@gmail.com>.
4566 (follow-post-command-hook): Call it from the right buffer.
4567 (follow-comint-scroll-to-bottom): Adjust call.
4568 (follow-all-followers): Use get-buffer-window-list.
4570 2014-01-15 Daniel Colascione <dancol@dancol.org>
4572 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4573 `buffer-file-name' in interactive-form so that we don't leave
4574 pathless file names in `file-name-history'.
4576 2014-01-15 Juri Linkov <juri@jurta.org>
4578 * indent.el (indent-rigidly): Set deactivate-mark to nil
4579 in transient indentation mode. (Bug#16438)
4581 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4583 * emacs-lisp/package.el (package-desc-keywords): New function
4585 (describe-package-1, package-all-keywords)
4586 (package--has-keyword-p): Use it.
4588 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4590 * simple.el (define-alternatives): When creating the
4591 COMMAND-alternatives variable, assign COMMAND as its definition
4592 name so that `describe-variable' can relocate it.
4594 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4596 * font-lock.el (font-lock-keywords): Fix typo in docstring
4599 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4601 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4602 line instead of wrongly reset `add-coment' (bug#13577).
4604 2014-01-14 Daiki Ueno <ueno@gnu.org>
4606 * epa-file.el (epa-file-write-region): Encode the region according
4607 to `buffer-file-format'. Problem reported at:
4608 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4610 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4613 so it applies in the right buffer (bug#16410).
4615 2014-01-13 Daniel Colascione <dancol@dancol.org>
4617 * textmodes/rst.el (rst-define-key): Provide deprecated
4618 keybindings through named functions instead of anonymous ones so
4619 that "??" doesn't appear in describe-mode output.
4621 2014-01-13 Bastien Guerry <bzg@gnu.org>
4623 * simple.el (define-alternatives): Call the selected command
4624 interactively. When setting `COMMAND--implementation' for the
4625 first time, tell the user how to chose another implementation.
4626 Enhance the docstring.
4628 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4630 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4631 (log-edit--match-first-line): New function.
4632 (log-edit-font-lock-keywords): Use it.
4633 (log-edit-mode): Make jit-lock-defer-multiline work.
4635 2014-01-13 Bastien Guerry <bzg@gnu.org>
4637 * rect.el (rectangle-mark-mode): When the region is not active,
4638 display a message saying that the mark as been set and that
4639 rectangle mode is in use.
4640 (rectangle--highlight-for-redisplay): Only put an overlay with a
4641 visible vertical bar when (display-graphic-p) is non-nil.
4642 This partially fixes Bug#16403.
4644 2014-01-13 Juri Linkov <juri@jurta.org>
4646 * info.el (Info-find-file): Go to DIR before displaying the error
4647 about a nonexistent file if no previous Info file is visited.
4648 Use `user-error' instead of `error' for "Info file %s does not exist".
4649 (Info-find-node-2): In case of a nonexistent node in unwind forms
4650 go to the Top node if there is no previous node to revert to.
4653 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4655 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4656 * window.el (fit-frame-to-buffer): Fix doc-string.
4657 Respect window-min-height/-width. Fit pixelwise when
4658 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4659 when avoiding that frame goes partially off-screen.
4660 (fit-window-to-buffer): Respect window-min-height/-width
4663 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4665 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4666 after an empty line.
4668 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4670 * net/shr.el (shr-render-region): Autoload.
4672 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4674 * net/eww.el (eww-download-directory): Rename from
4675 `eww-download-path' (Bug#16419).
4677 2014-01-12 Leo Liu <sdl.web@gmail.com>
4679 * dired-x.el (dired-mode-map): Fix last change.
4681 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4683 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4686 * emacs-lisp/generic.el (generic--normalize-comments):
4687 Rename from generic--normalise-comments. All uses changed.
4688 * play/bubbles.el (bubbles--neighborhood-score)
4689 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4690 (bubbles--neighborhood-available)
4691 (bubbles--update-neighborhood-score):
4692 Rename from names with 'neighbourhood'. All uses changed.
4694 2014-01-12 Leo Liu <sdl.web@gmail.com>
4696 Re-implement the feature of showing eldoc info after editing.
4697 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4698 (eldoc-edit-message-commands): New function.
4699 (eldoc-print-after-edit): New variable.
4700 (eldoc-pre-command-refresh-echo-area): Emit message only by
4701 eldoc-message-commands.
4702 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4703 if eldoc-print-after-edit is set. (Bug#16346)
4704 * simple.el (read--expression): Enable eldoc-mode.
4705 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4707 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4708 Eric S. Raymond <esr@thyrsus.com>
4710 * version.el (emacs-repository-get-version): Enhance so the
4711 function works correctly in either a Bazaar or Git repo.
4713 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4715 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4716 Goes with removal of the joke manpages from /etc.
4718 2014-01-10 Kenichi Handa <handa@gnu.org>
4720 * mail/rmail.el (rmail-get-coding-system):
4721 Check rmail-get-coding-function before "funcall"ing it.
4723 2014-01-10 Glenn Morris <rgm@gnu.org>
4725 * emacs-lisp/authors.el (authors-fixed-entries):
4726 Update for files that no longer exist.
4728 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4730 * version.el (emacs-bzr-get-version): Restore compatibilty with
4733 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4735 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4738 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4740 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4742 2014-01-10 Chong Yidong <cyd@gnu.org>
4744 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4746 2014-01-10 Anders Lindgren <andlind@gmail.com>
4748 * follow.el (follow-cache-command-list): Include right-char and
4751 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4754 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4755 * woman.el (woman-mark-horizontal-position):
4756 Rename from woman-mark-horizonal-position. Use changed.
4758 2014-01-10 Glenn Morris <rgm@gnu.org>
4760 * info.el (info-initialize): If running uninstalled, ensure our
4761 own info files are always found first, even if INFOPATH is set.
4763 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4765 2014-01-09 David Engster <deng@randomsample.de>
4767 * emacs-lisp/eieio-custom.el:
4768 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4769 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4770 * emacs-lisp/eieio.el: Regenerate autoloads.
4772 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4774 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4775 following renames. (Bug#8756)
4777 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4781 (activate-mark): Add `no-tmm' argument.
4782 (set-mark, push-mark-command): Use it instead of running
4783 activate-mark-hook by hand.
4785 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4787 In preparation for the move to git, sanitize out some
4788 Bazaar-specific names.
4790 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4792 * version.el (emacs-bzr-version): Name changed to
4793 emacs-repository-version. Obsolete-variable alias made.
4794 * loadup.el: Follow through on this name change.
4795 * mail/emacsbug.el (report-emacs-bug): Factor out any
4796 assumption about the version control system in use.
4798 2014-01-08 David Engster <deng@randomsample.de>
4800 * help-fns.el (help-fns-describe-function-functions):
4801 New variable to call functions for augmenting help buffers.
4802 (describe-function-1): Remove explicit calls to
4803 `help-fns--compiler-macro', `help-fns--parent-mode' and
4804 `help-fns--obsolete'. Put them in above new variable instead, and
4805 call them through `run-hook-with-args'.
4806 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4807 `eieio-describe-class'. Not meant for interactive use anymore,
4808 but to augment existing help buffers. Remove optional second
4809 argument. Create proper button for file location.
4810 Rewrite function to use `insert' instead of `princ' and `prin1' where
4812 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4813 (eieio-method-def, eieio-class-def): Move further up.
4814 (describe-method, describe-generic, eieio-describe-method):
4816 (eieio-help-constructor, eieio-help-generic): Rename from
4817 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4818 Rewrite to use `insert' in the current buffer and use proper help
4820 (eieio-help-find-method-definition)
4821 (eieio-help-find-class-definition): Also accept symbols as
4823 (eieio-help-mode-augmentation-maybee): Remove.
4824 (eieio-describe-class-sb): Use `describe-function'.
4825 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4826 Add `eieio-help-generic' and `eieio-help-constructor'.
4828 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4831 * language/china-util.el (hz-ascii-designation):
4832 Rename from hz-ascii-designnation.
4833 (hz-ascii-designation): Rename from hz-ascii-designnation.
4836 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4841 2014-01-08 Bastien Guerry <bzg@gnu.org>
4843 * emacs-lisp/package.el (package-delete):
4844 Correctly delete the package from package-alist.
4846 2014-01-08 Daiki Ueno <ueno@gnu.org>
4848 * emacs-lisp/package.el (url-recreate-url): Declare.
4849 (url-http-target-url): Declare.
4850 (package-handle-response): Include requested URL in the error message.
4851 (package--check-signature): Don't re-signal errors from
4852 package--with-work-buffer. Suggested by Stefan Monnier.
4854 2014-01-07 Bastien Guerry <bzg@gnu.org>
4856 * minibuffer.el (completion--try-word-completion): When both a
4857 hyphen and a space are possible candidates for the character
4858 following a word, display both candidates. (Bug#15980)
4860 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4862 * window.el (balance-windows-2): While rounding don't give a
4863 window more than the remainder. Bug#16351, bug#16383.
4865 2014-01-07 Glenn Morris <rgm@gnu.org>
4867 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4868 (menu-bar-help-menu): Use view-external-packages instead.
4870 2014-01-07 Bastien Guerry <bzg@gnu.org>
4872 * emacs-lisp/package.el (package-delete): Also delete the package
4873 name from `package-alist', not its description only.
4875 2014-01-07 Glenn Morris <rgm@gnu.org>
4877 * help.el (view-external-packages):
4878 * menu-bar.el (menu-bar-help-extra-packages):
4879 Visit efaq.info rather than etc/MORE.STUFF.
4881 2014-01-07 Juri Linkov <juri@jurta.org>
4883 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4884 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4886 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4887 that shadows RET. (Bug#16342)
4889 2014-01-07 Chong Yidong <cyd@gnu.org>
4891 * isearch.el (isearch-yank-char, isearch-yank-word)
4892 (isearch-yank-line): Doc fix.
4894 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4897 * emacs-lisp/elint.el (elint-find-builtins):
4898 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4899 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4900 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4901 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4902 * apropos.el (apropos-safe-documentation):
4903 * subr.el (symbol-file): Remove redundant fboundp.
4904 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4906 2014-01-06 Bastien Guerry <bzg@gnu.org>
4908 * hl-line.el (global-hl-line-overlay): Make a local variable.
4909 (global-hl-line-overlays): New variable to store all overlays.
4910 (global-hl-line-mode): Don't delete overlays from the current
4911 buffer when `global-hl-line-sticky-flag' is non-nil.
4912 (global-hl-line-highlight): Add new overlays to
4913 `global-hl-line-overlays'.
4914 (global-hl-line-unhighlight-all): New function to delete all
4915 overlays when turning off `global-hl-line-mode'.
4916 This fixes Bug#16183.
4918 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4920 * subr.el (set-transient-map): Fix nested case and docstring.
4922 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4924 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4927 2014-01-06 Daniel Colascione <dancol@dancol.org>
4929 Fix defun navigation in vc log view.
4931 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4932 like `beginning-of-defun'.
4933 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4934 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4935 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4936 (log-view-extract-comment): Call `log-view-current-entry' directly
4937 instead of relying on broken `log-view-beginning-of-defun' behavior.
4939 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4942 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4943 * emacs-lisp/debug.el (cancel-debug-on-entry):
4944 * epg.el (epg-error-to-string):
4945 * files.el (recover-file):
4946 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4947 * mail/emacsbug.el (report-emacs-bug-hook):
4948 * mail/sendmail.el (mail-recover):
4949 * ses.el (ses-yank-resize):
4950 * term/ns-win.el (ns-print-buffer):
4951 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4952 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4954 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4956 2014-01-06 Leo Liu <sdl.web@gmail.com>
4958 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4959 to avoid shadowing global key. (Bug#16354)
4961 2014-01-06 Daniel Colascione <dancol@dancol.org>
4963 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4966 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4968 * window.el (balance-windows): Add mising t to fix Bug#16351.
4970 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4972 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4974 (shr-insert): If we have a word that's longer than `shr-width',
4975 break after it anyway. Otherwise we'll do no breaking once we get
4978 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4980 * net/eww.el (eww): Support single/double quote for search.
4981 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4982 (eww-history-quit): Delete and use quit-window.
4983 (eww-history-kill): Delete, because it doesn't work well and
4985 (eww-history-mode-map): Delete some keys and add easy-menu.
4987 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4989 Fix misspelling of 'chinese' in rx (Bug#16237).
4990 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4993 Change subword regexps back to vars (Bug#16296).
4994 * progmodes/subword.el (subword-forward-regexp)
4995 (subword-backward-regexp): Change these back to variables.
4997 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4999 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5000 syntax-begin-function (bug#16247).
5002 2014-01-03 Chong Yidong <cyd@gnu.org>
5004 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5005 (advice--docstring): Delete variable.
5006 (advice--make-1): Leave the docstring empty.
5007 (advice-add): Use function-documentation for advised docstring.
5009 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5010 Ignore function-documentation property when getting documentation.
5011 (ad-activate-advised-definition): Use function-documentation
5012 generate the docstring.
5013 (ad-make-advised-definition): Don't call
5014 ad-make-advised-definition-docstring.
5015 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5018 * progmodes/sql.el (sql-help): Use function-documentation instead
5019 of dynamic-docstring-function property. No need to autoload now.
5020 (sql--help-docstring): New variable.
5021 (sql--make-help-docstring): Use it.
5023 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5025 * ielm.el (ielm-tab): Retarget.
5026 (ielm-map): Use ielm-tab for tab.
5027 (ielm-complete-filename): Use comint-filename-completion.
5028 (ielm-complete-symbol): Remove.
5029 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5030 remove ielm-tab from completion-at-point-functions (bug#16224).
5032 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5033 Beware signals raised by predicates (bug#16201).
5035 2014-01-02 Richard Stallman <rms@gnu.org>
5037 * dired-aux.el (dired-do-print): Handle printer-name.
5039 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5040 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5041 (rmail-epa-decrypt): Turn off mime processing.
5043 * mail/rmail.el (rmail-make-in-reply-to-field):
5044 Add parens in message-id.
5046 * mail/rmail.el (rmail-get-coding-function): Variable.
5047 (rmail-get-coding-system): Use it.
5049 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5051 * international/mule-conf.el: Unify the charset indian-is13194.
5052 (indian-is13194): Specify unify-map.
5054 2013-12-31 Leo Liu <sdl.web@gmail.com>
5056 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5058 2013-12-30 Daniel Colascione <dancol@dancol.org>
5060 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5061 of printing a useless when we resume from sleep.
5063 * progmodes/sh-script.el
5064 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5065 in indentation code. (Bug#16233)
5067 2013-12-28 João Távora <joaotavora@gmail.com>
5069 * elec-pair.el (electric-pair-post-self-insert-function):
5070 Don't open extra newlines at beginning of buffer. (Bug#16272)
5072 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5074 * frame.el (window-system-for-display): Don't allow to create a
5075 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5077 2013-12-28 Glenn Morris <rgm@gnu.org>
5079 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5082 * apropos.el (apropos-match-face):
5083 * calculator.el (calculator-displayer):
5084 * dabbrev.el (dabbrev-search-these-buffers-only):
5085 * face-remap.el (buffer-face-mode-face):
5086 * simple.el (yank-handled-properties):
5087 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5088 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5089 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5090 (hashcash-double-spend-database):
5091 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5092 (ruby-deep-indent-paren-style):
5093 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5094 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5095 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5096 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5097 Specify custom types.
5099 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5100 * bookmark.el (bookmark-bmenu-use-header-line):
5101 * doc-view.el (doc-view-scale-internally):
5102 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5103 * register.el (register-preview-delay):
5104 * net/shr.el (shr-bullet):
5105 * progmodes/cfengine.el (cfengine-cf-promises)
5106 (cfengine-parameters-indent):
5107 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5108 * textmodes/reftex-vars.el (reftex-label-regexps):
5109 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5111 * net/tls.el (tls-certtool-program): Fix default value.
5113 * desktop.el (desktop-restore-in-current-display):
5114 * newcomment.el (comment-empty-lines):
5115 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5116 (idlwave-pad-keyword):
5117 * progmodes/tcl.el (tcl-tab-always-indent):
5118 * textmodes/reftex-vars.el (reftex-index-default-tag):
5119 * elec-pair.el (electric-pair-skip-whitespace):
5120 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5122 * emacs-lisp/authors.el (authors-ignored-files)
5123 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5125 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5127 * shell.el (shell-dynamic-complete-command): Doc fix.
5128 (shell--command-completion-data): Shell completion now matches
5129 executable filenames from the current buffer's directory, on
5130 systems in which this behavior is the default (windows-nt, ms-dos).
5132 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5134 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5136 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5141 * electric.el: Move all electric-pair-* to elec-pair.el.
5142 * elec-pair.el: New file, split from electric.el.
5144 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5146 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5147 indentation level is larger than the width, because that will
5149 (shr-insert): Fill repeatedly long texts, so that Japanese is
5150 formatted correctly (bug#16263).
5151 (shr-find-fill-point): Off by one error in comparison with the
5154 2013-12-26 João Távora <joaotavora@gmail.com>
5156 * electric.el (electric-pair-mode): More flexible engine for skip-
5157 and inhibit predicates, new options for pairing-related functionality.
5158 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5159 if that keeps or improves their balance in buffers.
5160 (electric-pair-delete-adjacent-pairs): Delete the pair when
5161 backspacing over adjacent matched delimiters.
5162 (electric-pair-open-extra-newline): Open extra newline when
5163 inserting newlines between adjacent matched delimiters.
5164 (electric--sort-post-self-insertion-hook):
5165 Sort post-self-insert-hook according to priority values when
5166 minor-modes are activated.
5167 * simple.el (newline-and-indent): Call newline with interactive
5169 (blink-paren-post-self-insert-function): Set priority to 100.
5170 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5171 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5172 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5173 electric-pair-open-newline-between-pairs to nil.
5175 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5177 * progmodes/python.el: Use lexical-binding.
5178 (python-nav-beginning-of-defun): Stop searching ASAP.
5180 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5182 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5183 Fix interactive spec. Doc fix. (Bug#15754)
5185 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5187 * emacs-lisp/byte-run.el (eval-when-compile):
5188 * progmodes/cc-defs.el (cc-eval-when-compile):
5189 Fix edebug spec (bug#16184).
5191 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5193 * net/shr.el (shr-visit-file): Remove debugging function.
5194 (shr-insert): Don't infloop if we can't find a good place to break
5195 the line (bug#16256).
5197 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5199 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5200 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5201 python-nav-lisp-forward-sexp-safe.
5202 (python-nav--forward-sexp): New argument SAFE allows switching
5203 forward sexp movement behavior for parens.
5204 (python-nav-forward-sexp): Throw errors on unterminated parens
5206 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5207 (python-nav-backward-sexp-safe): New functions.
5208 (python-shell-buffer-substring):
5209 Use `python-nav-forward-sexp-safe'.
5211 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5213 * net/shr.el (shr-find-fill-point): Don't break lines before a
5215 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5216 (shr-find-fill-point): Remove the special checks for the quotation
5217 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5219 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5221 * net/eww.el (eww-form-textarea): Use a different face for
5222 textareas than text input since they have different keymaps
5225 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5227 * progmodes/python.el (python-nav-beginning-of-statement):
5228 Speed up (Bug#15295).
5230 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5232 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5233 the window configuration.
5235 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5237 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5238 we run on MS-Windows or MS-DOS.
5240 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5242 * window.el (balance-windows-area): Call window-size instead of
5243 window-height and window-width. Bug#16241.
5245 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5247 * net/eww.el (eww-bookmark-quit): Remove.
5248 (eww-bookmark-browse): Restore the window configuration when you
5249 choose a bookmark (bug#16144).
5251 2013-12-24 Daniel Colascione <dancol@dancol.org>
5253 * icomplete.el: Remove redundant :group arguments to `defcustom'
5255 (icomplete-show-matches-on-no-input): New customizable variable.
5256 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5257 we have something to show.
5258 (icomplete-exhibit): Compute completions even if we have no user input.
5260 2013-12-23 Daniel Colascione <dancol@dancol.org>
5262 * icomplete.el: Move `provide' to end of file.
5264 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5266 * net/gnutls.el (gnutls-verify-error): Add version tag.
5268 2013-12-23 Chong Yidong <cyd@gnu.org>
5270 * subr.el (set-transient-map): Rename from
5271 set-temporary-overlay-map. Doc fix.
5273 * face-remap.el (text-scale-adjust):
5274 * indent.el (indent-rigidly):
5275 * kmacro.el (kmacro-call-macro):
5276 * minibuffer.el (minibuffer-force-complete):
5277 * repeat.el (repeat):
5278 * simple.el (universal-argument--mode):
5279 * calendar/todo-mode.el (todo-insert-item--next-param):
5280 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5282 * indent.el (indent-rigidly): Use substitute-command-keys.
5284 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5286 * net/eww.el (eww-tag-select): Add text-property to jump to next
5288 (eww): Add non-supported ftp error.
5290 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5292 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5293 comments. Handle electric indent after typing `?' and `!'.
5295 2013-12-22 Chong Yidong <cyd@gnu.org>
5297 * faces.el (face-spec-recalc): If the theme specs are not
5298 applicable to a frame, fall back on the defface spec.
5299 This prevents themes from obliterating faces on low-color terminals.
5301 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5303 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5304 after `{'. We need it after block openers, and it doesn't seem
5305 to hurt after hash openers.
5307 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5309 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5310 extracted from `ruby-smie-rules'.
5311 (ruby--electric-indent-chars): New variable.
5312 (ruby--electric-indent-p): New function.
5313 (ruby-mode): Use `electric-indent-functions' instead of
5314 `electric-indent-chars'.
5316 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5318 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5320 (ruby-smie-rules): Indent plus one level after `=>'.
5322 2013-12-21 Richard Stallman <rms@gnu.org>
5324 * simple.el (newline): Doc fix.
5326 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5328 * net/eww.el (eww-list-histories, eww-list-histories)
5329 (eww-history-browse, eww-history-quit, eww-history-kill)
5330 (eww-history-mode-map, eww-history-mode): New command and
5331 functions to list browser histories.
5332 (eww-form-text): Support text form with disabled
5333 and readonly attributes.
5334 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5336 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5338 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5339 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5340 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5341 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5343 (eww-bookmark-mode-map): Add menu.
5344 (eww-render, eww-mode): Use `setq-local'.
5345 (eww-tool-bar-map): New variable.
5346 (eww-mode): Set `tool-bar-map'.
5347 (eww-view-source): Check for `html-mode' with `fboundp'.
5349 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5351 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5352 elements with text inside. Also remove debugging.
5354 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5356 * cus-start.el (all): Add ns-use-srgb-colorspace.
5358 2013-12-21 Chong Yidong <cyd@gnu.org>
5360 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5361 undefined. Thus, theme settings for undefined faces do not take
5362 effect until the faces are defined with defface, the same as with
5365 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5366 (face-spec-reset-face): Don't assign extra properties in temacs.
5367 (face-spec-recalc): Apply X resources too.
5369 2013-12-21 Chong Yidong <cyd@gnu.org>
5371 * faces.el (face-spec-set):
5372 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5373 * custom.el (defface): Doc fixes (Bug#16203).
5375 * indent.el (indent-rigidly-map): Add docstring, and move commands
5376 into named functions.
5377 (indent-rigidly-left, indent-rigidly-right)
5378 (indent-rigidly-left-to-tab-stop)
5379 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5380 indentation direction based on bidi direction, and accumulate
5381 sequential commands in a single undo boundary.
5382 (indent-rigidly--pop-undo): New utility function.
5384 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5386 * faces.el (read-face-name): Require crm.el when using crm-separator.
5388 2013-12-20 Daniel Colascione <dancol@dancol.org>
5390 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5391 so that we don't reflow comments into the shebang line.
5393 2013-12-20 Juri Linkov <juri@jurta.org>
5395 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5396 a position when `dired-directory' is non-nil. Check integer
5397 positions with `integerp'.
5398 (toggle-save-place, save-places-to-alist): Add check for
5400 (save-place-find-file-hook): Check integer positions with
5402 (save-place-dired-hook): Use `dired-goto-file' when
5403 `dired-filename' is found in the assoc list. Check integer
5404 positions with `integerp'.
5405 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5407 * dired.el (dired-initial-position-hook): Rename back from
5408 `dired-initial-point-hook'.
5409 (dired-initial-position): Rename `dired-initial-point-hook' to
5410 `dired-initial-position-hook'.
5411 (dired-file-name-at-point): Doc fix. (Bug#15329)
5413 2013-12-20 Juri Linkov <juri@jurta.org>
5415 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5416 (read-regexp-suggestions): New function.
5417 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5418 Use `read-regexp-suggestions'. Add non-empty default to history
5420 (occur-read-regexp-defaults-function): Remove function.
5421 (occur-read-primary-args): Use `regexp-history-last' instead of
5422 `occur-read-regexp-defaults-function'.
5424 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5425 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5426 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5427 `hi-lock-read-regexp-defaults-function'. Doc fix.
5428 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5429 with `find-tag-default-as-symbol-regexp'. Doc fix.
5430 (hi-lock-read-regexp-defaults): Remove function.
5431 (hi-lock-regexp-okay): Add check for null.
5433 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5434 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5436 * subr.el (find-tag-default-as-symbol-regexp): New function.
5437 (find-tag-default-as-regexp): Move symbol regexp formatting to
5438 `find-tag-default-as-symbol-regexp'.
5440 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5442 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5445 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5447 * calendar/todo-mode.el: New implementation of item insertion
5448 commands and key bindings.
5449 (todo-key-prompt): New face.
5450 (todo-insert-item): New command.
5451 (todo-insert-item--parameters): New defconst, replacing defvar
5452 todo-insertion-commands-args-genlist.
5453 (todo-insert-item--param-key-alist): New defconst, replacing
5454 defvar todo-insertion-commands-arg-key-list.
5455 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5456 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5457 (todo-insert-item--next-param): New functions.
5458 (todo-insert-item--args, todo-insert-item--argleft)
5459 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5461 (todo-key-bindings-t): Change binding of "i" from
5462 todo-insertion-map to todo-insert-item.
5463 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5464 (todo-insertion-command-name, todo-insertion-commands-names)
5465 (todo-define-insertion-command, todo-insertion-commands)
5466 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5468 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5470 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5471 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5473 (todo-move-category): Allow choosing a non-existing todo file to
5474 move the category to, and create that file.
5475 (todo-default-priority): New user option.
5476 (todo-set-item-priority): Use it.
5477 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5478 (desktop-restore-file-buffer): Declare.
5479 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5480 (todo-modes-set-2): Locally set desktop-save-buffer to
5481 todo-desktop-save-buffer.
5482 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5483 (auto-mode-alist): Add autoload cookie.
5485 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5487 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5488 helpers.el was a poor choice of name.
5489 (string-remove-prefix): New function.
5490 (string-remove-suffix): New function.
5492 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5494 Fix assignment for new window total sizes.
5495 * window.el (window--pixel-to-size): Remove function.
5496 (window--pixel-to-total-1, window--pixel-to-total):
5497 Fix calculation of new total sizes.
5499 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5501 * comint.el (comint-output-filter): Fix rear-nonsticky property
5502 placement (Bug#16010).
5504 2013-12-20 Chong Yidong <cyd@gnu.org>
5506 * faces.el (read-color): Minor fix for completion function.
5508 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5510 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5511 New option. (Bug#16182)
5512 (ruby-smie--indent-to-stmt-p): Use it.
5513 (ruby-smie-rules): Revert the logic in the handling of `when'.
5514 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5515 (ruby-deep-arglist, ruby-deep-indent-paren)
5516 (ruby-deep-indent-paren-style): Update docstrings to note that the
5517 vars don't have any effect with SMIE.
5519 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5521 * calc/calc.el (calc-enter, calc-pop): Use the variable
5522 `calc-context-sensitive-enter'.
5524 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5526 * net/shr.el (shr-insert): Protect against infloops in degenerate
5529 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5531 * progmodes/octave.el (octave): Add link to manual and octave
5533 (octave-mode-menu): Link to octave-mode manual.
5535 2013-12-20 Leo Liu <sdl.web@gmail.com>
5537 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5538 insertion using skeleton-end-newline. (Bug#16138)
5540 2013-12-20 Juri Linkov <juri@jurta.org>
5542 * replace.el (occur-engine): Use `add-face-text-property'
5543 to add the face property to matches and titles. (Bug#14645)
5545 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5546 the palette of other hi-lock colors.
5547 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5549 2013-12-19 Juri Linkov <juri@jurta.org>
5551 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5552 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5553 (minibuffer-history-symbol): Move variable declaration closer to
5556 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5559 2013-12-19 Juri Linkov <juri@jurta.org>
5561 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5563 (log-edit-hook): Add it to :options. (Bug#16170)
5565 2013-12-19 Juri Linkov <juri@jurta.org>
5567 * simple.el (eval-expression-print-format): Don't check for
5568 command names and the last command. Always display additional
5569 formats of the integer result in the echo area, and insert them
5570 to the current buffer only with a zero prefix arg.
5571 Display character when char-displayable-p is non-nil.
5572 (eval-expression): With a zero prefix arg, set `print-length' and
5573 `print-level' to nil, and insert the integer values from
5574 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5576 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5577 `eval-last-sexp-arg-internal'. Doc fix.
5578 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5579 `eval-last-sexp-print-value'. Doc fix.
5580 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5581 Set `print-length' and `print-level' to nil when arg is zero.
5582 (eval-last-sexp): Doc fix.
5583 (eval-defun-2): Print the integer values from
5584 `eval-expression-print-format' at the end.
5586 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5587 values from `eval-expression-print-format' at the end.
5589 * ielm.el (ielm-eval-input): Print the integer
5590 values from `eval-expression-print-format' at the end.
5592 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5594 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5595 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5597 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5599 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5600 (hl-line-highlight, global-hl-line-highlight): Use it.
5601 (hl-line-overlay): Use defvar-local.
5603 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5605 * term/ns-win.el: Require dnd.
5606 (global-map): Remove drag items.
5607 (ns-insert-text, ns-set-foreground-at-mouse)
5608 (ns-set-background-at-mouse):
5609 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5610 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5613 2013-12-19 Glenn Morris <rgm@gnu.org>
5615 * emacs-lisp/ert.el (ert-select-tests):
5616 Fix string/symbol mixup. (Bug#16121)
5618 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5620 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5621 keywords to their parent.
5623 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5625 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5626 first arg to be a string (fixed dead code), or an operator symbol.
5627 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5629 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5630 did nothing. Don't respond to `(:after ".")', it will be called
5631 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5632 change anything. Only return indentation for binary operators
5633 when they are hanging. De-dent opening paren when its parent is
5634 `.', otherwise it looks bad when the dot is not at bol or eol
5637 2013-12-19 Juri Linkov <juri@jurta.org>
5639 * replace.el (query-replace-read-args): Split a non-negative arg
5640 and a negative arg into separate elements.
5641 (query-replace, query-replace-regexp, replace-string)
5642 (replace-regexp): Add arg `backward'. Doc fix.
5643 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5644 move point to the beginning of the match.
5645 (replace-search, replace-highlight): Use new arg `backward'
5646 to set the value of `isearch-forward'.
5647 (perform-replace): Add arg `backward' and use it to perform
5648 replacement backward. (Bug#14979)
5650 * isearch.el (isearch-query-replace): Use a negative prefix arg
5651 to call `perform-replace' with a non-nil arg `backward'.
5653 2013-12-18 Juri Linkov <juri@jurta.org>
5655 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5656 to the default list. Move `log-edit-show-files' to the end.
5657 Add more available functions to options.
5658 (log-edit): Move default specific settings to
5659 `log-edit-insert-message-template'. Don't move point.
5660 (log-edit-insert-message-template): New function.
5661 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5664 2013-12-18 Juri Linkov <juri@jurta.org>
5666 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5667 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5669 2013-12-18 Leo Liu <sdl.web@gmail.com>
5671 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5674 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5676 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5677 formats for displaying file sizes when the -s switch is given.
5678 Instead, compute a separate format for displaying the size in
5679 blocks, which is displayed in addition to the "regular" size.
5680 When -h is given in addition to -s, produce size in blocks in
5681 human-readable form as well. (Bug#16179)
5683 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5685 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5686 Reference tables with ~\ref{...} instead of only \ref{...}.
5688 2013-12-18 Chong Yidong <cyd@gnu.org>
5690 * cus-edit.el (custom-magic-alist): Fix "themed" description
5693 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5694 is non-nil, do not create a new entry in the symbol's theme-value
5695 or theme-face property; update theme-settings only (Bug#14664).
5696 (custom-available-themes): Doc fix.
5698 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5701 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5703 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5705 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5708 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5710 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5712 2013-12-18 Glenn Morris <rgm@gnu.org>
5714 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5715 * cus-start.el (load-prefer-newer): New option.
5717 2013-12-18 Le Wang <l26wang@gmail.com>
5719 * comint.el (comint-previous-matching-input-from-input):
5720 Retain point (Bug#13404).
5722 2013-12-18 Chong Yidong <cyd@gnu.org>
5724 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5726 2013-12-18 Glenn Morris <rgm@gnu.org>
5728 * mail/emacsbug.el (report-emacs-bug):
5729 Only mention enable-multibyte-characters if non-standard.
5731 2013-12-17 Juri Linkov <juri@jurta.org>
5733 * arc-mode.el (archive-extract-by-file): Check if directory exists
5734 before deletion to not show irrelevant errors if it doesn't exist.
5736 2013-12-17 Juri Linkov <juri@jurta.org>
5738 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5741 * net/eww.el (browse-web): Add alias to `eww'.
5742 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5743 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5745 * net/browse-url.el (browse-url-browser-function): Move `eww'
5746 closer to similar functions.
5748 * startup.el (fancy-startup-screen, fancy-about-screen):
5749 Set browse-url-browser-function to eww-browse-url locally.
5752 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * window.el (window--pixel-to-total): Remove unused `mini' var.
5755 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5756 (split-window): Remove unused `new' var.
5757 (window--display-buffer): Remove unused `frame' and `delta' vars.
5758 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5761 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5763 * dired.el (dired-mark-pop-up):
5764 * register.el (register-preview): Don't bind
5765 split-height-threshold here since it's now done in
5766 display-buffer-below-selected.
5768 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5770 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5771 xterm-rgb-convert-to-16bit.
5772 (rxvt-register-default-colors): Standardize with
5773 xterm-register-default-colors (Bug#14078).
5775 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5777 * simple.el (kill-region): Pass mark first, then point, so that
5778 kill-append works right (Bug#12819).
5779 (copy-region-as-kill, kill-ring-save): Likewise.
5781 2013-12-17 Leo Liu <sdl.web@gmail.com>
5783 * net/rcirc.el (rcirc-add-face):
5784 * eshell/em-prompt.el (eshell-emit-prompt):
5785 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5788 2013-12-17 Chong Yidong <cyd@gnu.org>
5790 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5791 Suggested by Xue Fuqiao.
5793 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5795 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5797 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5799 * net/shr.el (shr-insert-document): Remove unused var
5800 `shr-preliminary-table-render'.
5801 (shr-rescale-image): Remove unused arg `force'.
5802 (shr-put-image): Update calls accordingly.
5803 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5805 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5807 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5808 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5809 :close-all, to see which indentation method to use (Bug#16116).
5810 (smie-rules-function): Document the method :close-all.
5812 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5814 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5816 * net/eww.el (eww-display-html): If we can't find the anchor we're
5817 looking for, then go to point-min.
5819 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5821 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5822 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5823 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5824 Expand dir too, in case it's relative.
5826 2013-12-16 Juri Linkov <juri@jurta.org>
5828 * desktop.el (desktop-auto-save-timeout): Change default to
5829 `auto-save-timeout'. Doc fix.
5830 (desktop-save): Skip the timestamp in desktop-saved-frameset
5831 when checking for auto-save changes.
5832 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5833 `desktop-auto-save' is called repeatedly by the idle timer.
5834 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5835 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5838 2013-12-16 Juri Linkov <juri@jurta.org>
5840 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5842 (isearch-pre-command-hook): Check `this-command' for symbolp.
5844 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5846 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5848 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5850 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5851 (cfengine3--current-function): Bring in the current-function
5852 functionality from `cfengine3--current-word'.
5853 (cfengine3-completion-function): Bring in the
5854 bounds-of-current-word functionality from
5855 `cfengine3--current-word'.
5857 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5859 * window.el (display-buffer-below-selected):
5860 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5862 2013-12-16 Leo Liu <sdl.web@gmail.com>
5864 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5865 Remove NOMSG arg and all uses changed.
5867 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5870 (cua--deactivate-rectangle): Don't deactivate the mark.
5871 (cua-set-rectangle-mark): Don't set mark-active since
5872 cua--activate-rectangle already does it for us.
5873 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5874 non-rectangular region.
5876 * emulation/cua-base.el (cua-repeat-replace-region):
5877 Use with-current-buffer.
5879 * net/gnutls.el: Use cl-lib.
5880 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5882 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5884 * emacs-lisp/package.el (package-built-in-p): Support both
5885 built-in and the package.el converted package descriptions.
5886 (package-show-package-list): Allow keywords.
5887 (package-keyword-button-action): Use it instead of
5888 `finder-list-matches'.
5889 (package-menu-filter-interactive): Interactive filtering (by
5891 (package-menu--generate): Support keywords and change keymappings
5892 and headers when they are given.
5893 (package--has-keyword-p): Helper function.
5894 (package-menu--refresh): Use it.
5895 (package--mapc): Helper function.
5896 (package-all-keywords): Use it.
5897 (package-menu-mode-map): Set up menu items and keybindings to
5898 provide a filtering UI.
5900 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5902 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5903 the behavior when a certificate fails validation. Defaults to
5904 old behavior: never abort, just warn.
5905 (gnutls-negotiate): Use it.
5907 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5909 * window.el (display-buffer-below-selected): Never split window
5910 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5912 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5914 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5915 (package-buffer-info): Use it (bug#15108).
5917 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5919 * icomplete.el (icomplete-completions): Make sure the prefix is already
5920 displayed elsewhere before hiding it (bug#16219).
5922 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5924 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5925 open-paren tokens when preceded by a open-paren, too.
5926 (ruby-smie-rules): Handle virtual indentation after open-paren
5927 tokens specially. If there is code between it and eol, return the
5928 column where is starts (Bug#16118).
5930 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5932 * progmodes/cfengine.el: Fix `add-hook' doc.
5933 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5934 (cfengine3--current-word): Fix parameters.
5935 (cfengine3-make-syntax-cache): Simplify further.
5936 (cfengine3-completion-function, cfengine3--current-function):
5937 Use `assq' for symbols.
5938 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5940 2013-12-13 Glenn Morris <rgm@gnu.org>
5942 * loadup.el (load-path): Warn if site-load or site-init changes it.
5943 No more need to reset it when bootstrapping.
5945 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5947 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5948 locations for cf-promises.
5949 (cfengine-mode-syntax-functions-regex): New caching variable.
5950 (cfengine3-fallback-syntax): Fallback syntax for cases where
5951 cf-promises doesn't run.
5952 (cfengine3--current-word): Reimplement using
5953 `cfengine-mode-syntax-functions-regex'.
5954 (cfengine3-completion-function, cfengine3--current-function):
5955 Use `cfengine3-make-syntax-cache' directly.
5956 (cfengine3-clear-syntax-cache): New function.
5957 (cfengine3-make-syntax-cache): Simplify and create
5958 `cfengine-mode-syntax-functions-regex' on demand.
5959 (cfengine3-format-function-docstring): Don't call
5960 `cfengine3-make-syntax-cache' explicitly.
5962 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5964 Fix windmove-find-other-window broken after pixelwise resizing
5966 * windmove.el (windmove-other-window-loc): Revert change from
5968 (windmove-find-other-window): Call window-in-direction.
5969 * window.el (window-in-direction): New arguments SIGN, WRAP and
5970 MINI to emulate original windmove-find-other-window behavior.
5972 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5974 * simple.el (blink-matching--overlay): New variable.
5975 (blink-matching-open): Instead of moving point, highlight the
5976 matching paren with an overlay
5977 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5979 * faces.el (paren-showing-faces, show-paren-match)
5980 (show-paren-mismatch): Move from paren.el.
5982 2013-12-13 Leo Liu <sdl.web@gmail.com>
5984 * indent.el (indent-region): Disable progress reporter in
5985 minibuffer. (Bug#16108)
5987 * bindings.el (visual-order-cursor-movement): Fix version.
5989 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5991 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5992 Also match after beginning of line.
5993 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5994 files. Thanks to Russell Sim. (Bug#15378)
5996 2013-12-13 Juri Linkov <juri@jurta.org>
5998 * simple.el <Keypad support>: Remove key bindings duplicated
5999 with bindings.el. (Bug#14397)
6001 2013-12-13 Juri Linkov <juri@jurta.org>
6003 * comint.el (comint-mode-map): Replace `delete-char' with
6004 `delete-forward-char'. (Bug#16109)
6006 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6008 * progmodes/python.el (python-indent-calculate-indentation):
6009 Fix de-denters cornercase. (Bug#15731)
6011 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6014 (advice--make): Pay attention to `depth'.
6015 (advice--make-1): Don't autoload commands eagerly.
6016 * emacs-lisp/elp.el (elp-instrument-function):
6017 * emacs-lisp/trace.el (trace-function-internal):
6018 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6020 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6022 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6024 * term/w32-win.el (w32-handle-dropped-file):
6025 * startup.el (normal-top-level):
6026 * net/browse-url.el (browse-url-file-url):
6027 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6028 decode file names using 'utf-8' rather than
6029 file-name-coding-system.
6031 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6033 * progmodes/python.el (python-indent-context)
6034 (python-indent-calculate-indentation): Fix auto-identation
6035 behavior for comment blocks. (Bug#15916)
6037 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6039 * progmodes/python.el (python-indent-calculate-indentation):
6040 When determining indentation, don't treat "return", "pass", etc., as
6041 operators when they are just string constituents. (Bug#15812)
6043 2013-12-12 Juri Linkov <juri@jurta.org>
6045 * uniquify.el (uniquify-buffer-name-style): Change default to
6046 `post-forward-angle-brackets'.
6048 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6049 `uniquify'. Change default to `post-forward-angle-brackets'.
6051 2013-12-11 Glenn Morris <rgm@gnu.org>
6053 * emacs-lisp/package.el (finder-list-matches):
6054 Autoload rather than falsely declaring.
6056 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6058 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6059 (eww-mode-map): Use them.
6061 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6063 * window.el (display-buffer-in-side-window): Fix doc-string
6066 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6068 * vc/vc-git.el: Silence byte-compiler warnings.
6069 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6070 (log-edit-set-header): Declare.
6072 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6074 * Makefile.in (custom-deps, finder-data): Run output file names
6075 through unmsys--file-name. (Bug#16099)
6077 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6079 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6080 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6082 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6083 instead of deleting the selection "by hand" (bug#16098).
6084 Rely on insert-for-yank to yank rectangles.
6085 (cua-highlight-region-shift-only): Mark obsolete.
6086 (cua-mode): Don't enable/disable transient-mark-mode,
6087 shift-select-mode (cua-mode works both with and without them), and
6088 pc-selection-mode (obsolete).
6089 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6090 (cua--deactivate-rectangle): Deactivate it.
6092 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6093 (delete-selection-helper): Make sure yank starts at the top of the
6095 (minibuffer-keyboard-quit): Use region-active-p.
6097 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6099 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6100 to `delete' (bug#16109).
6102 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6104 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6105 info manual and show keybindings and set `:group' keyword.
6107 2013-12-11 Juri Linkov <juri@jurta.org>
6109 * delsel.el (delete-active-region): Let-bind `this-command'
6110 to prevent `kill-region' from changing its original value.
6111 (delete-selection-helper): Handle `overwrite-mode' for the type
6112 `kill' exactly the same way as for the type `t'.
6113 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6114 Support more commands. (Bug#13312)
6116 2013-12-11 Juri Linkov <juri@jurta.org>
6118 * bindings.el: Map kp keys to non-kp keys systematically
6119 with basic modifiers control, meta and shift. (Bug#14397)
6121 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6123 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6124 "Close browser" menu items. Fix wrong function of "List
6127 2013-12-11 Juri Linkov <juri@jurta.org>
6129 * misearch.el (multi-isearch-buffers): Set the value of
6130 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6131 arg of isearch-forward to t.
6132 (multi-isearch-buffers-regexp): Set the value of
6133 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6134 arg of isearch-forward-regexp to t.
6135 (multi-isearch-files): Set the value of
6136 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6137 arg of isearch-forward to t.
6138 (multi-isearch-files-regexp): Set the value of
6139 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6140 arg of isearch-forward-regexp to t. (Bug#16035)
6142 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6143 arg of isearch-forward to t.
6144 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6145 arg of isearch-forward-regexp to t.
6146 (dired-isearch-filter-filenames): Remove unnecessary check for
6147 `dired-isearch-filenames'.
6149 * comint.el (comint-history-isearch-backward):
6150 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6151 (comint-history-isearch-backward-regexp):
6152 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6154 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6156 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6157 unmsys--file-name. (Bug#16099)
6159 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6161 * emacs-lisp/package.el (package-keyword-button-action):
6162 Remove finder.el require dependency.
6164 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6166 * emacs-lisp/package.el: Require finder.el.
6167 (describe-package-1): Add keyword buttons.
6168 (package-make-button): New convenience function.
6169 (package-keyword-button-action): Keyword button action using
6170 `finder-list-matches'.
6172 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6174 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6177 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6179 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6182 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6184 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6185 after the end of a percent literal.
6187 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6189 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6190 Handle caret-delimited strings (Bug#16079).
6192 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6194 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6195 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6196 `ruby-parse-partial' (Bug#16078).
6198 2013-12-09 Leo Liu <sdl.web@gmail.com>
6200 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6202 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6204 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6205 (js-switch-indent-offset): New option.
6206 (js--proper-indentation): Use it. And handle the case when
6207 "default" is actually a key in an object literal.
6208 (js--same-line): New function.
6209 (js--multi-line-declaration-indentation): Use it.
6210 (js--indent-in-array-comp, js--array-comp-indentation):
6212 (js--proper-indentation): Use them, to handle array comprehension
6215 2013-12-08 Leo Liu <sdl.web@gmail.com>
6217 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6218 (flymake-make-overlay): Remove arg MOUSE-FACE.
6219 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6221 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6225 (redisplay-highlight-region-function): Use it.
6227 * emulation/cua-base.el (cua--explicit-region-start)
6228 (cua--last-region-shifted): Remove.
6229 (cua--deactivate): Use deactivate-mark.
6230 (cua--pre-command-handler-1): Don't handle shift-selection.
6231 (cua--post-command-handler-1): Don't change transient-mark-mode.
6232 (cua--select-keymaps): Use region-active-p rather than
6233 cua--explicit-region-start or cua--last-region-shifted.
6234 (cua-mode): Enable shift-select-mode.
6236 2013-12-08 Leo Liu <sdl.web@gmail.com>
6238 * progmodes/flymake.el (flymake-popup-current-error-menu):
6239 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6240 (flymake-posn-at-point-as-event, flymake-popup-menu)
6241 (flymake-make-emacs-menu): Remove. (Bug#16077)
6243 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6245 * rect.el (rectangle-mark-mode): Activate mark even if
6246 transient-mark-mode is off (bug#16066).
6247 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6248 is > mark and at bolp.
6250 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6251 (region-extract-function): Use it.
6252 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6253 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6255 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6256 kill-ring-save, kill-region, delete-char, delete-forward-char.
6257 Ignore self-insert-iso.
6259 * emulation/cua-gmrk.el (cua--init-global-mark):
6260 Ignore `self-insert-iso'.
6262 * emulation/cua-base.el (cua--prefix-copy-handler)
6263 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6264 checking cua--rectangle.
6265 (cua-delete-region): Use region-extract-function.
6266 (cua-replace-region): Delete function.
6267 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6268 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6269 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6270 (cua--init-keymaps): Don't remap delete-selection commands.
6271 (cua-mode): Use delete-selection-mode instead of rolling our own
6274 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6275 Obey region-extract-function.
6277 Make registers and delete-selection-mode work on rectangles.
6278 * register.el (describe-register-1): Don't modify the register's value.
6279 (copy-to-register): Obey region-extract-function.
6280 * delsel.el (delete-active-region): Obey region-extract-function.
6282 2013-12-08 Leo Liu <sdl.web@gmail.com>
6284 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6285 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6286 (flymake-compilation-prevents-syntax-check)
6287 (flymake-start-syntax-check-on-newline)
6288 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6289 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6290 (flymake-xml-program, flymake-master-file-dirs)
6291 (flymake-master-file-count-limit)
6292 (flymake-allowed-file-name-masks): Relocate.
6293 (flymake-makehash, flymake-float-time)
6294 (flymake-replace-regexp-in-string, flymake-split-string)
6295 (flymake-get-temp-dir): Remove.
6296 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6297 (flymake-current-row, flymake-selected-frame)
6298 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6299 related functions. (Bug#16077)
6301 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6303 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6305 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6307 * help-fns.el (describe-function-1): Use new advice-* functions
6308 rather than old ad-* functions. Fix function type description and
6309 source links for advised functions and subrs.
6311 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6313 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6315 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6317 * progmodes/compile.el (compilation-start):
6318 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6320 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6321 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6323 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6325 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6326 Touch up the last change.
6328 2013-12-06 Leo Liu <sdl.web@gmail.com>
6330 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6331 (inferior-octave-startup): Always use "octave> " for prompt.
6332 (octave-goto-function-definition)
6333 (octave-sync-function-file-names)
6334 (octave-find-definition-default-filename): Remove redundant backquotes.
6336 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6338 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6340 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6341 where appropriate already.
6342 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6343 end of method names (Bug#15874).
6345 2013-12-06 Juri Linkov <juri@jurta.org>
6347 * isearch.el (isearch--saved-overriding-local-map):
6348 New internal variable.
6349 (isearch-mode): Set it to the initial value of
6350 `overriding-terminal-local-map'.
6351 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6352 with `isearch--saved-overriding-local-map'. (Bug#16035)
6354 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6356 * progmodes/octave.el (inferior-octave-completion-table):
6357 Turn back into function, use `completion-table-with-cache'
6358 (Bug#11906). Update all references.
6360 * minibuffer.el (completion-table-with-cache): New function.
6362 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6364 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6366 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6368 * net/eww.el (eww-current-source): New variable to store page
6370 (eww-display-html, eww-mode, eww-save-history)
6371 (eww-restore-history): Use it.
6372 (eww-view-source): New command to view page source.
6373 Opportunistically uses `html-mode' to highlight the buffer.
6374 (eww-mode-map): Install it.
6376 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6378 * net/dbus.el (dbus-unregister-service)
6379 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6381 (dbus-unregister-service): Skip :serial entries in
6382 `dbus-registered-objects-table'.
6383 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6385 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6387 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6388 around keywords with extra `split-string' argument.
6390 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6392 * windmove.el (windmove-other-window-loc): Handle navigation
6393 between windows (excluding the minibuffer window - Bug#16017).
6395 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6397 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6398 in D-Bus type syntax.
6399 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6400 preserve unibyte strings. (Bug#16048)
6402 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6404 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6405 Call force-mode-line-update is the proper buffer (bug#16042).
6407 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6409 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6410 `log-edit-remember-comment', make argument optional. Adjust all
6412 (log-edit-mode): Add `log-edit-remember-comment' to
6413 `kill-buffer-hook' locally.
6414 (log-edit-kill-buffer): Don't remember comment explicitly since
6415 the buffer is killed anyway.
6417 2013-12-04 Juri Linkov <juri@jurta.org>
6419 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6420 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6422 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6424 * notifications.el (notifications-close-notification): Call the
6425 D-Bus method with ID being a `:uint32'. (Bug#16030)
6427 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6429 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6431 2013-12-03 Juri Linkov <juri@jurta.org>
6433 * progmodes/compile.el (compilation-start): Rename window alist
6434 entry `no-display-ok' to `allow-no-window'.
6436 * simple.el (shell-command): Add window alist entry
6437 `allow-no-window' to `display-buffer'.
6438 (async-shell-command): Doc fix.
6440 * window.el (display-buffer-no-window): New action function.
6441 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6443 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6445 * vc/log-edit.el (log-edit-set-header): Extract from
6446 `log-edit-toggle-header'.
6447 (log-edit-extract-headers): Separate the summary, when extracted
6448 from header, from the rest of the message with an empty line.
6450 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6451 line, if present, to the Summary header.
6453 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6455 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6456 in current-buffer (bug#16029).
6458 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6460 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6461 (debugger-mode-map): Bind it.
6462 (debugger--backtrace-base): New function.
6463 (debugger-eval-expression): Use it.
6464 (debugger-frame-number): Skip local vars when present.
6465 (debugger--locals-visible-p, debugger--insert-locals)
6466 (debugger--show-locals, debugger--hide-locals): New functions.
6468 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6470 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6472 (tramp-get-remote-locale): New defun.
6473 (tramp-open-connection-setup-interactive-shell): Use it.
6475 2013-12-02 Leo Liu <sdl.web@gmail.com>
6477 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6479 * progmodes/sh-script.el (sh-shell-process):
6480 * progmodes/octave.el (inferior-octave-process-live-p):
6481 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6482 (gdb-inferior-io-sentinel):
6483 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6485 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6487 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6488 `save-selected-window' to `log-edit-hide-buf'. This makes
6489 `log-edit-show-files' idempotent.
6490 (log-edit-show-files): Mark the new window as dedicated.
6492 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6494 * vc/log-edit.el (log-edit-mode-map): Add binding for
6495 `log-edit-kill-biffer'.
6496 (log-edit-hide-buf): Add a FIXME comment.
6497 (log-edit-add-new-comment): New function, extracted from
6499 (log-edit-done, log-edit-add-to-changelog): Use it.
6500 (log-edit-kill-buffer): New command.
6502 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6504 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6505 instead of killing the buffer.
6507 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6511 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6513 * net/eww.el (eww-form-checkbox-selected-symbol)
6514 (eww-form-checkbox-symbol): New customizable variable.
6515 (eww-form-checkbox, eww-toggle-checkbox):
6516 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6518 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6519 (shr--get-media-pref, shr--extract-best-source): New function.
6520 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6521 no :src tag was specified.
6523 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6524 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6525 Use \\` to match beginning of string instead of ^.
6526 (eww-browse-with-external-browser): Provide optional URL parameter.
6527 (eww-render): Set `eww-current-title' back to "".
6529 * net/shr.el (shr-tag-video): Display content for video if no
6530 poster is available.
6531 (shr-tag-audio): Add support for <audio> tag.
6533 * net/eww.el (eww-text-input-types): New const.
6534 (eww-process-text-input): Treat input types in
6535 `eww-text-input-types' as text.
6537 * net/shr.el (shr-tag-table): Fix comment typo.
6539 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6541 * net/eww.el (eww-follow-link): New command to avoid reloading
6542 pages when we follow #target links (bug#15243).
6543 (eww-quit): Special mode buffers shouldn't query before exiting.
6545 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6547 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6550 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6552 * net/eww.el (eww-restore-history): Update the window title after
6553 moving in the history.
6554 (eww-current-dom): New variable used to save the current DOM.
6556 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6558 * vc/log-edit.el (log-edit-mode-map): Add binding for
6559 `log-edit-beginning-of-line'.
6560 (log-edit-setup-add-author): New user option.
6561 (log-edit-beginning-of-line): New command.
6562 (log-edit): Move major mode call above the contents setup so that
6563 the local variable values are already applied.
6564 (log-edit): Only insert "Author: " when
6565 `log-edit-setup-add-author' is non-nil.
6566 (log-edit): When SETUP is non-nil, position point after ": "
6567 instead of point-min.
6569 2013-12-01 Glenn Morris <rgm@gnu.org>
6571 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6573 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6575 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6576 redisplay to make sure the initial frame gets a chance to become
6577 visible. (Bug#16014)
6579 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6581 Support resizing frames and windows pixelwise.
6582 * cus-start.el (frame-resize-pixelwise)
6583 (window-resize-pixelwise): New entries.
6584 * emacs-lisp/debug.el (debug): Use window-total-height instead
6585 of window-total-size.
6586 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6587 * help.el (describe-bindings-internal): Use help-buffer as
6588 argument for with-help-window.
6589 (temp-buffer-max-width): New option.
6590 (resize-temp-buffer-window, help-window-setup)
6591 (with-help-window): Rewrite.
6592 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6594 * window.el (frame-char-size, window-min-pixel-height)
6595 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6596 (window-min-pixel-width, window-safe-min-pixel-size)
6597 (window-combination-p, window-safe-min-size)
6598 (window-resizable-p, window--size-to-pixel)
6599 (window--pixel-to-size, window--resize-apply-p): New functions.
6600 (window-safe-min-height): Fix doc-string.
6601 (window-size, window-min-size, window--min-size-1)
6602 (window-sizable, window-sizable-p, window--min-delta-1)
6603 (window-min-delta, window--max-delta-1, window-max-delta)
6604 (window--resizable, window--resizable-p, window-resizable)
6605 (window-full-height-p, window-full-width-p, window-at-side-p)
6606 (window--in-direction-2, window-in-direction)
6607 (window--resize-reset-1, window--resize-mini-window)
6608 (window-resize, window-resize-no-error)
6609 (window--resize-child-windows-normal)
6610 (window--resize-child-windows, window--resize-siblings)
6611 (window--resize-this-window, window--resize-root-window)
6612 (window--resize-root-window-vertically)
6613 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6614 (maximize-window, minimize-window, delete-window)
6615 (quit-restore-window, window-split-min-size, split-window)
6616 (balance-windows-2, balance-windows)
6617 (balance-windows-area-adjust, balance-windows-area)
6618 (window--state-get-1, window-state-get, window--state-put-1)
6619 (window--state-put-2, window-state-put)
6620 (display-buffer-record-window, window--display-buffer):
6621 Make functions handle pixelwise sizing of windows.
6622 (display-buffer--action-function-custom-type)
6623 (display-buffer-fallback-action):
6624 Add display-buffer-in-previous-window.
6625 (display-buffer-use-some-window): Resize window to height it had
6627 (fit-window-to-buffer-horizontally): New option.
6628 (fit-frame-to-buffer): Describe new values.
6629 (fit-frame-to-buffer-bottom-margin): Replace with
6630 fit-frame-to-buffer-margins.
6631 (window--sanitize-margin): New function.
6632 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6633 using window-text-pixel-size.
6635 2013-11-30 Glenn Morris <rgm@gnu.org>
6637 * emacs-lisp/bytecomp.el (byte-compile-form):
6638 Make the `interactive-only' warning like the `obsolete' one.
6639 * comint.el (comint-run):
6640 * files.el (insert-file-literally, insert-file):
6641 * replace.el (replace-string, replace-regexp):
6642 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6643 (goto-line, insert-buffer, next-line, previous-line):
6644 Tweak `interactive-only' spec.
6646 Stop keeping (most) generated cedet grammar files in the repository.
6647 * Makefile.in (semantic): New.
6648 (compile-main): Depend on semantic.
6650 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6653 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6655 * uniquify.el (uniquify-buffer-name-style): Change default.
6657 * loadup.el: Preload "uniquify".
6659 * time.el (display-time-update): Update all mode lines (bug#15999).
6661 * electric.el (electric-indent-mode): Enable by default.
6662 * loadup.el: Preload "electric".
6664 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6666 * emacs-lisp/helpers.el (string-empty-p): New function.
6667 (string-blank-p): New function.
6669 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6671 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6674 2013-11-29 Andreas Politz <politza@fh-trier.de>
6675 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6676 allow non-lambda lists as functions.
6677 (imenu--in-alist): Don't recurse into non-subalists.
6678 (imenu): Don't pass function itself as an argument (Bug#14029).
6680 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6682 * progmodes/python.el (python-mode-map): Remove binding for ":".
6683 (python-indent-electric-colon): Remove command.
6684 (python-indent-post-self-insert-function): Integrate the previous code
6685 of python-indent-electric-colon. Make it conditional on
6686 electric-indent-mode.
6687 (python-mode): Add ?: to electric-indent-chars.
6688 Move python-indent-post-self-insert-function to the end of
6689 post-self-insert-hook.
6691 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6693 * doc-view.el (doc-view-goto-page): Update mode-line.
6695 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6697 2013-11-27 Glenn Morris <rgm@gnu.org>
6699 * international/charprop.el, international/uni-bidi.el:
6700 * international/uni-category.el, international/uni-combining.el:
6701 * international/uni-comment.el, international/uni-decimal.el:
6702 * international/uni-decomposition.el, international/uni-digit.el:
6703 * international/uni-lowercase.el, international/uni-mirrored.el:
6704 * international/uni-name.el, international/uni-numeric.el:
6705 * international/uni-old-name.el, international/uni-titlecase.el:
6706 * international/uni-uppercase.el:
6707 Remove generated files from VCS repository.
6709 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6711 * filenotify.el (file-notify-add-watch): Don't special-case
6712 w32notify when computing the directory to watch.
6714 2013-11-27 Glenn Morris <rgm@gnu.org>
6716 Make bootstrap without generated uni-*.el files possible again.
6717 * loadup.el: Update command-line-args checking for unidata-gen.
6718 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6719 * composite.el, international/characters.el:
6720 Handle unicode tables being undefined.
6722 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6723 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6724 (compile-main): Depend on leim rule.
6726 * loadup.el: Move leim-list.el to leim/ subdirectory.
6727 * startup.el (normal-top-level): No more leim directory.
6728 * international/ja-dic-cnv.el (skkdic-convert):
6729 Disable version-control and autoloads in output files.
6730 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6731 Disable version-control and autoloads in output files.
6732 * leim/quail: Move here from ../leim.
6733 * leim/quail/hangul.el (hangul-input-method-activate):
6734 Add autoload cookie.
6735 (generated-autoload-load-name): Set file-local value.
6736 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6737 (generated-autoload-load-name): Set file-local value.
6739 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6741 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6742 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6743 (eww-quit): Ask confirmation before quitting eww.
6745 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6747 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6748 reading output from Diff on MS-Windows and MS-DOS.
6750 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6752 * emacs-lisp/helpers.el (string-reverse): New function.
6754 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6756 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6757 names on MS Windows, like "/[::1]:".
6759 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6762 2013-11-26 Glenn Morris <rgm@gnu.org>
6764 * progmodes/python.el (python-indent-guess-indent-offset):
6765 Avoid corner-case error. (Bug#15975)
6767 Preload leim-list.el. (Bug#4789)
6768 * loadup.el: Load leim-list.el when found.
6769 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6771 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6773 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6775 * emacs-lisp/helpers.el (string-join): New function.
6777 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6779 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6780 Mark as obsolete and replace it with a symbol property.
6781 (byte-compile-form): Use new 'interactive-only property.
6782 * comint.el, files.el, replace.el, simple.el:
6783 Apply new 'interactive-only properly.
6785 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6787 * window.el (display-buffer-at-bottom): Make sure that
6788 split-window-sensibly creates the new window on bottom
6791 2013-11-23 David Kastrup <dak@gnu.org>
6793 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6794 on the conflict markers when available.
6795 (smerge--get-marker): New function.
6796 (smerge-end-re, smerge-base-re): Add subgroup.
6798 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6800 * frame.el (handle-focus-in, handle-focus-out): Add missing
6803 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6805 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6806 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6808 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6810 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6811 (gomoku--last-pos): New var.
6812 (gomoku--intangible-chars): New const.
6813 (gomoku--intangible): New function.
6814 (gomoku-mode): Use it. Derive from special-mode.
6815 (gomoku-move-up): Adjust line count.
6816 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6817 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6818 Simplify accordingly.
6820 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6821 Remove blink-cursor code.
6822 (blink-cursor-timer-function, blink-cursor-suspend):
6823 Don't special-case GUIs.
6824 (blink-cursor-mode): Use focus-in/out-hook.
6826 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6828 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6829 work when annotation is invisible (Bug#13886).
6831 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6833 * json.el (json-alist-p): Only return non-nil if the alist has
6834 simple keys (Bug#13518).
6836 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6838 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6839 when control-statement is the first statement in a buffer (Bug#15956).
6841 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6843 * imenu.el (imenu-generic-skip-comments-and-strings):
6844 New option (Bug#15560).
6845 (imenu--generic-function): Use it.
6847 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6849 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6852 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6854 * emacs-lisp/helpers.el: Add some string helpers.
6855 (string-trim-left): Removes leading whitespace.
6856 (string-trim-right): Removes trailing whitespace.
6857 (string-trim): Removes leading and trailing whitespace.
6859 * subr.el (string-suffix-p): New function.
6861 2013-11-23 Glenn Morris <rgm@gnu.org>
6863 * progmodes/python.el (python-shell-send-file):
6864 Add option to delete file when done. (Bug#15647)
6865 (python-shell-send-string, python-shell-send-region): Use it.
6867 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6869 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6870 to set buffer-read-only to t, never to nil. (Bug#15938)
6872 * textmodes/tex-mode.el (latex-noindent-environments):
6873 Add safe-local-variable property. (Bug#15936)
6875 2013-11-23 Glenn Morris <rgm@gnu.org>
6877 * textmodes/enriched.el (enriched-mode): Doc fix.
6878 * emacs-lisp/authors.el (authors-renamed-files-alist):
6879 Add enriched.doc -> enriched.txt.
6881 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6883 2013-11-22 Leo Liu <sdl.web@gmail.com>
6885 * progmodes/octave.el (inferior-octave-startup): Spit out error
6888 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6890 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6893 (ruby-encoding-magic-comment-style): Add :version.
6895 2013-11-22 Leo Liu <sdl.web@gmail.com>
6897 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6899 (octave-help-mode): Adapt to change to help-mode-finish to use
6900 derived-mode-p on 2013-09-17.
6901 (inferior-octave-prompt): Also match octave-gui.
6902 (octave-kill-process): Don't ask twice. (Bug#10564)
6904 2013-11-22 Leo Liu <sdl.web@gmail.com>
6906 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6907 (inferior-octave-startup, inferior-octave-check-process)
6908 (inferior-octave-track-window-width-change)
6909 (octave-completion-at-point, octave-eldoc-function): Use it.
6910 (octave-kill-process): Provide confirmation. (Bug#10564)
6912 2013-11-21 Leo Liu <sdl.web@gmail.com>
6914 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6915 Fix obsolete variable comment-use-global-state.
6917 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6919 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6920 Add `octave-source-file'.
6921 (octave-source-file): New function. (Bug#15935)
6923 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6925 * net/eww.el (eww-local-regex): New variable.
6926 (eww): Use it to detect localhost and similar.
6928 2013-11-21 Leo Liu <sdl.web@gmail.com>
6930 Add completion for command `ag'.
6931 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6932 (pcomplete/ag): New function.
6933 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6935 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6937 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6939 (make-obsolete): Remove interactive spec.
6941 2013-11-21 Glenn Morris <rgm@gnu.org>
6943 * startup.el (command-line-1): Use path-separator with -L.
6945 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6947 * emacs-lisp/package.el (describe-package-1): Add package archive
6950 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6952 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6953 Change default to "# encoding: %s" to differentiate it from the
6954 default Ruby encoding comment template.
6956 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6958 * ses.el (ses-mode): Doc fix. (Bug#14748)
6960 2013-11-20 Leo Liu <sdl.web@gmail.com>
6962 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6964 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6966 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6967 when rebase or bisect are in progress.
6969 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6971 * filenotify.el (file-notify-add-watch): Doc fix.
6973 2013-11-19 Leo Liu <sdl.web@gmail.com>
6975 * obsolete/rcompile.el: Mark obsolete.
6977 * progmodes/compile.el (compilation-start)
6978 (compilation-goto-locus, compilation-find-file):
6979 Pass no-display-ok and handle nil value from display-buffer.
6982 * window.el (display-buffer-alist, display-buffer): Document the
6983 new parameter no-display-ok. Return either a window or nil
6984 but never a non-window value.
6986 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6988 * electric.el (electric-indent-mode-map): Remove.
6989 (electric-indent-mode): Change the global-map instead (bug#15915).
6991 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6994 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * emacs-lisp/nadvice.el (remove-function): Align with
6997 add-function's behavior.
6999 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7000 (gdb--string-regexp): New constant.
7001 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7002 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7003 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7005 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7006 Adjust use accordingly.
7007 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7009 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7011 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7012 interpolation curlies (Bug#15914).
7014 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7016 * calc/calc.el (calc-context-sensitive-enter): New variable.
7017 (calc-enter): Use `calc-context-sensitive-enter'.
7019 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7021 * progmodes/cfengine.el: Version bump.
7022 (cfengine-cf-promises): New defcustom to locate cf-promises.
7023 (cfengine3-vartypes): Add new "data" type.
7024 (cfengine3--current-word): New function to get current name-like
7026 (cfengine3--current-function): New function to look up a CFEngine
7027 function's definition.
7028 (cfengine3-format-function-docstring): New function.
7029 (cfengine3-make-syntax-cache): New function.
7030 (cfengine3-documentation-function): New function: ElDoc glue.
7031 (cfengine3-completion-function): New function: completion glue.
7032 (cfengine3-mode): Set `compile-command',
7033 `eldoc-documentation-function', and add to
7034 `completion-at-point-functions'.
7036 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7038 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7039 `tramp-current-connection'.
7041 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7043 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7044 nil/self/true/false with "end of symbol".
7046 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7048 * subr.el (version-regexp-alist): Fix a typo.
7050 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7052 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7053 "en_US.utf8" and "LC_CTYPE" to "".
7054 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7055 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7057 2013-11-15 Leo Liu <sdl.web@gmail.com>
7059 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7061 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7063 * progmodes/gud.el (ctl-x-map):
7064 Remove C-x SPC binding. (Bug#12342)
7065 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7067 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7069 * subr.el (version-regexp-alist):
7070 Recognize hg, svn and darcs versions as snapshot versions.
7072 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7073 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7074 (ruby--encoding-comment-required-p): Extract from
7075 `ruby-mode-set-encoding'.
7076 (ruby-mode-set-encoding): Add the ability to always insert an
7077 utf-8 encoding comment. Fix and simplify coding comment update
7080 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7082 * net/tramp-gvfs.el (top): Run init code only when
7083 `tramp-gvfs-enabled' is not nil.
7084 (tramp-gvfs-enabled): Check also :system bus.
7086 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7088 Sync with upstream verilog-mode revision 78e66ba.
7089 * progmodes/verilog-mode.el (verilog-end-of-defun)
7090 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7091 (verilog-get-end-of-defun): Remove unused argument.
7092 (verilog-comment-depth): Remove unused local `e'.
7093 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7094 Don't pass arg to verilog-get-end-of-defun.
7096 2013-11-14 Glenn Morris <rgm@gnu.org>
7098 * obsolete/assoc.el (aget): Prefix dynamic variable.
7100 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7102 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7104 * widget.el, hfy-cmap.el: Remove bogus package version number.
7106 2013-11-13 Glenn Morris <rgm@gnu.org>
7108 * replace.el (replace-eval-replacement):
7109 Try to give more helpful error message. (Bug#15836)
7111 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7112 (archive-7z-update): Avoid custom type mismatches.
7114 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7116 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7118 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7119 address can be empty.
7121 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7122 Accept nil SWITCHES.
7123 (tramp-gvfs-handle-write-region): Implement APPEND.
7125 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7127 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7128 binary "|" operator and closing block args delimiter.
7129 Remove FIXME comment referring to Ruby 1.8-only syntax.
7130 (ruby-smie--implicit-semi-p): Not after "|" operator.
7131 (ruby-smie--closing-pipe-p): New function.
7132 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7133 (ruby-smie-rules): Indent after "|".
7135 2013-11-12 Glenn Morris <rgm@gnu.org>
7137 * ps-print.el (ps-face-attribute-list):
7138 Handle anonymous faces. (Bug#15827)
7140 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7142 * window.el (display-buffer-other-frame): Fix doc-string.
7145 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7149 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7151 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7152 (tramp-sh-handle-file-local-copy): Don't write a message when
7153 saving temporary files.
7155 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7156 both directories are remote.
7157 (tramp-smb-handle-directory-files): Do not return double entries.
7158 Do not expand full file names.
7159 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7160 (tramp-smb-handle-write-region): Implement APPEND.
7161 (tramp-smb-get-stat-capability): Fix a stupid bug.
7163 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7165 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7167 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7169 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7170 throwing error over malformed let/let* (bug#15814).
7172 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7174 * iswitchb.el (iswitchb-mode): Mark obsolete.
7176 2013-11-11 Glenn Morris <rgm@gnu.org>
7178 * international/uni-bidi.el, international/uni-category.el:
7179 * international/uni-name.el, international/uni-numeric.el:
7180 Regenerate for Unicode 6.3.0.
7182 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7184 * net/tramp.el (tramp-methods):
7185 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7186 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7188 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7190 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7191 Force highlighting text after Summary keyword in doc face for rpm.
7193 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7195 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7196 available and the word has no wildcards, append one to the grep pattern.
7197 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7198 (ispell-complete-word): Call `ispell-lookup-words' with the value
7199 independent of `ispell-look-p'.
7201 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7203 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7205 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7208 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7210 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7211 (ruby-font-lock-keywords): Use backquote.
7213 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7215 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7216 (ruby-smie--backward-token): Only consider full-string matches.
7218 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7220 * faces.el (describe-face): Add distant-foreground.
7222 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7224 * progmodes/ruby-mode.el: Improve encoding comment handling.
7225 (ruby-encoding-magic-comment-style): New option.
7226 (ruby-custom-encoding-magic-comment-template): New option.
7227 (ruby--insert-coding-comment, ruby--detect-encoding):
7228 New functions extracted from `ruby-mode-set-encoding'.
7229 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7230 to control the style of the auto-inserted encoding comment.
7232 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7234 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7235 Use `smie-backward-sexp' with token argument.
7237 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7239 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7240 Remove instrumentation code.
7242 2013-11-08 Glenn Morris <rgm@gnu.org>
7244 * progmodes/autoconf.el (autoconf-mode):
7245 Tweak comment-start-skip. (Bug#15822)
7247 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7249 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7250 at bobp (bug#15826).
7251 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7253 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7255 * man.el (Man-start-calling): New macro, extracted from
7256 Man-getpage-in-background.
7257 (Man-getpage-in-background): Use it.
7258 (Man-update-manpage): New command.
7259 (Man-mode-map): Bind it.
7261 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7263 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7264 of "and", "or", "&&" and "||".
7265 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7266 argument. Prohibit opening curly brace because it could only be a
7267 block opener in that position.
7268 (ruby-smie--forward-token, ruby-smie--backward-token):
7269 Separate "|" from "&" or "*" going after it. That can happen in block
7271 (ruby-smie--indent-to-stmt): New function, seeks the end of
7272 previous statement or beginning of buffer.
7273 (ruby-smie-rules): Use it.
7274 (ruby-smie-rules): Check if there's a ":" before a curly block
7275 opener candidate; if there is, it's a hash.
7277 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7280 (cl--block-wrapper): Fix last accidental change.
7282 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7284 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7285 Instrument, in order to hunt failure on hydra.
7287 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7289 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7290 malformed bindings form (bug#15814).
7292 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7294 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7295 "." compared to " @ ". This incidentally fixes some indentation
7297 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7298 (ruby-smie-grammar): New tokens: "and" and "or".
7299 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7300 Exclude "and" and "or". Remove "do" in order to work around token
7302 (ruby-smie-rules): Add all infix tokens. Handle the case of
7303 beginning-of-buffer.
7305 2013-11-06 Glenn Morris <rgm@gnu.org>
7307 * Makefile.in (setwins_almost, setwins_for_subdirs):
7308 Avoid accidental matches.
7310 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7312 * menu-bar.el (popup-menu): Use key-binding.
7314 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7316 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7317 menus, support also the menus produced by minor modes.
7320 2013-11-06 Leo Liu <sdl.web@gmail.com>
7322 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7323 DISTANCE to bound the search. All uses changed. (Bug#15808)
7325 2013-11-06 Glenn Morris <rgm@gnu.org>
7327 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7328 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7329 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7331 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7333 * electric.el (electric-indent-just-newline): New command.
7334 (electric-indent-mode-map): New keymap.
7335 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7336 Re-add :group which weren't redundant.
7338 * electric.el (electric-indent-local-mode): New minor mode.
7339 (electric-indent-functions-without-reindent): New var.
7340 (electric-indent-post-self-insert-function): Use it.
7341 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7343 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7345 * international/quail.el (quail-help): Be more explicit about the
7346 meaning of the labels shown on the keys. (Bug#15800)
7348 * startup.el (normal-top-level): Load the subdirs.el files before
7349 setting the locale environment. (Bug#15805)
7351 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7354 via arguments so as to get the right ones (bug#15418).
7356 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7358 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7360 Fix problems found while writing a test suite.
7362 * net/tramp-compat.el (tramp-compat-load): New defun.
7363 * net/tramp.el (tramp-handle-load): Use it.
7365 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7366 "(numberp ok-if-already-exists)" correctly.
7368 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7370 * international/characters.el (glyphless-char-display-control):
7373 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7375 * progmodes/python.el (python-mode):
7376 * progmodes/scheme.el (scheme-mode):
7377 * progmodes/prolog.el (prolog-mode):
7378 * progmodes/ruby-mode.el (ruby-mode):
7379 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7380 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7382 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7384 * rect.el (rectangle--highlight-for-redisplay):
7385 * emacs-lisp/smie.el (smie--next-indent-change):
7386 Use buffer-chars-modified-tick.
7388 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7390 * electric.el (electric-indent-post-self-insert-function):
7391 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7393 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7395 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7397 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7399 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7402 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7406 * progmodes/python.el: Fix up last change.
7407 (python-shell--save-temp-file): New function.
7408 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7409 `string' comes from the current buffer.
7410 (python-shell-send-string-no-output): Remove `msg' arg.
7411 (python--use-fake-loc): New var.
7412 (python-shell-buffer-substring): Obey it. Try to compensate for the
7413 extra coding line added by python-shell--save-temp-file.
7414 (python-shell-send-region): Use python-shell--save-temp-file and
7415 python-shell-send-file directly. Add `nomain' argument.
7416 (python-shell-send-buffer): Use python-shell-send-region.
7417 (python-electric-pair-string-delimiter): New function.
7418 (python-mode): Use it.
7420 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7422 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7423 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7424 environment and decoding all of the default-directory's to here
7426 (command-line): Decode also argv[0].
7428 * loadup.el: Error out if default-directory is a multibyte string
7429 when we are dumping.
7431 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7433 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7435 * emacs-lisp/package.el (package-menu-mode)
7436 (package-menu--print-info, package-menu--archive-predicate):
7437 Add Archive column to package list.
7439 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7441 Fix problems found while writing a test suite.
7443 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7444 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7445 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7446 to nil when running original file name handler. Otherwise,
7447 there are problems with constructs like "$$FOO".
7449 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7452 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7454 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7456 * subr.el (version<, version<=, version=):
7457 Update docstrings with information for snapshot versions.
7459 * helpers.el: New library for misc helper functions.
7460 (hash-table-keys): New function returning a list of hash keys.
7461 (hash-table-values): New function returning a list of hash values.
7463 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7465 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7466 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7468 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7470 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7471 checking whether point is after a 1-letter word.
7473 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7475 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7476 Don't infloop when expanding region over `multiline' syntax-type that
7477 begins a line (bug#15778).
7479 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7481 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7482 Make it into a proper minor mode.
7483 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7484 (rectangle-mark-mode-map): New keymap.
7485 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7487 2013-11-04 Glenn Morris <rgm@gnu.org>
7489 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7491 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7493 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7494 (ruby-smie-rules): Use smie-rule-parent instead.
7496 * emacs-lisp/smie.el (smie-rule-parent): Always call
7497 smie-indent-virtual rather than only for hanging tokens.
7498 (smie--next-indent-change): New helper command.
7500 2013-11-03 Glenn Morris <rgm@gnu.org>
7502 * Makefile.in (abs_srcdir): Remove.
7503 (emacs): Unset EMACSLOADPATH.
7505 2013-11-02 Glenn Morris <rgm@gnu.org>
7507 * Makefile.in (EMACS): Use a relative filename.
7508 (abs_top_builddir): Remove.
7509 (custom-deps, finder-data, autoloads): Use --chdir.
7511 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7513 Use relative filenames in TAGS files.
7514 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7515 (lisptagsfiles4, TAGS): Use relative file names.
7516 (TAGS-LISP): Remove.
7517 (maintainer-clean): No more TAGS-LISP file.
7519 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7520 (lisptagsfiles4): Use absolute filenames again.
7521 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7522 Remove all *loaddefs files, not just the first. Remove esh-groups.
7523 (maintainer-clean): Delete TAGS, TAGS-LISP.
7525 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7527 * emacs-lisp/package.el (package-version-join):
7528 Recognize snapshot versions.
7530 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7532 * subr.el (version-regexp-alist): Add support for snapshot versions.
7534 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7536 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7537 New function, replacement for `smie-rule-parent' for when we want to
7538 skip over our direct parent if it's an assignment token..
7539 (ruby-smie-rules): Use it.
7541 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7543 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7544 unconditionally. Remove now unnecessary forward declarations.
7545 Remove XEmacs-specific setup.
7546 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7547 (ruby-font-lock-syntactic-keywords)
7548 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7549 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7550 (ruby-here-doc-end-syntax): Remove.
7551 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7552 defined as function.
7554 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7556 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7558 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7560 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7561 table and abbrev table, `define-derived-mode' does that for us
7564 2013-11-01 Glenn Morris <rgm@gnu.org>
7566 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7567 files is atomic for some time, so no parallel compilation issues).
7569 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7571 * faces.el (face-x-resources): Add :distant-foreground.
7572 (region): Use :distant-foreground for gtk and ns.
7574 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7576 Allow multiple bibliographies when BibLaTeX is used rather than
7578 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7579 (reftex-locate-bibliography-files): Us it.
7581 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7583 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7584 allow comments in pbm files.
7586 * term/w32-win.el (dynamic-library-alist): Support newer versions
7587 of libjpeg starting with v7: look only for the DLL from the
7588 version against which Emacs was built.
7589 Support versions of libpng beyond 1.4.x.
7590 Support libtiff v4.x.
7592 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7594 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7595 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7597 (ruby-deep-arglist): Add property :type.
7599 2013-10-31 Glenn Morris <rgm@gnu.org>
7601 * Makefile.in (custom-deps, finder-data): No need to setq the target
7602 variables, we are in the right directory and the defaults work fine.
7604 2013-10-30 Glenn Morris <rgm@gnu.org>
7606 * Makefile.in (autoloads): Do not use abs_lisp.
7608 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7609 `newline' does not respect `standard-output', so use `princ'.
7611 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7613 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7614 * buff-menu.el (Buffer-menu--unmark): New function.
7615 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7617 2013-10-30 Glenn Morris <rgm@gnu.org>
7619 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7621 * emacs-lisp/package.el (lm-homepage): Declare.
7623 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7626 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7628 * Makefile.in (finder-data, autoloads, update-subdirs)
7629 (compile-main, compile-clean, compile-always, bootstrap-clean):
7630 Check return value of cd.
7631 (compile-calc): Remove.
7633 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7637 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7638 (byte-compile-and-folded): New function.
7639 (=, <, >, <=, >=): Use it.
7641 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7642 (path-separator, null-device, buffer-file-coding-system)
7643 (lpr-headers-switches): Check system-type before modifying them.
7644 (find-buffer-file-type-coding-system): Mark obsolete.
7645 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7646 find-file-not-found-set-buffer-file-coding-system.
7647 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7648 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7649 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7650 (w32-direct-print-region-helper, w32-direct-print-region-function)
7651 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7652 * startup.el (normal-top-level-add-subdirs-to-load-path):
7653 * ps-print.el (ps-print-region-function):
7654 * lpr.el (print-region-function): Use new name.
7656 * subr.el (custom-declare-variable-early): Remove function.
7657 (custom-declare-variable-list): Remove var.
7658 (error, user-error): Remove `while' loop.
7659 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7660 (user-emacs-directory-warning, locate-user-emacs-file):
7662 * simple.el (read-quoted-char-radix, read-quoted-char):
7663 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7665 * custom.el (custom-declare-variable-list): Don't process
7666 custom-declare-variable-list.
7668 * progmodes/python.el (python-shell-get-buffer): New function.
7669 (python-shell-get-process): Use it.
7670 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7671 Python which encoding was used. Don't split-string since we only care
7672 about the first line. Return the temp-file, if applicable.
7673 (python-shell-send-region): Tell compile.el how to turn locations in
7674 the temp-file into locations in the source buffer.
7676 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * subr.el (undefined): Add missing behavior from the C code for
7681 * rect.el: Use lexical-binding. Add new rectangular region support.
7682 (rectangle-mark): New command.
7683 (rectangle--region): New var.
7684 (deactivate-mark-hook): Reset rectangle--region.
7685 (rectangle--extract-region, rectangle--insert-for-yank)
7686 (rectangle--highlight-for-redisplay)
7687 (rectangle--unhighlight-for-redisplay): New functions.
7688 (region-extract-function, redisplay-unhighlight-region-function)
7689 (redisplay-highlight-region-function): Use them to handle
7691 * simple.el (region-extract-function): New var.
7692 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7693 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7694 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7695 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7696 (redisplay-unhighlight-region-function)
7697 (redisplay-highlight-region-function): New vars.
7698 (redisplay--update-region-highlight): New function.
7699 (pre-redisplay-function): Use it.
7700 (exchange-point-and-mark): Don't deactivate the mark before
7701 reactivate-it anyway.
7702 * comint.el (comint-kill-region): Remove yank-handler argument.
7703 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7704 (delete-char): Remove property, since it's now part of their
7706 (self-insert-iso): Remove property since this command doesn't exist.
7708 * emacs-lisp/package.el (package--download-one-archive)
7709 (describe-package-1): Don't query the user about final newline.
7711 2013-10-29 Daniel Colascione <dancol@dancol.org>
7713 * net/tramp.el (tramp-methods): Document new functionality.
7714 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7715 tramp-hostname-checker if method provides one instead of scanning
7716 argument list for "%h" to decide hostname acceptability.
7718 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7720 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7721 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7722 Handle COPY-CONTENTS. (Bug#15737)
7724 2013-10-28 Daiki Ueno <ueno@gnu.org>
7727 (epa-file-cache-passphrase-for-symmetric-encryption):
7728 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7730 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7732 * image.el (defimage, image-load-path): Doc fixes.
7734 2013-10-27 Alan Mackenzie <acm@muc.de>
7736 Indent statements in macros following "##" correctly.
7737 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7738 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7740 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7742 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7744 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7746 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7747 after `=' is probably a new expression.
7749 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7751 * man.el (man-imenu-title): New option.
7752 (Man-mode-map): Add menu. (Bug#15722)
7753 (Man-mode): Add imenu to menu.
7755 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7757 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7758 specific in what the first arg can be: a non-keyword word,
7759 string/regexp/percent literal opener, opening paren, or unary
7760 operator followed directly by word.
7762 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7764 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7765 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7766 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7767 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7768 Remove vars, they do not apply any more.
7769 (prolog-mode-abbrev-table): Remove redundant declaration.
7770 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7771 (prolog-use-smie): Remove.
7772 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7773 supported by prolog-electric-if-then-else-flag.
7774 (prolog-mode-variables, prolog-menu): Use setq-local.
7775 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7776 Remove binding to `Backspace' since this key doesn't exist anyway.
7777 Remove bindings for electric self-inserting keys.
7778 (prog-mode): Assume it's defined.
7779 (prolog-post-self-insert): New function.
7780 (prolog-mode): Use it.
7781 (prolog-indent-line, prolog-indent-level)
7782 (prolog-find-indent-of-matching-paren)
7783 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7784 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7785 (prolog-goto-next-paren, prolog-in-string-or-comment)
7786 (prolog-tokenize, prolog-inside-mline-comment)
7787 (prolog-find-start-of-mline-comment): Remove functions.
7788 (prolog-find-unmatched-paren, prolog-clause-end)
7789 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7790 (prolog-electric--if-then-else): Rename from
7791 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7792 (prolog-tokenize-searchkey): Remove const.
7793 (prolog-clause-info): Use forward-sexp.
7794 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7795 (prolog-electric-if-then-else): Remove commands.
7796 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7797 for use in post-self-insert-hook.
7798 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7799 for use in post-self-insert-hook.
7800 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7801 for use in post-self-insert-hook.
7802 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7803 adapt it for use in post-self-insert-hook.
7805 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7807 * emacs-lisp/ert.el (ert-run-tests-interactively):
7808 Use `completing-read'. (Bug#9756)
7810 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7812 * simple.el (line-move): Call line-move-1 instead of
7813 line-move-visual when the current window hscroll is zero, but
7814 temporary-goal-column indicates we will need to hscroll as result
7815 of the movement. (Bug#15712)
7817 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7819 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7820 capitalization. Use :visible instead of :active.
7821 Fix `ruby-indent-exp' reference. Add menu items for the generic
7822 commands that are used with SMIE.
7823 (ruby-do-end-to-brace): Insert space after `{'.
7825 2013-10-25 John Anthony <john@jo.hnanthony.com>
7827 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7829 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7831 2013-10-25 Glenn Morris <rgm@gnu.org>
7833 * vc/vc.el (vc-print-log): Don't use a working revision unless
7834 one was explicitly specified. (Bug#15322)
7836 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7838 * subr.el (add-to-list): Preserve return value in compiler-macro
7841 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7843 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7844 result. Ask user to retry using '-all' flag. (Bug#15701)
7846 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7848 * emacs-lisp/smie.el: New smie-config system.
7849 (smie-config): New defcustom.
7850 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7851 (smie-config-guess, smie-config-save): New commands.
7852 (smie-config--mode-local, smie-config--buffer-local)
7853 (smie-config--trace, smie-config--modefuns): New vars.
7854 (smie-config--advice, smie-config--mode-hook)
7855 (smie-config--setter, smie-config-local, smie-config--get-trace)
7856 (smie-config--guess-value, smie-config--guess): New functions.
7857 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7858 text properties. Treat "string fence" syntax like string syntax.
7860 * progmodes/sh-script.el (sh-use-smie): Change default.
7861 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7862 (sh-var-value): Simplify by CSE.
7863 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7864 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7866 (sh-guess-basic-offset): Use cl-incf.
7867 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7869 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7871 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7874 2013-10-24 Glenn Morris <rgm@gnu.org>
7876 * Makefile.in (abs_top_srcdir): Remove.
7877 (update-subdirs): Use relative path to update-subdirs.
7879 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7881 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7882 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7883 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7884 Call unmsys--file-name before expand-file-name, not after it.
7886 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7888 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7889 (ert-test-skipped): New error.
7890 (ert-skip, ert-stats-skipped): New defuns.
7891 (ert--skip-unless): New macro.
7892 (ert-test-skipped): New struct.
7893 (ert--run-test-debugger, ert-test-result-type-p)
7894 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7895 (ert--stats-set-test-and-result, ert-char-for-test-result)
7896 (ert-string-for-test-result, ert-run-tests-batch)
7897 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7898 Handle skipped tests. (Bug#9803)
7900 2013-10-24 Glenn Morris <rgm@gnu.org>
7902 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7904 * Makefile.in (abs_top_srcdir): New, set by configure.
7905 (update-subdirs): Correct build-aux location.
7907 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7909 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7910 value, whether we could auto-deduce `backend', or not.
7912 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7913 with parameters" example. Simplify the "is it block or is it
7914 hash" check, but also make it more thorough.
7916 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7918 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7920 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7922 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7925 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7928 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7930 * progmodes/compile.el (compilation-directory-matcher)
7931 (compilation-page-delimiter):
7932 Support GNU Make-4.0 directory quoting. (Bug#15678)
7934 2013-10-23 Leo Liu <sdl.web@gmail.com>
7936 * ido.el (ido-tidy): Handle read-only text.
7938 2013-10-23 Glenn Morris <rgm@gnu.org>
7940 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7941 (emacs, compile, compile-always):
7942 Quote entities that might contain whitespace.
7943 (custom-deps, finder-data, autoloads): Use abs_lisp.
7944 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7945 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7946 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7948 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7950 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7951 Use `following-char'.
7953 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7956 * progmodes/ruby-mode.el (ruby-smie-rules):
7957 Remove corresponding workaround. Fix indentation rule of ";" so it
7958 also applies when ";" is the parent.
7960 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7962 * frame.el (display-screens, display-pixel-height)
7963 (display-pixel-width, display-mm-width, display-backing-store)
7964 (display-save-under, display-planes, display-color-cells)
7965 (display-visual-class, display-monitor-attributes-list):
7966 Mention the optional ‘display’ argument in doc strings.
7968 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7970 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7971 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7973 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7975 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7976 TODO. Add "." after " @ ".
7977 (ruby-smie--at-dot-call): New function. Checks if point at method
7978 call with explicit target.
7979 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7980 to the method name tokens when it precedes them.
7981 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7982 (ruby-smie-rules): Add rule for indentation before and after "."
7985 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7987 * textmodes/remember.el (remember-diary-extract-entries):
7990 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7993 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7995 * progmodes/ruby-mode.el (ruby-smie-grammar):
7996 Add (almost) all infix operators.
7997 (ruby-smie--implicit-semi-p): Add new operator chars.
7999 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8001 (ruby-smie--args-separator-p): Check that there's no newline
8002 between method call and its arguments.
8004 2013-10-20 Alan Mackenzie <acm@muc.de>
8006 Allow comma separated lists after Java "implements".
8008 * progmodes/cc-engine.el (c-backward-over-enum-header):
8010 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8011 from a "disallowed" list in enum fontification.
8013 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8015 * startup.el (default-frame-background-mode): Remove unused defvar.
8017 * progmodes/verilog-mode.el (verilog-mode): Don't set
8018 comment-indent-function globally.
8020 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8022 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8023 Move Info menu item creation to ns-win.el.
8025 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8028 * menu-bar.el: Move GNUstep specific menus...
8030 * term/ns-win.el (ns-initialize-window-system): ... to here.
8032 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8034 * simple.el (newline): Only run post-self-insert-hook when
8035 called interactively.
8037 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8039 * icomplete.el (icomplete-with-completion-tables): Add :version.
8041 2013-10-19 Alan Mackenzie <acm@muc.de>
8043 Fix fontification bugs with constructors and const.
8045 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8046 CASE 2) Remove the check for the absence of a suffix construct
8047 after a function declaration with only types (no identifiers) in
8048 the parentheses. Also, accept a function declaration with just a
8049 type inside the parentheses, if this type can be positively
8050 recognised as such, or if a prefix keyword like "explicit" nails
8051 down the construct as a declaration.
8053 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8055 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8056 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8057 the problem whereby selecting a menu item that leads to a
8058 minibuffer prompt moves the cursor out of the minibuffer window,
8059 making it hard to type at the prompt. Suggested by Stefan Monnier
8060 <monnier@iro.umontreal.ca>.
8062 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8064 * menu-bar.el: Don't make Services menu.
8066 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8068 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8069 (ffap-alist): Use ffap-c++-mode for c++-mode.
8070 (ffap-c++-path): New variable.
8071 (ffap-c++-mode): New function.
8073 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8075 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8077 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8079 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8080 introduced on 2013-09-08, which results in an infinite loop
8081 requesting a password.
8083 2013-10-18 Glenn Morris <rgm@gnu.org>
8085 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8087 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8089 Sync with upstream verilog-mode revision 1a6ecec7.
8090 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8091 (verilog-mode-release-date): Remove.
8092 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8093 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8094 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8095 (verilog-auto-tieoff-ignore-regexp)
8096 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8097 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8098 (verilog-signals-with, verilog-dir-cache-preserving)
8099 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8101 (verilog-case-fold): New option, to control case folding in
8102 regexp searches, bug597.
8103 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8104 (verilog-string-match-fold, verilog-in-paren-count)
8105 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8106 (verilog-at-close-struct-p): New functions.
8107 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8108 (verilog-forward-sexp, verilog-set-auto-endcomments)
8109 (verilog-leap-to-case-head): Handle "unique0" case.
8110 (verilog-in-constraint-re): New constant.
8111 (verilog-keywords, verilog-type-font-keywords):
8112 Add some SystemVerilog 1800-2012 keywords.
8113 (verilog-label-be): Remove unimplemented argument, bug669.
8114 (verilog-batch-execute-func): When batch expanding clear
8115 create-lockfiles to prevent spurious user locks when a file ends
8117 (verilog-calculate-indent, verilog-calc-1)
8118 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8119 (verilog-do-indent): Fix indentation of nested constraints
8121 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8122 (verilog-auto-inst-param): Use verilog-string-match-fold.
8123 (verilog-read-inst-module-matcher):
8124 Fix AUTOINST on gate primitives with #1.
8125 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8126 Reads all user-defined typed variables.
8127 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8128 (verilog-signals-matching-regexp)
8129 (verilog-signals-not-matching-regexp, verilog-auto):
8130 Respect verilog-case-fold.
8131 (verilog-diff-report): Fix line count.
8132 (verilog-auto-assign-modport): Remove unused local `modi'.
8133 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8134 better handle multidimensional arrays.
8135 Fix packed array ports misadding bit index in AUTOINST, bug637.
8136 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8137 to not double-declare existing outputs and inputs, respectively.
8138 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8139 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8140 (verilog-sk-uvm-component): New skeleton.
8141 (verilog-submit-bug-report): Add verilog-case-fold,
8142 remove verilog-mode-release-date.
8144 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8146 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8149 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8151 * textmodes/remember.el (remember): Set buffer-offer-save in
8152 remember buffers (bug#13566).
8154 2013-10-18 Daniel Colascione <dancol@dancol.org>
8156 When evaluating forms in ielm, direct standard output to ielm
8157 buffer. Add new ielm-return-for-effect command. Remove trailing
8158 whitespace throughout.
8160 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8161 (ielm-return-for-effect): New command.
8162 (ielm-send-input): Accept optional `for-effect' parameter.
8163 (ielm-eval-input): Accept optional `for-effect' parameter.
8164 Bind `standard-output' to stream we create using
8165 `ielm-standard-output-impl'. Suppress printing result when
8167 (ielm-standard-output-impl): New function.
8168 (inferior-emacs-lisp-mode): Explain new features in documentation.
8170 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8174 * net/tramp.el (tramp-debug-message): Do not check for connection
8176 (tramp-message): Use "vector" connection property.
8178 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8179 (tramp-equal-remote, tramp-eshell-directory-change)
8180 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8181 (tramp-adb-handle-rename-file)
8182 * net/tramp-cmds.el (tramp-list-remote-buffers)
8183 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8184 * net/tramp-compat.el (tramp-compat-process-running-p)
8185 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8186 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8187 (tramp-gvfs-handle-rename-file)
8188 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8189 (tramp-set-file-uid-gid)
8190 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8191 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8194 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8195 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8196 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8197 (tramp-gw-open-network-stream): Suppress unrelated traces.
8199 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8200 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8201 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8202 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8203 connection property.
8205 * net/tramp-cache.el (top): Suppress traces when reading
8208 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8209 Refactor common code. Improve debug message.
8210 (tramp-maybe-open-connection)
8211 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8212 connection buffer too early.
8214 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8215 from `tramp-smb-actions-with-acl'.
8216 (tramp-smb-actions-set-acl): New defconst.
8217 (tramp-smb-handle-copy-directory)
8218 (tramp-smb-action-get-acl): New defun, renamed from
8219 `tramp-smb-action-with-acl'.
8220 (tramp-smb-action-set-acl): New defun.
8221 (tramp-smb-handle-set-file-acl): Rewrite.
8223 2013-10-17 Glenn Morris <rgm@gnu.org>
8225 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8227 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8229 * skeleton.el (skeleton-newline): Remove.
8230 (skeleton-internal-1): Use (insert "\n") instead.
8232 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8235 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8236 forward-sexp-function while we redo its job (bug#15613).
8238 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8240 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8241 represented by lists.
8243 2013-10-16 Glenn Morris <rgm@gnu.org>
8245 * tmm.el (tmm--history): New dynamic variable.
8246 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8248 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8250 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8251 (tramp-smb-errors): Add error messages.
8252 (tramp-smb-actions-with-acl): New defconst.
8253 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8254 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8255 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8256 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8257 (tramp-smb-get-stat-capability): Fix tests.
8259 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8261 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8264 2013-10-16 Glenn Morris <rgm@gnu.org>
8266 * ansi-color.el (ansi-color-drop-regexp):
8267 Add 1J, 1K, 2K. (Bug#15617)
8269 * files.el (hack-local-variables--warned-lexical): New.
8270 (hack-local-variables):
8271 Warn about misplaced lexical-binding. (Bug#15616)
8273 * net/eww.el (eww-render): Always set eww-current-url,
8274 and update header line. (Bug#15622)
8275 (eww-display-html): ... Rather than just doing it here.
8277 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8279 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8280 menu navigations commands.
8282 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8284 * progmodes/subword.el (subword-capitalize): Be careful when
8285 the search for [[:alpha:]] fails (bug#15580).
8287 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8289 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8290 to commands that scroll the menu.
8292 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8294 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8295 Handle methods ending with `?' and `!'.
8297 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8299 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8300 `japanese-cp932' to `cp932' to fix the problem where saving a
8301 source file written in Shift_JIS twice would end up having
8302 `coding: japanese-cp932' which Ruby could not recognize.
8303 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8304 in `ruby-encoding-map'.
8305 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8306 doesn't need to be explicitly declared in magic comment.
8307 (ruby-encoding-map): Add type declaration for better customize UI.
8309 2013-10-13 Glenn Morris <rgm@gnu.org>
8311 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8312 Occur buffers are read-only. http://bugs.debian.org/720775
8314 * emacs-lisp/authors.el (authors-fixed-entries):
8315 Comment out old alpha stuff.
8317 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8319 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8320 to `after-save-hook' instead of `before-save-hook'.
8321 (ruby-mode-set-encoding): Use the value of coding system used to
8322 write the file. Call `basic-save-buffer-1' after modifying the
8325 2013-10-13 Alan Mackenzie <acm@muc.de>
8327 Fix indentation/fontification of Java enum with
8328 "implements"/generic.
8330 * progmodes/cc-engine.el (c-backward-over-enum-header):
8331 Extracted from the three other places and enhanced to handle generics.
8332 (c-inside-bracelist-p): Uses new function above.
8333 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8335 (c-font-lock-enum-tail): Uses new function above.
8337 2013-10-13 Kenichi Handa <handa@gnu.org>
8339 * international/mule-cmds.el (select-safe-coding-system): Remove a
8340 superfluous condition in chekcing whether a coding system is safe
8343 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8345 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8347 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8349 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8351 2013-10-13 Glenn Morris <rgm@gnu.org>
8353 * menu-bar.el (menu-bar-update-buffers):
8354 Unify Buffers menu prompt string. (Bug#15576)
8356 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8358 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8360 (authors-fixed-entries): Use accented form of name.
8362 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8364 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8365 method calls (bug#15594).
8366 (ruby-smie--args-separator-p): New function.
8367 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8368 recognize paren-free method calls.
8370 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8371 internals of universal-argument.
8373 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8375 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8376 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8377 dropped menu on second mouse click on the menu bar.
8379 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8381 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8382 (explicit-shell-file-name): Declare.
8383 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8384 (sh-completion-at-point-function): New function.
8386 (sh-smie--keyword-p): Remove unused argument.
8387 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8389 (sh-set-shell): Always setup SMIE, even if we use the
8390 old indentation code.
8392 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8394 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8396 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8397 predicate would return nil are almost non-existent.
8398 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8400 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8401 cache also after commands that modify the buffer but don't move
8404 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8406 * env.el (substitute-env-in-file-name): New function.
8407 (substitute-env-vars): Extend the meaning of the optional arg.
8409 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8411 * term/w32-win.el (dynamic-library-alist): Define separate lists
8412 of GIF DLLs for versions before and after 5.0.0 of giflib.
8415 2013-10-10 João Távora <joaotavora@gmail.com>
8417 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8418 not locked, use last revision and current source as
8419 defaults. (Bug#15569)
8421 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8423 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8426 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8428 * window.el (pop-to-buffer-same-window): Fix doc-string.
8431 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8435 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8437 * calendar/icalendar.el (icalendar-import-file):
8438 Fix interactive spec. (Bug#15482)
8440 2013-10-10 Glenn Morris <rgm@gnu.org>
8442 * desktop.el (desktop-save): Default to saving in .emacs.d,
8443 since PWD is no longer in desktop-path by default. (Bug#15319)
8445 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8446 now that text mode has a menu with the same entry.
8447 (menu-bar-text-mode-auto-fill): Remove now unused func.
8448 * textmodes/text-mode.el (text-mode-map):
8449 Use auto-fill help text from menu-bar.el.
8451 2013-10-10 John Anthony <john@jo.hnanthony.com>
8453 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8455 2013-10-09 Juri Linkov <juri@jurta.org>
8457 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8458 instead of this-command-keys. Add universal-argument-more and
8459 universal-argument-minus to the list of prefix commands. (Bug#15568)
8461 2013-10-09 Glenn Morris <rgm@gnu.org>
8463 * vc/vc-svn.el (vc-svn-create-repo):
8464 Expand paths in file://... url. (Bug#15446)
8466 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8468 (authors): Remove unused local variables.
8470 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8472 * profiler.el: Create a more coherent calltree from partial backtraces.
8473 (profiler-format): Hide the tail with `invisible' so that C-s can still
8474 find the hidden elements.
8475 (profiler-calltree-depth): Don't recurse so enthusiastically.
8476 (profiler-function-equal): New hash-table-test.
8477 (profiler-calltree-build-unified): New function.
8478 (profiler-calltree-build): Use it.
8479 (profiler-report-make-name-part): Indent the calltree less.
8480 (profiler-report-mode): Add visibility specs for profiler-format.
8481 (profiler-report-expand-entry, profiler-report-toggle-entry):
8482 Expand the whole subtree when provided with a prefix arg.
8484 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8486 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8488 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8489 hanging iuwu-mod token.
8490 (ruby-smie--forward-token): Do not include a dot after a token in
8492 (ruby-smie--backward-token): Likewise.
8494 2013-10-08 Juri Linkov <juri@jurta.org>
8496 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8497 to isearch-other-control-char.
8498 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8499 and isearch-post-command-hook to post-command-hook.
8500 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8501 and isearch-post-command-hook from post-command-hook.
8502 (isearch-unread-key-sequence)
8503 (isearch-reread-key-sequence-naturally)
8504 (isearch-lookup-scroll-key, isearch-other-control-char)
8505 (isearch-other-meta-char): Remove functions.
8506 (isearch-pre-command-hook, isearch-post-command-hook):
8507 New functions based on isearch-other-meta-char rewritten
8508 relying on the new behavior of overriding-terminal-local-map
8509 that does not replace the local keymaps any more. (Bug#15200)
8511 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8513 Support menus on text-mode terminals.
8514 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8517 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8519 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8520 Move here from mouse.el.
8521 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8523 (tty-menu-navigation-map): New map for TTY menu navigation.
8525 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8527 * frame.el (display-mouse-p): Report text-mode mouse as available
8529 (display-popup-menus-p): Report availability if mouse is
8530 available; don't condition on window-system.
8532 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8533 (tty-menu-selected-face): New faces.
8535 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8537 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8538 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8539 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8540 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8542 (lisp-mode-variables): New `elisp' argument.
8543 (emacs-lisp-mode): Use it.
8544 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8545 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8547 * indent.el: Use lexical-binding.
8548 (indent-region): Add progress reporter.
8549 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8551 (indent--next-tab-stop): New function to implement this behavior.
8552 (tab-to-tab-stop, move-to-tab-stop): Use it.
8554 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8556 * indent.el (indent-rigidly--current-indentation): New function.
8557 (indent-rigidly-map): New var.
8558 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8560 2013-10-08 Bastien Guerry <bzg@gnu.org>
8562 * register.el (insert-register): Fix 2013-10-07 change.
8564 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8566 * progmodes/perl-mode.el: Use lexical-binding.
8567 Remove redundant :group args.
8568 (perl-nochange): Change default to be closer to other major modes's
8570 (perl-indent-line): Don't consider text on current line as a
8571 valid beginning of function from which to indent.
8573 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8574 with more than one argument (bug#15538).
8576 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8578 * vc/pcvs.el: Use lexical-binding.
8579 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8580 environment of `eval'.
8581 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8582 than a list of expressions. Adjust callers.
8583 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8585 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8587 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8588 case of the dot in a chained method call being on the following line.
8590 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * electric.el (electric-indent-inhibit): New var.
8593 (electric-indent-post-self-insert-function): Use it.
8594 * progmodes/python.el (python-mode): Set it.
8596 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8599 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8601 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8602 (css-mode): Use electric-indent-chars.
8604 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8605 (font-lock-beg, font-lock-end): Move before first use.
8606 (nxml-mode): Use syntax-propertize-function.
8607 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8608 (nxml-extend-after-change-region): Remove.
8609 * nxml/xmltok.el: Use lexical-binding.
8610 (xmltok-save): Use `declare'.
8611 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8612 * nxml/nxml-util.el: Use lexical-binding.
8613 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8615 * nxml/nxml-ns.el: Use lexical-binding.
8616 (nxml-ns-save): Use `declare'.
8617 (nxml-ns-prefixes-for): Avoid add-to-list.
8618 * nxml/rng-match.el: Use lexical-binding.
8619 (rng--ipattern): Use cl-defstruct.
8620 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8621 (rng-cons-group-after, rng-subst-group-after)
8622 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8623 Use closures instead of `(lambda...).
8625 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8627 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8630 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8631 Use `tramp-handle-insert-file-contents'.
8632 (tramp-gvfs-handle-insert-file-contents): Remove function.
8634 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8635 Use `save-restriction' in order to keep markers.
8637 * net/trampver.el: Update release number.
8639 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * progmodes/compile.el (compilation-parse-errors):
8642 Use compilation--put-prop.
8643 (compilation--ensure-parse): Check compilation-multiline.
8645 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8647 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8650 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8652 * progmodes/ruby-mode.el: Fix recently added tests.
8653 (ruby-smie-grammar): Add - and +.
8654 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8655 (ruby-smie--backward-id): New functions.
8656 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8657 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8660 2013-10-07 Leo Liu <sdl.web@gmail.com>
8662 * register.el (register-preview-delay)
8663 (register-preview-functions): New variables.
8664 (register-read-with-preview, register-preview)
8665 (register-describe-oneline): New functions.
8666 (point-to-register, window-configuration-to-register)
8667 (frame-configuration-to-register, jump-to-register)
8668 (number-to-register, view-register, insert-register)
8669 (copy-to-register, append-to-register, prepend-to-register)
8670 (copy-rectangle-to-register): Use register-read-with-preview to
8671 read register. (Bug#15525)
8673 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8675 * net/network-stream.el (network-stream-open-starttls): Don't add
8676 --insecure if it's already present, because that gnutls-cli
8677 rejects getting that parameter twice.
8679 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8681 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8684 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8686 * newcomment.el (comment-use-global-state): Change default value
8687 to t, mark obsolete (Bug#15251).
8688 (comment-beginning): In addition to `comment-to-syntax', check the
8689 value of `comment-use-global-state'.
8691 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8693 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8694 (ruby-comment-column): Follow the global default, by default.
8695 (ruby-smie-grammar): Add assignment syntax.
8696 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8697 open-paren, a comma, or a \.
8698 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8699 and line continuations.
8700 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8701 followed by implicit semi-colons. Add rule for string concatenation
8702 and for indentation at BOB.
8703 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8705 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8706 calling next-sexp, since next-token may have skipped chars which
8707 next-sexp doesn't know should be skipped!
8709 2013-10-05 Leo Liu <sdl.web@gmail.com>
8711 * progmodes/octave.el (octave-send-region):
8712 Call compilation-forget-errors.
8714 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8716 * vc/vc-svn.el (vc-svn-find-admin-dir):
8717 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8718 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8719 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8720 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8722 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8724 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8726 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8728 * subr.el (read-passwd): Hide chars even when called within a context
8729 where after-change-functions is disabled (bug#15501).
8730 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8731 until we removed ourself from overriding-terminal-local-map.
8733 2013-10-04 Leo Liu <sdl.web@gmail.com>
8735 * progmodes/octave.el (inferior-octave-mode):
8736 Call compilation-forget-errors.
8738 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8740 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8742 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8744 * net/secrets.el (secrets-create-collection): Add optional
8745 argument ALIAS. Use proper Label keyword. Append ALIAS as
8746 dbus-call-method argument. (Bug#15516)
8748 2013-10-04 Leo Liu <sdl.web@gmail.com>
8750 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8751 (inferior-octave-compilation-font-lock-keywords): New variables.
8752 (compilation-error-regexp-alist)
8753 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8754 (inferior-octave-mode): Use compilation-shell-minor-mode.
8756 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8758 * minibuffer.el (completion--replace): Be careful that `end' might be
8761 2013-10-03 Daiki Ueno <ueno@gnu.org>
8763 Add support for package signature checking.
8764 * emacs-lisp/package.el (url-http-file-exists-p)
8765 (epg-make-context, epg-context-set-home-directory)
8766 (epg-verify-string, epg-context-result-for)
8767 (epg-signature-status, epg-signature-to-string)
8768 (epg-check-configuration, epg-configuration)
8769 (epg-import-keys-from-file): Declare.
8770 (package-check-signature): New user option.
8771 (package-unsigned-archives): New user option.
8772 (package-desc): Add `signed' field.
8773 (package-load-descriptor): Set `signed' field if .signed file exists.
8774 (package--archive-file-exists-p): New function.
8775 (package--check-signature): New function.
8776 (package-install-from-archive): Check package signature.
8777 (package--download-one-archive): Check archive signature.
8778 (package-delete): Remove .signed file.
8779 (package-import-keyring): New command.
8780 (package-refresh-contents): Import default keyring.
8781 (package-desc-status): Add "unsigned" status.
8782 (describe-package-1, package-menu--print-info)
8783 (package-menu-mark-delete, package-menu--find-upgrades)
8784 (package-menu--status-predicate): Support "unsigned" status.
8786 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8788 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8789 the new compilation scheme using the new byte-codes.
8791 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8792 (byte-pophandler): New byte codes.
8793 (byte-goto-ops): Adjust accordingly.
8794 (byte-compile--use-old-handlers): New var.
8795 (byte-compile-catch): Use new byte codes depending on
8796 byte-compile--use-old-handlers.
8797 (byte-compile-condition-case--old): Rename from
8798 byte-compile-condition-case.
8799 (byte-compile-condition-case--new): New function.
8800 (byte-compile-condition-case): New function that dispatches depending
8801 on byte-compile--use-old-handlers.
8802 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8805 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8806 Optimize under `condition-case' and `catch' if
8807 byte-compile--use-old-handlers is nil.
8808 (disassemble-offset): Handle new bytecodes.
8810 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8812 * subr.el (error): Use `declare'.
8813 (decode-char, encode-char): Use advertised-calling-convention instead
8814 of the docstring to discourage use of the `restriction' arg.
8816 2013-10-03 Daiki Ueno <ueno@gnu.org>
8818 * epg.el (epg-verify-file): Add a comment saying that it does not
8819 notify verification error as a return value nor a signal.
8820 (epg-verify-string): Ditto.
8822 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8824 * progmodes/compile.el (compilation-start): Try globbing the arg to
8827 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8829 Sync with Tramp 2.2.8.
8831 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8832 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8833 * net/trampver.el: Update release number.
8835 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8837 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8838 and default-process-coding-system for darwin only.
8840 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8842 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8844 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8846 * vc/vc-git.el (vc-git-grep): Disable pager.
8848 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8850 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8851 Use :url instead of :homepage, as per
8852 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8854 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8855 non-nil, use `syntax-ppss' (Bug#15251).
8857 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8859 * progmodes/octave.el (inferior-octave-startup-file):
8860 Prefer ~/.emacs.d/init_octave.m.
8862 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8864 * emacs-lisp/package.el (package-desc-from-define):
8865 Accept additional arguments as plist, convert them to an alist and store
8866 them in the `extras' slot.
8867 (package-generate-description-file): Convert extras alist back to
8868 plist and append to the `define-package' form arguments.
8869 (package--alist-to-plist): New function.
8870 (package--ac-desc): Add `extras' slot.
8871 (package--add-to-archive-contents): Check if the archive-contents
8872 vector is long enough, and if it is, pass its `extras' slot value
8873 to `package-desc-create'.
8874 (package-buffer-info): Call `lm-homepage', pass the returned value
8875 to `package-desc-from-define'.
8876 (describe-package-1): Render the homepage button (Bug#13291).
8878 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8879 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8881 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8883 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8884 and default-process-coding-system to utf-8-unix (Bug#15402).
8886 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8888 * subr.el (looking-back): Do not recommend using looking-back.
8890 2013-09-28 Alan Mackenzie <acm@muc.de>
8892 Fix indentation/fontification of Java enum with "implements".
8894 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8895 regexp which matches "implements", etc., in Java.
8896 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8897 specifier clauses coming after "enum".
8898 * progmodes/cc-fonts.el (c-font-lock-declarations)
8899 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8902 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8904 * faces.el (region): Change ns_selection_color to
8905 ns_selection_fg_color, add ns_selection_bg_color.
8907 2013-09-28 Leo Liu <sdl.web@gmail.com>
8909 * progmodes/octave.el (inferior-octave-completion-table)
8910 (inferior-octave-completion-at-point): Minor tweaks.
8912 * textmodes/ispell.el (ispell-lookup-words): Rename from
8913 lookup-words. (Bug#15460)
8914 (lookup-words): Obsolete.
8915 (ispell-complete-word, ispell-command-loop): All uses changed.
8917 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8919 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8920 (octave-mode-menu): Add octave-send-buffer.
8921 (octave-send-buffer): New function.
8923 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8925 * progmodes/octave.el (octave-mode-map): Add key binding for
8927 (octave-mode-menu): Add octave-lookfor.
8928 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8930 (octave-lookfor): New function.
8932 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8934 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8935 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8937 (cl--loop-set-iterator-function): New function.
8938 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8939 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8940 Bind `it' with `let' instead of substituting it with `cl-subst'.
8941 (cl--unused-var-p): New function.
8942 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8943 Eliminate some unused variable warnings (bug#15326).
8945 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8947 * doc-view.el (doc-view-scale-reset): Rename from
8948 `doc-view-reset-zoom-level'.
8949 (doc-view-scale-adjust): New command.
8950 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8951 `doc-view-scale-adjust'.
8953 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8955 * doc-view.el (doc-view-reset-zoom-level): New command.
8956 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8957 zoom commands (bug#15466).
8959 2013-09-26 Kenichi Handa <handa@gnu.org>
8961 * international/quail.el (quail-help): Make it not a command.
8963 2013-09-26 Leo Liu <sdl.web@gmail.com>
8965 * minibuffer.el (completion-all-sorted-completions): Make args
8966 optional as they are.
8968 2013-09-25 Daniel Colascione <dancol@dancol.org>
8970 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8971 specs are and that they're not evaluated.
8973 2013-09-24 Sam Steingold <sds@gnu.org>
8975 * midnight.el (clean-buffer-list-kill-regexps)
8976 (clean-buffer-list-kill-buffer-names): Update for the new Man
8977 buffer naming which includes the object name.
8979 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8981 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8982 (eshell-parse-command, eshell-parse-pipeline): Use it since
8983 eshell-separate-commands requires a dynamic scoped var.
8984 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8986 2013-09-23 Leo Liu <sdl.web@gmail.com>
8988 * autoinsert.el (auto-insert-alist): Make the value of
8989 lexical-binding match its file setting.
8991 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8993 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8995 * autoarg.el (autoarg-kp-digit-argument):
8996 * electric.el (Electric-command-loop):
8997 * kmacro.el (kmacro-step-edit-insert):
8998 Do not set universal-argument-num-events.
9000 2013-09-22 Leo Liu <sdl.web@gmail.com>
9002 * files.el (interpreter-mode-alist): Add octave.
9004 2013-09-21 Alan Mackenzie <acm@muc.de>
9006 C++: fontify identifier in declaration following "public:" correctly.
9007 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9008 to match "public", etc.
9009 (c-decl-prefix-re): Add ":" into the C++ value.
9010 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9011 bit. Add a check for a ":" preceded by "public", etc.
9013 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9015 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9016 recognized by GDB 7.5 and later.
9018 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9020 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9022 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9024 * subr.el (internal--call-interactively): New const.
9025 (called-interactively-p): Use it (bug#3984).
9027 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9029 * vc/pcvs.el (cvs-mode-ignore):
9030 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9031 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9033 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9035 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9036 (eshell-ls-orig-insert-directory): Remove.
9037 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9038 (eshell-ls-use-in-dired): Use advice-add/remove.
9039 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9040 Add `orig-fun' arg for use in :around advice.
9041 Make it check (redundantly) eshell-ls-use-in-dired.
9043 2013-09-19 Glenn Morris <rgm@gnu.org>
9045 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9047 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9049 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9051 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9053 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9054 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9055 (tramp-get-remote-python): New defuns.
9056 (tramp-get-remote-uid-with-perl)
9057 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9058 contributed by yary <not.com@gmail.com> (tiny change).
9059 (tramp-get-remote-uid-with-python)
9060 (tramp-get-remote-gid-with-python): New defuns. Python code
9061 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9062 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9064 2013-09-19 Glenn Morris <rgm@gnu.org>
9066 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9068 * eshell/em-unix.el (eshell-remove-entries):
9069 Rename argument to avoid name-clash with global `top-level'.
9071 * eshell/esh-proc.el (eshell-kill-process-function):
9072 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9073 (eshell-reset-after-proc): Remove unused arg `proc'.
9075 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9076 (directory-files-and-attributes): Mark unused arg.
9078 * eshell/em-unix.el (eshell-remove-entries):
9079 Remove unused arg `path'. Update callers.
9081 * eshell/em-hist.el (eshell-hist-parse-arguments):
9082 Remove unused arg `silent'. Update callers.
9084 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9085 Fix (f)boundp mix-up.
9087 * eshell/em-smart.el (eshell-smart-scroll-window)
9088 (eshell-disable-after-change):
9089 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9091 2013-09-18 Alan Mackenzie <acm@muc.de>
9093 Fix fontification of type when followed by "const".
9094 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9095 "known" types from fontification.
9097 2013-09-18 Glenn Morris <rgm@gnu.org>
9099 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9100 (chart-face-list): Drop Emacsen without display-color-p.
9102 * net/eww.el (libxml-parse-html-region): Declare.
9103 (eww-display-html): Explicit error if no libxml2 support.
9105 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9107 * image.el (image-type-from-buffer, image-multi-frame-p):
9108 Remove --without-x warning/error.
9110 * mouse.el (mouse-yank-primary):
9111 * term.el (term-mouse-paste):
9112 Reorder to silence --without-x compilation.
9114 * mpc.el (doc-view-mode): Silence --without-x compilation.
9116 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9117 Silence --without-x compilation.
9119 * progmodes/gud.el (gud-find-file, gud-mode):
9120 Silence --without-x compilation.
9121 (tooltip-mode): Declare.
9123 * wdired.el (dired-backup-overwrite): Remove declaration.
9124 (wdired-mode-map): Add doc string.
9126 * custom.el (x-get-resource): Declare.
9128 * eshell/em-glob.el (ange-cache):
9129 * eshell/em-unix.el (ange-cache): Declare.
9131 * faces.el (x-display-list, x-open-connection, x-get-resource):
9134 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9135 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9138 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9140 * net/gnutls.el (gnutls-log-level): Declare.
9142 * net/shr.el (image-size, image-animate): Declare.
9144 * simple.el (font-info): Declare.
9146 * subr.el (x-popup-dialog): Declare.
9148 * term/common-win.el (x-select-enable-primary)
9149 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9152 * term/ns-win.el (x-handle-args): Declare.
9154 * term/x-win.el (x-select-enable-clipboard): Declare.
9156 * term/w32-win.el (create-default-fontset): Declare.
9158 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9161 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9162 (fit-frame-to-buffer): Explicit error if --without-x.
9163 (mouse-autoselect-window-select): Silence compiler.
9165 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9167 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9168 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9169 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9170 * eshell/esh-util.el (eshell-sublist):
9171 Remove unused local variables.
9173 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9175 * textmodes/two-column.el: Make 2C-split work for --without-x.
9176 (scroll-bar-columns): Autoload.
9177 (top-level): Require fringe when compiling.
9179 2013-09-18 Leo Liu <sdl.web@gmail.com>
9181 * subr.el (add-hook): Robustify to handle closure as well.
9183 2013-09-17 Glenn Morris <rgm@gnu.org>
9185 * simple.el (messages-buffer-mode-map): Unbind "g".
9187 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * help-mode.el (help-mode-finish): Use derived-mode-p.
9190 Remove obsolete highlighting.
9192 * play/life.el (life-mode): Use define-derived-mode. Derive from
9194 (life): Let-bind inhibit-read-only.
9195 (life-setup): Avoid `setq'. Use `life-mode'.
9197 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9198 which should not be needed any more.
9199 (package-menu-refresh, package-menu-describe-package): Use user-error.
9201 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9202 (eshell-post-rewrite-command-hook): Make obsolete.
9203 (eshell-parse-command): Simplify.
9204 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9205 (eshell--cmd): Declare.
9206 (eshell-parse-pipeline): Remove unused var `final-p'.
9207 Pass a dynvar to eshell-post-rewrite-command-hook.
9208 Implement the new eshell-post-rewrite-command-function.
9209 (eshell-invoke-directly): Remove unused arg `input'.
9210 * eshell/esh-io.el (eshell-io-initialize):
9211 Use eshell-post-rewrite-command-function (bug#15399).
9212 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9213 adjust to new calling convention.
9214 (eshell-create-handles): Rename args to avoid clashing with dynvar
9217 2013-09-17 Glenn Morris <rgm@gnu.org>
9219 * simple.el (messages-buffer-mode): New major mode.
9220 (messages-buffer): New function.
9221 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9222 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9223 (ert-run-test): Use `messages-buffer' function.
9224 (ert--force-message-log-buffer-truncation): Ignore read-only.
9225 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9226 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9228 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9230 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9232 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9234 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9236 * icomplete.el (icomplete-in-buffer): New var.
9237 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9238 vars and replace them with functions.
9239 (icomplete-minibuffer-setup): Adjust accordingly.
9240 (icomplete--completion-table, icomplete--completion-predicate)
9241 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9243 (icomplete-forward-completions, icomplete-backward-completions)
9244 (icomplete-simple-completing-p, icomplete-exhibit)
9245 (icomplete-completions): Use them.
9246 (icomplete--in-region-buffer): New var.
9247 (icomplete--in-region-setup): New function.
9248 (icomplete-mode): Use it.
9250 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9252 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9253 return args and options.
9254 (eshell-eval-using-options): Use the new return value of
9255 eshell--do-opts to set the options's vars in their scope.
9256 (eshell--set-option): Rename from eshell-set-option.
9258 (eshell--process-option): Rename from eshell-process-option.
9260 (eshell--process-args): Use an `opt-vals' alist to store the options's
9261 values during their processing and return them additionally to the
9264 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9266 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9267 continuation character an operator, as far as indentation is
9268 concerned (Bug#15369).
9270 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9272 * window.el (window--state-put-2): Don't process buffer state
9273 when buffer doesn't exist any more (Bug#15382).
9275 2013-09-15 Glenn Morris <rgm@gnu.org>
9277 * eshell/em-unix.el (eshell/rm):
9278 Make -f ignore missing files. (Bug#15373)
9280 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9281 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9282 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9284 2013-09-14 Glenn Morris <rgm@gnu.org>
9286 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9288 2013-09-13 Glenn Morris <rgm@gnu.org>
9290 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9291 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9293 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9295 * frame.el (x-focus-frame): Mark as declared in frame.c.
9297 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9299 * ls-lisp.el: Use advice-add.
9300 (original-insert-directory): Remove.
9301 (ls-lisp--insert-directory): Rename from insert-directory; add
9302 `orig-fun' argument.
9303 (insert-directory): Advise.
9305 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9307 * term.el (term-emulate-terminal): Decode the command string
9308 before passing it to term-command-hook. (Bug#15337)
9310 2013-09-13 Glenn Morris <rgm@gnu.org>
9312 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9314 * eshell/esh-ext.el (eshell-search-path): Declare.
9316 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9317 Otherwise an error occurs if eshell-dirs module not loaded.
9319 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9321 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9323 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9324 `tramp-check-proper-host'. Check for a valid method name.
9326 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9327 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9328 * net/tramp-sh.el (tramp-maybe-open-connection):
9329 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9331 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9332 also for hash values.
9334 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9336 * term/ns-win.el (parameters): Don't declare as dynamic.
9337 (before-make-frame-hook): Don't add ineffective function.
9339 * eshell/*.el: Use lexical-binding (bug#15231).
9341 2013-09-12 Kenichi Handa <handa@gnu.org>
9343 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9345 2013-09-12 Glenn Morris <rgm@gnu.org>
9347 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9348 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9350 * subr.el (do-after-load-evaluation): Also give compiler warnings
9351 when obsolete files are used (except by obsolete files).
9353 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9354 in the status output, assume `filename' is the first. (Bug#15322)
9356 * vc/vc.el (vc-deduce-fileset): Doc fix.
9358 * calc/calc-help.el (Info-goto-node):
9359 * progmodes/cperl-mode.el (Info-find-node):
9360 * vc/ediff.el (Info-goto-node): Update declarations.
9362 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9364 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9365 (vc-bzr-pull): Require vc-dispatcher.
9366 * vc/vc-git.el (vc-compilation-mode): Declare.
9367 (vc-git-pull): Require vc-dispatcher.
9369 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9371 * progmodes/octave.el (help-button-action): Declare.
9373 * shell.el (shell-directory-tracker): Output error as a message
9374 rather than just returning it as a string.
9375 (shell-process-pushd): Remove useless use of message.
9377 * dframe.el (dframe-timer-fn):
9378 * files.el (dir-locals-read-from-file):
9379 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9381 * reveal.el (reveal-post-command):
9382 * saveplace.el (load-save-place-alist-from-file):
9383 * shell.el (shell-resync-dirs):
9384 * w32-common-fns.el (x-get-selection-value):
9385 * emacs-lisp/copyright.el (copyright-find-copyright):
9386 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9387 * emulation/tpu-edt.el (tpu-copy-keyfile):
9388 * play/bubbles.el (bubbles--mark-neighbourhood):
9389 * progmodes/executable.el
9390 (executable-make-buffer-file-executable-if-script-p):
9391 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9393 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9395 Cleanup Eshell to rely less on dynamic scoping.
9396 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9397 last-value, and ext-command here. Bind `args' closer to `body'.
9398 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9399 (eshell--args): Declare new dynamic var.
9400 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9401 last-value, and ext-command. Pass `args' to `body'.
9402 (eshell-process-args): Bind eshell--args.
9403 (eshell-set-option): Use eshell--args.
9404 * eshell/eshell.el (eshell): Use derived-mode-p.
9405 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9406 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9407 (eshell-glob-function): Declare.
9408 * eshell/esh-util.el: Require cl-lib.
9409 (eshell-read-hosts-file): Avoid add-to-list.
9410 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9412 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9414 (eshell/diff): Remove unused var `err'.
9415 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9417 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9418 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9420 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9421 Move declaration before first use.
9422 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9423 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9426 2013-09-12 Glenn Morris <rgm@gnu.org>
9428 * term/ns-win.el (global-map): Remove binding for ispell-next,
9429 deleted 1999-05-29. (Bug#15357)
9431 2013-09-11 Glenn Morris <rgm@gnu.org>
9433 * echistory.el (electric-command-history): Remove call to deleted func.
9435 * play/landmark.el (landmark-mode): Fix typos.
9437 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9438 Check cvs-sort-ignore-file is bound.
9440 * savehist.el: No need for cl when compiling on Emacs.
9442 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9444 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9446 (eshell-self-insert-command, eshell-send-invisible):
9447 Remove unused argument.
9448 (eshell-handle-control-codes): Remove unused var `orig'.
9449 Avoid delete-backward-char.
9451 * files.el (set-auto-mode): Simplify a bit further.
9453 2013-09-11 Glenn Morris <rgm@gnu.org>
9455 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9456 (set-auto-mode): Don't regexp-quote elements.
9457 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9458 * progmodes/cc-mode.el (interpreter-mode-alist):
9459 * progmodes/ruby-mode.el (interpreter-mode-alist):
9460 Revert previous change.
9462 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9464 * play/snake.el (snake-mode):
9465 * play/mpuz.el (mpuz-mode):
9466 * play/landmark.el (lm-mode):
9467 * play/blackbox.el (blackbox-mode):
9468 * play/5x5.el (5x5-mode):
9469 * obsolete/options.el (Edit-options-mode):
9470 * net/quickurl.el (quickurl-list-mode):
9471 * net/newst-treeview.el (newsticker-treeview-mode):
9472 * mail/rmailsum.el (rmail-summary-mode):
9473 * mail/mspools.el (mspools-mode):
9474 * locate.el (locate-mode):
9475 * ibuffer.el (ibuffer-mode):
9476 * emulation/ws-mode.el (wordstar-mode):
9477 * emacs-lisp/debug.el (debugger-mode):
9478 * array.el (array-mode):
9479 * net/eudc.el (eudc-mode): Use define-derived-mode.
9480 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9481 Move initialization into declaration.
9482 (mairix-searches-mode): Use define-derived-mode.
9483 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9484 (eudc-edit-hotlist): Use dolist.
9485 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9486 (Man-mode): Use define-derived-mode.
9487 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9488 (Info-edit-mode): Use define-derived-mode.
9489 (Info-cease-edit): Use Info-mode.
9490 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9492 (eshell-mode): Use define-derived-mode.
9493 * chistory.el (command-history-mode-map): Rename from
9494 command-history-map.
9495 (command-history-mode): Use define-derived-mode.
9496 (Command-history-setup): Remove function.
9497 * calc/calc.el (calc-trail-mode-map): New var.
9498 (calc-trail-mode): Use define-derived-mode.
9499 (calc-trail-buffer): Set calc-main-buffer manually.
9500 * bookmark.el (bookmark-insert-annotation): New function.
9501 (bookmark-edit-annotation): Use it.
9502 (bookmark-edit-annotation-mode): Make it a proper major mode.
9503 (bookmark-send-edited-annotation): Use derived-mode-p.
9504 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9505 closer to its ideal place. Use \' to match EOS.
9507 * profiler.el (profiler-calltree-find): Use function-equal.
9509 2013-09-10 Glenn Morris <rgm@gnu.org>
9511 * files.el (interpreter-mode-alist): Convert to regexps.
9512 (set-auto-mode): Adapt for this. (Bug#15306)
9513 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9514 Comment out unused variable.
9515 * progmodes/cc-mode.el (interpreter-mode-alist):
9516 * progmodes/python.el (interpreter-mode-alist):
9517 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9518 * progmodes/sh-script.el (sh-set-shell):
9519 No longer use interpreter-mode-alist to get list of shells.
9521 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9523 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9525 * simple.el: Use set-temporary-overlay-map for universal-argument.
9526 (universal-argument-map): Don't use default-bindings (bug#15317).
9527 Bind switch-frame explicitly. Replace universal-argument-minus with
9528 a conditional binding.
9529 (universal-argument-num-events, saved-overriding-map): Remove.
9530 (restore-overriding-map): Remove.
9531 (universal-argument--mode): Rename from save&set-overriding-map,
9533 (universal-argument, universal-argument-more, negative-argument)
9534 (digit-argument): Adjust accordingly.
9535 (universal-argument-minus): Remove.
9536 (universal-argument-other-key): Remove.
9538 * subr.el (with-demoted-errors): Add `format' argument.
9540 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9542 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9543 `tramp-cleanup-connection'.
9545 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9546 parameters KEEP-DEBUG and KEEP-PASSWORD.
9548 * net/tramp.el (tramp-file-name-handler):
9549 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9550 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9551 (tramp-maybe-open-connection):
9552 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9553 Use `tramp-cleanup-connection'.
9555 * net/tramp-sh.el (tramp-maybe-open-connection):
9556 Catch 'uname-changed inside the progress reporter.
9558 2013-09-10 Glenn Morris <rgm@gnu.org>
9560 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9562 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9563 returns "alternate access method" in mode (eg "-rw-r--r--.").
9565 2013-09-08 Glenn Morris <rgm@gnu.org>
9567 * saveplace.el (load-save-place-alist-from-file):
9568 Demote errors. (Bug#15305)
9570 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9572 Improve compatibility with older Emacsen, and XEmacs.
9574 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9575 only if it is bound. It isn't for XEmacs.
9576 (with-tramp-progress-reporter): Do not let-bind `result'.
9577 This yields to scoping errors in XEmacs.
9578 (tramp-handle-make-auto-save-file-name): New function, moved from
9581 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9582 for `make-auto-save-file-name'.
9583 (tramp-adb--gnu-switches-to-ash):
9584 Use `tramp-compat-replace-regexp-in-string'.
9586 * net/tramp-cache.el (tramp-cache-print): Call
9587 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9589 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9590 bound. It isn't for XEmacs.
9592 * net/tramp-compat.el (tramp-compat-copy-file):
9593 Catch `wrong-number-of-arguments' error.
9594 (tramp-compat-replace-regexp-in-string): New defun.
9596 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9597 for `make-auto-save-file-name'.
9598 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9600 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9601 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9602 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9604 * net/tramp-gw.el (tramp-gw-open-network-stream):
9605 Use `tramp-compat-replace-regexp-in-string'.
9607 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9608 Call `tramp-handle-make-auto-save-file-name'.
9609 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9610 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9611 (tramp-sh-file-inotifywait-process-filter):
9612 Use `tramp-compat-replace-regexp-in-string'.
9613 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9615 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9616 for `make-auto-save-file-name'.
9617 (tramp-smb-handle-copy-directory):
9618 Call `tramp-compat-replace-regexp-in-string'.
9619 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9620 (tramp-smb-handle-copy-file): Improve error message.
9621 (tramp-smb-handle-rename-file): Rename directly only in case
9622 `newname' does not exist yet. This is a restriction of smbclient.
9623 (tramp-smb-maybe-open-connection): Rerun the function only when
9624 `auth-sources' is non-nil.
9626 2013-09-08 Kenichi Handa <handa@gnu.org>
9628 * international/characters.el: Set category "^" (Combining) for
9631 2013-09-07 Alan Mackenzie <acm@muc.de>
9633 Correctly fontify Java class constructors.
9634 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9636 (c-recognize-typeless-decls): Set the Java value to t.
9637 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9638 While handling a "(", add a check for, effectively, Java, and handle a
9639 "typeless" declaration there.
9641 2013-09-07 Roland Winkler <winkler@gnu.org>
9643 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9644 field subtitle for entry type book.
9646 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9648 * minibuffer.el: Make minibuffer-complete call completion-in-region
9649 rather than other way around.
9650 (completion--some, completion-pcm--find-all-completions):
9651 Don't delay signals when debugging.
9652 (minibuffer-completion-contents): Beware fields within the
9653 minibuffer contents.
9654 (completion-all-sorted-completions): Use defvar-local.
9655 (completion--do-completion, completion--cache-all-sorted-completions)
9656 (completion-all-sorted-completions, minibuffer-force-complete):
9657 Add args `beg' and `end'.
9658 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9659 (minibuffer-complete): Use completion-in-region.
9660 (completion-complete-and-exit): New fun, extracted from
9661 minibuffer-complete-and-exit.
9662 (minibuffer-complete-and-exit): Use it.
9663 (completion--complete-and-exit): Rename from
9664 minibuffer--complete-and-exit.
9665 (completion-in-region--single-word): New function, extracted from
9666 minibuffer-complete-word.
9667 (minibuffer-complete-word): Use it.
9668 (display-completion-list): Make `common-substring' argument obsolete.
9669 (completion--in-region): Call completion--in-region-1 instead of
9670 minibuffer-complete.
9671 (completion-help-at-point): Pass boundaries to
9672 minibuffer-completion-help as args rather than via an overlay.
9673 (completion-pcm--string->pattern): Use `any-delim'.
9674 (completion-pcm--optimize-pattern): New function.
9675 (completion-pcm--pattern->regex): Handle `any-delim'.
9676 * icomplete.el (icomplete-forward-completions)
9677 (icomplete-backward-completions, icomplete-completions):
9678 Adjust calls to completion-all-sorted-completions and
9679 completion--cache-all-sorted-completions.
9680 (icomplete-with-completion-tables): Default to t.
9681 * emacs-lisp/crm.el (crm--current-element): Rename from
9682 crm--select-current-element. Don't put an overlay but return the
9684 (crm--completion-command): Take two new args to bind to the boundaries.
9685 (crm-completion-help): Adjust accordingly.
9686 (crm-complete): Use completion-in-region.
9687 (crm-complete-word): Use completion-in-region--single-word.
9688 (crm-complete-and-exit): Use completion-complete-and-exit.
9690 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9692 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9695 2013-09-06 Juri Linkov <juri@jurta.org>
9697 * info.el (Info-display-images-node): When image file doesn't exist
9698 display text version of the image if it's provided in the Info file.
9699 Otherwise, display the location of missing image from SRC attribute.
9700 Add help-echo text property from ALT attribute. (Bug#15279)
9702 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9704 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9705 (edit-abbrevs-mode): Use define-derived-mode.
9707 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9708 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9710 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9711 Use define-derived-mode.
9713 * epg.el (epg-start-encrypt): Minor CSE simplification.
9715 2013-09-06 William Xu <william.xwl@gmail.com>
9717 * arc-mode.el: Add support for 7za (bug#15264).
9718 (archive-7z-program): New var.
9719 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9720 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9721 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9723 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9727 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9728 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9729 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9730 (tramp-postfix-host-format, tramp-file-name-regexp)
9731 (tramp-completion-file-name-regexp)
9732 (tramp-completion-dissect-file-name)
9733 (tramp-handle-substitute-in-file-name): Remove 'url case.
9734 (tramp-file-name-regexp-url)
9735 (tramp-completion-file-name-regexp-url): Remove constants.
9737 2013-09-06 Glenn Morris <rgm@gnu.org>
9739 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9741 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9743 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9744 keywords" below "here-doc beginnings" (Bug#15270).
9746 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9748 * subr.el (pop): Use `car-safe'.
9749 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9750 to detect unused `pop' return value.
9752 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9754 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9755 (python-fill-string): Remove unused var `marker'.
9756 (python-skeleton-add-menu-items): Remove unused var `items'.
9758 * international/mule-cmds.el: Require CL.
9759 (find-coding-systems-for-charsets): Avoid add-to-list.
9760 (sanitize-coding-system-list): New function, extracted from
9761 select-safe-coding-system-interactively.
9762 (select-safe-coding-system-interactively): Use it.
9763 (read-input-method-name): Accept symbols for `default'.
9765 * emacs-lisp/advice.el (defadvice): Add indent rule.
9767 2013-09-05 Daniel Hackney <dan@haxney.org>
9771 * net/browse-url.el:
9774 * net/eudcb-ldap.el:
9787 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9788 byte compiler. Remove some unused let-bound variables.
9790 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9792 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9793 a "ref-cell", since it gets better optimized (bug#14883).
9795 2013-09-05 Glenn Morris <rgm@gnu.org>
9797 * progmodes/cc-awk.el (c-forward-sws): Declare.
9799 2013-09-04 Glenn Morris <rgm@gnu.org>
9801 * generic-x.el [rul-generic-mode]: Require cc-mode.
9802 (c++-mode-syntax-table): Declare.
9803 (rul-generic-mode-syntax-table): Init in the defvar.
9805 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9808 (vc-do-command, vc-set-async-update):
9809 * vc/vc-mtn.el (vc-mtn-dir-status):
9810 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9811 (vc-hg-pull, vc-hg-merge-branch):
9812 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9813 (vc-git-merge-branch):
9814 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9815 (vc-cvs-dir-status-files):
9816 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9817 (vc-bzr-dir-status-files):
9818 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9819 * vc/vc-annotate.el: Use lexical-binding.
9820 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9821 (vc-sentinel-movepoint): Declare.
9822 (vc-annotate): Don't use `goto-line'.
9823 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9824 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9825 (vc-sentinel-movepoint): Declare.
9826 * vc/vc-svn.el: Use lexical-binding.
9827 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9829 * vc/vc-rcs.el: Use lexical-binding.
9831 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9832 `deleted'. Don't drop errors silently.
9834 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9836 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9838 * vc/vc.el (vc-ignore): Rewrite.
9839 (vc-default-ignore): New function.
9840 (vc-default-ignore-completion-table): Use find-ignore-file.
9842 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9843 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9844 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9845 Remove. Most code moved to vc.el.
9847 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9850 * net/tramp-smb.el (tramp-smb-get-file-entries):
9851 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9852 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9854 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9856 (eww-change-select): Remove unused var `properties'.
9857 (eww-make-unique-file-name): Remove unused var `base'.
9859 * finder.el (finder-compile-keywords): Don't mess with windows.
9861 * calculator.el (calculator-funcall): Fix typo in last change.
9863 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9865 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9866 <pkg>-autoloads.el file stop us.
9868 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9869 warnings, and factor out common code.
9871 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9873 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9874 two-character operators and whether the character preceding them
9875 changes their meaning (Bug#15208).
9877 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9879 Format code sent to Python shell for robustness.
9880 * progmodes/python.el (python-shell-buffer-substring):
9882 (python-shell-send-region, python-shell-send-buffer): Use it.
9884 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9886 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9887 * net/tramp.el (tramp-user-error): ... here.
9888 (tramp-find-method, tramp-check-proper-host)
9889 (tramp-dissect-file-name, tramp-debug-message)
9890 (tramp-handle-shell-command):
9891 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9892 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9894 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9896 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9898 * avoid.el (mouse-avoidance-point-position)
9899 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9902 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9904 * progmodes/python.el (python-shell-completion-get-completions):
9905 Drop use of deleted `comint-last-prompt-overlay'.
9906 (python-nav-if-name-main): New command.
9908 2013-09-01 Glenn Morris <rgm@gnu.org>
9910 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9911 Avoid leading space in $wins. Otherwise the sed command used by
9912 eg compile-main ends up containing "/*.el". (Bug#15170)
9914 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9916 2013-08-30 Glenn Morris <rgm@gnu.org>
9918 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9919 Fix is-this-a-directory logic. (Bug#15220)
9921 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9923 * textmodes/css-mode.el: Use SMIE.
9924 (css-smie-grammar): New var.
9925 (css-smie--forward-token, css-smie--backward-token)
9926 (css-smie-rules): New functions.
9927 (css-mode): Use them.
9928 (css-navigation-syntax-table): Remove var.
9929 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9930 (css-indent-calculate, css-indent-line): Remove functions.
9932 Misc changes to reduce use of `(lambda...); and other cleanups.
9933 * cus-edit.el: Use lexical-binding.
9934 (customize-push-and-save, customize-apropos)
9935 (custom-buffer-create-internal): Use closures.
9936 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9937 * progmodes/ada-xref.el: Use setq.
9938 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9939 * dframe.el: Use lexical-binding.
9940 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9941 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9942 * descr-text.el: Use lexical-binding.
9943 (describe-text-widget, describe-text-sexp, describe-property-list):
9945 * comint.el (comint-history-isearch-push-state): Use a closure.
9946 * calculator.el: Use lexical-binding.
9947 (calculator-number-to-string): Make it work with lexical-binding.
9948 (calculator-funcall): Same and use cl-letf.
9950 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9951 (lisp--company-doc-string, lisp--company-location): New functions.
9952 (lisp-completion-at-point): Use them to improve Company support.
9954 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9955 params of lambda expressions.
9956 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9957 (ruby-smie--opening-pipe-p): New function.
9958 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9959 symbols and matched |...| for formal params.
9960 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9961 from being treated as hanging. Handle "rescue".
9963 2013-08-29 Glenn Morris <rgm@gnu.org>
9965 * progmodes/cc-engine.el (c-pull-open-brace):
9966 Move definition before use.
9968 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9971 are immutable. Don't use `unsafe' any more.
9972 (cl--defsubst-expand): Don't substitute at the same time as keeping
9973 a residual unused let-binding. Don't use `unsafe' any more.
9975 2013-08-29 Glenn Morris <rgm@gnu.org>
9977 * calendar/cal-china.el (calendar-chinese-year-cache):
9980 * nxml/nxml-util.el (nxml-debug-clear-inside):
9981 Use cl-loop rather than loop.
9983 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9985 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9987 2013-08-28 Glenn Morris <rgm@gnu.org>
9989 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9991 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9993 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9995 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9997 * simple.el (repeat-complex-command--called-interactively-skip):
9999 (repeat-complex-command): Use it (bug#14136).
10001 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10002 (c-define-abbrev-table): Add `doc' argument.
10003 (c-mode-abbrev-table, c++-mode-abbrev-table)
10004 (objc-mode-abbrev-table, java-mode-abbrev-table)
10005 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10006 (awk-mode-abbrev-table): Use it.
10007 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10008 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10009 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10010 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10011 Move initialization into the declaration; and remove any
10014 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10015 and dynamic let binding.
10017 * vc/smerge-mode.el: Remove redundant :group args.
10019 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10022 2013-08-28 Juri Linkov <juri@jurta.org>
10024 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10025 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10026 (isearch-other-meta-char): Handle an undefined shifted printing
10027 character by downshifting it. (Bug#15200)
10029 2013-08-28 Juri Linkov <juri@jurta.org>
10031 * isearch.el (isearch-search): Change regexp error message for
10032 non-regexp searches. (Bug#15166)
10034 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10036 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10037 for portability to hosts where /bin/sh has problems.
10039 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10041 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10043 2013-08-27 Juri Linkov <juri@jurta.org>
10045 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10046 in the keyboard macro. (Bug#15126)
10048 2013-08-27 Juri Linkov <juri@jurta.org>
10050 * isearch.el (isearch-quote-char): Comment out converting unibyte
10051 to multibyte, thus syncing with its `quoted-insert' counterpart.
10054 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10056 * window.el (display-buffer-use-some-window): Add missing
10057 argument in call of get-largest-window (Bug#15185).
10058 Reported by Stephen Leake.
10060 2013-08-27 Glenn Morris <rgm@gnu.org>
10062 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10064 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10066 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10067 from a matcher-function unless there's no more matches (bug#15161).
10069 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10071 * minibuffer.el: Revert change from 2013-08-20.
10073 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10074 with text property `tramp-default', if appropriate.
10075 (tramp-check-proper-host): New defun.
10076 (tramp-dissect-file-name): Do not check hostname. Revert change
10078 (tramp-backtrace): Make VEC-OR-PROC optional.
10080 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10081 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10082 * net/tramp-sh.el (tramp-maybe-open-connection):
10083 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10084 Apply `tramp-check-proper-host'.
10086 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10088 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10089 lambda expression in order to have `describe-variable' display it.
10091 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10093 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10094 BUF can be optional. (Bug#15186)
10096 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10098 * progmodes/flymake.el (flymake-get-real-file-name-function):
10099 Fix broken customization. (Bug#15184)
10101 2013-08-25 Alan Mackenzie <acm@muc.de>
10103 Improve indentation of bracelists defined by macros (without "=").
10105 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10106 expansion begins with "{", regard it as bracelist when it doesn't
10109 Parse C++ inher-intro when there's a template split over 2 lines.
10111 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10112 rigorously the search for "class" etc. followed by ":".
10114 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10115 random languages a regexp which never matches rather than nil.
10117 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10119 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10120 (c-awk-regexp-one-line-possibly-open-char-list-re)
10121 (c-awk-one-line-possibly-open-regexp-re)
10122 (c-awk-one-line-non-syn-ws*-re): Remove.
10123 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10124 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10125 (c-awk-space*-unclosed-regexp-/-re): New constants.
10126 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10127 aren't regexp delimiters.
10129 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10130 handling for a rare situation in AWK Mode involving unterminated
10133 2013-08-23 Glenn Morris <rgm@gnu.org>
10135 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10137 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10139 * files.el (create-file-buffer): If the result would begin with
10140 spaces, prepend a "|" instead of removing them. (Bug#15162)
10142 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10145 text-properties (bug#15155).
10147 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10149 (calc-keypad-redraw): Remove unused var `pad'.
10150 (calc-keypad-press): Remove unused var `menu'.
10152 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10154 * window.el (display-buffer-pop-up-frame):
10155 Call pop-up-frame-function with BUFFER current so `make-frame' will
10156 use it as the new frame's buffer (Bug#15133).
10158 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10160 * calendar/timeclock.el: Minor cleanups.
10161 (timeclock-ask-before-exiting, timeclock-use-display-time):
10163 (timeclock-modeline-display): Define as alias before the
10165 (timeclock-mode-line-display): Use define-minor-mode.
10166 (timeclock-day-list-template): Make it a function, add an argument.
10167 (timeclock-day-list-required, timeclock-day-list-length)
10168 (timeclock-day-list-debt, timeclock-day-list-span)
10169 (timeclock-day-list-break): Adjust calls accordingly.
10171 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10173 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10174 Use read--expression so that completion works again.
10176 2013-08-21 Sam Steingold <sds@gnu.org>
10178 Add rudimentary inferior shell interaction
10179 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10180 (sh-set-shell): Reset it.
10181 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10182 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10184 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10186 * align.el: Use lexical-binding.
10187 (align-region): Simplify accordingly.
10189 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10191 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10193 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10194 `non-essential' up.
10196 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10199 * net/tramp-adb.el:
10200 * net/tramp-cmds.el:
10201 * net/tramp-ftp.el:
10202 * net/tramp-gvfs.el:
10204 * net/tramp-sh.el: Don't wrap external variable declarations by
10205 `eval-when-compile'.
10207 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10209 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10210 now that Emacs supports ImageMagick animations.
10212 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10214 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10215 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10217 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10219 * window.el (mouse-autoselect-window-select): Do autoselect when
10220 mouse pointer is on margin.
10222 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10224 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10226 2013-08-16 Glenn Morris <rgm@gnu.org>
10228 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10229 Handle "Remote Directory" response of some clients. (Bug#15058)
10231 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10232 Tweak warning. (Bug#14926)
10234 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10235 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10237 * image-mode.el (image-mode-map): Add menu items to reverse,
10238 increase, decrease, reset animation speed.
10239 (image--set-speed, image-increase-speed, image-decrease-speed)
10240 (image-reverse-speed, image-reset-speed): New functions.
10241 (image-mode-map): Add bindings for speed commands.
10243 * image.el (image-animate-get-speed, image-animate-set-speed):
10245 (image-animate-timeout): Respect image :speed property.
10247 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10249 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10250 previous line (bug#15101).
10251 (debugger-eval-expression, debugger-record-expression):
10252 Use read--expression (bug#15102).
10254 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10256 Remove byte compiler warnings, visible when compiling with
10257 `byte-compile-force-lexical-warnings' set to t.
10259 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10260 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10261 (tramp-handle-unhandled-file-name-directory)
10262 (tramp-handle-file-notify-add-watch, tramp-action-login)
10263 (tramp-action-succeed, tramp-action-permission-denied)
10264 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10265 arguments with "_".
10267 * net/tramp-adb.el (tramp-adb-parse-device-names)
10268 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10269 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10270 (tramp-adb-handle-file-truename): Remove unused arguments.
10272 * net/tramp-cache.el (tramp-flush-directory-property)
10273 (tramp-flush-connection-property, tramp-list-connections)
10274 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10276 * net/tramp-compat.el (tramp-compat-make-temp-file):
10277 Rename FILENAME to F.
10279 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10280 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10281 (tramp-zeroconf-parse-workstation-device-names)
10282 (tramp-zeroconf-parse-webdav-device-names)
10283 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10285 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10286 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10288 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10290 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10291 (tramp-sh-handle-insert-file-contents-literally)
10292 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10294 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10295 Remove unused variables.
10297 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10298 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10299 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10301 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10302 Make them a defconst.
10303 (tramp-uuencode-region): Remove unused variable.
10305 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10307 * frameset.el (frameset--prop-setter): New function.
10308 (frameset-prop): Add gv-setter declaration.
10309 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10310 parameter was already set in FILTERED. Doc fix.
10311 (frameset--record-minibuffer-relationships): Allow saving a
10312 minibufferless frame without its corresponding minibuffer frame.
10313 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10314 frame, if the frame id matches.
10315 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10316 frames before orphaned ones.
10317 (frameset-restore): Warn about orphaned windows, instead of error out.
10319 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10321 * window.el (window-make-atom): Don't overwrite parameter
10323 (display-buffer-in-atom-window): Handle special case where we
10324 split an already atomic window.
10325 (window--major-non-side-window, display-buffer-in-side-window)
10326 (window--side-check): Ignore minibuffer window when walking
10328 (window-deletable-p): Return 'frame only if no other frame uses
10329 our minibuffer window.
10330 (record-window-buffer): Run buffer-list-update-hook.
10331 (split-window): Make sure window--check-frame won't destroy an
10332 existing atomic window in case the new window gets nested
10334 (display-buffer-at-bottom): Ignore minibuffer window when
10335 walking window tree. Don't split a side window.
10336 (pop-to-buffer): Don't set-buffer here, the select-window call
10338 (mouse-autoselect-window-select): Autoselect only if we are in the
10339 text portion of the window.
10341 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10343 * net/shr.el (shr-parse-image-data): New function to grab both the
10344 data itself and the Content-Type.
10345 (shr-put-image): Use it.
10347 * net/eww.el (eww-display-image): Ditto.
10349 * image.el (image-content-type-suffixes): New variable.
10351 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10353 * progmodes/python.el (python-imenu--build-tree)
10354 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10356 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10358 * simple.el (backward-word): Mention the optional argument.
10360 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10362 * frameset.el (frameset--make): Rename constructor from make-frameset.
10363 (frameset-p, frameset-valid-p): Don't autoload.
10364 (frameset-valid-p): Use normal accessors.
10366 2013-08-13 Glenn Morris <rgm@gnu.org>
10368 * progmodes/compile.el (compile-command): Tweak example in doc.
10369 * obsolete/scribe.el (scribe-mode):
10370 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10372 * mail/feedmail.el (feedmail-confirm-outgoing)
10373 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10375 * cus-start.el (truncate-partial-width-windows): Fix type.
10377 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10379 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10381 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10383 * emacs-lisp/timer.el (timer--time-setter): New function.
10384 (timer--time): Use it as gv-setter.
10386 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10387 setter is not a symbol.
10389 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10391 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10392 if sending fails. This makes debugging easier.
10394 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10396 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10397 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10398 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10400 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10402 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10404 2013-08-12 Glenn Morris <rgm@gnu.org>
10406 * format.el (format-annotate-function):
10407 Handle read-only text properties in the source. (Bug#14887)
10409 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10411 * net/eww.el (eww-display-html): Ignore coding system errors.
10412 One web site uses "utf-8lias" as the coding system.
10414 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10416 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10418 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10420 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10421 (tutorial--detailed-help): Remove unused local variables.
10422 (tutorial--save-tutorial-to): Use ignore-errors.
10423 (help-with-tutorial): Use looking-at-p.
10425 * view.el (view-buffer-other-window, view-buffer-other-frame):
10426 Mark unused arguments.
10428 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10429 (woman-select-symbol-fonts, woman, woman-find-file)
10430 (woman-insert-file-contents, woman-non-underline-faces):
10431 Use string-match-p.
10432 (woman1-unquote): Move declaration.
10434 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10435 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10436 argument. Remove unused local variable.
10437 (xml-parse-elem-type): Use string-match-p.
10438 (xml-substitute-numeric-entities): Use ignore-errors.
10440 * calculator.el (calculator): Mark unused argument.
10441 (calculator-paste, calculator-quit, calculator-integer-p):
10443 (calculator-string-to-number, calculator-decimal, calculator-exp)
10444 (calculator-op-or-exp): Use string-match-p.
10446 * dired.el (dired-buffer-more-recently-used-p): Declare.
10447 (dired-insert-set-properties, dired-insert-old-subdirs):
10450 * dired-aux.el (dired-compress): Use ignore-errors.
10451 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10452 (dired-do-async-shell-command, dired-do-shell-command)
10453 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10454 (dired-insert-subdir-validate): Use string-match-p.
10455 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10456 (dired-add-entry): Use string-match-p, looking-at-p.
10457 (dired-insert-subdir-newpos): Remove unused local variable.
10459 * filenotify.el (file-notify-callback): Remove unused local variable.
10461 * filesets.el (filesets-error): Mark unused argument.
10462 (filesets-which-command-p, filesets-filter-dir-names)
10463 (filesets-directory-files, filesets-get-external-viewer)
10464 (filesets-ingroup-get-data): Use string-match-p.
10466 * find-file.el (ff-other-file-name, ff-other-file-name)
10467 (ff-find-the-other-file, ff-cc-hh-converter):
10468 Remove unused local variables.
10469 (ff-get-file-name): Use string-match-p.
10470 (ff-all-dirs-under): Use ignore-errors.
10472 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10473 (follow-select-if-visible): Remove unused local variable.
10475 * forms.el (read-file-filter): Move declaration.
10476 (forms--make-format, forms--make-parser, forms-insert-record):
10477 Quote function with #'.
10478 (forms--update): Use string-match-p. Quote function with #'.
10480 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10481 (help-make-xrefs): Use looking-at-p.
10482 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10484 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10485 (ibuffer-confirm-operation-on): Use string-match-p.
10487 * msb.el (msb-item-handler, msb-dired-item-handler):
10488 Mark unused arguments.
10490 * ses.el (ses-decode-cell-symbol)
10491 (ses-kill-override): Remove unused local variable.
10492 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10493 (ses-load): Use ignore-errors, looking-at-p.
10494 (ses-jump-safe): Use ignore-errors.
10495 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10497 * tabify.el (untabify, tabify): Mark unused arguments.
10499 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10500 Mark unused argument.
10501 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10502 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10504 * emacs-lisp/timer.el (timer--time): Define setter with
10505 gv-define-setter to avoid deprecation warning.
10507 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10508 (*record-cmpl-statistics-p*): Remove (was commented out).
10509 (cmpl-statistics-block): Remove (body was commented out).
10510 All callers changed.
10511 (add-completions-from-buffer, load-completions-from-file):
10512 Remove unused variables.
10514 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10516 * filecache.el (file-cache-delete-file-list):
10517 Print message only when told so.
10518 (file-cache-files-matching): Use #' in mapconcat argument.
10520 * ffap.el (ffap-url-at-point): Fix reference to variable
10521 thing-at-point-default-mail-uri-scheme.
10523 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10525 * subr.el (define-error): New function.
10526 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10527 error-file-not-found and define with define-error.
10528 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10529 and define with define-error.
10530 * userlock.el (file-locked, file-supersession):
10531 * simple.el (mark-inactive):
10532 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10533 * progmodes/ada-mode.el (ada-mode-errors):
10534 * play/life.el (life-extinct):
10535 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10536 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10537 * nxml/rng-util.el (rng-error):
10538 * nxml/rng-uri.el (rng-uri-error):
10539 * nxml/rng-match.el (rng-compile-error):
10540 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10541 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10542 * nxml/nxml-rap.el (nxml-scan-error):
10543 * nxml/nxml-outln.el (nxml-outline-error):
10544 * net/soap-client.el (soap-error):
10545 * net/gnutls.el (gnutls-error):
10546 * net/ange-ftp.el (ftp-error):
10547 * mpc.el (mpc-proc-error):
10548 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10549 (json-number-format, json-string-escape, json-string-format)
10550 (json-key-format, json-object-format):
10551 * jka-compr.el (compression-error):
10552 * international/quail.el (quail-error):
10553 * international/kkc.el (kkc-error):
10554 * emacs-lisp/ert.el (ert-test-failed):
10555 * calc/calc.el (calc-error, inexact-result, math-overflow)
10557 * bookmark.el (bookmark-error-no-filename):
10558 * epg.el (epg-error): Define with define-error.
10560 * time.el (display-time-event-handler)
10561 (display-time-next-load-average): Don't call sit-for since it seems
10562 unnecessary (bug#15045).
10564 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10565 Use #' instead of ' to quote functions.
10566 (checkdoc-output-mode): Use setq-local.
10567 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10568 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10569 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10570 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10571 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10572 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10573 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10574 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10576 * ido.el (ido-completion-help): Fix up compiler warning.
10578 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10580 * frameset.el (frameset-p): Add autoload cookie.
10581 (frameset--jump-to-register): New function, based on code moved from
10583 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10585 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10586 (frameset-restore, frameset-save, frameset-session-filter-alist):
10587 Remove declarations.
10588 (register-alist): Doc fix.
10589 (frameset-to-register): Move to frameset.el.
10590 (jump-to-register, describe-register-1): Remove frameset-specific code.
10592 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10594 * allout-widgets.el (allout-widgets-pre-command-business)
10595 (allout-widgets-post-command-business)
10596 (allout-widgets-after-change-handler)
10597 (allout-decorate-item-and-context, allout-set-boundary-marker)
10598 (allout-body-modification-handler)
10599 (allout-graphics-modification-handler): Mark ignored arguments.
10600 (allout-widgets-post-command-business)
10601 (allout-widgets-exposure-change-processor)
10602 (allout-widgets-exposure-undo-processor)
10603 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10604 (allout-parse-item-at-point, allout-decorate-item-guides)
10605 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10606 * allout.el (epa-passphrase-callback-function): Declare.
10607 (allout-overlay-insert-in-front-handler)
10608 (allout-overlay-interior-modification-handler)
10609 (allout-isearch-end-handler, allout-chart-siblings)
10610 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10611 (allout-yank-processing, allout-process-exposed)
10612 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10613 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10614 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10615 (lisp-indent-defform): Mark ignored arguments.
10616 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10617 (calculate-lisp-indent): Remove unused variables.
10618 * international/characters.el (indian-2-column, arabic-2-column)
10619 (tibetan): Mark ignored arguments.
10620 (use-cjk-char-width-table): Mark ignored arguments.
10621 Remove unused variables.
10622 * international/fontset.el (build-default-fontset-data)
10623 (x-compose-font-name, create-fontset-from-fontset-spec):
10624 Mark ignored arguments.
10625 (fontset-plain-name): Remove unused variables.
10626 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10627 (keyboard-coding-system): Mark ignored arguments.
10628 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10629 * help.el (resize-temp-buffer-window):
10630 * window.el (display-buffer-in-major-side-window)
10631 (display-buffer-in-side-window, display-buffer-in-previous-window):
10632 Remove unused variables.
10633 * isearch.el (isearch-forward-symbol):
10634 * version.el (emacs-bzr-version-bzr):
10635 * international/mule-cmds.el (current-language-environment):
10636 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10637 (x-handle-display):
10638 * term/pc-win.el (x-list-fonts, x-display-planes)
10639 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10640 (x-server-version, x-display-screens, x-display-mm-height)
10641 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10642 (x-selection-owner-p, x-own-selection-internal)
10643 (x-disown-selection-internal, x-get-selection-internal)
10644 (msdos-initialize-window-system):
10645 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10646 * term/x-win.el (x-handle-no-bitmap-icon):
10647 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10648 (vc-default-find-file-hook, vc-default-extra-menu):
10649 Mark ignored arguments.
10651 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10653 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10654 break-condition in the context of the debugged code (bug#12685).
10656 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10659 Do not use an overlay to highlight the last prompt. (Bug#14744)
10660 (comint-mode): Make comint-last-prompt buffer local.
10661 (comint-last-prompt): New variable.
10662 (comint-last-prompt-overlay): Remove. Superseded by
10663 comint-last-prompt.
10664 (comint-snapshot-last-prompt, comint-output-filter):
10665 Use comint-last-prompt.
10667 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10669 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10670 (frameset-save): Check validity of the resulting frameset.
10672 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10674 * ido.el (ido-record-command): Add doc string.
10676 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10678 * frameset.el (frameset): Do not disable creation of the default
10679 frameset-p predicate. Doc fix.
10680 (frameset-valid-p): New function, copied from the old predicate-p.
10681 Add additional checks.
10682 (frameset-restore): Check with frameset-valid-p.
10683 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10684 (frameset-name, frameset-description, frameset-properties)
10685 (frameset-states): Add docstring.
10686 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10687 (frameset-filter-alist): Doc fixes.
10689 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10691 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10693 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10695 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10696 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10697 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10698 (byte-compile-normal-call): Remove obsolescence check.
10700 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10702 * frameset.el (frameset-restore): Doc fix.
10704 * register.el (frameset-frame-id, frameset-frame-with-id)
10705 (frameset-p, frameset-restore, frameset-save): Declare.
10706 (register-alist): Document framesets.
10707 (frameset-session-filter-alist): Declare.
10708 (frameset-to-register): New function.
10709 (jump-to-register): Implement jumping to framesets. Doc fix.
10710 (describe-register-1): Describe framesets.
10712 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10714 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10716 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10717 Use lexical-binding.
10719 * frameset.el (frameset): Use type vector, not list (incompatible
10720 change). Do not declare a new constructor, use the default one.
10721 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10722 `name' and `description', respectively, and add read-only slot
10723 `timestamp'. Doc fixes.
10724 (frameset-copy, frameset-persistent-filter-alist)
10725 (frameset-filter-alist, frameset-switch-to-gui-p)
10726 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10727 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10728 (frameset-filter-iconified, frameset-keep-original-display-p):
10730 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10731 Rename from frameset-filter-(save|restore)-param. All callers changed.
10733 (frameset-p): Adapt to change to vector and be more thorough.
10734 Change arg name to OBJECT. Doc fix.
10735 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10736 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10737 All callers changed.
10738 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10739 All callers changed.
10740 (frameset--record-minibuffer-relationships): Rename from
10741 frameset--process-minibuffer-frames. All callers changed.
10742 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10743 Use new default constructor (again). Doc fix.
10744 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10745 All callers changed.
10746 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10747 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10749 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10750 PARAMETERS and WINDOW-STATE, respectively.
10751 (frameset-restore): Add new keyword argument PREDICATE.
10752 Reset frameset--target-display to nil. Doc fix.
10754 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10756 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10757 (bat-mode): Use it.
10758 (bat-mode-syntax-table): Mark \n as end-of-comment.
10759 (bat-font-lock-keywords): Remove comment rule.
10761 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10762 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10764 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10765 (byte-compile-callargs-warn): Use `push'.
10766 (byte-compile-arglist-warn): Ignore higher-order "calls".
10767 (byte-compile-file-form-autoload): Use `pcase'.
10768 (byte-compile-function-form): If quoting a symbol, check that it exists.
10770 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10772 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10773 and add a few popular commands found in batch files.
10774 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10775 (dos-mode): Doc fixes.
10777 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10779 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10780 (dos-mode): Use setq-local. Add space after "rem".
10781 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10782 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10784 2013-08-07 Arni Magnusson <arnima@hafro.is>
10786 * progmodes/dos.el: New file.
10787 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10790 2013-08-06 Glenn Morris <rgm@gnu.org>
10792 * calendar/calendar.el: Add new faces, and day-header-array.
10793 (calendar-weekday-header, calendar-weekend-header)
10794 (calendar-month-header): New faces.
10795 (calendar-day-header-construct): New function.
10796 (calendar-day-header-width): Also :set calendar-day-header-array.
10797 (calendar-american-month-header, calendar-european-month-header)
10798 (calendar-iso-month-header): Use calendar- faces.
10799 (calendar-generate-month):
10800 Use calendar-day-header-array for day headers; apply faces to them.
10801 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10802 (calendar-abbrev-construct): Add optional maxlen argument.
10803 (calendar-day-name-array): Doc fix.
10804 (calendar-day-name-array, calendar-abbrev-length)
10805 (calendar-day-abbrev-array):
10806 Also :set calendar-day-header-array, and maybe redraw.
10807 (calendar-day-header-array): New option. (Bug#15007)
10808 (calendar-font-lock-keywords): Set to nil and make obsolete.
10809 (calendar-day-name): Add option to use header array.
10811 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10813 * net/shr.el (shr-render-td): Remove debugging.
10814 (shr-render-td): Make width computation consistent by defaulting
10815 all zero-width columns to 10 characters. This may not be optimal,
10816 but it's at least consistent.
10817 (shr-make-table-1): Redo last change to fix the real problem in
10820 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10822 * files.el (cache-long-line-scans):
10823 Make obsolete alias to `cache-long-scans'.
10825 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10827 * frameset.el (frameset, frameset-filter-alist)
10828 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10829 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10830 (frameset-compute-pos): Rename from frameset--compute-pos,
10832 (frameset-move-onscreen): Use frameset-compute-pos.
10833 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10835 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10836 Fix typos in docstrings.
10838 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10840 * frame.el (get-other-frame): Tiny cleanup.
10842 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10844 * vc/vc.el (vc-default-ignore-completion-table):
10845 Silence byte-compiler warning.
10847 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10848 slot, which can indeed be nil.
10849 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10850 Move entry for `left' from persistent to live filter alist.
10851 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10853 (frameset-filter-params): When restoring a frame, copy items added to
10854 `filtered', to avoid unwittingly modifying the original parameters.
10855 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10856 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10858 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10859 to use looking-at-p instead of looking-at. (Bug#15028)
10861 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10863 Revert introduction of isearch-filter-predicates (bug#14714).
10864 Rely on add-function instead.
10865 * isearch.el (isearch-filter-predicates): Rename it back to
10866 isearch-filter-predicate.
10867 (isearch-message-prefix): Use advice-function-mapc and advice
10868 properties to get the isearch-message-prefix.
10869 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10870 instead of run-hook-with-args-until-failure.
10871 (isearch-filter-visible): Not obsolete any more.
10872 * loadup.el: Preload nadvice.
10873 * replace.el (perform-replace): Revert to funcall
10874 instead of run-hook-with-args-until-failure.
10875 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10876 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10877 dired-isearch-filenames-toggle; make it into a proper minor mode.
10878 Use add/remove-function.
10879 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10880 Call the minor-mode rather than add/remove-hook.
10881 (dired-isearch-filter-filenames):
10882 Remove isearch-message-prefix property.
10883 * info.el (Info--search-loop): New function, extracted from Info-search.
10884 Funcall isearch-filter-predicate instead of
10885 run-hook-with-args-until-failure isearch-filter-predicates.
10886 (Info-search): Use it.
10887 (Info-mode): Use isearch-filter-predicate instead of
10888 isearch-filter-predicates.
10890 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10892 Do not call to `selected-window' where it is assumed by default.
10893 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10894 `window-hscroll', `window-width', `window-height', `window-buffer',
10895 `window-frame', `window-start', `window-point', `next-window'
10896 and `window-display-table'.
10897 * abbrev.el (abbrev--default-expand):
10898 * bs.el (bs--show-with-configuration):
10899 * buff-menu.el (Buffer-menu-mouse-select):
10900 * calc/calc.el (calc):
10901 * calendar/calendar.el (calendar-generate-window):
10902 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10903 (diary-make-entry):
10904 * comint.el (send-invisible, comint-dynamic-complete-filename)
10905 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10906 * completion.el (complete):
10907 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10908 * disp-table.el (describe-current-display-table):
10909 * doc-view.el (doc-view-insert-image):
10910 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10911 * ehelp.el (with-electric-help):
10912 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10913 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10914 * emacs-lisp/helper.el (Helper-help-scroller):
10915 * emulation/cua-base.el (cua--post-command-handler-1):
10916 * eshell/esh-mode.el (eshell-output-filter):
10917 * ffap.el (ffap-gnus-wrapper):
10918 * help-macro.el (make-help-screen):
10919 * hilit-chg.el (highlight-compare-buffers):
10920 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10921 * hl-line.el (global-hl-line-highlight):
10922 * icomplete.el (icomplete-simple-completing-p):
10923 * isearch.el (isearch-done):
10924 * jit-lock.el (jit-lock-stealth-fontify):
10925 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10926 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10927 * mpc.el (mpc-tagbrowser, mpc):
10928 * net/rcirc.el (rcirc-any-buffer):
10929 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10930 * play/landmark.el (landmark-max-width, landmark-max-height):
10931 * play/zone.el (zone):
10932 * progmodes/compile.el (compilation-goto-locus):
10933 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10934 * progmodes/etags.el (find-tag-other-window):
10935 * progmodes/fortran.el (fortran-column-ruler):
10936 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10937 * progmodes/verilog-mode.el (verilog-point-text):
10938 * reposition.el (reposition-window):
10939 * rot13.el (toggle-rot13-mode):
10940 * server.el (server-switch-buffer):
10941 * shell.el (shell-dynamic-complete-command)
10942 (shell-dynamic-complete-environment-variable):
10943 * simple.el (insert-buffer, set-selective-display)
10944 (delete-completion-window):
10945 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10946 (speedbar-recenter):
10947 * startup.el (fancy-splash-head):
10948 * textmodes/ispell.el (ispell-command-loop):
10949 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10950 * tutorial.el (help-with-tutorial):
10951 * vc/add-log.el (add-change-log-entry):
10952 * vc/compare-w.el (compare-windows):
10953 * vc/ediff-help.el (ediff-indent-help-message):
10954 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10955 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10956 (ediff-setup-control-frame):
10957 * vc/emerge.el (emerge-position-region):
10958 * vc/pcvs-util.el (cvs-bury-buffer):
10959 * window.el (walk-windows, mouse-autoselect-window-select):
10960 * winner.el (winner-set-conf, winner-undo): Related users changed.
10962 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10964 * frameset.el (frameset--set-id): Doc fix.
10965 (frameset-frame-id, frameset-frame-id-equal-p)
10966 (frameset-locate-frame-id): New functions.
10967 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10968 (frameset-restore): Use them.
10970 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10972 Do not call to `selected-frame' where it is assumed by default.
10973 Affected functions are `raise-frame', `redraw-frame',
10974 `frame-first-window', `frame-terminal' and `delete-frame'.
10975 * calendar/appt.el (appt-disp-window):
10976 * epg.el (epg-wait-for-completion):
10977 * follow.el (follow-delete-other-windows-and-split)
10978 (follow-avoid-tail-recenter):
10979 * international/mule.el (set-terminal-coding-system):
10980 * mail/rmail.el (rmail-mail-return):
10981 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10982 * progmodes/f90.el (f90-add-imenu-menu):
10983 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10984 * server.el (server-switch-buffer):
10985 * simple.el (delete-completion-window):
10987 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10988 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10989 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10990 * vc/ediff.el (ediff-documentation): Related users changed.
10991 * frame.el (selected-terminal): Remove the leftover.
10993 2013-08-05 Glenn Morris <rgm@gnu.org>
10995 * calendar/calendar.el (calendar-generate-month):
10996 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10997 (calendar-generate-month, calendar-font-lock-keywords):
10998 Fix for calendar-day-header-width > length of any day name.
11000 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11002 * desktop.el (desktop-clear): Use new name of sort predicate.
11004 * frameset.el (frameset): Add docstring. Move :version property to its
11005 own `version' slot.
11006 (frameset-copy): Rename from copy-frameset.
11007 (frameset-p): Check more thoroughly.
11008 (frameset-prop): Do not check for :version, which is no longer a prop.
11009 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11010 Use new :never value instead of t.
11011 (frameset-filter-alist): Expand and clarify docstring.
11012 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11013 (frameset-filter-minibuffer, frameset-filter-save-param)
11014 (frameset-filter-restore-param, frameset-filter-iconified):
11015 Add pointer to docstring of frameset-filter-alist.
11016 (frameset-filter-params): Rename filter values to be more meaningful:
11017 :never instead of t, and reverse the meanings of :save and :restore.
11018 (frameset--process-minibuffer-frames): Clarify error message.
11019 (frameset-save): Avoid unnecessary and confusing call to framep.
11020 Use new BOA constructor for framesets.
11021 (frameset--reuse-list): Doc fix.
11022 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11023 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11024 (frameset-minibufferless-first-p): Doc fix.
11025 Rename from frameset-sort-frames-for-deletion.
11026 (frameset-restore): Doc fixes. Use new function names.
11027 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11029 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11031 * desktop.el (desktop-restore-forces-onscreen)
11032 (desktop-restore-reuses-frames): Document :keyword constant values.
11033 (desktop-filter-parameters-alist): Remove, now identical to
11034 frameset-filter-alist.
11035 (desktop--filter-tty*): Remove, moved to frameset.el.
11036 (desktop-save-frameset, desktop-restore-frameset):
11037 Do not pass :filters argument.
11039 * frameset.el (frameset-live-filter-alist)
11040 (frameset-persistent-filter-alist): New variables.
11041 (frameset-filter-alist): Use them. Add autoload cookie.
11042 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11043 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11044 `frameset--id' (it's supposed to be internal to frameset.el).
11045 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11046 (frameset--initial-params): New function.
11047 (frameset--get-frame): Use it. Doc fix.
11048 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11049 Accept :all, not 'all.
11050 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11051 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11052 with fbound symbols. Fix frame id matching, and remove matching ids if
11053 the frame being restored is deleted. Obey :delete.
11055 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11057 * subr.el (macrop): New function.
11058 (text-clone--maintaining): New var.
11059 (text-clone--maintain): Rename from text-clone-maintain. Use it
11060 instead of inhibit-modification-hooks.
11062 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11063 a proxy, so as handle autoloads and redefinitions of the target.
11064 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11066 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11067 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11068 (pcase--mutually-exclusive-p): New function.
11069 (pcase--split-consp): Use it.
11070 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11071 mutually exclusive with the current predicate.
11073 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11074 (edebug-macrop): Remove. Use `macrop' instead.
11075 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11077 * eshell/esh-cmd.el (eshell-macrop):
11078 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11080 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11082 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11083 (advice-mapc): New function, using it.
11084 (advice-function-member-p): New function.
11085 (advice--normalize): Store the cdr in advice--saved-rewrite since
11086 that's the part that will be changed.
11087 (advice--symbol-function): New function.
11088 (advice-remove): Handle removal before the function is defined.
11089 Adjust to new advice--saved-rewrite.
11090 (advice-member-p): Use advice-function-member-p and
11091 advice--symbol-function.
11093 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11095 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11096 (frameset-filter-minibuffer): Doc fix.
11097 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11098 (frameset--set-id, frameset--process-minibuffer-frames)
11099 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11100 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11102 * desktop.el (desktop-clear): Only delete frames when called
11103 interactively and desktop-restore-frames is non-nil. Doc fix.
11104 (desktop-read): Set desktop-saved-frameset to nil.
11106 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11108 * vc/vc.el (vc-ignore): Rewrite.
11109 (vc-default-ignore-completion-table, vc--read-lines)
11110 (vc--add-line, vc--remove-regexp): New functions.
11112 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11113 (vc-svn-ignore-completion-table): New function.
11115 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11116 (vc-hg-ignore-completion-table)
11117 (vc-hg-find-ignore-file): New functions.
11119 * vc/vc-git.el (vc-git-ignore): Rewrite.
11120 (vc-git-ignore-completion-table)
11121 (vc-git-find-ignore-file): New functions.
11123 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11125 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11126 (vc-bzr-ignore-completion-table)
11127 (vc-bzr-find-ignore-file): New functions.
11129 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11131 * frameset.el (frameset-prop): New function and setter.
11132 (frameset-save): Do not modify frame list passed by the caller.
11134 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11136 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11138 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11140 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11141 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11143 * custom.el (custom-initialize-default, custom-initialize-set)
11144 (custom-initialize-reset, custom-initialize-changed): Affect the
11145 toplevel-default-value (bug#6275, bug#14586).
11146 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11149 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11151 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11152 Add cl-def* expressions.
11154 * frameset.el (frameset-filter-params): Fix order of arguments.
11156 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11158 Move code related to saving frames to frameset.el.
11159 * desktop.el: Require frameset.
11160 (desktop-restore-frames): Doc fix.
11161 (desktop-restore-reuses-frames): Rename from
11162 desktop-restoring-reuses-frames.
11163 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11164 (desktop-clear): Clear frames too.
11165 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11166 (desktop--filter-tty*, desktop-save, desktop-read):
11167 Use frameset functions.
11168 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11169 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11170 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11171 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11172 (desktop--process-minibuffer-frames, desktop-save-frames)
11173 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11174 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11175 (desktop--sort-states, desktop-restoring-frames-p)
11176 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11177 (desktop-restoring-frameset-p, desktop-restore-frameset)
11178 (desktop--check-dont-save, desktop-save-frameset): New functions.
11179 (desktop--app-id): New constant.
11180 (desktop-first-buffer, desktop-buffer-ok-count)
11181 (desktop-buffer-fail-count): Move before first use.
11182 * frameset.el: New file.
11184 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11186 * files.el: Use lexical-binding.
11187 (dir-locals-read-from-file): Remove unused `err' variable.
11188 (hack-dir-local-variables--warned-coding): New var.
11189 (hack-dir-local-variables): Use it to avoid repeated warnings.
11190 (make-backup-file-name--default-function): New function.
11191 (make-backup-file-name-function): Use it as default.
11192 (buffer-stale--default-function): New function.
11193 (buffer-stale-function): Use it as default.
11194 (revert-buffer-insert-file-contents--default-function): New function.
11195 (revert-buffer-insert-file-contents-function): Use it as default.
11196 (insert-directory): Avoid add-to-list.
11198 * autorevert.el (auto-revert-handler): Simplify.
11199 Use buffer-stale--default-function.
11201 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11203 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11205 * whitespace.el (whitespace-ensure-local-variables): New function.
11206 (whitespace-cleanup-region): Call it.
11207 (whitespace-turn-on): Call it.
11209 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11211 Complete file name handlers.
11213 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11214 (tramp-handle-verify-visited-file-modtime)
11215 (tramp-handle-file-notify-rm-watch): New functions.
11216 (tramp-call-process): Do not bind `default-directory'.
11218 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11219 Order alphabetically.
11220 <access-file, add-name-to-file, dired-call-process>:
11221 <dired-compress-file, file-acl, file-notify-rm-watch>:
11222 <file-ownership-preserved-p, file-selinux-context>:
11223 <make-directory-internal, make-symbolic-link, set-file-acl>:
11224 <set-file-selinux-context, set-visited-file-modtime>:
11225 <verify-visited-file-modtime>: Add handler.
11226 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11228 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11229 <file-notify-add-watch, file-notify-rm-watch>:
11230 <set-file-times, set-visited-file-modtime>:
11231 <verify-visited-file-modtime>: Add handler.
11232 (with-tramp-gvfs-error-message)
11233 (tramp-gvfs-handle-set-visited-file-modtime)
11234 (tramp-gvfs-fuse-file-name): Remove.
11235 (tramp-gvfs-handle-file-notify-add-watch)
11236 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11237 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11240 Order alphabetically.
11241 <file-notify-rm-watch>: Use default Tramp handler.
11242 <executable-find>: Remove private handler.
11243 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11244 `default-directory'.
11245 (tramp-sh-handle-executable-find)
11246 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11247 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11248 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11249 Do not use `format' in `tramp-message'.
11251 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11252 <file-notify-rm-watch, set-visited-file-modtime>:
11253 <verify-visited-file-modtime>: Add handler.
11254 (tramp-smb-call-winexe): Do not bind `default-directory'.
11256 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11258 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11260 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11262 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11264 (log-view-diff-changeset): Same.
11265 (log-view-diff-common): Call backend command `previous-revision'
11266 to find out the previous revision, in both cases. Swap the
11267 variables `to' and `fr', so that `fr' usually refers to the
11268 earlier revision (Bug#14989).
11270 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11272 * ibuf-ext.el (ibuffer-filter-by-filename):
11273 Make it work with dired buffers too.
11275 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11277 * emacs-lisp/re-builder.el (reb-color-display-p):
11278 * files.el (save-buffers-kill-terminal):
11279 * net/browse-url.el (browse-url):
11280 * server.el (server-save-buffers-kill-terminal):
11281 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11282 Prefer nil to selected-frame for the first arg of frame-parameter.
11284 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11286 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11288 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11290 * minibuffer.el (completion--twq-all): Try and preserve each
11291 completion's case choice (bug#14907).
11293 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11295 * net/network-stream.el (open-network-stream): Mention the new
11296 :nogreeting parameter.
11297 (network-stream-open-starttls): Use the :nogreeting parameter
11300 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11302 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11303 more natural than popping.
11305 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11306 (shr-urlify): Highlight under mouse.
11308 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11310 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11312 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11314 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11317 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11318 point-min==1. Fix search string. Fix parentheses missing.
11320 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11321 assume point-min==1. Fix search string. Fix parentheses missing.
11323 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11325 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11328 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11330 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11331 initial frame is minibuffer-less. (Bug#14841)
11333 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11335 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11338 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11339 (tramp-maybe-open-connection): Use it.
11341 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11343 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11344 minimal set of parameters passed when creating a frame, because
11345 the minibuffer status of a frame cannot be changed later.
11347 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11349 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11350 replace-regexp-in-string and inadvertent omissions in previous change.
11351 (todo-filter-items): Ensure only file names are comma-separated in
11352 name of filtered items buffer.
11354 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11356 * desktop.el: Optionally force offscreen frames back onscreen.
11357 (desktop-restoring-reuses-frames): New option.
11358 (desktop--compute-pos, desktop--move-onscreen): New functions.
11359 (desktop--make-frame): Use desktop--move-onscreen.
11361 2013-07-27 Alan Mackenzie <acm@muc.de>
11363 Fontify a Java generic method as a function.
11364 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11367 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11369 * calendar/todo-mode.el: Add command to rename todo files.
11370 (todo-rename-file): New command.
11371 (todo-key-bindings-t): Add key binding for it. Change the
11372 bindings of todo-filter-regexp-items(-multifile) to use `x'
11373 instead of `r', since the latter is better suited to the new
11376 2013-07-27 Alan Mackenzie <acm@muc.de>
11378 Make Java try-with-resources statement parse properly.
11379 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11380 (c-block-stmt-1-2-key): New language constants/variables.
11381 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11382 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11383 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11384 with c-block-stmt-1-2-key.
11386 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11388 * desktop.el (desktop--make-frame): Apply most frame parameters after
11389 creating the frame to force (partially or totally) offscreen frames to
11390 be restored as such.
11392 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11394 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11397 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11399 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11400 `base' arg of backtrace-frame.
11402 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11404 * simple.el (list-processes): Doc fix.
11406 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11408 * desktop.el (desktop--select-frame):
11409 Try harder to reuse existing frames.
11411 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11413 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11414 (edebug-eval): Use backtrace-eval.
11415 (edebug--display, edebug--recursive-edit): Don't let-bind the
11416 edebug-outer-* vars that keep track of variables we locally let-bind.
11417 (edebug-outside-excursion): Don't restore outside values of locally
11419 (edebug--display): Use user-error.
11420 (cl-lexical-debug, cl-debug-env): Remove.
11422 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11424 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11425 are restored to be sure that they are visible before deleting any
11428 2013-07-26 Matthias Meulien <orontee@gmail.com>
11430 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11431 vc-print-root-log. (Bug#14948)
11433 2013-07-26 Richard Stallman <rms@gnu.org>
11435 Add aliases for encrypting mail.
11436 * epa.el (epa-mail-aliases): New option.
11437 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11438 Bind inhibit-read-only so read-only text doesn't ruin everything.
11439 (epa-mail-default-recipients): New subroutine broken out.
11440 Handle epa-mail-aliases.
11442 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11444 Add support for lexical variables to the debugger's `e' command.
11445 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11446 vars, except for debugger-outer-match-data.
11447 (debugger-frame-number): Move check for "on a function call" from
11448 callers into it. Add `skip-base' argument.
11449 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11450 (debugger-env-macro): Only reset the state stored in non-variables,
11451 i.e. current-buffer and match-data.
11452 (debugger-eval-expression): Rewrite using backtrace-eval.
11453 * subr.el (internal--called-interactively-p--get-frame): Remove.
11454 (called-interactively-p):
11455 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11456 `base' arg of backtrace-frame instead.
11458 2013-07-26 Glenn Morris <rgm@gnu.org>
11460 * align.el (align-regexp): Doc fix. (Bug#14857)
11461 (align-region): Explicit error if subexpression missing/does not match.
11463 * simple.el (global-visual-line-mode):
11464 Do not duplicate the mode lighter. (Bug#14858)
11466 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11468 * window.el (display-buffer): In display-buffer bind
11469 split-window-keep-point to t, bug#14829.
11471 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11473 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11474 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11475 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11476 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11477 Change accordingly.
11478 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11479 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11481 2013-07-25 Glenn Morris <rgm@gnu.org>
11483 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11485 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11487 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11488 parameter to modify-frame-parameters if the value has not changed;
11489 this is a workaround for bug#14949.
11490 (desktop--make-frame): On cl-delete-if call, check parameter name,
11491 not full parameter.
11493 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11495 * vc/vc.el (vc-ignore): New function.
11497 * vc/vc-svn.el (vc-svn-ignore): New function.
11499 * vc/vc-hg.el (vc-hg-ignore): New function.
11501 * vc/vc-git.el (vc-git-ignore): New function.
11503 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11504 (vc-dir-ignore): New function.
11506 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11507 (cvs-append-to-ignore): Move here from pcvs.el.
11509 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11511 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11513 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11515 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11516 (desktop-restore-frames): Warn when deleting an existing frame failed.
11518 2013-07-24 Glenn Morris <rgm@gnu.org>
11520 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11522 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11524 * filenotify.el (file-notify-supported-p):
11525 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11528 * autorevert.el (auto-revert-use-notify)
11529 (auto-revert-notify-add-watch):
11530 * net/tramp.el (tramp-file-name-for-operation):
11531 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11532 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11533 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11534 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11535 Remove `file-notify-supported-p' entry.
11537 2013-07-24 Glenn Morris <rgm@gnu.org>
11539 * printing.el: Replace all uses of deleted ps-windows-system,
11540 ps-lp-system, ps-flatten-list with lpr- versions.
11542 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11544 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11545 checked with memq (bug#14935).
11547 * files.el (revert-buffer-function): Use a non-nil default.
11548 (revert-buffer-preserve-modes): Declare var to
11549 provide access to the `preserve-modes' argument.
11550 (revert-buffer): Let-bind it.
11551 (revert-buffer--default): New function, extracted from revert-buffer.
11553 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11555 * lpr.el: Signal print errors more prominently.
11556 (print-region-function): Don't default to nil.
11557 (lpr-print-region): New function, extracted from print-region-1.
11558 Check lpr's return value and signal an error in case of problem.
11559 (print-region-1): Use it.
11560 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11562 (ps-printer-name): Default to nil.
11563 (ps-printer-name-option): Default to lpr-printer-switch.
11564 (ps-print-region-function): Don't default to nil.
11565 (ps-postscript-code-directory): Simplify default.
11566 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11567 (ps-string-list, ps-eval-switch, ps-flatten-list)
11568 (ps-flatten-list-1): Remove.
11569 (ps-multibyte-buffer): Avoid setq.
11570 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11571 (print-region-function, ps-print-region-function): Don't set them here.
11573 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11575 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11576 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11577 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11578 (ido-decorations): Doc fix.
11580 * ansi-color.el: Fix old URL.
11582 2013-07-23 Michael R. Mauger <michael@mauger.com>
11584 * progmodes/sql.el: Version 3.3
11585 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11586 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11587 (sql-interactive-remove-continuation-prompt): Rewrite, use
11588 functions above. Fix continuation prompt and complete output line
11590 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11591 redirected output buffer.
11592 (sql-mode): Restore deleted code (Bug#13591).
11594 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11596 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11598 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11600 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11602 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11603 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11604 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11606 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11608 * desktop.el (desktop-clear): Simplify; remove useless checks
11609 against invalid buffer names.
11610 (desktop-list*): Use cl-list*.
11611 (desktop-buffer-info, desktop-create-buffer): Simplify.
11613 2013-07-23 Leo Liu <sdl.web@gmail.com>
11615 * bookmark.el (bookmark-make-record): Restore NAME as a default
11618 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11620 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11621 extracted from autoload--insert-text.
11622 (autoload--insert-text): Remove.
11623 (autoload--print-cookie-text): New function, extracted from
11624 autoload--insert-cookie-text.
11625 (autoload--insert-cookie-text): Remove.
11626 (autoload-generate-file-autoloads): Adjust calls accordingly.
11628 * winner.el (winner-hook-installed-p): Remove.
11629 (winner-mode): Simplify accordingly.
11631 * subr.el (add-to-list): Fix compiler-macro when `append' is
11632 not constant. Don't use `cl-member' for the base case.
11634 * progmodes/subword.el: Fix boundary case (bug#13758).
11635 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11637 (subword-backward-regexp): Make it a constant.
11638 (subword-forward-internal): Don't treat a trailing capital as the
11639 beginning of a word.
11641 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11643 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11644 global value of tabulated-list-revert-hook (bug#14930).
11646 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11648 * desktop.el: Require 'cl-lib.
11649 (desktop-before-saving-frames-functions): New hook.
11650 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11651 for frames being saved. Rename from desktop--save-minibuffer-frames.
11652 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11653 Do not save frames with non-nil `desktop-dont-save' parameter.
11654 Filter out deleted frames.
11655 (desktop--find-frame): Use cl-find-if.
11656 (desktop--select-frame): Use cl-(first|second|third) to access values
11658 (desktop--make-frame): Use cl-delete-if.
11659 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11660 (desktop-restore-frames): Use cl-(first|second|third) to access values
11661 of desktop-mini. Look for visible frame at the end, not while
11664 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11665 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11666 Use string-match-p, looking-at-p (bug#14927).
11668 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11670 * desktop.el (desktop-saved-frame-states):
11671 Rename from desktop--saved-states; all users changed.
11672 (desktop-save-frames): Rename from desktop--save-frames.
11673 Do not save state to desktop file.
11674 (desktop-save): Save desktop-saved-frame-states to desktop file
11676 (desktop-restoring-frames-p): New function.
11677 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11678 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11679 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11681 * desktop.el: Correctly restore iconified frames.
11682 (desktop--filter-iconified-position): New function.
11683 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11685 2013-07-20 Glenn Morris <rgm@gnu.org>
11687 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11688 Let `message' do the formatting.
11689 (def-gdb-preempt-display-buffer): Add explicit format.
11691 * image-dired.el (image-dired-track-original-file):
11692 Use with-current-buffer.
11693 (image-dired-track-thumbnail): Use with-current-buffer.
11694 Avoid changing point of wrong window.
11696 * image-dired.el (image-dired-track-original-file):
11697 Avoid changing point of wrong window. (Bug#14909)
11699 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11701 * progmodes/gdb-mi.el (gdb-done-or-error):
11702 Guard against "%" in gdb output. (Bug#14127)
11704 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11706 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11709 * international/mule.el (coding-system-iso-2022-flags): Fix last
11712 2013-07-20 Kenichi Handa <handa@gnu.org>
11714 * international/mule.el (coding-system-iso-2022-flags):
11715 Add `8-bit-level-4'. (Bug#8522)
11717 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11719 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11722 * net/eww.el (eww-process-text-input): Allow inputting when the
11723 point is at the start of the line, as the properties aren't
11726 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11729 2013-07-19 Richard Stallman <rms@gnu.org>
11731 * epa.el (epa-popup-info-window): Doc fix.
11733 * subr.el (split-string): New arg TRIM.
11735 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11737 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11738 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11740 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11742 * filenotify.el (file-notify--library): Rename from
11743 `file-notify-support'. Do not autoload. Adapt all uses.
11744 (file-notify-supported-p): New defun.
11746 * autorevert.el (auto-revert-use-notify):
11747 Use `file-notify-supported-p' instead of `file-notify-support'.
11749 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11751 * net/tramp.el (tramp-file-name-for-operation):
11752 Add `file-notify-supported-p'.
11754 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11756 (tramp-sh-file-name-handler-alist): Add it as handler for
11757 `file-notify-supported-p '.
11759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11761 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11762 Add `ignore' as handler for `file-notify-*' functions.
11764 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11766 * simple.el (line-move-partial, line-move): Don't start vscroll or
11767 scroll-up if the current line is not taller than the window.
11770 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11772 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11773 highlight question marks in the method names as strings.
11774 (ruby-block-beg-keywords): Inline.
11775 (ruby-font-lock-keyword-beg-re): Extract from
11776 `ruby-font-lock-keywords'.
11778 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11780 * frame.el (blink-cursor-blinks): New defcustom.
11781 (blink-cursor-blinks-done): New defvar.
11782 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11783 (blink-cursor-timer-function): Check if number of blinks has been
11785 (blink-cursor-suspend, blink-cursor-check): New defuns.
11787 2013-07-15 Glenn Morris <rgm@gnu.org>
11789 * edmacro.el (edmacro-format-keys): Fix previous change.
11791 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11793 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11794 The hack didn't work outside English locales anyway.
11796 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11798 * simple.el (define-alternatives): Rename from alternatives-define,
11799 per RMS' suggestion.
11801 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11803 * desktop.el (desktop-restore-frames): Change default to t.
11804 (desktop-restore-in-current-display): Now offer more options.
11805 (desktop-restoring-reuses-frames): New customization option.
11806 (desktop--saved-states): Doc fix.
11807 (desktop-filter-parameters-alist): New variable, renamed and expanded
11808 from desktop--excluded-frame-parameters.
11809 (desktop--target-display): New variable.
11810 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11811 (desktop--filter-tty*, desktop--filter-*-color)
11812 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11813 (desktop--filter-save-desktop-parm)
11814 (desktop-restore-in-original-display-p): New functions.
11815 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11816 (desktop--save-minibuffer-frames): New function, inspired by a similar
11817 function from Martin Rudalics.
11818 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11819 (desktop--restore-in-this-display-p): Remove.
11820 (desktop--find-frame): Rename from desktop--find-frame-in-display
11821 and add predicate argument.
11822 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11823 (desktop--reuse-list): New variable.
11824 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11826 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11828 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11830 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11832 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11834 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11835 Highlight conversion methods on Kernel.
11837 2013-07-13 Alan Mackenzie <acm@muc.de>
11839 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11840 and comment it out. This out-commenting enables certain C++
11841 declarations to be parsed correctly.
11843 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11845 * international/mule.el (define-coding-system): Doc fix.
11847 * simple.el (default-font-height): Don't call font-info if the
11848 frame's default font didn't change since the frame was created.
11851 2013-07-13 Leo Liu <sdl.web@gmail.com>
11853 * ido.el (ido-read-file-name): Guard against non-symbol value.
11855 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11857 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11860 2013-07-13 Leo Liu <sdl.web@gmail.com>
11862 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11863 ido-set-matches call. (Bug#6852)
11865 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11867 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11868 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11870 (ruby-font-lock-keywords): Distinguish calls to functions with
11871 module-like names from module references. Highlight character
11874 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11876 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11877 (gdb-send): Handle continued commands. (Bug#14847)
11879 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11881 * desktop.el (desktop--v2s): Remove unused local variable.
11882 (desktop-save-buffer): Make defvar-local; adjust docstring.
11883 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11884 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11886 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11888 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11890 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11892 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11895 2013-07-12 Glenn Morris <rgm@gnu.org>
11897 * doc-view.el: Require cl-lib at runtime too.
11898 (doc-view-remove-if): Remove.
11899 (doc-view-search-next-match, doc-view-search-previous-match):
11902 * edmacro.el: Require cl-lib at runtime too.
11903 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11904 (edmacro-mismatch, edmacro-subseq): Remove.
11906 * shadowfile.el: Require cl-lib.
11907 (shadow-remove-if): Remove.
11908 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11911 * wid-edit.el: Require cl-lib.
11912 (widget-choose): Use cl-remove-if.
11913 (widget-remove-if): Remove.
11915 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11916 (ebrowse-delete-if-not): Remove.
11917 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11918 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11919 Use cl-delete-if-not.
11921 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11923 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11924 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11926 2013-07-12 Leo Liu <sdl.web@gmail.com>
11928 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11930 2013-07-11 Glenn Morris <rgm@gnu.org>
11932 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11933 (edebug-gensym-index, edebug-gensym):
11934 Remove reimplementation of cl-gensym.
11935 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11937 * thumbs.el: Require cl-lib at run-time too.
11938 (thumbs-gensym-counter, thumbs-gensym):
11939 Remove reimplementation of cl-gensym.
11940 (thumbs-temp-file): Use cl-gensym.
11942 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11943 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11944 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11945 (ert--union, ert--gensym-counter, ert--gensym-counter)
11946 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11947 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11948 (ert-make-test-unbound, ert--expand-should-1)
11949 (ert--expand-should, ert--should-error-handle-error)
11950 (should-error, ert--explain-equal-rec)
11951 (ert--plist-difference-explanation, ert-select-tests)
11952 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11953 Use cl-lib functions rather than reimplementations.
11955 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11957 * net/tramp.el (tramp-methods): Extend docstring.
11958 (tramp-connection-timeout): New defcustom.
11959 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11960 (with-tramp-progress-reporter): Simplify.
11961 (tramp-process-actions): Improve messages.
11963 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11964 * net/tramp-sh.el (tramp-maybe-open-connection):
11965 Use `tramp-connection-timeout'.
11966 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11969 2013-07-11 Leo Liu <sdl.web@gmail.com>
11971 * ido.el (ido-read-file-name): Conform to the requirements of
11972 read-file-name. (Bug#11861)
11973 (ido-read-directory-name): Conform to the requirements of
11974 read-directory-name.
11976 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11978 * subr.el (delay-warning): New function.
11980 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11982 * simple.el (default-line-height): New function.
11983 (line-move-partial, line-move): Use it instead of computing the
11984 line height inline.
11985 (line-move-partial): Always compute ROWH. If the last line is
11986 partially-visible, but its text is completely visible, allow
11987 cursor to enter such a partially-visible line.
11989 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11991 Improve error messages. (Bug#14808)
11993 * net/tramp.el (tramp-current-connection): New defvar, moved from
11995 (tramp-message-show-progress-reporter-message): Remove, not
11997 (tramp-error-with-buffer): Show message in minibuffer.
11998 Discard input before waiting. Reset connection timestamp.
11999 (with-tramp-progress-reporter): Improve messages.
12000 (tramp-process-actions): Use progress reporter. Delete process in
12001 case of error. Improve messages.
12003 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12004 Call `tramp-error-with-buffer' with vector and buffer.
12005 (tramp-current-connection): Remove.
12006 (tramp-maybe-open-connection): The car of
12007 `tramp-current-connection' are the first 3 slots of the vector.
12009 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12011 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12012 inside continued strings.
12014 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12016 Timestamp fixes for undo (Bug#14824).
12017 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12019 2013-07-10 Leo Liu <sdl.web@gmail.com>
12021 * files.el (require-final-newline): Allow safe local value.
12024 2013-07-09 Leo Liu <sdl.web@gmail.com>
12026 * ido.el (ido-read-directory-name): Handle fallback.
12027 (ido-read-file-name): Update DIR to ido-current-directory.
12029 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12031 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12033 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12034 "autoload". Remove "warn lower camel case" section, previously
12035 commented out. Highlight negation char. Do not highlight the
12036 target in singleton method definitions.
12038 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12040 * faces.el (tty-setup-hook): Declare the hook.
12042 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12043 and detect when a guard/pred depends on local vars (bug#14773).
12044 (pcase--u1): Adjust caller.
12046 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12048 * simple.el (line-move-partial, line-move): Account for
12050 (line-move-partial): Avoid setting vscroll when the last
12051 partially-visible line in window is of default height.
12053 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12055 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12058 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12060 * subr.el (read-quoted-char): Remove unused local variable `char'.
12062 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12064 * vc/ediff.el (ediff-version): Version update.
12065 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12066 (ediff-merge-with-ancestor-command, ediff-directories-command)
12067 (ediff-directories3-command, ediff-merge-directories-command)
12068 (ediff-merge-directories-with-ancestor-command): New functions.
12069 All are command-line interfaces to ediff: to facilitate calling
12070 Emacs with the appropriate ediff functions invoked.
12072 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12074 (viper-save-kill-buffer): Check if buffer is modified.
12076 * emulation/viper.el (viper-version): Version update.
12077 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12079 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12081 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12082 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12083 (viper-intercept-ESC-key): Simplify.
12084 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12086 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12087 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12088 (viper-setup-ESC-to-escape): New functions.
12089 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12090 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12092 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12094 * simple.el (default-font-height, window-screen-lines):
12096 (line-move, line-move-partial): Use them instead of
12097 frame-char-height and window-text-height. This makes scrolling
12098 text smoother when the buffer's default face uses a font that is
12099 different from the frame's default font.
12101 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12103 * files.el (write-file): Do not display confirm dialog for NS,
12104 it does its own dialog, which can't be canceled (Bug#14578).
12106 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12108 * simple.el (line-move-partial): Adjust the row returned by
12109 posn-at-point for the current window-vscroll. (Bug#14567)
12111 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12113 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12114 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12117 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12119 * window.el (window-state-put-stale-windows): New variable.
12120 (window--state-put-2): Save list of windows without matching buffer.
12121 (window-state-put): Remove "bufferless" windows if possible.
12123 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12125 * simple.el (alternatives-define): Remove leftover :group keyword.
12128 2013-07-06 Leo Liu <sdl.web@gmail.com>
12130 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12131 (ido-enable-virtual-buffers): New variable.
12132 (ido-buffer-internal, ido-toggle-virtual-buffers)
12133 (ido-make-buffer-list): Use it.
12134 (ido-exhibit): Support turning on and off virtual buffers
12137 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12139 * simple.el (alternatives-define): New macro.
12141 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12143 * subr.el (read-quoted-char): Use read-key.
12144 (sit-for): Let read-event decode tty input (bug#14782).
12146 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12148 * calendar/todo-mode.el: Add handling of file deletion, both by
12149 mode command and externally. Fix various related bugs.
12150 Clarify Commentary and improve some documentation strings and code.
12151 (todo-delete-file): New command.
12152 (todo-check-file): New function.
12153 (todo-show): Handle external deletion of the file we're trying to
12154 show (bug#14688). Replace called-interactively-p by an optional
12155 prefix argument to avoid problematic interaction with catch form
12156 when byte compiled (bug#14702).
12157 (todo-quit): Handle external deletion of the archive's todo file.
12158 Make sure the buffer that was visiting the archive file is still
12159 live before trying to bury it.
12160 (todo-category-completions): Handle external deletion of any
12161 category completion files.
12162 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12163 of todo files, in case of external deletion.
12164 (todo-add-file): Replace unnecessary setq by let-binding.
12165 (todo-find-archive): Check whether there are any archives.
12166 Replace unnecessary setq by let-binding.
12167 (todo-archive-done-item): Use find-file-noselect to get the
12168 archive buffer whether or not the archive already exists.
12169 Remove superfluous code. Use file size instead of buffer-file-name to
12170 check if the archive is new; if it is, update list of archives.
12171 (todo-default-todo-file): Allow nil to be a valid value for when
12172 there are no todo files.
12173 (todo-reevaluate-default-file-defcustom): Use corrected definition
12174 of todo-default-todo-file.
12175 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12176 (todo-delete-category, todo-show-categories-table)
12177 (todo-category-number): Clarify comment.
12178 (todo-filter-items): Clarify documentation string.
12179 (todo-show-current-file, todo-display-as-todo-file)
12180 (todo-reset-and-enable-done-separator): Tweak documentation string.
12181 (todo-done-separator): Make separator length window-width, since
12182 bug#2749 is now fixed.
12184 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12186 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12187 Support both "gvfs-monitor-dir" and "inotifywait".
12188 (tramp-sh-file-inotifywait-process-filter): Rename from
12189 `tramp-sh-file-notify-process-filter'.
12190 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12191 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12193 2013-07-05 Leo Liu <sdl.web@gmail.com>
12195 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12197 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12199 * frame.el (display-pixel-height, display-pixel-width)
12200 (display-mm-height, display-mm-width): Mention behavior on
12201 multi-monitor setups in docstrings.
12202 (w32-display-monitor-attributes-list): Declare function.
12203 (display-monitor-attributes-list): Use it.
12205 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12207 * filenotify.el: New package.
12209 * autorevert.el (top): Require filenotify.el.
12210 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12212 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12213 (auto-revert-notify-handler): Use `file-notify-*' functions.
12215 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12217 * net/tramp.el (tramp-file-name-for-operation):
12218 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12220 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12221 for `file-notify-add-watch' and `file-notify-rm-watch'.
12222 (tramp-process-sentinel): Improve trace.
12223 (tramp-sh-handle-file-notify-add-watch)
12224 (tramp-sh-file-notify-process-filter)
12225 (tramp-sh-handle-file-notify-rm-watch)
12226 (tramp-get-remote-inotifywait): New defuns.
12228 2013-07-03 Juri Linkov <juri@jurta.org>
12230 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12231 call of `occur-read-primary-args' to interactive spec.
12233 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12234 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12236 2013-07-03 Matthias Meulien <orontee@gmail.com>
12238 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12239 `Buffer-menu-multi-occur'. Add it to the menu.
12240 (Buffer-menu-mode): Document it in docstring.
12241 (Buffer-menu-multi-occur): New command. (Bug#14673)
12243 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12245 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12246 keywords and built-ins.
12248 2013-07-03 Glenn Morris <rgm@gnu.org>
12250 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12252 Make info-xref checks case-sensitive by default
12253 * info.el (Info-find-node, Info-find-in-tag-table)
12254 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12255 Add option for exact case matching of nodes.
12256 * info-xref.el (info-xref): New custom group.
12257 (info-xref-case-fold): New option.
12258 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12260 2013-07-03 Leo Liu <sdl.web@gmail.com>
12262 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12264 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12266 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12267 middle of block statement initially, lower the depth. Remove
12268 FIXME comment, not longer valid. Remove middle of block statement
12269 detection, no need to do that anymore since we've been using
12270 `ruby-parse-region' here.
12272 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12274 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12276 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12278 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12280 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12282 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12283 (desktop-restore-in-current-display): New customization option.
12284 (desktop--excluded-frame-parameters): Add `font'.
12285 (desktop--save-frames): Rename from desktop--save-windows.
12286 (desktop--restore-in-this-display-p): New function.
12287 (desktop--make-full-frame): Remove unwanted width/height from
12288 full(width|height) frames.
12289 (desktop--restore-frames): Rename from desktop--restore-windows.
12290 Obey desktop-restore-current-display. Do not delete old frames or
12291 select a new frame unless we were able to restore at least one frame.
12293 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12295 * files.el (find-file-noselect): Simplify conditional expression.
12297 * textmodes/remember.el (remember-append-to-file):
12298 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12300 Add `remember-notes' function to store random notes across Emacs
12302 * textmodes/remember.el (remember-data-file): Add :set callback to
12303 affect notes buffer (if any).
12304 (remember-notes): New command.
12305 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12306 New defcustoms for the `remember-notes' function.
12307 (remember-notes-save-and-bury-buffer): New command.
12308 (remember-notes-mode-map): New variable.
12309 (remember-mode): New minor mode.
12310 (remember-notes--kill-buffer-query): New function.
12311 * startup.el (initial-buffer-choice): Add notes to custom type.
12313 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12315 * bindings.el (right-char, left-char): Don't call sit-for, this is
12316 no longer needed. Use arithmetic comparison only for numerical
12319 * international/mule-cmds.el (select-safe-coding-system):
12320 Handle the case of FROM being a string correctly. (Bug#14755)
12322 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12324 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12325 progression on degenerate tables.
12326 (shr-rescale-image): ImageMagick animated images currently don't work.
12328 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12330 Some fixes and improvements for desktop frame restoration.
12331 It is still experimental and disabled by default.
12332 * desktop.el (desktop--save-windows): Put the selected frame at
12333 the head of the list.
12334 (desktop--make-full-frame): New function.
12335 (desktop--restore-windows): Try to re-select the frame that was
12336 selected upon saving. Do not abort if some frames fail to restore,
12337 just show an error message and continue. Set up maximized frames
12338 so they have default non-maximized dimensions.
12340 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12342 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12343 Don't start heredoc inside a string or comment.
12345 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12347 * bindings.el (visual-order-cursor-movement): New defcustom.
12348 (right-char, left-char): Provide visual-order cursor motion by
12349 calling move-point-visually. Update the doc strings.
12351 2013-06-28 Kenichi Handa <handa@gnu.org>
12353 * international/mule.el (define-coding-system): New coding system
12354 properties :inhibit-null-byte-detection,
12355 :inhibit-iso-escape-detection, and :prefer-utf-8.
12356 (set-buffer-file-coding-system): If :charset-list property of
12357 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12358 appropriate for setting.
12360 * international/mule-cmds.el (select-safe-coding-system):
12361 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12362 multibyte characters, return utf-8 (or one of its siblings).
12364 * international/mule-conf.el (prefer-utf-8): New coding system.
12365 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12368 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12370 * net/shr.el (shr-render-region): New function.
12372 * net/eww.el: Autoload `eww-browse-url'.
12374 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12376 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12377 Adapt to `package-desc-version' being a list.
12378 Use `package--ac-desc-version' to retrieve version from a package
12381 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12383 New experimental feature to save&restore window and frame setup.
12384 * desktop.el (desktop-save-windows): New defcustom.
12385 (desktop--saved-states): New var.
12386 (desktop--excluded-frame-parameters): New defconst.
12387 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12388 (desktop--restore-windows, desktop--save-windows): New functions.
12389 (desktop-save): Call `desktop--save-windows'.
12390 (desktop-read): Call `desktop--restore-windows'.
12392 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12394 * net/shr.el (add-face-text-property): Remove compat definition.
12396 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12398 * info.el (Info-try-follow-nearest-node): Move search for footnote
12399 above search for node name to prevent missing a footnote (bug#14717).
12401 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12403 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12405 2013-06-27 Leo Liu <sdl.web@gmail.com>
12407 * net/eww.el (eww-read-bookmarks): Check file size.
12409 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12411 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12412 advice--pending if newdef is nil or an autoload (bug#13820).
12413 (advice-mapc): New function.
12415 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12417 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12419 (eww-mode-map): Add a menu bar.
12420 (eww-add-bookmark): New command.
12421 (eww-bookmark-mode): New mode and commands.
12422 (eww-add-bookmark): Remove newlines from the title.
12423 (eww-bookmark-browse): Don't bug out if it's the only window.
12425 2013-06-26 Glenn Morris <rgm@gnu.org>
12427 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12428 (hfy-size): Handle ttys. (Bug#14668)
12430 * info-xref.el: Update for Texinfo 5 change in *note format.
12431 (info-xref-node-re, info-xref-note-re): New constants.
12432 (info-xref-check-buffer): Use info-xref-note-re.
12434 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12436 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12438 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12439 nil terminate the loop (bug#14718).
12441 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12443 * net/eww.el: Rework history traversal. When going forward/back,
12444 put these actions into the history, too, so that they can be
12446 (eww-render): Move the history reset to the correct buffer.
12448 2013-06-25 Juri Linkov <juri@jurta.org>
12450 * files-x.el (modify-dir-local-variable): Change the header comment
12451 in the file with directory local variables. (Bug#14692)
12453 * files-x.el (read-file-local-variable-value): Add `default'.
12456 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12458 * net/eww.el (eww-make-unique-file-name): Create a unique file
12459 name before saving to entering `y' accidentally asynchronously.
12461 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12463 * net/eww.el (eww-download): New command and keystroke.
12465 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12467 * net/eww.el (eww-copy-page-url): Change name of command.
12469 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12470 be more consistent with Info and dired.
12472 * net/eww.el (eww-mode-map): Ditto.
12474 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12476 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12477 packages from archives.
12478 (package-archive-contents): Change format; include obsolete packages.
12479 (package-desc): Use `dir' to mark builtin packages.
12480 (package--from-builtin): Set the `dir' field to `builtin'.
12481 (generated-autoload-file, version-control): Declare.
12482 (package-compute-transaction): Change first arg and return value to be
12483 lists of package-descs. Adjust to new package-archive-contents format.
12484 (package--add-to-archive-contents): Adjust to new
12485 package-archive-contents format.
12486 (package-download-transaction): Arg is now a list of package-descs.
12487 (package-install): If `pkg' is a package name, pass it as
12488 a requirement, so it is subject to the usual (e.g. disabled) checks.
12489 (describe-package): Accept package-desc as well.
12490 (describe-package-1): Describe a specific package-desc. Add links to
12491 other package-descs for the same package name.
12492 (package-menu-describe-package): Pass the actual package-desc.
12493 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12495 (package-desc-status): New function.
12496 (package-menu--refresh): New function, extracted
12497 from package-menu--generate.
12498 (package-menu--generate): Use it.
12499 (package-delete): Update package-alist.
12500 (package-menu-execute): Don't call package-initialize.
12502 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12503 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12504 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12505 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12506 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12507 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12509 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12511 * window.el (window--state-get-1): Workaround for bug#14527.
12512 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12514 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12516 * net/eww.el (eww-back-url): Implement the history by stashing all
12517 the data into a list.
12518 (eww-forward-url): Allow going forward in the history, too.
12520 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12522 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12523 for values and use read--expression for expressions (bug#14710).
12524 (read-file-local-variable): Avoid setq.
12525 (read-file-local-variable-mode): Use minor-mode-list.
12527 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12529 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12532 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12534 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12535 Update imenu-support when dialect changes.
12537 2013-06-25 Leo Liu <sdl.web@gmail.com>
12539 * ido.el (ido-read-internal): Allow forward slash on windows.
12541 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12543 * net/eww.el (eww): Start of strings is \\`, not ^.
12545 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12547 * net/shr.el (shr-browse-url): Fix interactive spec.
12549 * net/eww.el (eww): Add a trailing slash to domain names.
12551 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12553 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12555 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12557 * net/shr.el (shr-browse-url): Use an external browser if given a
12560 * net/eww.el (eww-external-browser): Move to shr.
12562 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12564 * net/eww.el (eww): Work more correctly for file: URLs.
12565 (eww-detect-charset): Allow quoted charsets.
12566 (eww-yank-page-url): New command and keystroke.
12568 2013-06-24 Daiki Ueno <ueno@gnu.org>
12570 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12571 file name of gpg executable.
12572 (epg-context-program): New function.
12573 (epg-context-home-directory): New function.
12574 (epg-context-set-program): New function.
12575 (epg-context-set-home-directory): New function.
12576 (epg--start): Use `epg-context-program' instead of
12578 (epg--list-keys-1): Likewise.
12580 2013-06-24 Leo Liu <sdl.web@gmail.com>
12582 * ido.el (ido-read-internal): Fix bug#14620.
12584 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12586 * faces.el (face-documentation): Simplify.
12587 (read-face-attribute, tty-find-type, x-resolve-font-name):
12588 Use `string-match-p'.
12589 (list-faces-display): Use `string-match-p'. Simplify.
12590 (face-spec-recalc): Check face to avoid face alias loops.
12591 (read-color): Use `string-match-p' and non-capturing parenthesis.
12593 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12595 * net/shr.el (shr-rescale-image): Use the new
12596 :max-width/:max-height functionality.
12598 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12600 * net/eww.el (eww-search-prefix): New variable.
12602 (eww-external-browser): New variable.
12603 (eww-mode-map): New keystroke.
12604 (eww-browse-with-external-browser): New command.
12606 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12608 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12610 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12611 Don't skip aligning the next header field when padding is 0;
12612 otherwise, field width is not respected unless the title is as
12615 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12617 * emacs-lisp/package.el (package-el-version): Remove.
12618 (package-process-define-package): Fix inf-loop.
12619 (package-install): Allow symbols as arguments again.
12621 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12623 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12624 add some more keyword-like methods.
12625 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12627 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12629 * bs.el (bs-buffer-show-mark): Make defvar-local.
12630 (bs-mode): Use setq-local.
12632 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12633 (emacs-lock--try-unlocking): Make defvar-local.
12635 2013-06-22 Glenn Morris <rgm@gnu.org>
12637 * play/cookie1.el (cookie-apropos): Minor simplification.
12639 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12641 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12643 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12644 `regexp-opt', it breaks the build during dumping.
12646 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12648 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12649 Highlight keyword-like methods on Kernel and Module with
12650 font-lock-builtin-face.
12651 (auto-mode-alist): Consolidate different entries into one regexp
12652 and add more *file-s.
12654 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12656 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12658 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12659 (diary-entry): Use it in the action of this button type instead of
12662 * calendar/todo-mode.el: New version.
12663 (todo-add-category): Append new category to end of file and give
12664 it the highest number, instead of putting it at the beginning and
12665 giving it 0. Incorporate noninteractive functionality.
12666 (todo-forward-category): Adapt to 1-based category numbering.
12667 Allow skipping over archived categories.
12668 (todo-backward-category): Derive from todo-forward-category.
12669 (todo-backward-item, todo-forward-item): Make noninteractive and
12670 delegate interactive part to new commands. Make sensitive to done items.
12671 (todo-categories): Make value an alist of category names and
12672 vectors of item counts.
12673 (todo-category-beg): Make a defconst.
12674 (todo-category-number): Use 1 instead of 0 as initial value.
12675 (todo-category-select): Make sensitive to overlays, optional item
12676 highlighting and done items.
12677 (todo-delete-item): Make sensitive to overlays and marked and done items.
12678 (todo-edit-item): Make sensitive to overlays and editing of
12679 date/time header optional. Add format checks.
12680 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12681 no-op if point is not on an item. Advertise using todo-edit-quit.
12682 (todo-edit-mode): Make sensitive to new format, font-locking, and
12683 multiple todo files.
12684 (todo-insert-item, todo-insert-item-here): Derive from
12685 todo-basic-insert-item and extend functionality.
12686 (todo-item-end, todo-item-start): Make sensitive to done items.
12687 (todo-item-string): Don't return text properties. Restore point.
12688 (todo-jump-to-category): Make sensitive to multiple todo files and
12689 todo archives. Use extended category completion.
12690 (todo-lower-item, todo-raise-item): Rename to *-priority and
12691 derive from todo-set-item-priority.
12692 (todo-mode): Derive from special-mode. Make sensitive to new
12693 format, font-locking and multiple todo files. Make read-only.
12694 (todo-mode-map): Don't suppress digit keys, so they can supply
12695 prefix arguments. Add many new key bindings.
12696 (todo-prefix): Insert as an overlay instead of file text.
12697 Change semantics from diary date expression to purely visual mark.
12698 (todo-print): Rename to todo-print-buffer. Make buffer display
12699 features printable. Remove option to restrict number of items
12700 printed. Add option to print to file.
12701 (todo-print-function): Rename to todo-print-buffer-function.
12702 (todo-quit): Extend to handle exiting new todo modes.
12703 (todo-remove-item): Make sensitive to overlays.
12704 (todo-save): Extend to buffers of filtered items.
12705 (todo-show): Make sensitive to done items, multiple todo files and
12706 new todo modes. Offer to convert legacy todo file before creating
12707 first new todo file.
12708 (todo-show-priorities): Rename to todo-top-priorities.
12709 Change semantics of value 0.
12710 (todo-top-priorities): Rename to todo-filter-top-priorities,
12711 derive from todo-filter-items and extend functionality.
12712 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12713 and extend functionality to other types of filtered items.
12714 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12715 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12716 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12717 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12718 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12719 (todo-edit-mode-hook, todo-entry-prefix-function)
12720 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12721 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12722 (todo-initials, todo-insert-threshold, todo-item-string-start)
12723 (todo-line-string, todo-menu, todo-mode-hook)
12724 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12725 (todo-print-priorities, todo-remove-separator)
12726 (todo-save-top-priorities-too, todo-string-count-lines)
12727 (todo-string-multiline-p, todo-time-string-format)
12728 (todo-tmp-buffer-name): Remove.
12729 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12730 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12731 (todo-edit-category-diary-inclusion)
12732 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12733 (todo-edit-file, todo-edit-item-date-day)
12734 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12735 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12736 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12737 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12738 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12739 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12740 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12741 (todo-filter-top-priorities-multifile, todo-find-archive)
12742 (todo-find-filtered-items-file, todo-go-to-source-item)
12743 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12744 (todo-jump-to-archive-category, todo-lower-category)
12745 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12746 (todo-move-category, todo-move-item, todo-next-button)
12747 (todo-next-item, todo-padded-string, todo-powerset)
12748 (todo-previous-button, todo-previous-item)
12749 (todo-print-buffer-to-file, todo-raise-category)
12750 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12751 (todo-set-category-number, todo-set-item-priority)
12752 (todo-set-top-priorities-in-category)
12753 (todo-set-top-priorities-in-file, todo-show-categories-table)
12754 (todo-sort-categories-alphabetically-or-numerically)
12755 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12756 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12757 (todo-toggle-item-header, todo-toggle-item-highlighting)
12758 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12759 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12760 (todo-unarchive-items, todo-unmark-category): New commands.
12761 (todo-absolute-file-name, todo-add-to-buffer-list)
12762 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12763 (todo-basic-insert-item, todo-category-completions)
12764 (todo-category-number, todo-category-string-matcher-1)
12765 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12766 (todo-check-format, todo-clear-matches)
12767 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12768 (todo-current-category, todo-date-string-matcher)
12769 (todo-define-insertion-command, todo-diary-expired-matcher)
12770 (todo-diary-goto-entry, todo-diary-item-p)
12771 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12772 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12773 (todo-done-item-section-p, todo-done-separator)
12774 (todo-done-string-matcher, todo-files, todo-filter-items)
12775 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12776 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12777 (todo-insert-category-line, todo-insert-item-from-calendar)
12778 (todo-insert-sort-button, todo-insert-with-overlays)
12779 (todo-insertion-command-name, todo-insertion-key-bindings)
12780 (todo-label-to-key, todo-longest-category-name-length)
12781 (todo-make-categories-list, todo-mode-external-set)
12782 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12783 (todo-modes-set-3, todo-multiple-filter-files)
12784 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12785 (todo-read-category, todo-read-date, todo-read-dayname)
12786 (todo-read-file-name, todo-read-time)
12787 (todo-reevaluate-category-completions-files-defcustom)
12788 (todo-reevaluate-default-file-defcustom)
12789 (todo-reevaluate-filelist-defcustoms)
12790 (todo-reevaluate-filter-files-defcustom)
12791 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12792 (todo-reset-done-separator, todo-reset-done-separator-string)
12793 (todo-reset-done-string, todo-reset-global-current-todo-file)
12794 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12795 (todo-reset-prefix, todo-set-categories)
12796 (todo-set-date-from-calendar, todo-set-show-current-file)
12797 (todo-set-top-priorities, todo-short-file-name)
12798 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12799 (todo-total-item-counts, todo-update-buffer-list)
12800 (todo-update-categories-display, todo-update-categories-sexp)
12801 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12803 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12805 (todo-categories, todo-display, todo-edit, todo-faces)
12806 (todo-filtered): New defgroups.
12807 (todo-archived-only, todo-button, todo-category-string, todo-date)
12808 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12809 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12810 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12811 (todo-add-item-if-new-category, todo-always-add-time-string)
12812 (todo-categories-align, todo-categories-archived-label)
12813 (todo-categories-category-label, todo-categories-diary-label)
12814 (todo-categories-done-label, todo-categories-number-separator)
12815 (todo-categories-todo-label, todo-categories-totals-label)
12816 (todo-category-completions-files, todo-completion-ignore-case)
12817 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12818 (todo-done-separator-string, todo-done-string)
12819 (todo-files-function, todo-filter-done-items, todo-filter-files)
12820 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12821 (todo-initial-category, todo-initial-file, todo-item-mark)
12822 (todo-legacy-date-time-regexp, todo-mode-line-function)
12823 (todo-nondiary-marker, todo-number-prefix)
12824 (todo-print-buffer-function, todo-show-current-file)
12825 (todo-show-done-only, todo-show-first, todo-show-with-done)
12826 (todo-skip-archived-categories, todo-top-priorities-overrides)
12827 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12828 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12830 (todo-category-done, todo-date-pattern, todo-date-string-start)
12831 (todo-diary-items-buffer, todo-done-string-start)
12832 (todo-filtered-items-buffer, todo-item-start)
12833 (todo-month-abbrev-array, todo-month-name-array)
12834 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12835 (todo-top-priorities-buffer): New defconsts.
12836 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12837 (todo-categories-with-marks, todo-category-string-face)
12838 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12839 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12840 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12841 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12842 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12843 (todo-font-lock-keywords, todo-global-current-todo-file)
12844 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12845 (todo-insertion-commands-args)
12846 (todo-insertion-commands-args-genlist)
12847 (todo-insertion-commands-names, todo-insertion-map)
12848 (todo-key-bindings-t, todo-key-bindings-t+a)
12849 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12850 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12851 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12852 (todo-visited): New variables.
12854 2013-06-21 Glenn Morris <rgm@gnu.org>
12856 * play/cookie1.el (cookie-apropos): Add optional display argument.
12857 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12858 (psychoanalyze-pinhead): Use cookie-doctor.
12860 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12862 * emacs-lisp/package.el (tar-get-file-descriptor)
12863 (tar--extract): Declare.
12865 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12867 Extend flymake's warning predicate to be a function (bug#14217).
12868 * progmodes/flymake.el (flymake-warning-predicate): New.
12869 (flymake-parse-line): Use it.
12870 (flymake-warning-re): Make obsolete alias to
12871 `flymake-warning-predicate'.
12873 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12875 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12876 (package-obsolete-list): Remove.
12877 (package-activate): Remove min-version argument. Add `force' argument.
12878 Adjust to new package-alist format.
12879 (package-mark-obsolete): Remove.
12880 (package-unpack): Force reload of the package's autoloads.
12881 (package-installed-p): Check builtins if the installed package is not
12883 (package-initialize): Don't reset package-obsolete-list.
12884 Don't specify which package version to activate.
12885 (package-process-define-package, describe-package-1)
12886 (package-menu--generate): Adjust to new package-alist format.
12888 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12890 * allout-widgets.el (allout-widgets-mode-off)
12891 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12892 (allout-widgets-post-command-business)
12893 (allout-widgets-after-copy-or-kill-function)
12894 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12895 (allout-decorate-item-and-context)
12896 (allout-graphics-modification-handler): Fix typos in docstrings.
12897 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12899 * cmuscheme.el (scheme-start-file): Doc fix.
12900 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12901 (scheme-input-filter): Use `string-match-p'.
12903 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12905 * dired-x.el: Use Dired consistently in docstrings.
12907 * dired.el: Use Dired consistently in docstrings.
12908 (dired-readin, dired-mode): Use `setq-local'.
12909 (dired-switches-alist): Make defvar-local.
12910 (dired-buffers-for-dir): Use `zerop'.
12911 (dired-safe-switches-p, dired-switches-escape-p)
12912 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12913 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12914 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12915 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12916 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12917 (dired-toggle-marks, dired-mark-files-containing-regexp)
12918 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12919 (dired-flag-auto-save-files, dired-flag-backup-files):
12920 Use `looking-at-p'.
12921 (dired-mark-files-regexp, dired-build-subdir-alist):
12922 Use `string-match-p', `looking-at-p'.
12924 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12925 (direct-print-region-helper): Use `string-match-p'.
12927 2013-06-21 Leo Liu <sdl.web@gmail.com>
12929 * comint.el (comint-redirect-results-list-from-process):
12932 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12934 * net/eww.el (eww-update-header-line-format): Quote % characters.
12936 2013-06-21 Glenn Morris <rgm@gnu.org>
12938 * play/cookie1.el (cookie): New custom group.
12939 (cookie-file): New option.
12940 (cookie-check-file): New function.
12941 (cookie): Make it interactive. Make start and end messages optional.
12942 Interactively, display the result. Default to cookie-file.
12943 (cookie-insert): Default to cookie-file.
12944 (cookie-snarf): Make start and end messages optional.
12945 Default to cookie-file. Use with-temp-buffer.
12946 (cookie-read): Rename from read-cookie.
12947 Make start and end messages optional. Default to cookie-file.
12948 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12949 Do not autoload it.
12950 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12951 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12953 2013-06-21 Leo Liu <sdl.web@gmail.com>
12955 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12957 2013-06-21 Glenn Morris <rgm@gnu.org>
12959 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12961 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12962 Daniel Hackney <dan@haxney.org>
12964 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12965 Consolidate the single-file vs tarball code.
12966 (package-desc-suffix): New function.
12967 (package-desc-full-name): Don't bother inlining it.
12968 (package-load-descriptor): Return the new package-desc.
12969 (package-mark-obsolete): Remove unused arg `package'.
12970 (package-unpack): Make it work for single files as well.
12971 Make it update package-alist.
12972 (package--make-autoloads-and-stuff): Rename from
12973 package--make-autoloads-and-compile. Don't compile any more.
12974 (package--compile): New function.
12975 (package-generate-description-file): New function, extracted from
12976 package-unpack-single.
12977 (package-unpack-single): Remove.
12978 (package--with-work-buffer): Add indentation and debugging info.
12979 (package-download-single): Remove.
12980 (package-install-from-archive): Rename from package-download-tar, make
12981 it take a pkg-desc, and make it work for single files as well.
12982 (package-download-transaction): Simplify.
12983 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12984 external tar program.
12985 (package-install-from-buffer): Remove `pkg-desc' argument.
12986 Use package-tar-file-info for tar-mode buffers.
12987 (package-install-file): Simplify accordingly.
12988 (package-archive-base): Change to take a pkg-desc.
12989 * tar-mode.el (tar--check-descriptor): New function, extracted from
12990 tar-get-descriptor.
12991 (tar-get-descriptor): Use it.
12992 (tar-get-file-descriptor): New function.
12993 (tar--extract): New function, extracted from tar-extract.
12994 (tar--extract): Use it.
12995 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12996 case the summary uses non-ascii. Adjust to new calling convention of
12997 package-tar-file-info.
12999 2013-06-21 Leo Liu <sdl.web@gmail.com>
13001 * comint.el (comint-redirect-results-list-from-process):
13002 Fix random delay. (Bug#14681)
13004 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13006 * profiler.el (profiler-format-number): Use log, not log10.
13008 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13010 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13012 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13014 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13015 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13017 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13018 (AUTOGENEL): ... here.
13019 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13020 (cl--defsubst-expand): Use it.
13022 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13024 * subr.el (log10): Move here from C code, and declare as obsolete.
13025 All uses of (log10 X) replaced with (log X 10).
13027 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13029 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13030 Declare with `defvar-local'.
13031 (tabulated-list-use-header-line, tabulated-list-entries)
13032 (tabulated-list-padding, tabulated-list-printer)
13033 (tabulated-list-sort-key): Declare with `defvar-local'.
13034 (tabulated-list-init-header, tabulated-list-print-fake-header):
13037 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13039 * arc-mode.el (archive-mode): Add `archive-write-file' to
13040 `write-contents-functions' also for remote files. (Bug#14652)
13042 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13044 * cus-edit.el (custom-commands): Fix typos.
13045 (custom-display): Fix tooltip text.
13046 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13047 Fix typos in docstrings.
13048 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13049 (custom-unlispify-menu-entry, custom-magic-value-create)
13050 (custom-add-see-also, custom-group-value-create): Use ?\s.
13051 (custom-guess-type, customize-apropos, editable-field)
13052 (custom-face-value-create): Use `string-match-p'.
13053 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13055 * custom.el (custom-load-symbol): Use `string-match-p'.
13057 * ansi-color.el: Convert to lexical binding.
13058 (ansi-colors): Fix URL.
13059 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13060 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13061 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13063 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13065 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13067 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13069 2013-06-19 Tom Tromey <tromey@redhat.com>
13071 * net/eww.el (eww-top-url): Remove.
13072 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13073 (eww-render): Set new variables. Don't set eww-top-url.
13074 (eww-handle-link): Handle "prev", "home", and "contents".
13075 Downcase the rel text.
13076 (eww-top-url): Choose best top URL.
13078 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13080 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13081 relying in widget.el. Using widget.el leads to too many
13082 user interface inconsistencies.
13083 (eww-self-insert): Implement entering commands in text fields.
13084 (eww-process-text-input): New function to make text input field editing
13086 (eww-submit): Rewrite to use the new-style form methods.
13087 (eww-select-display): Display the correct selected item.
13088 (eww-change-select): Implement changing the select value.
13089 (eww-toggle-checkbox): Implement radio/checkboxes.
13090 (eww-update-field): Fix compilation error.
13091 (eww-tag-textarea): Implement <textarea>.
13093 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13094 we don't shadow mode-specific bindings.
13096 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13099 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13101 2013-06-19 Glenn Morris <rgm@gnu.org>
13103 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13105 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13107 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13110 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13112 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13114 * net/browse-url.el (browse-url-browser-function):
13115 `eww-browse-url' has the right calling signature, `eww' does not.
13117 2013-06-19 Glenn Morris <rgm@gnu.org>
13119 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13120 Only eval autoloaded macros.
13121 (byte-compile-autoload): Only give the macro warning for macros.
13123 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13124 (ps-underlined-faces): Declare.
13126 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13127 (speedbar-add-supported-extension): Declare.
13129 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13130 Don't include a date stamp in the header of the generated file;
13131 it leads to needless differences between output files.
13133 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13135 * net/secrets.el (secrets-struct-secret-content-type):
13136 Replace check of introspection data by a test call of "CreateItem".
13137 Some servers do not offer introspection.
13139 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13141 * electric.el (electric-pair-mode): Improve interaction with
13142 electric-layout-mode.
13143 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13144 (electric-pair-syntax): Use text-mode-syntax-table in comments
13146 (electric-pair--insert): New function.
13147 (electric-pair-post-self-insert-function): Use it and
13148 electric--after-char-pos.
13150 2013-06-19 Leo Liu <sdl.web@gmail.com>
13152 * progmodes/octave.el (octave-help): Fix regexp.
13154 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13156 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13157 (shr-table-horizontal-line): Allow nil as a value, and change the
13159 (shr-insert-table-ruler): Respect the nil value.
13161 2013-06-18 Tom Tromey <tromey@barimba>
13163 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13165 (eww-open-file): New defun.
13166 (eww-render): Initialize new variables.
13167 (eww-display-html): Handle "link" and "a".
13168 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13169 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13170 (eww-back-url): Rename from eww-previous-url.
13171 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13174 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13176 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13177 Distinguish ternary operator tokens from slash symbol and slash
13180 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13182 Convert symbol prettification into minor mode and global minor mode.
13184 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13185 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13186 (prettify-symbols--keywords): Rename from
13187 `prog-prettify-symbols-alist' and make a local defvar.
13188 (prettify-symbols--compose-symbol): Rename from
13189 `prog--prettify-font-lock-compose-symbol'.
13190 (prettify-symbols--make-keywords): Rename from
13191 `prog-prettify-font-lock-symbols-keywords' and simplify.
13192 (prog-prettify-install): Remove.
13193 (prettify-symbols-mode): New minor mode, based on
13194 `prog-prettify-install'.
13195 (turn-on-prettify-symbols-mode): New function.
13196 (global-prettify-symbols-mode): New globalized minor mode.
13198 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13199 * progmodes/cfengine.el (cfengine3-mode):
13200 * progmodes/perl-mode.el (perl-mode): Don't call
13201 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13203 2013-06-18 Juri Linkov <juri@jurta.org>
13205 * files-x.el (modify-file-local-variable-message): New function.
13206 (modify-file-local-variable)
13207 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13208 and call `modify-file-local-variable-message' when it's non-nil.
13209 (add-file-local-variable, delete-file-local-variable)
13210 (add-file-local-variable-prop-line)
13211 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13212 and use it. (Bug#9820)
13214 2013-06-18 Juri Linkov <juri@jurta.org>
13216 * emulation/vi.el (vi-shell-op):
13217 * emulation/vip.el (vip-execute-com, ex-command):
13218 * emulation/viper-cmd.el (viper-exec-bang):
13219 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13220 the call of `shell-command-on-region'. (Bug#14637)
13222 * simple.el (shell-command-on-region): Doc fix.
13224 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13226 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13229 2013-06-18 Glenn Morris <rgm@gnu.org>
13231 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13233 * newcomment.el (comment-search-forward, comment-search-backward):
13234 Doc fix. (Bug#14376)
13236 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13238 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13239 (buffer-face-mode-invoke): Doc fix.
13241 2013-06-18 Matthias Meulien <orontee@gmail.com>
13243 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13244 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13246 2013-06-18 Glenn Morris <rgm@gnu.org>
13248 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13249 Replace obsolete function generic-make-keywords with its expansion.
13251 * progmodes/python.el (ffap-alist): Declare.
13253 * textmodes/reftex.el (bibtex-mode-map): Declare.
13255 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13257 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13258 (package-unpack, package-unpack-single): Return the pkg-dir.
13259 (package-download-transaction): Use it to update package-alist.
13261 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13263 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13266 2013-06-17 Juri Linkov <juri@jurta.org>
13268 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13270 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13272 * emacs-lisp/package.el (package-load-descriptor):
13273 Remove `with-syntax-table' call, `read' doesn't need it.
13274 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13276 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13278 * startup.el (command-line): Expand package name returned by
13279 `package--description-file' (bug#14639).
13281 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13283 * emacs-lisp/package.el (package-load-descriptor): Do not call
13284 `emacs-lisp-mode', just use its syntax table.
13286 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13288 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13289 `font-lock-extra-managed-props' if any prettifying keyword is added.
13290 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13291 (prog-mode): Use `setq-local'.
13293 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13295 * international/characters.el (standard-case-table): Set syntax of ?»
13296 and ?« to punctuation.
13298 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13300 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13301 Save relevant match data before calling `syntax-ppss' (bug#14595).
13303 2013-06-15 Juri Linkov <juri@jurta.org>
13305 * files-x.el (modify-file-local-variable-prop-line): Add local
13306 variables to the end of the existing comment on the first line.
13307 Use `file-auto-mode-skip' to skip interpreter magic line,
13308 and also skip XML declaration.
13310 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13312 * startup.el (package--builtin-versions): New var.
13313 (package-subdirectory-regexp): Remove.
13314 (package--description-file): Hard code its value instead.
13316 * emacs-lisp/package.el: Don't activate packages older than builtin.
13317 (package-obsolete-list): Rename from package-obsolete-alist, and make
13318 it into a simple list of package-desc.
13319 (package-strip-version): Remove.
13320 (package-built-in-p): Use package--builtin-versions.
13321 (package-mark-obsolete): Simplify.
13322 (package-process-define-package): Mark it obsolete if older than the
13324 (package-handle-response): Use line-end-position.
13325 (package-read-archive-contents, package--download-one-archive):
13327 (package--add-to-archive-contents): Skip if older than the builtin or
13329 (package-menu-describe-package): Fix last change.
13330 (package-list-unversioned): New var.
13331 (package-menu--generate): Use it.
13333 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13334 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13335 (autoload-builtin-package-versions): New variable.
13336 (autoload-generate-file-autoloads): Use them.
13337 Remove the list of autoloaded functions/macros from the
13338 (autoload...) comments.
13340 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13342 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13344 * simple.el (line-move-partial): Don't jump to the next screen
13345 line as soon as it becomes visible. Instead, continue enlarging
13346 the vscroll until the portion of a tall screen line that's left on
13347 display is about the height of the frame's default font.
13350 2013-06-15 Glenn Morris <rgm@gnu.org>
13352 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13353 compilation-error-regexp-alist void, or local while let-bound.
13355 * progmodes/make-mode.el (makefile-mode-syntax-table):
13356 Treat "=" as punctuation. (Bug#14614)
13358 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13360 * help-fns.el (describe-variable):
13361 Add extra line for permanent-local variables.
13363 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13365 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13366 Add export, import, library. (Bug#9164)
13367 (library): Set indent function.
13369 2013-06-14 Glenn Morris <rgm@gnu.org>
13371 * term/xterm.el (xterm--query):
13372 Stop after first matching handler. (Bug#14615)
13374 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13376 Add support for dired in saveplace.
13377 * dired.el (dired-initial-position-hook): New variable.
13378 (dired-initial-position): Call hook to place cursor position.
13379 * saveplace.el (save-place-to-alist): Add dired position.
13380 (save-place-dired-hook): New function.
13382 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13384 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13385 through a symbol rather than letrec.
13387 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13388 (package-desc): Add `dir' field.
13389 (package-desc-full-name): New function.
13390 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13391 (package-maybe-load-descriptor): Remove.
13392 (package-load-all-descriptors): Just call package-load-descriptor.
13393 (package--disabled-p): New function.
13394 (package-desc-vers, package-desc-doc): Remove aliases.
13395 (package--dir): Remove function.
13396 (package-activate): Check if a package is disabled.
13397 (package-process-define-package): New function, extracted from
13399 (define-package): Turn into a place holder.
13400 (package-unpack-single, package-tar-file-info):
13401 Use package--description-file.
13402 (package-compute-transaction): Use package--disabled-p.
13403 (package-download-transaction): Don't call
13404 package-maybe-load-descriptor since they're all loaded anyway.
13405 (package-install): Change argument to be a pkg-desc.
13406 (package-delete): Use a single pkg-desc argument.
13407 (describe-package-1): Use package-desc-dir instead of package--dir.
13408 Use package-desc property instead of package-symbol.
13409 (package-install-button-action): Adjust accordingly.
13410 (package--push): Rewrite.
13411 (package-menu--print-info): Adjust accordingly. Change the ID format
13413 (package-menu-describe-package, package-menu-get-status)
13414 (package-menu--find-upgrades, package-menu-mark-upgrades)
13415 (package-menu-execute, package-menu--name-predicate):
13416 Adjust accordingly.
13417 * startup.el (package--description-file): New function.
13418 (command-line): Use it.
13419 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13420 Use package-desc-version.
13422 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13423 (byte-compile-preprocess): Use it.
13424 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13425 can't quite recognize.
13426 (byte-compile-add-to-list): Remove.
13427 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13428 (cconv-closure-convert): Add assertion.
13430 * emacs-lisp/map-ynp.el: Use lexical-binding.
13431 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13432 Factor out some repeated code.
13434 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13436 * subr.el (with-eval-after-load): New macro.
13437 (eval-after-load): Allow form to be a function.
13438 take advantage of lexical-binding.
13439 (do-after-load-evaluation): Use dolist and adjust to new format.
13440 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13442 2013-06-13 Juri Linkov <juri@jurta.org>
13444 * replace.el (perform-replace): Display "symbol " and other search
13445 modes from `isearch-message-prefix' in the *Help* buffer.
13447 * isearch.el (isearch-query-replace): Add " symbol" and other
13448 possible search modes from `isearch-message-prefix' to the prompt.
13449 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13450 when reading a regexp to collect.
13452 2013-06-13 Juri Linkov <juri@jurta.org>
13454 * isearch.el (word-search-regexp): Match whitespace if the search
13455 string begins or ends in whitespace. The LAX arg is applied to
13456 both ends of the search string. Use `regexp-quote' and explicit
13457 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13458 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13459 boundaries are replaced with symbol boundaries, and characters
13460 between symbols match non-word non-symbol syntax. (Bug#14602)
13462 2013-06-13 Juri Linkov <juri@jurta.org>
13464 * isearch.el (isearch-del-char): Don't exceed the length of
13465 `isearch-string' by the prefix arg. (Bug#14563)
13467 2013-06-13 Juri Linkov <juri@jurta.org>
13469 * isearch.el (isearch-yank-word, isearch-yank-line)
13470 (isearch-char-by-name, isearch-quote-char)
13471 (isearch-printing-char, isearch-process-search-char):
13472 Add optional count prefix arg. (Bug#14563)
13474 * international/isearch-x.el
13475 (isearch-process-search-multibyte-characters):
13476 Add optional count prefix arg.
13478 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13480 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13481 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13484 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13486 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13488 2013-06-13 Glenn Morris <rgm@gnu.org>
13490 * startup.el (tty-handle-args):
13491 Don't just discard "--" and anything after. (Bug#14608)
13493 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13495 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13497 Implement changes in Secret Service API. Make it backward compatible.
13498 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13499 (secrets-create-item): Use it. Prefix properties with interface.
13501 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13503 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13504 (term-emulate-terminal): Respect term-suppress-hard-newline.
13506 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13508 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13509 Only remove a `thumb-file' overlay. (Bug#14548)
13511 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13513 * mail/reporter.el (reporter-submit-bug-report):
13514 Handle missing package-name. (Bug#14600)
13516 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13518 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13519 (reftex-citation-prompt, reftex-default-bibliography)
13520 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13521 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13522 (reftex-bib-sort-author, reftex-bib-sort-year)
13523 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13524 (reftex-extract-bib-entries-from-thebibliography)
13525 (reftex-get-bibkey-default, reftex-get-bib-names)
13526 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13527 (reftex-format-bib-entry, reftex-parse-bibitem)
13528 (reftex-format-bibitem, reftex-do-citation)
13529 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13530 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13531 (reftex-insert-bib-matches, reftex-format-citation)
13532 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13533 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13534 existing comments into docstrings.
13536 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13538 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13540 2013-06-12 Andreas Schwab <schwab@suse.de>
13542 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13543 for auto-save files.
13545 2013-06-12 Glenn Morris <rgm@gnu.org>
13547 * ido.el (ido-delete-ignored-files): Remove.
13548 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13549 Go back to calling ido-ignore-item-p directly.
13551 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13553 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13555 * ido.el (ido-delete-ignored-files): New function,
13556 split from ido-make-file-list-1.
13557 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13558 (ido-make-file-list-1): Use ido-delete-ignored-files.
13560 2013-06-12 Leo Liu <sdl.web@gmail.com>
13562 * progmodes/octave.el (inferior-octave-startup)
13563 (inferior-octave-completion-table)
13564 (inferior-octave-track-window-width-change)
13565 (octave-eldoc-function-signatures, octave-help)
13566 (octave-find-definition): Use single quoted strings.
13567 (inferior-octave-startup-args): Change default value.
13568 (inferior-octave-startup): Do not hard code "-i" and
13569 "--no-line-editing".
13570 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13571 (inferior-octave-directory-tracker): Use it.
13572 (octave-goto-function-definition): Robustify.
13573 (octave-help): Support highlighting operators in 'See also'.
13574 (octave-find-definition): Find subfunctions only in Octave mode.
13576 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13578 * help-fns.el (help-fns--compiler-macro): If the handler function is
13579 named, then put a link to it.
13580 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13581 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13582 (cl-typep): Use it.
13583 (cl-eval-when): Simplify debug spec.
13584 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13585 compiler-macro function instead of setting `compiler-macro-file'.
13587 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13589 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13590 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13592 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13593 Daniel Hackney <dan@haxney.org>
13595 First part of Daniel Hackney's patch to package.el.
13596 * emacs-lisp/package.el: Use defstruct.
13597 (package-desc): New, main struct.
13598 (package--bi-desc, package--ac-desc): New structs, used to describe the
13599 format in external files.
13600 (package-desc-vers): Replace with package-desc-version accessor.
13601 (package-desc-doc): Replace with package-desc-summary accessor.
13602 (package-activate-1): Remove `package' arg since the pkg-vec now
13604 (define-package): Use package-desc-from-define.
13605 (package-unpack-single): Change file-name arg to be a symbol.
13606 (package--add-to-archive-contents): Use package-desc-create and new
13607 accessor functions to package--ac-desc.
13608 (package-buffer-info, package-tar-file-info): Return a package-desc.
13609 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13610 arg to be a package-desc.
13611 (package-install-file): Adjust accordingly. Use \' to match EOS.
13612 (package--from-builtin): New function.
13613 (describe-package-1, package-menu--generate): Use it.
13614 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13615 (package-generate-autoloads): Idem and return the name of the file.
13616 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13617 Change pkg-info arg to be a package-desc.
13618 Use package-make-ac-desc.
13619 (package-upload-file): Use \' to match EOS.
13620 * finder.el (finder-compile-keywords): Use package-make-builtin.
13622 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13624 * vc/vc.el (vc-deduce-fileset): Change error message.
13625 (vc-read-backend): New function.
13626 (vc-next-action): Use it.
13628 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13630 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13631 (prolog-font-lock-keywords): Use regexp-opt instead.
13632 Don't manually highlight strings.
13633 (prolog-mode-variables): Simplify comment-start-skip.
13634 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13636 * emacs-lisp/generic.el (generic--normalise-comments)
13637 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13638 (generic-mode-set-comments): Use them.
13639 (generic-bracket-support): Use setq-local.
13640 (generic-make-keywords-list): Declare obsolete.
13642 2013-06-11 Glenn Morris <rgm@gnu.org>
13644 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13645 Prettify after setting font-lock-defaults. (Bug#14574)
13647 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13649 * replace.el (query-replace, occur-read-regexp-defaults-function)
13651 * subr.el (declare-function, number-sequence, local-set-key)
13652 (substitute-key-definition, locate-user-emacs-file)
13653 (with-silent-modifications, split-string, eval-after-load):
13654 Fix typos, remove unneeded backslashes and reflow some docstrings.
13656 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13658 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13659 default for Elisp files.
13661 2013-06-11 Glenn Morris <rgm@gnu.org>
13663 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13664 although define-derived-mode was doing this anyway. (Bug#14583)
13666 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13668 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13669 Fix make-variable-buffer-local call to refer to the correct variable.
13671 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13673 * eshell/em-term.el (eshell-visual-commands)
13674 (eshell-visual-subcommands, eshell-visual-options):
13675 Add summary line to docstrings. Add cross-references.
13677 2013-06-10 Glenn Morris <rgm@gnu.org>
13679 * epa.el (epa-read-file-name): New function. (Bug#14510)
13680 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13682 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13684 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13685 output redirection to be ignored with visual commands.
13687 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13689 * eshell/em-term.el (eshell-visual-command-p): New function.
13690 (eshell-term-initialize): Move long lambda to separate function
13691 eshell-visual-command-p.
13692 * eshell/em-dirs.el (eshell-dirs-initialize):
13693 * eshell/em-script.el (eshell-script-initialize):
13694 Add missing #' to lambda.
13696 2013-06-08 Leo Liu <sdl.web@gmail.com>
13698 * progmodes/octave.el (octave-add-log-current-defun): New function.
13699 (octave-mode): Set add-log-current-defun-function.
13700 (octave-goto-function-definition): Do not move point if not found.
13701 (octave-find-definition): Enhance to try subfunctions first.
13703 2013-06-08 Glenn Morris <rgm@gnu.org>
13705 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13706 (byte-compile-backward-char, byte-compile-backward-word):
13707 Improve previous change, to handle non-explicit nil.
13709 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13711 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13712 (smie--opener/closer-at-point): New function.
13713 (smie--matching-block-data): Use it. Don't match from right after an
13714 opener or right before a closer. Obey smie-blink-matching-inners.
13715 Don't signal a mismatch for repeated inners like "switch..case..case".
13717 2013-06-07 Leo Liu <sdl.web@gmail.com>
13719 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13721 (octave-function-header-regexp): Fix. (Bug#14570)
13722 (octave-help-mode-finish-hook, octave-help-mode-finish):
13723 Remove. Just use temp-buffer-show-hook.
13725 * newcomment.el (comment-search-backward): Revert last change.
13728 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13730 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13732 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13733 through xargs, to avoid failure due to MS-Windows limitations on
13734 command-line length.
13736 2013-06-06 Glenn Morris <rgm@gnu.org>
13738 * font-lock.el (lisp-font-lock-keywords-2):
13739 Treat user-error like error.
13741 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13742 (byte-compile-backward-char, byte-compile-backward-word):
13743 Handle explicit nil arguments. (Bug#14565)
13745 2013-06-05 Alan Mackenzie <acm@muc.de>
13747 * isearch.el (isearch-allow-prefix): New user option.
13748 (isearch-other-meta-char): Don't exit isearch when a prefix
13749 argument is typed whilst `isearch-allow-prefix' is non-nil.
13752 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13754 * autorevert.el (auto-revert-notify-handler): Use memq.
13755 Hide assertion failure.
13757 * skeleton.el: Use cl-lib.
13758 (skeleton-further-elements): Use defvar-local.
13759 (skeleton-insert): Use cl-progv.
13761 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13763 * progmodes/prog-mode.el (prog-prettify-symbols)
13764 (prog-prettify-install): Update docstrings.
13766 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13768 * simple.el: Move all the prog-mode code to prog-mode.el.
13769 * progmodes/prog-mode.el: New file.
13770 * loadup.el: Add prog-mode.el.
13772 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13774 * simple.el (prog-prettify-symbols): Add version.
13775 (prog-prettify-install): Add convenience function to prettify symbols.
13777 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13778 (perl--augmented-font-lock-keywords-1)
13779 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13780 variables and use it.
13782 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13783 (cfengine3-mode): Remove unneeded variable and use it.
13785 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13786 (lisp--augmented-font-lock-keywords-1)
13787 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13788 Remove unneeded variables and use it.
13790 2013-06-05 João Távora <joaotavora@gmail.com>
13792 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13793 to point when opening the connection. (Bug#14380)
13795 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13797 * subr.el (load-history-regexp, load-history-filename-element)
13798 (eval-after-load, after-load-functions, do-after-load-evaluation)
13799 (eval-next-after-load, display-delayed-warnings)
13800 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13801 definition of save-match-data.
13802 (overriding-local-map): Remove accidental obsolescence declaration.
13804 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13806 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13808 Generalize symbol prettify support to prog-mode and implement it
13809 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13810 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13811 (prog--prettify-font-lock-compose-symbol)
13812 (prog-prettify-font-lock-symbols-keywords): New variables and
13813 functions to support symbol prettification.
13814 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13815 (lisp--augmented-font-lock-keywords-1)
13816 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13817 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13818 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13819 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13820 Implement prettify of -> => :: strings.
13821 * progmodes/perl-mode.el (perl-prettify-symbols)
13822 (perl--font-lock-compose-symbol)
13823 (perl--font-lock-symbols-keywords): Move to prog-mode.
13824 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13825 (perl-font-lock-keywords-1)
13826 (perl-font-lock-keywords-2): Remove explicit prettify support.
13827 (perl--augmented-font-lock-keywords)
13828 (perl--augmented-font-lock-keywords-1)
13829 (perl--augmented-font-lock-keywords-2, perl-mode):
13830 Implement prettify support.
13832 2013-06-05 Leo Liu <sdl.web@gmail.com>
13834 Re-implement SMIE matching block highlight using
13835 show-paren-data-function. (Bug#14395)
13836 * emacs-lisp/smie.el (smie-matching-block-highlight)
13837 (smie--highlight-matching-block-overlay)
13838 (smie--highlight-matching-block-lastpos)
13839 (smie-highlight-matching-block)
13840 (smie-highlight-matching-block-mode): Remove.
13841 (smie--matching-block-data-cache): New variable.
13842 (smie--matching-block-data): New function.
13843 (smie-setup): Use smie--matching-block-data for
13844 show-paren-data-function.
13846 * progmodes/octave.el (octave-mode-menu): Fix.
13847 (octave-find-definition): Skip garbage lines.
13849 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13851 Fix compilation error with simultaneous dynamic+lexical scoping.
13852 Add warning when a defvar appears after the first let-binding.
13853 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13854 (byte-compile-close-variables): Initialize it.
13855 (byte-compile--declare-var): New function.
13856 (byte-compile-file-form-defvar)
13857 (byte-compile-file-form-define-abbrev-table)
13858 (byte-compile-file-form-custom-declare-variable): Use it.
13859 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13860 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13861 (byte-compile-bind): Handle dynamic bindings that shadow
13863 (byte-compile-unbind): Make arg non-optional.
13864 (byte-compile-let): Simplify.
13865 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13866 (cconv--analyse-function, cconv-analyse-form): Populate it.
13867 Protect byte-compile-bound-variables to limit the scope of defvars.
13868 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13869 Remove unneeded rule for `declare'.
13871 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13872 so as to avoid depending on cl-adjoin at run-time.
13873 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13875 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13876 (macroexp--warn-and-return): Use it.
13878 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13880 * subr.el: Convert to lexical binding.
13881 (overriding-local-map): Make obsolete.
13882 (add-to-list): Doc fix. Add compiler macro.
13883 (read-key): Swap values of local maps.
13885 2013-06-05 Leo Liu <sdl.web@gmail.com>
13887 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13889 2013-06-04 Leo Liu <sdl.web@gmail.com>
13891 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13892 (compilation-auto-jump): Suppress the "Mark set" message to give
13893 way to exit message.
13895 2013-06-04 Alan Mackenzie <acm@muc.de>
13897 Remove faulty optimisation from indentation calculation.
13898 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13899 search limit based on 2000 characters back from indent-point.
13901 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13903 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13905 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13907 * emacs-lisp/lisp.el: Use lexical-binding.
13908 (lisp--local-variables-1, lisp--local-variables): New functions.
13909 (lisp--local-variables-completion-table): New var.
13910 (lisp-completion-at-point): Use it complete let-bound vars.
13912 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13913 eagerly (bug#14422).
13915 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13917 * autorevert.el (auto-revert-notify-enabled)
13918 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13919 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13920 (auto-revert-notify-handler): Handle also gfilenotify.
13922 * subr.el (file-notify-handle-event): New defun. Replacing ...
13923 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13926 2013-06-03 Juri Linkov <juri@jurta.org>
13928 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13929 `M-s h .'. (Bug#14427)
13931 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13932 command `hi-lock-face-symbol-at-point'.
13933 (hi-lock-face-symbol-at-point): New command.
13934 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13935 (hi-lock-menu): Add `highlight-symbol-at-point'.
13936 (hi-lock-mode): Doc fix.
13938 * isearch.el (isearch-forward-symbol-at-point): New command.
13939 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13940 (isearch-highlight-regexp): Add a regexp which matches
13941 words/symbols for word/symbol mode.
13943 * subr.el (find-tag-default-bounds): New function with the body
13944 mostly moved from `find-tag-default'.
13945 (find-tag-default): Move most code to `find-tag-default-bounds',
13946 call it and apply `buffer-substring-no-properties' afterwards.
13948 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13950 * eshell/em-term.el (eshell-term-initialize):
13951 Use `cl-intersection' rather than `intersection'.
13953 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13955 * vc/log-view.el: Doc fix.
13956 (log-view-mode-map): Copy keymap from `special-mode-map'.
13958 2013-06-02 Eric Ludlam <zappo@gnu.org>
13960 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13961 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13962 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13963 (eieio-unbound, eieio-default-superclass)
13964 (eieio--define-field-accessors, method-static, method-before)
13965 (method-primary, method-after, method-num-lists)
13966 (method-generic-before, method-generic-primary)
13967 (method-generic-after, method-num-slots)
13968 (eieio-specialized-key-to-generic-key)
13969 (eieio--check-type, class-v, class-p)
13970 (eieio-class-name, define-obsolete-function-alias)
13971 (eieio-class-parents-fast, eieio-class-children-fast)
13972 (same-class-fast-p, class-constructor, generic-p)
13973 (generic-primary-only-p, generic-primary-only-one-p)
13974 (class-option-assoc, class-option, eieio-object-p)
13975 (class-abstract-p, class-method-invocation-order)
13976 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13977 (eieio-class-un-autoload, eieio-defclass)
13978 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13979 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13980 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13981 (eieio-defgeneric-reset-generic-form)
13982 (eieio-defgeneric-form-primary-only)
13983 (eieio-defgeneric-reset-generic-form-primary-only)
13984 (eieio-defgeneric-form-primary-only-one)
13985 (eieio-defgeneric-reset-generic-form-primary-only-one)
13986 (eieio-unbind-method-implementations)
13987 (eieio--defmethod, eieio--typep)
13988 (eieio-perform-slot-validation, eieio-validate-slot-value)
13989 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13990 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13991 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13992 (eieio-slot-name-index, eieio-class-slot-name-index)
13993 (eieio-set-defaults, eieio-initarg-to-attribute)
13994 (eieio-attribute-to-initarg, eieio-c3-candidate)
13995 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13996 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13997 (eieio-class-precedence-list, eieio-generic-call-methodname)
13998 (eieio-generic-call-arglst, eieio-generic-call-key)
13999 (eieio-generic-call-next-method-list)
14000 (eieio-pre-method-execution-functions, eieio-generic-call)
14001 (eieio-generic-call-primary-only, eieiomt-method-list)
14002 (eieiomt-optimizing-obarray, eieiomt-install)
14003 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14004 (eieio-generic-form, eieio-defmethod, make-obsolete)
14005 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14006 (defclass): Remove `eval-and-compile' from macro.
14007 (call-next-method, shared-initialize): Instead of using
14008 `scoped-class' variable, use new eieio--scoped-class, and
14009 eieio--with-scoped-class.
14010 (initialize-instance): Rename local variable 'scoped-class' to
14011 'this-class' to remove ambiguitity from old global.
14013 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14015 (eieio--scoped-class-stack): New variable.
14016 (eieio--scoped-class): New fcn.
14017 (eieio--with-scoped-class): New scoping macro.
14018 (eieio-defclass): Use pushnew instead of add-to-list.
14019 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14020 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14021 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14022 `scoped-class' variable, use new eieio--scoped-class, and
14023 eieio--with-scoped-class.
14025 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14027 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14029 * eshell/esh-ext.el (eshell-external-command): Pass args to
14030 `eshell-find-interpreter'.
14031 (eshell-find-interpreter): Add new second parameter ARGS.
14033 * eshell/em-script.el (eshell-script-initialize): Add second arg
14034 to the function added as MATCH to `eshell-interpreter-alist'.
14036 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14037 the function added as MATCH to `eshell-interpreter-alist'.
14039 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14040 (eshell-visual-options): New defcustom.
14041 (eshell-escape-control-x): Adapt docstring.
14042 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14043 `eshell-visual-options' in addition to `eshell-visual-commands'.
14044 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14046 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14048 * progmodes/python.el (python-indent-block-enders): Add break,
14049 continue and raise keywords.
14051 2013-06-01 Glenn Morris <rgm@gnu.org>
14053 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14055 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14056 * progmodes/cc-cmds.el (delete-forward-p):
14057 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14058 * progmodes/cc-engine.el (buffer-syntactic-context):
14059 * progmodes/cc-fonts.el (face-property-instance):
14060 * progmodes/cc-mode.el (set-keymap-parents):
14061 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14062 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14063 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14064 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14065 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14067 * progmodes/cc-vars.el (other): Emacs has this widget since
14068 at least 21.1, so don't (re)define it.
14070 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14071 Replace the obsolete alias pcomplete-arg-quote-list.
14073 2013-06-01 Leo Liu <sdl.web@gmail.com>
14075 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14076 punctuation syntax.
14077 (inferior-octave-minimal-columns)
14078 (inferior-octave-last-column-width): New variables.
14079 (inferior-octave-track-window-width-change): New function.
14080 (inferior-octave-mode): Adjust column width so that Octave output,
14081 for example from 'ls', can fit into the window nicely.
14083 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14085 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14086 Highlight expansions inside regexp literals.
14088 2013-05-31 Glenn Morris <rgm@gnu.org>
14090 * obsolete/sym-comp.el (symbol-complete):
14091 Replace obsolete completion-annotate-function.
14093 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14095 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14097 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14098 New function, checks if point is inside a literal that allows
14099 expression expansion.
14100 (ruby-syntax-propertize-expansion): Use it.
14101 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14104 2013-05-30 Juri Linkov <juri@jurta.org>
14106 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14108 (isearch-invisible): New variable.
14109 (isearch-forward): Doc fix.
14110 (isearch-mode): Set `isearch-invisible'
14111 to the value of `search-invisible'.
14112 (isearch-toggle-case-fold): Doc fix.
14113 (isearch-toggle-invisible): New command.
14114 (isearch-query-replace): Let-bind `search-invisible'
14115 to the value of `isearch-invisible'.
14116 (isearch-search): Use `isearch-invisible' instead of
14117 `search-invisible'. Let-bind `search-invisible'
14118 to the value of `isearch-invisible'. (Bug#11378)
14120 2013-05-30 Juri Linkov <juri@jurta.org>
14122 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14123 call when `query-flag' is nil and `search-invisible' is non-nil.
14126 2013-05-30 Glenn Morris <rgm@gnu.org>
14128 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14130 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14131 (cc-require): Suppress spurious "noruntime" warnings.
14132 (cc-require-when-compile): Use fboundp, for sake of compiler.
14134 * progmodes/cc-mode.el: Move load of cc-vars before that of
14135 cc-langs (which in turn loads cc-vars), to quieten compiler.
14137 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14139 * paren.el: Simplify the code.
14140 (show-paren-mode): Always start the timer.
14141 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14142 (show-paren--overlay, show-paren--overlay-1): Rename from
14143 show-paren-overlay and show-paren-overlay-1, and initialize to an
14144 overlay rather than to nil.
14145 (show-paren-function): Misc cleanup and simplifications.
14147 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14149 * paren.el (show-paren-data-function): New hook.
14150 (show-paren--default): New function, extracted from show-paren-function.
14151 (show-paren-function): Use show-paren-data-function.
14153 2013-05-30 Glenn Morris <rgm@gnu.org>
14155 * ielm.el (ielm-map, ielm-complete-symbol):
14156 Use completion-at-point rather than obsolete functions.
14157 (inferior-emacs-lisp-mode): Doc fix.
14158 Set completion-at-point-functions, rather than
14159 comint-dynamic-complete-functions.
14161 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14162 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14163 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14165 * image.el (image-animated-p): Tweak definition.
14167 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14168 (rlogin-process-connection-type): Tweak default. Add set-after.
14169 (rlogin-host): Doc fix.
14170 (rlogin): Tweak prompt.
14171 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14173 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14174 * progmodes/tcl.el (inferior-tcl-mode-map):
14175 Use completion-at-point rather than obsolete alias.
14177 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14179 * minibuffer.el (read-file-name-completion-ignore-case):
14180 Move before completion--in-region, for eager macro expansion.
14182 2013-05-29 Juri Linkov <juri@jurta.org>
14184 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14185 for total count of matching lines. Add `global-matches' for total
14186 count of matches. Rename `matches' to `lines' for count of
14187 matching lines. Add `matches' for count of matches.
14188 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14189 to `prev-line' for line number of prev match endpt.
14190 Increment `matches' for every match. Print the number of
14191 matching lines in the header.
14192 (occur-context-lines): Rename `lines' to `curr-line'.
14193 Rename `prev-lines' to `prev-line'. (Bug#14017)
14195 2013-05-29 Juri Linkov <juri@jurta.org>
14197 * replace.el (perform-replace): Add `skip-read-only-count',
14198 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14199 Increment them for corresponding conditions and report the number
14200 of skipped occurrences in the final message. (Bug#11746)
14201 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14202 (replace-string, replace-regexp): Doc fix.
14204 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14206 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14208 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14209 prog-mode-map (bug#14504).
14211 2013-05-29 Leo Liu <sdl.web@gmail.com>
14213 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14214 (octave-help): Small simplification.
14216 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14217 off the highlight first.
14219 2013-05-29 Glenn Morris <rgm@gnu.org>
14221 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14222 Handle idlwave-last-system-routine-info-cons-cell being nil.
14224 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14225 (idlwave-write-paths): Simplify via with-temp-buffer.
14227 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14228 * emulation/cua-rect.el: Also load cua-base at run time.
14230 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14231 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14232 (cperl-imenu-on-info): Require imenu.
14234 2013-05-28 Alan Mackenzie <acm@muc.de>
14236 Handle "capitalised keywords" correctly.
14237 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14239 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14241 * eshell/em-unix.el: Add -r option to cp.
14243 2013-05-28 Glenn Morris <rgm@gnu.org>
14245 * vc/vc-arch.el (vc-exec-after): Declare.
14246 (vc-switches): Autoload.
14247 * vc/vc-bzr.el: No need to require vc when compiling.
14248 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14249 (vc-resynch-buffer, vc-dir-refresh): Declare.
14250 (vc-setup-buffer, vc-switches): Autoload.
14251 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14252 (vc-resynch-buffer): Declare.
14253 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14254 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14255 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14256 (grep-read-regexp, grep-read-files, grep-expand-template)
14257 (vc-dir-refresh): Declare.
14258 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14259 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14260 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14261 * vc/vc-mtn.el (vc-exec-after): Declare.
14262 (vc-switches): Autoload.
14263 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14264 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14265 (vc-file-tree-walk): Declare.
14266 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14267 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14268 (vc-tag-precondition, vc-rename-master): Autoload.
14269 * vc/vc-svn.el (vc-exec-after): Declare.
14270 (vc-switches, vc-setup-buffer): Autoload.
14271 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14273 (vc-resynch-buffer): Declare.
14275 * obsolete/fast-lock.el (byte-compile-warnings):
14276 Don't warn about obsolete features in this obsolete file.
14278 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14279 Move definition before use.
14281 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14282 (dun-unix-verbs): Remove dun-zippy.
14283 (dun-zippy): Remove function.
14285 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14287 2013-05-27 Juri Linkov <juri@jurta.org>
14289 * replace.el (replace-search): New function with code moved out
14290 from `perform-replace'.
14291 (replace-highlight, replace-dehighlight): Move function definitions
14292 up closer to `replace-search'. (Bug#11746)
14294 2013-05-27 Juri Linkov <juri@jurta.org>
14296 * replace.el (perform-replace): Ignore invisible matches.
14297 In addition to checking `query-replace-skip-read-only', also
14298 filter out matches by calling `run-hook-with-args-until-failure'
14299 on `isearch-filter-predicates', and also check `search-invisible'
14300 for t or call `isearch-range-invisible'.
14301 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14303 2013-05-27 Juri Linkov <juri@jurta.org>
14305 * isearch.el (isearch-filter-predicates): Rename from
14306 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14307 (isearch-message-prefix): Display text from the property
14308 `isearch-message-prefix' of the currently active filters.
14309 (isearch-search): Don't compare `isearch-filter-predicate' with
14310 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14311 on `isearch-filter-predicates'. Also check `search-invisible' for t
14312 or call `isearch-range-invisible'.
14313 (isearch-filter-visible): Make obsolete.
14314 (isearch-lazy-highlight-search):
14315 Call `run-hook-with-args-until-failure' on
14316 `isearch-filter-predicates' and use `isearch-range-invisible'.
14318 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14319 `isearch-filter-predicates' instead of `funcall'ing
14320 `isearch-filter-predicate'.
14321 (Info-mode): Set `Info-isearch-filter' to
14322 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14324 * dired-aux.el (dired-isearch-filter-predicate-orig):
14326 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14327 (dired-isearch-filenames-end): Add and remove
14328 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14329 instead of changing the value of `isearch-filter-predicate'.
14330 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14331 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14332 Put property `isearch-message-prefix' to "filename " on
14333 `dired-isearch-filter-filenames'.
14335 * wdired.el (wdired-change-to-wdired-mode):
14336 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14337 locally instead of changing `isearch-filter-predicate'.
14338 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14340 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14342 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14343 return the commit hash (Bug#14459). Also set the
14344 `vc-git-detached' property.
14345 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14346 (vc-git-mode-line-string): Use the same help-echo format whether
14347 in detached mode or not, because we know the actual revision now.
14348 When in detached mode, shorten the revision to 7 chars.
14350 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14352 * emacs-lisp/easy-mmode.el (define-minor-mode):
14353 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14354 mode hook and provide a docstring.
14356 2013-05-27 Alan Mackenzie <acm@muc.de>
14358 Remove spurious syntax-table text properties inserted by C-y.
14359 * progmodes/cc-mode.el (c-after-change): Also clear hard
14360 syntax-table property with value nil.
14362 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14364 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14365 when reading the events; the buffer layout shall not be changed.
14367 2013-05-27 Leo Liu <sdl.web@gmail.com>
14369 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14371 (inferior-octave-directory-tracker): Automatically re-sync
14373 (octave-help): Improve handling of 'See also'.
14375 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14377 * doc-view.el: Minor naming convention tweaks.
14378 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14380 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14381 even if there's no `display' property yet (bug#14435).
14383 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14385 * subr.el (unmsys--file-name): Rename from reveal-filename.
14387 * Makefile.in (custom-deps, finder-data, autoloads)
14388 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14389 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14390 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14392 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14394 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14395 error-completion on the first 2 args of condition-case (bug#14446).
14398 2013-05-25 Leo Liu <sdl.web@gmail.com>
14400 * comint.el (comint-previous-matching-input): Do not flood the
14401 *Messages* buffer with trivial messages.
14403 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14405 * progmodes/flymake.el (flymake-nop): Don't return a string.
14406 (flymake-set-at): Fix typo.
14408 * simple.el (read--expression): New function, extracted from
14409 eval-expression. Set completion-at-point-functions (bug#14465).
14410 (eval-expression, eval-minibuffer): Use it.
14412 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14414 * progmodes/flymake.el (flymake-save-buffer-in-file)
14415 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14416 (flymake-selected-frame, flymake-log, flymake-ins-after)
14417 (flymake-set-at, flymake-get-buildfile-from-cache)
14418 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14419 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14420 Refine the doc string.
14421 (flymake-get-file-name-mode-and-masks): Reformat.
14422 (flymake-get-real-file-name-function): Fix a minor bug.
14424 2013-05-24 Juri Linkov <juri@jurta.org>
14426 * progmodes/grep.el (grep-mode-font-lock-keywords):
14427 Support =linenumber= format used by git-grep for lines with
14428 function names. (Bug#13549)
14430 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14432 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14433 0 after a semi-colon; it works better for smie-auto-fill.
14434 (octave--indent-new-comment-line): New function.
14435 (octave-indent-new-comment-line): Use it (indirectly).
14436 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14437 modify comment-line-break-function.
14439 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14440 (smie-setup): Use add-function to set it.
14442 2013-05-24 Sam Steingold <sds@gnu.org>
14444 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14445 argument (before the `interactive' argument).
14447 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14449 * image-mode.el (image-mode-winprops): Add winprops to
14450 image-mode-winprops-alist before running
14451 image-mode-new-window-functions.
14452 * doc-view.el (doc-view-new-window-function): Don't delay
14453 doc-view-goto-page via timers (bug#14435).
14455 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14457 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14458 (doc-view-desktop-save-buffer): New function.
14459 (doc-view-restore-desktop-buffer): New function.
14460 (desktop-buffer-mode-handlers):
14461 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14463 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14464 `desktop-save-buffer' function.
14466 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14468 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14469 (tramp-gvfs-file-name-handler): Raise a user error when
14470 `tramp-gvfs-enabled' is nil.
14471 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14472 Do not raise a user error when loading package. (Bug#14447)
14474 * net/xesam.el: Move to obsolete/.
14476 2013-05-24 Glenn Morris <rgm@gnu.org>
14478 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14480 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14482 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14483 (Info-find-node, Man-getpage-in-background): Declare.
14485 * mail/unrmail.el (unrmail):
14486 Replace obsolete detect-coding-with-priority.
14488 * net/socks.el (socks-split-string): Use this rather than split-string.
14489 (socks-nslookup-host): Update for above change.
14490 (dynamic-choice, s5-dynamic-choice-match)
14491 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14492 Comment out unused code.
14494 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14495 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14496 (gud-tooltip-echo-area): Make obsolete.
14497 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14499 * progmodes/js.el (js--optimize-arglist): Declare.
14501 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14503 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14504 (ediff-window-C): Declare.
14506 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14507 Tweak requires to silence compiler.
14509 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14510 (he-search-string, he-tried-table, he-expand-list)
14511 (he-init-string, he-string-member, he-substitute-string)
14512 (he-reset-string): Declare.
14514 * obsolete/options.el (list-options): Use custom-variable-p,
14515 rather than obsolete alias.
14517 2013-05-23 Sam Steingold <sds@gnu.org>
14519 * simple.el (shell-command-on-region): Pass the `replace' argument
14520 down to `call-process-region' to comply with the doc as reported on
14521 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14523 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14525 * emacs-lisp/smie.el (smie-indent-forward-token)
14526 (smie-indent-backward-token): Handle string tokens (bug#14381).
14528 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14530 * ielm.el (ielm-menu): New menu.
14531 (inferior-emacs-lisp-mode): Set comment-start.
14533 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14535 * textmodes/reftex.el (reftex-ref-style-toggle):
14536 Fix deactivate action.
14538 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14539 Add cleveref macros.
14541 * textmodes/reftex-parse.el
14542 (reftex-locate-bibliography-files): Accept options for
14543 bibliography commands.
14544 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14545 Add addbibresource. Basic Biblatex support.
14547 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14549 * net/tramp-gvfs.el (top):
14550 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14551 when loading package. (Bug#14447)
14553 2013-05-23 Glenn Morris <rgm@gnu.org>
14555 * progmodes/js.el: No need to load comint when compiling.
14556 (ring-insert, comint-send-string, comint-send-input)
14557 (comint-last-input-end, ido-chop): Declare.
14559 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14560 * vc/ediff-mult.el: Adjust requires.
14561 (ediff-directories-internal, ediff-directory-revisions-internal)
14562 (ediff-patch-file-internal): Declare.
14563 * vc/ediff-ptch.el: Adjust requires.
14564 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14565 (ediff-find-file): Autoload.
14566 * vc/ediff-util.el: No need to load ediff when compiling.
14567 (ediff-regions-internal): Declare.
14568 * vc/ediff-wind.el: Adjust requires.
14569 (ediff-compute-toolbar-width): Define when compiling.
14570 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14571 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14572 (dired-get-filename, dired-get-marked-files)
14573 (ediff-last-dir-patch, ediff-patch-default-directory)
14574 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14575 (ediff-patch-buffer-internal): Declare.
14577 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14578 (ispell-process, ispell-buffer-local-words, lm-summary)
14579 (lm-section-start, lm-section-end): Declare.
14580 (checkdoc-ispell-init): Simplify.
14582 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14583 (he-string-member, he-reset-string, he-substitute-string): Declare.
14585 * eshell/em-ls.el: Adjust requires.
14586 (eshell-glob-regexp): Declare.
14587 * eshell/em-tramp.el: Adjust requires.
14588 (eshell-parse-command): Autoload.
14589 * eshell/em-xtra.el: Adjust requires.
14590 (eshell-parse-command): Autoload.
14591 * eshell/esh-ext.el: Adjust requires.
14592 (eshell-parse-command, eshell-close-handles): Autoload.
14593 * eshell/esh-io.el: Adjust requires.
14594 (eshell-output-filter): Autoload.
14595 * eshell/esh-util.el: No need to load tramp when compiling.
14596 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14598 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14599 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14600 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14601 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14602 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14603 * eshell/esh-opt.el, eshell/esh-proc.el:
14604 * eshell/esh-var.el: Adjust requires.
14605 * eshell/eshell.el: Do not require esh-util twice.
14606 (eshell-add-input-to-history): Declare.
14607 (eshell-command): Check history module is active before using it.
14609 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14611 2013-05-22 Leo Liu <sdl.web@gmail.com>
14613 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14615 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14617 * autorevert.el (auto-revert-notify-add-watch)
14618 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14619 it indicates changes in file modification time.
14621 2013-05-22 Glenn Morris <rgm@gnu.org>
14623 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14624 Always delete the autoloaded function from the noruntime and
14625 unresolved functions lists.
14627 * allout.el: No need to load epa, epg, overlay when compiling.
14628 (epg-context-set-passphrase-callback, epg-list-keys)
14629 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14630 (epg-key-user-id-list): Declare.
14632 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14633 (viper-set-parsing-style-toggling-macro)
14634 (viper-set-emacs-state-searchstyle-macros):
14635 Use called-interactively-p on Emacs.
14636 (viper-looking-back): Make it an obsolete alias. Update callers.
14637 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14638 Use looking-back rather than viper-looking-back.
14639 (viper-tmp-insert-at-eob, viper-enlarge-region)
14640 (viper-read-string-with-history, viper-register-to-point)
14641 (viper-append-to-register, viper-change-state-to-vi)
14642 (viper-backward-char-carefully, viper-forward-char-carefully)
14643 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14644 (viper-change-state-to-emacs): Declare.
14645 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14646 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14647 * emulation/viper-mous.el: Do not load viper-cmd.
14648 (viper-backward-char-carefully, viper-forward-char-carefully)
14649 (viper-forward-word, viper-adjust-window): Declare.
14651 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14653 * progmodes/idlw-help.el (idlwave-help-fontify):
14654 Use called-interactively-p.
14656 * term/w32console.el (w32-get-console-codepage)
14657 (w32-get-console-output-codepage): Declare.
14659 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14660 Remove unnecessary declarations.
14661 (dframe-message): Doc fix.
14663 * info.el (dframe-select-attached-frame, dframe-current-frame):
14666 * speedbar.el (speedbar-message): Make it an obsolete alias.
14667 Update all callers.
14668 (speedbar-with-attached-buffer)
14669 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14670 (speedbar-with-writable): Use backquote.
14671 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14672 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14673 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14674 rather than speedbar- aliases.
14675 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14676 (speedbar-make-specialized-keymap, speedbar-insert-button)
14677 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14678 (speedbar-do-function-pointer): Declare.
14679 (rmail-speedbar-button, rmail-speedbar-find-file)
14680 (rmail-speedbar-move-message):
14681 Use dframe-with-attached-buffer rather than speedbar- alias.
14682 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14683 (dframe-message, speedbar-make-specialized-keymap)
14684 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14685 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14686 (speedbar-insert-button, dframe-select-attached-frame)
14687 (dframe-maybee-jump-to-attached-frame)
14688 (speedbar-change-initial-expansion-list)
14689 (speedbar-previously-used-expansion-list-name): Declare.
14690 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14691 Use dframe-message, dframe-with-attached-buffer rather than
14693 (gud-sentinel): Silence compiler.
14694 * progmodes/vhdl-mode.el (speedbar-refresh)
14695 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14696 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14697 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14698 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14699 (speedbar-file-lists, speedbar-make-tag-line)
14700 (speedbar-line-directory, speedbar-goto-this-file)
14701 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14702 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14703 (speedbar-make-button, speedbar-reset-scanners)
14704 (speedbar-files-item-info, speedbar-line-text)
14705 (speedbar-find-file-in-frame, speedbar-set-timer)
14706 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14707 (speedbar-with-writable): Do not (re)define it.
14708 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14709 rather than speedbar- alias.
14711 2013-05-21 Leo Liu <sdl.web@gmail.com>
14713 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14715 (octave-mode): Tweak fill-nobreak-predicate.
14716 (inferior-octave-startup): Check process to avoid infinite loop.
14717 (inferior-octave): Pop to buffer first to show abornmal process
14720 2013-05-21 Glenn Morris <rgm@gnu.org>
14722 * printing.el (pr-menu-bar): Define when compiling.
14724 2013-05-21 Leo Liu <sdl.web@gmail.com>
14726 * progmodes/octave.el (octave-auto-fill): Remove.
14727 (octave-indent-new-comment-line): Improve.
14728 (octave-mode): Use auto fill mode through
14729 comment-line-break-function and fill-nobreak-predicate.
14730 (octave-goto-function-definition): Support DEFUN_DLD.
14731 (octave-beginning-of-defun): Small tweak.
14732 (octave-help): Show parent directory.
14734 2013-05-21 Glenn Morris <rgm@gnu.org>
14736 * files.el (dired-unmark):
14737 * progmodes/gud.el (gdb-input): Update declarations.
14739 * calculator.el (electric, ehelp): No need to load when compiling.
14740 (Electric-command-loop, electric-describe-mode): Declare.
14742 * doc-view.el (doc-view-current-converter-processes): Move before use.
14744 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14745 Move MODE-set-explicitly definition before use.
14747 * international/mule-diag.el (mule-diag):
14748 Don't use obsolete window-system-version.
14750 * mail/feedmail.el (smtpmail): No need to load when compiling.
14751 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14753 * mail/mail-utils.el (rfc822): No need to load when compiling.
14754 (rfc822-addresses): Autoload it.
14755 (mail-strip-quoted-names): Trivial simplification.
14757 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14758 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14760 * net/snmp-mode.el (tempo): Don't duplicate requires.
14762 * progmodes/prolog.el (info): No need to load when compiling.
14763 (comint): Require before shell requires it.
14764 (Info-goto-node): Autoload it.
14765 (Info-follow-nearest-node): Declare.
14766 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14768 * textmodes/artist.el (picture-mode-exit): Declare.
14770 * textmodes/reftex-parse.el (reftex-parse-from-file):
14771 Trivial rewrite so the compiler can parse it better.
14773 2013-05-20 Leo Liu <sdl.web@gmail.com>
14775 * progmodes/octave.el (octave-help-mode-map)
14776 (octave-help-mode-finish-hook): New variables.
14777 (octave-help-mode, octave-help-mode-finish): New functions.
14778 (octave-help): Use octave-help-mode.
14780 2013-05-20 Glenn Morris <rgm@gnu.org>
14782 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14784 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14786 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14787 start at point, so that expansion starting right after opening
14788 slash in a regexp is recognized.
14789 (ruby-syntax-before-regexp-re): New defvar, extracted from
14790 ruby-syntax-propertize-function. Since the value of this regexp
14791 is looked up at runtime now, we should be able to turn
14792 `ruby-syntax-methods-before-regexp' into a defcustom later.
14793 (ruby-syntax-propertize-function): Split regexp matching into two
14794 parts, for opening and closing slashes. That allows us to skip
14795 over string interpolations and support multiline regexps.
14796 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14797 for them, which calls `ruby-syntax-propertize-expansion'.
14798 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14799 call to `ruby-syntax-propertize-function'.
14800 (ruby-syntax-propertize-expansion): Extracted from
14801 `ruby-syntax-propertize-expansions'. Handles one expansion.
14802 (ruby-syntax-propertize-percent-literal): Leave point right after
14803 the percent symbol, so that the expression expansion rule can
14804 propertize the contents.
14805 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14807 (ruby-syntax-propertize-expansions): Remove.
14809 2013-05-18 Juri Linkov <juri@jurta.org>
14811 * man.el (Man-default-man-entry): Remove `-' from the end
14812 of the default value. (Bug#14400)
14814 2013-05-18 Glenn Morris <rgm@gnu.org>
14816 * comint.el (comint-password-prompt-regexp):
14817 Allow "password for XXX" where XXX contains colons (eg https://...).
14819 2013-05-18 Leo Liu <sdl.web@gmail.com>
14821 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14822 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14823 (octave-source-directories): Don't check process.
14824 (octave-source-directories, octave-find-definition): Doc fix.
14826 2013-05-18 Glenn Morris <rgm@gnu.org>
14828 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14829 Remove backspace/delete bindings. (Bug#14392)
14831 * cus-dep.el (custom-make-dependencies): Sort the output.
14832 (custom-versions-load-alist): Convert comment to doc.
14834 2013-05-17 Leo Liu <sdl.web@gmail.com>
14836 * newcomment.el (comment-search-backward): Stricter in finding
14837 comment start. (Bug#14303)
14839 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14840 (octave-comment-start-skip): Properly anchored.
14842 2013-05-17 Leo Liu <sdl.web@gmail.com>
14844 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14845 Clean up when turned off. (Bug#14395)
14846 (smie--highlight-matching-block-overlay): No longer buffer-local.
14847 (smie-highlight-matching-block): Adjust.
14849 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14851 Doc string fix for "nanoseconds" (Bug#14406).
14852 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14853 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14855 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14857 * calc/calc-units.el (math-extract-units): Preserve powers
14860 2013-05-17 Leo Liu <sdl.web@gmail.com>
14862 * subr.el (delete-consecutive-dups): New function.
14863 * ido.el (ido-set-matches-1): Use it.
14864 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14865 * ido.el (ido-remove-consecutive-dups): Remove.
14867 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14869 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14870 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14871 regexp-opt's `words'.
14873 2013-05-16 Leo Liu <sdl.web@gmail.com>
14875 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14876 (smie--highlight-matching-block-overlay)
14877 (smie--highlight-matching-block-lastpos)
14878 (smie--highlight-matching-block-timer): New variables.
14879 (smie-highlight-matching-block): New function.
14880 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14881 (smie-setup): Conditionally enable smie-blink-matching-open.
14883 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14885 Sync with upstream verilog-mode r840.
14886 * progmodes/verilog-mode.el (verilog-mode-version)
14887 (verilog-mode-release-date): Update.
14888 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14889 (verilog-sig-tieoff): Fix string error on
14890 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14891 (verilog-read-decls): Fix parameters confusing
14892 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14894 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14896 * subr.el (reveal-filename): New function.
14898 * loadup.el: Compute Emacs executable versions on MS-Windows,
14899 where executables have the .exe extension. Add a hard link
14900 emacs-XX.YY.ZZ.exe on MS-Windows.
14902 * Makefile.in (XARGS_LIMIT): New variable.
14903 (custom-deps, finder-data, autoloads)
14904 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14905 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14906 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14907 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14909 2013-05-16 Leo Liu <sdl.web@gmail.com>
14911 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14912 (octave-mode-menu, octave-mode-map): Remove its uses.
14914 2013-05-16 Reto Zimmermann <reto@gnu.org>
14916 Sync with upstream vhdl mode v3.34.2.
14917 * progmodes/vhdl-mode.el: Use `push' throughout.
14918 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14919 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14920 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14921 (vhdl-actual-generic-name): New option to derive actual generic name.
14922 (vhdl-port-paste-signals): Replace formal by actual generics.
14923 (vhdl-beautify): New name for old group vhdl-align. Update users.
14924 (vhdl-beautify-options): New option.
14925 (vhdl-last-input-event): New compat alias. Use throughout.
14926 (vhdl-goto-line): Replace user level function `goto-line'.
14927 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14928 vhdl-fix-statement-buffer.
14929 (vhdl-create-mode-menu): Add some entries.
14930 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14931 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14932 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14933 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14934 to force statements on one line.
14935 (vhdl-remove-trailing-spaces-region):
14936 New, split from vhdl-remove-trailing-spaces.
14937 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14938 Respect vhdl-beautify-options.
14939 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14940 (vhdl-update-sensitivity-list): Not add with index if exists without.
14941 Not include array index with signal. Ignore keywords in comments.
14942 (vhdl-get-visible-signals): Regexp tweaks.
14943 (vhdl-template-component-inst): Handle empty library.
14944 (vhdl-template-type): Add template for 'enum' type.
14945 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14946 Use vhdl-replace-string.
14947 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14948 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14949 (vhdl-speedbar-initialize): Update for above name change.
14950 (vhdl-compose-wire-components): Fix in handling of constants.
14951 (vhdl-error-regexp-emacs-alist): New variable.
14952 (vhdl-error-regexp-add-emacs): New function;
14953 adds support for new compile.el (Emacs 22+)
14954 (vhdl-generate-makefile-1): Change target order for single lib. units.
14955 Allow use of absolute file names.
14957 2013-05-16 Leo Liu <sdl.web@gmail.com>
14959 * simple.el (prog-indent-sexp): Indent enclosing defun.
14961 2013-05-15 Glenn Morris <rgm@gnu.org>
14963 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14964 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14965 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14966 (whitespace-highlight): Move to whitespace group.
14968 * comint.el (comint-source):
14969 * pcmpl-linux.el (pcmpl-linux):
14970 * shell.el (shell-faces):
14971 * eshell/esh-opt.el (eshell-opt):
14972 * international/ccl.el (ccl): Remove empty custom groups.
14974 * completion.el (dynamic-completion-mode):
14975 * jit-lock.el (jit-lock-debug-mode):
14976 * minibuffer.el (completion-in-region-mode):
14977 * type-break.el (type-break-mode-line-message-mode)
14978 (type-break-query-mode):
14979 * emulation/tpu-edt.el (tpu-edt-mode):
14980 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14981 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14982 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14984 * term/xterm.el (xterm): Change parent group to terminals.
14986 * master.el (master): Remove empty custom group.
14987 (master-mode): Remove unused :group argument.
14988 * textmodes/refill.el (refill): Remove empty custom group.
14989 (refill-mode): Remove unused :group argument.
14991 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14993 * cus-dep.el: Provide a feature.
14994 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14995 Don't mistakenly ignore files whose basenames match a basename
14996 from preloaded-file-list (eg cedet/ede/simple.el).
14997 Add a fallback method for getting :group.
14999 2013-05-15 Juri Linkov <juri@jurta.org>
15001 * isearch.el (isearch-char-by-name): Rename from
15002 `isearch-insert-char-by-name'. Doc fix.
15003 (isearch-forward): Mention `isearch-char-by-name' in
15004 the docstring. (Bug#13348)
15006 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15007 `exit-minibuffer' instead of
15008 `isearch-nonincremental-exit-minibuffer'.
15009 (isearch-edit-string): Remove mention of
15010 `isearch-nonincremental-exit-minibuffer' from docstring.
15011 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15012 (isearch-forward-exit-minibuffer)
15013 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15015 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15017 * loadup.el: Just use unversioned DOC.
15019 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15020 literals as extending to EOB.
15021 (nxml-last-fontify-end): Remove unused variable.
15022 (nxml-after-change1): Use with-silent-modifications.
15023 (nxml-extend-after-change-region): Simplify.
15024 (nxml-extend-after-change-region1): Remove function.
15025 (nxml-after-change1): Don't adjust for dependent regions.
15026 (nxml-fontify-matcher): Simplify.
15027 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15028 (xmltok-add-dependent): Remove function.
15029 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15030 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15031 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15032 unclosed <[[, <?, comment, and other literals as extending to EOB.
15033 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15034 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15036 (rng-do-some-validation-1): Don't mark dependent regions.
15037 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15038 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15039 (nxml-clear-dependent-regions): Remove functions.
15040 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15041 (nxml-ensure-scan-up-to-date):
15042 Don't clear&mark dependent regions.
15044 2013-05-15 Leo Liu <sdl.web@gmail.com>
15046 * progmodes/octave.el (octave-goto-function-definition):
15047 Improve and fix callers.
15049 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15051 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15052 the setter (bug#14387).
15054 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15055 surrounding group (bug#14402).
15057 2013-05-14 Juri Linkov <juri@jurta.org>
15059 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15062 2013-05-14 Glenn Morris <rgm@gnu.org>
15064 * progmodes/f90.el (f90-imenu-generic-expression):
15065 Fix typo in 2013-05-08 change. (Bug#14402)
15067 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15069 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15070 Remove signals for which replies are never received.
15072 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15074 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15075 (gdb-handler-alist, gdb-handler-number): Remove variables.
15076 (gdb-handler-list): New variable.
15077 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15078 (gdb-pending-handler-p, gdb-handle-reply)
15079 (gdb-remove-all-pending-triggers): New functions.
15080 (gdb-discard-unordered-replies): New defcustom.
15081 (gdb-handler): New defstruct.
15082 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15083 instead of gdb-pending-triggers. Update docstring.
15084 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15085 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15086 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15087 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15088 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15089 (gdb-frame-handler): Pending triggers are now automatically managed.
15090 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15092 (gdb-input): Automatically handles pending triggers. Update docstring.
15093 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15094 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15096 (gdb-done-or-error): Now use gdb-handle-reply.
15098 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15100 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15103 2013-05-14 Glenn Morris <rgm@gnu.org>
15105 * subr.el (user-emacs-directory-warning): New option.
15106 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15108 2013-05-14 Leo Liu <sdl.web@gmail.com>
15110 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15112 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15113 (octave-font-lock-texinfo-comment): Fix invalid search bound
15114 error: wrong side of point.
15116 2013-05-14 Glenn Morris <rgm@gnu.org>
15118 * progmodes/flymake.el (flymake-xml-program): New option.
15119 (flymake-xml-init): Use it.
15121 * term/xterm.el: Provide a feature.
15123 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15125 2013-05-13 Glenn Morris <rgm@gnu.org>
15127 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15128 Add compat aliases as a hack workaround. (Bug#14384)
15130 2013-05-13 Leo Liu <sdl.web@gmail.com>
15132 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15134 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15136 (octave-comment-start-skip): Include %!.
15137 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15139 2013-05-12 Leo Liu <sdl.web@gmail.com>
15141 * progmodes/octave.el (inferior-octave-startup): Store the value
15142 of __octave_srcdir__ for octave-source-directories.
15143 (inferior-octave-check-process): New function refactored out of
15144 inferior-octave-send-list-and-digest.
15145 (octave-source-directories)
15146 (octave-find-definition-filename-function): New variables.
15147 (octave-source-directories)
15148 (octave-find-definition-default-filename): New functions.
15149 (octave-find-definition): Improve to find functions implemented in C++.
15151 2013-05-12 Glenn Morris <rgm@gnu.org>
15153 * calendar/diary-lib.el (diary-outlook-format-1):
15154 Don't include dayname in the output. (Bug#14349)
15156 2013-05-11 Glenn Morris <rgm@gnu.org>
15158 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15160 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15161 Treat cc-provide like provide.
15163 2013-05-11 Kevin Ryde <user42@zip.com.au>
15165 * cus-dep.el (custom-make-dependencies):
15166 Use generated-autoload-load-name for the sake of files such
15167 such cedet/semantic/bovine/c.el, where the base file name
15168 is not in load-path. (Bug#5277)
15170 2013-05-11 Glenn Morris <rgm@gnu.org>
15172 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15175 2013-05-11 Leo Liu <sdl.web@gmail.com>
15177 * progmodes/octave.el (octave-indent-comment): Improve.
15178 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15179 (octave-eldoc-function-signatures, octave-eldoc-function):
15181 (octave-mode, inferior-octave-mode): Add eldoc support.
15183 2013-05-11 Richard Stallman <rms@gnu.org>
15185 * epa.el (epa-decrypt-file): Take output file name as argument
15186 and read it using `interactive'.
15188 2013-05-11 Leo Liu <sdl.web@gmail.com>
15190 * progmodes/octave.el (octave-beginning-of-line)
15191 (octave-end-of-line): Check before using up-list because it jumps
15192 out of more syntactic contructs since moving to smie.
15193 (octave-indent-comment): New function.
15194 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15195 (octave-begin-keywords, octave-end-keywords)
15196 (octave-reserved-words, octave-smie-bnf-table)
15197 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15199 2013-05-11 Glenn Morris <rgm@gnu.org>
15201 * faces.el (internal-face-x-get-resource):
15202 * frame.el (ns-display-monitor-attributes-list):
15203 * calc/calc-aent.el (math-to-radians-2):
15204 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15207 * calc/calc-menu.el: Make it loadable in isolation.
15209 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15210 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15211 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15212 (eudc-bbdb-query-internal): Require 'bbdb.
15214 * lpr.el (lpr-headers-switches):
15215 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15217 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15219 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15221 * term.el (term-set-escape-char): Make it idempotent.
15223 2013-05-10 Leo Liu <sdl.web@gmail.com>
15225 * progmodes/octave.el (inferior-octave-completion-table):
15226 No longer a function and all uses changed. Use cache to speed up
15227 completion due to bug#11906.
15228 (octave-beginning-of-defun): Re-write to be more general.
15230 2013-05-10 Glenn Morris <rgm@gnu.org>
15232 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15234 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15236 * comint.el (comint-redirect-send-command-to-process): Use :around
15237 rather than :override for comint-redirect-filter.
15238 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15239 Call it instead of comint-redirect-original-filter-function (which
15240 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15242 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15244 * frame.el (display-monitor-attributes-list): Add NS case.
15245 (ns-display-monitor-attributes-list): Declare.
15247 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15249 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15251 2013-05-09 Glenn Morris <rgm@gnu.org>
15253 * international/fontset.el (vertical-centering-font-regexp):
15254 Set standard-value.
15256 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15258 * bookmark.el (bookmark-search-delay):
15259 * cus-start.el (vertical-centering-font-regexp):
15260 * ps-mule.el (ps-mule-font-info-database-default):
15261 * ps-print.el (ps-default-fg, ps-default-bg):
15262 * type-break.el (type-break-good-break-interval):
15263 * whitespace.el (whitespace-indentation-regexp)
15264 (whitespace-space-after-tab-regexp):
15265 * emacs-lisp/testcover.el (testcover-1value-functions)
15266 (testcover-noreturn-functions, testcover-progn-functions)
15267 (testcover-prog1-functions):
15268 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15269 * eshell/em-glob.el (eshell-glob-translate-alist):
15270 * play/tetris.el (tetris-tty-colors):
15271 * progmodes/cpp.el (cpp-face-default-list):
15272 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15273 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15274 (idlwave-help-browser-generic-args):
15275 * progmodes/make-mode.el (makefile-special-targets-list):
15276 * progmodes/python.el (python-shell-virtualenv-path):
15277 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15278 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15279 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15280 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15281 * textmodes/reftex-vars.el (reftex-format-label-function):
15282 * textmodes/remember.el (remember-diary-file): Fix custom types.
15284 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15287 2013-05-09 Leo Liu <sdl.web@gmail.com>
15289 * progmodes/octave.el (inferior-octave-completion-at-point):
15290 Restore file completion. (Bug#14300)
15291 (inferior-octave-startup): Fix incorrect highlighting for the
15294 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15296 * progmodes/ruby-mode.el: First cut at SMIE support.
15297 (ruby-use-smie): New var.
15298 (ruby-smie-grammar): New constant.
15299 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15300 (ruby-smie--forward-token, ruby-smie--backward-token)
15301 (ruby-smie-rules): New functions.
15302 (ruby-mode-variables): Setup SMIE if applicable.
15304 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15306 * simple.el (line-move-visual): Signal beginning/end of buffer
15307 only if vertical-motion moved less than it was requested. Avoids
15308 silly incorrect error messages when there are display strings with
15309 multiple newlines at EOL.
15311 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15313 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15314 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15315 (prolog-char-quote-workaround):
15316 * progmodes/cperl-mode.el (cperl-under-as-char):
15317 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15319 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15321 (vhdl-mode-syntax-table-init): Remove.
15323 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15326 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15328 (ld-script-font-lock-keywords):
15329 Change regexps to use things like \_< and \_>.
15331 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15332 Change all regexps to use things like \_< and \_>.
15334 * progmodes/autoconf.el (autoconf-definition-regexp)
15335 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15336 Handle a _ with symbol syntax.
15337 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15339 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15340 Consolidate declaration.
15341 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15343 (ada-create-syntax-table): Remove.
15344 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15345 already has the right syntax nowadays.
15346 (ada-goto-next-word): Don't change the syntax of "_".
15348 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15351 2013-05-08 Sam Steingold <sds@gnu.org>
15353 * thingatpt.el (thing-at-point): Accept optional second argument
15354 NO-PROPERTIES to strip the text properties from the return value.
15355 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15356 to `thing-at-point' instead of stripping the properties ourselves.
15357 Also, when `thing-at-point' fails to find a url, prepend "http://"
15358 to the filename at point on the assumption that the user is
15359 pointing at something like gnu.org/gnu.
15361 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15363 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15364 * faces.el (crm-separator):
15365 Silence byte-compiler.
15367 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15368 (tool-bar-map): Remove unneeded defvars.
15370 2013-05-08 Leo Liu <sdl.web@gmail.com>
15372 Re-work a fix for bug#10994 based on Le Wang's patch.
15373 * ido.el (ido-remove-consecutive-dups): New helper.
15374 (ido-completing-read): Use it.
15375 (ido-chop): Revert fix for bug#10994.
15377 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15379 * cus-edit.el (custom-save-variables):
15380 Pretty-print long values. (Bug#14187)
15382 2013-05-08 Glenn Morris <rgm@gnu.org>
15384 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15385 (m4-mode-syntax-table): Init in the defvar.
15386 (m4-mode-abbrev-table): Let define-derived-mode define it.
15388 2013-05-08 Tom Tromey <tromey@redhat.com>
15390 * progmodes/m4-mode.el (m4-mode-syntax-table):
15391 Do not treat "_" as word constituent. (Bug#14167)
15393 2013-05-07 Glenn Morris <rgm@gnu.org>
15395 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15396 Remove explicit eshell-isearch-cancel-map.
15398 * progmodes/f90.el (f90-smart-end-names): New option.
15399 (f90-smart-end): Doc fix.
15400 (f90-end-block-optional-name): New constant.
15401 (f90-block-match): Respect f90-smart-end-names.
15403 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15405 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15406 about implicit semi-colons (bug#14218).
15408 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15410 * frame.el (display-monitor-attributes-list)
15411 (frame-monitor-attributes): New functions.
15413 2013-05-06 Leo Liu <sdl.web@gmail.com>
15415 * progmodes/octave.el (octave-syntax-propertize-function): Change
15416 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15417 (octave-font-lock-keywords): Use octave-operator-regexp.
15418 (octave-completion-at-point): Rename from
15419 octave-completion-at-point-function.
15420 (inferior-octave-directory-tracker): Robustify.
15421 (octave-text-functions): Remove and fix its uses. No such things
15424 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15426 * emacs-lisp/trace.el (trace--display-buffer): New function.
15427 (trace-make-advice): Use it.
15429 2013-05-06 Juri Linkov <juri@jurta.org>
15431 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15432 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15434 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15435 in the help string. (Bug#12985)
15437 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15439 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15441 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15443 * progmodes/perl-mode.el: Add support for here documents.
15444 (perl-syntax-propertize-function): Match here-doc markers.
15445 (perl-syntax-propertize-special-constructs): Find their end.
15446 (perl-imenu-generic-expression): Use [:alnum:].
15448 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15449 (advice--add-function): Refresh the advice if already present
15452 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15454 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15456 2013-05-06 Glenn Morris <rgm@gnu.org>
15458 * w32-fns.el (w32-charset-info-alist): Declare.
15460 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15461 of its defcustom properties.
15462 (eshell-cmpl-initialize): No need to load pcomplete.
15464 * generic-x.el: No need to require comint when compiling.
15466 * net/eudc-export.el: Make it loadable without bbdb.
15467 (top-level): Use require rather than load-library.
15468 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15469 (eudc-batch-export-records-to-bbdb)
15470 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15473 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15475 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15476 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15477 some tweaks, instead.
15479 2013-05-05 Leo Liu <sdl.web@gmail.com>
15481 * progmodes/octave.el (octave-font-lock-keywords)
15482 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15483 (inferior-octave-send-list-and-digest): Improve error message.
15484 (octave-mode, inferior-octave-mode): Use setq-local.
15485 (octave-help): Set info-lookup-mode.
15487 2013-05-05 Richard Stallman <rms@gnu.org>
15489 * vc/compare-w.el (compare-windows-whitespace):
15490 Treat no-break space as whitespace.
15492 * mail/rmailsum.el (rmail-summary-rmail-update):
15493 Detect empty summary and don't change selected message.
15494 (rmail-summary-goto-msg): Likewise.
15496 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15497 Doc fixes, rename args.
15499 2013-05-05 Alan Mackenzie <acm@muc.de>
15501 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15503 2013-05-05 Juri Linkov <juri@jurta.org>
15505 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15506 to not add the length of the summary segment to the return value.
15509 2013-05-05 Leo Liu <sdl.web@gmail.com>
15511 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15512 (inferior-octave-output-filter): Remove.
15513 (octave-send-region, inferior-octave-startup): Fix callers.
15514 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15515 (octave-binary-file-extensions): New user variable.
15516 (octave-find-definition): Confirm if opening binary files.
15517 (octave-help-file): Use octave-find-definition to get the binary
15519 (octave-help): Adjust for octave-help-file change.
15521 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15523 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15524 Merge the two entries that handle function definitions.
15525 (pascal--syntax-propertize): New const.
15526 (pascal-mode): Use it. Use setq-local.
15528 2013-05-04 Glenn Morris <rgm@gnu.org>
15530 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15531 (diary-from-outlook): Respect diary-from-outlook-function.
15533 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15535 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15536 Move the declaration from C.
15537 (read-minibuffer, eval-minibuffer): Move from C.
15538 (completion-setup-function): Avoid minibuffer-completion-contents.
15540 2013-05-03 Leo Liu <sdl.web@gmail.com>
15542 * progmodes/octave.el (octave-font-lock-keywords): Do not
15543 dehighlight 'end' in comments or strings.
15544 (octave-completing-read, octave-goto-function-definition):
15546 (octave-help-buffer): New user variable.
15547 (octave-help-file, octave-help-function): New button types.
15548 (octave-help): New command and bind it to C-h ;.
15549 (octave-find-definition): New command and bind it to M-.
15550 (user-error): Alias to error if not defined.
15552 2013-05-02 Leo Liu <sdl.web@gmail.com>
15554 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15556 (octave-font-lock-keywords): Include [ and {.
15558 2013-05-02 Leo Liu <sdl.web@gmail.com>
15560 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15561 (inferior-octave): Remove calling comint-mode and return the buffer.
15562 (inferior-octave-startup): Cosmetic changes.
15564 2013-05-02 Leo Liu <sdl.web@gmail.com>
15566 * progmodes/octave.el (octave-syntax-propertize-function):
15567 Include the case when ' is at line beginning. (Bug#14336)
15569 2013-05-02 Glenn Morris <rgm@gnu.org>
15571 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15572 * desktop.el (vc-dir-mode): Just autoload it here.
15574 2013-05-02 Alan Mackenzie <acm@muc.de>
15576 Eliminate variable c-standard-font-lock-fontify-region-function.
15577 * progmodes/cc-mode.el
15578 (c-standard-font-lock-fontify-region-function): Remove.
15579 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15581 2013-05-01 Leo Liu <sdl.web@gmail.com>
15583 * progmodes/octave.el: Compatible with older emacs-24 releases.
15584 (inferior-octave-has-built-in-variables): Remove. Built-in
15585 variables were removed from Octave in 2007.
15586 (inferior-octave-startup): Fix uses.
15587 (comint-line-beginning-position): Remove compatibility code for
15590 2013-05-01 Juri Linkov <juri@jurta.org>
15592 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15594 2013-05-01 Juri Linkov <juri@jurta.org>
15596 * comint.el (comint-previous-matching-input): Don't print message
15597 "History item: %d" when `isearch-mode' is active.
15598 (comint-history-isearch-message): Print message "History item: %d"
15599 when `comint-input-ring-index' is not empty and this function is
15600 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15602 2013-05-01 Leo Liu <sdl.web@gmail.com>
15604 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15605 definitions. Use completion-at-point to insert keywords.
15606 (octave-abbrev-start): Remove.
15607 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15609 2013-04-30 Leo Liu <sdl.web@gmail.com>
15611 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15614 2013-04-30 Alan Mackenzie <acm@muc.de>
15616 Handle arbitrarily long C++ member initialisation lists.
15617 * progmodes/cc-engine.el (c-back-over-member-initializers):
15619 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15620 (most) member init lists.
15622 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15624 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15627 2013-04-30 Leo Liu <sdl.web@gmail.com>
15629 * progmodes/octave.el (octave-variables): Remove. No builtin
15630 variables any more. All converted to functions.
15631 (octave-font-lock-keywords, octave-completion-at-point-function):
15633 (octave-font-lock-texinfo-comment): New user variable.
15634 (octave-texinfo-font-lock-keywords): New variable for texinfo
15636 (octave-function-comment-block): New face.
15637 (octave-font-lock-texinfo-comment): New function.
15638 (octave-mode): Font lock texinfo comment block.
15640 2013-04-29 Leo Liu <sdl.web@gmail.com>
15642 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15643 indexing expression.
15644 (octave-continuation-string): Do not use \.
15645 (inferior-octave-complete-impossible): Remove.
15646 (inferior-octave-completion-table)
15647 (inferior-octave-completion-at-point): Remove its uses.
15648 (inferior-octave-startup): completion_matches was introduced to
15649 Octave in 1996 so safe to assume it.
15650 (octave-function-file-comment): Improve to follow how Octave does it.
15651 (octave-update-function-file-comment): Tweak.
15653 2013-04-29 Leo Liu <sdl.web@gmail.com>
15655 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15656 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15657 (octave-function-file-comment): Fix typo.
15658 (octave-sync-function-file-names): Use read-char-choice.
15660 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15662 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15663 to t for the less important warnings.
15665 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15667 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15669 2013-04-27 Glenn Morris <rgm@gnu.org>
15671 * vc/log-view.el (log-view-current-entry):
15672 Treat "---" separator lines as part of the following rev. (Bug#14169)
15674 2013-04-27 Juri Linkov <juri@jurta.org>
15676 * subr.el (read-number): Doc fix about using it by interactive
15677 code letter `n'. (Bug#14254)
15679 2013-04-27 Juri Linkov <juri@jurta.org>
15681 * desktop.el (desktop-auto-save-timeout): New option.
15682 (desktop-file-checksum): New variable.
15683 (desktop-save): Add optional arg `auto-save' and don't auto-save
15684 if nothing changed.
15685 (desktop-auto-save-timer): New variable.
15686 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15687 (after-init-hook): Call `desktop-auto-save-set-timer'.
15688 Suggested by Reuben Thomas <rrt@sc3d.org> in
15689 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15691 2013-04-27 Leo Liu <sdl.web@gmail.com>
15693 * progmodes/octave.el (octave-function-file-p)
15694 (octave-skip-comment-forward, octave-function-file-comment)
15695 (octave-update-function-file-comment): New functions.
15696 (octave-mode-map): Bind C-c ; to
15697 octave-update-function-file-comment.
15698 (octave-mode-menu): Add octave-update-function-file-comment.
15699 (octave-mode, inferior-octave-mode): Fix doc-string.
15700 (octave-insert-defun): Conform to Octave's coding convention.
15703 * files.el (basic-save-buffer): Don't let errors in
15704 before-save-hook prevent saving buffer.
15706 2013-04-20 Roland Winkler <winkler@gnu.org>
15708 * faces.el (read-face-name): Use completing-read if arg multiple
15711 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15713 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15714 displayed, move point to after the totals line.
15715 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15718 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15720 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15721 Add current dir to the load-path.
15722 (package-generate-autoloads): Don't rely on
15723 autoload-ensure-default-file.
15725 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15727 * textmodes/remember.el (remember-store-in-files): Document that
15728 the file name format is passed to `format-time-string'.
15730 2013-04-26 Leo Liu <sdl.web@gmail.com>
15732 * progmodes/octave.el (octave-sync-function-file-names): New function.
15733 (octave-mode): Use it in before-save-hook.
15735 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15737 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15740 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15741 \n and comment, even if it's not an implicit ; (bug#14218).
15743 2013-04-26 Glenn Morris <rgm@gnu.org>
15745 * subr.el (read-number): Once more use `read' rather than
15746 `string-to-number', to trap non-numeric input. (Bug#14254)
15748 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15750 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15751 Use `syntax-multiline' text property consistently instead of
15752 `font-lock-multiline'. (Bug#14237)
15754 2013-04-26 Glenn Morris <rgm@gnu.org>
15756 * emacs-lisp/shadow.el (list-load-path-shadows):
15757 No longer necessary to check for duplicate simple.el, since
15758 2012-07-07 change to init_lread to not include installation lisp
15759 directories in load-path when running uninstalled. (Bug#14270)
15761 2013-04-26 Leo Liu <sdl.web@gmail.com>
15763 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15764 (octave-mode, inferior-octave-mode): Use setq-local.
15765 (octave-not-in-string-or-comment-p): Rename to
15766 octave-in-string-or-comment-p.
15767 (octave-in-comment-p, octave-in-string-p)
15768 (octave-in-string-or-comment-p): Replace defsubst with defun.
15770 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15772 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15774 2013-04-25 Bastien Guerry <bzg@gnu.org>
15776 * textmodes/remember.el (remember-data-directory)
15777 (remember-directory-file-name-format): Fix custom types.
15779 2013-04-25 Leo Liu <sdl.web@gmail.com>
15781 * progmodes/octave.el (octave-completion-at-point-function):
15782 Make use of inferior octave process.
15783 (octave-initialize-completions): Remove.
15784 (inferior-octave-completion-table): New function.
15785 (inferior-octave-completion-at-point): Use it.
15786 (octave-completion-alist): Remove.
15788 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15790 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15791 (opascal-mode-syntax-table): New var.
15792 (opascal-literal-kind, opascal-is-literal-end)
15793 (opascal-literal-token-at): Rewrite.
15794 (opascal--literal-start-re, opascal-font-lock-keywords)
15795 (opascal--syntax-propertize): New constants.
15796 (opascal-font-lock-defaults): Adjust.
15797 (opascal-mode): Use them. Set comment-<foo> variables as well.
15798 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15799 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15800 (delphi-other-face, opascal-other-face): Remove face variables.
15801 (opascal-save-state): Remove macro.
15802 (opascal-fontifying-progress-step): Remove constant.
15803 (opascal--ignore-changes): Remove var.
15804 (opascal-set-token-property, opascal-parse-next-literal)
15805 (opascal-is-stable-literal, opascal-complete-literal)
15806 (opascal-is-literal-start, opascal-face-of)
15807 (opascal-parse-region, opascal-parse-region-until-stable)
15808 (opascal-fontify-region, opascal-after-change)
15809 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15810 (opascal-debug-parse-region, opascal-debug-parse-window)
15811 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15812 (opascal-debug-fontify-buffer): Remove.
15813 (opascal-debug-mode-map): Adjust accordingly.
15815 2013-04-25 Leo Liu <sdl.web@gmail.com>
15817 Merge octave-mod.el and octave-inf.el into octave.el with some
15819 * progmodes/octave.el: New file renamed from octave-mod.el.
15820 * progmodes/octave-inf.el: Merged into octave.el.
15821 * progmodes/octave-mod.el: Renamed to octave.el.
15823 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15825 * textmodes/reftex-vars.el
15826 (reftex-label-ignored-macros-and-environments): New defcustom.
15828 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15830 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15832 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15833 (smie-indent-keyword): Improve the check to ensure that the next
15834 comment is really on the same line.
15835 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15837 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15838 semi-colons if the line is not otherwise empty (bug#14218).
15840 2013-04-25 Glenn Morris <rgm@gnu.org>
15842 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15844 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15846 * progmodes/opascal.el (opascal-set-token-property): Rename from
15847 opascal-set-text-properties and only set `token' (bug#14134).
15848 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15849 (opascal-literal-text-properties): Remove.
15850 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15853 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15855 * textmodes/remember.el (remember-handler-functions): Add an
15856 option for a new handler `remember-store-in-files'.
15857 (remember-data-directory, remember-directory-file-name-format):
15859 (remember-store-in-files): New function to store remember notes
15860 as separate files within a directory.
15862 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15864 * progmodes/compile.el (compilation-next-error-function):
15865 Pass "formats" to compilation-find-file (bug#11777).
15867 2013-04-24 Glenn Morris <rgm@gnu.org>
15869 * vc/vc-bzr.el (vc-bzr-print-log):
15870 * vc/vc-hg.el (vc-hg-print-log):
15871 * vc/vc-svn.el (vc-svn-print-log):
15872 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15874 * vc/vc-bzr.el (vc-bzr-print-log):
15875 * vc/vc-cvs.el (vc-cvs-print-log):
15876 * vc/vc-git.el (vc-git-print-log):
15877 * vc/vc-hg.el (vc-hg-print-log):
15878 * vc/vc-mtn.el (vc-mtn-print-log):
15879 * vc/vc-rcs.el (vc-rcs-print-log):
15880 * vc/vc-sccs.el (vc-sccs-print-log):
15881 * vc/vc-svn.el (vc-svn-print-log):
15882 * vc/vc.el (vc-print-log-internal): Doc fixes.
15884 2013-04-23 Glenn Morris <rgm@gnu.org>
15886 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15887 Remove venerable code attempting to avoid substitute-command-keys.
15889 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15891 * textmodes/reftex-vars.el (reftex-label-regexps):
15892 Call `reftex-compile-variables' after changes to this variable.
15894 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15896 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15897 Use lexical-binding.
15898 (jit-lock-force-redisplay): Use markers, check buffer's continued
15899 existence and beware narrowed buffers.
15900 (jit-lock-fontify-now): Adjust call accordingly.
15902 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15904 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15905 to avoid misleading the user.
15907 2013-04-22 Leo Liu <sdl.web@gmail.com>
15909 * info-look.el: Prefer latex2e.info. (Bug#14240)
15911 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15913 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15915 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15916 * net/tramp.el (tramp-call-process): ... here.
15917 (tramp-set-completion-function, tramp-parse-putty):
15918 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15919 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15920 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15921 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15922 (tramp-call-local-coding-command): Use `tramp-call-process'
15923 instead of `tramp-compat-call-process'.
15925 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15926 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15927 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15928 (tramp-find-inline-compress): Improve traces.
15929 (tramp-maybe-send-script): Check for Perl binary.
15930 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15932 2013-04-22 Daiki Ueno <ueno@gnu.org>
15934 * epg.el (epg-context-pinentry-mode): New function.
15935 (epg-context-set-pinentry-mode): New function.
15936 (epg--start): Pass --pinentry-mode option to gpg command.
15938 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15940 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15941 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15942 `completion-at-point'. (Bug#13774)
15944 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15945 default key binding for `describe-distribution' has been moved to
15946 `C-h C-o'. (Bug#13970)
15948 2013-04-21 Glenn Morris <rgm@gnu.org>
15950 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15952 (vc-print-log): Clarify interactive prompt.
15954 2013-04-20 Glenn Morris <rgm@gnu.org>
15956 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15957 No longer include timestamp etc information.
15959 2013-04-20 Roland Winkler <winkler@gnu.org>
15961 * faces.el (read-face-name): Bug fix, return just one face if arg
15962 multiple is nil. (Bug#14209)
15964 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15967 (remove-function): Autoload.
15969 * comint.el (comint-redirect-original-filter-function): Remove.
15970 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15971 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15972 (vc-cvs-annotate-command):
15973 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15974 * progmodes/prolog.el (prolog-consult-compile):
15975 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15976 Use add/remove-function instead.
15977 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15978 (gud-tooltip-process-output, gud-tooltip-tips):
15979 Use add/remove-function instead.
15980 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15981 (scheme-interaction-mode, exit-scheme-interaction-mode):
15982 Use add/remove-function instead.
15984 * vc/vc-dispatcher.el: Use lexical-binding.
15985 (vc--process-sentinel): Rename from vc-process-sentinel.
15986 Change last arg to be the code to run. Don't use vc-previous-sentinel
15987 and vc-sentinel-commands any more.
15988 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15989 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15991 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15993 * progmodes/sh-script.el (sh-imenu-generic-expression):
15994 Handle function names with a single character. (Bug#14111)
15996 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15998 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15999 for subroutines defined in an eval (bug#14182).
16001 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16003 * bookmark.el (bookmark-completing-read): Improve handling of empty
16004 string (bug#14176).
16006 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16008 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16010 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16012 New faster Imenu implementation (bug#14058).
16013 * progmodes/python.el:
16014 (python-imenu-prev-index-position):
16015 (python-imenu-format-item-label-function)
16016 (python-imenu-format-parent-item-label-function)
16017 (python-imenu-format-parent-item-jump-label-function):
16019 (python-imenu-format-item-label)
16020 (python-imenu-format-parent-item-label)
16021 (python-imenu-format-parent-item-jump-label)
16022 (python-imenu--put-parent, python-imenu--build-tree)
16023 (python-imenu-create-index, python-imenu-create-flat-index)
16024 (python-util-popn): New functions.
16025 (python-mode): Set imenu-create-index-function to
16026 python-imenu-create-index.
16028 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16030 * winner.el (winner-active-region): Use region-active-p, activate-mark
16031 and deactivate-mark (bug#14225).
16033 * simple.el (deactivate-mark): Don't inline it.
16035 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16037 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16039 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16041 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16042 file extensions from the archive-mode entry in order to prefer
16043 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16045 2013-04-18 Leo Liu <sdl.web@gmail.com>
16047 * bindings.el (help-event-list): Add ?\?.
16049 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16051 * subr.el (with-wrapper-hook): Declare obsolete.
16052 * simple.el (filter-buffer-substring-function): New hook.
16053 (filter-buffer-substring): Use it.
16054 (filter-buffer-substring-functions): Mark obsolete.
16055 * minibuffer.el (completion-in-region-function): New hook.
16056 (completion-in-region): Use it.
16057 (completion-in-region-functions): Mark obsolete.
16058 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16059 * abbrev.el (abbrev-expand-function): New hook.
16060 (expand-abbrev): Use it.
16061 (abbrev-expand-functions): Mark obsolete.
16062 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16063 and :filter-return.
16065 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16067 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16068 and do not care about match data.
16070 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16072 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16073 completion tables when completing error conditions and
16074 `declare' arguments.
16075 (lisp-complete-symbol, field-complete): Mark as obsolete.
16076 (check-parens): Unmatched parens are user errors.
16077 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16079 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16081 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16082 command changed buffer (ie. `flyspell-pre-buffer' is not current
16083 buffer), which prevents making decisions based on invalid value of
16084 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16085 cause an error when `flyspell-pre-point' was nil after switching
16087 (flyspell-post-command-hook): No longer needs to change buffers when
16088 checking pre-word. While at it remove unnecessary progn.
16090 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16092 * textmodes/ispell.el (ispell-add-per-file-word-list):
16093 Fix `flyspell-correct-word-before-point' error when accepting
16094 words and `coment-padding' is an integer by using
16095 `comment-normalize-vars' (Bug #14214).
16097 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16099 New defun movement commands.
16100 * progmodes/python.el (python-nav--syntactically)
16101 (python-nav--forward-defun, python-nav-backward-defun)
16102 (python-nav-forward-defun): New functions.
16104 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16106 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16107 (python-syntax-context): Use named compiler-macro for backwards
16108 compatibility with Emacs 24.x.
16110 2013-04-17 Leo Liu <sdl.web@gmail.com>
16112 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16113 octave-hide-process-buffer.
16115 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16117 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16120 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16122 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16123 Fix adjustment of offset when receiving incomplete responses from GDB
16126 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16128 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16129 python-mode-abbrev-table.
16130 (python-skeleton-define): Adjust accordingly.
16131 (python-mode-abbrev-table): New table that inherits from it so that
16132 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16134 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16135 (abbrev-symbol): Use it.
16136 (abbrev--before-point): Use it since we already handle inheritance.
16138 2013-04-16 Leo Liu <sdl.web@gmail.com>
16140 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16141 binding to info-lookup-symbol.
16143 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16145 * minibuffer.el (completion--twq-all):
16146 * term/ns-win.el (ns-initialize-window-system):
16147 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16149 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16151 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16154 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16156 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16158 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16159 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16161 (ruby-end-of-defun): Remove the unused arg, change the docstring
16162 to reflect that this function is only used as the value of
16163 `end-of-defun-function'.
16164 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16165 to reflect an earlier change that beginning/end-of-defun functions
16166 jump between methods in a class definition, as well as top-level
16169 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16171 * minibuffer.el (minibuffer-complete): Don't just scroll
16172 a *Completions* that's been iconified.
16173 (minibuffer-force-complete): Make sure repetitions do cycle when going
16174 through completion-in-region -> minibuffer-complete.
16176 2013-04-15 Alan Mackenzie <acm@muc.de>
16178 Correct the placement of c-cpp-delimiters when there're #s not at
16181 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16182 place a submatch around the #.
16183 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16184 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16187 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16189 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16190 (advice--member-p): New arg `name'.
16191 (advice--add-function, advice-member-p): Use it (bug#14202).
16193 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16195 Reformulate java imenu-generic-expression.
16196 The old expression contained ill formed regexps.
16198 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16199 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16200 (cc-imenu-java-method-arg-regexp): New defconsts.
16201 (cc-imenu-java-build-type-args-regex): New defun.
16202 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16203 handling of spaces in the regexp.
16205 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16207 * textmodes/ispell.el (ispell-command-loop): Remove
16208 flyspell highlight of a word when ispell accepts it (bug #14178).
16210 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16212 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16213 uses code from the previous `ange-ftp-run-real-handler'.
16214 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16215 only in case that function exist. This is needed for proper
16216 unloading of Tramp.
16218 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16220 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16222 * textmodes/reftex.el (reftex-compile-variables): Use it.
16224 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16226 * files.el (normal-mode): Only use default major-mode if no other mode
16229 * emacs-lisp/trace.el (trace-values): New function.
16231 * files.el: Allow : in local variables (bug#14089).
16232 (hack-local-variable-regexp): New var.
16233 (hack-local-variables-prop-line, hack-local-variables): Use it.
16235 2013-04-13 Roland Winkler <winkler@gnu.org>
16237 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16238 data before it gets modified by bibtex-beginning-of-entry.
16240 2013-04-13 Roland Winkler <winkler@gnu.org>
16242 * textmodes/bibtex.el (bibtex-url): Doc fix.
16244 2013-04-13 Roland Winkler <winkler@gnu.org>
16246 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16247 does not visit a BibTeX file, exclude it from the list of buffers
16248 returned by bibtex-initialize.
16250 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16252 * window.el (split-window): Remove interactive form, since as a
16253 command this function is a special case of split-window-below.
16254 Correct doc string.
16256 2013-04-12 Roland Winkler <winkler@gnu.org>
16258 * faces.el (read-face-name): Do not override value of arg default.
16259 Allow single faces and strings as default values. Remove those
16260 elements from return value that are not faces.
16261 (describe-face): Simplify.
16262 (face-at-point): New optional args thing and multiple so that this
16263 function can provide the same functionality previously provided by
16265 (make-face-bold, make-face-unbold, make-face-italic)
16266 (make-face-unitalic, make-face-bold-italic, invert-face)
16267 (modify-face, read-face-and-attribute): Use face-at-point.
16269 * cus-edit.el (customize-face, customize-face-other-window)
16270 * cus-theme.el (custom-theme-add-face)
16271 * face-remap.el (buffer-face-set)
16272 * facemenu.el (facemenu-set-face): Use face-at-point.
16274 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16276 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16278 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16280 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16281 off leading { and trailing } from field values.
16283 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16285 * emacs-lisp/timer.el (timer--check): New function.
16286 (timer--time, timer-set-function, timer-event-handler): Use it.
16287 (timer-set-idle-time): Simplify.
16288 (timer--activate): CSE.
16289 (timer-event-handler): Give more info in error message.
16290 (internal-timer-start-idle): New function, moved from C.
16292 * mpc.el (mpc-proc): Add `restart' argument.
16293 (mpc-proc-cmd): Use it.
16294 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16295 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16298 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16300 * progmodes/sh-script.el: Implement `sh-mode' own
16301 `add-log-current-defun-function' (bug#14112).
16302 (sh-current-defun-name): New function.
16303 (sh-mode): Use the function.
16305 2013-04-09 Bastien Guerry <bzg@gnu.org>
16307 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16309 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16311 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16313 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16316 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16318 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16321 2013-04-07 Leo Liu <sdl.web@gmail.com>
16323 * pcmpl-x.el: New file.
16325 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16327 Do not set x-display-name until X connection is established.
16328 This is needed to prevent from weird situation described at
16329 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16330 * frame.el (make-frame): Set x-display-name after call to
16331 window system initialization function, not before.
16332 * term/x-win.el (x-initialize-window-system): Add optional
16333 display argument and use it.
16334 * term/w32-win.el (w32-initialize-window-system):
16335 * term/ns-win.el (ns-initialize-window-system):
16336 * term/pc-win.el (msdos-initialize-window-system):
16337 Add compatible optional display argument.
16339 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16341 * files.el (normal-backup-enable-predicate): On MS-Windows and
16342 MS-DOS compare truenames of temporary-file-directory and of the
16343 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16344 don't fail comparison by compare-strings. Also, compare file
16345 names case-insensitively on MS-Windows and MS-DOS.
16347 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16349 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16350 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16352 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16354 * whitespace.el (whitespace-color-on, whitespace-color-off):
16355 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16357 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16359 * ispell.el (ispell-set-spellchecker-params):
16360 Really set `ispell-args' for all equivs.
16362 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16364 * ido.el (ido-completions): Use extra elements of ido-decorations
16366 (ido-decorations): Update docstring.
16368 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16370 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16371 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16372 nil during initialization, in order not to miss changes since the
16373 file was opened. (Bug#14140)
16375 2013-04-05 Leo Liu <sdl.web@gmail.com>
16377 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16379 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16381 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16383 2013-04-04 Glenn Morris <rgm@gnu.org>
16385 * electric.el (electric-pair-inhibit-predicate): Add :version.
16387 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16389 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16390 when a package is required several times (bug#14082).
16392 2013-04-04 Roland Winkler <winkler@gnu.org>
16394 * faces.el (read-face-name): Behave as promised by the docstring.
16395 Assume that arg default is a list of faces.
16396 (describe-face): Call read-face-name with list of default faces.
16398 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16400 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16401 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16402 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16404 (bookmark-exit-hook-internal): Save even if list is empty.
16406 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16408 * emacs-lisp/package.el (package-pinned-packages): New var.
16409 (package--add-to-archive-contents): Obey it (bug#14118).
16411 2013-04-03 Alan Mackenzie <acm@muc.de>
16413 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16414 Also adapt to the new values of element 7 of a parse state.
16416 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16417 parameter `not-in-delimiter'. Handle being inside comment opener.
16418 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16419 character in case we're typing a '*' after a '/'.
16420 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16421 instead by passing the parameter to c-state-pp-to-literal.
16423 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16424 for elt. 7 of a parse state.
16426 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16428 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16429 * international/latin1-disp.el, international/mule-util.el:
16430 * language/cyril-util.el, language/european.el, language/ind-util.el:
16431 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16432 * language/tibetan.el, language/viet-util.el:
16433 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16435 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16437 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16438 (electric-pair-post-self-insert-function): Use it.
16439 (electric-pair-default-inhibit): New function, extracted from
16440 electric-pair-post-self-insert-function.
16442 2013-03-31 Roland Winkler <winkler@gnu.org>
16444 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16446 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16448 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16450 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16452 Un-indent after "pass" and "return" statements (Bug#13888)
16453 * progmodes/python.el (python-indent-block-enders): New var.
16454 (python-indent-calculate-indentation): Use it.
16456 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16458 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16459 defun. Defining it as defalias could introduce too eager
16460 byte-compiler optimization. (Bug#14030)
16462 2013-03-30 Chong Yidong <cyd@gnu.org>
16464 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16466 2013-03-30 Leo Liu <sdl.web@gmail.com>
16468 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16469 (kmacro-execute-from-register): Pass the keyboard macro to
16470 kmacro-call-macro or repeating won't work correctly.
16472 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16474 * progmodes/subword.el: Back to using `forward-symbol'.
16476 * subr.el (forward-whitespace, forward-symbol)
16477 (forward-same-syntax): Move from thingatpt.el.
16479 2013-03-29 Leo Liu <sdl.web@gmail.com>
16481 * kmacro.el (kmacro-to-register): New command.
16482 (kmacro-execute-from-register): New function.
16483 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16485 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16487 * mpc.el: Use defvar-local and setq-local.
16488 (mpc--proc-connect): Connection failures are not bugs.
16489 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16490 (mpc-volume-map): Bind to the up-events.
16492 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16494 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16495 instead of `forward-symbol'.
16497 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16499 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16500 (edebug--recursive-edit): Use it.
16501 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16502 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16504 2013-03-28 Leo Liu <sdl.web@gmail.com>
16506 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16508 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16510 * facemenu.el (list-colors-callback): New defvar.
16511 (list-colors-redisplay): New function.
16512 (list-colors-display): Install list-colors-redisplay as the
16513 revert-buffer-function. (Bug#14063)
16515 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16517 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16518 and suffixes don't overlap (bug#14061).
16520 * case-table.el: Use lexical-binding.
16521 (case-table-get-table): New function.
16522 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16524 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16526 * progmodes/subword.el: Add `superword-mode' to do word motion
16527 over symbol_words (parallels and leverages `subword-mode' which
16528 does word motion inside MixedCaseWords).
16530 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16532 * eshell/em-unix.el: Move su and sudo to...
16533 * eshell/em-tramp.el: ...Eshell tramp module.
16535 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16537 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16538 Change return value to be a sexp. Delay `get-buffer' to after
16539 restoring the desktop (bug#13951).
16541 2013-03-26 Leo Liu <sdl.web@gmail.com>
16543 * register.el: Move semantic tag handling back to
16544 cedet/semantic/senator.el. (Bug#14052)
16546 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16548 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16549 into the prompt either (bug#13963).
16551 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16553 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16554 part of "(error-foo)".
16556 2013-03-24 Juri Linkov <juri@jurta.org>
16558 * replace.el (list-matching-lines-prefix-face): New defcustom.
16559 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16560 `occur-engine' if `face-differs-from-default-p' returns t.
16561 (occur-engine): Add `,' inside backquote construct to evaluate
16562 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16563 Pass `prefix-face' to the functions `occur-context-lines' and
16564 `occur-engine-add-prefix'.
16565 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16566 `prefix-face' and propertize the prefix with `prefix-face'.
16569 2013-03-24 Leo Liu <sdl.web@gmail.com>
16571 * nxml/rng-valid.el (rng-validate-while-idle)
16572 (rng-validate-quick-while-idle): Guard against deleted buffer.
16575 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16576 is the last entry in kill-buffer-hook.
16578 * files.el (kill-buffer-hook): Doc fix.
16580 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16582 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16583 Make it safe-local.
16585 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16587 2013-03-23 Leo Liu <sdl.web@gmail.com>
16589 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16592 * nxml/rng-valid.el (rng-validate-mode)
16593 (rng-after-change-function, rng-do-some-validation):
16594 * nxml/rng-maint.el (rng-validate-buffer):
16595 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16596 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16597 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16598 (nxml-extend-after-change-region): Use with-silent-modifications.
16600 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16603 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16604 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16605 timer-idle-list. (Bug#13999)
16607 2013-03-23 Juri Linkov <juri@jurta.org>
16609 * info.el (info-index-match): New face.
16610 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16611 main pattern and add text properties with the new face to matches
16612 in index entries relative to the beginning of the index entry.
16615 2013-03-21 Eric Ludlam <zappo@gnu.org>
16617 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16618 Inhibit read only while inserting objects.
16620 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16622 * progmodes/cfengine.el: Update docs to mention
16623 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16624 symbol motion. Remove "_" from the word syntax.
16626 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16628 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16629 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16631 2013-03-20 Juri Linkov <juri@jurta.org>
16633 * info.el (Info-next-reference-or-link)
16634 (Info-prev-reference-or-link): New functions.
16635 (Info-next-reference, Info-prev-reference): Use them.
16636 (Info-try-follow-nearest-node): Handle footnote navigation.
16637 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16639 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16641 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16642 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16644 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16646 Suppress unnecessary non-ASCII chatter during build process.
16647 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16648 (batch-skkdic-convert): Suppress most of the chatter.
16649 It's not needed so much now that machines are faster,
16650 and its non-ASCII component was confusing; see Dmitry Gutov in
16651 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16653 2013-03-20 Leo Liu <sdl.web@gmail.com>
16655 * ido.el (ido-chop): Fix bug#10994.
16657 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16659 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16661 (whitespace-color-on, whitespace-color-off):
16662 Use `font-lock-fontify-buffer' (Bug#13817).
16664 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16666 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16667 remapping in mode-line.
16668 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16670 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16672 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16673 value for `whitespace-line' face (Bug#13875).
16674 (whitespace-font-lock-keywords): Change description.
16675 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16676 the constructed keywords instead.
16677 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16679 2013-03-19 Leo Liu <sdl.web@gmail.com>
16681 * progmodes/compile.el (compilation-display-error): New command.
16682 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16685 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16687 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16689 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16691 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16693 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16695 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16697 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16698 * net/tramp-gvfs.el (top):
16699 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16700 (tramp-handle-shell-command): Use it.
16701 (tramp-dissect-file-name): Raise an error when hostname is a
16702 method name, and neither method nor user is specified.
16704 * net/trampver.el: Update release number.
16706 2013-03-18 Leo Liu <sdl.web@gmail.com>
16708 Make sure eldoc can be turned off properly.
16709 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16711 (eldoc-display-message-p): Revert last change.
16712 (eldoc-display-message-no-interference-p)
16713 (eldoc-print-current-symbol-info): Tweak.
16715 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16717 * doc-view.el (doc-view-new-window-function): Check the new window
16718 overlay's display property instead the char property of the
16719 buffer's first char. Use `with-selected-window' instead of
16720 `save-window-excursion' with `select-window'.
16721 (doc-view-document->bitmap): Check the current doc-view overlay's
16722 display property instead the char property of the buffer's first char.
16724 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16726 Automate the build of ja-dic.el (Bug#13984).
16727 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16728 from the input, rather than assume that it's been done for us by the
16729 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16730 the current date into a ja-dic.el comment, as that complicates
16731 regression testing.
16733 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16735 * whitespace.el: Fix double evaluation.
16736 (whitespace-space, whitespace-hspace, whitespace-tab)
16737 (whitespace-newline, whitespace-trailing, whitespace-line)
16738 (whitespace-space-before-tab, whitespace-indentation)
16739 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16741 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16742 (whitespace-color-on): Use a single font-lock-add-keywords call.
16743 Fix double-evaluation of face variables.
16745 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16747 * net/tramp-adb.el (tramp-adb-parse-device-names):
16748 Use `start-process' instead of `call-process'. Otherwise, the
16749 function might be blocked under MS Windows. (Bug#13299)
16751 2013-03-17 Leo Liu <sdl.web@gmail.com>
16753 Extend eldoc to display info in the mode-line. (Bug#13978)
16754 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16755 (eldoc-mode-line-string): New variable.
16756 (eldoc-minibuffer-message): New function.
16757 (eldoc-message-function): New variable.
16758 (eldoc-message): Use it.
16759 (eldoc-display-message-p)
16760 (eldoc-display-message-no-interference-p):
16761 Support eldoc-post-insert-mode.
16763 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16764 (eval-expression): Run it.
16766 2013-03-17 Roland Winkler <winkler@gnu.org>
16768 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16769 strings in the list of return values.
16771 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16773 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16774 radix before checking for HMS forms.
16776 2013-03-16 Leo Liu <sdl.web@gmail.com>
16778 * progmodes/scheme.el: Add indentation and font-locking for λ.
16781 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16783 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16784 token before point (bug#13942).
16786 2013-03-16 Leo Liu <sdl.web@gmail.com>
16788 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16790 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16792 * startup.el (command-line-normalize-file-name): Fix handling of
16793 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16794 <xfq.free@gmail.com> in
16795 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16797 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16799 Sync with Tramp 2.2.7.
16801 * net/trampver.el: Update release number.
16803 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16805 * doc-view.el: Fix bug#13887.
16806 (doc-view-insert-image): Don't modify overlay associated to
16807 non-live windows, and implement horizontal centering of image in
16808 case it's smaller than the window.
16809 (doc-view-new-window-function): Force redisplay of new windows on
16812 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16814 * saveplace.el (save-place-alist-to-file): Don't sort
16815 `save-place-alist', just pretty-print it (bug#13882).
16817 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16819 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16820 Check whether `default-file-name-coding-system' is bound.
16821 It isn't in XEmacs.
16823 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16825 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16826 backquotes for `obsolete' (bug#13929).
16828 * international/mule.el (find-auto-coding): Include file name in
16829 obsolescence warning (bug#13922).
16831 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16833 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16834 for CFEngine 3-specific indentation.
16835 (cfengine3-indent-line): Use it. Fix up category regex.
16836 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16838 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16840 * type-break.el (type-break-file-name):
16841 * textmodes/remember.el (remember-data-file):
16842 * strokes.el (strokes-file):
16843 * shadowfile.el (shadow-initialize):
16844 * saveplace.el (save-place-file):
16845 * ps-bdf.el (bdf-cache-file):
16846 * progmodes/idlwave.el (idlwave-config-directory):
16847 * net/quickurl.el (quickurl-url-file):
16848 * international/kkc.el (kkc-init-file-name):
16849 * ido.el (ido-save-directory-list-file):
16850 * emulation/viper.el (viper-custom-file-name):
16851 * emulation/vip.el (vip-startup-file):
16852 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16853 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16855 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16857 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16858 * language/thai-word.el: Switch to UTF-8.
16860 See ChangeLog.16 for earlier changes.
16862 ;; Local Variables:
16866 Copyright (C) 2011-2015 Free Software Foundation, Inc.
16868 This file is part of GNU Emacs.
16870 GNU Emacs is free software: you can redistribute it and/or modify
16871 it under the terms of the GNU General Public License as published by
16872 the Free Software Foundation, either version 3 of the License, or
16873 (at your option) any later version.
16875 GNU Emacs is distributed in the hope that it will be useful,
16876 but WITHOUT ANY WARRANTY; without even the implied warranty of
16877 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16878 GNU General Public License for more details.
16880 You should have received a copy of the GNU General Public License
16881 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.