1 2014-10-28 Peder O. Klingenberg <peder@klingenberg.no> (tiny change)
2 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
4 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
6 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
9 envelope-from when reporting through sendmail (bug#19054).
11 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
13 * progmodes/python.el (python-ffap-module-path): Use
14 `derived-mode-p' instead of equality test on `major-mode'.
16 2014-11-13 Ulrich Müller <ulm@gentoo.org>
18 * version.el (emacs-repository-get-version): Call `git log'
19 command with proper format argument (bug#19049).
21 2014-11-10 Glenn Morris <rgm@gnu.org>
23 * startup.el (command-line): Handle nil elements in load-path.
25 2014-11-08 Glenn Morris <rgm@gnu.org>
27 * emacs-lisp/bytecomp.el (byte-compile-report-error):
28 Allow the argument to be a string. Due to the vague doc,
29 it was already being used this way.
31 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
33 * net/tramp.el (tramp-check-cached-permissions): Include hop in
34 the constructed Tramp file name. (Bug#18943)
36 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
38 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
40 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
41 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
43 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
45 * files.el (file-name-non-special): Wrap the call of
46 `insert-file-contents' by `unwind-protect', in order to set the
47 buffer's file name anyway. (Bug#18891)
49 2014-11-07 Daiki Ueno <ueno@gnu.org>
51 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
52 (bug#18979). Reported by Hideki Saito.
54 2014-10-18 Alan Mackenzie <acm@muc.de>
56 Check that a "macro" found near point-min isn't a ## operator.
57 Fixes bug #18749. Backported from trunk, 2014-11-05.
58 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
59 (c-beginning-of-macro): Use the above new function.
61 2014-11-05 Alan Mackenzie <acm@muc.de>
63 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
64 * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
65 "(point-max)" as bound to c-font-lock-declarators, not "limit", as
66 the buffer is sometimes narrowed to less than "limit" (e.g., in
67 the presence of macros).
69 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
71 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
72 only when message appeared in minibuffer. (Bug#18891)
74 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
75 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
76 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
79 2014-11-04 Eli Zaretskii <eliz@gnu.org>
81 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
82 returned by load-average.
84 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
86 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
87 a local copy; setting `inhibit-file-name-handlers' proper might be
88 more performant. (Bug#18751)
90 2014-11-04 Glenn Morris <rgm@gnu.org>
92 * mail/emacsbug.el (report-emacs-bug): No longer include
93 recent-keys in the report. (Bug#18900)
95 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
97 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
98 local copy of FILENAME, when it is remote. (Bug#18751)
100 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
102 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
103 an error when the command fails; the return code must indicate.
104 (tramp-adb-send-command-and-check): Fix docstring.
106 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
108 * net/tramp-cache.el (tramp-get-file-property)
109 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
110 and `tramp-cache-set-count-*' are bound. Otherwise, there might
111 be compiler warnings.
113 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
114 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
116 2014-11-01 Eli Zaretskii <eliz@gnu.org>
118 * progmodes/compile.el (compilation-mode): Turn off deferred
119 fontifications locally. (Bug#18856)
121 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
123 * net/tramp-sh.el (tramp-send-command): Fix the case where the
124 remote-echo connection property is non-nil (bug#18858).
126 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
128 Backport Tramp changes from trunk.
130 * net/tramp.el (tramp-methods): Tweak docstring.
131 (tramp-file-name-handler): Apply `cons' where appropriate.
132 (tramp-handle-file-accessible-directory-p): Check for
133 `file-readable-p' instead of `file-executable-p'.
134 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
135 (tramp-handle-unhandled-file-name-directory): Return "/".
136 (tramp-check-cached-permissions):
137 Use `tramp-compat-file-attributes'.
138 (tramp-call-process): Add new argument VEC. Adapt callees in all
141 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
142 (tramp-adb-handle-write-region): Improve messages.
143 (tramp-adb-maybe-open-connection): Don't set
144 `tramp-current-*' variables.
146 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
147 Suppress debug messages.
149 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
150 (tramp-ftp-file-name-handler):
152 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
153 (tramp-gvfs-methods-mounttracker)
154 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
155 during initialization. (Bug#18774)
156 (tramp-gvfs-handle-delete-file): Flush file properties, not
157 directory properties.
158 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
159 reading "unix::mode".
160 (tramp-gvfs-handle-file-name-all-completions):
161 Use "-h" option for "gvfs-ls".
162 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
163 `user' and `localname' could be nil.
164 (tramp-gvfs-send-command): Simplify traces.
166 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
167 (vc-git-program, vc-hg-program): Declare.
168 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
169 (tramp-methods) <nc>: Add new method.
170 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
171 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
173 (tramp-default-user-alist): Add "nc".
174 (top): Remove completion function for "sftp". Add completion
175 functions for "nc" and "psftp".
176 (tramp-sh-handle-set-visited-file-modtime):
177 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
178 (tramp-do-copy-or-rename-file-out-of-band):
179 Use cached "remote-copy-args" value, if available. (Bug#18199)
180 Tweak docstring. Implement support for "nc" method.
181 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
182 (tramp-remote-coding-commands, tramp-call-local-coding-command):
184 (tramp-sh-handle-start-file-process): Expand `default-directory'.
185 (tramp-sh-handle-write-region): Tweak error message.
186 (tramp-sh-handle-vc-registered): Remove backends when the remote
187 binary does not exist.
188 (tramp-open-connection-setup-interactive-shell):
189 Prefer utf-8 coding. (Bug#17859)
190 (tramp-find-inline-encoding): Do not raise an error.
191 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
192 the "nc" case. Quote result also locally.
193 (tramp-get-remote-id): Check also for "gid".
194 (tramp-get-remote-python):
196 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
197 (tramp-smb-handle-set-file-acl): Use `start-process'.
198 (tramp-smb-handle-insert-directory): Use progress reporter.
199 (tramp-smb-handle-rename-file): Flush also file properties of
202 * net/trampver.el: Update release number.
204 2014-11-01 Reuben Thomas <rrt@sc3d.org>
206 * net/tramp.el (tramp-handle-file-symlink-p):
207 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
208 about VMS, which we no longer support.
210 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
212 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
213 the global vc-handled-backends (bug#18535).
215 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
216 Michael Albinus <michael.albinus@gmx.de>
218 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
219 Reduce the amount of set environment variable commands.
221 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
223 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
226 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
228 * net/tramp-sh.el (tramp-get-remote-python): Also search for
229 executables named "python2" or "python3".
230 (tramp-get-remote-uid-with-python): Use parentheses around
231 arguments to `print' to make it compatible with Python 3.
232 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
234 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
236 * simple.el (newline): Add assertions to try and help catch bug#18913.
238 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
240 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
242 2014-10-31 Eli Zaretskii <eliz@gnu.org>
244 * Makefile.in (repo-update): Fix a typo and slightly reword
247 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
249 * Makefile.in: Change some production names so they're neutral
250 about the repository type.
252 2014-10-30 Kim F. Storm <storm@cua.dk>
254 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
255 * delsel.el (delete-selection-save-to-register)
256 (delsel--replace-text-or-position): New vars.
257 (delete-active-region): Use them.
258 (delete-selection-repeat-replace-region): New command, moved from
260 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
261 (cua-repeat-replace-region): Move command to delsel.el.
262 (cua--init-keymaps): Update binding accordingly.
263 (cua-mode): Set delete-selection-save-to-register.
265 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
267 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
269 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
271 2014-10-29 Eli Zaretskii <eliz@gnu.org>
273 * progmodes/compile.el (compilation-start):
274 If compilation-scroll-output is non-nil, don't force window-start of
275 the compilation buffer to be at beginning of buffer. (Bug#18874)
277 2014-10-23 Tassilo Horn <tsdh@gnu.org>
279 * doc-view.el (doc-view-open-text): View the document's plain text
280 in the current buffer instead of a new one.
281 (doc-view-toggle-display): Handle the case where the current
282 buffer contains the plain text contents of the document.
283 (doc-view-initiate-display): Don't switch to fallback mode if the
284 user wants to view the doc's plain text. [Backport]
286 2014-10-23 Eli Zaretskii <eliz@gnu.org>
288 * startup.el (fancy-about-text): Read the entire tutorial, not
289 just its first 256 bytes. (Bug#18760)
291 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
293 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
294 * emacs-lisp/cl-extra.el: Add missing provide.
296 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
298 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
299 all args are copyable (bug#18767).
300 (=, <, >, <=, >=): Re-enable the optimization.
302 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
304 * vc/vc-hg.el (vc-hg-log-graph): New var.
305 (vc-hg-print-log): Use it.
306 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
307 graph output (bug#17515).
309 2014-10-20 Juri Linkov <juri@jurta.org>
311 * vc/diff-mode.el (diff-refine-changed): Rename from
312 `diff-refine-change' for consistency with `diff-changed'.
313 (diff-refine-change): Add obsolete face alias. (Bug#10181)
315 * vc/smerge-mode.el (smerge-refined-changed): Rename from
316 `smerge-refined-change'.
317 (smerge-refined-change): Add obsolete face alias.
319 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
321 * subr.el (call-process-shell-command, process-file-shell-command):
322 Make the `args' obsolete (bug#18409).
323 (start-process-shell-command, start-file-process-shell-command):
326 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
328 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
330 2014-10-20 Glenn Morris <rgm@gnu.org>
332 * dired.el (dired-read-regexp): Make obsolete.
333 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
334 (dired-flag-files-regexp):
335 * dired-aux.el (dired-mark-read-regexp):
336 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
338 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
340 * progmodes/python.el (inferior-python-mode): Use add-hook.
342 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
344 2014-10-20 Glenn Morris <rgm@gnu.org>
346 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
347 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
348 * emulation/ws-mode.el: Move to obsolete/. [Backport]
350 2014-10-20 Glenn Morris <rgm@gnu.org>
352 * cus-start.el (history-length): Bump :version. [Backport]
354 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
356 * obsolete/cc-compat.el: Make obsolete (bug#18561).
358 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
360 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
363 2014-10-20 Glenn Morris <rgm@gnu.org>
365 * Version 24.4 released.
367 2014-10-15 Alan Mackenzie <acm@muc.de>
369 * cus-edit.el (custom-command-apply): Specify the return value in
371 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
372 custom-command-apply has returned non-nil.
374 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
376 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
377 Backported (bug#18688).
379 2014-10-14 Eli Zaretskii <eliz@gnu.org>
381 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
382 Force bidi-paragraph-direction to 'left-to-right'. This fixes
383 buffer-menu display when the first buffer happens to start with
386 2014-10-13 Glenn Morris <rgm@gnu.org>
388 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
389 (authors-obsolete-files-regexps): Additions.
390 (authors-no-scan-regexps): New constant.
391 (authors-no-scan-file-p): New function.
392 (authors): Respect authors-no-scan-file-p.
394 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
396 Fix import completion. (Bug#18582)
397 * progmodes/python.el (python-shell-completion-get-completions):
398 Fix import case regexp.
400 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
402 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
403 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
404 * progmodes/prolog.el (prolog-electric--underscore): Same.
406 2014-10-09 Glenn Morris <rgm@gnu.org>
408 * frame.el (display-monitor-attributes-list): Doc tweaks.
410 2014-10-08 Eli Zaretskii <eliz@gnu.org>
412 * faces.el (display-grayscale-p): Mention in the doc string that
413 the argument can be either a display name or a frame.
415 * frame.el (display-pixel-height, display-pixel-width)
416 (display-mm-height, display-mm-width, display-backing-store)
417 (display-save-under, display-planes, display-color-cells)
418 (display-visual-class, display-monitor-attributes-list)
419 (display-screens): Mention in the doc string that the argument can
420 be either a display name or a frame. Improve the docs of the
421 monitor attributes. (Bug#18636)
423 2014-10-06 Martin Rudalics <rudalics@gmx.at>
425 * term.el (term-window-width): Subtract 1 from the width when
426 any fringe has zero width, not just the right fringe. (Bug#18601)
428 2014-10-05 Leo Liu <sdl.web@gmail.com>
430 * imenu.el (imenu-default-goto-function): Fix typo.
432 2014-10-04 Glenn Morris <rgm@gnu.org>
434 * frame.el (frame-monitor-attributes)
435 (display-monitor-attributes-list): Doc fixes.
437 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
439 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
440 (vc-svn-ignore): Use it. (Bug#18619)
442 2014-10-03 Martin Rudalics <rudalics@gmx.at>
444 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
445 In doc-string mention need to set `frame-resize-pixelwise'.
447 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
449 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
450 similarly to Rogers's 2010-06-16 change for the remote case
453 2014-10-01 Glenn Morris <rgm@gnu.org>
455 * emacs-lisp/package.el (package-import-keyring):
456 Create gnupg directory private. (Bug#17625#155)
458 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
460 * progmodes/python.el (python-shell-completion-get-completions):
461 Use python-shell--prompt-calculated-input-regexp from the
462 process buffer (bug#18582).
463 Don't assume that `line' comes from the process buffer.
465 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
467 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
470 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
472 * emacs-lisp/package.el (package-check-signature): Default to nil if
473 GPG is not available.
474 (package-refresh-contents): Don't mess with the keyring if we won't
475 check the signatures anyway.
477 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
479 * window.el (fit-window-to-buffer): When counting buffer width,
480 count the whole visible buffer. Correctly convert the body-height
481 to pixel size for window-text-pixel-size (Bug#18498).
483 2014-09-14 Glenn Morris <rgm@gnu.org>
485 * image.el (image-multi-frame-p): Fix thinko - do not force
486 a delay if none was specified. (Bug#18334)
488 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
490 * window.el (fit-window-to-buffer): Doc fix.
492 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
494 * desktop.el (desktop-create-buffer): Check that buffers are still live
495 before burying them (bug#18373).
497 2014-09-09 Glenn Morris <rgm@gnu.org>
499 * calendar/diary-lib.el (diary-list-entries):
500 Restore 24.3 display behavior. (Bug#18381)
502 2014-09-09 Eli Zaretskii <eliz@gnu.org>
504 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
505 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
506 discrepancy between window-pixel-edges and mouse events, and
507 avoids moving mode line up when the mouse click is on the modeline
508 and no drag is attempted.
510 2014-09-08 Glenn Morris <rgm@gnu.org>
512 * calendar/calendar.el (calendar-basic-setup):
513 Avoid clobbering calendar with diary. (Bug#18381)
515 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
517 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
519 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
521 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
524 2014-09-04 Eli Zaretskii <eliz@gnu.org>
526 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
528 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
530 * emacs-lisp/package.el (package-generate-description-file):
531 Properly quote the arguments (bug#18332). Change second arg.
532 (package--alist-to-plist-args): Rename from package--alist-to-plist and
534 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
535 the *-pkg.el file. Adjust to new calling convention of
536 package-generate-description-file.
538 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
539 (gud-gdb-completions): Remove obsolete workaround.
541 2014-09-02 Eli Zaretskii <eliz@gnu.org>
543 * subr.el (posn-col-row): Revert the change from commit
544 2010-11-13T21:07:58Z!eliz@gnu.org, which
545 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
546 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
547 introduced an off-by-one error in the reported row when there is a
548 header line. (Bug#18384)
550 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
552 * progmodes/python.el (python-indent-post-self-insert-function):
553 Avoid electric colon at beginning-of-defun. (Bug#18228)
555 2014-09-01 Glenn Morris <rgm@gnu.org>
557 * tutorial.el (tutorial--display-changes):
558 Fix 2014-07-29 change. (Bug#18382)
560 2014-08-29 Ken Brown <kbrown@cornell.edu>
562 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
563 the Cygwin-w32 build. (Bug#18347)
565 2014-08-28 Glenn Morris <rgm@gnu.org>
567 * tar-mode.el (tar--extract, tar-extract):
568 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
570 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
572 * emacs-lisp/authors.el (authors-aliases): Addition.
574 * net/tramp-adb.el: Spell author name correctly.
576 2014-08-27 João Távora <joaotavora@gmail.com>
578 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
579 use url-expand-file-name. (Bug#18310)
581 2014-08-25 Glenn Morris <rgm@gnu.org>
583 * emulation/cua-rect.el (cua--highlight-rectangle):
584 Avoid error at point-min. (Bug#18309)
586 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
588 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
589 executable-find (bug#18244).
591 * simple.el (self-insert-uses-region-functions): Defvar.
593 2014-08-13 Leo Liu <sdl.web@gmail.com>
595 * speedbar.el (speedbar-generic-list-tag-p): Allow special
598 2014-08-11 Glenn Morris <rgm@gnu.org>
600 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
602 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
603 chose coding system for writing before backing up, since it causes
604 a more serious problem than the one it solves. (Closes Bug#18141,
607 2014-08-10 Martin Rudalics <rudalics@gmx.at>
609 * window.el (window-total-size): Make doc-string more
612 2014-08-09 Martin Rudalics <rudalics@gmx.at>
614 * window.el (display-buffer-below-selected): Restore original
615 behavior if buffer is already displayed in the window below the
616 selected one (Bug#18181).
618 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
620 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
623 2014-08-08 Eli Zaretskii <eliz@gnu.org>
625 * info.el (info): Doc fix.
627 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
629 * info.el (Info-mode-map): Override a global down-mouse-2 binding
632 2014-08-05 Eli Zaretskii <eliz@gnu.org>
634 * simple.el (default-line-height): A floating-point value of
635 line-spacing means a fraction of the default frame font's height,
636 not of the font currently used by the 'default' face.
637 Truncate the pixel value, like the display engine does.
638 (window-screen-lines): Use window-inside-pixel-edges for
639 determining the window height in pixels. (Bug#18195)
641 2014-07-29 Eli Zaretskii <eliz@gnu.org>
643 * tutorial.el (tutorial--display-changes): Accept punctuation
644 characters before the key binding. (Bug#18146)
646 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
648 * doc-view.el (doc-view-open-text): Don't require that the
649 document is saved in a file (e.g., email attachment).
651 2014-07-27 Eli Zaretskii <eliz@gnu.org>
653 * window.el (window--pixel-to-total): Use FRAME's root window, not
654 that of the selected frame. (Bug#18112, Bug#16674)
656 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
658 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
661 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
663 * progmodes/python.el (inferior-python-mode): Doc fix.
665 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
667 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
668 not a character, ignore it instead of raising an error.
670 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
672 * calendar/todo-mode.el: Fix handling of marked items and make
673 minor code improvements.
674 (todo-edit-item): If there are marked items, ensure user can only
675 invoke editing commands that work with marked items.
676 (todo-edit-item--text): When there are marked items, make it a
677 noop if invoked with point not on an item; otherwise, ensure it
678 applies only to item at point.
679 (todo-item-undone): If there are marked not-done items, return
680 point to its original position before signaling user error.
681 (todo--user-error-if-marked-done-item): New function.
682 (todo-edit-item--header, todo-edit-item--diary-inclusion)
683 (todo-item-done): Use it.
685 2014-07-25 Glenn Morris <rgm@gnu.org>
687 * files.el (toggle-read-only): Re-add basic doc-string.
688 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
690 * progmodes/prolog.el (prolog-mode-keybindings-edit):
691 Replace missing `switch-to-prolog' with `run-prolog'.
692 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
694 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
696 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
697 of file-wide setting when changing category-wide setting.
699 2014-07-21 Glenn Morris <rgm@gnu.org>
701 * progmodes/hideif.el (hide-ifdef-mode-submap):
702 Also substitute read-only-mode.
703 * bindings.el (mode-line-toggle-read-only):
704 * bs.el (bs-toggle-readonly):
705 * buff-menu.el (Buffer-menu-toggle-read-only):
706 * dired.el (dired-toggle-read-only):
707 * files.el (view-read-only, find-file-read-only)
708 (find-file-read-only-other-window)
709 (find-file-read-only-other-frame):
710 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
711 Doc fixes re toggle-read-only.
713 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
715 * progmodes/python.el: Add comment about pipe buffering and
716 solutions for missing/delayed output in inferior Python shells.
719 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
721 * progmodes/python.el (python-mode): Don't set
722 mode-require-final-newline. (Bug#17990)
724 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
726 Make python.el work with IPython automatically. (Bug#15510)
727 * progmodes/python.el:
728 (python-shell-completion-setup-code): New value supporting iPython.
729 (python-shell-completion-string-code): New value supporting iPython.
730 (python-shell-completion-get-completions): Use them.
731 (python-shell-completion-module-string-code): Make obsolete.
732 (python-shell-prompt-input-regexps)
733 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
734 (python-shell-output-filter): Fix comment typo.
736 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
738 Fix Python shell prompts detection for remote hosts.
739 * progmodes/python.el (python-shell-prompt-detect):
740 Replace call-process with process-file and make it more robust.
742 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
744 Autodetect Python shell prompts. (Bug#17370)
745 * progmodes/python.el:
746 (python-shell-interpreter-interactive-arg)
747 (python-shell-prompt-detect-enabled)
748 (python-shell-prompt-detect-failure-warning)
749 (python-shell-prompt-input-regexps)
750 (python-shell-prompt-output-regexps): New vars.
751 (python-shell-prompt-calculated-input-regexp)
752 (python-shell-prompt-calculated-output-regexp): New vars.
753 (python-shell-get-process-name)
754 (python-shell-internal-get-process-name)
755 (python-shell-output-filter)
756 (python-shell-completion-get-completions): Use them.
757 (python-shell-prompt-detect)
758 (python-shell-prompt-validate-regexps): New functions.
759 (python-shell-prompt-set-calculated-regexps): New function.
760 (inferior-python-mode): Use it. Also honor overridden
761 python-shell-interpreter and python-shell-interpreter-args.
762 (python-shell-make-comint): Honor overridden
763 python-shell-interpreter and python-shell-interpreter-args.
764 (python-shell-get-or-create-process): Make it testable by allowing
765 to call run-python non-interactively.
766 (python-util-valid-regexp-p): New function.
767 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
768 (python-shell-prompt-output-regexp)
769 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
771 2014-07-16 Glenn Morris <rgm@gnu.org>
773 * desktop.el (after-init-hook): Disable startup frame restoration
774 in non-graphical situations. (Bug#17693)
776 2014-07-14 Glenn Morris <rgm@gnu.org>
778 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
779 if it was "empty", or used for a different set of files. (Bug#17884)
781 2014-07-13 Eli Zaretskii <eliz@gnu.org>
783 * bindings.el (mode-line-remote): If default-directory is not a
784 string, don't call file-remote-p on it; instead state in the
785 help-echo that it is nil. (Bug#17986)
787 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
789 Fix bug: C-x v v discarded existing log message (Bug#17884).
790 * vc/vc-dispatcher.el (vc-log-edit):
791 Don't clobber an already-existing log message.
793 2014-07-10 Glenn Morris <rgm@gnu.org>
795 * vc/log-edit.el (log-edit-changelog-entries):
796 Check for a visited-but-never-saved ChangeLog.
798 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
800 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
801 a non-existing file (bug#17970).
803 * faces.el (face-name): Undo last change.
804 (x-resolve-font-name): Don't call face-name (bug#17956).
806 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
808 Fix dedenters and electric colon handling. (Bug#15163)
810 * progmodes/python.el
811 (python-rx-constituents): Add dedenter and block-ender.
812 (python-indent-dedenters, python-indent-block-enders): Delete.
813 (python-indent-context): Return new case for dedenter-statement.
814 (python-indent-calculate-indentation): Handle new case.
815 (python-indent-calculate-levels): Fix levels calculation for
817 (python-indent-post-self-insert-function): Fix colon handling.
818 (python-info-dedenter-opening-block-message): New function.
819 (python-indent-line): Use it.
820 (python-info-closing-block)
821 (python-info-closing-block-message): Remove.
822 (python-info-dedenter-opening-block-position)
823 (python-info-dedenter-opening-block-positions)
824 (python-info-dedenter-statement-p): New functions.
826 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
828 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
829 the middle of a line (bug#17896).
831 2014-07-08 Juri Linkov <juri@jurta.org>
833 * startup.el (command-line): Append displaying the warning about
834 the errors in the init file to the end of `after-init-hook'.
837 2014-07-08 Juri Linkov <juri@jurta.org>
839 * faces.el (face-name): Return input arg `face' as is
840 when it's not a symbol.
841 (x-resolve-font-name): Don't check if the face is a symbol.
844 2014-07-08 Juri Linkov <juri@jurta.org>
846 * facemenu.el (list-colors-print): In help-echo format use %.2f
847 instead of %d because now HSV values are floating-point components
850 2014-07-06 Glenn Morris <rgm@gnu.org>
852 * emulation/cua-rect.el (cua--activate-rectangle):
853 Avoid setting cua--rectangle to nil. (Bug#17877)
855 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
857 * calendar/todo-mode.el: Fix wrong-type-argument error when
858 marking multiple consecutive items.
859 (todo-toggle-mark-item): Don't try to mark the empty lines at the
860 end of the todo and done items sections. Note in doc string that
861 items marked by passing a numeric prefix argument can include the
862 last todo and first done items.
863 (todo-mark-category): Don't try to mark the empty line between the
864 todo and done items sections.
866 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
868 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
869 proper Lisp quoting (bug#17934).
871 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
872 require-final-newline since prog-mode already took care of it (bug#17947).
874 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
876 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
877 refer to the Todo mode Info manual. Update the comment on
879 (todo-find-filtered-items-file): Add todo-prefix overlays.
880 (todo-filter-items): Reorder a let-bound variable to avoid a
881 wrong-type-argument error on canceling the file choice dialog.
883 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
885 * progmodes/octave.el (inferior-octave-mode):
886 Set comint-input-ring-size to a number (bug#17912).
888 2014-07-03 Juri Linkov <juri@jurta.org>
890 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
891 and `isearch-mode' associated with nil. (Bug#17849)
893 2014-07-02 Juri Linkov <juri@jurta.org>
895 * desktop.el (desktop-save): Rename arg `auto-save' to
896 `only-if-changed'. Doc fix. (Bug#17873)
898 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
900 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
901 Use insert-for-yank (bug#17271).
903 2014-07-02 Leo Liu <sdl.web@gmail.com>
905 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
906 Support lexical-binding.
908 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
910 * vc/log-edit.el (log-edit-goto-eoh): New function.
911 (log-edit--match-first-line): Use it (bug#17861).
913 2014-07-01 Glenn Morris <rgm@gnu.org>
915 * vc/log-edit.el (log-edit-hook): Add missing :version.
917 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
919 * progmodes/python.el (python-indent-post-self-insert-function):
920 Enhancements to electric indentation behavior inside
923 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
925 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
926 buffer-invisibility-spec (bug#17867).
928 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
930 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
933 2014-06-29 Glenn Morris <rgm@gnu.org>
935 * cus-edit.el (help):
936 * finder.el (finder-known-keywords):
937 * help.el (help-for-help-internal):
938 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
939 (ediff-redraw-registry-buffer):
940 * vc/ediff-ptch.el (ediff-patch-file-internal):
941 Doc fixes re "online" help. (Bug#17803)
943 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
944 (idlwave-mode): Doc URL update.
946 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
948 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
949 account for file-wide setting of todo-top-priorities-overrides.
950 Make code a bit cleaner.
952 2014-06-27 Leo Liu <sdl.web@gmail.com>
954 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
956 2014-06-27 Glenn Morris <rgm@gnu.org>
958 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
960 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
962 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
963 category-wide setting of todo-top-priorities-overrides, check for
964 a file-wide setting and fontify accordingly.
966 2014-06-26 Glenn Morris <rgm@gnu.org>
968 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
970 2014-06-26 Daiki Ueno <ueno@gnu.org>
972 * emacs-lisp/package.el (package--check-signature):
973 If package-check-signature is allow-unsigned, don't signal error when
974 we can't verify signature because of missing public key
975 (backport for bug#17625).
977 2014-06-26 Glenn Morris <rgm@gnu.org>
979 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
980 Remove outdated declaration.
982 * emacs-lisp/authors.el (authors-valid-file-names)
983 (authors-renamed-files-alist): Additions.
985 2014-06-25 Leo Liu <sdl.web@gmail.com>
987 * textmodes/picture.el (picture-set-tab-stops):
988 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
989 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
991 * progmodes/asm-mode.el (asm-calculate-indentation):
992 Use indent-next-tab-stop.
994 * indent.el (indent-accumulate-tab-stops): New function.
996 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
998 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
999 (package-desc-status): Obey it.
1001 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1003 * calendar/todo-mode.el: Fix two bugs.
1004 (todo-insert-item--basic): If user cancels item insertion to
1005 another category before setting priority, show original category
1006 whether it is in the same or a different file.
1007 (todo-set-item-priority): After selecting category, instead of
1008 moving point to top, which extends an active region, restore it.
1010 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * help-fns.el (describe-function-1): Check file-name is a string before
1013 calling help-fns--autoloaded-p (bug#17564).
1015 2014-06-24 Juri Linkov <juri@jurta.org>
1017 * desktop.el (desktop-auto-save-enable)
1018 (desktop-auto-save-disable): New functions.
1019 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1020 (desktop-read): Disable the autosave before loading the desktop,
1021 and enable afterwards. (Bug#17351)
1023 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1025 Fix some indentation problem with \; and pipes (bug#17842).
1026 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1027 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1029 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1030 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1031 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1033 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1035 * international/fontset.el (script-representative-chars):
1036 Add representative characters for scripts added in Unicode 7.0.
1037 (otf-script-alist): Synchronize with the latest registry of OTF
1040 * international/characters.el (char-script-table): Update for
1041 scripts added and codepoint ranges changed in Unicode 7.0.
1043 2014-06-23 Leo Liu <sdl.web@gmail.com>
1045 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1046 tab-stop-list to nil. (Bug#16381)
1048 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1049 (indent-rigidly-left-to-tab-stop)
1050 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1051 (move-to-tab-stop): Change callers.
1053 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1055 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1056 wrt behavior of \n as the first/last element of a skeleton.
1058 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1060 * net/tramp-adb.el (tramp-adb-handle-process-file):
1061 * net/tramp-sh.el (tramp-sh-handle-process-file):
1062 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1063 the output buffer when DISPLAY is non-nil. (Bug#17815)
1065 2014-06-21 Glenn Morris <rgm@gnu.org>
1067 * play/landmark.el (landmark-move-down, landmark-move-up):
1068 Fix 2007-10-20 change - preserve horizontal position.
1070 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1072 Fix completion retrieval parsing (bug#17209).
1073 * progmodes/python.el (python-mode):
1074 (python-util-strip-string): New function.
1075 (python-shell-completion-get-completions): Use it.
1077 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1079 * skeleton.el (skeleton-insert): Fix last change.
1081 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1083 Enhancements for outline integration (bug#17796).
1084 * progmodes/python.el (python-mode): Properly set
1085 outline-heading-end-regexp so that comments after colons for
1086 defuns are supported.
1088 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1090 * skeleton.el (skeleton-insert): Doc fix.
1092 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1095 (smie-config-guess): Use smie-config-local so the rules are obeyed
1098 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1099 since it's already done inside the loop (bug#17819).
1101 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1103 * mouse.el (mouse-drag-line): Re-remove code initially removed
1104 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1107 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1110 align with the surrounding parent (bug#17721).
1112 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1114 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1116 (texinfo-insert-block, texinfo-insert-@end)
1117 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1118 local setting of skeleton-end-newline by adding an explicit \n to
1119 the skeletons where appropriate. (Bug#17801)
1121 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1124 (smie-indent--hanging-p): Use it.
1125 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1127 2014-06-20 Leo Liu <sdl.web@gmail.com>
1129 * simple.el (read-quoted-char): Don't let help chars pop up help
1132 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1134 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1137 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1139 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1140 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1143 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1145 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1146 and later. (Bug#17790)
1148 2014-06-18 Juri Linkov <juri@jurta.org>
1150 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1151 to `soft'. (Bug#17554)
1153 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1155 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1158 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1160 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1161 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1163 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1165 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1166 `unread-command-events'.
1168 2014-06-14 Glenn Morris <rgm@gnu.org>
1170 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1171 Replace delete-duplicates and mapcan by cl- versions throughout.
1172 And cl-macroexpand-all by macroexpand-all.
1173 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1175 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1177 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1179 2014-06-14 Juri Linkov <juri@jurta.org>
1181 * bindings.el: Put `ascii-character' property on keypad keys
1182 mapped to characters. (Bug#17759)
1184 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1187 bumping forward into a closing paren (bug#17761).
1189 * term/xterm.el (xterm--version-handler): Work around for OSX
1190 Terminal.app (bug#17607).
1192 2014-06-08 Glenn Morris <rgm@gnu.org>
1194 * startup.el (initial-buffer-choice): Doc fix.
1195 Reset :version (adding an option does not merit a :version bump).
1197 * bookmark.el (bookmark-load):
1198 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1200 2014-06-06 Juri Linkov <juri@jurta.org>
1202 * desktop.el: Activate auto-saving on window configuration changes.
1203 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1204 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1205 (desktop-auto-save-set-timer): Change REPEAT arg of
1206 `run-with-idle-timer' from t to nil.
1207 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1209 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1211 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1212 vc-hg-command (bug#17570).
1214 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1216 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1219 2014-06-06 Glenn Morris <rgm@gnu.org>
1221 * startup.el (window-setup-hook): Doc fix.
1223 2014-06-05 Glenn Morris <rgm@gnu.org>
1225 * emacs-lisp/package.el (package-check-signature)
1226 (package-unsigned-archives): Doc fixes.
1228 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1230 * window.el (display-buffer-use-some-window): Don't make window
1231 used smaller than it was before (Bug#17671).
1233 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1235 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1236 'redisplay' instead of '(sit-for 0)'.
1238 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1240 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1243 2014-06-03 Glenn Morris <rgm@gnu.org>
1245 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1247 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1249 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1251 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1253 * simple.el (keyboard-quit): Force update of mode lines, to remove
1254 the "Def" indicator, if we were defining a macro. (Bug#17615)
1256 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * minibuffer.el (minibuffer-force-complete-and-exit):
1259 Obey minibuffer-default (bug#17545).
1261 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1264 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * subr.el (set-transient-map): Don't wait for some "nested"
1267 transient-map to finish if we're only supposed to be active for
1268 the next command (bug#17642).
1270 2014-05-31 Leo Liu <sdl.web@gmail.com>
1272 * emacs-lisp/gv.el (window-buffer, window-display-table)
1273 (window-dedicated-p, window-hscroll, window-point, window-start):
1274 Fix gv-expander. (Bug#17630)
1276 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1281 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1282 for the single comma, since ", " is *very* common in normal French text
1285 2014-05-30 Glenn Morris <rgm@gnu.org>
1287 * emacs-lisp/package.el (package-check-signature)
1288 (package-unsigned-archives): Fix :version.
1290 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1292 * subr.el (sit-for): Don't run input-methods (bug#15614).
1294 2014-05-28 Glenn Morris <rgm@gnu.org>
1296 * cus-start.el: Fix some :version numbers.
1298 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1300 * simple.el (deactivate-mark): Set mark-active to nil even if
1301 deactivation is done via setting transient-mark-mode to nil,
1302 since one is buffer-local and the other is global.
1304 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1305 there can't be more than 2 arguments (bug#17584).
1307 2014-05-27 Glenn Morris <rgm@gnu.org>
1309 * simple.el (filter-buffer-substring-functions)
1310 (filter-buffer-substring-function, buffer-substring-filters)
1311 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1313 * minibuffer.el (completion-in-region-functions, completion-in-region)
1314 (completion--in-region): Doc fixes.
1316 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1317 (expand-abbrev, abbrev--default-expand): Doc fixes.
1319 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1321 Include sources used to create macuvs.h.
1322 * international/README: Refer to the Unicode Terms of Use rather
1323 than copying it bodily here, as that simplifies maintenance.
1325 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1327 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1329 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1331 * window.el (window--dump-frame): Remove interactive
1334 2014-05-23 Glenn Morris <rgm@gnu.org>
1336 * hippie-exp.el (he-line-search-regexp):
1337 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1339 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1341 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1342 to avoid errors when trying to create or visit a file foo.todo
1343 located outside to todo-directory, and to allow having such files
1344 without them being tied to Todo mode (bug#17482).
1345 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1346 (todo-archive-done-item, todo-find-filtered-items-file)
1347 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1348 (todo-category-completions, todo-read-category): When visiting a
1349 Todo file, make sure we're in the right mode and the buffer local
1351 (todo-make-categories-list, todo-reset-nondiary-marker)
1352 (todo-reset-done-string, todo-reset-comment-string):
1353 After processing all Todo files, kill the buffers of those files that
1354 weren't being visited before the processing.
1355 (todo-display-as-todo-file, todo-add-to-buffer-list)
1356 (todo-visit-files-commands): Comment out.
1357 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1358 (auto-mode-alist): Remove add-to-list calls making Todo file
1359 extensions unrestrictedly tied to Todo modes.
1361 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1363 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1364 (advice-function-member-p): Tell it to check both names and functions
1366 (advice--add-function): Adjust call accordingly.
1368 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1370 * calendar/todo-mode.el: Miscellaneous bug fixes.
1371 (todo-delete-file): When deleting an archive but not its todo
1372 file, make sure to update the todo file's category sexp.
1373 (todo-move-category): Keep the moved category's name unless the
1374 file moved to already has a category with that name. If the
1375 numerically last category of the source file was moved, make the
1376 first category current to avoid selecting a nonexisting category.
1377 (todo-merge-category): Fix implementation to make merging to a
1378 category in another file work as documented. Eliminate now
1379 insufficient and unnecessary renaming of archive category, correct
1380 document string accordingly, and clarify it. If the numerically
1381 last category of the source file was merged, make the first
1382 category current to avoid selecting a nonexisting category.
1383 (todo-archive-done-item): When there are marked items and point
1384 happens to be on an unmarked item, ignore the latter. Don't leave
1385 point below last item after archiving marked items.
1386 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1387 from an archive with only one category deletes the archive only
1388 when the category is empty after unarchiving. Make sure the todo
1389 file's category sexp is updated.
1390 (todo-read-file-name): Allow an existing file name even when it is
1391 not required (todo-move-category needs this to work as documented).
1392 (todo-add-file): Call todo-validate-name to reject the name of an
1393 existing todo file (needed due to fix in todo-read-file-name).
1394 (todo-reset-nondiary-marker): Also reset in filtered items files.
1395 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1396 regexp filtered items files.
1397 (todo-reset-highlight-item): Also reset in filtered items files.
1398 Fix incorrect variable reference in document string.
1400 2014-05-22 Glenn Morris <rgm@gnu.org>
1402 * window.el (window--dump-frame): Avoid error in --without-x builds.
1404 2014-05-21 Glenn Morris <rgm@gnu.org>
1406 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1408 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1410 * frame.el (set-frame-font): Doc fix.
1412 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1414 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1416 * emacs-lisp/package.el (package--download-one-archive):
1417 Use `write-region' instead of `save-buffer' to avoid running various
1419 (describe-package-1): Same. Insert newline at the end of the
1420 buffer if appropriate.
1422 2014-05-20 Juri Linkov <juri@jurta.org>
1424 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1425 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1426 Add more modifiers: meta, control, shift, hyper, super, alt.
1429 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1430 to allow changing its value with `set-variable'.
1432 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1434 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1436 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1438 (scheme-mode-variables): Set syntax-propertize-function instead of
1439 font-lock-syntactic-face-function.
1440 (scheme-font-lock-syntactic-face-function): Delete.
1442 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1444 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1449 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1451 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1452 for a temporary file name.
1454 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1456 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1458 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1460 * net/dbus.el (dbus-init-bus, dbus-call-method)
1461 (dbus-call-method-asynchronously, dbus-send-signal)
1462 (dbus-method-return-internal, dbus-method-error-internal):
1463 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1465 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1467 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1468 methods which do not have a doc string. (Bug#17490)
1470 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1471 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1476 2014-05-14 Glenn Morris <rgm@gnu.org>
1478 * vc/emerge.el (emerge-temp-file-prefix):
1479 Make pointless option obsolete.
1480 (emerge-temp-file-mode): Make non-functional option obsolete.
1482 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1484 * net/browse-url.el (browse-url):
1485 Use `unhandled-file-name-directory' when setting `default-directory',
1486 in order to circumvent stalled remote connections. (Bug#17425)
1488 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1490 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1491 into autoloading just because of a silly indirection.
1493 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1495 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1497 2014-05-11 Glenn Morris <rgm@gnu.org>
1499 * emacs-lisp/find-gc.el: Move to ../admin.
1501 2014-05-10 Glenn Morris <rgm@gnu.org>
1503 * printing.el (pr-version):
1504 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1506 * net/browse-url.el (browse-url-mosaic):
1507 Create /tmp/Mosaic.PID as a private file.
1509 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1511 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1512 (advice--member-p): If name is given, only compare the name.
1513 (advice--remove-function): Don't stop at the first match.
1514 (advice--normalize-place): New function.
1515 (add-function, remove-function): Use it.
1516 (advice--add-function): Pass the name, if any, to
1517 advice--remove-function.
1519 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1521 * electric.el (electric-indent-post-self-insert-function): Don't use
1522 `pos' after modifying the buffer (bug#17449).
1524 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1526 * subr.el (function-put): Add function.
1528 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1530 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1531 Correct argument list to conform to todo-insert-item--basic.
1533 2014-05-09 Glenn Morris <rgm@gnu.org>
1535 * files.el (cd-absolute): Test if directory is accessible
1536 rather than executable. (Bug#17330)
1538 * progmodes/compile.el (recompile):
1539 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1541 2014-05-08 Juri Linkov <juri@jurta.org>
1543 * dired.el (dired-check-switches, dired-switches-recursive-p):
1544 New functions. (Bug#17218)
1545 (dired-switches-escape-p, dired-move-to-end-of-filename):
1546 Use `dired-check-switches'.
1547 (dired-insert-old-subdirs, dired-build-subdir-alist)
1548 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1550 2014-05-08 Glenn Morris <rgm@gnu.org>
1552 * net/browse-url.el (browse-url-mosaic):
1553 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1554 This is CVE-2014-3423.
1556 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1559 (xterm-mouse--read-event-sequence-1000): Return nil if something
1561 (xterm-mouse-event): Propagate it.
1562 (xterm-mouse-translate-1): Handle it.
1564 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1566 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1567 four slots of the parameter list are filled, make sure to pass it
1568 to the argument list of todo-insert-item--basic.
1570 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1573 Add optional `seen' argument to detect and break infinite loops.
1575 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1577 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1578 (trace-unsafe, trace-use-tree): Make parentheses style be
1579 according to Emacs style.
1581 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1583 * net/tramp-sh.el (tramp-remote-process-environment):
1584 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1586 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1587 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1588 extra "PSx=..." commands.
1589 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1592 (tramp-uudecode): Replace the hard-coded temporary file name by a
1594 (tramp-remote-coding-commands): Enhance docstring.
1595 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1597 This is CVE-2014-3424.
1599 2014-05-06 Glenn Morris <rgm@gnu.org>
1601 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1602 (find-gc-source-files): Update some names.
1603 (trace-call-tree): Simplify and update.
1604 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1605 This is CVE-2014-3422.
1607 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1609 * minibuffer.el (completion--try-word-completion): Revert fix for
1610 Bug#15980 (bug#17375).
1612 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1613 Always store button numbers in the same way in xterm-mouse-last;
1614 Don't burp is xterm-mouse-last is not set as expected.
1615 Never return negative indices.
1617 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1619 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1620 Backtrack one char if the global/char-literal var matcher hits
1621 inside a string. The next char could be the beginning of an
1622 expression expansion.
1624 2014-05-05 Glenn Morris <rgm@gnu.org>
1626 * help-fns.el (describe-function-1): Test for an autoload before a
1627 macro, since `macrop' works on autoloads. (Bug#17410)
1629 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1631 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1633 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1634 Make sure the new point we return is within the new string (bug#17239).
1636 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1638 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1640 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1642 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1643 Use nil rather than `default' for the "default" appearance (bug#17388).
1644 * vc/ediff-util.el (ediff-inferior-compare-regions)
1645 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1646 a misleading `default' value when it's really a boolean.
1647 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1648 overlay is not visible.
1650 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1652 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1653 (todo-menu): Uncomment and update.
1655 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1657 * calendar/todo-mode.el: Reimplement item editing to have the same
1658 basic user interface as item insertion, and make small UI and
1659 larger internal improvements to the latter.
1660 (todo-insert-item): Add reference to the Todo mode user manual to
1661 the documentation string.
1662 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1663 adjust all callers. Change signature to combine diary and
1664 nonmarking arguments. Incorporate functionality of deleted item
1665 copying command and add error checking. Remove detailed
1666 descriptions of the arguments from the documentation string, since
1667 this is treated in the Todo mode user manual.
1668 (todo-copy-item, todo-edit-multiline-item)
1669 (todo-edit-done-item-comment, todo-edit-item-header)
1670 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1671 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1672 (todo-edit-item-date-year, todo-edit-item-date-month)
1673 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1675 (todo-edit-item): Reimplement as wrapper command for
1676 todo-edit-item--next-key and make it distinguish done and not done
1678 (todo-edit-item--text): New function, replacing old command
1679 todo-edit-item and incorporating deleted commands
1680 todo-edit-multiline-item and todo-edit-done-item-comment.
1681 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1682 Use only numeric value of prefix argument. Remove detailed
1683 descriptions of the arguments from the documentation string, since
1684 this is treated in the Todo mode user manual.
1685 (todo-edit-item--diary-inclusion): New function, replacing old
1686 command todo-edit-item-diary-inclusion and incorporating and fixing
1687 functionality of deleted command todo-edit-item-diary-nonmarking,
1688 making sure to remove todo-nondiary-marker when adding
1689 diary-nonmarking-symbol.
1690 (todo-edit-category-diary-inclusion): Make sure to delete
1691 diary-nonmarking-symbol when adding todo-nondiary-marker.
1692 (todo-edit-category-diary-nonmarking): Fix indentation.
1693 (todo-insert-item--parameters): Group diary and nonmarking
1694 parameters together.
1695 (todo-insert-item--apply-args): Adjust to signature of
1696 todo-insert-item--basic and incorporate copy parameter.
1697 Make small code improvements.
1698 (todo-insert-item--next-param): Improve prompt and adjust it to
1699 new parameter grouping. Remove obsolete code.
1700 (todo-edit-item--param-key-alist)
1701 (todo-edit-item--date-param-key-alist)
1702 (todo-edit-done-item--param-key-alist): New defconsts.
1703 (todo-edit-item--prompt): New variable.
1704 (todo-edit-item--next-key): New function.
1705 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1706 Remove bindings of deleted commands.
1708 2014-05-02 Leo Liu <sdl.web@gmail.com>
1710 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1712 2014-05-01 Glenn Morris <rgm@gnu.org>
1714 * allout-widgets.el (allout-widgets-tally)
1715 (allout-decorate-item-guides):
1716 * menu-bar.el (menu-bar-positive-p):
1717 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1718 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1719 * progmodes/js.el (js--inside-param-list-p)
1720 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1721 * progmodes/prolog.el (region-exists-p):
1722 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1723 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1724 Doc fixes (replace `iff').
1726 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1728 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1730 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1732 * dired.el (dired-initial-position-hook, dired-initial-position):
1735 2014-04-29 Glenn Morris <rgm@gnu.org>
1737 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1739 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1741 * faces.el (face-spec-recalc): Apply X resources only after the
1742 defface spec has been applied. Thus, X resources are no longer
1743 overridden by the defface spec which also fixes issues on win32 where
1744 the toolbar coloring was wrong because it is set through X resources
1745 and was (wrongfully) overridden. (Bug#16694)
1747 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * textmodes/rst.el (electric-pair-pairs): Declare.
1750 (rst-mode): Set it (bug#17131).
1752 2014-04-27 Juri Linkov <juri@jurta.org>
1754 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1755 and `print-level' to nil. (Bug#17351)
1757 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1759 * battery.el (battery-update): Handle the case where battery
1760 status is "N/A" (bug#17319).
1762 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1764 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1765 Use equal-including-properties to compare help-echo strings (bug#17331).
1767 2014-04-24 Leo Liu <sdl.web@gmail.com>
1769 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1770 Fix syntax for @. (Bug#17325)
1772 2014-04-24 Daniel Colascione <dancol@dancol.org>
1774 * emacs-lisp/cl.el (gv): Require gv early to break eager
1775 macro-expansion cycles.
1777 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1779 * simple.el (region-active-p): Check there's a mark (bug#17324).
1781 * simple.el (completion-list-mode-map): Use choose-completion for the
1782 mouse binding as well (bug#17302).
1783 (completion-list-mode, completion-setup-function): Adjust docstring and
1784 echo area message accordingly.
1785 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1786 calling convention of choose-completion.
1787 * comint.el (comint-dynamic-list-completions):
1788 * term.el (term-dynamic-list-completions): Accept choose-completion.
1790 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1791 &, |, +, - and * can't be a division (bug#17317).
1793 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1795 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1796 features on gnome-terminal (bug#16988).
1798 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1800 * dired.el (dired-insert-set-properties): Do not consider
1801 subdirectory headings and empty lines to be information that
1802 `dired-hide-details-mode' should hide. (Bug#17228)
1804 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1806 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1807 Remove test messages.
1808 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1811 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1814 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1816 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1818 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1820 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1821 Set "IFS=" when using read builtin, in order to preserve spaces in
1822 the file name. Add test messages for hunting a bug on hydra.
1823 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1825 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1827 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1828 Don't prettify a word within a symbol.
1830 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1832 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1835 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1838 assignments such as "case=hello" (bug#17297).
1840 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1842 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1844 (tramp-file-name-handler, tramp-completion-file-name-handler):
1845 Revert patch from 2014-04-10, it isn't necessary anymore.
1846 (tramp-autoload-file-name-handler)
1847 (tramp-register-autoload-file-name-handlers): New defuns.
1848 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1849 (tramp-register-file-name-handlers): Remove also
1850 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1851 Do not autoload its invocation, but eval it after loading of 'tramp.
1853 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1855 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1857 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1859 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1860 was done (bug#17264).
1861 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1864 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1865 here-documents (bug#17262).
1867 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1869 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1870 Provide doc strings, as required by snarf-documentation.
1872 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1874 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1875 arg of overlays-at. Use `invisible-p'.
1877 * obsolete/lucid.el (extent-at):
1878 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1880 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1882 2014-04-14 João Távora <joaotavora@gmail.com>
1884 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1887 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1889 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1890 Use mapc to loop over a vector. (Bug#17257).
1892 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1894 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1895 patch, there are new problems with file names containing spaces.
1896 Get rid of backticks. (Bug#17238)
1898 2014-04-13 João Távora <joaotavora@gmail.com>
1900 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1903 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1905 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1906 (blink-cursor-mode): Mention customization variables and the
1907 effect of 'blink-cursor-blinks'.
1909 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1911 * simple.el (undo): Prevent insertion of identity mapping into
1912 undo-equiv-table so as undo-only does not inf loop in the presence
1913 of consecutive nils in undo list.
1915 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1917 * faces.el (make-face): Deprecate optional argument as it is no
1918 longer needed/used since the conditional X resources handling
1919 has been pushed down to make-face-x-resource-internal itself.
1920 (make-empty-face): Don't pass optional argument to make-face.
1922 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1924 * international/characters.el <standard-case-table>: Add entries
1925 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1926 Set category of Coptic characters be 'g' (Greek).
1928 2014-04-12 Leo Liu <sdl.web@gmail.com>
1930 * progmodes/octave.el (completion-table-with-cache): Define if not
1932 (octave-goto-function-definition)
1933 (octave-sync-function-file-names)
1934 (octave-find-definition-default-filename): Backquote upattern for
1937 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1939 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1940 name twice due to backticks. (Bug#17238)
1942 2014-04-11 Glenn Morris <rgm@gnu.org>
1944 * term/w32-win.el (x-win-suspend-error):
1945 * term/x-win.el (x-win-suspend-error): Sync docs.
1947 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1949 Ediff's overlay priorities cause more trouble than they solve.
1950 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1951 (ediff-highest-priority): Remove function (bug#17234).
1952 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1953 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1954 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1957 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1959 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1960 entry; use symbol boundaries to avoid mis-matches.
1962 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1964 * net/tramp.el (tramp-file-name-handler)
1965 (tramp-completion-file-name-handler): Avoid recursive loading.
1967 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1968 Quote result also locally.
1970 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1972 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1973 Module methods. (Bug#17216)
1975 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1978 (describe-bindings-internal): Mark obsolete.
1980 2014-04-07 João Távora <joaotavora@gmail.com>
1983 (electric-pair--syntax-ppss): When inside comments parse from
1985 (electric-pair--balance-info): Fix typo in comment.
1986 (electric-pair--in-unterminated-string-p): Delete.
1987 (electric-pair--unbalanced-strings-p): New function.
1988 (electric-pair-string-bound-function): New var.
1989 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1990 according to `electric-pair--in-unterminated-string-p'
1992 2014-04-07 João Távora <joaotavora@gmail.com>
1994 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1995 Inhibit quote pairing if point-max is inside an unterminated string.
1996 (electric-pair--looking-at-unterminated-string-p): Delete.
1997 (electric-pair--in-unterminated-string-p): New function.
1999 2014-04-07 Glenn Morris <rgm@gnu.org>
2001 * shell.el (shell-directory-tracker):
2002 Go back to just ignoring failures. (Bug#17159)
2004 2014-04-06 João Távora <joaotavora@gmail.com>
2006 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2007 backspace. (bug#16981)
2008 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2009 (electric-pair-backward-delete-char-untabify): Delete.
2010 (electric-pair-mode-map): Bind backspace to a menu item filtering
2011 a new `electric-pair-delete-pair' command.
2012 (electric-pair-delete-pair): New command.
2014 2014-04-06 João Távora <joaotavora@gmail.com>
2016 * progmodes/python.el (python-electric-pair-string-delimiter):
2017 Fix triple-quoting electricity. (Bug#17192)
2019 2014-04-06 João Távora <joaotavora@gmail.com>
2021 * elec-pair.el (electric-pair-post-self-insert-function):
2022 Don't skip whitespace when `electric-pair-text-pairs' and
2023 `electric-pair-pairs' were used. syntax to
2024 electric-pair--skip-whitespace. (Bug#17183)
2026 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2028 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2031 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2034 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2036 2014-04-05 Glenn Morris <rgm@gnu.org>
2038 * help.el (view-lossage): Doc tweak.
2040 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2042 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2043 only when inhibit-x-resources is nil, and do that earlier in the
2044 function. Doc fix. (Bug#16694)
2045 (face-spec-choose): Accept additional optional argument, whose
2046 value is returned if no matching attributes are found.
2047 (face-spec-recalc): Use the new optional argument when calling
2048 face-spec-choose. (Bug#16378)
2049 (make-face-x-resource-internal): Do nothing when
2050 inhibit-x-resources is non-nil. Don't touch the default face if
2051 reversed video is given--as was done in previous versions of Emacs.
2052 (face-set-after-frame-default): Don't call
2053 make-face-x-resource-internal here. (Bug#16434)
2055 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2057 * doc-view.el (doc-view-bookmark-jump):
2058 Use `bookmark-after-jump-hook' to jump to the right page after the
2059 buffer is shown in a window. (bug#16090)
2061 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2063 * international/characters.el (mirroring): Fix last change:
2064 instead of loading uni-mirrored.el explicitly, do that implicitly
2065 by creating the 'mirroring' uniprop table. This avoids announcing
2066 the loading of uni-mirrored.el.
2068 2014-04-04 Glenn Morris <rgm@gnu.org>
2070 * files.el (buffer-stale--default-function)
2071 (buffer-stale-function, revert-buffer--default):
2072 * autorevert.el (auto-revert-buffers): Doc tweaks.
2074 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2076 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2078 2014-04-03 Glenn Morris <rgm@gnu.org>
2080 * files.el (make-backup-file-name-function)
2081 (make-backup-file-name, make-backup-file-name--default-function)
2082 (make-backup-file-name-1, find-backup-file-name)
2083 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2084 (buffer-stale--default-function, buffer-stale-function)
2085 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2086 (revert-buffer, revert-buffer--default)
2087 (revert-buffer-insert-file-contents--default-function):
2088 Doc fixes related to defaults no longer being nil.
2089 (make-backup-file-name-function): Bump :version.
2090 Restore nil as a valid but deprecated custom type.
2092 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2094 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2095 used as a variable (bug#17174).
2097 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * progmodes/perl-mode.el (perl-indent-new-calculate):
2100 Handle forward-sexp failure (bug#16985).
2101 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2102 modifiers introducing expressions (bug#17116).
2104 2014-04-02 Glenn Morris <rgm@gnu.org>
2106 * menu-bar.el (menu-bar-file-menu):
2107 * vc/ediff.el (ediff-current-file):
2108 Update for revert-buffer-function no longer being nil by default.
2110 * simple.el (command-execute): Respect nil disabled-command-function.
2112 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2114 * simple.el (command-execute): Do not execute the command when it
2115 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2117 2014-03-29 Juri Linkov <juri@jurta.org>
2119 * dired-aux.el (dired-compress-file): Don't use string-match-p
2120 because its match data is used afterwards.
2122 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2127 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2129 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2130 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2132 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2133 Don't propertize `?' or `!' as symbol constituent when after
2136 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2138 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2139 which is no longer needed and causes trouble in GTK builds (bug#17046).
2141 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2142 Use url-insert-file-contents; package-handle-response no longer exists.
2144 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2146 * emacs-lisp/package.el: Fix bug#16733 (again).
2147 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2148 (url-http-target-url): Remove unused declarations.
2149 (package-handle-response): Remove.
2150 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2151 (package--download-one-archive): Use current-buffer instead of
2152 dynamic binding of `buffer'.
2153 (describe-package-1): Do not decode readme-string.
2155 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2157 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2159 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2161 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2163 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2164 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2165 `remote-file-name-inhibit-cache' to nil in the second pass.
2166 (tramp-find-executable): Do not call "which" on SunOS.
2167 (tramp-send-command-and-check): Fix docstring.
2168 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2169 check whether source directory has set the sticky bit.
2171 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2173 * simple.el (primitive-undo): Only process marker adjustments
2174 validated against their corresponding (TEXT . POS). Issue warning
2175 for lone marker adjustments in undo history. (Bug#16818)
2176 (undo-make-selective-list): Add marker adjustments to selective
2177 undo list based on whether their corresponding (TEXT . POS) is in
2178 the region. Remove variable adjusted-markers, which was unused
2179 and only non nil during undo-make-selective-list.
2180 (undo-elt-in-region): Return nil when passed a marker adjustment
2181 and explain in function doc.
2183 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2185 * emacs-lisp/package.el (package--add-to-archive-contents):
2186 Include already installed and built-in packages in
2187 `package-archive-contents'.
2188 (package-install): Don't include already installed packages in the
2189 options during interactive invocation. (Bug#16762)
2191 2014-03-24 Daniel Colascione <dancol@dancol.org>
2193 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2194 instead of cl-loop search function.
2196 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2198 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2200 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2202 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2204 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2206 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2207 Match special global variables without curlies, too.
2208 (ruby-font-lock-keywords): Simplify the matcher for special global
2209 variables. Don't require a non-word character after the variable.
2212 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2214 * simple.el (redisplay-highlight-region-function): Increase priority of
2215 overlay to make sure boundaries are visible (bug#15899).
2217 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2219 * frameset.el (frameset-restore): Compare display strings with equal.
2221 * frame.el (make-frame): Don't quote display name in error message,
2222 it is already a string.
2224 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2226 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2229 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2231 * emacs-lisp/package.el (package-show-package-list): If the buffer
2232 is already displayed in another window, switch to that window.
2234 2014-03-21 Daniel Colascione <dancol@dancol.org>
2236 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2237 information in bug reports.
2239 2014-03-23 Daniel Colascione <dancol@dancol.org>
2241 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2242 list to look for keyword arguments instead of `memq', fixing
2243 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2244 Please make bootstrap.
2246 2014-03-23 Richard Stallman <rms@gnu.org>
2248 * battery.el (battery-linux-sysfs): Search for each field
2249 from the beginning of the buffer.
2251 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2253 * emacs-lisp/package.el (package-desc): Use the contents of the
2254 quoted form, not its cdr. (Bug#16873)
2256 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2258 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2259 benefit of doc.c; change parameter profile to match the X function.
2261 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2263 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2264 and `tramp-copy-env'.
2266 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2267 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2269 2014-03-21 Glenn Morris <rgm@gnu.org>
2271 * electric.el (electric-indent-post-self-insert-function): Add doc.
2273 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2275 * emacs-lisp/package.el (package-compute-transaction):
2276 Use `version-list-<=' to compare the requirement version against
2277 the version of package already to be installed. Update the error
2278 message. (Bug#16826)
2280 * progmodes/ruby-mode.el (ruby-smie-rules):
2281 Add indentation rule for ` @ '. (Bug#17050)
2283 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2285 * align.el (align-regexp): Remove superfluous backslash.
2287 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2288 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2289 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2290 Fix docstring typos.
2291 (ffap-next): Use C-u in docstring.
2292 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2293 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2294 Remove superfluous backslashes.
2295 (ffap-string-at-point): Reflow docstring.
2297 * server.el (server-host): Reflow docstring.
2298 (server-unload-function): Fix docstring typo.
2299 (server-eval-at): Remove superfluous backslash.
2301 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2302 (skeleton-insert): Doc fix.
2303 (skeleton-insert): Reflow docstring.
2305 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2306 (tty-color-approximate, tty-color-by-index, tty-color-values)
2307 (tty-color-desc): Remove superfluous backslashes.
2309 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2311 * electric.el (electric-newline-and-maybe-indent): New command.
2312 Bind it globally to C-j.
2313 (electric-indent-mode): Don't mess with the global map any more.
2314 Don't drop the post-self-insert-hook is some buffer is still using it
2317 * bindings.el (global-map): Remove C-j binding.
2319 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2320 the docstring of functions advised before dumping (bug#16993).
2322 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2324 * ps-print.el (ps-generate-postscript-with-faces):
2325 Explicitly deactivate the mark (bug#16866).
2326 * simple.el (deactivate-mark): Update region highlight.
2328 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2330 * emacs-lisp/package.el (describe-package-1):
2331 Decode commentary (bug#16733).
2333 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2335 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2336 modification of the value argument of :set (bug#16755).
2338 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2340 * simple.el (newline-and-indent): Do autofill (bug#17031).
2342 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2344 * newcomment.el (comment-normalize-vars): Only add escaping check
2345 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2346 (comment-beginning): Use `narrow-to-region' instead of moving back
2348 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2349 (comment-start-skip): Update the docstring.
2351 2014-03-18 Richard Stallman <rms@gnu.org>
2353 * dired.el (dired-display-file): Force use of other window.
2355 2014-03-18 Daniel Colascione <dancol@dancol.org>
2357 * startup.el (tty-handle-args): Remove debug message from 2007.
2359 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2362 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2363 (advice--make-1, advice-add, advice-remove):
2364 Remove braindead :advice-pending hack.
2366 2014-03-17 Glenn Morris <rgm@gnu.org>
2368 * calendar/calendar.el (calendar-generate-month): Apply weekend
2369 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2371 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2373 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2374 (tramp-call-process): Trace also DESTINATION.
2376 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2377 Quote file names when they are local. Remove superfluous trace.
2379 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2381 * newcomment.el (comment-beginning): If `comment-start-skip'
2382 doesn't match, move back one char and try again. (Bug#16971)
2384 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2385 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2386 Set `comment-start-skip' to a simpler value that doesn't try to
2387 check if the semicolon is escaped (this is handled by
2388 `syntax-ppss' now). (Bug#16971)
2390 * progmodes/scheme.el (scheme-mode-variables): Same.
2392 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2394 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2395 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2396 current (Bug#16816, Bug#17007).
2397 (with-current-buffer-window): New macro doing the same as
2398 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2399 * help.el (help-print-return-message): Warn in doc-string to not
2400 use this in `with-help-window'.
2401 (describe-bindings-internal): Call `describe-buffer-bindings'
2402 from within help buffer. See Juanma's scenario in (Bug#16816).
2403 (with-help-window): Update doc-string.
2404 * dired.el (dired-mark-pop-up):
2405 * files.el (save-buffers-kill-emacs):
2406 * register.el (register-preview): Use `with-current-buffer-window'
2407 instead of `with-temp-buffer-window'.
2409 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2411 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2412 Implement inserting into current buffer, documented in their docstrings.
2413 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2414 (rst-section-tree-point, rst-forward-section, rst-indent)
2415 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2416 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2417 (rst-font-lock-handle-adornment-pre-match-form)
2418 (rst-repeat-last-character): Reflow docstrings.
2419 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2420 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2421 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2422 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2423 Fix docstring typos.
2424 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2425 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2426 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2428 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2430 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2431 for compatibility with other ports.
2432 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2433 from the -xrm command line argument, but in the Nextstep port its value
2434 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2436 * progmodes/python.el (defconst, python-syntax-count-quotes)
2437 (python-indent-region, python-indent-shift-right)
2438 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2439 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2440 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2441 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2442 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2443 (python-shell-buffer-substring, python-shell-send-buffer)
2444 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2445 (python-completion-complete-at-point, python-fill-docstring-style)
2446 (python-eldoc-function, python-imenu-format-item-label)
2447 (python-imenu-format-parent-item-label)
2448 (python-imenu-format-parent-item-jump-label)
2449 (python-imenu--build-tree, python-imenu-create-index)
2450 (python-imenu-create-flat-index): Fix docstring typos.
2451 (python-indent-context, python-shell-prompt-regexp, run-python):
2452 Remove superfluous backslashes.
2453 (python-indent-line, python-nav-beginning-of-defun)
2454 (python-shell-get-buffer, python-shell-get-process)
2455 (python-info-current-defun, python-info-current-line-comment-p)
2456 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2457 (python-indent-post-self-insert-function, python-shell-send-file)
2458 (python-shell-completion-get-completions)
2459 (python-shell-completion-complete-or-indent)
2460 (python-eldoc--get-doc-at-point): Reflow docstrings.
2462 2014-03-14 Glenn Morris <rgm@gnu.org>
2464 * emacs-lisp/package.el (package-menu-mode-map):
2465 Replace use of obsolete function alias. Tweak menu item text.
2467 * info.el (Info-finder-find-node):
2468 Ignore the `emacs' metapackage. (Bug#10813)
2470 * finder.el (finder-list-matches): Include unversioned packages
2471 in the result of a keyword search.
2473 * finder.el (finder--builtins-descriptions): New constant.
2474 (finder-compile-keywords): Use finder--builtins-descriptions.
2476 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2478 * simple.el (blink-matching-paren): Describe the new value,
2479 `jump', enabling the old behavior.
2480 (blink-matching-open): Use that value. (Bug#17008)
2482 2014-03-14 Glenn Morris <rgm@gnu.org>
2484 * finder.el (finder-no-scan-regexp): Add leim-list.
2485 (finder-compile-keywords):
2486 Don't skip files with same basename. (Bug#14010)
2487 * Makefile.in (setwins_finder): New, excluding leim.
2488 (finder-data): Use setwins_finder.
2490 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2491 (help-function-arglist, help-make-usage): Move from here...
2492 * help.el (help-split-fundoc, help-add-fundoc-usage)
2493 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2494 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2496 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2498 * net/socks.el (socks, socks-override-functions)
2499 (socks-find-services-entry):
2500 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2501 (hif-find-ifdef-block):
2502 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2504 * net/tls.el (tls-program): Reflow docstring.
2506 * progmodes/pascal.el (pascal-mode-abbrev-table)
2507 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2508 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2509 (pascal-outline-mode): Fix docstring typos.
2510 (pascal-mode): Let define-derived-mode document mode hook.
2511 (pascal-uncomment-area): Reflow.
2512 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2514 * progmodes/opascal.el (opascal-compound-block-indent)
2515 (opascal-case-label-indent): Fix docstring typos.
2516 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2518 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2520 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2521 Fontify multiple adjacent negation chars. (Bug#17004)
2523 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2525 * emacs-lisp/package.el (package--prepare-dependencies):
2526 Accept requirements without explicit version (bug#14941).
2528 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2530 * register.el (register-separator, copy-to-register): Doc fixes.
2531 (register-preview-default): Remove unnecessary call to concat.
2533 * frameset.el (frameset-restore): When checking for a visible frame,
2534 use the action map instead of calling visible-frame-list.
2536 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2538 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2540 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2542 * window.el (fit-frame-to-buffer): Get maximum width from
2543 display's width instead of height.
2545 2014-03-12 Glenn Morris <rgm@gnu.org>
2547 * desktop.el (desktop-restore-frames)
2548 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2549 (desktop-restore-reuses-frames): Doc tweaks.
2551 * electric.el (electric-indent-mode): Doc fix.
2553 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2555 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2556 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2557 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2558 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2559 (cvs-dired-use-hook): Fix docstring typos.
2560 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2563 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2564 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2565 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2566 (cvs-execute-single-dir): Fix docstring typos.
2568 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2569 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2571 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2573 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2574 Fix docstring typos.
2576 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2578 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2579 called from jump-to-register after unloading the frameset package.
2581 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2583 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2584 (bug#16975). Deactivate the mark before setting it to nil.
2585 (activate-mark): Do nothing if region is already active.
2587 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2589 * frameset.el (frameset--target-display): Remove definition; declare.
2590 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2592 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2594 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2595 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2596 when the advice is pending.
2597 (advice-remove): Remove this marker when not needed any more.
2599 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2601 * frameset.el: Separate options for reusing frames and cleaning up.
2602 (frameset--reuse-list): Remove definition; declare.
2603 (frameset--action-map): Declare.
2604 (frameset--find-frame-if): Doc fix.
2605 (frameset--restore-frame): Cache frame action.
2606 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2607 how to clean up the frame list after restoring. Remove cleaning
2608 options from REUSE-FRAMES. Change all keyword values to symbols.
2609 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2611 * desktop.el (desktop-restore-forces-onscreen)
2612 (desktop-restore-reuses-frames): Use non-keyword values.
2613 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2615 2014-03-10 Glenn Morris <rgm@gnu.org>
2617 * files.el (find-file): Doc fix: update info node name.
2619 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2620 Doc fix: remove references to deleted info nodes.
2622 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2624 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2625 Do not add `nil' to the environment, when there's no remote `locale'.
2626 (tramp-find-inline-encoding): Check, that the remote host has
2627 installed perl, before sending scripts.
2629 2014-03-10 Leo Liu <sdl.web@gmail.com>
2631 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2632 Clear eldoc-last-message. (Bug#16920)
2634 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2636 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2639 2014-03-09 Juri Linkov <juri@jurta.org>
2641 * ansi-color.el (ansi-color-names-vector): Copy default colors
2642 from `xterm-standard-colors' that look well on the default white
2643 background (and also on the black background) to avoid illegible
2644 color combinations like yellow-on-white and white-on-white.
2645 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2647 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2649 * frameset.el (frameset-restore): When no frame is visible, do not
2650 generate a list of frames, just make visible the selected one.
2652 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2654 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2655 it only contains the repository root. (Bug#16897)
2657 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2659 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2660 only when `remote-file-name-inhibit-cache' is nil.
2661 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2663 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2665 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2667 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2668 fit-frame-to-buffer variable. Fix doc-string.
2669 (fit-window-to-buffer): Set ONLY argument in call of
2670 fit-frame-to-buffer. Fix doc-string.
2672 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2674 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2675 (tramp-action-password): Clear password cache if needed.
2676 (tramp-read-passwd): Do not clear password cache.
2678 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2679 cache unless it is the first password request.
2681 2014-03-06 Glenn Morris <rgm@gnu.org>
2683 * simple.el (newline): Doc tweak.
2685 * emacs-lisp/shadow.el (load-path-shadows-find):
2686 Ignore dir-locals. (Bug#12357)
2688 2014-03-05 Glenn Morris <rgm@gnu.org>
2690 * files.el (interpreter-mode-alist):
2691 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2693 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2695 * frameset.el (frameset--initial-params): Filter out null entries.
2697 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2699 * window.el (window-min-height, window-min-width):
2700 Rewrite doc-strings.
2701 (window-body-size): Add PIXELWISE argument to make it consistent
2704 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2706 * finder.el (finder-mode-map, finder-mode-syntax-table):
2707 Revert part of 2014-02-28 change.
2709 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2711 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2712 (eww-setup-buffer): Clear next/prev/etc more reliably.
2713 (eww-textarea-map): [tab] doesn't work on tty.
2714 Reported by Mario Lang.
2716 * net/shr.el (shr-map): Ditto.
2718 2014-03-04 Glenn Morris <rgm@gnu.org>
2720 * minibuffer.el (completion-hilit-commonality):
2721 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2723 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2725 * hilit-chg.el (hilit-chg-unload-function): New function.
2726 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2727 (hilit-chg-map-changes): Prefer cardinal number to digit.
2728 (hilit-chg-display-changes): Reflow docstring.
2729 (highlight-changes-rotate-faces): Remove superfluous backslash.
2731 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2733 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2734 `tramp-send-command-and-check'.
2736 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2738 * hexl.el (hexl-address-region, hexl-ascii-region)
2739 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2740 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2741 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2742 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2743 (hexl-mode): Doc fix.
2744 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2745 (hexl-mode-ruler): Fix typos in docstrings.
2747 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2748 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2749 Remove superfluous backslashes.
2750 (strokes-last-stroke, strokes-global-map, strokes-mode):
2752 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2753 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2754 (strokes-distance-squared, strokes-global-set-stroke)
2755 (strokes-global-set-stroke-string): Doc fixes.
2756 (strokes-help): Fix typos; reflow docstring.
2758 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2760 * window.el (window-in-direction): Fix doc-string.
2762 2014-03-04 Glenn Morris <rgm@gnu.org>
2764 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2765 Explicit error if no grammar.
2766 (smie-config-save): Doc fix. Fix quote typo.
2768 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2770 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2771 electric-indent-mode-hook if we obey electric-indent-mode.
2772 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2773 decide whether we obey electric-indent-mode.
2774 (c-change-set-fl-decl-start, c-extend-after-change-region):
2776 (c-electric-indent-mode-hook): Assume we do want to obey
2777 electric-indent-mode.
2779 * electric.el (electric-indent-mode-has-been-called): Remove.
2780 (electric-indent-mode): Fix accordingly.
2782 * files.el (hack-local-variables): Mention file name in warning.
2784 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2786 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2788 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2789 * simple.el (delete-forward-char): Mark as interactive-only.
2791 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2793 * icomplete.el (icomplete-completions):
2794 Follow-up to 2014-03-01 change.
2796 * icomplete.el: Miscellaneous doc fixes.
2797 Use Icomplete everywhere instead of icomplete for consistency.
2798 (icomplete-max-delay-chars): Fix typo.
2799 (icomplete-mode): Use \[].
2800 (icomplete-tidy, icomplete-exhibit): Reflow.
2801 (icomplete-minibuffer-setup-hook, icomplete-completions):
2802 Remove superfluous backlashes.
2804 * ido.el: Miscellaneous doc fixes.
2805 Use Ido everywhere instead of ido or `ido' for consistency.
2806 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2807 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2808 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2809 (ido-separator): Extract obsolescence info from docstring and declare
2810 with make-obsolete-variable.
2811 (ido-minibuffer-setup-hook): Simplify example.
2812 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2813 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2814 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2815 (ido-everywhere): Reflow docstring.
2816 (ido-toggle-vc): Doc fix.
2817 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2818 of long list of keybindings.
2820 2014-03-03 Glenn Morris <rgm@gnu.org>
2822 * frame.el (display-pixel-height, display-pixel-width)
2823 (display-mm-dimensions-alist, display-mm-height)
2824 (display-mm-width): Doc tweaks.
2826 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2828 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2829 case of undo in region.
2831 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2833 * window.el (fit-window-to-buffer): Fix argument in window-size
2834 call when window is horizontally combined.
2836 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2838 * icomplete.el (icomplete-completions): Use string-width.
2839 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2841 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2843 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2844 Highlight regexp options. (Bug#16914)
2846 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2848 * window.el (window--max-delta-1): Round down when calculating
2849 how many lines/columns we can get from a window.
2851 2014-03-01 Glenn Morris <rgm@gnu.org>
2853 * isearch.el (search-invisible): Doc fix.
2855 * minibuffer.el (completion-hilit-commonality):
2856 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2857 * comint.el (comint-dynamic-list-completions): Doc fix.
2858 * comint.el (comint-dynamic-list-completions):
2859 * filecache.el (file-cache-minibuffer-complete):
2860 * tempo.el (tempo-display-completions):
2861 * eshell/em-hist.el (eshell-list-history):
2862 Replace use of obsolete argument of display-completion-list.
2864 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2866 * icomplete.el (icomplete-completions):
2867 Revert back to using "..." when ?… cannot be displayed.
2869 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2871 * finder.el (finder-unload-function): New function.
2873 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2875 * dframe.el (dframe-detach):
2876 * find-dired.el (find-dired, find-name-dired):
2877 * finder.el (finder-mode-map, finder-mode-syntax-table)
2878 (finder-headmark, finder-select, finder-mouse-select):
2879 Fix docstring typos.
2881 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2883 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2884 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2885 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2886 Fix doc-string based on a suggestion by Nicolas Richard
2887 <theonewiththeevillook@yahoo.fr>.
2888 * help.el (with-help-window): Fix doc-string.
2890 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2892 * net/shr.el (shr-image-animate): New option.
2893 (shr-put-image): Respect shr-image-animate.
2895 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2897 * net/tramp-adb.el (tramp-adb-parse-device-names):
2898 Use `accept-process-output'.
2899 (tramp-adb-handle-file-truename): Cache the localname only.
2900 (tramp-adb-handle-make-directory)
2901 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2902 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2903 modes cannot be changed.
2905 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2906 file properties of symlinks.
2908 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2910 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2911 required/optional fields to match development biblatex. (Bug#16781)
2913 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2915 * saveplace.el (toggle-save-place):
2916 Fix argument handling. (Bug#16673)
2918 2014-02-28 Glenn Morris <rgm@gnu.org>
2920 * minibuffer.el (completions-first-difference)
2921 (completions-common-part, completion-hilit-commonality): Doc fixes.
2923 2014-02-28 Karl Berry <karl@gnu.org>
2925 * info.el (Info-mode-map): Add H for describe-mode,
2926 to synchronize with standalone Info.
2928 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2930 * progmodes/sql.el (sql-interactive-mode):
2931 Avoid setting global comint-input-ring-separator. (Bug#16814)
2933 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2935 * net/dbus.el (dbus--init-bus): Declare function.
2936 (dbus-path-local, dbus-interface-local): New defconst.
2937 (dbus-init-bus): Use them.
2938 (dbus-return-values-table): Extend doc.
2939 (dbus-handle-bus-disconnect): Extend error message.
2941 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2943 * subr.el (y-or-n-p): Fix double space issue in message.
2945 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2947 * net/tramp.el (tramp-call-process): Improve trace message.
2948 (tramp-handle-insert-file-contents): Trace error case.
2950 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2951 <insert-directory>: Use `tramp-handle-insert-directory'.
2952 (tramp-adb-handle-insert-directory): Remove function.
2953 (tramp-adb-send-command-and-check): New defun, replacing
2954 `tramp-adb-command-exit-status'. Change all callees.
2955 (tramp-adb-handle-file-attributes)
2956 (tramp-adb-handle-directory-files-and-attributes): Use it.
2957 (tramp-adb-ls-output-name-less-p):
2958 Use `directory-listing-before-filename-regexp'.
2959 (tramp-adb-handle-delete-directory): Flush also file properties of
2960 the truename of directory.
2961 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2962 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2963 (tramp-adb-handle-write-region): Implement APPEND.
2964 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2965 properties correctly.
2966 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2967 variables. Check for connected devices only when needed.
2969 2014-02-27 Glenn Morris <rgm@gnu.org>
2971 * minibuffer.el (completion-table-dynamic)
2972 (completion-table-with-cache): Doc fixes.
2974 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2975 (completing-read-multiple): Doc fixes.
2977 2014-02-27 Daniel Colascione <dancol@dancol.org>
2979 * minibuffer.el (completion--nth-completion): Fix indentation.
2981 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2982 explicit tramp path is empty.
2984 2014-02-27 Glenn Morris <rgm@gnu.org>
2986 * emacs-lisp/crm.el (completing-read-multiple):
2987 Empower help-enable-auto-load.
2989 2014-02-26 Glenn Morris <rgm@gnu.org>
2991 * startup.el (command-line): Don't init the tty in daemon mode.
2993 Avoid calling tty-setup-hook twice, eg if a term file
2994 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2995 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2996 (tty-create-frame-with-faces): Use it.
2997 * startup.el (command-line): Pass run-hook argument
2998 to tty-run-terminal-initialization.
3000 * dired.el (dired-restore-desktop-buffer): Demote errors;
3001 eg in case a glob match fails. (Bug#16884)
3003 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3005 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3006 error from `read-from-string'. (Bug#16850)
3008 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3009 result of `completing-read' in the interactive form. (Bug#16854)
3011 2014-02-25 Glenn Morris <rgm@gnu.org>
3013 * image.el (image-animate, image-animate-timeout):
3014 Stop animating images in dead buffers. (Bug#16878)
3016 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3018 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3020 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3021 * term/sun.el (sun-raw-prefix-hooks):
3022 Use tty-setup-hook instead of term-setup-hook.
3023 (terminal-init-sun): Construct message from bytecomp plist.
3024 * term/wyse50.el (enable-arrow-keys): Doc fix.
3026 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3028 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3029 Fix docstring typos.
3031 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3033 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3035 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3037 * minibuffer.el (completion--try-word-completion):
3038 Fix error when completing M-x commands (bug#16808).
3040 2014-02-24 Leo Liu <sdl.web@gmail.com>
3042 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3044 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3046 * apropos.el (apropos-print): Avoid formatting error when
3047 apropos-do-all and apropos-compact-layout are both t.
3049 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3051 * apropos.el (apropos-property, apropos-all-words-regexp)
3052 (apropos-true-hit, apropos-variable, apropos-print):
3053 Fix docstring typos, and remove obsolete comment.
3055 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3057 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3058 Preserve trailing "/". (Bug#16851)
3060 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3062 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3063 after `=>' (bug#16811).
3064 (ruby-smie-rules): Handle the inconsistent second element of the
3065 list returned by `smie-indent--parent'.
3066 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3069 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3071 * elec-pair.el (electric-pair-text-syntax-table)
3072 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3073 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3074 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3075 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3077 2014-02-22 Glenn Morris <rgm@gnu.org>
3079 * imenu.el (imenu--generic-function): Doc fix.
3081 * register.el (frame-configuration-to-register): Make obsolete.
3083 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3085 * desktop.el (desktop-save-buffer-p): Do not fail when
3086 desktop-files-not-to-save is nil. Return t for true result
3089 2014-02-22 Daniel Colascione <dancol@dancol.org>
3091 * net/secrets.el (secrets-create-item, secrets-search-items):
3092 Check that attribute values are strings, avoiding the construction
3093 of invalid dbus messages.
3095 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3097 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3098 defun-declarations-alist.
3100 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3102 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3105 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3107 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3108 (whitespace-newline, whitespace-trailing, whitespace-line)
3109 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3110 (whitespace-space-after-tab): Fix typo in docstrings.
3112 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3114 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3116 * electric.el (electric-indent-functions-without-reindent):
3117 Add `yaml-indent-line'.
3119 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3121 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3122 It has done nothing for years; should be removed after the release.
3124 * simple.el (choose-completion): Fix docstring typo.
3125 (read-quoted-char-radix): Remove unneeded * in docstring.
3126 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3127 Don't escape parentheses unnecessarily in docstrings.
3129 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3131 Fix handling of window-min-height/-width (Bug#16738).
3132 * window.el (window--dump-window, window--dump-frame):
3134 (window--min-size-1): Account for window dividers.
3135 When window-resize-pixelwise is nil, delay rounding till after the
3136 sum of the window components has been calculated.
3137 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3138 nil make sure at least one text line and two text columns remain
3140 (window-resize): Signal an error when window-resize-apply fails.
3141 (window--resize-child-windows): Fix calculation of by how many
3142 pixels a window can still be shrunk via window-new-normal.
3143 (adjust-window-trailing-edge): Call window--resizable with
3144 correct TRAIL argument.
3146 (with-temp-buffer-window): Don't evaluate BODY within
3147 with-current-buffer (Bug#16816).
3149 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3151 * net/tramp.el (tramp-check-cached-permissions):
3152 Call `file-attributes' with `suffix' being a symbol but a string.
3154 2014-02-21 Daniel Colascione <dancol@dancol.org>
3156 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3157 (dbus-init-bus): New function: call into dbus-init-bus-1
3158 and installs a handler for the disconnect signal.
3159 (dbus-call-method): Rewrite to look for result in cons.
3160 (dbus-call-method-handler): Store result in cons.
3161 (dbus-check-event): Recognize events with nil sender as valid.
3162 (dbus-handle-bus-disconnect): New function. React to bus
3163 disconnection signal by synthesizing dbus error for each
3164 pending synchronous or asynchronous call.
3165 (dbus-notice-synchronous-call-errors): New function.
3166 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3167 is true, not all the time.
3169 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3171 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3172 Remove obsolescence declarations, these variables do not exist anymore.
3174 * savehist.el (savehist-save-minibuffer-history)
3175 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3176 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3177 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3178 mostly, refer to "Savehist mode" when talking about the mode,
3179 and not the function.
3181 * saveplace.el (save-place): Remove redundant info in docstring.
3182 (save-place-forget-unreadable-files, toggle-save-place)
3183 (save-place-forget-unreadable-files, save-place-dired-hook):
3184 Fix typos and remove unneeded backslashes.
3186 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3188 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3189 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3191 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3192 <insert-directory>: Use `tramp-handle-insert-directory'.
3193 (tramp-gvfs-handle-insert-directory): Remove function.
3195 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3196 Call `tramp-handle-insert-directory'.
3198 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3200 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3201 before the start of buffer/region (bug#16799).
3203 2014-02-20 Glenn Morris <rgm@gnu.org>
3205 * isearch.el (search-invisible): Doc fix.
3207 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3209 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3212 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3214 * frameset.el (frameset-restore): Delay removing an old frame's
3215 duplicate id until the new frame has been correctly created.
3217 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3219 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3220 (tramp-check-cached-permissions): Call `file-attributes' if the
3223 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3224 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3226 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3227 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3228 (tramp-gvfs-maybe-open-connection): Set always connection
3229 properties, even if target is mounted already.
3231 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3232 Set tramp-autoload cookie.
3233 (tramp-get-remote-touch): New defun.
3234 (tramp-sh-handle-set-file-times): Use it.
3235 (tramp-sh-handle-directory-files-and-attributes):
3236 Use `tramp-handle-directory-files-and-attributes' if neither stat
3237 nor perl are available on the remote host.
3239 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3240 "/". Write long listing only when "l" belongs to the switches.
3242 * net/trampver.el: Update release number.
3244 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3246 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3248 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3250 * window.el (window-state-put): Allow WINDOW to refer to an
3251 internal window (Bug#16793).
3253 2014-02-19 Glenn Morris <rgm@gnu.org>
3255 * textmodes/remember.el: Move provide statement to end.
3256 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3257 (remember-notes): Doc fixes.
3259 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * delsel.el (delete-char): Restore incorrectly erased property
3264 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3266 * frameset.el (frameset--restore-frame): When a frame is being reused
3267 and its root window is not alive, delete all the frame's windows before
3268 restoring the window state. This works around the issue in bug#16793.
3270 2014-02-18 Glenn Morris <rgm@gnu.org>
3272 * textmodes/remember.el (remember-data-directory)
3273 (remember-directory-file-name-format, remember-store-in-files)
3274 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3275 (remember-notes-save-and-bury-buffer)
3276 (remember-notes--kill-buffer-query): Doc fixes.
3278 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3280 2014-02-17 Alan Mackenzie <acm@muc.de>
3282 Connect electric-indent-mode up with CC Mode. Bug #15478.
3283 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3284 to electric-indent-{,local-}-mode.
3285 (c-basic-common-init): Set electric-indent-inhibit.
3286 Initialise c-electric-flag from electric-indent-mode.
3287 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3288 New hook functions which propagate electric-indent-mode to CC mode.
3290 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3291 hit, toggle electric-indent-local-mode.
3293 * electric.el (electric-indent-mode-has-been-called):
3296 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3298 * frameset.el (frameset-cfg-id): New function.
3299 (frameset--reuse-frame, frameset-restore): Use it.
3300 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3302 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * ido.el (ido-file-internal): Remove unused var `d'.
3305 Use \` for to match BoS. Fit within 80n columns.
3307 2014-02-17 Daniel Colascione <dancol@dancol.org>
3309 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3310 dbus-call-method check for completion using a busy-wait loop with
3313 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3315 Sync with Tramp 2.2.9.
3317 * net/trampver.el: Update release number.
3319 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3321 * ido.el (ido-file-internal): Don't add the name of an existing
3322 directory twice. (Bug#16747)
3324 2014-02-16 Glenn Morris <rgm@gnu.org>
3326 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3327 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3329 2014-02-15 Michael R. Mauger <michael@mauger.com>
3331 * progmodes/sql.el: Version 3.4
3332 (sql-oracle-options): New default value ("-L").
3333 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3334 (sql-placeholders-filter): Correct placeholder pattern.
3335 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3336 (sql-login-delay): New variable.
3337 (sql-product-interactive): Use it.
3339 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3341 * frameset.el (frameset--jump-to-register): Check that buffer is live
3344 2014-02-15 Glenn Morris <rgm@gnu.org>
3346 * info.el (info-initialize): Revert 2014-01-10 change.
3348 2014-02-14 Glenn Morris <rgm@gnu.org>
3350 * replace.el (map-query-replace-regexp)
3351 (read-regexp-defaults-function, read-regexp): Doc fixes.
3353 * dired.el (dired-read-regexp):
3354 * faces.el (list-faces-display):
3355 * misearch.el (multi-isearch-read-matching-buffers)
3356 (multi-isearch-read-matching-files):
3357 * play/cookie1.el (cookie-apropos):
3358 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3360 * textmodes/remember.el (remember): Use frameset-to-register
3361 rather than frame-configuration-to-register.
3363 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3365 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3366 incorrect keybinding.
3368 2014-02-13 Daniel Colascione <dancol@dancol.org>
3370 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3371 when adding overlays so that line numbers from compiler match line
3374 2014-02-13 Glenn Morris <rgm@gnu.org>
3376 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3378 * jit-lock.el (jit-lock-mode): Doc fix.
3380 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3382 * apropos.el (apropos-read-pattern): When the user passes an empty
3383 string, give a more helpful error message than "Wrong type
3384 argument: stringp, nil".
3386 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3388 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3390 2014-02-13 Glenn Morris <rgm@gnu.org>
3392 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3394 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3396 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3397 shift-select commands.
3399 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3401 * progmodes/js.el (js-indent-line): Don't widen.
3402 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3404 2014-02-12 Glenn Morris <rgm@gnu.org>
3406 * icomplete.el (icomplete): Add info-link to defgroup.
3407 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3408 (icomplete-minibuffer-map, icomplete-mode)
3409 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3411 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3412 (package-menu-filter): Rename from package-menu-filter-interactive.
3415 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3417 * frameset.el (frameset--jump-to-register): Select the required
3418 window and buffer before restoring position (bug#16696).
3420 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3422 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3424 2014-02-10 Glenn Morris <rgm@gnu.org>
3426 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3428 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3430 * w32-common-fns.el (x-get-selection): Doc fix.
3431 * select.el (x-get-selection): Doc fix. (Bug#15109)
3433 * face-remap.el (face-remap-add-relative)
3434 (face-remap-remove-relative, face-remap-reset-base)
3435 (face-remap-set-base): Call force-mode-line-update to redisplay
3436 the current buffer due to potential change in faces. (Bug#16709)
3438 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3440 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3441 script more robustly.
3443 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3445 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3447 * simple.el (choose-completion): Doc fix (bug#14160).
3449 * subr.el (event-start): Say what a nil EVENT value means.
3451 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3454 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3456 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3458 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3460 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3461 predicate function (bug#15455).
3463 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3465 * ielm.el (inferior-emacs-lisp-mode): Instead of
3466 `comment-use-global-state', set `comment-use-syntax'.
3468 2014-02-10 Glenn Morris <rgm@gnu.org>
3470 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3472 2014-02-09 Alan Mackenzie <acm@muc.de>
3474 Fix c-invalidate-state-cache on narrowed buffers.
3475 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3476 Widen when setting and clearing the CPP delimiter properties.
3478 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3480 * help.el (describe-bindings): Doc fix (bug#9888).
3482 * files.el (save-buffer): Use ARG as the parameter name for
3483 consistency (bug#10346).
3484 (save-buffer): Clarify the 0 argument (bug#10346).
3486 * cus-edit.el (customize-apropos): Fix error string.
3487 (custom-buffer-create): Doc fix (bug#11122).
3488 (custom-sort-items): Doc fix (bug#11121).
3490 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3492 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3493 (icomplete-simple-completing-p): Mention the previous variable.
3495 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3496 meaning of the parameter (bug#12282).
3498 * files.el (find-file-noselect): Clarify prompt when changing
3499 readedness (bug#13261).
3500 (locate-file): Suffixes aren't returned, so don't say that they
3502 (backup-inhibited): Doc clarification (bug#12525).
3504 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3505 before we actually start to delete things (bug#16331).
3507 * subr.el (event-start): Doc fix (bug#14228).
3510 2014-02-09 Glenn Morris <rgm@gnu.org>
3512 * emacs-lisp/warnings.el (lwarn):
3513 Empower help-enable-auto-load. (Bug#15940)
3515 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3517 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3520 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3522 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3523 Insert output at end of buffer. (Bug#16120)
3525 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3527 * simple.el (choose-completion-string-functions): Document new
3528 calling convention (bug#14153).
3529 (execute-extended-command): Clarify doc string (bug#13373).
3531 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3533 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3534 (find-grep-dired): Doc fix (bug#14288).
3536 2014-02-08 Juri Linkov <juri@jurta.org>
3538 * isearch.el (isearch-quote-char): Check character validity
3539 like in `quoted-insert' (bug#16677).
3541 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3543 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3545 * isearch.el (isearch-hide-immediately): Doc clarification
3548 * simple.el (line-move): Document utility function used many
3549 places in the Emacs sources (bug#14843).
3551 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3552 (dired-prev-marked-file): Doc fix (bug#14855).
3553 (dired-up-directory): Doc fix (bug#14848).
3555 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3557 * files.el (file-relative-name): Doc fix (bug#15159).
3559 * fringe.el (fringe-styles): Doc fix (bug#15239).
3561 * isearch.el (isearch-filter-predicate): Documentation typo fix
3564 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3566 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3568 * replace.el (replace-match-maybe-edit): Doc clarification
3571 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3573 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3575 2014-02-08 Glenn Morris <rgm@gnu.org>
3577 * help-fns.el (describe-variable):
3578 Check {file,dir}-local-variables-alist, and buffer-file-name,
3579 in the correct buffer.
3581 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3583 * help-fns.el (describe-variable): Fix the case where
3584 a value is directory-local with no dir-locals file. (Bug#16635)
3586 2014-02-08 Glenn Morris <rgm@gnu.org>
3588 * abbrev.el (edit-abbrevs-mode):
3589 Derive from fundamental-mode. (Bug#16682)
3591 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3593 * simple.el (quoted-insert): Check character validity (bug#16677).
3595 2014-02-07 Juri Linkov <juri@jurta.org>
3597 * desktop.el (desktop-read): Claim the lock when the owner is not
3598 the current process. (Bug#16157)
3600 2014-02-07 Juri Linkov <juri@jurta.org>
3602 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3603 to "\\` ". (Bug#16651)
3605 2014-02-07 Juri Linkov <juri@jurta.org>
3607 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3608 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3609 (desktop-auto-save-cancel-timer): New function with some code from
3610 `desktop-auto-save-set-timer'.
3611 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3612 Instead of setting `desktop-save-mode' to nil, call
3613 `desktop-save-mode' with arg 0. (Bug#16630)
3615 2014-02-07 Glenn Morris <rgm@gnu.org>
3617 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3618 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3619 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3621 * obsolete/iswitchb.el: Move to obsolete/.
3622 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3623 since obsolete/ is not scanned for autoloads.
3624 * emacs-lisp/authors.el (authors-valid-file-names):
3627 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3628 Disable now non-functional find-file-hook.
3630 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3632 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3633 instead of ";" in order to avoid additional prompts. Let heredoc
3634 scripts read from tty. (Bug#16582)
3635 (tramp-send-command): No special handling of heredocs, it isn't
3638 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3640 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3641 with a space (bug#16664). Limit the symbols considered to the ones
3642 that are bound or fbound (bug#16646).
3644 2014-02-06 Glenn Morris <rgm@gnu.org>
3646 * epa.el (epa-mail-aliases): Doc fix.
3648 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3650 * emacs-lisp/lisp.el (lisp-completion-at-point):
3651 Use `completion-table-merge' instead of `completion-table-in-turn'
3654 * minibuffer.el (completion-table-merge): New function.
3656 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3658 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3659 (tramp-sh-handle-set-file-acl)
3660 (tramp-sh-handle-start-file-process)
3661 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3662 (tramp-find-executable, tramp-send-command): Use it.
3664 2014-02-05 Glenn Morris <rgm@gnu.org>
3666 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3668 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3670 * progmodes/python.el (python-shell-send-string)
3671 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3673 2014-02-04 Anders Lindgren <andlind@gmail.com>
3675 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3676 the names (bug#16620).
3678 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3680 * faces.el (window-divider): New default value. Rewrite doc-string.
3681 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3683 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3685 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3686 `protected' and `public' can also be called without arguments.
3688 2014-02-03 Glenn Morris <rgm@gnu.org>
3690 * register.el (window-configuration-to-register)
3691 (frame-configuration-to-register): Unadvertise unused argument.
3692 * frameset.el (frameset-to-register): Remove unused argument.
3694 * frameset.el (frameset-to-register):
3695 * kmacro.el (kmacro-to-register):
3696 * register.el (increment-register):
3697 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3698 (calc-append-to-register, calc-prepend-to-register):
3699 * play/gametree.el (gametree-layout-to-register)
3700 (gametree-apply-register-layout):
3701 * textmodes/picture.el (picture-clear-rectangle-to-register)
3702 (picture-yank-rectangle-from-register):
3703 * vc/emerge.el (emerge-combine-versions-register):
3704 Use register-read-with-preview to read registers.
3706 2014-02-03 João Távora <joaotavora@gmail.com>
3708 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3709 when at beginning of (possibly narrowed) buffer.
3711 2014-02-02 Daniel Colascione <dancol@dancol.org>
3713 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3714 Also try to display local help from just before point.
3716 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3718 c-parse-state. Don't "append-lower-brace-pair" in certain
3719 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3720 recognised as a comment.
3722 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3723 as well as normal comment starter.
3724 (c-parse-state-get-strategy): Extra return possibility
3726 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3727 return value list to indicate replacement of a brace-pair cons
3729 (c-parse-state-1): With 'back-and-forward, only call
3730 c-append-lower-brace-pair-to state-cache when cons-separated.
3732 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3734 * term/ns-win.el (ns-suspend-error): New function.
3735 (ns-initialize-window-system): Add ns-suspend-error to
3736 suspend-hook (Bug#16612).
3738 2014-02-02 Daniel Colascione <dancol@dancol.org>
3740 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3741 Make loading cc-mode silent.
3743 2014-02-02 Daniel Colascione <dancol@dancol.org>
3745 * comint.el (comint-prompt-read-only): Change doc to suggest
3748 2014-02-02 Glenn Morris <rgm@gnu.org>
3750 * register.el (register-read-with-preview, point-to-register)
3751 (window-configuration-to-register, frame-configuration-to-register)
3752 (jump-to-register, number-to-register, view-register, insert-register)
3753 (copy-to-register, append-to-register, prepend-to-register)
3754 (copy-rectangle-to-register): Doc fixes.
3756 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3758 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3759 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3760 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3761 * help-fns.el (describe-function-1): Use it.
3763 2014-02-02 Glenn Morris <rgm@gnu.org>
3765 * register.el (register-preview-default): New function,
3766 split from register-preview.
3767 (register-preview-function): Rename from register-preview-functions,
3769 (register-preview): Use register-preview-function.
3770 (register-read-with-preview): Error on non-character event. (Bug#16595)
3772 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3774 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3775 `:' before binary operators (bug#16609). Don't check for `:'
3776 before `[' and `(', or their syntax status. A percent literal
3777 can't end with either.
3778 (ruby-font-lock-keywords): For built-ins that require arguments,
3779 check that they're followed by something that looks like argument
3782 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3784 * subr.el (butlast): Document what an omitted N means (bug#13437).
3787 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3789 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3790 depth shallower (bug#16587).
3791 (shr-tag-svg): Respect `shr-inhibit-images'.
3792 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3794 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3796 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3797 (ruby-smie-grammar): Make "." right-associative. Make its priority
3798 lower than the ternary and all binary operators.
3799 (ruby-smie-rules): Indent "(" relative to the first non-"."
3800 parent, or the first "." parent at indentation.
3801 Use `ruby-align-chained-calls' for indentation of "." tokens.
3804 2014-01-31 Juri Linkov <juri@jurta.org>
3806 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3807 from `make-hash-table'.
3809 * textmodes/ispell.el (ispell-init-process): Change message format
3810 to be consistent with other messages.
3812 2014-01-31 Glenn Morris <rgm@gnu.org>
3814 * delsel.el (delete-selection-mode): Doc fix.
3816 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3817 (trace-function-background): Doc fixes.
3819 * ido.el (ido-use-virtual-buffers): Doc fix.
3820 Reset :version, since the default value has not changed.
3822 * register.el (register-preview-delay, register-read-with-preview):
3825 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3826 do not mess with mail-buffer position (fixes 2009-11-03 change).
3827 * progmodes/cc-mode.el (c-submit-bug-report):
3828 Check auto-fill-mode is bound. (Bug#16592)
3830 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3832 * startup.el (fancy-splash-image-file): New function,
3833 split from fancy-splash-head.
3834 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3835 so that we are both using the same image. (Bug#16574)
3837 2014-01-30 Glenn Morris <rgm@gnu.org>
3839 * simple.el (eval-expression): Doc fix.
3841 * hexl.el (hexl-mode-hook):
3842 * ielm.el (ielm-mode-hook):
3843 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3844 (lisp-interaction-mode-hook):
3845 * progmodes/cfengine.el (cfengine3-documentation-function):
3846 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3848 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3850 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3851 is a symbol (bug#16584).
3853 2014-01-30 Glenn Morris <rgm@gnu.org>
3855 * help.el (help-for-help-internal): Add "P" to text.
3857 2014-01-29 Glenn Morris <rgm@gnu.org>
3859 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3861 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3863 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3866 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3868 * progmodes/hideif.el: Extend to full CPP expression syntax.
3869 (hif-token-alist): Add missing tokens.
3870 (hif-token-regexp): Add support for float/octal/hex immediates.
3871 (hif-string-literal-regexp): New const.
3872 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3873 (hif-exprlist): New function.
3874 (hif-parse-if-exp): Use it.
3875 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3876 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3877 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3878 (hif-logxor, hif-comma): New functions.
3880 2014-01-28 Glenn Morris <rgm@gnu.org>
3882 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3884 * indent.el (tab-stop-list): Doc fix. Add :version.
3886 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3887 (cvs-append-to-ignore): Add compatibility alias.
3889 2014-01-27 Glenn Morris <rgm@gnu.org>
3891 * dired.el (dired-hide-details-mode): Don't autoload it,
3892 since it cannot be used outside Dired buffers anyway.
3894 * emulation/cua-base.el (cua-mode): Doc fix.
3896 * dired.el (dired-hide-details-hide-symlink-targets)
3897 (dired-hide-details-hide-information-lines)
3898 (dired-hide-details-mode): Doc fixes.
3900 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3901 * strokes.el (strokes-file): Doc fix. Bump :version.
3902 (strokes-help): Doc fix.
3903 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3904 * emulation/viper.el (viper): Doc fix for custom group.
3905 (top-level): Remove oh-so-no-longer-relevant text about vip.
3906 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3908 * ido.el (ido-save-directory-list-file):
3909 * saveplace.el (save-place-file):
3910 * calendar/timeclock.el (timeclock-file):
3911 * net/quickurl.el (quickurl-url-file):
3912 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3913 * progmodes/idlwave.el (idlwave-config-directory):
3914 * textmodes/remember.el (remember-data-file):
3917 2014-01-26 Glenn Morris <rgm@gnu.org>
3919 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3920 Doc fix. Make obsolete.
3921 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3923 * sort.el (delete-duplicate-lines): Doc fix.
3925 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3927 * progmodes/ada-mode.el (ada):
3928 * woman.el (woman): Link to info manual and Commentary section.
3930 * progmodes/flymake.el (flymake):
3931 * nxml/nxml-mode.el (nxml):
3933 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3934 * htmlfontify.el (htmlfontify):
3937 * ido.el (ido): Link to info manual.
3939 2014-01-25 Leo Liu <sdl.web@gmail.com>
3941 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3943 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3945 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3948 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3950 * net/eww.el (eww-download-callback):
3951 Fix reference to eww-download-directory.
3953 * emacs-lisp/bytecomp.el (byte-compile-file):
3954 Remove unused local variable `file-name'.
3956 2014-01-24 Glenn Morris <rgm@gnu.org>
3958 * woman.el (woman-default-faces, woman-monochrome-faces):
3959 Fix obsolescence specification.
3961 * subr.el (with-demoted-errors): Doc fix.
3963 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3965 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3966 (cl--macroexp-fboundp): New function.
3967 (cl--make-type-test): Use it.
3969 2014-01-23 Glenn Morris <rgm@gnu.org>
3971 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3972 * simple.el (eval-expression): Doc fixes.
3974 2014-01-22 Glenn Morris <rgm@gnu.org>
3976 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3978 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3980 * emacs-lisp/package.el: Write files silently.
3981 (package-autoload-ensure-default-file, package--write-file-no-coding)
3982 (package-generate-description-file, package--download-one-archive)
3983 (package-install-from-archive): Tell `write-region' to stay quiet.
3984 (package-menu-mode, package-menu--print-info): Omit the Archive column
3985 if there's only one archive.
3986 (package-all-keywords, package--has-keyword-p): Remove dead code.
3988 2014-01-22 Glenn Morris <rgm@gnu.org>
3990 * version.el (emacs-bzr-version-bzr): Fix typo.
3992 * version.el (emacs-repository-get-version):
3993 Check either .bzr or .git, but not both.
3994 Make the git case actually use the DIR argument, and return nil
3995 rather than the empty string.
3996 Avoid error if .git exists but the git executable is not found.
3998 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4000 Fixes in window size functions around Bug#16430 and Bug#16470.
4001 * window.el (window-total-size, window-size): New argument ROUND.
4002 (window--min-delta-1, window-min-delta, window--max-delta-1):
4003 Be more conservative when calculating the numbers of lines or
4004 columns a window can shrink (Bug#16430).
4005 (fit-window-to-buffer): Simplify code.
4006 * term.el (term-window-width): Call window-body-width again.
4008 2014-01-22 Glenn Morris <rgm@gnu.org>
4010 * image.el (image-format-suffixes): Doc fix.
4012 * international/quail.el (quail-define-package): Doc fix.
4014 * emacs-lisp/authors.el (authors-valid-file-names)
4015 (authors-renamed-files-alist): Additions.
4017 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4018 reverts 2014-01-09 change. (Bug#16422)
4020 * calc/calc-embed.el (thing-at-point-looking-at):
4021 * emacs-lisp/map-ynp.el (x-popup-dialog):
4022 * obsolete/lmenu.el (x-popup-dialog):
4023 * emacs-lisp/package.el (url-recreate-url):
4024 * mail/mailclient.el (clipboard-kill-ring-save):
4025 * subr.el (x-popup-dialog): Update declaration.
4026 * mail/rmail.el (rmail-mime-message-p):
4027 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4029 2014-01-21 Daniel Colascione <dancol@dancol.org>
4031 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4032 Correctly detect when we're inside an arithmetic expansion form
4033 containing nested parenthesis.
4034 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4035 to detect cases where we shouldn't expand "<<" to a heredoc
4038 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4040 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4041 (eldoc--message-command-p): New function.
4042 (eldoc-display-message-p): Use it.
4043 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4044 message is not automatically erased for us.
4045 (eldoc-print-current-symbol-info): Erase previous message, if any.
4047 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4049 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4050 specify it's an interactive function.
4052 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4053 Fix regex used for scanning for citation keys which failed for
4054 citations with optional arguments.
4056 2014-01-21 Leo Liu <sdl.web@gmail.com>
4058 * simple.el (read--expression): Don't enable eldoc-mode.
4060 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * simple.el (move-beginning-of-line): Make sure we don't move forward
4065 2014-01-20 Juri Linkov <juri@jurta.org>
4067 * saveplace.el (toggle-save-place, save-place-to-alist)
4068 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4069 'dired-mode) before checking for dired-directory. (Bug#16477)
4071 2014-01-20 Juri Linkov <juri@jurta.org>
4073 * indent.el (indent-line-to): Use backward-to-indentation
4074 instead of back-to-indentation. (Bug#16461)
4076 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4078 Revert some of the CANNOT_DUMP fix (Bug#16494).
4079 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4080 but fixing this can wait until after the next release.
4081 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4083 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4085 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4086 Use `password-word-equivalents'.
4087 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4088 to t. (Bug#5664, Bug#13124)
4090 2014-01-19 Alan Mackenzie <acm@muc.de>
4092 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4094 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4095 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4096 * progmodes/cc-mode.el (c-before-change, c-after-change)
4097 (c-font-lock-fontify-region): Bind it here.
4099 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4101 * term.el (term-window-width): Call window-text-width instead of
4102 window-width (Bug#16470).
4104 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4106 * simple.el (password-word-equivalents): Remove duplicates.
4107 Sort, to make this easier next time.
4108 Downcase. Omit ": " after "jelszó".
4110 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4112 * term/common-win.el (saved-region-selection): Defvar it.
4113 (x-select-text): Set saved-region-selection (Bug#16382).
4115 2014-01-18 Glenn Morris <rgm@gnu.org>
4117 * emacs-lisp/authors.el (authors-aliases)
4118 (authors-renamed-files-alist): Add some entries.
4120 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4122 * net/tramp.el (tramp-password-prompt-regexp):
4123 Use `password-word-equivalents' if available.
4124 (tramp-action-password, tramp-process-one-action)
4125 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4127 2014-01-17 Chong Yidong <cyd@gnu.org>
4129 * simple.el (password-word-equivalents): New defcustom.
4130 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4132 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4135 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4137 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4138 (ruby-align-to-stmt-keywords): Change the default value.
4139 Use `ruby-alignable-keywords' to generate the possible customization
4141 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4142 keywords, check against the value of `ruby-alignable-keywords'
4143 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4145 2014-01-17 Glenn Morris <rgm@gnu.org>
4147 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4149 Make M-x authors return zero *Authors Errors* from current logs.
4150 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4151 (authors-ignored-files): Add some entries, remove others.
4152 (authors-ambiguous-files, authors-valid-file-names):
4154 (authors-renamed-files-alist): Add, remove, and adjust entries.
4155 (authors-renamed-files-regexps): Add some entries.
4156 Remove some very broad ones. Make some entries `lax'.
4157 (authors-lax-changelogs): New constant.
4158 (authors-disambiguate-file-name): Treat top-level specially.
4159 (authors-lax-changelog-p): New function.
4160 (authors-canonical-file-name): Check file as written against
4161 authors-valid-file-names. Do not special-case etc/.
4162 Handle `lax' logs and authors-renamed-files-regexps elements.
4164 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4166 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4167 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4170 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4173 Assume we're already in the proper buffer.
4174 Inspired by Anders Lindgren <andlind@gmail.com>.
4175 (follow-post-command-hook): Call it from the right buffer.
4176 (follow-comint-scroll-to-bottom): Adjust call.
4177 (follow-all-followers): Use get-buffer-window-list.
4179 2014-01-15 Daniel Colascione <dancol@dancol.org>
4181 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4182 `buffer-file-name' in interactive-form so that we don't leave
4183 pathless file names in `file-name-history'.
4185 2014-01-15 Juri Linkov <juri@jurta.org>
4187 * indent.el (indent-rigidly): Set deactivate-mark to nil
4188 in transient indentation mode. (Bug#16438)
4190 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4192 * emacs-lisp/package.el (package-desc-keywords): New function
4194 (describe-package-1, package-all-keywords)
4195 (package--has-keyword-p): Use it.
4197 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4199 * simple.el (define-alternatives): When creating the
4200 COMMAND-alternatives variable, assign COMMAND as its definition
4201 name so that `describe-variable' can relocate it.
4203 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4205 * font-lock.el (font-lock-keywords): Fix typo in docstring
4208 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4210 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4211 line instead of wrongly reset `add-coment' (bug#13577).
4213 2014-01-14 Daiki Ueno <ueno@gnu.org>
4215 * epa-file.el (epa-file-write-region): Encode the region according
4216 to `buffer-file-format'. Problem reported at:
4217 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4219 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4221 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4222 so it applies in the right buffer (bug#16410).
4224 2014-01-13 Daniel Colascione <dancol@dancol.org>
4226 * textmodes/rst.el (rst-define-key): Provide deprecated
4227 keybindings through named functions instead of anonymous ones so
4228 that "??" doesn't appear in describe-mode output.
4230 2014-01-13 Bastien Guerry <bzg@gnu.org>
4232 * simple.el (define-alternatives): Call the selected command
4233 interactively. When setting `COMMAND--implementation' for the
4234 first time, tell the user how to chose another implementation.
4235 Enhance the docstring.
4237 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4239 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4240 (log-edit--match-first-line): New function.
4241 (log-edit-font-lock-keywords): Use it.
4242 (log-edit-mode): Make jit-lock-defer-multiline work.
4244 2014-01-13 Bastien Guerry <bzg@gnu.org>
4246 * rect.el (rectangle-mark-mode): When the region is not active,
4247 display a message saying that the mark as been set and that
4248 rectangle mode is in use.
4249 (rectangle--highlight-for-redisplay): Only put an overlay with a
4250 visible vertical bar when (display-graphic-p) is non-nil.
4251 This partially fixes Bug#16403.
4253 2014-01-13 Juri Linkov <juri@jurta.org>
4255 * info.el (Info-find-file): Go to DIR before displaying the error
4256 about a nonexistent file if no previous Info file is visited.
4257 Use `user-error' instead of `error' for "Info file %s does not exist".
4258 (Info-find-node-2): In case of a nonexistent node in unwind forms
4259 go to the Top node if there is no previous node to revert to.
4262 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4264 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4265 * window.el (fit-frame-to-buffer): Fix doc-string.
4266 Respect window-min-height/-width. Fit pixelwise when
4267 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4268 when avoiding that frame goes partially off-screen.
4269 (fit-window-to-buffer): Respect window-min-height/-width
4272 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4274 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4275 after an empty line.
4277 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4279 * net/shr.el (shr-render-region): Autoload.
4281 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4283 * net/eww.el (eww-download-directory): Rename from
4284 `eww-download-path' (Bug#16419).
4286 2014-01-12 Leo Liu <sdl.web@gmail.com>
4288 * dired-x.el (dired-mode-map): Fix last change.
4290 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4292 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4295 * emacs-lisp/generic.el (generic--normalize-comments):
4296 Rename from generic--normalise-comments. All uses changed.
4297 * play/bubbles.el (bubbles--neighborhood-score)
4298 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4299 (bubbles--neighborhood-available)
4300 (bubbles--update-neighborhood-score):
4301 Rename from names with 'neighbourhood'. All uses changed.
4303 2014-01-12 Leo Liu <sdl.web@gmail.com>
4305 Re-implement the feature of showing eldoc info after editing.
4306 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4307 (eldoc-edit-message-commands): New function.
4308 (eldoc-print-after-edit): New variable.
4309 (eldoc-pre-command-refresh-echo-area): Emit message only by
4310 eldoc-message-commands.
4311 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4312 if eldoc-print-after-edit is set. (Bug#16346)
4313 * simple.el (read--expression): Enable eldoc-mode.
4314 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4316 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4317 Eric S. Raymond <esr@thyrsus.com>
4319 * version.el (emacs-repository-get-version): Enhance so the
4320 function works correctly in either a Bazaar or Git repo.
4322 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4324 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4325 Goes with removal of the joke manpages from /etc.
4327 2014-01-10 Kenichi Handa <handa@gnu.org>
4329 * mail/rmail.el (rmail-get-coding-system):
4330 Check rmail-get-coding-function before "funcall"ing it.
4332 2014-01-10 Glenn Morris <rgm@gnu.org>
4334 * emacs-lisp/authors.el (authors-fixed-entries):
4335 Update for files that no longer exist.
4337 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4339 * version.el (emacs-bzr-get-version): Restore compatibilty with
4342 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4344 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4347 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4349 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4351 2014-01-10 Chong Yidong <cyd@gnu.org>
4353 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4355 2014-01-10 Anders Lindgren <andlind@gmail.com>
4357 * follow.el (follow-cache-command-list): Include right-char and
4360 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4363 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4364 * woman.el (woman-mark-horizontal-position):
4365 Rename from woman-mark-horizonal-position. Use changed.
4367 2014-01-10 Glenn Morris <rgm@gnu.org>
4369 * info.el (info-initialize): If running uninstalled, ensure our
4370 own info files are always found first, even if INFOPATH is set.
4372 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4374 2014-01-09 David Engster <deng@randomsample.de>
4376 * emacs-lisp/eieio-custom.el:
4377 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4378 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4379 * emacs-lisp/eieio.el: Regenerate autoloads.
4381 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4383 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4384 following renames. (Bug#8756)
4386 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4388 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4390 (activate-mark): Add `no-tmm' argument.
4391 (set-mark, push-mark-command): Use it instead of running
4392 activate-mark-hook by hand.
4394 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4396 In preparation for the move to git, sanitize out some
4397 Bazaar-specific names.
4399 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4401 * version.el (emacs-bzr-version): Name changed to
4402 emacs-repository-version. Obsolete-variable alias made.
4403 * loadup.el: Follow through on this name change.
4404 * mail/emacsbug.el (report-emacs-bug): Factor out any
4405 assumption about the version control system in use.
4407 2014-01-08 David Engster <deng@randomsample.de>
4409 * help-fns.el (help-fns-describe-function-functions):
4410 New variable to call functions for augmenting help buffers.
4411 (describe-function-1): Remove explicit calls to
4412 `help-fns--compiler-macro', `help-fns--parent-mode' and
4413 `help-fns--obsolete'. Put them in above new variable instead, and
4414 call them through `run-hook-with-args'.
4415 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4416 `eieio-describe-class'. Not meant for interactive use anymore,
4417 but to augment existing help buffers. Remove optional second
4418 argument. Create proper button for file location.
4419 Rewrite function to use `insert' instead of `princ' and `prin1' where
4421 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4422 (eieio-method-def, eieio-class-def): Move further up.
4423 (describe-method, describe-generic, eieio-describe-method):
4425 (eieio-help-constructor, eieio-help-generic): Rename from
4426 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4427 Rewrite to use `insert' in the current buffer and use proper help
4429 (eieio-help-find-method-definition)
4430 (eieio-help-find-class-definition): Also accept symbols as
4432 (eieio-help-mode-augmentation-maybee): Remove.
4433 (eieio-describe-class-sb): Use `describe-function'.
4434 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4435 Add `eieio-help-generic' and `eieio-help-constructor'.
4437 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4440 * language/china-util.el (hz-ascii-designation):
4441 Rename from hz-ascii-designnation.
4442 (hz-ascii-designation): Rename from hz-ascii-designnation.
4445 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4447 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4450 2014-01-08 Bastien Guerry <bzg@gnu.org>
4452 * emacs-lisp/package.el (package-delete):
4453 Correctly delete the package from package-alist.
4455 2014-01-08 Daiki Ueno <ueno@gnu.org>
4457 * emacs-lisp/package.el (url-recreate-url): Declare.
4458 (url-http-target-url): Declare.
4459 (package-handle-response): Include requested URL in the error message.
4460 (package--check-signature): Don't re-signal errors from
4461 package--with-work-buffer. Suggested by Stefan Monnier.
4463 2014-01-07 Bastien Guerry <bzg@gnu.org>
4465 * minibuffer.el (completion--try-word-completion): When both a
4466 hyphen and a space are possible candidates for the character
4467 following a word, display both candidates. (Bug#15980)
4469 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4471 * window.el (balance-windows-2): While rounding don't give a
4472 window more than the remainder. Bug#16351, bug#16383.
4474 2014-01-07 Glenn Morris <rgm@gnu.org>
4476 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4477 (menu-bar-help-menu): Use view-external-packages instead.
4479 2014-01-07 Bastien Guerry <bzg@gnu.org>
4481 * emacs-lisp/package.el (package-delete): Also delete the package
4482 name from `package-alist', not its description only.
4484 2014-01-07 Glenn Morris <rgm@gnu.org>
4486 * help.el (view-external-packages):
4487 * menu-bar.el (menu-bar-help-extra-packages):
4488 Visit efaq.info rather than etc/MORE.STUFF.
4490 2014-01-07 Juri Linkov <juri@jurta.org>
4492 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4493 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4495 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4496 that shadows RET. (Bug#16342)
4498 2014-01-07 Chong Yidong <cyd@gnu.org>
4500 * isearch.el (isearch-yank-char, isearch-yank-word)
4501 (isearch-yank-line): Doc fix.
4503 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4505 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4506 * emacs-lisp/elint.el (elint-find-builtins):
4507 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4508 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4509 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4510 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4511 * apropos.el (apropos-safe-documentation):
4512 * subr.el (symbol-file): Remove redundant fboundp.
4513 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4515 2014-01-06 Bastien Guerry <bzg@gnu.org>
4517 * hl-line.el (global-hl-line-overlay): Make a local variable.
4518 (global-hl-line-overlays): New variable to store all overlays.
4519 (global-hl-line-mode): Don't delete overlays from the current
4520 buffer when `global-hl-line-sticky-flag' is non-nil.
4521 (global-hl-line-highlight): Add new overlays to
4522 `global-hl-line-overlays'.
4523 (global-hl-line-unhighlight-all): New function to delete all
4524 overlays when turning off `global-hl-line-mode'.
4525 This fixes Bug#16183.
4527 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * subr.el (set-transient-map): Fix nested case and docstring.
4531 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4533 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4536 2014-01-06 Daniel Colascione <dancol@dancol.org>
4538 Fix defun navigation in vc log view.
4540 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4541 like `beginning-of-defun'.
4542 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4543 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4544 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4545 (log-view-extract-comment): Call `log-view-current-entry' directly
4546 instead of relying on broken `log-view-beginning-of-defun' behavior.
4548 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4551 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4552 * emacs-lisp/debug.el (cancel-debug-on-entry):
4553 * epg.el (epg-error-to-string):
4554 * files.el (recover-file):
4555 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4556 * mail/emacsbug.el (report-emacs-bug-hook):
4557 * mail/sendmail.el (mail-recover):
4558 * ses.el (ses-yank-resize):
4559 * term/ns-win.el (ns-print-buffer):
4560 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4561 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4563 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4565 2014-01-06 Leo Liu <sdl.web@gmail.com>
4567 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4568 to avoid shadowing global key. (Bug#16354)
4570 2014-01-06 Daniel Colascione <dancol@dancol.org>
4572 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4575 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4577 * window.el (balance-windows): Add mising t to fix Bug#16351.
4579 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4581 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4583 (shr-insert): If we have a word that's longer than `shr-width',
4584 break after it anyway. Otherwise we'll do no breaking once we get
4587 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4589 * net/eww.el (eww): Support single/double quote for search.
4590 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4591 (eww-history-quit): Delete and use quit-window.
4592 (eww-history-kill): Delete, because it doesn't work well and
4594 (eww-history-mode-map): Delete some keys and add easy-menu.
4596 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4598 Fix misspelling of 'chinese' in rx (Bug#16237).
4599 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4602 Change subword regexps back to vars (Bug#16296).
4603 * progmodes/subword.el (subword-forward-regexp)
4604 (subword-backward-regexp): Change these back to variables.
4606 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4609 syntax-begin-function (bug#16247).
4611 2014-01-03 Chong Yidong <cyd@gnu.org>
4613 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4614 (advice--docstring): Delete variable.
4615 (advice--make-1): Leave the docstring empty.
4616 (advice-add): Use function-documentation for advised docstring.
4618 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4619 Ignore function-documentation property when getting documentation.
4620 (ad-activate-advised-definition): Use function-documentation
4621 generate the docstring.
4622 (ad-make-advised-definition): Don't call
4623 ad-make-advised-definition-docstring.
4624 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4627 * progmodes/sql.el (sql-help): Use function-documentation instead
4628 of dynamic-docstring-function property. No need to autoload now.
4629 (sql--help-docstring): New variable.
4630 (sql--make-help-docstring): Use it.
4632 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * ielm.el (ielm-tab): Retarget.
4635 (ielm-map): Use ielm-tab for tab.
4636 (ielm-complete-filename): Use comint-filename-completion.
4637 (ielm-complete-symbol): Remove.
4638 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4639 remove ielm-tab from completion-at-point-functions (bug#16224).
4641 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4642 Beware signals raised by predicates (bug#16201).
4644 2014-01-02 Richard Stallman <rms@gnu.org>
4646 * dired-aux.el (dired-do-print): Handle printer-name.
4648 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4649 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4650 (rmail-epa-decrypt): Turn off mime processing.
4652 * mail/rmail.el (rmail-make-in-reply-to-field):
4653 Add parens in message-id.
4655 * mail/rmail.el (rmail-get-coding-function): Variable.
4656 (rmail-get-coding-system): Use it.
4658 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4660 * international/mule-conf.el: Unify the charset indian-is13194.
4661 (indian-is13194): Specify unify-map.
4663 2013-12-31 Leo Liu <sdl.web@gmail.com>
4665 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4667 2013-12-30 Daniel Colascione <dancol@dancol.org>
4669 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4670 of printing a useless when we resume from sleep.
4672 * progmodes/sh-script.el
4673 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4674 in indentation code. (Bug#16233)
4676 2013-12-28 João Távora <joaotavora@gmail.com>
4678 * elec-pair.el (electric-pair-post-self-insert-function):
4679 Don't open extra newlines at beginning of buffer. (Bug#16272)
4681 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4683 * frame.el (window-system-for-display): Don't allow to create a
4684 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4686 2013-12-28 Glenn Morris <rgm@gnu.org>
4688 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4691 * apropos.el (apropos-match-face):
4692 * calculator.el (calculator-displayer):
4693 * dabbrev.el (dabbrev-search-these-buffers-only):
4694 * face-remap.el (buffer-face-mode-face):
4695 * simple.el (yank-handled-properties):
4696 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4697 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4698 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4699 (hashcash-double-spend-database):
4700 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4701 (ruby-deep-indent-paren-style):
4702 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4703 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4704 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4705 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4706 Specify custom types.
4708 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4709 * bookmark.el (bookmark-bmenu-use-header-line):
4710 * doc-view.el (doc-view-scale-internally):
4711 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4712 * register.el (register-preview-delay):
4713 * net/shr.el (shr-bullet):
4714 * progmodes/cfengine.el (cfengine-cf-promises)
4715 (cfengine-parameters-indent):
4716 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4717 * textmodes/reftex-vars.el (reftex-label-regexps):
4718 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4720 * net/tls.el (tls-certtool-program): Fix default value.
4722 * desktop.el (desktop-restore-in-current-display):
4723 * newcomment.el (comment-empty-lines):
4724 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4725 (idlwave-pad-keyword):
4726 * progmodes/tcl.el (tcl-tab-always-indent):
4727 * textmodes/reftex-vars.el (reftex-index-default-tag):
4728 * elec-pair.el (electric-pair-skip-whitespace):
4729 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4731 * emacs-lisp/authors.el (authors-ignored-files)
4732 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4734 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4736 * shell.el (shell-dynamic-complete-command): Doc fix.
4737 (shell--command-completion-data): Shell completion now matches
4738 executable filenames from the current buffer's directory, on
4739 systems in which this behavior is the default (windows-nt, ms-dos).
4741 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4743 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4745 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4750 * electric.el: Move all electric-pair-* to elec-pair.el.
4751 * elec-pair.el: New file, split from electric.el.
4753 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4755 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4756 indentation level is larger than the width, because that will
4758 (shr-insert): Fill repeatedly long texts, so that Japanese is
4759 formatted correctly (bug#16263).
4760 (shr-find-fill-point): Off by one error in comparison with the
4763 2013-12-26 João Távora <joaotavora@gmail.com>
4765 * electric.el (electric-pair-mode): More flexible engine for skip-
4766 and inhibit predicates, new options for pairing-related functionality.
4767 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4768 if that keeps or improves their balance in buffers.
4769 (electric-pair-delete-adjacent-pairs): Delete the pair when
4770 backspacing over adjacent matched delimiters.
4771 (electric-pair-open-extra-newline): Open extra newline when
4772 inserting newlines between adjacent matched delimiters.
4773 (electric--sort-post-self-insertion-hook):
4774 Sort post-self-insert-hook according to priority values when
4775 minor-modes are activated.
4776 * simple.el (newline-and-indent): Call newline with interactive
4778 (blink-paren-post-self-insert-function): Set priority to 100.
4779 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4780 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4781 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4782 electric-pair-open-newline-between-pairs to nil.
4784 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4786 * progmodes/python.el: Use lexical-binding.
4787 (python-nav-beginning-of-defun): Stop searching ASAP.
4789 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4791 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4792 Fix interactive spec. Doc fix. (Bug#15754)
4794 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4796 * emacs-lisp/byte-run.el (eval-when-compile):
4797 * progmodes/cc-defs.el (cc-eval-when-compile):
4798 Fix edebug spec (bug#16184).
4800 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4802 * net/shr.el (shr-visit-file): Remove debugging function.
4803 (shr-insert): Don't infloop if we can't find a good place to break
4804 the line (bug#16256).
4806 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4808 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4809 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4810 python-nav-lisp-forward-sexp-safe.
4811 (python-nav--forward-sexp): New argument SAFE allows switching
4812 forward sexp movement behavior for parens.
4813 (python-nav-forward-sexp): Throw errors on unterminated parens
4815 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4816 (python-nav-backward-sexp-safe): New functions.
4817 (python-shell-buffer-substring):
4818 Use `python-nav-forward-sexp-safe'.
4820 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4822 * net/shr.el (shr-find-fill-point): Don't break lines before a
4824 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4825 (shr-find-fill-point): Remove the special checks for the quotation
4826 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4828 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4830 * net/eww.el (eww-form-textarea): Use a different face for
4831 textareas than text input since they have different keymaps
4834 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4836 * progmodes/python.el (python-nav-beginning-of-statement):
4837 Speed up (Bug#15295).
4839 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4841 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4842 the window configuration.
4844 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4846 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4847 we run on MS-Windows or MS-DOS.
4849 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4851 * window.el (balance-windows-area): Call window-size instead of
4852 window-height and window-width. Bug#16241.
4854 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4856 * net/eww.el (eww-bookmark-quit): Remove.
4857 (eww-bookmark-browse): Restore the window configuration when you
4858 choose a bookmark (bug#16144).
4860 2013-12-24 Daniel Colascione <dancol@dancol.org>
4862 * icomplete.el: Remove redundant :group arguments to `defcustom'
4864 (icomplete-show-matches-on-no-input): New customizable variable.
4865 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4866 we have something to show.
4867 (icomplete-exhibit): Compute completions even if we have no user input.
4869 2013-12-23 Daniel Colascione <dancol@dancol.org>
4871 * icomplete.el: Move `provide' to end of file.
4873 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4875 * net/gnutls.el (gnutls-verify-error): Add version tag.
4877 2013-12-23 Chong Yidong <cyd@gnu.org>
4879 * subr.el (set-transient-map): Rename from
4880 set-temporary-overlay-map. Doc fix.
4882 * face-remap.el (text-scale-adjust):
4883 * indent.el (indent-rigidly):
4884 * kmacro.el (kmacro-call-macro):
4885 * minibuffer.el (minibuffer-force-complete):
4886 * repeat.el (repeat):
4887 * simple.el (universal-argument--mode):
4888 * calendar/todo-mode.el (todo-insert-item--next-param):
4889 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4891 * indent.el (indent-rigidly): Use substitute-command-keys.
4893 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4895 * net/eww.el (eww-tag-select): Add text-property to jump to next
4897 (eww): Add non-supported ftp error.
4899 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4901 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4902 comments. Handle electric indent after typing `?' and `!'.
4904 2013-12-22 Chong Yidong <cyd@gnu.org>
4906 * faces.el (face-spec-recalc): If the theme specs are not
4907 applicable to a frame, fall back on the defface spec.
4908 This prevents themes from obliterating faces on low-color terminals.
4910 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4912 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4913 after `{'. We need it after block openers, and it doesn't seem
4914 to hurt after hash openers.
4916 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4918 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4919 extracted from `ruby-smie-rules'.
4920 (ruby--electric-indent-chars): New variable.
4921 (ruby--electric-indent-p): New function.
4922 (ruby-mode): Use `electric-indent-functions' instead of
4923 `electric-indent-chars'.
4925 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4927 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4929 (ruby-smie-rules): Indent plus one level after `=>'.
4931 2013-12-21 Richard Stallman <rms@gnu.org>
4933 * simple.el (newline): Doc fix.
4935 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4937 * net/eww.el (eww-list-histories, eww-list-histories)
4938 (eww-history-browse, eww-history-quit, eww-history-kill)
4939 (eww-history-mode-map, eww-history-mode): New command and
4940 functions to list browser histories.
4941 (eww-form-text): Support text form with disabled
4942 and readonly attributes.
4943 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4945 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4947 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4948 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4949 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4950 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4952 (eww-bookmark-mode-map): Add menu.
4953 (eww-render, eww-mode): Use `setq-local'.
4954 (eww-tool-bar-map): New variable.
4955 (eww-mode): Set `tool-bar-map'.
4956 (eww-view-source): Check for `html-mode' with `fboundp'.
4958 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4960 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4961 elements with text inside. Also remove debugging.
4963 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4965 * cus-start.el (all): Add ns-use-srgb-colorspace.
4967 2013-12-21 Chong Yidong <cyd@gnu.org>
4969 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4970 undefined. Thus, theme settings for undefined faces do not take
4971 effect until the faces are defined with defface, the same as with
4974 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4975 (face-spec-reset-face): Don't assign extra properties in temacs.
4976 (face-spec-recalc): Apply X resources too.
4978 2013-12-21 Chong Yidong <cyd@gnu.org>
4980 * faces.el (face-spec-set):
4981 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4982 * custom.el (defface): Doc fixes (Bug#16203).
4984 * indent.el (indent-rigidly-map): Add docstring, and move commands
4985 into named functions.
4986 (indent-rigidly-left, indent-rigidly-right)
4987 (indent-rigidly-left-to-tab-stop)
4988 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4989 indentation direction based on bidi direction, and accumulate
4990 sequential commands in a single undo boundary.
4991 (indent-rigidly--pop-undo): New utility function.
4993 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4995 * faces.el (read-face-name): Require crm.el when using crm-separator.
4997 2013-12-20 Daniel Colascione <dancol@dancol.org>
4999 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5000 so that we don't reflow comments into the shebang line.
5002 2013-12-20 Juri Linkov <juri@jurta.org>
5004 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5005 a position when `dired-directory' is non-nil. Check integer
5006 positions with `integerp'.
5007 (toggle-save-place, save-places-to-alist): Add check for
5009 (save-place-find-file-hook): Check integer positions with
5011 (save-place-dired-hook): Use `dired-goto-file' when
5012 `dired-filename' is found in the assoc list. Check integer
5013 positions with `integerp'.
5014 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5016 * dired.el (dired-initial-position-hook): Rename back from
5017 `dired-initial-point-hook'.
5018 (dired-initial-position): Rename `dired-initial-point-hook' to
5019 `dired-initial-position-hook'.
5020 (dired-file-name-at-point): Doc fix. (Bug#15329)
5022 2013-12-20 Juri Linkov <juri@jurta.org>
5024 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5025 (read-regexp-suggestions): New function.
5026 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5027 Use `read-regexp-suggestions'. Add non-empty default to history
5029 (occur-read-regexp-defaults-function): Remove function.
5030 (occur-read-primary-args): Use `regexp-history-last' instead of
5031 `occur-read-regexp-defaults-function'.
5033 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5034 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5035 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5036 `hi-lock-read-regexp-defaults-function'. Doc fix.
5037 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5038 with `find-tag-default-as-symbol-regexp'. Doc fix.
5039 (hi-lock-read-regexp-defaults): Remove function.
5040 (hi-lock-regexp-okay): Add check for null.
5042 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5043 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5045 * subr.el (find-tag-default-as-symbol-regexp): New function.
5046 (find-tag-default-as-regexp): Move symbol regexp formatting to
5047 `find-tag-default-as-symbol-regexp'.
5049 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5051 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5054 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5056 * calendar/todo-mode.el: New implementation of item insertion
5057 commands and key bindings.
5058 (todo-key-prompt): New face.
5059 (todo-insert-item): New command.
5060 (todo-insert-item--parameters): New defconst, replacing defvar
5061 todo-insertion-commands-args-genlist.
5062 (todo-insert-item--param-key-alist): New defconst, replacing
5063 defvar todo-insertion-commands-arg-key-list.
5064 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5065 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5066 (todo-insert-item--next-param): New functions.
5067 (todo-insert-item--args, todo-insert-item--argleft)
5068 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5070 (todo-key-bindings-t): Change binding of "i" from
5071 todo-insertion-map to todo-insert-item.
5072 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5073 (todo-insertion-command-name, todo-insertion-commands-names)
5074 (todo-define-insertion-command, todo-insertion-commands)
5075 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5077 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5079 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5080 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5082 (todo-move-category): Allow choosing a non-existing todo file to
5083 move the category to, and create that file.
5084 (todo-default-priority): New user option.
5085 (todo-set-item-priority): Use it.
5086 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5087 (desktop-restore-file-buffer): Declare.
5088 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5089 (todo-modes-set-2): Locally set desktop-save-buffer to
5090 todo-desktop-save-buffer.
5091 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5092 (auto-mode-alist): Add autoload cookie.
5094 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5096 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5097 helpers.el was a poor choice of name.
5098 (string-remove-prefix): New function.
5099 (string-remove-suffix): New function.
5101 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5103 Fix assignment for new window total sizes.
5104 * window.el (window--pixel-to-size): Remove function.
5105 (window--pixel-to-total-1, window--pixel-to-total):
5106 Fix calculation of new total sizes.
5108 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5110 * comint.el (comint-output-filter): Fix rear-nonsticky property
5111 placement (Bug#16010).
5113 2013-12-20 Chong Yidong <cyd@gnu.org>
5115 * faces.el (read-color): Minor fix for completion function.
5117 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5119 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5120 New option. (Bug#16182)
5121 (ruby-smie--indent-to-stmt-p): Use it.
5122 (ruby-smie-rules): Revert the logic in the handling of `when'.
5123 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5124 (ruby-deep-arglist, ruby-deep-indent-paren)
5125 (ruby-deep-indent-paren-style): Update docstrings to note that the
5126 vars don't have any effect with SMIE.
5128 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5130 * calc/calc.el (calc-enter, calc-pop): Use the variable
5131 `calc-context-sensitive-enter'.
5133 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5135 * net/shr.el (shr-insert): Protect against infloops in degenerate
5138 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5140 * progmodes/octave.el (octave): Add link to manual and octave
5142 (octave-mode-menu): Link to octave-mode manual.
5144 2013-12-20 Leo Liu <sdl.web@gmail.com>
5146 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5147 insertion using skeleton-end-newline. (Bug#16138)
5149 2013-12-20 Juri Linkov <juri@jurta.org>
5151 * replace.el (occur-engine): Use `add-face-text-property'
5152 to add the face property to matches and titles. (Bug#14645)
5154 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5155 the palette of other hi-lock colors.
5156 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5158 2013-12-19 Juri Linkov <juri@jurta.org>
5160 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5161 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5162 (minibuffer-history-symbol): Move variable declaration closer to
5165 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5168 2013-12-19 Juri Linkov <juri@jurta.org>
5170 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5172 (log-edit-hook): Add it to :options. (Bug#16170)
5174 2013-12-19 Juri Linkov <juri@jurta.org>
5176 * simple.el (eval-expression-print-format): Don't check for
5177 command names and the last command. Always display additional
5178 formats of the integer result in the echo area, and insert them
5179 to the current buffer only with a zero prefix arg.
5180 Display character when char-displayable-p is non-nil.
5181 (eval-expression): With a zero prefix arg, set `print-length' and
5182 `print-level' to nil, and insert the integer values from
5183 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5185 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5186 `eval-last-sexp-arg-internal'. Doc fix.
5187 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5188 `eval-last-sexp-print-value'. Doc fix.
5189 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5190 Set `print-length' and `print-level' to nil when arg is zero.
5191 (eval-last-sexp): Doc fix.
5192 (eval-defun-2): Print the integer values from
5193 `eval-expression-print-format' at the end.
5195 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5196 values from `eval-expression-print-format' at the end.
5198 * ielm.el (ielm-eval-input): Print the integer
5199 values from `eval-expression-print-format' at the end.
5201 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5203 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5204 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5206 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5208 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5209 (hl-line-highlight, global-hl-line-highlight): Use it.
5210 (hl-line-overlay): Use defvar-local.
5212 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5214 * term/ns-win.el: Require dnd.
5215 (global-map): Remove drag items.
5216 (ns-insert-text, ns-set-foreground-at-mouse)
5217 (ns-set-background-at-mouse):
5218 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5219 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5222 2013-12-19 Glenn Morris <rgm@gnu.org>
5224 * emacs-lisp/ert.el (ert-select-tests):
5225 Fix string/symbol mixup. (Bug#16121)
5227 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5229 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5230 keywords to their parent.
5232 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5234 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5235 first arg to be a string (fixed dead code), or an operator symbol.
5236 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5238 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5239 did nothing. Don't respond to `(:after ".")', it will be called
5240 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5241 change anything. Only return indentation for binary operators
5242 when they are hanging. De-dent opening paren when its parent is
5243 `.', otherwise it looks bad when the dot is not at bol or eol
5246 2013-12-19 Juri Linkov <juri@jurta.org>
5248 * replace.el (query-replace-read-args): Split a non-negative arg
5249 and a negative arg into separate elements.
5250 (query-replace, query-replace-regexp, replace-string)
5251 (replace-regexp): Add arg `backward'. Doc fix.
5252 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5253 move point to the beginning of the match.
5254 (replace-search, replace-highlight): Use new arg `backward'
5255 to set the value of `isearch-forward'.
5256 (perform-replace): Add arg `backward' and use it to perform
5257 replacement backward. (Bug#14979)
5259 * isearch.el (isearch-query-replace): Use a negative prefix arg
5260 to call `perform-replace' with a non-nil arg `backward'.
5262 2013-12-18 Juri Linkov <juri@jurta.org>
5264 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5265 to the default list. Move `log-edit-show-files' to the end.
5266 Add more available functions to options.
5267 (log-edit): Move default specific settings to
5268 `log-edit-insert-message-template'. Don't move point.
5269 (log-edit-insert-message-template): New function.
5270 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5273 2013-12-18 Juri Linkov <juri@jurta.org>
5275 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5276 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5278 2013-12-18 Leo Liu <sdl.web@gmail.com>
5280 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5283 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5285 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5286 formats for displaying file sizes when the -s switch is given.
5287 Instead, compute a separate format for displaying the size in
5288 blocks, which is displayed in addition to the "regular" size.
5289 When -h is given in addition to -s, produce size in blocks in
5290 human-readable form as well. (Bug#16179)
5292 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5294 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5295 Reference tables with ~\ref{...} instead of only \ref{...}.
5297 2013-12-18 Chong Yidong <cyd@gnu.org>
5299 * cus-edit.el (custom-magic-alist): Fix "themed" description
5302 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5303 is non-nil, do not create a new entry in the symbol's theme-value
5304 or theme-face property; update theme-settings only (Bug#14664).
5305 (custom-available-themes): Doc fix.
5307 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5310 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5312 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5314 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5317 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5319 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5321 2013-12-18 Glenn Morris <rgm@gnu.org>
5323 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5324 * cus-start.el (load-prefer-newer): New option.
5326 2013-12-18 Le Wang <l26wang@gmail.com>
5328 * comint.el (comint-previous-matching-input-from-input):
5329 Retain point (Bug#13404).
5331 2013-12-18 Chong Yidong <cyd@gnu.org>
5333 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5335 2013-12-18 Glenn Morris <rgm@gnu.org>
5337 * mail/emacsbug.el (report-emacs-bug):
5338 Only mention enable-multibyte-characters if non-standard.
5340 2013-12-17 Juri Linkov <juri@jurta.org>
5342 * arc-mode.el (archive-extract-by-file): Check if directory exists
5343 before deletion to not show irrelevant errors if it doesn't exist.
5345 2013-12-17 Juri Linkov <juri@jurta.org>
5347 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5350 * net/eww.el (browse-web): Add alias to `eww'.
5351 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5352 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5354 * net/browse-url.el (browse-url-browser-function): Move `eww'
5355 closer to similar functions.
5357 * startup.el (fancy-startup-screen, fancy-about-screen):
5358 Set browse-url-browser-function to eww-browse-url locally.
5361 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5363 * window.el (window--pixel-to-total): Remove unused `mini' var.
5364 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5365 (split-window): Remove unused `new' var.
5366 (window--display-buffer): Remove unused `frame' and `delta' vars.
5367 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5370 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5372 * dired.el (dired-mark-pop-up):
5373 * register.el (register-preview): Don't bind
5374 split-height-threshold here since it's now done in
5375 display-buffer-below-selected.
5377 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5379 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5380 xterm-rgb-convert-to-16bit.
5381 (rxvt-register-default-colors): Standardize with
5382 xterm-register-default-colors (Bug#14078).
5384 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5386 * simple.el (kill-region): Pass mark first, then point, so that
5387 kill-append works right (Bug#12819).
5388 (copy-region-as-kill, kill-ring-save): Likewise.
5390 2013-12-17 Leo Liu <sdl.web@gmail.com>
5392 * net/rcirc.el (rcirc-add-face):
5393 * eshell/em-prompt.el (eshell-emit-prompt):
5394 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5397 2013-12-17 Chong Yidong <cyd@gnu.org>
5399 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5400 Suggested by Xue Fuqiao.
5402 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5404 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5406 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5408 * net/shr.el (shr-insert-document): Remove unused var
5409 `shr-preliminary-table-render'.
5410 (shr-rescale-image): Remove unused arg `force'.
5411 (shr-put-image): Update calls accordingly.
5412 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5414 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5416 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5417 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5418 :close-all, to see which indentation method to use (Bug#16116).
5419 (smie-rules-function): Document the method :close-all.
5421 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5423 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5425 * net/eww.el (eww-display-html): If we can't find the anchor we're
5426 looking for, then go to point-min.
5428 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5430 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5431 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5432 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5433 Expand dir too, in case it's relative.
5435 2013-12-16 Juri Linkov <juri@jurta.org>
5437 * desktop.el (desktop-auto-save-timeout): Change default to
5438 `auto-save-timeout'. Doc fix.
5439 (desktop-save): Skip the timestamp in desktop-saved-frameset
5440 when checking for auto-save changes.
5441 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5442 `desktop-auto-save' is called repeatedly by the idle timer.
5443 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5444 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5447 2013-12-16 Juri Linkov <juri@jurta.org>
5449 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5451 (isearch-pre-command-hook): Check `this-command' for symbolp.
5453 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5455 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5457 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5459 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5460 (cfengine3--current-function): Bring in the current-function
5461 functionality from `cfengine3--current-word'.
5462 (cfengine3-completion-function): Bring in the
5463 bounds-of-current-word functionality from
5464 `cfengine3--current-word'.
5466 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5468 * window.el (display-buffer-below-selected):
5469 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5471 2013-12-16 Leo Liu <sdl.web@gmail.com>
5473 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5474 Remove NOMSG arg and all uses changed.
5476 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5478 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5479 (cua--deactivate-rectangle): Don't deactivate the mark.
5480 (cua-set-rectangle-mark): Don't set mark-active since
5481 cua--activate-rectangle already does it for us.
5482 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5483 non-rectangular region.
5485 * emulation/cua-base.el (cua-repeat-replace-region):
5486 Use with-current-buffer.
5488 * net/gnutls.el: Use cl-lib.
5489 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5491 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5493 * emacs-lisp/package.el (package-built-in-p): Support both
5494 built-in and the package.el converted package descriptions.
5495 (package-show-package-list): Allow keywords.
5496 (package-keyword-button-action): Use it instead of
5497 `finder-list-matches'.
5498 (package-menu-filter-interactive): Interactive filtering (by
5500 (package-menu--generate): Support keywords and change keymappings
5501 and headers when they are given.
5502 (package--has-keyword-p): Helper function.
5503 (package-menu--refresh): Use it.
5504 (package--mapc): Helper function.
5505 (package-all-keywords): Use it.
5506 (package-menu-mode-map): Set up menu items and keybindings to
5507 provide a filtering UI.
5509 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5511 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5512 the behavior when a certificate fails validation. Defaults to
5513 old behavior: never abort, just warn.
5514 (gnutls-negotiate): Use it.
5516 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5518 * window.el (display-buffer-below-selected): Never split window
5519 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5521 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5523 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5524 (package-buffer-info): Use it (bug#15108).
5526 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5528 * icomplete.el (icomplete-completions): Make sure the prefix is already
5529 displayed elsewhere before hiding it (bug#16219).
5531 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5533 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5534 open-paren tokens when preceded by a open-paren, too.
5535 (ruby-smie-rules): Handle virtual indentation after open-paren
5536 tokens specially. If there is code between it and eol, return the
5537 column where is starts (Bug#16118).
5539 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5541 * progmodes/cfengine.el: Fix `add-hook' doc.
5542 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5543 (cfengine3--current-word): Fix parameters.
5544 (cfengine3-make-syntax-cache): Simplify further.
5545 (cfengine3-completion-function, cfengine3--current-function):
5546 Use `assq' for symbols.
5547 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5549 2013-12-13 Glenn Morris <rgm@gnu.org>
5551 * loadup.el (load-path): Warn if site-load or site-init changes it.
5552 No more need to reset it when bootstrapping.
5554 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5556 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5557 locations for cf-promises.
5558 (cfengine-mode-syntax-functions-regex): New caching variable.
5559 (cfengine3-fallback-syntax): Fallback syntax for cases where
5560 cf-promises doesn't run.
5561 (cfengine3--current-word): Reimplement using
5562 `cfengine-mode-syntax-functions-regex'.
5563 (cfengine3-completion-function, cfengine3--current-function):
5564 Use `cfengine3-make-syntax-cache' directly.
5565 (cfengine3-clear-syntax-cache): New function.
5566 (cfengine3-make-syntax-cache): Simplify and create
5567 `cfengine-mode-syntax-functions-regex' on demand.
5568 (cfengine3-format-function-docstring): Don't call
5569 `cfengine3-make-syntax-cache' explicitly.
5571 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5573 Fix windmove-find-other-window broken after pixelwise resizing
5575 * windmove.el (windmove-other-window-loc): Revert change from
5577 (windmove-find-other-window): Call window-in-direction.
5578 * window.el (window-in-direction): New arguments SIGN, WRAP and
5579 MINI to emulate original windmove-find-other-window behavior.
5581 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5583 * simple.el (blink-matching--overlay): New variable.
5584 (blink-matching-open): Instead of moving point, highlight the
5585 matching paren with an overlay
5586 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5588 * faces.el (paren-showing-faces, show-paren-match)
5589 (show-paren-mismatch): Move from paren.el.
5591 2013-12-13 Leo Liu <sdl.web@gmail.com>
5593 * indent.el (indent-region): Disable progress reporter in
5594 minibuffer. (Bug#16108)
5596 * bindings.el (visual-order-cursor-movement): Fix version.
5598 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5600 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5601 Also match after beginning of line.
5602 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5603 files. Thanks to Russell Sim. (Bug#15378)
5605 2013-12-13 Juri Linkov <juri@jurta.org>
5607 * simple.el <Keypad support>: Remove key bindings duplicated
5608 with bindings.el. (Bug#14397)
5610 2013-12-13 Juri Linkov <juri@jurta.org>
5612 * comint.el (comint-mode-map): Replace `delete-char' with
5613 `delete-forward-char'. (Bug#16109)
5615 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5617 * progmodes/python.el (python-indent-calculate-indentation):
5618 Fix de-denters cornercase. (Bug#15731)
5620 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5622 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5623 (advice--make): Pay attention to `depth'.
5624 (advice--make-1): Don't autoload commands eagerly.
5625 * emacs-lisp/elp.el (elp-instrument-function):
5626 * emacs-lisp/trace.el (trace-function-internal):
5627 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5629 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5631 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5633 * term/w32-win.el (w32-handle-dropped-file):
5634 * startup.el (normal-top-level):
5635 * net/browse-url.el (browse-url-file-url):
5636 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5637 decode file names using 'utf-8' rather than
5638 file-name-coding-system.
5640 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5642 * progmodes/python.el (python-indent-context)
5643 (python-indent-calculate-indentation): Fix auto-identation
5644 behavior for comment blocks. (Bug#15916)
5646 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5648 * progmodes/python.el (python-indent-calculate-indentation):
5649 When determining indentation, don't treat "return", "pass", etc., as
5650 operators when they are just string constituents. (Bug#15812)
5652 2013-12-12 Juri Linkov <juri@jurta.org>
5654 * uniquify.el (uniquify-buffer-name-style): Change default to
5655 `post-forward-angle-brackets'.
5657 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5658 `uniquify'. Change default to `post-forward-angle-brackets'.
5660 2013-12-11 Glenn Morris <rgm@gnu.org>
5662 * emacs-lisp/package.el (finder-list-matches):
5663 Autoload rather than falsely declaring.
5665 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5667 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5668 (eww-mode-map): Use them.
5670 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5672 * window.el (display-buffer-in-side-window): Fix doc-string
5675 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5677 * vc/vc-git.el: Silence byte-compiler warnings.
5678 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5679 (log-edit-set-header): Declare.
5681 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5683 * Makefile.in (custom-deps, finder-data): Run output file names
5684 through unmsys--file-name. (Bug#16099)
5686 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5688 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5689 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5691 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5692 instead of deleting the selection "by hand" (bug#16098).
5693 Rely on insert-for-yank to yank rectangles.
5694 (cua-highlight-region-shift-only): Mark obsolete.
5695 (cua-mode): Don't enable/disable transient-mark-mode,
5696 shift-select-mode (cua-mode works both with and without them), and
5697 pc-selection-mode (obsolete).
5698 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5699 (cua--deactivate-rectangle): Deactivate it.
5701 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5702 (delete-selection-helper): Make sure yank starts at the top of the
5704 (minibuffer-keyboard-quit): Use region-active-p.
5706 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5708 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5709 to `delete' (bug#16109).
5711 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5713 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5714 info manual and show keybindings and set `:group' keyword.
5716 2013-12-11 Juri Linkov <juri@jurta.org>
5718 * delsel.el (delete-active-region): Let-bind `this-command'
5719 to prevent `kill-region' from changing its original value.
5720 (delete-selection-helper): Handle `overwrite-mode' for the type
5721 `kill' exactly the same way as for the type `t'.
5722 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5723 Support more commands. (Bug#13312)
5725 2013-12-11 Juri Linkov <juri@jurta.org>
5727 * bindings.el: Map kp keys to non-kp keys systematically
5728 with basic modifiers control, meta and shift. (Bug#14397)
5730 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5732 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5733 "Close browser" menu items. Fix wrong function of "List
5736 2013-12-11 Juri Linkov <juri@jurta.org>
5738 * misearch.el (multi-isearch-buffers): Set the value of
5739 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5740 arg of isearch-forward to t.
5741 (multi-isearch-buffers-regexp): Set the value of
5742 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5743 arg of isearch-forward-regexp to t.
5744 (multi-isearch-files): Set the value of
5745 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5746 arg of isearch-forward to t.
5747 (multi-isearch-files-regexp): Set the value of
5748 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5749 arg of isearch-forward-regexp to t. (Bug#16035)
5751 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5752 arg of isearch-forward to t.
5753 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5754 arg of isearch-forward-regexp to t.
5755 (dired-isearch-filter-filenames): Remove unnecessary check for
5756 `dired-isearch-filenames'.
5758 * comint.el (comint-history-isearch-backward):
5759 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5760 (comint-history-isearch-backward-regexp):
5761 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5763 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5765 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5766 unmsys--file-name. (Bug#16099)
5768 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5770 * emacs-lisp/package.el (package-keyword-button-action):
5771 Remove finder.el require dependency.
5773 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5775 * emacs-lisp/package.el: Require finder.el.
5776 (describe-package-1): Add keyword buttons.
5777 (package-make-button): New convenience function.
5778 (package-keyword-button-action): Keyword button action using
5779 `finder-list-matches'.
5781 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5783 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5786 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5788 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5791 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5793 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5794 after the end of a percent literal.
5796 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5798 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5799 Handle caret-delimited strings (Bug#16079).
5801 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5803 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5804 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5805 `ruby-parse-partial' (Bug#16078).
5807 2013-12-09 Leo Liu <sdl.web@gmail.com>
5809 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5811 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5813 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5814 (js-switch-indent-offset): New option.
5815 (js--proper-indentation): Use it. And handle the case when
5816 "default" is actually a key in an object literal.
5817 (js--same-line): New function.
5818 (js--multi-line-declaration-indentation): Use it.
5819 (js--indent-in-array-comp, js--array-comp-indentation):
5821 (js--proper-indentation): Use them, to handle array comprehension
5824 2013-12-08 Leo Liu <sdl.web@gmail.com>
5826 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5827 (flymake-make-overlay): Remove arg MOUSE-FACE.
5828 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5830 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5832 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5834 (redisplay-highlight-region-function): Use it.
5836 * emulation/cua-base.el (cua--explicit-region-start)
5837 (cua--last-region-shifted): Remove.
5838 (cua--deactivate): Use deactivate-mark.
5839 (cua--pre-command-handler-1): Don't handle shift-selection.
5840 (cua--post-command-handler-1): Don't change transient-mark-mode.
5841 (cua--select-keymaps): Use region-active-p rather than
5842 cua--explicit-region-start or cua--last-region-shifted.
5843 (cua-mode): Enable shift-select-mode.
5845 2013-12-08 Leo Liu <sdl.web@gmail.com>
5847 * progmodes/flymake.el (flymake-popup-current-error-menu):
5848 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5849 (flymake-posn-at-point-as-event, flymake-popup-menu)
5850 (flymake-make-emacs-menu): Remove. (Bug#16077)
5852 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5854 * rect.el (rectangle-mark-mode): Activate mark even if
5855 transient-mark-mode is off (bug#16066).
5856 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5857 is > mark and at bolp.
5859 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5860 (region-extract-function): Use it.
5861 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5862 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5864 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5865 kill-ring-save, kill-region, delete-char, delete-forward-char.
5866 Ignore self-insert-iso.
5868 * emulation/cua-gmrk.el (cua--init-global-mark):
5869 Ignore `self-insert-iso'.
5871 * emulation/cua-base.el (cua--prefix-copy-handler)
5872 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5873 checking cua--rectangle.
5874 (cua-delete-region): Use region-extract-function.
5875 (cua-replace-region): Delete function.
5876 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5877 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5878 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5879 (cua--init-keymaps): Don't remap delete-selection commands.
5880 (cua-mode): Use delete-selection-mode instead of rolling our own
5883 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5884 Obey region-extract-function.
5886 Make registers and delete-selection-mode work on rectangles.
5887 * register.el (describe-register-1): Don't modify the register's value.
5888 (copy-to-register): Obey region-extract-function.
5889 * delsel.el (delete-active-region): Obey region-extract-function.
5891 2013-12-08 Leo Liu <sdl.web@gmail.com>
5893 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5894 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5895 (flymake-compilation-prevents-syntax-check)
5896 (flymake-start-syntax-check-on-newline)
5897 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5898 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5899 (flymake-xml-program, flymake-master-file-dirs)
5900 (flymake-master-file-count-limit)
5901 (flymake-allowed-file-name-masks): Relocate.
5902 (flymake-makehash, flymake-float-time)
5903 (flymake-replace-regexp-in-string, flymake-split-string)
5904 (flymake-get-temp-dir): Remove.
5905 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5906 (flymake-current-row, flymake-selected-frame)
5907 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5908 related functions. (Bug#16077)
5910 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5912 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5914 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5916 * help-fns.el (describe-function-1): Use new advice-* functions
5917 rather than old ad-* functions. Fix function type description and
5918 source links for advised functions and subrs.
5920 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5922 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5924 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5926 * progmodes/compile.el (compilation-start):
5927 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5929 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5930 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5932 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5934 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5935 Touch up the last change.
5937 2013-12-06 Leo Liu <sdl.web@gmail.com>
5939 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5940 (inferior-octave-startup): Always use "octave> " for prompt.
5941 (octave-goto-function-definition)
5942 (octave-sync-function-file-names)
5943 (octave-find-definition-default-filename): Remove redundant backquotes.
5945 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5947 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5949 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5950 where appropriate already.
5951 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5952 end of method names (Bug#15874).
5954 2013-12-06 Juri Linkov <juri@jurta.org>
5956 * isearch.el (isearch--saved-overriding-local-map):
5957 New internal variable.
5958 (isearch-mode): Set it to the initial value of
5959 `overriding-terminal-local-map'.
5960 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5961 with `isearch--saved-overriding-local-map'. (Bug#16035)
5963 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5965 * progmodes/octave.el (inferior-octave-completion-table):
5966 Turn back into function, use `completion-table-with-cache'
5967 (Bug#11906). Update all references.
5969 * minibuffer.el (completion-table-with-cache): New function.
5971 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5973 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5975 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5977 * net/eww.el (eww-current-source): New variable to store page
5979 (eww-display-html, eww-mode, eww-save-history)
5980 (eww-restore-history): Use it.
5981 (eww-view-source): New command to view page source.
5982 Opportunistically uses `html-mode' to highlight the buffer.
5983 (eww-mode-map): Install it.
5985 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5987 * net/dbus.el (dbus-unregister-service)
5988 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5990 (dbus-unregister-service): Skip :serial entries in
5991 `dbus-registered-objects-table'.
5992 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5994 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5996 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5997 around keywords with extra `split-string' argument.
5999 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6001 * windmove.el (windmove-other-window-loc): Handle navigation
6002 between windows (excluding the minibuffer window - Bug#16017).
6004 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6006 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6007 in D-Bus type syntax.
6008 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6009 preserve unibyte strings. (Bug#16048)
6011 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6014 Call force-mode-line-update is the proper buffer (bug#16042).
6016 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6018 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6019 `log-edit-remember-comment', make argument optional. Adjust all
6021 (log-edit-mode): Add `log-edit-remember-comment' to
6022 `kill-buffer-hook' locally.
6023 (log-edit-kill-buffer): Don't remember comment explicitly since
6024 the buffer is killed anyway.
6026 2013-12-04 Juri Linkov <juri@jurta.org>
6028 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6029 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6031 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6033 * notifications.el (notifications-close-notification): Call the
6034 D-Bus method with ID being a `:uint32'. (Bug#16030)
6036 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6038 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6040 2013-12-03 Juri Linkov <juri@jurta.org>
6042 * progmodes/compile.el (compilation-start): Rename window alist
6043 entry `no-display-ok' to `allow-no-window'.
6045 * simple.el (shell-command): Add window alist entry
6046 `allow-no-window' to `display-buffer'.
6047 (async-shell-command): Doc fix.
6049 * window.el (display-buffer-no-window): New action function.
6050 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6052 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6054 * vc/log-edit.el (log-edit-set-header): Extract from
6055 `log-edit-toggle-header'.
6056 (log-edit-extract-headers): Separate the summary, when extracted
6057 from header, from the rest of the message with an empty line.
6059 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6060 line, if present, to the Summary header.
6062 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6064 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6065 in current-buffer (bug#16029).
6067 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6069 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6070 (debugger-mode-map): Bind it.
6071 (debugger--backtrace-base): New function.
6072 (debugger-eval-expression): Use it.
6073 (debugger-frame-number): Skip local vars when present.
6074 (debugger--locals-visible-p, debugger--insert-locals)
6075 (debugger--show-locals, debugger--hide-locals): New functions.
6077 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6079 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6081 (tramp-get-remote-locale): New defun.
6082 (tramp-open-connection-setup-interactive-shell): Use it.
6084 2013-12-02 Leo Liu <sdl.web@gmail.com>
6086 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6088 * progmodes/sh-script.el (sh-shell-process):
6089 * progmodes/octave.el (inferior-octave-process-live-p):
6090 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6091 (gdb-inferior-io-sentinel):
6092 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6094 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6096 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6097 `save-selected-window' to `log-edit-hide-buf'. This makes
6098 `log-edit-show-files' idempotent.
6099 (log-edit-show-files): Mark the new window as dedicated.
6101 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6103 * vc/log-edit.el (log-edit-mode-map): Add binding for
6104 `log-edit-kill-biffer'.
6105 (log-edit-hide-buf): Add a FIXME comment.
6106 (log-edit-add-new-comment): New function, extracted from
6108 (log-edit-done, log-edit-add-to-changelog): Use it.
6109 (log-edit-kill-buffer): New command.
6111 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6113 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6114 instead of killing the buffer.
6116 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6118 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6120 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6122 * net/eww.el (eww-form-checkbox-selected-symbol)
6123 (eww-form-checkbox-symbol): New customizable variable.
6124 (eww-form-checkbox, eww-toggle-checkbox):
6125 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6127 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6128 (shr--get-media-pref, shr--extract-best-source): New function.
6129 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6130 no :src tag was specified.
6132 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6133 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6134 Use \\` to match beginning of string instead of ^.
6135 (eww-browse-with-external-browser): Provide optional URL parameter.
6136 (eww-render): Set `eww-current-title' back to "".
6138 * net/shr.el (shr-tag-video): Display content for video if no
6139 poster is available.
6140 (shr-tag-audio): Add support for <audio> tag.
6142 * net/eww.el (eww-text-input-types): New const.
6143 (eww-process-text-input): Treat input types in
6144 `eww-text-input-types' as text.
6146 * net/shr.el (shr-tag-table): Fix comment typo.
6148 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6150 * net/eww.el (eww-follow-link): New command to avoid reloading
6151 pages when we follow #target links (bug#15243).
6152 (eww-quit): Special mode buffers shouldn't query before exiting.
6154 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6156 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6159 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6161 * net/eww.el (eww-restore-history): Update the window title after
6162 moving in the history.
6163 (eww-current-dom): New variable used to save the current DOM.
6165 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6167 * vc/log-edit.el (log-edit-mode-map): Add binding for
6168 `log-edit-beginning-of-line'.
6169 (log-edit-setup-add-author): New user option.
6170 (log-edit-beginning-of-line): New command.
6171 (log-edit): Move major mode call above the contents setup so that
6172 the local variable values are already applied.
6173 (log-edit): Only insert "Author: " when
6174 `log-edit-setup-add-author' is non-nil.
6175 (log-edit): When SETUP is non-nil, position point after ": "
6176 instead of point-min.
6178 2013-12-01 Glenn Morris <rgm@gnu.org>
6180 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6182 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6184 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6185 redisplay to make sure the initial frame gets a chance to become
6186 visible. (Bug#16014)
6188 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6190 Support resizing frames and windows pixelwise.
6191 * cus-start.el (frame-resize-pixelwise)
6192 (window-resize-pixelwise): New entries.
6193 * emacs-lisp/debug.el (debug): Use window-total-height instead
6194 of window-total-size.
6195 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6196 * help.el (describe-bindings-internal): Use help-buffer as
6197 argument for with-help-window.
6198 (temp-buffer-max-width): New option.
6199 (resize-temp-buffer-window, help-window-setup)
6200 (with-help-window): Rewrite.
6201 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6203 * window.el (frame-char-size, window-min-pixel-height)
6204 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6205 (window-min-pixel-width, window-safe-min-pixel-size)
6206 (window-combination-p, window-safe-min-size)
6207 (window-resizable-p, window--size-to-pixel)
6208 (window--pixel-to-size, window--resize-apply-p): New functions.
6209 (window-safe-min-height): Fix doc-string.
6210 (window-size, window-min-size, window--min-size-1)
6211 (window-sizable, window-sizable-p, window--min-delta-1)
6212 (window-min-delta, window--max-delta-1, window-max-delta)
6213 (window--resizable, window--resizable-p, window-resizable)
6214 (window-full-height-p, window-full-width-p, window-at-side-p)
6215 (window--in-direction-2, window-in-direction)
6216 (window--resize-reset-1, window--resize-mini-window)
6217 (window-resize, window-resize-no-error)
6218 (window--resize-child-windows-normal)
6219 (window--resize-child-windows, window--resize-siblings)
6220 (window--resize-this-window, window--resize-root-window)
6221 (window--resize-root-window-vertically)
6222 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6223 (maximize-window, minimize-window, delete-window)
6224 (quit-restore-window, window-split-min-size, split-window)
6225 (balance-windows-2, balance-windows)
6226 (balance-windows-area-adjust, balance-windows-area)
6227 (window--state-get-1, window-state-get, window--state-put-1)
6228 (window--state-put-2, window-state-put)
6229 (display-buffer-record-window, window--display-buffer):
6230 Make functions handle pixelwise sizing of windows.
6231 (display-buffer--action-function-custom-type)
6232 (display-buffer-fallback-action):
6233 Add display-buffer-in-previous-window.
6234 (display-buffer-use-some-window): Resize window to height it had
6236 (fit-window-to-buffer-horizontally): New option.
6237 (fit-frame-to-buffer): Describe new values.
6238 (fit-frame-to-buffer-bottom-margin): Replace with
6239 fit-frame-to-buffer-margins.
6240 (window--sanitize-margin): New function.
6241 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6242 using window-text-pixel-size.
6244 2013-11-30 Glenn Morris <rgm@gnu.org>
6246 * emacs-lisp/bytecomp.el (byte-compile-form):
6247 Make the `interactive-only' warning like the `obsolete' one.
6248 * comint.el (comint-run):
6249 * files.el (insert-file-literally, insert-file):
6250 * replace.el (replace-string, replace-regexp):
6251 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6252 (goto-line, insert-buffer, next-line, previous-line):
6253 Tweak `interactive-only' spec.
6255 Stop keeping (most) generated cedet grammar files in the repository.
6256 * Makefile.in (semantic): New.
6257 (compile-main): Depend on semantic.
6259 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6262 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6264 * uniquify.el (uniquify-buffer-name-style): Change default.
6266 * loadup.el: Preload "uniquify".
6268 * time.el (display-time-update): Update all mode lines (bug#15999).
6270 * electric.el (electric-indent-mode): Enable by default.
6271 * loadup.el: Preload "electric".
6273 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6275 * emacs-lisp/helpers.el (string-empty-p): New function.
6276 (string-blank-p): New function.
6278 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6280 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6283 2013-11-29 Andreas Politz <politza@fh-trier.de>
6284 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6285 allow non-lambda lists as functions.
6286 (imenu--in-alist): Don't recurse into non-subalists.
6287 (imenu): Don't pass function itself as an argument (Bug#14029).
6289 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6291 * progmodes/python.el (python-mode-map): Remove binding for ":".
6292 (python-indent-electric-colon): Remove command.
6293 (python-indent-post-self-insert-function): Integrate the previous code
6294 of python-indent-electric-colon. Make it conditional on
6295 electric-indent-mode.
6296 (python-mode): Add ?: to electric-indent-chars.
6297 Move python-indent-post-self-insert-function to the end of
6298 post-self-insert-hook.
6300 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * doc-view.el (doc-view-goto-page): Update mode-line.
6304 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6306 2013-11-27 Glenn Morris <rgm@gnu.org>
6308 * international/charprop.el, international/uni-bidi.el:
6309 * international/uni-category.el, international/uni-combining.el:
6310 * international/uni-comment.el, international/uni-decimal.el:
6311 * international/uni-decomposition.el, international/uni-digit.el:
6312 * international/uni-lowercase.el, international/uni-mirrored.el:
6313 * international/uni-name.el, international/uni-numeric.el:
6314 * international/uni-old-name.el, international/uni-titlecase.el:
6315 * international/uni-uppercase.el:
6316 Remove generated files from VCS repository.
6318 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6320 * filenotify.el (file-notify-add-watch): Don't special-case
6321 w32notify when computing the directory to watch.
6323 2013-11-27 Glenn Morris <rgm@gnu.org>
6325 Make bootstrap without generated uni-*.el files possible again.
6326 * loadup.el: Update command-line-args checking for unidata-gen.
6327 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6328 * composite.el, international/characters.el:
6329 Handle unicode tables being undefined.
6331 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6332 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6333 (compile-main): Depend on leim rule.
6335 * loadup.el: Move leim-list.el to leim/ subdirectory.
6336 * startup.el (normal-top-level): No more leim directory.
6337 * international/ja-dic-cnv.el (skkdic-convert):
6338 Disable version-control and autoloads in output files.
6339 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6340 Disable version-control and autoloads in output files.
6341 * leim/quail: Move here from ../leim.
6342 * leim/quail/hangul.el (hangul-input-method-activate):
6343 Add autoload cookie.
6344 (generated-autoload-load-name): Set file-local value.
6345 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6346 (generated-autoload-load-name): Set file-local value.
6348 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6350 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6351 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6352 (eww-quit): Ask confirmation before quitting eww.
6354 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6356 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6357 reading output from Diff on MS-Windows and MS-DOS.
6359 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6361 * emacs-lisp/helpers.el (string-reverse): New function.
6363 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6365 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6366 names on MS Windows, like "/[::1]:".
6368 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6371 2013-11-26 Glenn Morris <rgm@gnu.org>
6373 * progmodes/python.el (python-indent-guess-indent-offset):
6374 Avoid corner-case error. (Bug#15975)
6376 Preload leim-list.el. (Bug#4789)
6377 * loadup.el: Load leim-list.el when found.
6378 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6380 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6382 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6384 * emacs-lisp/helpers.el (string-join): New function.
6386 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6388 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6389 Mark as obsolete and replace it with a symbol property.
6390 (byte-compile-form): Use new 'interactive-only property.
6391 * comint.el, files.el, replace.el, simple.el:
6392 Apply new 'interactive-only properly.
6394 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6396 * window.el (display-buffer-at-bottom): Make sure that
6397 split-window-sensibly creates the new window on bottom
6400 2013-11-23 David Kastrup <dak@gnu.org>
6402 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6403 on the conflict markers when available.
6404 (smerge--get-marker): New function.
6405 (smerge-end-re, smerge-base-re): Add subgroup.
6407 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * frame.el (handle-focus-in, handle-focus-out): Add missing
6412 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6414 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6415 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6417 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6419 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6420 (gomoku--last-pos): New var.
6421 (gomoku--intangible-chars): New const.
6422 (gomoku--intangible): New function.
6423 (gomoku-mode): Use it. Derive from special-mode.
6424 (gomoku-move-up): Adjust line count.
6425 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6426 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6427 Simplify accordingly.
6429 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6430 Remove blink-cursor code.
6431 (blink-cursor-timer-function, blink-cursor-suspend):
6432 Don't special-case GUIs.
6433 (blink-cursor-mode): Use focus-in/out-hook.
6435 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6437 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6438 work when annotation is invisible (Bug#13886).
6440 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6442 * json.el (json-alist-p): Only return non-nil if the alist has
6443 simple keys (Bug#13518).
6445 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6447 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6448 when control-statement is the first statement in a buffer (Bug#15956).
6450 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6452 * imenu.el (imenu-generic-skip-comments-and-strings):
6453 New option (Bug#15560).
6454 (imenu--generic-function): Use it.
6456 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6458 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6461 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6463 * emacs-lisp/helpers.el: Add some string helpers.
6464 (string-trim-left): Removes leading whitespace.
6465 (string-trim-right): Removes trailing whitespace.
6466 (string-trim): Removes leading and trailing whitespace.
6468 * subr.el (string-suffix-p): New function.
6470 2013-11-23 Glenn Morris <rgm@gnu.org>
6472 * progmodes/python.el (python-shell-send-file):
6473 Add option to delete file when done. (Bug#15647)
6474 (python-shell-send-string, python-shell-send-region): Use it.
6476 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6478 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6479 to set buffer-read-only to t, never to nil. (Bug#15938)
6481 * textmodes/tex-mode.el (latex-noindent-environments):
6482 Add safe-local-variable property. (Bug#15936)
6484 2013-11-23 Glenn Morris <rgm@gnu.org>
6486 * textmodes/enriched.el (enriched-mode): Doc fix.
6487 * emacs-lisp/authors.el (authors-renamed-files-alist):
6488 Add enriched.doc -> enriched.txt.
6490 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6492 2013-11-22 Leo Liu <sdl.web@gmail.com>
6494 * progmodes/octave.el (inferior-octave-startup): Spit out error
6497 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6499 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6502 (ruby-encoding-magic-comment-style): Add :version.
6504 2013-11-22 Leo Liu <sdl.web@gmail.com>
6506 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6508 (octave-help-mode): Adapt to change to help-mode-finish to use
6509 derived-mode-p on 2013-09-17.
6510 (inferior-octave-prompt): Also match octave-gui.
6511 (octave-kill-process): Don't ask twice. (Bug#10564)
6513 2013-11-22 Leo Liu <sdl.web@gmail.com>
6515 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6516 (inferior-octave-startup, inferior-octave-check-process)
6517 (inferior-octave-track-window-width-change)
6518 (octave-completion-at-point, octave-eldoc-function): Use it.
6519 (octave-kill-process): Provide confirmation. (Bug#10564)
6521 2013-11-21 Leo Liu <sdl.web@gmail.com>
6523 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6524 Fix obsolete variable comment-use-global-state.
6526 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6528 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6529 Add `octave-source-file'.
6530 (octave-source-file): New function. (Bug#15935)
6532 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6534 * net/eww.el (eww-local-regex): New variable.
6535 (eww): Use it to detect localhost and similar.
6537 2013-11-21 Leo Liu <sdl.web@gmail.com>
6539 Add completion for command `ag'.
6540 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6541 (pcomplete/ag): New function.
6542 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6544 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6546 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6548 (make-obsolete): Remove interactive spec.
6550 2013-11-21 Glenn Morris <rgm@gnu.org>
6552 * startup.el (command-line-1): Use path-separator with -L.
6554 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6556 * emacs-lisp/package.el (describe-package-1): Add package archive
6559 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6561 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6562 Change default to "# encoding: %s" to differentiate it from the
6563 default Ruby encoding comment template.
6565 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6567 * ses.el (ses-mode): Doc fix. (Bug#14748)
6569 2013-11-20 Leo Liu <sdl.web@gmail.com>
6571 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6573 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6575 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6576 when rebase or bisect are in progress.
6578 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6580 * filenotify.el (file-notify-add-watch): Doc fix.
6582 2013-11-19 Leo Liu <sdl.web@gmail.com>
6584 * obsolete/rcompile.el: Mark obsolete.
6586 * progmodes/compile.el (compilation-start)
6587 (compilation-goto-locus, compilation-find-file):
6588 Pass no-display-ok and handle nil value from display-buffer.
6591 * window.el (display-buffer-alist, display-buffer): Document the
6592 new parameter no-display-ok. Return either a window or nil
6593 but never a non-window value.
6595 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6597 * electric.el (electric-indent-mode-map): Remove.
6598 (electric-indent-mode): Change the global-map instead (bug#15915).
6600 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6603 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * emacs-lisp/nadvice.el (remove-function): Align with
6606 add-function's behavior.
6608 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6609 (gdb--string-regexp): New constant.
6610 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6611 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6612 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6614 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6615 Adjust use accordingly.
6616 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6618 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6620 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6621 interpolation curlies (Bug#15914).
6623 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6625 * calc/calc.el (calc-context-sensitive-enter): New variable.
6626 (calc-enter): Use `calc-context-sensitive-enter'.
6628 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6630 * progmodes/cfengine.el: Version bump.
6631 (cfengine-cf-promises): New defcustom to locate cf-promises.
6632 (cfengine3-vartypes): Add new "data" type.
6633 (cfengine3--current-word): New function to get current name-like
6635 (cfengine3--current-function): New function to look up a CFEngine
6636 function's definition.
6637 (cfengine3-format-function-docstring): New function.
6638 (cfengine3-make-syntax-cache): New function.
6639 (cfengine3-documentation-function): New function: ElDoc glue.
6640 (cfengine3-completion-function): New function: completion glue.
6641 (cfengine3-mode): Set `compile-command',
6642 `eldoc-documentation-function', and add to
6643 `completion-at-point-functions'.
6645 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6647 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6648 `tramp-current-connection'.
6650 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6653 nil/self/true/false with "end of symbol".
6655 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6657 * subr.el (version-regexp-alist): Fix a typo.
6659 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6661 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6662 "en_US.utf8" and "LC_CTYPE" to "".
6663 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6664 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6666 2013-11-15 Leo Liu <sdl.web@gmail.com>
6668 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6670 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6672 * progmodes/gud.el (ctl-x-map):
6673 Remove C-x SPC binding. (Bug#12342)
6674 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6676 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6678 * subr.el (version-regexp-alist):
6679 Recognize hg, svn and darcs versions as snapshot versions.
6681 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6682 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6683 (ruby--encoding-comment-required-p): Extract from
6684 `ruby-mode-set-encoding'.
6685 (ruby-mode-set-encoding): Add the ability to always insert an
6686 utf-8 encoding comment. Fix and simplify coding comment update
6689 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6691 * net/tramp-gvfs.el (top): Run init code only when
6692 `tramp-gvfs-enabled' is not nil.
6693 (tramp-gvfs-enabled): Check also :system bus.
6695 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6697 Sync with upstream verilog-mode revision 78e66ba.
6698 * progmodes/verilog-mode.el (verilog-end-of-defun)
6699 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6700 (verilog-get-end-of-defun): Remove unused argument.
6701 (verilog-comment-depth): Remove unused local `e'.
6702 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6703 Don't pass arg to verilog-get-end-of-defun.
6705 2013-11-14 Glenn Morris <rgm@gnu.org>
6707 * obsolete/assoc.el (aget): Prefix dynamic variable.
6709 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6711 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6713 * widget.el, hfy-cmap.el: Remove bogus package version number.
6715 2013-11-13 Glenn Morris <rgm@gnu.org>
6717 * replace.el (replace-eval-replacement):
6718 Try to give more helpful error message. (Bug#15836)
6720 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6721 (archive-7z-update): Avoid custom type mismatches.
6723 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6725 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6727 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6728 address can be empty.
6730 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6731 Accept nil SWITCHES.
6732 (tramp-gvfs-handle-write-region): Implement APPEND.
6734 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6736 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6737 binary "|" operator and closing block args delimiter.
6738 Remove FIXME comment referring to Ruby 1.8-only syntax.
6739 (ruby-smie--implicit-semi-p): Not after "|" operator.
6740 (ruby-smie--closing-pipe-p): New function.
6741 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6742 (ruby-smie-rules): Indent after "|".
6744 2013-11-12 Glenn Morris <rgm@gnu.org>
6746 * ps-print.el (ps-face-attribute-list):
6747 Handle anonymous faces. (Bug#15827)
6749 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6751 * window.el (display-buffer-other-frame): Fix doc-string.
6754 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6758 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6761 (tramp-sh-handle-file-local-copy): Don't write a message when
6762 saving temporary files.
6764 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6765 both directories are remote.
6766 (tramp-smb-handle-directory-files): Do not return double entries.
6767 Do not expand full file names.
6768 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6769 (tramp-smb-handle-write-region): Implement APPEND.
6770 (tramp-smb-get-stat-capability): Fix a stupid bug.
6772 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6774 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6776 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6778 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6779 throwing error over malformed let/let* (bug#15814).
6781 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * iswitchb.el (iswitchb-mode): Mark obsolete.
6785 2013-11-11 Glenn Morris <rgm@gnu.org>
6787 * international/uni-bidi.el, international/uni-category.el:
6788 * international/uni-name.el, international/uni-numeric.el:
6789 Regenerate for Unicode 6.3.0.
6791 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6793 * net/tramp.el (tramp-methods):
6794 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6795 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6797 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6799 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6800 Force highlighting text after Summary keyword in doc face for rpm.
6802 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6804 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6805 available and the word has no wildcards, append one to the grep pattern.
6806 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6807 (ispell-complete-word): Call `ispell-lookup-words' with the value
6808 independent of `ispell-look-p'.
6810 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6812 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6814 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6817 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6819 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6820 (ruby-font-lock-keywords): Use backquote.
6822 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6824 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6825 (ruby-smie--backward-token): Only consider full-string matches.
6827 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6829 * faces.el (describe-face): Add distant-foreground.
6831 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6833 * progmodes/ruby-mode.el: Improve encoding comment handling.
6834 (ruby-encoding-magic-comment-style): New option.
6835 (ruby-custom-encoding-magic-comment-template): New option.
6836 (ruby--insert-coding-comment, ruby--detect-encoding):
6837 New functions extracted from `ruby-mode-set-encoding'.
6838 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6839 to control the style of the auto-inserted encoding comment.
6841 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6843 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6844 Use `smie-backward-sexp' with token argument.
6846 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6848 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6849 Remove instrumentation code.
6851 2013-11-08 Glenn Morris <rgm@gnu.org>
6853 * progmodes/autoconf.el (autoconf-mode):
6854 Tweak comment-start-skip. (Bug#15822)
6856 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6858 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6859 at bobp (bug#15826).
6860 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6862 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6864 * man.el (Man-start-calling): New macro, extracted from
6865 Man-getpage-in-background.
6866 (Man-getpage-in-background): Use it.
6867 (Man-update-manpage): New command.
6868 (Man-mode-map): Bind it.
6870 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6872 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6873 of "and", "or", "&&" and "||".
6874 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6875 argument. Prohibit opening curly brace because it could only be a
6876 block opener in that position.
6877 (ruby-smie--forward-token, ruby-smie--backward-token):
6878 Separate "|" from "&" or "*" going after it. That can happen in block
6880 (ruby-smie--indent-to-stmt): New function, seeks the end of
6881 previous statement or beginning of buffer.
6882 (ruby-smie-rules): Use it.
6883 (ruby-smie-rules): Check if there's a ":" before a curly block
6884 opener candidate; if there is, it's a hash.
6886 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6888 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6889 (cl--block-wrapper): Fix last accidental change.
6891 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6893 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6894 Instrument, in order to hunt failure on hydra.
6896 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6898 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6899 malformed bindings form (bug#15814).
6901 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6903 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6904 "." compared to " @ ". This incidentally fixes some indentation
6906 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6907 (ruby-smie-grammar): New tokens: "and" and "or".
6908 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6909 Exclude "and" and "or". Remove "do" in order to work around token
6911 (ruby-smie-rules): Add all infix tokens. Handle the case of
6912 beginning-of-buffer.
6914 2013-11-06 Glenn Morris <rgm@gnu.org>
6916 * Makefile.in (setwins_almost, setwins_for_subdirs):
6917 Avoid accidental matches.
6919 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * menu-bar.el (popup-menu): Use key-binding.
6923 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6925 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6926 menus, support also the menus produced by minor modes.
6929 2013-11-06 Leo Liu <sdl.web@gmail.com>
6931 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6932 DISTANCE to bound the search. All uses changed. (Bug#15808)
6934 2013-11-06 Glenn Morris <rgm@gnu.org>
6936 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6937 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6938 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6940 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6942 * electric.el (electric-indent-just-newline): New command.
6943 (electric-indent-mode-map): New keymap.
6944 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6945 Re-add :group which weren't redundant.
6947 * electric.el (electric-indent-local-mode): New minor mode.
6948 (electric-indent-functions-without-reindent): New var.
6949 (electric-indent-post-self-insert-function): Use it.
6950 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6952 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6954 * international/quail.el (quail-help): Be more explicit about the
6955 meaning of the labels shown on the keys. (Bug#15800)
6957 * startup.el (normal-top-level): Load the subdirs.el files before
6958 setting the locale environment. (Bug#15805)
6960 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6963 via arguments so as to get the right ones (bug#15418).
6965 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6967 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6969 Fix problems found while writing a test suite.
6971 * net/tramp-compat.el (tramp-compat-load): New defun.
6972 * net/tramp.el (tramp-handle-load): Use it.
6974 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6975 "(numberp ok-if-already-exists)" correctly.
6977 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6979 * international/characters.el (glyphless-char-display-control):
6982 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6984 * progmodes/python.el (python-mode):
6985 * progmodes/scheme.el (scheme-mode):
6986 * progmodes/prolog.el (prolog-mode):
6987 * progmodes/ruby-mode.el (ruby-mode):
6988 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6989 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6991 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * rect.el (rectangle--highlight-for-redisplay):
6994 * emacs-lisp/smie.el (smie--next-indent-change):
6995 Use buffer-chars-modified-tick.
6997 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6999 * electric.el (electric-indent-post-self-insert-function):
7000 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7002 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7004 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7006 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7008 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7011 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7013 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7015 * progmodes/python.el: Fix up last change.
7016 (python-shell--save-temp-file): New function.
7017 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7018 `string' comes from the current buffer.
7019 (python-shell-send-string-no-output): Remove `msg' arg.
7020 (python--use-fake-loc): New var.
7021 (python-shell-buffer-substring): Obey it. Try to compensate for the
7022 extra coding line added by python-shell--save-temp-file.
7023 (python-shell-send-region): Use python-shell--save-temp-file and
7024 python-shell-send-file directly. Add `nomain' argument.
7025 (python-shell-send-buffer): Use python-shell-send-region.
7026 (python-electric-pair-string-delimiter): New function.
7027 (python-mode): Use it.
7029 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7031 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7032 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7033 environment and decoding all of the default-directory's to here
7035 (command-line): Decode also argv[0].
7037 * loadup.el: Error out if default-directory is a multibyte string
7038 when we are dumping.
7040 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7042 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7044 * emacs-lisp/package.el (package-menu-mode)
7045 (package-menu--print-info, package-menu--archive-predicate):
7046 Add Archive column to package list.
7048 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7050 Fix problems found while writing a test suite.
7052 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7053 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7054 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7055 to nil when running original file name handler. Otherwise,
7056 there are problems with constructs like "$$FOO".
7058 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7061 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7063 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7065 * subr.el (version<, version<=, version=):
7066 Update docstrings with information for snapshot versions.
7068 * helpers.el: New library for misc helper functions.
7069 (hash-table-keys): New function returning a list of hash keys.
7070 (hash-table-values): New function returning a list of hash values.
7072 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7074 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7075 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7077 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7079 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7080 checking whether point is after a 1-letter word.
7082 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7084 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7085 Don't infloop when expanding region over `multiline' syntax-type that
7086 begins a line (bug#15778).
7088 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7090 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7091 Make it into a proper minor mode.
7092 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7093 (rectangle-mark-mode-map): New keymap.
7094 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7096 2013-11-04 Glenn Morris <rgm@gnu.org>
7098 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7100 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7103 (ruby-smie-rules): Use smie-rule-parent instead.
7105 * emacs-lisp/smie.el (smie-rule-parent): Always call
7106 smie-indent-virtual rather than only for hanging tokens.
7107 (smie--next-indent-change): New helper command.
7109 2013-11-03 Glenn Morris <rgm@gnu.org>
7111 * Makefile.in (abs_srcdir): Remove.
7112 (emacs): Unset EMACSLOADPATH.
7114 2013-11-02 Glenn Morris <rgm@gnu.org>
7116 * Makefile.in (EMACS): Use a relative filename.
7117 (abs_top_builddir): Remove.
7118 (custom-deps, finder-data, autoloads): Use --chdir.
7120 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7122 Use relative filenames in TAGS files.
7123 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7124 (lisptagsfiles4, TAGS): Use relative file names.
7125 (TAGS-LISP): Remove.
7126 (maintainer-clean): No more TAGS-LISP file.
7128 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7129 (lisptagsfiles4): Use absolute filenames again.
7130 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7131 Remove all *loaddefs files, not just the first. Remove esh-groups.
7132 (maintainer-clean): Delete TAGS, TAGS-LISP.
7134 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7136 * emacs-lisp/package.el (package-version-join):
7137 Recognize snapshot versions.
7139 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7141 * subr.el (version-regexp-alist): Add support for snapshot versions.
7143 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7145 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7146 New function, replacement for `smie-rule-parent' for when we want to
7147 skip over our direct parent if it's an assignment token..
7148 (ruby-smie-rules): Use it.
7150 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7152 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7153 unconditionally. Remove now unnecessary forward declarations.
7154 Remove XEmacs-specific setup.
7155 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7156 (ruby-font-lock-syntactic-keywords)
7157 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7158 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7159 (ruby-here-doc-end-syntax): Remove.
7160 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7161 defined as function.
7163 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7165 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7167 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7169 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7170 table and abbrev table, `define-derived-mode' does that for us
7173 2013-11-01 Glenn Morris <rgm@gnu.org>
7175 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7176 files is atomic for some time, so no parallel compilation issues).
7178 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7180 * faces.el (face-x-resources): Add :distant-foreground.
7181 (region): Use :distant-foreground for gtk and ns.
7183 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7185 Allow multiple bibliographies when BibLaTeX is used rather than
7187 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7188 (reftex-locate-bibliography-files): Us it.
7190 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7192 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7193 allow comments in pbm files.
7195 * term/w32-win.el (dynamic-library-alist): Support newer versions
7196 of libjpeg starting with v7: look only for the DLL from the
7197 version against which Emacs was built.
7198 Support versions of libpng beyond 1.4.x.
7199 Support libtiff v4.x.
7201 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7203 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7204 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7206 (ruby-deep-arglist): Add property :type.
7208 2013-10-31 Glenn Morris <rgm@gnu.org>
7210 * Makefile.in (custom-deps, finder-data): No need to setq the target
7211 variables, we are in the right directory and the defaults work fine.
7213 2013-10-30 Glenn Morris <rgm@gnu.org>
7215 * Makefile.in (autoloads): Do not use abs_lisp.
7217 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7218 `newline' does not respect `standard-output', so use `princ'.
7220 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7222 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7223 * buff-menu.el (Buffer-menu--unmark): New function.
7224 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7226 2013-10-30 Glenn Morris <rgm@gnu.org>
7228 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7230 * emacs-lisp/package.el (lm-homepage): Declare.
7232 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7235 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7237 * Makefile.in (finder-data, autoloads, update-subdirs)
7238 (compile-main, compile-clean, compile-always, bootstrap-clean):
7239 Check return value of cd.
7240 (compile-calc): Remove.
7242 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7244 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7246 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7247 (byte-compile-and-folded): New function.
7248 (=, <, >, <=, >=): Use it.
7250 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7251 (path-separator, null-device, buffer-file-coding-system)
7252 (lpr-headers-switches): Check system-type before modifying them.
7253 (find-buffer-file-type-coding-system): Mark obsolete.
7254 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7255 find-file-not-found-set-buffer-file-coding-system.
7256 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7257 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7258 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7259 (w32-direct-print-region-helper, w32-direct-print-region-function)
7260 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7261 * startup.el (normal-top-level-add-subdirs-to-load-path):
7262 * ps-print.el (ps-print-region-function):
7263 * lpr.el (print-region-function): Use new name.
7265 * subr.el (custom-declare-variable-early): Remove function.
7266 (custom-declare-variable-list): Remove var.
7267 (error, user-error): Remove `while' loop.
7268 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7269 (user-emacs-directory-warning, locate-user-emacs-file):
7271 * simple.el (read-quoted-char-radix, read-quoted-char):
7272 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7274 * custom.el (custom-declare-variable-list): Don't process
7275 custom-declare-variable-list.
7277 * progmodes/python.el (python-shell-get-buffer): New function.
7278 (python-shell-get-process): Use it.
7279 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7280 Python which encoding was used. Don't split-string since we only care
7281 about the first line. Return the temp-file, if applicable.
7282 (python-shell-send-region): Tell compile.el how to turn locations in
7283 the temp-file into locations in the source buffer.
7285 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7287 * subr.el (undefined): Add missing behavior from the C code for
7290 * rect.el: Use lexical-binding. Add new rectangular region support.
7291 (rectangle-mark): New command.
7292 (rectangle--region): New var.
7293 (deactivate-mark-hook): Reset rectangle--region.
7294 (rectangle--extract-region, rectangle--insert-for-yank)
7295 (rectangle--highlight-for-redisplay)
7296 (rectangle--unhighlight-for-redisplay): New functions.
7297 (region-extract-function, redisplay-unhighlight-region-function)
7298 (redisplay-highlight-region-function): Use them to handle
7300 * simple.el (region-extract-function): New var.
7301 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7302 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7303 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7304 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7305 (redisplay-unhighlight-region-function)
7306 (redisplay-highlight-region-function): New vars.
7307 (redisplay--update-region-highlight): New function.
7308 (pre-redisplay-function): Use it.
7309 (exchange-point-and-mark): Don't deactivate the mark before
7310 reactivate-it anyway.
7311 * comint.el (comint-kill-region): Remove yank-handler argument.
7312 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7313 (delete-char): Remove property, since it's now part of their
7315 (self-insert-iso): Remove property since this command doesn't exist.
7317 * emacs-lisp/package.el (package--download-one-archive)
7318 (describe-package-1): Don't query the user about final newline.
7320 2013-10-29 Daniel Colascione <dancol@dancol.org>
7322 * net/tramp.el (tramp-methods): Document new functionality.
7323 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7324 tramp-hostname-checker if method provides one instead of scanning
7325 argument list for "%h" to decide hostname acceptability.
7327 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7329 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7330 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7331 Handle COPY-CONTENTS. (Bug#15737)
7333 2013-10-28 Daiki Ueno <ueno@gnu.org>
7336 (epa-file-cache-passphrase-for-symmetric-encryption):
7337 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7339 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7341 * image.el (defimage, image-load-path): Doc fixes.
7343 2013-10-27 Alan Mackenzie <acm@muc.de>
7345 Indent statements in macros following "##" correctly.
7346 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7347 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7349 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7351 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7353 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7355 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7356 after `=' is probably a new expression.
7358 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7360 * man.el (man-imenu-title): New option.
7361 (Man-mode-map): Add menu. (Bug#15722)
7362 (Man-mode): Add imenu to menu.
7364 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7366 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7367 specific in what the first arg can be: a non-keyword word,
7368 string/regexp/percent literal opener, opening paren, or unary
7369 operator followed directly by word.
7371 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7374 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7375 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7376 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7377 Remove vars, they do not apply any more.
7378 (prolog-mode-abbrev-table): Remove redundant declaration.
7379 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7380 (prolog-use-smie): Remove.
7381 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7382 supported by prolog-electric-if-then-else-flag.
7383 (prolog-mode-variables, prolog-menu): Use setq-local.
7384 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7385 Remove binding to `Backspace' since this key doesn't exist anyway.
7386 Remove bindings for electric self-inserting keys.
7387 (prog-mode): Assume it's defined.
7388 (prolog-post-self-insert): New function.
7389 (prolog-mode): Use it.
7390 (prolog-indent-line, prolog-indent-level)
7391 (prolog-find-indent-of-matching-paren)
7392 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7393 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7394 (prolog-goto-next-paren, prolog-in-string-or-comment)
7395 (prolog-tokenize, prolog-inside-mline-comment)
7396 (prolog-find-start-of-mline-comment): Remove functions.
7397 (prolog-find-unmatched-paren, prolog-clause-end)
7398 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7399 (prolog-electric--if-then-else): Rename from
7400 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7401 (prolog-tokenize-searchkey): Remove const.
7402 (prolog-clause-info): Use forward-sexp.
7403 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7404 (prolog-electric-if-then-else): Remove commands.
7405 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7406 for use in post-self-insert-hook.
7407 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7408 for use in post-self-insert-hook.
7409 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7410 for use in post-self-insert-hook.
7411 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7412 adapt it for use in post-self-insert-hook.
7414 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7416 * emacs-lisp/ert.el (ert-run-tests-interactively):
7417 Use `completing-read'. (Bug#9756)
7419 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7421 * simple.el (line-move): Call line-move-1 instead of
7422 line-move-visual when the current window hscroll is zero, but
7423 temporary-goal-column indicates we will need to hscroll as result
7424 of the movement. (Bug#15712)
7426 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7428 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7429 capitalization. Use :visible instead of :active.
7430 Fix `ruby-indent-exp' reference. Add menu items for the generic
7431 commands that are used with SMIE.
7432 (ruby-do-end-to-brace): Insert space after `{'.
7434 2013-10-25 John Anthony <john@jo.hnanthony.com>
7436 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7438 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7440 2013-10-25 Glenn Morris <rgm@gnu.org>
7442 * vc/vc.el (vc-print-log): Don't use a working revision unless
7443 one was explicitly specified. (Bug#15322)
7445 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7447 * subr.el (add-to-list): Preserve return value in compiler-macro
7450 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7452 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7453 result. Ask user to retry using '-all' flag. (Bug#15701)
7455 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7457 * emacs-lisp/smie.el: New smie-config system.
7458 (smie-config): New defcustom.
7459 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7460 (smie-config-guess, smie-config-save): New commands.
7461 (smie-config--mode-local, smie-config--buffer-local)
7462 (smie-config--trace, smie-config--modefuns): New vars.
7463 (smie-config--advice, smie-config--mode-hook)
7464 (smie-config--setter, smie-config-local, smie-config--get-trace)
7465 (smie-config--guess-value, smie-config--guess): New functions.
7466 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7467 text properties. Treat "string fence" syntax like string syntax.
7469 * progmodes/sh-script.el (sh-use-smie): Change default.
7470 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7471 (sh-var-value): Simplify by CSE.
7472 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7473 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7475 (sh-guess-basic-offset): Use cl-incf.
7476 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7478 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7480 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7483 2013-10-24 Glenn Morris <rgm@gnu.org>
7485 * Makefile.in (abs_top_srcdir): Remove.
7486 (update-subdirs): Use relative path to update-subdirs.
7488 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7490 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7491 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7492 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7493 Call unmsys--file-name before expand-file-name, not after it.
7495 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7497 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7498 (ert-test-skipped): New error.
7499 (ert-skip, ert-stats-skipped): New defuns.
7500 (ert--skip-unless): New macro.
7501 (ert-test-skipped): New struct.
7502 (ert--run-test-debugger, ert-test-result-type-p)
7503 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7504 (ert--stats-set-test-and-result, ert-char-for-test-result)
7505 (ert-string-for-test-result, ert-run-tests-batch)
7506 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7507 Handle skipped tests. (Bug#9803)
7509 2013-10-24 Glenn Morris <rgm@gnu.org>
7511 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7513 * Makefile.in (abs_top_srcdir): New, set by configure.
7514 (update-subdirs): Correct build-aux location.
7516 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7518 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7519 value, whether we could auto-deduce `backend', or not.
7521 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7522 with parameters" example. Simplify the "is it block or is it
7523 hash" check, but also make it more thorough.
7525 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7527 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7529 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7531 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7534 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7537 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7539 * progmodes/compile.el (compilation-directory-matcher)
7540 (compilation-page-delimiter):
7541 Support GNU Make-4.0 directory quoting. (Bug#15678)
7543 2013-10-23 Leo Liu <sdl.web@gmail.com>
7545 * ido.el (ido-tidy): Handle read-only text.
7547 2013-10-23 Glenn Morris <rgm@gnu.org>
7549 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7550 (emacs, compile, compile-always):
7551 Quote entities that might contain whitespace.
7552 (custom-deps, finder-data, autoloads): Use abs_lisp.
7553 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7554 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7555 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7557 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7559 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7560 Use `following-char'.
7562 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7564 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7565 * progmodes/ruby-mode.el (ruby-smie-rules):
7566 Remove corresponding workaround. Fix indentation rule of ";" so it
7567 also applies when ";" is the parent.
7569 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7571 * frame.el (display-screens, display-pixel-height)
7572 (display-pixel-width, display-mm-width, display-backing-store)
7573 (display-save-under, display-planes, display-color-cells)
7574 (display-visual-class, display-monitor-attributes-list):
7575 Mention the optional ‘display’ argument in doc strings.
7577 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7579 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7580 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7582 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7584 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7585 TODO. Add "." after " @ ".
7586 (ruby-smie--at-dot-call): New function. Checks if point at method
7587 call with explicit target.
7588 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7589 to the method name tokens when it precedes them.
7590 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7591 (ruby-smie-rules): Add rule for indentation before and after "."
7594 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7596 * textmodes/remember.el (remember-diary-extract-entries):
7599 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7602 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7604 * progmodes/ruby-mode.el (ruby-smie-grammar):
7605 Add (almost) all infix operators.
7606 (ruby-smie--implicit-semi-p): Add new operator chars.
7608 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7610 (ruby-smie--args-separator-p): Check that there's no newline
7611 between method call and its arguments.
7613 2013-10-20 Alan Mackenzie <acm@muc.de>
7615 Allow comma separated lists after Java "implements".
7617 * progmodes/cc-engine.el (c-backward-over-enum-header):
7619 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7620 from a "disallowed" list in enum fontification.
7622 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7624 * startup.el (default-frame-background-mode): Remove unused defvar.
7626 * progmodes/verilog-mode.el (verilog-mode): Don't set
7627 comment-indent-function globally.
7629 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7631 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7632 Move Info menu item creation to ns-win.el.
7634 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7637 * menu-bar.el: Move GNUstep specific menus...
7639 * term/ns-win.el (ns-initialize-window-system): ... to here.
7641 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * simple.el (newline): Only run post-self-insert-hook when
7644 called interactively.
7646 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7648 * icomplete.el (icomplete-with-completion-tables): Add :version.
7650 2013-10-19 Alan Mackenzie <acm@muc.de>
7652 Fix fontification bugs with constructors and const.
7654 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7655 CASE 2) Remove the check for the absence of a suffix construct
7656 after a function declaration with only types (no identifiers) in
7657 the parentheses. Also, accept a function declaration with just a
7658 type inside the parentheses, if this type can be positively
7659 recognised as such, or if a prefix keyword like "explicit" nails
7660 down the construct as a declaration.
7662 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7664 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7665 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7666 the problem whereby selecting a menu item that leads to a
7667 minibuffer prompt moves the cursor out of the minibuffer window,
7668 making it hard to type at the prompt. Suggested by Stefan Monnier
7669 <monnier@iro.umontreal.ca>.
7671 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7673 * menu-bar.el: Don't make Services menu.
7675 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7677 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7678 (ffap-alist): Use ffap-c++-mode for c++-mode.
7679 (ffap-c++-path): New variable.
7680 (ffap-c++-mode): New function.
7682 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7684 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7686 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7688 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7689 introduced on 2013-09-08, which results in an infinite loop
7690 requesting a password.
7692 2013-10-18 Glenn Morris <rgm@gnu.org>
7694 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7696 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7698 Sync with upstream verilog-mode revision 1a6ecec7.
7699 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7700 (verilog-mode-release-date): Remove.
7701 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7702 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7703 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7704 (verilog-auto-tieoff-ignore-regexp)
7705 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7706 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7707 (verilog-signals-with, verilog-dir-cache-preserving)
7708 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7710 (verilog-case-fold): New option, to control case folding in
7711 regexp searches, bug597.
7712 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7713 (verilog-string-match-fold, verilog-in-paren-count)
7714 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7715 (verilog-at-close-struct-p): New functions.
7716 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7717 (verilog-forward-sexp, verilog-set-auto-endcomments)
7718 (verilog-leap-to-case-head): Handle "unique0" case.
7719 (verilog-in-constraint-re): New constant.
7720 (verilog-keywords, verilog-type-font-keywords):
7721 Add some SystemVerilog 1800-2012 keywords.
7722 (verilog-label-be): Remove unimplemented argument, bug669.
7723 (verilog-batch-execute-func): When batch expanding clear
7724 create-lockfiles to prevent spurious user locks when a file ends
7726 (verilog-calculate-indent, verilog-calc-1)
7727 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7728 (verilog-do-indent): Fix indentation of nested constraints
7730 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7731 (verilog-auto-inst-param): Use verilog-string-match-fold.
7732 (verilog-read-inst-module-matcher):
7733 Fix AUTOINST on gate primitives with #1.
7734 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7735 Reads all user-defined typed variables.
7736 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7737 (verilog-signals-matching-regexp)
7738 (verilog-signals-not-matching-regexp, verilog-auto):
7739 Respect verilog-case-fold.
7740 (verilog-diff-report): Fix line count.
7741 (verilog-auto-assign-modport): Remove unused local `modi'.
7742 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7743 better handle multidimensional arrays.
7744 Fix packed array ports misadding bit index in AUTOINST, bug637.
7745 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7746 to not double-declare existing outputs and inputs, respectively.
7747 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7748 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7749 (verilog-sk-uvm-component): New skeleton.
7750 (verilog-submit-bug-report): Add verilog-case-fold,
7751 remove verilog-mode-release-date.
7753 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7755 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7758 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7760 * textmodes/remember.el (remember): Set buffer-offer-save in
7761 remember buffers (bug#13566).
7763 2013-10-18 Daniel Colascione <dancol@dancol.org>
7765 When evaluating forms in ielm, direct standard output to ielm
7766 buffer. Add new ielm-return-for-effect command. Remove trailing
7767 whitespace throughout.
7769 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7770 (ielm-return-for-effect): New command.
7771 (ielm-send-input): Accept optional `for-effect' parameter.
7772 (ielm-eval-input): Accept optional `for-effect' parameter.
7773 Bind `standard-output' to stream we create using
7774 `ielm-standard-output-impl'. Suppress printing result when
7776 (ielm-standard-output-impl): New function.
7777 (inferior-emacs-lisp-mode): Explain new features in documentation.
7779 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7783 * net/tramp.el (tramp-debug-message): Do not check for connection
7785 (tramp-message): Use "vector" connection property.
7787 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7788 (tramp-equal-remote, tramp-eshell-directory-change)
7789 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7790 (tramp-adb-handle-rename-file)
7791 * net/tramp-cmds.el (tramp-list-remote-buffers)
7792 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7793 * net/tramp-compat.el (tramp-compat-process-running-p)
7794 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7795 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7796 (tramp-gvfs-handle-rename-file)
7797 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7798 (tramp-set-file-uid-gid)
7799 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7800 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7803 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7804 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7805 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7806 (tramp-gw-open-network-stream): Suppress unrelated traces.
7808 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7809 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7810 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7811 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7812 connection property.
7814 * net/tramp-cache.el (top): Suppress traces when reading
7817 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7818 Refactor common code. Improve debug message.
7819 (tramp-maybe-open-connection)
7820 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7821 connection buffer too early.
7823 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7824 from `tramp-smb-actions-with-acl'.
7825 (tramp-smb-actions-set-acl): New defconst.
7826 (tramp-smb-handle-copy-directory)
7827 (tramp-smb-action-get-acl): New defun, renamed from
7828 `tramp-smb-action-with-acl'.
7829 (tramp-smb-action-set-acl): New defun.
7830 (tramp-smb-handle-set-file-acl): Rewrite.
7832 2013-10-17 Glenn Morris <rgm@gnu.org>
7834 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7836 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7838 * skeleton.el (skeleton-newline): Remove.
7839 (skeleton-internal-1): Use (insert "\n") instead.
7841 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7844 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7845 forward-sexp-function while we redo its job (bug#15613).
7847 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7849 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7850 represented by lists.
7852 2013-10-16 Glenn Morris <rgm@gnu.org>
7854 * tmm.el (tmm--history): New dynamic variable.
7855 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7857 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7859 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7860 (tramp-smb-errors): Add error messages.
7861 (tramp-smb-actions-with-acl): New defconst.
7862 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7863 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7864 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7865 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7866 (tramp-smb-get-stat-capability): Fix tests.
7868 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7870 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7873 2013-10-16 Glenn Morris <rgm@gnu.org>
7875 * ansi-color.el (ansi-color-drop-regexp):
7876 Add 1J, 1K, 2K. (Bug#15617)
7878 * files.el (hack-local-variables--warned-lexical): New.
7879 (hack-local-variables):
7880 Warn about misplaced lexical-binding. (Bug#15616)
7882 * net/eww.el (eww-render): Always set eww-current-url,
7883 and update header line. (Bug#15622)
7884 (eww-display-html): ... Rather than just doing it here.
7886 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7888 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7889 menu navigations commands.
7891 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7893 * progmodes/subword.el (subword-capitalize): Be careful when
7894 the search for [[:alpha:]] fails (bug#15580).
7896 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7898 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7899 to commands that scroll the menu.
7901 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7903 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7904 Handle methods ending with `?' and `!'.
7906 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7908 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7909 `japanese-cp932' to `cp932' to fix the problem where saving a
7910 source file written in Shift_JIS twice would end up having
7911 `coding: japanese-cp932' which Ruby could not recognize.
7912 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7913 in `ruby-encoding-map'.
7914 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7915 doesn't need to be explicitly declared in magic comment.
7916 (ruby-encoding-map): Add type declaration for better customize UI.
7918 2013-10-13 Glenn Morris <rgm@gnu.org>
7920 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7921 Occur buffers are read-only. http://bugs.debian.org/720775
7923 * emacs-lisp/authors.el (authors-fixed-entries):
7924 Comment out old alpha stuff.
7926 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7928 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7929 to `after-save-hook' instead of `before-save-hook'.
7930 (ruby-mode-set-encoding): Use the value of coding system used to
7931 write the file. Call `basic-save-buffer-1' after modifying the
7934 2013-10-13 Alan Mackenzie <acm@muc.de>
7936 Fix indentation/fontification of Java enum with
7937 "implements"/generic.
7939 * progmodes/cc-engine.el (c-backward-over-enum-header):
7940 Extracted from the three other places and enhanced to handle generics.
7941 (c-inside-bracelist-p): Uses new function above.
7942 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7944 (c-font-lock-enum-tail): Uses new function above.
7946 2013-10-13 Kenichi Handa <handa@gnu.org>
7948 * international/mule-cmds.el (select-safe-coding-system): Remove a
7949 superfluous condition in chekcing whether a coding system is safe
7952 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7954 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7956 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7958 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7960 2013-10-13 Glenn Morris <rgm@gnu.org>
7962 * menu-bar.el (menu-bar-update-buffers):
7963 Unify Buffers menu prompt string. (Bug#15576)
7965 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7967 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7969 (authors-fixed-entries): Use accented form of name.
7971 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7973 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7974 method calls (bug#15594).
7975 (ruby-smie--args-separator-p): New function.
7976 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7977 recognize paren-free method calls.
7979 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7980 internals of universal-argument.
7982 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7984 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7985 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7986 dropped menu on second mouse click on the menu bar.
7988 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7990 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7991 (explicit-shell-file-name): Declare.
7992 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7993 (sh-completion-at-point-function): New function.
7995 (sh-smie--keyword-p): Remove unused argument.
7996 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7998 (sh-set-shell): Always setup SMIE, even if we use the
7999 old indentation code.
8001 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8003 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8005 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8006 predicate would return nil are almost non-existent.
8007 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8009 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8010 cache also after commands that modify the buffer but don't move
8013 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * env.el (substitute-env-in-file-name): New function.
8016 (substitute-env-vars): Extend the meaning of the optional arg.
8018 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8020 * term/w32-win.el (dynamic-library-alist): Define separate lists
8021 of GIF DLLs for versions before and after 5.0.0 of giflib.
8024 2013-10-10 João Távora <joaotavora@gmail.com>
8026 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8027 not locked, use last revision and current source as
8028 defaults. (Bug#15569)
8030 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8032 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8035 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8037 * window.el (pop-to-buffer-same-window): Fix doc-string.
8040 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8042 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8044 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8046 * calendar/icalendar.el (icalendar-import-file):
8047 Fix interactive spec. (Bug#15482)
8049 2013-10-10 Glenn Morris <rgm@gnu.org>
8051 * desktop.el (desktop-save): Default to saving in .emacs.d,
8052 since PWD is no longer in desktop-path by default. (Bug#15319)
8054 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8055 now that text mode has a menu with the same entry.
8056 (menu-bar-text-mode-auto-fill): Remove now unused func.
8057 * textmodes/text-mode.el (text-mode-map):
8058 Use auto-fill help text from menu-bar.el.
8060 2013-10-10 John Anthony <john@jo.hnanthony.com>
8062 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8064 2013-10-09 Juri Linkov <juri@jurta.org>
8066 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8067 instead of this-command-keys. Add universal-argument-more and
8068 universal-argument-minus to the list of prefix commands. (Bug#15568)
8070 2013-10-09 Glenn Morris <rgm@gnu.org>
8072 * vc/vc-svn.el (vc-svn-create-repo):
8073 Expand paths in file://... url. (Bug#15446)
8075 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8077 (authors): Remove unused local variables.
8079 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8081 * profiler.el: Create a more coherent calltree from partial backtraces.
8082 (profiler-format): Hide the tail with `invisible' so that C-s can still
8083 find the hidden elements.
8084 (profiler-calltree-depth): Don't recurse so enthusiastically.
8085 (profiler-function-equal): New hash-table-test.
8086 (profiler-calltree-build-unified): New function.
8087 (profiler-calltree-build): Use it.
8088 (profiler-report-make-name-part): Indent the calltree less.
8089 (profiler-report-mode): Add visibility specs for profiler-format.
8090 (profiler-report-expand-entry, profiler-report-toggle-entry):
8091 Expand the whole subtree when provided with a prefix arg.
8093 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8095 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8097 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8098 hanging iuwu-mod token.
8099 (ruby-smie--forward-token): Do not include a dot after a token in
8101 (ruby-smie--backward-token): Likewise.
8103 2013-10-08 Juri Linkov <juri@jurta.org>
8105 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8106 to isearch-other-control-char.
8107 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8108 and isearch-post-command-hook to post-command-hook.
8109 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8110 and isearch-post-command-hook from post-command-hook.
8111 (isearch-unread-key-sequence)
8112 (isearch-reread-key-sequence-naturally)
8113 (isearch-lookup-scroll-key, isearch-other-control-char)
8114 (isearch-other-meta-char): Remove functions.
8115 (isearch-pre-command-hook, isearch-post-command-hook):
8116 New functions based on isearch-other-meta-char rewritten
8117 relying on the new behavior of overriding-terminal-local-map
8118 that does not replace the local keymaps any more. (Bug#15200)
8120 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8122 Support menus on text-mode terminals.
8123 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8126 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8128 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8129 Move here from mouse.el.
8130 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8132 (tty-menu-navigation-map): New map for TTY menu navigation.
8134 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8136 * frame.el (display-mouse-p): Report text-mode mouse as available
8138 (display-popup-menus-p): Report availability if mouse is
8139 available; don't condition on window-system.
8141 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8142 (tty-menu-selected-face): New faces.
8144 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8146 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8147 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8148 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8149 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8151 (lisp-mode-variables): New `elisp' argument.
8152 (emacs-lisp-mode): Use it.
8153 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8154 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8156 * indent.el: Use lexical-binding.
8157 (indent-region): Add progress reporter.
8158 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8160 (indent--next-tab-stop): New function to implement this behavior.
8161 (tab-to-tab-stop, move-to-tab-stop): Use it.
8163 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8165 * indent.el (indent-rigidly--current-indentation): New function.
8166 (indent-rigidly-map): New var.
8167 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8169 2013-10-08 Bastien Guerry <bzg@gnu.org>
8171 * register.el (insert-register): Fix 2013-10-07 change.
8173 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * progmodes/perl-mode.el: Use lexical-binding.
8176 Remove redundant :group args.
8177 (perl-nochange): Change default to be closer to other major modes's
8179 (perl-indent-line): Don't consider text on current line as a
8180 valid beginning of function from which to indent.
8182 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8183 with more than one argument (bug#15538).
8185 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8187 * vc/pcvs.el: Use lexical-binding.
8188 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8189 environment of `eval'.
8190 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8191 than a list of expressions. Adjust callers.
8192 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8194 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8196 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8197 case of the dot in a chained method call being on the following line.
8199 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8201 * electric.el (electric-indent-inhibit): New var.
8202 (electric-indent-post-self-insert-function): Use it.
8203 * progmodes/python.el (python-mode): Set it.
8205 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8208 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8210 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8211 (css-mode): Use electric-indent-chars.
8213 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8214 (font-lock-beg, font-lock-end): Move before first use.
8215 (nxml-mode): Use syntax-propertize-function.
8216 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8217 (nxml-extend-after-change-region): Remove.
8218 * nxml/xmltok.el: Use lexical-binding.
8219 (xmltok-save): Use `declare'.
8220 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8221 * nxml/nxml-util.el: Use lexical-binding.
8222 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8224 * nxml/nxml-ns.el: Use lexical-binding.
8225 (nxml-ns-save): Use `declare'.
8226 (nxml-ns-prefixes-for): Avoid add-to-list.
8227 * nxml/rng-match.el: Use lexical-binding.
8228 (rng--ipattern): Use cl-defstruct.
8229 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8230 (rng-cons-group-after, rng-subst-group-after)
8231 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8232 Use closures instead of `(lambda...).
8234 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8236 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8239 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8240 Use `tramp-handle-insert-file-contents'.
8241 (tramp-gvfs-handle-insert-file-contents): Remove function.
8243 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8244 Use `save-restriction' in order to keep markers.
8246 * net/trampver.el: Update release number.
8248 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8250 * progmodes/compile.el (compilation-parse-errors):
8251 Use compilation--put-prop.
8252 (compilation--ensure-parse): Check compilation-multiline.
8254 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8256 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8259 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8261 * progmodes/ruby-mode.el: Fix recently added tests.
8262 (ruby-smie-grammar): Add - and +.
8263 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8264 (ruby-smie--backward-id): New functions.
8265 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8266 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8269 2013-10-07 Leo Liu <sdl.web@gmail.com>
8271 * register.el (register-preview-delay)
8272 (register-preview-functions): New variables.
8273 (register-read-with-preview, register-preview)
8274 (register-describe-oneline): New functions.
8275 (point-to-register, window-configuration-to-register)
8276 (frame-configuration-to-register, jump-to-register)
8277 (number-to-register, view-register, insert-register)
8278 (copy-to-register, append-to-register, prepend-to-register)
8279 (copy-rectangle-to-register): Use register-read-with-preview to
8280 read register. (Bug#15525)
8282 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8284 * net/network-stream.el (network-stream-open-starttls): Don't add
8285 --insecure if it's already present, because that gnutls-cli
8286 rejects getting that parameter twice.
8288 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8290 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8293 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8295 * newcomment.el (comment-use-global-state): Change default value
8296 to t, mark obsolete (Bug#15251).
8297 (comment-beginning): In addition to `comment-to-syntax', check the
8298 value of `comment-use-global-state'.
8300 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8302 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8303 (ruby-comment-column): Follow the global default, by default.
8304 (ruby-smie-grammar): Add assignment syntax.
8305 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8306 open-paren, a comma, or a \.
8307 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8308 and line continuations.
8309 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8310 followed by implicit semi-colons. Add rule for string concatenation
8311 and for indentation at BOB.
8312 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8314 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8315 calling next-sexp, since next-token may have skipped chars which
8316 next-sexp doesn't know should be skipped!
8318 2013-10-05 Leo Liu <sdl.web@gmail.com>
8320 * progmodes/octave.el (octave-send-region):
8321 Call compilation-forget-errors.
8323 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8325 * vc/vc-svn.el (vc-svn-find-admin-dir):
8326 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8327 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8328 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8329 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8331 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8333 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8335 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8337 * subr.el (read-passwd): Hide chars even when called within a context
8338 where after-change-functions is disabled (bug#15501).
8339 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8340 until we removed ourself from overriding-terminal-local-map.
8342 2013-10-04 Leo Liu <sdl.web@gmail.com>
8344 * progmodes/octave.el (inferior-octave-mode):
8345 Call compilation-forget-errors.
8347 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8349 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8351 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8353 * net/secrets.el (secrets-create-collection): Add optional
8354 argument ALIAS. Use proper Label keyword. Append ALIAS as
8355 dbus-call-method argument. (Bug#15516)
8357 2013-10-04 Leo Liu <sdl.web@gmail.com>
8359 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8360 (inferior-octave-compilation-font-lock-keywords): New variables.
8361 (compilation-error-regexp-alist)
8362 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8363 (inferior-octave-mode): Use compilation-shell-minor-mode.
8365 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8367 * minibuffer.el (completion--replace): Be careful that `end' might be
8370 2013-10-03 Daiki Ueno <ueno@gnu.org>
8372 Add support for package signature checking.
8373 * emacs-lisp/package.el (url-http-file-exists-p)
8374 (epg-make-context, epg-context-set-home-directory)
8375 (epg-verify-string, epg-context-result-for)
8376 (epg-signature-status, epg-signature-to-string)
8377 (epg-check-configuration, epg-configuration)
8378 (epg-import-keys-from-file): Declare.
8379 (package-check-signature): New user option.
8380 (package-unsigned-archives): New user option.
8381 (package-desc): Add `signed' field.
8382 (package-load-descriptor): Set `signed' field if .signed file exists.
8383 (package--archive-file-exists-p): New function.
8384 (package--check-signature): New function.
8385 (package-install-from-archive): Check package signature.
8386 (package--download-one-archive): Check archive signature.
8387 (package-delete): Remove .signed file.
8388 (package-import-keyring): New command.
8389 (package-refresh-contents): Import default keyring.
8390 (package-desc-status): Add "unsigned" status.
8391 (describe-package-1, package-menu--print-info)
8392 (package-menu-mark-delete, package-menu--find-upgrades)
8393 (package-menu--status-predicate): Support "unsigned" status.
8395 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8398 the new compilation scheme using the new byte-codes.
8400 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8401 (byte-pophandler): New byte codes.
8402 (byte-goto-ops): Adjust accordingly.
8403 (byte-compile--use-old-handlers): New var.
8404 (byte-compile-catch): Use new byte codes depending on
8405 byte-compile--use-old-handlers.
8406 (byte-compile-condition-case--old): Rename from
8407 byte-compile-condition-case.
8408 (byte-compile-condition-case--new): New function.
8409 (byte-compile-condition-case): New function that dispatches depending
8410 on byte-compile--use-old-handlers.
8411 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8414 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8415 Optimize under `condition-case' and `catch' if
8416 byte-compile--use-old-handlers is nil.
8417 (disassemble-offset): Handle new bytecodes.
8419 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * subr.el (error): Use `declare'.
8422 (decode-char, encode-char): Use advertised-calling-convention instead
8423 of the docstring to discourage use of the `restriction' arg.
8425 2013-10-03 Daiki Ueno <ueno@gnu.org>
8427 * epg.el (epg-verify-file): Add a comment saying that it does not
8428 notify verification error as a return value nor a signal.
8429 (epg-verify-string): Ditto.
8431 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8433 * progmodes/compile.el (compilation-start): Try globbing the arg to
8436 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8438 Sync with Tramp 2.2.8.
8440 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8441 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8442 * net/trampver.el: Update release number.
8444 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8446 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8447 and default-process-coding-system for darwin only.
8449 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8451 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8453 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8455 * vc/vc-git.el (vc-git-grep): Disable pager.
8457 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8459 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8460 Use :url instead of :homepage, as per
8461 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8463 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8464 non-nil, use `syntax-ppss' (Bug#15251).
8466 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8468 * progmodes/octave.el (inferior-octave-startup-file):
8469 Prefer ~/.emacs.d/init_octave.m.
8471 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8473 * emacs-lisp/package.el (package-desc-from-define):
8474 Accept additional arguments as plist, convert them to an alist and store
8475 them in the `extras' slot.
8476 (package-generate-description-file): Convert extras alist back to
8477 plist and append to the `define-package' form arguments.
8478 (package--alist-to-plist): New function.
8479 (package--ac-desc): Add `extras' slot.
8480 (package--add-to-archive-contents): Check if the archive-contents
8481 vector is long enough, and if it is, pass its `extras' slot value
8482 to `package-desc-create'.
8483 (package-buffer-info): Call `lm-homepage', pass the returned value
8484 to `package-desc-from-define'.
8485 (describe-package-1): Render the homepage button (Bug#13291).
8487 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8488 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8490 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8492 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8493 and default-process-coding-system to utf-8-unix (Bug#15402).
8495 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8497 * subr.el (looking-back): Do not recommend using looking-back.
8499 2013-09-28 Alan Mackenzie <acm@muc.de>
8501 Fix indentation/fontification of Java enum with "implements".
8503 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8504 regexp which matches "implements", etc., in Java.
8505 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8506 specifier clauses coming after "enum".
8507 * progmodes/cc-fonts.el (c-font-lock-declarations)
8508 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8511 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8513 * faces.el (region): Change ns_selection_color to
8514 ns_selection_fg_color, add ns_selection_bg_color.
8516 2013-09-28 Leo Liu <sdl.web@gmail.com>
8518 * progmodes/octave.el (inferior-octave-completion-table)
8519 (inferior-octave-completion-at-point): Minor tweaks.
8521 * textmodes/ispell.el (ispell-lookup-words): Rename from
8522 lookup-words. (Bug#15460)
8523 (lookup-words): Obsolete.
8524 (ispell-complete-word, ispell-command-loop): All uses changed.
8526 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8528 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8529 (octave-mode-menu): Add octave-send-buffer.
8530 (octave-send-buffer): New function.
8532 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8534 * progmodes/octave.el (octave-mode-map): Add key binding for
8536 (octave-mode-menu): Add octave-lookfor.
8537 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8539 (octave-lookfor): New function.
8541 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8543 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8544 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8546 (cl--loop-set-iterator-function): New function.
8547 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8548 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8549 Bind `it' with `let' instead of substituting it with `cl-subst'.
8550 (cl--unused-var-p): New function.
8551 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8552 Eliminate some unused variable warnings (bug#15326).
8554 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8556 * doc-view.el (doc-view-scale-reset): Rename from
8557 `doc-view-reset-zoom-level'.
8558 (doc-view-scale-adjust): New command.
8559 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8560 `doc-view-scale-adjust'.
8562 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8564 * doc-view.el (doc-view-reset-zoom-level): New command.
8565 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8566 zoom commands (bug#15466).
8568 2013-09-26 Kenichi Handa <handa@gnu.org>
8570 * international/quail.el (quail-help): Make it not a command.
8572 2013-09-26 Leo Liu <sdl.web@gmail.com>
8574 * minibuffer.el (completion-all-sorted-completions): Make args
8575 optional as they are.
8577 2013-09-25 Daniel Colascione <dancol@dancol.org>
8579 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8580 specs are and that they're not evaluated.
8582 2013-09-24 Sam Steingold <sds@gnu.org>
8584 * midnight.el (clean-buffer-list-kill-regexps)
8585 (clean-buffer-list-kill-buffer-names): Update for the new Man
8586 buffer naming which includes the object name.
8588 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8590 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8591 (eshell-parse-command, eshell-parse-pipeline): Use it since
8592 eshell-separate-commands requires a dynamic scoped var.
8593 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8595 2013-09-23 Leo Liu <sdl.web@gmail.com>
8597 * autoinsert.el (auto-insert-alist): Make the value of
8598 lexical-binding match its file setting.
8600 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8602 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8604 * autoarg.el (autoarg-kp-digit-argument):
8605 * electric.el (Electric-command-loop):
8606 * kmacro.el (kmacro-step-edit-insert):
8607 Do not set universal-argument-num-events.
8609 2013-09-22 Leo Liu <sdl.web@gmail.com>
8611 * files.el (interpreter-mode-alist): Add octave.
8613 2013-09-21 Alan Mackenzie <acm@muc.de>
8615 C++: fontify identifier in declaration following "public:" correctly.
8616 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8617 to match "public", etc.
8618 (c-decl-prefix-re): Add ":" into the C++ value.
8619 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8620 bit. Add a check for a ":" preceded by "public", etc.
8622 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8624 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8625 recognized by GDB 7.5 and later.
8627 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8629 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8631 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8633 * subr.el (internal--call-interactively): New const.
8634 (called-interactively-p): Use it (bug#3984).
8636 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8638 * vc/pcvs.el (cvs-mode-ignore):
8639 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8640 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8642 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8644 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8645 (eshell-ls-orig-insert-directory): Remove.
8646 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8647 (eshell-ls-use-in-dired): Use advice-add/remove.
8648 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8649 Add `orig-fun' arg for use in :around advice.
8650 Make it check (redundantly) eshell-ls-use-in-dired.
8652 2013-09-19 Glenn Morris <rgm@gnu.org>
8654 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8656 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8658 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8660 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8662 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8663 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8664 (tramp-get-remote-python): New defuns.
8665 (tramp-get-remote-uid-with-perl)
8666 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8667 contributed by yary <not.com@gmail.com> (tiny change).
8668 (tramp-get-remote-uid-with-python)
8669 (tramp-get-remote-gid-with-python): New defuns. Python code
8670 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8671 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8673 2013-09-19 Glenn Morris <rgm@gnu.org>
8675 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8677 * eshell/em-unix.el (eshell-remove-entries):
8678 Rename argument to avoid name-clash with global `top-level'.
8680 * eshell/esh-proc.el (eshell-kill-process-function):
8681 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8682 (eshell-reset-after-proc): Remove unused arg `proc'.
8684 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8685 (directory-files-and-attributes): Mark unused arg.
8687 * eshell/em-unix.el (eshell-remove-entries):
8688 Remove unused arg `path'. Update callers.
8690 * eshell/em-hist.el (eshell-hist-parse-arguments):
8691 Remove unused arg `silent'. Update callers.
8693 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8694 Fix (f)boundp mix-up.
8696 * eshell/em-smart.el (eshell-smart-scroll-window)
8697 (eshell-disable-after-change):
8698 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8700 2013-09-18 Alan Mackenzie <acm@muc.de>
8702 Fix fontification of type when followed by "const".
8703 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8704 "known" types from fontification.
8706 2013-09-18 Glenn Morris <rgm@gnu.org>
8708 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8709 (chart-face-list): Drop Emacsen without display-color-p.
8711 * net/eww.el (libxml-parse-html-region): Declare.
8712 (eww-display-html): Explicit error if no libxml2 support.
8714 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8716 * image.el (image-type-from-buffer, image-multi-frame-p):
8717 Remove --without-x warning/error.
8719 * mouse.el (mouse-yank-primary):
8720 * term.el (term-mouse-paste):
8721 Reorder to silence --without-x compilation.
8723 * mpc.el (doc-view-mode): Silence --without-x compilation.
8725 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8726 Silence --without-x compilation.
8728 * progmodes/gud.el (gud-find-file, gud-mode):
8729 Silence --without-x compilation.
8730 (tooltip-mode): Declare.
8732 * wdired.el (dired-backup-overwrite): Remove declaration.
8733 (wdired-mode-map): Add doc string.
8735 * custom.el (x-get-resource): Declare.
8737 * eshell/em-glob.el (ange-cache):
8738 * eshell/em-unix.el (ange-cache): Declare.
8740 * faces.el (x-display-list, x-open-connection, x-get-resource):
8743 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8744 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8747 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8749 * net/gnutls.el (gnutls-log-level): Declare.
8751 * net/shr.el (image-size, image-animate): Declare.
8753 * simple.el (font-info): Declare.
8755 * subr.el (x-popup-dialog): Declare.
8757 * term/common-win.el (x-select-enable-primary)
8758 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8761 * term/ns-win.el (x-handle-args): Declare.
8763 * term/x-win.el (x-select-enable-clipboard): Declare.
8765 * term/w32-win.el (create-default-fontset): Declare.
8767 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8770 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8771 (fit-frame-to-buffer): Explicit error if --without-x.
8772 (mouse-autoselect-window-select): Silence compiler.
8774 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8776 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8777 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8778 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8779 * eshell/esh-util.el (eshell-sublist):
8780 Remove unused local variables.
8782 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8784 * textmodes/two-column.el: Make 2C-split work for --without-x.
8785 (scroll-bar-columns): Autoload.
8786 (top-level): Require fringe when compiling.
8788 2013-09-18 Leo Liu <sdl.web@gmail.com>
8790 * subr.el (add-hook): Robustify to handle closure as well.
8792 2013-09-17 Glenn Morris <rgm@gnu.org>
8794 * simple.el (messages-buffer-mode-map): Unbind "g".
8796 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * help-mode.el (help-mode-finish): Use derived-mode-p.
8799 Remove obsolete highlighting.
8801 * play/life.el (life-mode): Use define-derived-mode. Derive from
8803 (life): Let-bind inhibit-read-only.
8804 (life-setup): Avoid `setq'. Use `life-mode'.
8806 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8807 which should not be needed any more.
8808 (package-menu-refresh, package-menu-describe-package): Use user-error.
8810 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8811 (eshell-post-rewrite-command-hook): Make obsolete.
8812 (eshell-parse-command): Simplify.
8813 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8814 (eshell--cmd): Declare.
8815 (eshell-parse-pipeline): Remove unused var `final-p'.
8816 Pass a dynvar to eshell-post-rewrite-command-hook.
8817 Implement the new eshell-post-rewrite-command-function.
8818 (eshell-invoke-directly): Remove unused arg `input'.
8819 * eshell/esh-io.el (eshell-io-initialize):
8820 Use eshell-post-rewrite-command-function (bug#15399).
8821 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8822 adjust to new calling convention.
8823 (eshell-create-handles): Rename args to avoid clashing with dynvar
8826 2013-09-17 Glenn Morris <rgm@gnu.org>
8828 * simple.el (messages-buffer-mode): New major mode.
8829 (messages-buffer): New function.
8830 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8831 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8832 (ert-run-test): Use `messages-buffer' function.
8833 (ert--force-message-log-buffer-truncation): Ignore read-only.
8834 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8835 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8837 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8841 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8843 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * icomplete.el (icomplete-in-buffer): New var.
8846 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8847 vars and replace them with functions.
8848 (icomplete-minibuffer-setup): Adjust accordingly.
8849 (icomplete--completion-table, icomplete--completion-predicate)
8850 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8852 (icomplete-forward-completions, icomplete-backward-completions)
8853 (icomplete-simple-completing-p, icomplete-exhibit)
8854 (icomplete-completions): Use them.
8855 (icomplete--in-region-buffer): New var.
8856 (icomplete--in-region-setup): New function.
8857 (icomplete-mode): Use it.
8859 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8861 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8862 return args and options.
8863 (eshell-eval-using-options): Use the new return value of
8864 eshell--do-opts to set the options's vars in their scope.
8865 (eshell--set-option): Rename from eshell-set-option.
8867 (eshell--process-option): Rename from eshell-process-option.
8869 (eshell--process-args): Use an `opt-vals' alist to store the options's
8870 values during their processing and return them additionally to the
8873 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8875 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8876 continuation character an operator, as far as indentation is
8877 concerned (Bug#15369).
8879 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8881 * window.el (window--state-put-2): Don't process buffer state
8882 when buffer doesn't exist any more (Bug#15382).
8884 2013-09-15 Glenn Morris <rgm@gnu.org>
8886 * eshell/em-unix.el (eshell/rm):
8887 Make -f ignore missing files. (Bug#15373)
8889 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8890 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8891 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8893 2013-09-14 Glenn Morris <rgm@gnu.org>
8895 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8897 2013-09-13 Glenn Morris <rgm@gnu.org>
8899 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8900 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8902 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8904 * frame.el (x-focus-frame): Mark as declared in frame.c.
8906 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8908 * ls-lisp.el: Use advice-add.
8909 (original-insert-directory): Remove.
8910 (ls-lisp--insert-directory): Rename from insert-directory; add
8911 `orig-fun' argument.
8912 (insert-directory): Advise.
8914 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8916 * term.el (term-emulate-terminal): Decode the command string
8917 before passing it to term-command-hook. (Bug#15337)
8919 2013-09-13 Glenn Morris <rgm@gnu.org>
8921 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8923 * eshell/esh-ext.el (eshell-search-path): Declare.
8925 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8926 Otherwise an error occurs if eshell-dirs module not loaded.
8928 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8930 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8932 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8933 `tramp-check-proper-host'. Check for a valid method name.
8935 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8936 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8937 * net/tramp-sh.el (tramp-maybe-open-connection):
8938 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8940 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8941 also for hash values.
8943 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8945 * term/ns-win.el (parameters): Don't declare as dynamic.
8946 (before-make-frame-hook): Don't add ineffective function.
8948 * eshell/*.el: Use lexical-binding (bug#15231).
8950 2013-09-12 Kenichi Handa <handa@gnu.org>
8952 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8954 2013-09-12 Glenn Morris <rgm@gnu.org>
8956 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8957 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8959 * subr.el (do-after-load-evaluation): Also give compiler warnings
8960 when obsolete files are used (except by obsolete files).
8962 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8963 in the status output, assume `filename' is the first. (Bug#15322)
8965 * vc/vc.el (vc-deduce-fileset): Doc fix.
8967 * calc/calc-help.el (Info-goto-node):
8968 * progmodes/cperl-mode.el (Info-find-node):
8969 * vc/ediff.el (Info-goto-node): Update declarations.
8971 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8973 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8974 (vc-bzr-pull): Require vc-dispatcher.
8975 * vc/vc-git.el (vc-compilation-mode): Declare.
8976 (vc-git-pull): Require vc-dispatcher.
8978 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8980 * progmodes/octave.el (help-button-action): Declare.
8982 * shell.el (shell-directory-tracker): Output error as a message
8983 rather than just returning it as a string.
8984 (shell-process-pushd): Remove useless use of message.
8986 * dframe.el (dframe-timer-fn):
8987 * files.el (dir-locals-read-from-file):
8988 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8990 * reveal.el (reveal-post-command):
8991 * saveplace.el (load-save-place-alist-from-file):
8992 * shell.el (shell-resync-dirs):
8993 * w32-common-fns.el (x-get-selection-value):
8994 * emacs-lisp/copyright.el (copyright-find-copyright):
8995 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8996 * emulation/tpu-edt.el (tpu-copy-keyfile):
8997 * play/bubbles.el (bubbles--mark-neighbourhood):
8998 * progmodes/executable.el
8999 (executable-make-buffer-file-executable-if-script-p):
9000 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9002 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9004 Cleanup Eshell to rely less on dynamic scoping.
9005 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9006 last-value, and ext-command here. Bind `args' closer to `body'.
9007 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9008 (eshell--args): Declare new dynamic var.
9009 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9010 last-value, and ext-command. Pass `args' to `body'.
9011 (eshell-process-args): Bind eshell--args.
9012 (eshell-set-option): Use eshell--args.
9013 * eshell/eshell.el (eshell): Use derived-mode-p.
9014 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9015 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9016 (eshell-glob-function): Declare.
9017 * eshell/esh-util.el: Require cl-lib.
9018 (eshell-read-hosts-file): Avoid add-to-list.
9019 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9021 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9023 (eshell/diff): Remove unused var `err'.
9024 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9026 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9027 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9029 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9030 Move declaration before first use.
9031 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9032 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9035 2013-09-12 Glenn Morris <rgm@gnu.org>
9037 * term/ns-win.el (global-map): Remove binding for ispell-next,
9038 deleted 1999-05-29. (Bug#15357)
9040 2013-09-11 Glenn Morris <rgm@gnu.org>
9042 * echistory.el (electric-command-history): Remove call to deleted func.
9044 * play/landmark.el (landmark-mode): Fix typos.
9046 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9047 Check cvs-sort-ignore-file is bound.
9049 * savehist.el: No need for cl when compiling on Emacs.
9051 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9055 (eshell-self-insert-command, eshell-send-invisible):
9056 Remove unused argument.
9057 (eshell-handle-control-codes): Remove unused var `orig'.
9058 Avoid delete-backward-char.
9060 * files.el (set-auto-mode): Simplify a bit further.
9062 2013-09-11 Glenn Morris <rgm@gnu.org>
9064 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9065 (set-auto-mode): Don't regexp-quote elements.
9066 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9067 * progmodes/cc-mode.el (interpreter-mode-alist):
9068 * progmodes/ruby-mode.el (interpreter-mode-alist):
9069 Revert previous change.
9071 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9073 * play/snake.el (snake-mode):
9074 * play/mpuz.el (mpuz-mode):
9075 * play/landmark.el (lm-mode):
9076 * play/blackbox.el (blackbox-mode):
9077 * play/5x5.el (5x5-mode):
9078 * obsolete/options.el (Edit-options-mode):
9079 * net/quickurl.el (quickurl-list-mode):
9080 * net/newst-treeview.el (newsticker-treeview-mode):
9081 * mail/rmailsum.el (rmail-summary-mode):
9082 * mail/mspools.el (mspools-mode):
9083 * locate.el (locate-mode):
9084 * ibuffer.el (ibuffer-mode):
9085 * emulation/ws-mode.el (wordstar-mode):
9086 * emacs-lisp/debug.el (debugger-mode):
9087 * array.el (array-mode):
9088 * net/eudc.el (eudc-mode): Use define-derived-mode.
9089 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9090 Move initialization into declaration.
9091 (mairix-searches-mode): Use define-derived-mode.
9092 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9093 (eudc-edit-hotlist): Use dolist.
9094 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9095 (Man-mode): Use define-derived-mode.
9096 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9097 (Info-edit-mode): Use define-derived-mode.
9098 (Info-cease-edit): Use Info-mode.
9099 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9101 (eshell-mode): Use define-derived-mode.
9102 * chistory.el (command-history-mode-map): Rename from
9103 command-history-map.
9104 (command-history-mode): Use define-derived-mode.
9105 (Command-history-setup): Remove function.
9106 * calc/calc.el (calc-trail-mode-map): New var.
9107 (calc-trail-mode): Use define-derived-mode.
9108 (calc-trail-buffer): Set calc-main-buffer manually.
9109 * bookmark.el (bookmark-insert-annotation): New function.
9110 (bookmark-edit-annotation): Use it.
9111 (bookmark-edit-annotation-mode): Make it a proper major mode.
9112 (bookmark-send-edited-annotation): Use derived-mode-p.
9113 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9114 closer to its ideal place. Use \' to match EOS.
9116 * profiler.el (profiler-calltree-find): Use function-equal.
9118 2013-09-10 Glenn Morris <rgm@gnu.org>
9120 * files.el (interpreter-mode-alist): Convert to regexps.
9121 (set-auto-mode): Adapt for this. (Bug#15306)
9122 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9123 Comment out unused variable.
9124 * progmodes/cc-mode.el (interpreter-mode-alist):
9125 * progmodes/python.el (interpreter-mode-alist):
9126 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9127 * progmodes/sh-script.el (sh-set-shell):
9128 No longer use interpreter-mode-alist to get list of shells.
9130 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9132 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9134 * simple.el: Use set-temporary-overlay-map for universal-argument.
9135 (universal-argument-map): Don't use default-bindings (bug#15317).
9136 Bind switch-frame explicitly. Replace universal-argument-minus with
9137 a conditional binding.
9138 (universal-argument-num-events, saved-overriding-map): Remove.
9139 (restore-overriding-map): Remove.
9140 (universal-argument--mode): Rename from save&set-overriding-map,
9142 (universal-argument, universal-argument-more, negative-argument)
9143 (digit-argument): Adjust accordingly.
9144 (universal-argument-minus): Remove.
9145 (universal-argument-other-key): Remove.
9147 * subr.el (with-demoted-errors): Add `format' argument.
9149 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9151 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9152 `tramp-cleanup-connection'.
9154 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9155 parameters KEEP-DEBUG and KEEP-PASSWORD.
9157 * net/tramp.el (tramp-file-name-handler):
9158 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9159 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9160 (tramp-maybe-open-connection):
9161 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9162 Use `tramp-cleanup-connection'.
9164 * net/tramp-sh.el (tramp-maybe-open-connection):
9165 Catch 'uname-changed inside the progress reporter.
9167 2013-09-10 Glenn Morris <rgm@gnu.org>
9169 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9171 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9172 returns "alternate access method" in mode (eg "-rw-r--r--.").
9174 2013-09-08 Glenn Morris <rgm@gnu.org>
9176 * saveplace.el (load-save-place-alist-from-file):
9177 Demote errors. (Bug#15305)
9179 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9181 Improve compatibility with older Emacsen, and XEmacs.
9183 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9184 only if it is bound. It isn't for XEmacs.
9185 (with-tramp-progress-reporter): Do not let-bind `result'.
9186 This yields to scoping errors in XEmacs.
9187 (tramp-handle-make-auto-save-file-name): New function, moved from
9190 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9191 for `make-auto-save-file-name'.
9192 (tramp-adb--gnu-switches-to-ash):
9193 Use `tramp-compat-replace-regexp-in-string'.
9195 * net/tramp-cache.el (tramp-cache-print): Call
9196 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9198 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9199 bound. It isn't for XEmacs.
9201 * net/tramp-compat.el (tramp-compat-copy-file):
9202 Catch `wrong-number-of-arguments' error.
9203 (tramp-compat-replace-regexp-in-string): New defun.
9205 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9206 for `make-auto-save-file-name'.
9207 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9209 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9210 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9211 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9213 * net/tramp-gw.el (tramp-gw-open-network-stream):
9214 Use `tramp-compat-replace-regexp-in-string'.
9216 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9217 Call `tramp-handle-make-auto-save-file-name'.
9218 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9219 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9220 (tramp-sh-file-inotifywait-process-filter):
9221 Use `tramp-compat-replace-regexp-in-string'.
9222 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9224 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9225 for `make-auto-save-file-name'.
9226 (tramp-smb-handle-copy-directory):
9227 Call `tramp-compat-replace-regexp-in-string'.
9228 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9229 (tramp-smb-handle-copy-file): Improve error message.
9230 (tramp-smb-handle-rename-file): Rename directly only in case
9231 `newname' does not exist yet. This is a restriction of smbclient.
9232 (tramp-smb-maybe-open-connection): Rerun the function only when
9233 `auth-sources' is non-nil.
9235 2013-09-08 Kenichi Handa <handa@gnu.org>
9237 * international/characters.el: Set category "^" (Combining) for
9240 2013-09-07 Alan Mackenzie <acm@muc.de>
9242 Correctly fontify Java class constructors.
9243 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9245 (c-recognize-typeless-decls): Set the Java value to t.
9246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9247 While handling a "(", add a check for, effectively, Java, and handle a
9248 "typeless" declaration there.
9250 2013-09-07 Roland Winkler <winkler@gnu.org>
9252 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9253 field subtitle for entry type book.
9255 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * minibuffer.el: Make minibuffer-complete call completion-in-region
9258 rather than other way around.
9259 (completion--some, completion-pcm--find-all-completions):
9260 Don't delay signals when debugging.
9261 (minibuffer-completion-contents): Beware fields within the
9262 minibuffer contents.
9263 (completion-all-sorted-completions): Use defvar-local.
9264 (completion--do-completion, completion--cache-all-sorted-completions)
9265 (completion-all-sorted-completions, minibuffer-force-complete):
9266 Add args `beg' and `end'.
9267 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9268 (minibuffer-complete): Use completion-in-region.
9269 (completion-complete-and-exit): New fun, extracted from
9270 minibuffer-complete-and-exit.
9271 (minibuffer-complete-and-exit): Use it.
9272 (completion--complete-and-exit): Rename from
9273 minibuffer--complete-and-exit.
9274 (completion-in-region--single-word): New function, extracted from
9275 minibuffer-complete-word.
9276 (minibuffer-complete-word): Use it.
9277 (display-completion-list): Make `common-substring' argument obsolete.
9278 (completion--in-region): Call completion--in-region-1 instead of
9279 minibuffer-complete.
9280 (completion-help-at-point): Pass boundaries to
9281 minibuffer-completion-help as args rather than via an overlay.
9282 (completion-pcm--string->pattern): Use `any-delim'.
9283 (completion-pcm--optimize-pattern): New function.
9284 (completion-pcm--pattern->regex): Handle `any-delim'.
9285 * icomplete.el (icomplete-forward-completions)
9286 (icomplete-backward-completions, icomplete-completions):
9287 Adjust calls to completion-all-sorted-completions and
9288 completion--cache-all-sorted-completions.
9289 (icomplete-with-completion-tables): Default to t.
9290 * emacs-lisp/crm.el (crm--current-element): Rename from
9291 crm--select-current-element. Don't put an overlay but return the
9293 (crm--completion-command): Take two new args to bind to the boundaries.
9294 (crm-completion-help): Adjust accordingly.
9295 (crm-complete): Use completion-in-region.
9296 (crm-complete-word): Use completion-in-region--single-word.
9297 (crm-complete-and-exit): Use completion-complete-and-exit.
9299 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9301 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9304 2013-09-06 Juri Linkov <juri@jurta.org>
9306 * info.el (Info-display-images-node): When image file doesn't exist
9307 display text version of the image if it's provided in the Info file.
9308 Otherwise, display the location of missing image from SRC attribute.
9309 Add help-echo text property from ALT attribute. (Bug#15279)
9311 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9313 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9314 (edit-abbrevs-mode): Use define-derived-mode.
9316 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9317 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9319 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9320 Use define-derived-mode.
9322 * epg.el (epg-start-encrypt): Minor CSE simplification.
9324 2013-09-06 William Xu <william.xwl@gmail.com>
9326 * arc-mode.el: Add support for 7za (bug#15264).
9327 (archive-7z-program): New var.
9328 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9329 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9330 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9332 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9336 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9337 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9338 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9339 (tramp-postfix-host-format, tramp-file-name-regexp)
9340 (tramp-completion-file-name-regexp)
9341 (tramp-completion-dissect-file-name)
9342 (tramp-handle-substitute-in-file-name): Remove 'url case.
9343 (tramp-file-name-regexp-url)
9344 (tramp-completion-file-name-regexp-url): Remove constants.
9346 2013-09-06 Glenn Morris <rgm@gnu.org>
9348 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9350 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9352 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9353 keywords" below "here-doc beginnings" (Bug#15270).
9355 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9357 * subr.el (pop): Use `car-safe'.
9358 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9359 to detect unused `pop' return value.
9361 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9363 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9364 (python-fill-string): Remove unused var `marker'.
9365 (python-skeleton-add-menu-items): Remove unused var `items'.
9367 * international/mule-cmds.el: Require CL.
9368 (find-coding-systems-for-charsets): Avoid add-to-list.
9369 (sanitize-coding-system-list): New function, extracted from
9370 select-safe-coding-system-interactively.
9371 (select-safe-coding-system-interactively): Use it.
9372 (read-input-method-name): Accept symbols for `default'.
9374 * emacs-lisp/advice.el (defadvice): Add indent rule.
9376 2013-09-05 Daniel Hackney <dan@haxney.org>
9380 * net/browse-url.el:
9383 * net/eudcb-ldap.el:
9396 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9397 byte compiler. Remove some unused let-bound variables.
9399 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9401 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9402 a "ref-cell", since it gets better optimized (bug#14883).
9404 2013-09-05 Glenn Morris <rgm@gnu.org>
9406 * progmodes/cc-awk.el (c-forward-sws): Declare.
9408 2013-09-04 Glenn Morris <rgm@gnu.org>
9410 * generic-x.el [rul-generic-mode]: Require cc-mode.
9411 (c++-mode-syntax-table): Declare.
9412 (rul-generic-mode-syntax-table): Init in the defvar.
9414 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9417 (vc-do-command, vc-set-async-update):
9418 * vc/vc-mtn.el (vc-mtn-dir-status):
9419 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9420 (vc-hg-pull, vc-hg-merge-branch):
9421 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9422 (vc-git-merge-branch):
9423 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9424 (vc-cvs-dir-status-files):
9425 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9426 (vc-bzr-dir-status-files):
9427 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9428 * vc/vc-annotate.el: Use lexical-binding.
9429 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9430 (vc-sentinel-movepoint): Declare.
9431 (vc-annotate): Don't use `goto-line'.
9432 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9433 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9434 (vc-sentinel-movepoint): Declare.
9435 * vc/vc-svn.el: Use lexical-binding.
9436 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9438 * vc/vc-rcs.el: Use lexical-binding.
9440 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9441 `deleted'. Don't drop errors silently.
9443 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9445 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9447 * vc/vc.el (vc-ignore): Rewrite.
9448 (vc-default-ignore): New function.
9449 (vc-default-ignore-completion-table): Use find-ignore-file.
9451 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9452 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9453 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9454 Remove. Most code moved to vc.el.
9456 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9458 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9459 * net/tramp-smb.el (tramp-smb-get-file-entries):
9460 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9461 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9463 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9465 (eww-change-select): Remove unused var `properties'.
9466 (eww-make-unique-file-name): Remove unused var `base'.
9468 * finder.el (finder-compile-keywords): Don't mess with windows.
9470 * calculator.el (calculator-funcall): Fix typo in last change.
9472 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9474 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9475 <pkg>-autoloads.el file stop us.
9477 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9478 warnings, and factor out common code.
9480 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9482 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9483 two-character operators and whether the character preceding them
9484 changes their meaning (Bug#15208).
9486 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9488 Format code sent to Python shell for robustness.
9489 * progmodes/python.el (python-shell-buffer-substring):
9491 (python-shell-send-region, python-shell-send-buffer): Use it.
9493 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9495 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9496 * net/tramp.el (tramp-user-error): ... here.
9497 (tramp-find-method, tramp-check-proper-host)
9498 (tramp-dissect-file-name, tramp-debug-message)
9499 (tramp-handle-shell-command):
9500 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9501 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9503 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9505 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9507 * avoid.el (mouse-avoidance-point-position)
9508 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9511 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9513 * progmodes/python.el (python-shell-completion-get-completions):
9514 Drop use of deleted `comint-last-prompt-overlay'.
9515 (python-nav-if-name-main): New command.
9517 2013-09-01 Glenn Morris <rgm@gnu.org>
9519 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9520 Avoid leading space in $wins. Otherwise the sed command used by
9521 eg compile-main ends up containing "/*.el". (Bug#15170)
9523 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9525 2013-08-30 Glenn Morris <rgm@gnu.org>
9527 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9528 Fix is-this-a-directory logic. (Bug#15220)
9530 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * textmodes/css-mode.el: Use SMIE.
9533 (css-smie-grammar): New var.
9534 (css-smie--forward-token, css-smie--backward-token)
9535 (css-smie-rules): New functions.
9536 (css-mode): Use them.
9537 (css-navigation-syntax-table): Remove var.
9538 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9539 (css-indent-calculate, css-indent-line): Remove functions.
9541 Misc changes to reduce use of `(lambda...); and other cleanups.
9542 * cus-edit.el: Use lexical-binding.
9543 (customize-push-and-save, customize-apropos)
9544 (custom-buffer-create-internal): Use closures.
9545 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9546 * progmodes/ada-xref.el: Use setq.
9547 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9548 * dframe.el: Use lexical-binding.
9549 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9550 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9551 * descr-text.el: Use lexical-binding.
9552 (describe-text-widget, describe-text-sexp, describe-property-list):
9554 * comint.el (comint-history-isearch-push-state): Use a closure.
9555 * calculator.el: Use lexical-binding.
9556 (calculator-number-to-string): Make it work with lexical-binding.
9557 (calculator-funcall): Same and use cl-letf.
9559 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9560 (lisp--company-doc-string, lisp--company-location): New functions.
9561 (lisp-completion-at-point): Use them to improve Company support.
9563 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9564 params of lambda expressions.
9565 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9566 (ruby-smie--opening-pipe-p): New function.
9567 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9568 symbols and matched |...| for formal params.
9569 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9570 from being treated as hanging. Handle "rescue".
9572 2013-08-29 Glenn Morris <rgm@gnu.org>
9574 * progmodes/cc-engine.el (c-pull-open-brace):
9575 Move definition before use.
9577 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9579 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9580 are immutable. Don't use `unsafe' any more.
9581 (cl--defsubst-expand): Don't substitute at the same time as keeping
9582 a residual unused let-binding. Don't use `unsafe' any more.
9584 2013-08-29 Glenn Morris <rgm@gnu.org>
9586 * calendar/cal-china.el (calendar-chinese-year-cache):
9589 * nxml/nxml-util.el (nxml-debug-clear-inside):
9590 Use cl-loop rather than loop.
9592 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9594 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9596 2013-08-28 Glenn Morris <rgm@gnu.org>
9598 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9600 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9602 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9604 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9606 * simple.el (repeat-complex-command--called-interactively-skip):
9608 (repeat-complex-command): Use it (bug#14136).
9610 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9611 (c-define-abbrev-table): Add `doc' argument.
9612 (c-mode-abbrev-table, c++-mode-abbrev-table)
9613 (objc-mode-abbrev-table, java-mode-abbrev-table)
9614 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9615 (awk-mode-abbrev-table): Use it.
9616 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9617 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9618 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9619 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9620 Move initialization into the declaration; and remove any
9623 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9624 and dynamic let binding.
9626 * vc/smerge-mode.el: Remove redundant :group args.
9628 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9631 2013-08-28 Juri Linkov <juri@jurta.org>
9633 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9634 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9635 (isearch-other-meta-char): Handle an undefined shifted printing
9636 character by downshifting it. (Bug#15200)
9638 2013-08-28 Juri Linkov <juri@jurta.org>
9640 * isearch.el (isearch-search): Change regexp error message for
9641 non-regexp searches. (Bug#15166)
9643 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9645 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9646 for portability to hosts where /bin/sh has problems.
9648 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9650 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9652 2013-08-27 Juri Linkov <juri@jurta.org>
9654 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9655 in the keyboard macro. (Bug#15126)
9657 2013-08-27 Juri Linkov <juri@jurta.org>
9659 * isearch.el (isearch-quote-char): Comment out converting unibyte
9660 to multibyte, thus syncing with its `quoted-insert' counterpart.
9663 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9665 * window.el (display-buffer-use-some-window): Add missing
9666 argument in call of get-largest-window (Bug#15185).
9667 Reported by Stephen Leake.
9669 2013-08-27 Glenn Morris <rgm@gnu.org>
9671 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9673 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9675 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9676 from a matcher-function unless there's no more matches (bug#15161).
9678 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9680 * minibuffer.el: Revert change from 2013-08-20.
9682 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9683 with text property `tramp-default', if appropriate.
9684 (tramp-check-proper-host): New defun.
9685 (tramp-dissect-file-name): Do not check hostname. Revert change
9687 (tramp-backtrace): Make VEC-OR-PROC optional.
9689 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9690 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9691 * net/tramp-sh.el (tramp-maybe-open-connection):
9692 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9693 Apply `tramp-check-proper-host'.
9695 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9697 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9698 lambda expression in order to have `describe-variable' display it.
9700 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9702 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9703 BUF can be optional. (Bug#15186)
9705 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9707 * progmodes/flymake.el (flymake-get-real-file-name-function):
9708 Fix broken customization. (Bug#15184)
9710 2013-08-25 Alan Mackenzie <acm@muc.de>
9712 Improve indentation of bracelists defined by macros (without "=").
9714 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9715 expansion begins with "{", regard it as bracelist when it doesn't
9718 Parse C++ inher-intro when there's a template split over 2 lines.
9720 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9721 rigorously the search for "class" etc. followed by ":".
9723 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9724 random languages a regexp which never matches rather than nil.
9726 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9728 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9729 (c-awk-regexp-one-line-possibly-open-char-list-re)
9730 (c-awk-one-line-possibly-open-regexp-re)
9731 (c-awk-one-line-non-syn-ws*-re): Remove.
9732 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9733 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9734 (c-awk-space*-unclosed-regexp-/-re): New constants.
9735 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9736 aren't regexp delimiters.
9738 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9739 handling for a rare situation in AWK Mode involving unterminated
9742 2013-08-23 Glenn Morris <rgm@gnu.org>
9744 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9746 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9748 * files.el (create-file-buffer): If the result would begin with
9749 spaces, prepend a "|" instead of removing them. (Bug#15162)
9751 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9753 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9754 text-properties (bug#15155).
9756 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9758 (calc-keypad-redraw): Remove unused var `pad'.
9759 (calc-keypad-press): Remove unused var `menu'.
9761 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9763 * window.el (display-buffer-pop-up-frame):
9764 Call pop-up-frame-function with BUFFER current so `make-frame' will
9765 use it as the new frame's buffer (Bug#15133).
9767 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * calendar/timeclock.el: Minor cleanups.
9770 (timeclock-ask-before-exiting, timeclock-use-display-time):
9772 (timeclock-modeline-display): Define as alias before the
9774 (timeclock-mode-line-display): Use define-minor-mode.
9775 (timeclock-day-list-template): Make it a function, add an argument.
9776 (timeclock-day-list-required, timeclock-day-list-length)
9777 (timeclock-day-list-debt, timeclock-day-list-span)
9778 (timeclock-day-list-break): Adjust calls accordingly.
9780 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9782 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9783 Use read--expression so that completion works again.
9785 2013-08-21 Sam Steingold <sds@gnu.org>
9787 Add rudimentary inferior shell interaction
9788 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9789 (sh-set-shell): Reset it.
9790 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9791 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9793 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * align.el: Use lexical-binding.
9796 (align-region): Simplify accordingly.
9798 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9800 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9802 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9805 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9809 * net/tramp-cmds.el:
9811 * net/tramp-gvfs.el:
9813 * net/tramp-sh.el: Don't wrap external variable declarations by
9814 `eval-when-compile'.
9816 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9819 now that Emacs supports ImageMagick animations.
9821 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9823 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9824 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9826 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9828 * window.el (mouse-autoselect-window-select): Do autoselect when
9829 mouse pointer is on margin.
9831 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9833 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9835 2013-08-16 Glenn Morris <rgm@gnu.org>
9837 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9838 Handle "Remote Directory" response of some clients. (Bug#15058)
9840 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9841 Tweak warning. (Bug#14926)
9843 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9844 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9846 * image-mode.el (image-mode-map): Add menu items to reverse,
9847 increase, decrease, reset animation speed.
9848 (image--set-speed, image-increase-speed, image-decrease-speed)
9849 (image-reverse-speed, image-reset-speed): New functions.
9850 (image-mode-map): Add bindings for speed commands.
9852 * image.el (image-animate-get-speed, image-animate-set-speed):
9854 (image-animate-timeout): Respect image :speed property.
9856 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9858 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9859 previous line (bug#15101).
9860 (debugger-eval-expression, debugger-record-expression):
9861 Use read--expression (bug#15102).
9863 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9865 Remove byte compiler warnings, visible when compiling with
9866 `byte-compile-force-lexical-warnings' set to t.
9868 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9869 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9870 (tramp-handle-unhandled-file-name-directory)
9871 (tramp-handle-file-notify-add-watch, tramp-action-login)
9872 (tramp-action-succeed, tramp-action-permission-denied)
9873 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9876 * net/tramp-adb.el (tramp-adb-parse-device-names)
9877 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9878 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9879 (tramp-adb-handle-file-truename): Remove unused arguments.
9881 * net/tramp-cache.el (tramp-flush-directory-property)
9882 (tramp-flush-connection-property, tramp-list-connections)
9883 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9885 * net/tramp-compat.el (tramp-compat-make-temp-file):
9886 Rename FILENAME to F.
9888 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9889 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9890 (tramp-zeroconf-parse-workstation-device-names)
9891 (tramp-zeroconf-parse-webdav-device-names)
9892 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9894 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9895 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9897 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9899 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9900 (tramp-sh-handle-insert-file-contents-literally)
9901 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9903 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9904 Remove unused variables.
9906 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9907 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9908 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9910 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9911 Make them a defconst.
9912 (tramp-uuencode-region): Remove unused variable.
9914 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9916 * frameset.el (frameset--prop-setter): New function.
9917 (frameset-prop): Add gv-setter declaration.
9918 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9919 parameter was already set in FILTERED. Doc fix.
9920 (frameset--record-minibuffer-relationships): Allow saving a
9921 minibufferless frame without its corresponding minibuffer frame.
9922 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9923 frame, if the frame id matches.
9924 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9925 frames before orphaned ones.
9926 (frameset-restore): Warn about orphaned windows, instead of error out.
9928 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9930 * window.el (window-make-atom): Don't overwrite parameter
9932 (display-buffer-in-atom-window): Handle special case where we
9933 split an already atomic window.
9934 (window--major-non-side-window, display-buffer-in-side-window)
9935 (window--side-check): Ignore minibuffer window when walking
9937 (window-deletable-p): Return 'frame only if no other frame uses
9938 our minibuffer window.
9939 (record-window-buffer): Run buffer-list-update-hook.
9940 (split-window): Make sure window--check-frame won't destroy an
9941 existing atomic window in case the new window gets nested
9943 (display-buffer-at-bottom): Ignore minibuffer window when
9944 walking window tree. Don't split a side window.
9945 (pop-to-buffer): Don't set-buffer here, the select-window call
9947 (mouse-autoselect-window-select): Autoselect only if we are in the
9948 text portion of the window.
9950 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9952 * net/shr.el (shr-parse-image-data): New function to grab both the
9953 data itself and the Content-Type.
9954 (shr-put-image): Use it.
9956 * net/eww.el (eww-display-image): Ditto.
9958 * image.el (image-content-type-suffixes): New variable.
9960 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9962 * progmodes/python.el (python-imenu--build-tree)
9963 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9965 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9967 * simple.el (backward-word): Mention the optional argument.
9969 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9971 * frameset.el (frameset--make): Rename constructor from make-frameset.
9972 (frameset-p, frameset-valid-p): Don't autoload.
9973 (frameset-valid-p): Use normal accessors.
9975 2013-08-13 Glenn Morris <rgm@gnu.org>
9977 * progmodes/compile.el (compile-command): Tweak example in doc.
9978 * obsolete/scribe.el (scribe-mode):
9979 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9981 * mail/feedmail.el (feedmail-confirm-outgoing)
9982 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9984 * cus-start.el (truncate-partial-width-windows): Fix type.
9986 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9988 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9990 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9992 * emacs-lisp/timer.el (timer--time-setter): New function.
9993 (timer--time): Use it as gv-setter.
9995 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9996 setter is not a symbol.
9998 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10000 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10001 if sending fails. This makes debugging easier.
10003 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10005 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10006 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10007 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10009 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10011 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10013 2013-08-12 Glenn Morris <rgm@gnu.org>
10015 * format.el (format-annotate-function):
10016 Handle read-only text properties in the source. (Bug#14887)
10018 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10020 * net/eww.el (eww-display-html): Ignore coding system errors.
10021 One web site uses "utf-8lias" as the coding system.
10023 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10025 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10027 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10029 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10030 (tutorial--detailed-help): Remove unused local variables.
10031 (tutorial--save-tutorial-to): Use ignore-errors.
10032 (help-with-tutorial): Use looking-at-p.
10034 * view.el (view-buffer-other-window, view-buffer-other-frame):
10035 Mark unused arguments.
10037 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10038 (woman-select-symbol-fonts, woman, woman-find-file)
10039 (woman-insert-file-contents, woman-non-underline-faces):
10040 Use string-match-p.
10041 (woman1-unquote): Move declaration.
10043 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10044 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10045 argument. Remove unused local variable.
10046 (xml-parse-elem-type): Use string-match-p.
10047 (xml-substitute-numeric-entities): Use ignore-errors.
10049 * calculator.el (calculator): Mark unused argument.
10050 (calculator-paste, calculator-quit, calculator-integer-p):
10052 (calculator-string-to-number, calculator-decimal, calculator-exp)
10053 (calculator-op-or-exp): Use string-match-p.
10055 * dired.el (dired-buffer-more-recently-used-p): Declare.
10056 (dired-insert-set-properties, dired-insert-old-subdirs):
10059 * dired-aux.el (dired-compress): Use ignore-errors.
10060 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10061 (dired-do-async-shell-command, dired-do-shell-command)
10062 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10063 (dired-insert-subdir-validate): Use string-match-p.
10064 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10065 (dired-add-entry): Use string-match-p, looking-at-p.
10066 (dired-insert-subdir-newpos): Remove unused local variable.
10068 * filenotify.el (file-notify-callback): Remove unused local variable.
10070 * filesets.el (filesets-error): Mark unused argument.
10071 (filesets-which-command-p, filesets-filter-dir-names)
10072 (filesets-directory-files, filesets-get-external-viewer)
10073 (filesets-ingroup-get-data): Use string-match-p.
10075 * find-file.el (ff-other-file-name, ff-other-file-name)
10076 (ff-find-the-other-file, ff-cc-hh-converter):
10077 Remove unused local variables.
10078 (ff-get-file-name): Use string-match-p.
10079 (ff-all-dirs-under): Use ignore-errors.
10081 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10082 (follow-select-if-visible): Remove unused local variable.
10084 * forms.el (read-file-filter): Move declaration.
10085 (forms--make-format, forms--make-parser, forms-insert-record):
10086 Quote function with #'.
10087 (forms--update): Use string-match-p. Quote function with #'.
10089 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10090 (help-make-xrefs): Use looking-at-p.
10091 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10093 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10094 (ibuffer-confirm-operation-on): Use string-match-p.
10096 * msb.el (msb-item-handler, msb-dired-item-handler):
10097 Mark unused arguments.
10099 * ses.el (ses-decode-cell-symbol)
10100 (ses-kill-override): Remove unused local variable.
10101 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10102 (ses-load): Use ignore-errors, looking-at-p.
10103 (ses-jump-safe): Use ignore-errors.
10104 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10106 * tabify.el (untabify, tabify): Mark unused arguments.
10108 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10109 Mark unused argument.
10110 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10111 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10113 * emacs-lisp/timer.el (timer--time): Define setter with
10114 gv-define-setter to avoid deprecation warning.
10116 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10117 (*record-cmpl-statistics-p*): Remove (was commented out).
10118 (cmpl-statistics-block): Remove (body was commented out).
10119 All callers changed.
10120 (add-completions-from-buffer, load-completions-from-file):
10121 Remove unused variables.
10123 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10125 * filecache.el (file-cache-delete-file-list):
10126 Print message only when told so.
10127 (file-cache-files-matching): Use #' in mapconcat argument.
10129 * ffap.el (ffap-url-at-point): Fix reference to variable
10130 thing-at-point-default-mail-uri-scheme.
10132 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * subr.el (define-error): New function.
10135 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10136 error-file-not-found and define with define-error.
10137 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10138 and define with define-error.
10139 * userlock.el (file-locked, file-supersession):
10140 * simple.el (mark-inactive):
10141 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10142 * progmodes/ada-mode.el (ada-mode-errors):
10143 * play/life.el (life-extinct):
10144 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10145 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10146 * nxml/rng-util.el (rng-error):
10147 * nxml/rng-uri.el (rng-uri-error):
10148 * nxml/rng-match.el (rng-compile-error):
10149 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10150 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10151 * nxml/nxml-rap.el (nxml-scan-error):
10152 * nxml/nxml-outln.el (nxml-outline-error):
10153 * net/soap-client.el (soap-error):
10154 * net/gnutls.el (gnutls-error):
10155 * net/ange-ftp.el (ftp-error):
10156 * mpc.el (mpc-proc-error):
10157 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10158 (json-number-format, json-string-escape, json-string-format)
10159 (json-key-format, json-object-format):
10160 * jka-compr.el (compression-error):
10161 * international/quail.el (quail-error):
10162 * international/kkc.el (kkc-error):
10163 * emacs-lisp/ert.el (ert-test-failed):
10164 * calc/calc.el (calc-error, inexact-result, math-overflow)
10166 * bookmark.el (bookmark-error-no-filename):
10167 * epg.el (epg-error): Define with define-error.
10169 * time.el (display-time-event-handler)
10170 (display-time-next-load-average): Don't call sit-for since it seems
10171 unnecessary (bug#15045).
10173 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10174 Use #' instead of ' to quote functions.
10175 (checkdoc-output-mode): Use setq-local.
10176 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10177 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10178 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10179 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10180 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10181 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10182 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10183 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10185 * ido.el (ido-completion-help): Fix up compiler warning.
10187 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10189 * frameset.el (frameset-p): Add autoload cookie.
10190 (frameset--jump-to-register): New function, based on code moved from
10192 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10194 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10195 (frameset-restore, frameset-save, frameset-session-filter-alist):
10196 Remove declarations.
10197 (register-alist): Doc fix.
10198 (frameset-to-register): Move to frameset.el.
10199 (jump-to-register, describe-register-1): Remove frameset-specific code.
10201 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10203 * allout-widgets.el (allout-widgets-pre-command-business)
10204 (allout-widgets-post-command-business)
10205 (allout-widgets-after-change-handler)
10206 (allout-decorate-item-and-context, allout-set-boundary-marker)
10207 (allout-body-modification-handler)
10208 (allout-graphics-modification-handler): Mark ignored arguments.
10209 (allout-widgets-post-command-business)
10210 (allout-widgets-exposure-change-processor)
10211 (allout-widgets-exposure-undo-processor)
10212 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10213 (allout-parse-item-at-point, allout-decorate-item-guides)
10214 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10215 * allout.el (epa-passphrase-callback-function): Declare.
10216 (allout-overlay-insert-in-front-handler)
10217 (allout-overlay-interior-modification-handler)
10218 (allout-isearch-end-handler, allout-chart-siblings)
10219 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10220 (allout-yank-processing, allout-process-exposed)
10221 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10222 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10223 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10224 (lisp-indent-defform): Mark ignored arguments.
10225 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10226 (calculate-lisp-indent): Remove unused variables.
10227 * international/characters.el (indian-2-column, arabic-2-column)
10228 (tibetan): Mark ignored arguments.
10229 (use-cjk-char-width-table): Mark ignored arguments.
10230 Remove unused variables.
10231 * international/fontset.el (build-default-fontset-data)
10232 (x-compose-font-name, create-fontset-from-fontset-spec):
10233 Mark ignored arguments.
10234 (fontset-plain-name): Remove unused variables.
10235 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10236 (keyboard-coding-system): Mark ignored arguments.
10237 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10238 * help.el (resize-temp-buffer-window):
10239 * window.el (display-buffer-in-major-side-window)
10240 (display-buffer-in-side-window, display-buffer-in-previous-window):
10241 Remove unused variables.
10242 * isearch.el (isearch-forward-symbol):
10243 * version.el (emacs-bzr-version-bzr):
10244 * international/mule-cmds.el (current-language-environment):
10245 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10246 (x-handle-display):
10247 * term/pc-win.el (x-list-fonts, x-display-planes)
10248 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10249 (x-server-version, x-display-screens, x-display-mm-height)
10250 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10251 (x-selection-owner-p, x-own-selection-internal)
10252 (x-disown-selection-internal, x-get-selection-internal)
10253 (msdos-initialize-window-system):
10254 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10255 * term/x-win.el (x-handle-no-bitmap-icon):
10256 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10257 (vc-default-find-file-hook, vc-default-extra-menu):
10258 Mark ignored arguments.
10260 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10262 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10263 break-condition in the context of the debugged code (bug#12685).
10265 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10268 Do not use an overlay to highlight the last prompt. (Bug#14744)
10269 (comint-mode): Make comint-last-prompt buffer local.
10270 (comint-last-prompt): New variable.
10271 (comint-last-prompt-overlay): Remove. Superseded by
10272 comint-last-prompt.
10273 (comint-snapshot-last-prompt, comint-output-filter):
10274 Use comint-last-prompt.
10276 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10278 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10279 (frameset-save): Check validity of the resulting frameset.
10281 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10283 * ido.el (ido-record-command): Add doc string.
10285 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10287 * frameset.el (frameset): Do not disable creation of the default
10288 frameset-p predicate. Doc fix.
10289 (frameset-valid-p): New function, copied from the old predicate-p.
10290 Add additional checks.
10291 (frameset-restore): Check with frameset-valid-p.
10292 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10293 (frameset-name, frameset-description, frameset-properties)
10294 (frameset-states): Add docstring.
10295 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10296 (frameset-filter-alist): Doc fixes.
10298 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10300 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10302 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10305 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10306 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10307 (byte-compile-normal-call): Remove obsolescence check.
10309 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10311 * frameset.el (frameset-restore): Doc fix.
10313 * register.el (frameset-frame-id, frameset-frame-with-id)
10314 (frameset-p, frameset-restore, frameset-save): Declare.
10315 (register-alist): Document framesets.
10316 (frameset-session-filter-alist): Declare.
10317 (frameset-to-register): New function.
10318 (jump-to-register): Implement jumping to framesets. Doc fix.
10319 (describe-register-1): Describe framesets.
10321 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10323 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10325 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10326 Use lexical-binding.
10328 * frameset.el (frameset): Use type vector, not list (incompatible
10329 change). Do not declare a new constructor, use the default one.
10330 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10331 `name' and `description', respectively, and add read-only slot
10332 `timestamp'. Doc fixes.
10333 (frameset-copy, frameset-persistent-filter-alist)
10334 (frameset-filter-alist, frameset-switch-to-gui-p)
10335 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10336 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10337 (frameset-filter-iconified, frameset-keep-original-display-p):
10339 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10340 Rename from frameset-filter-(save|restore)-param. All callers changed.
10342 (frameset-p): Adapt to change to vector and be more thorough.
10343 Change arg name to OBJECT. Doc fix.
10344 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10345 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10346 All callers changed.
10347 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10348 All callers changed.
10349 (frameset--record-minibuffer-relationships): Rename from
10350 frameset--process-minibuffer-frames. All callers changed.
10351 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10352 Use new default constructor (again). Doc fix.
10353 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10354 All callers changed.
10355 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10356 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10358 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10359 PARAMETERS and WINDOW-STATE, respectively.
10360 (frameset-restore): Add new keyword argument PREDICATE.
10361 Reset frameset--target-display to nil. Doc fix.
10363 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10366 (bat-mode): Use it.
10367 (bat-mode-syntax-table): Mark \n as end-of-comment.
10368 (bat-font-lock-keywords): Remove comment rule.
10370 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10371 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10373 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10374 (byte-compile-callargs-warn): Use `push'.
10375 (byte-compile-arglist-warn): Ignore higher-order "calls".
10376 (byte-compile-file-form-autoload): Use `pcase'.
10377 (byte-compile-function-form): If quoting a symbol, check that it exists.
10379 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10381 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10382 and add a few popular commands found in batch files.
10383 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10384 (dos-mode): Doc fixes.
10386 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10388 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10389 (dos-mode): Use setq-local. Add space after "rem".
10390 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10391 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10393 2013-08-07 Arni Magnusson <arnima@hafro.is>
10395 * progmodes/dos.el: New file.
10396 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10399 2013-08-06 Glenn Morris <rgm@gnu.org>
10401 * calendar/calendar.el: Add new faces, and day-header-array.
10402 (calendar-weekday-header, calendar-weekend-header)
10403 (calendar-month-header): New faces.
10404 (calendar-day-header-construct): New function.
10405 (calendar-day-header-width): Also :set calendar-day-header-array.
10406 (calendar-american-month-header, calendar-european-month-header)
10407 (calendar-iso-month-header): Use calendar- faces.
10408 (calendar-generate-month):
10409 Use calendar-day-header-array for day headers; apply faces to them.
10410 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10411 (calendar-abbrev-construct): Add optional maxlen argument.
10412 (calendar-day-name-array): Doc fix.
10413 (calendar-day-name-array, calendar-abbrev-length)
10414 (calendar-day-abbrev-array):
10415 Also :set calendar-day-header-array, and maybe redraw.
10416 (calendar-day-header-array): New option. (Bug#15007)
10417 (calendar-font-lock-keywords): Set to nil and make obsolete.
10418 (calendar-day-name): Add option to use header array.
10420 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10422 * net/shr.el (shr-render-td): Remove debugging.
10423 (shr-render-td): Make width computation consistent by defaulting
10424 all zero-width columns to 10 characters. This may not be optimal,
10425 but it's at least consistent.
10426 (shr-make-table-1): Redo last change to fix the real problem in
10429 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10431 * files.el (cache-long-line-scans):
10432 Make obsolete alias to `cache-long-scans'.
10434 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10436 * frameset.el (frameset, frameset-filter-alist)
10437 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10438 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10439 (frameset-compute-pos): Rename from frameset--compute-pos,
10441 (frameset-move-onscreen): Use frameset-compute-pos.
10442 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10444 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10445 Fix typos in docstrings.
10447 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10449 * frame.el (get-other-frame): Tiny cleanup.
10451 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10453 * vc/vc.el (vc-default-ignore-completion-table):
10454 Silence byte-compiler warning.
10456 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10457 slot, which can indeed be nil.
10458 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10459 Move entry for `left' from persistent to live filter alist.
10460 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10462 (frameset-filter-params): When restoring a frame, copy items added to
10463 `filtered', to avoid unwittingly modifying the original parameters.
10464 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10465 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10467 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10468 to use looking-at-p instead of looking-at. (Bug#15028)
10470 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10472 Revert introduction of isearch-filter-predicates (bug#14714).
10473 Rely on add-function instead.
10474 * isearch.el (isearch-filter-predicates): Rename it back to
10475 isearch-filter-predicate.
10476 (isearch-message-prefix): Use advice-function-mapc and advice
10477 properties to get the isearch-message-prefix.
10478 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10479 instead of run-hook-with-args-until-failure.
10480 (isearch-filter-visible): Not obsolete any more.
10481 * loadup.el: Preload nadvice.
10482 * replace.el (perform-replace): Revert to funcall
10483 instead of run-hook-with-args-until-failure.
10484 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10485 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10486 dired-isearch-filenames-toggle; make it into a proper minor mode.
10487 Use add/remove-function.
10488 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10489 Call the minor-mode rather than add/remove-hook.
10490 (dired-isearch-filter-filenames):
10491 Remove isearch-message-prefix property.
10492 * info.el (Info--search-loop): New function, extracted from Info-search.
10493 Funcall isearch-filter-predicate instead of
10494 run-hook-with-args-until-failure isearch-filter-predicates.
10495 (Info-search): Use it.
10496 (Info-mode): Use isearch-filter-predicate instead of
10497 isearch-filter-predicates.
10499 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10501 Do not call to `selected-window' where it is assumed by default.
10502 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10503 `window-hscroll', `window-width', `window-height', `window-buffer',
10504 `window-frame', `window-start', `window-point', `next-window'
10505 and `window-display-table'.
10506 * abbrev.el (abbrev--default-expand):
10507 * bs.el (bs--show-with-configuration):
10508 * buff-menu.el (Buffer-menu-mouse-select):
10509 * calc/calc.el (calc):
10510 * calendar/calendar.el (calendar-generate-window):
10511 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10512 (diary-make-entry):
10513 * comint.el (send-invisible, comint-dynamic-complete-filename)
10514 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10515 * completion.el (complete):
10516 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10517 * disp-table.el (describe-current-display-table):
10518 * doc-view.el (doc-view-insert-image):
10519 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10520 * ehelp.el (with-electric-help):
10521 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10522 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10523 * emacs-lisp/helper.el (Helper-help-scroller):
10524 * emulation/cua-base.el (cua--post-command-handler-1):
10525 * eshell/esh-mode.el (eshell-output-filter):
10526 * ffap.el (ffap-gnus-wrapper):
10527 * help-macro.el (make-help-screen):
10528 * hilit-chg.el (highlight-compare-buffers):
10529 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10530 * hl-line.el (global-hl-line-highlight):
10531 * icomplete.el (icomplete-simple-completing-p):
10532 * isearch.el (isearch-done):
10533 * jit-lock.el (jit-lock-stealth-fontify):
10534 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10535 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10536 * mpc.el (mpc-tagbrowser, mpc):
10537 * net/rcirc.el (rcirc-any-buffer):
10538 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10539 * play/landmark.el (landmark-max-width, landmark-max-height):
10540 * play/zone.el (zone):
10541 * progmodes/compile.el (compilation-goto-locus):
10542 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10543 * progmodes/etags.el (find-tag-other-window):
10544 * progmodes/fortran.el (fortran-column-ruler):
10545 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10546 * progmodes/verilog-mode.el (verilog-point-text):
10547 * reposition.el (reposition-window):
10548 * rot13.el (toggle-rot13-mode):
10549 * server.el (server-switch-buffer):
10550 * shell.el (shell-dynamic-complete-command)
10551 (shell-dynamic-complete-environment-variable):
10552 * simple.el (insert-buffer, set-selective-display)
10553 (delete-completion-window):
10554 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10555 (speedbar-recenter):
10556 * startup.el (fancy-splash-head):
10557 * textmodes/ispell.el (ispell-command-loop):
10558 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10559 * tutorial.el (help-with-tutorial):
10560 * vc/add-log.el (add-change-log-entry):
10561 * vc/compare-w.el (compare-windows):
10562 * vc/ediff-help.el (ediff-indent-help-message):
10563 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10564 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10565 (ediff-setup-control-frame):
10566 * vc/emerge.el (emerge-position-region):
10567 * vc/pcvs-util.el (cvs-bury-buffer):
10568 * window.el (walk-windows, mouse-autoselect-window-select):
10569 * winner.el (winner-set-conf, winner-undo): Related users changed.
10571 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10573 * frameset.el (frameset--set-id): Doc fix.
10574 (frameset-frame-id, frameset-frame-id-equal-p)
10575 (frameset-locate-frame-id): New functions.
10576 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10577 (frameset-restore): Use them.
10579 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10581 Do not call to `selected-frame' where it is assumed by default.
10582 Affected functions are `raise-frame', `redraw-frame',
10583 `frame-first-window', `frame-terminal' and `delete-frame'.
10584 * calendar/appt.el (appt-disp-window):
10585 * epg.el (epg-wait-for-completion):
10586 * follow.el (follow-delete-other-windows-and-split)
10587 (follow-avoid-tail-recenter):
10588 * international/mule.el (set-terminal-coding-system):
10589 * mail/rmail.el (rmail-mail-return):
10590 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10591 * progmodes/f90.el (f90-add-imenu-menu):
10592 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10593 * server.el (server-switch-buffer):
10594 * simple.el (delete-completion-window):
10596 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10597 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10598 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10599 * vc/ediff.el (ediff-documentation): Related users changed.
10600 * frame.el (selected-terminal): Remove the leftover.
10602 2013-08-05 Glenn Morris <rgm@gnu.org>
10604 * calendar/calendar.el (calendar-generate-month):
10605 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10606 (calendar-generate-month, calendar-font-lock-keywords):
10607 Fix for calendar-day-header-width > length of any day name.
10609 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10611 * desktop.el (desktop-clear): Use new name of sort predicate.
10613 * frameset.el (frameset): Add docstring. Move :version property to its
10614 own `version' slot.
10615 (frameset-copy): Rename from copy-frameset.
10616 (frameset-p): Check more thoroughly.
10617 (frameset-prop): Do not check for :version, which is no longer a prop.
10618 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10619 Use new :never value instead of t.
10620 (frameset-filter-alist): Expand and clarify docstring.
10621 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10622 (frameset-filter-minibuffer, frameset-filter-save-param)
10623 (frameset-filter-restore-param, frameset-filter-iconified):
10624 Add pointer to docstring of frameset-filter-alist.
10625 (frameset-filter-params): Rename filter values to be more meaningful:
10626 :never instead of t, and reverse the meanings of :save and :restore.
10627 (frameset--process-minibuffer-frames): Clarify error message.
10628 (frameset-save): Avoid unnecessary and confusing call to framep.
10629 Use new BOA constructor for framesets.
10630 (frameset--reuse-list): Doc fix.
10631 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10632 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10633 (frameset-minibufferless-first-p): Doc fix.
10634 Rename from frameset-sort-frames-for-deletion.
10635 (frameset-restore): Doc fixes. Use new function names.
10636 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10638 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10640 * desktop.el (desktop-restore-forces-onscreen)
10641 (desktop-restore-reuses-frames): Document :keyword constant values.
10642 (desktop-filter-parameters-alist): Remove, now identical to
10643 frameset-filter-alist.
10644 (desktop--filter-tty*): Remove, moved to frameset.el.
10645 (desktop-save-frameset, desktop-restore-frameset):
10646 Do not pass :filters argument.
10648 * frameset.el (frameset-live-filter-alist)
10649 (frameset-persistent-filter-alist): New variables.
10650 (frameset-filter-alist): Use them. Add autoload cookie.
10651 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10652 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10653 `frameset--id' (it's supposed to be internal to frameset.el).
10654 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10655 (frameset--initial-params): New function.
10656 (frameset--get-frame): Use it. Doc fix.
10657 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10658 Accept :all, not 'all.
10659 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10660 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10661 with fbound symbols. Fix frame id matching, and remove matching ids if
10662 the frame being restored is deleted. Obey :delete.
10664 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10666 * subr.el (macrop): New function.
10667 (text-clone--maintaining): New var.
10668 (text-clone--maintain): Rename from text-clone-maintain. Use it
10669 instead of inhibit-modification-hooks.
10671 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10672 a proxy, so as handle autoloads and redefinitions of the target.
10673 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10675 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10676 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10677 (pcase--mutually-exclusive-p): New function.
10678 (pcase--split-consp): Use it.
10679 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10680 mutually exclusive with the current predicate.
10682 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10683 (edebug-macrop): Remove. Use `macrop' instead.
10684 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10686 * eshell/esh-cmd.el (eshell-macrop):
10687 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10689 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10691 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10692 (advice-mapc): New function, using it.
10693 (advice-function-member-p): New function.
10694 (advice--normalize): Store the cdr in advice--saved-rewrite since
10695 that's the part that will be changed.
10696 (advice--symbol-function): New function.
10697 (advice-remove): Handle removal before the function is defined.
10698 Adjust to new advice--saved-rewrite.
10699 (advice-member-p): Use advice-function-member-p and
10700 advice--symbol-function.
10702 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10704 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10705 (frameset-filter-minibuffer): Doc fix.
10706 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10707 (frameset--set-id, frameset--process-minibuffer-frames)
10708 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10709 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10711 * desktop.el (desktop-clear): Only delete frames when called
10712 interactively and desktop-restore-frames is non-nil. Doc fix.
10713 (desktop-read): Set desktop-saved-frameset to nil.
10715 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10717 * vc/vc.el (vc-ignore): Rewrite.
10718 (vc-default-ignore-completion-table, vc--read-lines)
10719 (vc--add-line, vc--remove-regexp): New functions.
10721 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10722 (vc-svn-ignore-completion-table): New function.
10724 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10725 (vc-hg-ignore-completion-table)
10726 (vc-hg-find-ignore-file): New functions.
10728 * vc/vc-git.el (vc-git-ignore): Rewrite.
10729 (vc-git-ignore-completion-table)
10730 (vc-git-find-ignore-file): New functions.
10732 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10734 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10735 (vc-bzr-ignore-completion-table)
10736 (vc-bzr-find-ignore-file): New functions.
10738 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10740 * frameset.el (frameset-prop): New function and setter.
10741 (frameset-save): Do not modify frame list passed by the caller.
10743 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10745 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10747 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10749 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10750 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10752 * custom.el (custom-initialize-default, custom-initialize-set)
10753 (custom-initialize-reset, custom-initialize-changed): Affect the
10754 toplevel-default-value (bug#6275, bug#14586).
10755 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10758 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10760 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10761 Add cl-def* expressions.
10763 * frameset.el (frameset-filter-params): Fix order of arguments.
10765 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10767 Move code related to saving frames to frameset.el.
10768 * desktop.el: Require frameset.
10769 (desktop-restore-frames): Doc fix.
10770 (desktop-restore-reuses-frames): Rename from
10771 desktop-restoring-reuses-frames.
10772 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10773 (desktop-clear): Clear frames too.
10774 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10775 (desktop--filter-tty*, desktop-save, desktop-read):
10776 Use frameset functions.
10777 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10778 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10779 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10780 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10781 (desktop--process-minibuffer-frames, desktop-save-frames)
10782 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10783 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10784 (desktop--sort-states, desktop-restoring-frames-p)
10785 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10786 (desktop-restoring-frameset-p, desktop-restore-frameset)
10787 (desktop--check-dont-save, desktop-save-frameset): New functions.
10788 (desktop--app-id): New constant.
10789 (desktop-first-buffer, desktop-buffer-ok-count)
10790 (desktop-buffer-fail-count): Move before first use.
10791 * frameset.el: New file.
10793 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10795 * files.el: Use lexical-binding.
10796 (dir-locals-read-from-file): Remove unused `err' variable.
10797 (hack-dir-local-variables--warned-coding): New var.
10798 (hack-dir-local-variables): Use it to avoid repeated warnings.
10799 (make-backup-file-name--default-function): New function.
10800 (make-backup-file-name-function): Use it as default.
10801 (buffer-stale--default-function): New function.
10802 (buffer-stale-function): Use it as default.
10803 (revert-buffer-insert-file-contents--default-function): New function.
10804 (revert-buffer-insert-file-contents-function): Use it as default.
10805 (insert-directory): Avoid add-to-list.
10807 * autorevert.el (auto-revert-handler): Simplify.
10808 Use buffer-stale--default-function.
10810 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10812 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10814 * whitespace.el (whitespace-ensure-local-variables): New function.
10815 (whitespace-cleanup-region): Call it.
10816 (whitespace-turn-on): Call it.
10818 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10820 Complete file name handlers.
10822 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10823 (tramp-handle-verify-visited-file-modtime)
10824 (tramp-handle-file-notify-rm-watch): New functions.
10825 (tramp-call-process): Do not bind `default-directory'.
10827 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10828 Order alphabetically.
10829 <access-file, add-name-to-file, dired-call-process>:
10830 <dired-compress-file, file-acl, file-notify-rm-watch>:
10831 <file-ownership-preserved-p, file-selinux-context>:
10832 <make-directory-internal, make-symbolic-link, set-file-acl>:
10833 <set-file-selinux-context, set-visited-file-modtime>:
10834 <verify-visited-file-modtime>: Add handler.
10835 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10837 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10838 <file-notify-add-watch, file-notify-rm-watch>:
10839 <set-file-times, set-visited-file-modtime>:
10840 <verify-visited-file-modtime>: Add handler.
10841 (with-tramp-gvfs-error-message)
10842 (tramp-gvfs-handle-set-visited-file-modtime)
10843 (tramp-gvfs-fuse-file-name): Remove.
10844 (tramp-gvfs-handle-file-notify-add-watch)
10845 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10846 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10848 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10849 Order alphabetically.
10850 <file-notify-rm-watch>: Use default Tramp handler.
10851 <executable-find>: Remove private handler.
10852 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10853 `default-directory'.
10854 (tramp-sh-handle-executable-find)
10855 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10856 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10857 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10858 Do not use `format' in `tramp-message'.
10860 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10861 <file-notify-rm-watch, set-visited-file-modtime>:
10862 <verify-visited-file-modtime>: Add handler.
10863 (tramp-smb-call-winexe): Do not bind `default-directory'.
10865 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10867 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10869 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10871 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10873 (log-view-diff-changeset): Same.
10874 (log-view-diff-common): Call backend command `previous-revision'
10875 to find out the previous revision, in both cases. Swap the
10876 variables `to' and `fr', so that `fr' usually refers to the
10877 earlier revision (Bug#14989).
10879 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10881 * ibuf-ext.el (ibuffer-filter-by-filename):
10882 Make it work with dired buffers too.
10884 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10886 * emacs-lisp/re-builder.el (reb-color-display-p):
10887 * files.el (save-buffers-kill-terminal):
10888 * net/browse-url.el (browse-url):
10889 * server.el (server-save-buffers-kill-terminal):
10890 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10891 Prefer nil to selected-frame for the first arg of frame-parameter.
10893 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10895 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10897 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10899 * minibuffer.el (completion--twq-all): Try and preserve each
10900 completion's case choice (bug#14907).
10902 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10904 * net/network-stream.el (open-network-stream): Mention the new
10905 :nogreeting parameter.
10906 (network-stream-open-starttls): Use the :nogreeting parameter
10909 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10911 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10912 more natural than popping.
10914 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10915 (shr-urlify): Highlight under mouse.
10917 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10919 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10921 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10923 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10926 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10927 point-min==1. Fix search string. Fix parentheses missing.
10929 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10930 assume point-min==1. Fix search string. Fix parentheses missing.
10932 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10934 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10937 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10939 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10940 initial frame is minibuffer-less. (Bug#14841)
10942 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10944 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10947 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10948 (tramp-maybe-open-connection): Use it.
10950 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10952 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10953 minimal set of parameters passed when creating a frame, because
10954 the minibuffer status of a frame cannot be changed later.
10956 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10958 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10959 replace-regexp-in-string and inadvertent omissions in previous change.
10960 (todo-filter-items): Ensure only file names are comma-separated in
10961 name of filtered items buffer.
10963 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10965 * desktop.el: Optionally force offscreen frames back onscreen.
10966 (desktop-restoring-reuses-frames): New option.
10967 (desktop--compute-pos, desktop--move-onscreen): New functions.
10968 (desktop--make-frame): Use desktop--move-onscreen.
10970 2013-07-27 Alan Mackenzie <acm@muc.de>
10972 Fontify a Java generic method as a function.
10973 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10976 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10978 * calendar/todo-mode.el: Add command to rename todo files.
10979 (todo-rename-file): New command.
10980 (todo-key-bindings-t): Add key binding for it. Change the
10981 bindings of todo-filter-regexp-items(-multifile) to use `x'
10982 instead of `r', since the latter is better suited to the new
10985 2013-07-27 Alan Mackenzie <acm@muc.de>
10987 Make Java try-with-resources statement parse properly.
10988 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10989 (c-block-stmt-1-2-key): New language constants/variables.
10990 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10991 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10992 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10993 with c-block-stmt-1-2-key.
10995 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10997 * desktop.el (desktop--make-frame): Apply most frame parameters after
10998 creating the frame to force (partially or totally) offscreen frames to
10999 be restored as such.
11001 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11003 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11006 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11008 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11009 `base' arg of backtrace-frame.
11011 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11013 * simple.el (list-processes): Doc fix.
11015 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11017 * desktop.el (desktop--select-frame):
11018 Try harder to reuse existing frames.
11020 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11022 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11023 (edebug-eval): Use backtrace-eval.
11024 (edebug--display, edebug--recursive-edit): Don't let-bind the
11025 edebug-outer-* vars that keep track of variables we locally let-bind.
11026 (edebug-outside-excursion): Don't restore outside values of locally
11028 (edebug--display): Use user-error.
11029 (cl-lexical-debug, cl-debug-env): Remove.
11031 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11033 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11034 are restored to be sure that they are visible before deleting any
11037 2013-07-26 Matthias Meulien <orontee@gmail.com>
11039 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11040 vc-print-root-log. (Bug#14948)
11042 2013-07-26 Richard Stallman <rms@gnu.org>
11044 Add aliases for encrypting mail.
11045 * epa.el (epa-mail-aliases): New option.
11046 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11047 Bind inhibit-read-only so read-only text doesn't ruin everything.
11048 (epa-mail-default-recipients): New subroutine broken out.
11049 Handle epa-mail-aliases.
11051 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11053 Add support for lexical variables to the debugger's `e' command.
11054 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11055 vars, except for debugger-outer-match-data.
11056 (debugger-frame-number): Move check for "on a function call" from
11057 callers into it. Add `skip-base' argument.
11058 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11059 (debugger-env-macro): Only reset the state stored in non-variables,
11060 i.e. current-buffer and match-data.
11061 (debugger-eval-expression): Rewrite using backtrace-eval.
11062 * subr.el (internal--called-interactively-p--get-frame): Remove.
11063 (called-interactively-p):
11064 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11065 `base' arg of backtrace-frame instead.
11067 2013-07-26 Glenn Morris <rgm@gnu.org>
11069 * align.el (align-regexp): Doc fix. (Bug#14857)
11070 (align-region): Explicit error if subexpression missing/does not match.
11072 * simple.el (global-visual-line-mode):
11073 Do not duplicate the mode lighter. (Bug#14858)
11075 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11077 * window.el (display-buffer): In display-buffer bind
11078 split-window-keep-point to t, bug#14829.
11080 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11082 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11083 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11084 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11085 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11086 Change accordingly.
11087 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11088 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11090 2013-07-25 Glenn Morris <rgm@gnu.org>
11092 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11094 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11096 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11097 parameter to modify-frame-parameters if the value has not changed;
11098 this is a workaround for bug#14949.
11099 (desktop--make-frame): On cl-delete-if call, check parameter name,
11100 not full parameter.
11102 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11104 * vc/vc.el (vc-ignore): New function.
11106 * vc/vc-svn.el (vc-svn-ignore): New function.
11108 * vc/vc-hg.el (vc-hg-ignore): New function.
11110 * vc/vc-git.el (vc-git-ignore): New function.
11112 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11113 (vc-dir-ignore): New function.
11115 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11116 (cvs-append-to-ignore): Move here from pcvs.el.
11118 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11120 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11122 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11124 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11125 (desktop-restore-frames): Warn when deleting an existing frame failed.
11127 2013-07-24 Glenn Morris <rgm@gnu.org>
11129 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11131 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11133 * filenotify.el (file-notify-supported-p):
11134 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11137 * autorevert.el (auto-revert-use-notify)
11138 (auto-revert-notify-add-watch):
11139 * net/tramp.el (tramp-file-name-for-operation):
11140 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11141 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11142 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11143 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11144 Remove `file-notify-supported-p' entry.
11146 2013-07-24 Glenn Morris <rgm@gnu.org>
11148 * printing.el: Replace all uses of deleted ps-windows-system,
11149 ps-lp-system, ps-flatten-list with lpr- versions.
11151 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11153 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11154 checked with memq (bug#14935).
11156 * files.el (revert-buffer-function): Use a non-nil default.
11157 (revert-buffer-preserve-modes): Declare var to
11158 provide access to the `preserve-modes' argument.
11159 (revert-buffer): Let-bind it.
11160 (revert-buffer--default): New function, extracted from revert-buffer.
11162 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11164 * lpr.el: Signal print errors more prominently.
11165 (print-region-function): Don't default to nil.
11166 (lpr-print-region): New function, extracted from print-region-1.
11167 Check lpr's return value and signal an error in case of problem.
11168 (print-region-1): Use it.
11169 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11171 (ps-printer-name): Default to nil.
11172 (ps-printer-name-option): Default to lpr-printer-switch.
11173 (ps-print-region-function): Don't default to nil.
11174 (ps-postscript-code-directory): Simplify default.
11175 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11176 (ps-string-list, ps-eval-switch, ps-flatten-list)
11177 (ps-flatten-list-1): Remove.
11178 (ps-multibyte-buffer): Avoid setq.
11179 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11180 (print-region-function, ps-print-region-function): Don't set them here.
11182 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11184 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11185 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11186 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11187 (ido-decorations): Doc fix.
11189 * ansi-color.el: Fix old URL.
11191 2013-07-23 Michael R. Mauger <michael@mauger.com>
11193 * progmodes/sql.el: Version 3.3
11194 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11195 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11196 (sql-interactive-remove-continuation-prompt): Rewrite, use
11197 functions above. Fix continuation prompt and complete output line
11199 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11200 redirected output buffer.
11201 (sql-mode): Restore deleted code (Bug#13591).
11203 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11205 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11207 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11209 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11211 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11212 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11213 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11215 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11217 * desktop.el (desktop-clear): Simplify; remove useless checks
11218 against invalid buffer names.
11219 (desktop-list*): Use cl-list*.
11220 (desktop-buffer-info, desktop-create-buffer): Simplify.
11222 2013-07-23 Leo Liu <sdl.web@gmail.com>
11224 * bookmark.el (bookmark-make-record): Restore NAME as a default
11227 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11229 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11230 extracted from autoload--insert-text.
11231 (autoload--insert-text): Remove.
11232 (autoload--print-cookie-text): New function, extracted from
11233 autoload--insert-cookie-text.
11234 (autoload--insert-cookie-text): Remove.
11235 (autoload-generate-file-autoloads): Adjust calls accordingly.
11237 * winner.el (winner-hook-installed-p): Remove.
11238 (winner-mode): Simplify accordingly.
11240 * subr.el (add-to-list): Fix compiler-macro when `append' is
11241 not constant. Don't use `cl-member' for the base case.
11243 * progmodes/subword.el: Fix boundary case (bug#13758).
11244 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11246 (subword-backward-regexp): Make it a constant.
11247 (subword-forward-internal): Don't treat a trailing capital as the
11248 beginning of a word.
11250 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11252 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11253 global value of tabulated-list-revert-hook (bug#14930).
11255 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11257 * desktop.el: Require 'cl-lib.
11258 (desktop-before-saving-frames-functions): New hook.
11259 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11260 for frames being saved. Rename from desktop--save-minibuffer-frames.
11261 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11262 Do not save frames with non-nil `desktop-dont-save' parameter.
11263 Filter out deleted frames.
11264 (desktop--find-frame): Use cl-find-if.
11265 (desktop--select-frame): Use cl-(first|second|third) to access values
11267 (desktop--make-frame): Use cl-delete-if.
11268 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11269 (desktop-restore-frames): Use cl-(first|second|third) to access values
11270 of desktop-mini. Look for visible frame at the end, not while
11273 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11274 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11275 Use string-match-p, looking-at-p (bug#14927).
11277 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11279 * desktop.el (desktop-saved-frame-states):
11280 Rename from desktop--saved-states; all users changed.
11281 (desktop-save-frames): Rename from desktop--save-frames.
11282 Do not save state to desktop file.
11283 (desktop-save): Save desktop-saved-frame-states to desktop file
11285 (desktop-restoring-frames-p): New function.
11286 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11287 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11288 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11290 * desktop.el: Correctly restore iconified frames.
11291 (desktop--filter-iconified-position): New function.
11292 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11294 2013-07-20 Glenn Morris <rgm@gnu.org>
11296 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11297 Let `message' do the formatting.
11298 (def-gdb-preempt-display-buffer): Add explicit format.
11300 * image-dired.el (image-dired-track-original-file):
11301 Use with-current-buffer.
11302 (image-dired-track-thumbnail): Use with-current-buffer.
11303 Avoid changing point of wrong window.
11305 * image-dired.el (image-dired-track-original-file):
11306 Avoid changing point of wrong window. (Bug#14909)
11308 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11310 * progmodes/gdb-mi.el (gdb-done-or-error):
11311 Guard against "%" in gdb output. (Bug#14127)
11313 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11315 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11318 * international/mule.el (coding-system-iso-2022-flags): Fix last
11321 2013-07-20 Kenichi Handa <handa@gnu.org>
11323 * international/mule.el (coding-system-iso-2022-flags):
11324 Add `8-bit-level-4'. (Bug#8522)
11326 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11331 * net/eww.el (eww-process-text-input): Allow inputting when the
11332 point is at the start of the line, as the properties aren't
11335 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11338 2013-07-19 Richard Stallman <rms@gnu.org>
11340 * epa.el (epa-popup-info-window): Doc fix.
11342 * subr.el (split-string): New arg TRIM.
11344 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11346 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11347 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11349 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11351 * filenotify.el (file-notify--library): Rename from
11352 `file-notify-support'. Do not autoload. Adapt all uses.
11353 (file-notify-supported-p): New defun.
11355 * autorevert.el (auto-revert-use-notify):
11356 Use `file-notify-supported-p' instead of `file-notify-support'.
11358 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11360 * net/tramp.el (tramp-file-name-for-operation):
11361 Add `file-notify-supported-p'.
11363 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11365 (tramp-sh-file-name-handler-alist): Add it as handler for
11366 `file-notify-supported-p '.
11368 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11369 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11370 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11371 Add `ignore' as handler for `file-notify-*' functions.
11373 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11375 * simple.el (line-move-partial, line-move): Don't start vscroll or
11376 scroll-up if the current line is not taller than the window.
11379 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11381 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11382 highlight question marks in the method names as strings.
11383 (ruby-block-beg-keywords): Inline.
11384 (ruby-font-lock-keyword-beg-re): Extract from
11385 `ruby-font-lock-keywords'.
11387 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11389 * frame.el (blink-cursor-blinks): New defcustom.
11390 (blink-cursor-blinks-done): New defvar.
11391 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11392 (blink-cursor-timer-function): Check if number of blinks has been
11394 (blink-cursor-suspend, blink-cursor-check): New defuns.
11396 2013-07-15 Glenn Morris <rgm@gnu.org>
11398 * edmacro.el (edmacro-format-keys): Fix previous change.
11400 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11402 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11403 The hack didn't work outside English locales anyway.
11405 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11407 * simple.el (define-alternatives): Rename from alternatives-define,
11408 per RMS' suggestion.
11410 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11412 * desktop.el (desktop-restore-frames): Change default to t.
11413 (desktop-restore-in-current-display): Now offer more options.
11414 (desktop-restoring-reuses-frames): New customization option.
11415 (desktop--saved-states): Doc fix.
11416 (desktop-filter-parameters-alist): New variable, renamed and expanded
11417 from desktop--excluded-frame-parameters.
11418 (desktop--target-display): New variable.
11419 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11420 (desktop--filter-tty*, desktop--filter-*-color)
11421 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11422 (desktop--filter-save-desktop-parm)
11423 (desktop-restore-in-original-display-p): New functions.
11424 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11425 (desktop--save-minibuffer-frames): New function, inspired by a similar
11426 function from Martin Rudalics.
11427 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11428 (desktop--restore-in-this-display-p): Remove.
11429 (desktop--find-frame): Rename from desktop--find-frame-in-display
11430 and add predicate argument.
11431 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11432 (desktop--reuse-list): New variable.
11433 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11435 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11437 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11439 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11441 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11443 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11444 Highlight conversion methods on Kernel.
11446 2013-07-13 Alan Mackenzie <acm@muc.de>
11448 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11449 and comment it out. This out-commenting enables certain C++
11450 declarations to be parsed correctly.
11452 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11454 * international/mule.el (define-coding-system): Doc fix.
11456 * simple.el (default-font-height): Don't call font-info if the
11457 frame's default font didn't change since the frame was created.
11460 2013-07-13 Leo Liu <sdl.web@gmail.com>
11462 * ido.el (ido-read-file-name): Guard against non-symbol value.
11464 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11466 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11469 2013-07-13 Leo Liu <sdl.web@gmail.com>
11471 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11472 ido-set-matches call. (Bug#6852)
11474 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11476 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11477 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11479 (ruby-font-lock-keywords): Distinguish calls to functions with
11480 module-like names from module references. Highlight character
11483 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11485 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11486 (gdb-send): Handle continued commands. (Bug#14847)
11488 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11490 * desktop.el (desktop--v2s): Remove unused local variable.
11491 (desktop-save-buffer): Make defvar-local; adjust docstring.
11492 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11493 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11495 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11497 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11499 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11501 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11504 2013-07-12 Glenn Morris <rgm@gnu.org>
11506 * doc-view.el: Require cl-lib at runtime too.
11507 (doc-view-remove-if): Remove.
11508 (doc-view-search-next-match, doc-view-search-previous-match):
11511 * edmacro.el: Require cl-lib at runtime too.
11512 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11513 (edmacro-mismatch, edmacro-subseq): Remove.
11515 * shadowfile.el: Require cl-lib.
11516 (shadow-remove-if): Remove.
11517 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11520 * wid-edit.el: Require cl-lib.
11521 (widget-choose): Use cl-remove-if.
11522 (widget-remove-if): Remove.
11524 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11525 (ebrowse-delete-if-not): Remove.
11526 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11527 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11528 Use cl-delete-if-not.
11530 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11532 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11533 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11535 2013-07-12 Leo Liu <sdl.web@gmail.com>
11537 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11539 2013-07-11 Glenn Morris <rgm@gnu.org>
11541 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11542 (edebug-gensym-index, edebug-gensym):
11543 Remove reimplementation of cl-gensym.
11544 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11546 * thumbs.el: Require cl-lib at run-time too.
11547 (thumbs-gensym-counter, thumbs-gensym):
11548 Remove reimplementation of cl-gensym.
11549 (thumbs-temp-file): Use cl-gensym.
11551 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11552 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11553 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11554 (ert--union, ert--gensym-counter, ert--gensym-counter)
11555 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11556 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11557 (ert-make-test-unbound, ert--expand-should-1)
11558 (ert--expand-should, ert--should-error-handle-error)
11559 (should-error, ert--explain-equal-rec)
11560 (ert--plist-difference-explanation, ert-select-tests)
11561 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11562 Use cl-lib functions rather than reimplementations.
11564 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11566 * net/tramp.el (tramp-methods): Extend docstring.
11567 (tramp-connection-timeout): New defcustom.
11568 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11569 (with-tramp-progress-reporter): Simplify.
11570 (tramp-process-actions): Improve messages.
11572 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11573 * net/tramp-sh.el (tramp-maybe-open-connection):
11574 Use `tramp-connection-timeout'.
11575 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11578 2013-07-11 Leo Liu <sdl.web@gmail.com>
11580 * ido.el (ido-read-file-name): Conform to the requirements of
11581 read-file-name. (Bug#11861)
11582 (ido-read-directory-name): Conform to the requirements of
11583 read-directory-name.
11585 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11587 * subr.el (delay-warning): New function.
11589 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11591 * simple.el (default-line-height): New function.
11592 (line-move-partial, line-move): Use it instead of computing the
11593 line height inline.
11594 (line-move-partial): Always compute ROWH. If the last line is
11595 partially-visible, but its text is completely visible, allow
11596 cursor to enter such a partially-visible line.
11598 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11600 Improve error messages. (Bug#14808)
11602 * net/tramp.el (tramp-current-connection): New defvar, moved from
11604 (tramp-message-show-progress-reporter-message): Remove, not
11606 (tramp-error-with-buffer): Show message in minibuffer.
11607 Discard input before waiting. Reset connection timestamp.
11608 (with-tramp-progress-reporter): Improve messages.
11609 (tramp-process-actions): Use progress reporter. Delete process in
11610 case of error. Improve messages.
11612 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11613 Call `tramp-error-with-buffer' with vector and buffer.
11614 (tramp-current-connection): Remove.
11615 (tramp-maybe-open-connection): The car of
11616 `tramp-current-connection' are the first 3 slots of the vector.
11618 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11620 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11621 inside continued strings.
11623 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11625 Timestamp fixes for undo (Bug#14824).
11626 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11628 2013-07-10 Leo Liu <sdl.web@gmail.com>
11630 * files.el (require-final-newline): Allow safe local value.
11633 2013-07-09 Leo Liu <sdl.web@gmail.com>
11635 * ido.el (ido-read-directory-name): Handle fallback.
11636 (ido-read-file-name): Update DIR to ido-current-directory.
11638 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11640 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11642 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11643 "autoload". Remove "warn lower camel case" section, previously
11644 commented out. Highlight negation char. Do not highlight the
11645 target in singleton method definitions.
11647 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11649 * faces.el (tty-setup-hook): Declare the hook.
11651 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11652 and detect when a guard/pred depends on local vars (bug#14773).
11653 (pcase--u1): Adjust caller.
11655 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11657 * simple.el (line-move-partial, line-move): Account for
11659 (line-move-partial): Avoid setting vscroll when the last
11660 partially-visible line in window is of default height.
11662 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11664 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11667 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11669 * subr.el (read-quoted-char): Remove unused local variable `char'.
11671 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11673 * vc/ediff.el (ediff-version): Version update.
11674 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11675 (ediff-merge-with-ancestor-command, ediff-directories-command)
11676 (ediff-directories3-command, ediff-merge-directories-command)
11677 (ediff-merge-directories-with-ancestor-command): New functions.
11678 All are command-line interfaces to ediff: to facilitate calling
11679 Emacs with the appropriate ediff functions invoked.
11681 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11683 (viper-save-kill-buffer): Check if buffer is modified.
11685 * emulation/viper.el (viper-version): Version update.
11686 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11688 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11691 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11692 (viper-intercept-ESC-key): Simplify.
11693 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11695 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11696 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11697 (viper-setup-ESC-to-escape): New functions.
11698 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11699 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11701 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11703 * simple.el (default-font-height, window-screen-lines):
11705 (line-move, line-move-partial): Use them instead of
11706 frame-char-height and window-text-height. This makes scrolling
11707 text smoother when the buffer's default face uses a font that is
11708 different from the frame's default font.
11710 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11712 * files.el (write-file): Do not display confirm dialog for NS,
11713 it does its own dialog, which can't be canceled (Bug#14578).
11715 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11717 * simple.el (line-move-partial): Adjust the row returned by
11718 posn-at-point for the current window-vscroll. (Bug#14567)
11720 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11722 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11723 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11726 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11728 * window.el (window-state-put-stale-windows): New variable.
11729 (window--state-put-2): Save list of windows without matching buffer.
11730 (window-state-put): Remove "bufferless" windows if possible.
11732 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11734 * simple.el (alternatives-define): Remove leftover :group keyword.
11737 2013-07-06 Leo Liu <sdl.web@gmail.com>
11739 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11740 (ido-enable-virtual-buffers): New variable.
11741 (ido-buffer-internal, ido-toggle-virtual-buffers)
11742 (ido-make-buffer-list): Use it.
11743 (ido-exhibit): Support turning on and off virtual buffers
11746 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11748 * simple.el (alternatives-define): New macro.
11750 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11752 * subr.el (read-quoted-char): Use read-key.
11753 (sit-for): Let read-event decode tty input (bug#14782).
11755 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11757 * calendar/todo-mode.el: Add handling of file deletion, both by
11758 mode command and externally. Fix various related bugs.
11759 Clarify Commentary and improve some documentation strings and code.
11760 (todo-delete-file): New command.
11761 (todo-check-file): New function.
11762 (todo-show): Handle external deletion of the file we're trying to
11763 show (bug#14688). Replace called-interactively-p by an optional
11764 prefix argument to avoid problematic interaction with catch form
11765 when byte compiled (bug#14702).
11766 (todo-quit): Handle external deletion of the archive's todo file.
11767 Make sure the buffer that was visiting the archive file is still
11768 live before trying to bury it.
11769 (todo-category-completions): Handle external deletion of any
11770 category completion files.
11771 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11772 of todo files, in case of external deletion.
11773 (todo-add-file): Replace unnecessary setq by let-binding.
11774 (todo-find-archive): Check whether there are any archives.
11775 Replace unnecessary setq by let-binding.
11776 (todo-archive-done-item): Use find-file-noselect to get the
11777 archive buffer whether or not the archive already exists.
11778 Remove superfluous code. Use file size instead of buffer-file-name to
11779 check if the archive is new; if it is, update list of archives.
11780 (todo-default-todo-file): Allow nil to be a valid value for when
11781 there are no todo files.
11782 (todo-reevaluate-default-file-defcustom): Use corrected definition
11783 of todo-default-todo-file.
11784 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11785 (todo-delete-category, todo-show-categories-table)
11786 (todo-category-number): Clarify comment.
11787 (todo-filter-items): Clarify documentation string.
11788 (todo-show-current-file, todo-display-as-todo-file)
11789 (todo-reset-and-enable-done-separator): Tweak documentation string.
11790 (todo-done-separator): Make separator length window-width, since
11791 bug#2749 is now fixed.
11793 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11795 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11796 Support both "gvfs-monitor-dir" and "inotifywait".
11797 (tramp-sh-file-inotifywait-process-filter): Rename from
11798 `tramp-sh-file-notify-process-filter'.
11799 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11800 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11802 2013-07-05 Leo Liu <sdl.web@gmail.com>
11804 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11806 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11808 * frame.el (display-pixel-height, display-pixel-width)
11809 (display-mm-height, display-mm-width): Mention behavior on
11810 multi-monitor setups in docstrings.
11811 (w32-display-monitor-attributes-list): Declare function.
11812 (display-monitor-attributes-list): Use it.
11814 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11816 * filenotify.el: New package.
11818 * autorevert.el (top): Require filenotify.el.
11819 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11821 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11822 (auto-revert-notify-handler): Use `file-notify-*' functions.
11824 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11826 * net/tramp.el (tramp-file-name-for-operation):
11827 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11829 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11830 for `file-notify-add-watch' and `file-notify-rm-watch'.
11831 (tramp-process-sentinel): Improve trace.
11832 (tramp-sh-handle-file-notify-add-watch)
11833 (tramp-sh-file-notify-process-filter)
11834 (tramp-sh-handle-file-notify-rm-watch)
11835 (tramp-get-remote-inotifywait): New defuns.
11837 2013-07-03 Juri Linkov <juri@jurta.org>
11839 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11840 call of `occur-read-primary-args' to interactive spec.
11842 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11843 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11845 2013-07-03 Matthias Meulien <orontee@gmail.com>
11847 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11848 `Buffer-menu-multi-occur'. Add it to the menu.
11849 (Buffer-menu-mode): Document it in docstring.
11850 (Buffer-menu-multi-occur): New command. (Bug#14673)
11852 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11854 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11855 keywords and built-ins.
11857 2013-07-03 Glenn Morris <rgm@gnu.org>
11859 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11861 Make info-xref checks case-sensitive by default
11862 * info.el (Info-find-node, Info-find-in-tag-table)
11863 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11864 Add option for exact case matching of nodes.
11865 * info-xref.el (info-xref): New custom group.
11866 (info-xref-case-fold): New option.
11867 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11869 2013-07-03 Leo Liu <sdl.web@gmail.com>
11871 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11873 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11875 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11876 middle of block statement initially, lower the depth. Remove
11877 FIXME comment, not longer valid. Remove middle of block statement
11878 detection, no need to do that anymore since we've been using
11879 `ruby-parse-region' here.
11881 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11883 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11885 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11887 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11889 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11891 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11892 (desktop-restore-in-current-display): New customization option.
11893 (desktop--excluded-frame-parameters): Add `font'.
11894 (desktop--save-frames): Rename from desktop--save-windows.
11895 (desktop--restore-in-this-display-p): New function.
11896 (desktop--make-full-frame): Remove unwanted width/height from
11897 full(width|height) frames.
11898 (desktop--restore-frames): Rename from desktop--restore-windows.
11899 Obey desktop-restore-current-display. Do not delete old frames or
11900 select a new frame unless we were able to restore at least one frame.
11902 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11904 * files.el (find-file-noselect): Simplify conditional expression.
11906 * textmodes/remember.el (remember-append-to-file):
11907 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11909 Add `remember-notes' function to store random notes across Emacs
11911 * textmodes/remember.el (remember-data-file): Add :set callback to
11912 affect notes buffer (if any).
11913 (remember-notes): New command.
11914 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11915 New defcustoms for the `remember-notes' function.
11916 (remember-notes-save-and-bury-buffer): New command.
11917 (remember-notes-mode-map): New variable.
11918 (remember-mode): New minor mode.
11919 (remember-notes--kill-buffer-query): New function.
11920 * startup.el (initial-buffer-choice): Add notes to custom type.
11922 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11924 * bindings.el (right-char, left-char): Don't call sit-for, this is
11925 no longer needed. Use arithmetic comparison only for numerical
11928 * international/mule-cmds.el (select-safe-coding-system):
11929 Handle the case of FROM being a string correctly. (Bug#14755)
11931 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11933 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11934 progression on degenerate tables.
11935 (shr-rescale-image): ImageMagick animated images currently don't work.
11937 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11939 Some fixes and improvements for desktop frame restoration.
11940 It is still experimental and disabled by default.
11941 * desktop.el (desktop--save-windows): Put the selected frame at
11942 the head of the list.
11943 (desktop--make-full-frame): New function.
11944 (desktop--restore-windows): Try to re-select the frame that was
11945 selected upon saving. Do not abort if some frames fail to restore,
11946 just show an error message and continue. Set up maximized frames
11947 so they have default non-maximized dimensions.
11949 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11951 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11952 Don't start heredoc inside a string or comment.
11954 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11956 * bindings.el (visual-order-cursor-movement): New defcustom.
11957 (right-char, left-char): Provide visual-order cursor motion by
11958 calling move-point-visually. Update the doc strings.
11960 2013-06-28 Kenichi Handa <handa@gnu.org>
11962 * international/mule.el (define-coding-system): New coding system
11963 properties :inhibit-null-byte-detection,
11964 :inhibit-iso-escape-detection, and :prefer-utf-8.
11965 (set-buffer-file-coding-system): If :charset-list property of
11966 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11967 appropriate for setting.
11969 * international/mule-cmds.el (select-safe-coding-system):
11970 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11971 multibyte characters, return utf-8 (or one of its siblings).
11973 * international/mule-conf.el (prefer-utf-8): New coding system.
11974 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11977 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11979 * net/shr.el (shr-render-region): New function.
11981 * net/eww.el: Autoload `eww-browse-url'.
11983 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11985 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11986 Adapt to `package-desc-version' being a list.
11987 Use `package--ac-desc-version' to retrieve version from a package
11990 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11992 New experimental feature to save&restore window and frame setup.
11993 * desktop.el (desktop-save-windows): New defcustom.
11994 (desktop--saved-states): New var.
11995 (desktop--excluded-frame-parameters): New defconst.
11996 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11997 (desktop--restore-windows, desktop--save-windows): New functions.
11998 (desktop-save): Call `desktop--save-windows'.
11999 (desktop-read): Call `desktop--restore-windows'.
12001 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12003 * net/shr.el (add-face-text-property): Remove compat definition.
12005 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12007 * info.el (Info-try-follow-nearest-node): Move search for footnote
12008 above search for node name to prevent missing a footnote (bug#14717).
12010 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12012 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12014 2013-06-27 Leo Liu <sdl.web@gmail.com>
12016 * net/eww.el (eww-read-bookmarks): Check file size.
12018 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12020 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12021 advice--pending if newdef is nil or an autoload (bug#13820).
12022 (advice-mapc): New function.
12024 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12026 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12028 (eww-mode-map): Add a menu bar.
12029 (eww-add-bookmark): New command.
12030 (eww-bookmark-mode): New mode and commands.
12031 (eww-add-bookmark): Remove newlines from the title.
12032 (eww-bookmark-browse): Don't bug out if it's the only window.
12034 2013-06-26 Glenn Morris <rgm@gnu.org>
12036 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12037 (hfy-size): Handle ttys. (Bug#14668)
12039 * info-xref.el: Update for Texinfo 5 change in *note format.
12040 (info-xref-node-re, info-xref-note-re): New constants.
12041 (info-xref-check-buffer): Use info-xref-note-re.
12043 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12045 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12047 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12048 nil terminate the loop (bug#14718).
12050 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12052 * net/eww.el: Rework history traversal. When going forward/back,
12053 put these actions into the history, too, so that they can be
12055 (eww-render): Move the history reset to the correct buffer.
12057 2013-06-25 Juri Linkov <juri@jurta.org>
12059 * files-x.el (modify-dir-local-variable): Change the header comment
12060 in the file with directory local variables. (Bug#14692)
12062 * files-x.el (read-file-local-variable-value): Add `default'.
12065 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12067 * net/eww.el (eww-make-unique-file-name): Create a unique file
12068 name before saving to entering `y' accidentally asynchronously.
12070 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12072 * net/eww.el (eww-download): New command and keystroke.
12074 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12076 * net/eww.el (eww-copy-page-url): Change name of command.
12078 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12079 be more consistent with Info and dired.
12081 * net/eww.el (eww-mode-map): Ditto.
12083 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12085 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12086 packages from archives.
12087 (package-archive-contents): Change format; include obsolete packages.
12088 (package-desc): Use `dir' to mark builtin packages.
12089 (package--from-builtin): Set the `dir' field to `builtin'.
12090 (generated-autoload-file, version-control): Declare.
12091 (package-compute-transaction): Change first arg and return value to be
12092 lists of package-descs. Adjust to new package-archive-contents format.
12093 (package--add-to-archive-contents): Adjust to new
12094 package-archive-contents format.
12095 (package-download-transaction): Arg is now a list of package-descs.
12096 (package-install): If `pkg' is a package name, pass it as
12097 a requirement, so it is subject to the usual (e.g. disabled) checks.
12098 (describe-package): Accept package-desc as well.
12099 (describe-package-1): Describe a specific package-desc. Add links to
12100 other package-descs for the same package name.
12101 (package-menu-describe-package): Pass the actual package-desc.
12102 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12104 (package-desc-status): New function.
12105 (package-menu--refresh): New function, extracted
12106 from package-menu--generate.
12107 (package-menu--generate): Use it.
12108 (package-delete): Update package-alist.
12109 (package-menu-execute): Don't call package-initialize.
12111 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12112 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12113 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12114 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12115 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12116 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12118 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12120 * window.el (window--state-get-1): Workaround for bug#14527.
12121 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12123 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12125 * net/eww.el (eww-back-url): Implement the history by stashing all
12126 the data into a list.
12127 (eww-forward-url): Allow going forward in the history, too.
12129 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12131 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12132 for values and use read--expression for expressions (bug#14710).
12133 (read-file-local-variable): Avoid setq.
12134 (read-file-local-variable-mode): Use minor-mode-list.
12136 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12138 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12141 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12143 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12144 Update imenu-support when dialect changes.
12146 2013-06-25 Leo Liu <sdl.web@gmail.com>
12148 * ido.el (ido-read-internal): Allow forward slash on windows.
12150 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12152 * net/eww.el (eww): Start of strings is \\`, not ^.
12154 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12156 * net/shr.el (shr-browse-url): Fix interactive spec.
12158 * net/eww.el (eww): Add a trailing slash to domain names.
12160 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12162 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12164 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12166 * net/shr.el (shr-browse-url): Use an external browser if given a
12169 * net/eww.el (eww-external-browser): Move to shr.
12171 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12173 * net/eww.el (eww): Work more correctly for file: URLs.
12174 (eww-detect-charset): Allow quoted charsets.
12175 (eww-yank-page-url): New command and keystroke.
12177 2013-06-24 Daiki Ueno <ueno@gnu.org>
12179 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12180 file name of gpg executable.
12181 (epg-context-program): New function.
12182 (epg-context-home-directory): New function.
12183 (epg-context-set-program): New function.
12184 (epg-context-set-home-directory): New function.
12185 (epg--start): Use `epg-context-program' instead of
12187 (epg--list-keys-1): Likewise.
12189 2013-06-24 Leo Liu <sdl.web@gmail.com>
12191 * ido.el (ido-read-internal): Fix bug#14620.
12193 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12195 * faces.el (face-documentation): Simplify.
12196 (read-face-attribute, tty-find-type, x-resolve-font-name):
12197 Use `string-match-p'.
12198 (list-faces-display): Use `string-match-p'. Simplify.
12199 (face-spec-recalc): Check face to avoid face alias loops.
12200 (read-color): Use `string-match-p' and non-capturing parenthesis.
12202 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12204 * net/shr.el (shr-rescale-image): Use the new
12205 :max-width/:max-height functionality.
12207 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12209 * net/eww.el (eww-search-prefix): New variable.
12211 (eww-external-browser): New variable.
12212 (eww-mode-map): New keystroke.
12213 (eww-browse-with-external-browser): New command.
12215 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12217 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12219 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12220 Don't skip aligning the next header field when padding is 0;
12221 otherwise, field width is not respected unless the title is as
12224 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12226 * emacs-lisp/package.el (package-el-version): Remove.
12227 (package-process-define-package): Fix inf-loop.
12228 (package-install): Allow symbols as arguments again.
12230 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12232 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12233 add some more keyword-like methods.
12234 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12236 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12238 * bs.el (bs-buffer-show-mark): Make defvar-local.
12239 (bs-mode): Use setq-local.
12241 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12242 (emacs-lock--try-unlocking): Make defvar-local.
12244 2013-06-22 Glenn Morris <rgm@gnu.org>
12246 * play/cookie1.el (cookie-apropos): Minor simplification.
12248 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12250 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12252 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12253 `regexp-opt', it breaks the build during dumping.
12255 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12257 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12258 Highlight keyword-like methods on Kernel and Module with
12259 font-lock-builtin-face.
12260 (auto-mode-alist): Consolidate different entries into one regexp
12261 and add more *file-s.
12263 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12265 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12267 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12268 (diary-entry): Use it in the action of this button type instead of
12271 * calendar/todo-mode.el: New version.
12272 (todo-add-category): Append new category to end of file and give
12273 it the highest number, instead of putting it at the beginning and
12274 giving it 0. Incorporate noninteractive functionality.
12275 (todo-forward-category): Adapt to 1-based category numbering.
12276 Allow skipping over archived categories.
12277 (todo-backward-category): Derive from todo-forward-category.
12278 (todo-backward-item, todo-forward-item): Make noninteractive and
12279 delegate interactive part to new commands. Make sensitive to done items.
12280 (todo-categories): Make value an alist of category names and
12281 vectors of item counts.
12282 (todo-category-beg): Make a defconst.
12283 (todo-category-number): Use 1 instead of 0 as initial value.
12284 (todo-category-select): Make sensitive to overlays, optional item
12285 highlighting and done items.
12286 (todo-delete-item): Make sensitive to overlays and marked and done items.
12287 (todo-edit-item): Make sensitive to overlays and editing of
12288 date/time header optional. Add format checks.
12289 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12290 no-op if point is not on an item. Advertise using todo-edit-quit.
12291 (todo-edit-mode): Make sensitive to new format, font-locking, and
12292 multiple todo files.
12293 (todo-insert-item, todo-insert-item-here): Derive from
12294 todo-basic-insert-item and extend functionality.
12295 (todo-item-end, todo-item-start): Make sensitive to done items.
12296 (todo-item-string): Don't return text properties. Restore point.
12297 (todo-jump-to-category): Make sensitive to multiple todo files and
12298 todo archives. Use extended category completion.
12299 (todo-lower-item, todo-raise-item): Rename to *-priority and
12300 derive from todo-set-item-priority.
12301 (todo-mode): Derive from special-mode. Make sensitive to new
12302 format, font-locking and multiple todo files. Make read-only.
12303 (todo-mode-map): Don't suppress digit keys, so they can supply
12304 prefix arguments. Add many new key bindings.
12305 (todo-prefix): Insert as an overlay instead of file text.
12306 Change semantics from diary date expression to purely visual mark.
12307 (todo-print): Rename to todo-print-buffer. Make buffer display
12308 features printable. Remove option to restrict number of items
12309 printed. Add option to print to file.
12310 (todo-print-function): Rename to todo-print-buffer-function.
12311 (todo-quit): Extend to handle exiting new todo modes.
12312 (todo-remove-item): Make sensitive to overlays.
12313 (todo-save): Extend to buffers of filtered items.
12314 (todo-show): Make sensitive to done items, multiple todo files and
12315 new todo modes. Offer to convert legacy todo file before creating
12316 first new todo file.
12317 (todo-show-priorities): Rename to todo-top-priorities.
12318 Change semantics of value 0.
12319 (todo-top-priorities): Rename to todo-filter-top-priorities,
12320 derive from todo-filter-items and extend functionality.
12321 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12322 and extend functionality to other types of filtered items.
12323 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12324 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12325 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12326 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12327 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12328 (todo-edit-mode-hook, todo-entry-prefix-function)
12329 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12330 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12331 (todo-initials, todo-insert-threshold, todo-item-string-start)
12332 (todo-line-string, todo-menu, todo-mode-hook)
12333 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12334 (todo-print-priorities, todo-remove-separator)
12335 (todo-save-top-priorities-too, todo-string-count-lines)
12336 (todo-string-multiline-p, todo-time-string-format)
12337 (todo-tmp-buffer-name): Remove.
12338 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12339 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12340 (todo-edit-category-diary-inclusion)
12341 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12342 (todo-edit-file, todo-edit-item-date-day)
12343 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12344 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12345 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12346 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12347 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12348 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12349 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12350 (todo-filter-top-priorities-multifile, todo-find-archive)
12351 (todo-find-filtered-items-file, todo-go-to-source-item)
12352 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12353 (todo-jump-to-archive-category, todo-lower-category)
12354 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12355 (todo-move-category, todo-move-item, todo-next-button)
12356 (todo-next-item, todo-padded-string, todo-powerset)
12357 (todo-previous-button, todo-previous-item)
12358 (todo-print-buffer-to-file, todo-raise-category)
12359 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12360 (todo-set-category-number, todo-set-item-priority)
12361 (todo-set-top-priorities-in-category)
12362 (todo-set-top-priorities-in-file, todo-show-categories-table)
12363 (todo-sort-categories-alphabetically-or-numerically)
12364 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12365 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12366 (todo-toggle-item-header, todo-toggle-item-highlighting)
12367 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12368 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12369 (todo-unarchive-items, todo-unmark-category): New commands.
12370 (todo-absolute-file-name, todo-add-to-buffer-list)
12371 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12372 (todo-basic-insert-item, todo-category-completions)
12373 (todo-category-number, todo-category-string-matcher-1)
12374 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12375 (todo-check-format, todo-clear-matches)
12376 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12377 (todo-current-category, todo-date-string-matcher)
12378 (todo-define-insertion-command, todo-diary-expired-matcher)
12379 (todo-diary-goto-entry, todo-diary-item-p)
12380 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12381 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12382 (todo-done-item-section-p, todo-done-separator)
12383 (todo-done-string-matcher, todo-files, todo-filter-items)
12384 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12385 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12386 (todo-insert-category-line, todo-insert-item-from-calendar)
12387 (todo-insert-sort-button, todo-insert-with-overlays)
12388 (todo-insertion-command-name, todo-insertion-key-bindings)
12389 (todo-label-to-key, todo-longest-category-name-length)
12390 (todo-make-categories-list, todo-mode-external-set)
12391 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12392 (todo-modes-set-3, todo-multiple-filter-files)
12393 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12394 (todo-read-category, todo-read-date, todo-read-dayname)
12395 (todo-read-file-name, todo-read-time)
12396 (todo-reevaluate-category-completions-files-defcustom)
12397 (todo-reevaluate-default-file-defcustom)
12398 (todo-reevaluate-filelist-defcustoms)
12399 (todo-reevaluate-filter-files-defcustom)
12400 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12401 (todo-reset-done-separator, todo-reset-done-separator-string)
12402 (todo-reset-done-string, todo-reset-global-current-todo-file)
12403 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12404 (todo-reset-prefix, todo-set-categories)
12405 (todo-set-date-from-calendar, todo-set-show-current-file)
12406 (todo-set-top-priorities, todo-short-file-name)
12407 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12408 (todo-total-item-counts, todo-update-buffer-list)
12409 (todo-update-categories-display, todo-update-categories-sexp)
12410 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12412 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12414 (todo-categories, todo-display, todo-edit, todo-faces)
12415 (todo-filtered): New defgroups.
12416 (todo-archived-only, todo-button, todo-category-string, todo-date)
12417 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12418 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12419 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12420 (todo-add-item-if-new-category, todo-always-add-time-string)
12421 (todo-categories-align, todo-categories-archived-label)
12422 (todo-categories-category-label, todo-categories-diary-label)
12423 (todo-categories-done-label, todo-categories-number-separator)
12424 (todo-categories-todo-label, todo-categories-totals-label)
12425 (todo-category-completions-files, todo-completion-ignore-case)
12426 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12427 (todo-done-separator-string, todo-done-string)
12428 (todo-files-function, todo-filter-done-items, todo-filter-files)
12429 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12430 (todo-initial-category, todo-initial-file, todo-item-mark)
12431 (todo-legacy-date-time-regexp, todo-mode-line-function)
12432 (todo-nondiary-marker, todo-number-prefix)
12433 (todo-print-buffer-function, todo-show-current-file)
12434 (todo-show-done-only, todo-show-first, todo-show-with-done)
12435 (todo-skip-archived-categories, todo-top-priorities-overrides)
12436 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12437 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12439 (todo-category-done, todo-date-pattern, todo-date-string-start)
12440 (todo-diary-items-buffer, todo-done-string-start)
12441 (todo-filtered-items-buffer, todo-item-start)
12442 (todo-month-abbrev-array, todo-month-name-array)
12443 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12444 (todo-top-priorities-buffer): New defconsts.
12445 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12446 (todo-categories-with-marks, todo-category-string-face)
12447 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12448 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12449 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12450 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12451 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12452 (todo-font-lock-keywords, todo-global-current-todo-file)
12453 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12454 (todo-insertion-commands-args)
12455 (todo-insertion-commands-args-genlist)
12456 (todo-insertion-commands-names, todo-insertion-map)
12457 (todo-key-bindings-t, todo-key-bindings-t+a)
12458 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12459 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12460 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12461 (todo-visited): New variables.
12463 2013-06-21 Glenn Morris <rgm@gnu.org>
12465 * play/cookie1.el (cookie-apropos): Add optional display argument.
12466 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12467 (psychoanalyze-pinhead): Use cookie-doctor.
12469 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12471 * emacs-lisp/package.el (tar-get-file-descriptor)
12472 (tar--extract): Declare.
12474 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12476 Extend flymake's warning predicate to be a function (bug#14217).
12477 * progmodes/flymake.el (flymake-warning-predicate): New.
12478 (flymake-parse-line): Use it.
12479 (flymake-warning-re): Make obsolete alias to
12480 `flymake-warning-predicate'.
12482 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12485 (package-obsolete-list): Remove.
12486 (package-activate): Remove min-version argument. Add `force' argument.
12487 Adjust to new package-alist format.
12488 (package-mark-obsolete): Remove.
12489 (package-unpack): Force reload of the package's autoloads.
12490 (package-installed-p): Check builtins if the installed package is not
12492 (package-initialize): Don't reset package-obsolete-list.
12493 Don't specify which package version to activate.
12494 (package-process-define-package, describe-package-1)
12495 (package-menu--generate): Adjust to new package-alist format.
12497 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12499 * allout-widgets.el (allout-widgets-mode-off)
12500 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12501 (allout-widgets-post-command-business)
12502 (allout-widgets-after-copy-or-kill-function)
12503 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12504 (allout-decorate-item-and-context)
12505 (allout-graphics-modification-handler): Fix typos in docstrings.
12506 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12508 * cmuscheme.el (scheme-start-file): Doc fix.
12509 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12510 (scheme-input-filter): Use `string-match-p'.
12512 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12514 * dired-x.el: Use Dired consistently in docstrings.
12516 * dired.el: Use Dired consistently in docstrings.
12517 (dired-readin, dired-mode): Use `setq-local'.
12518 (dired-switches-alist): Make defvar-local.
12519 (dired-buffers-for-dir): Use `zerop'.
12520 (dired-safe-switches-p, dired-switches-escape-p)
12521 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12522 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12523 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12524 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12525 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12526 (dired-toggle-marks, dired-mark-files-containing-regexp)
12527 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12528 (dired-flag-auto-save-files, dired-flag-backup-files):
12529 Use `looking-at-p'.
12530 (dired-mark-files-regexp, dired-build-subdir-alist):
12531 Use `string-match-p', `looking-at-p'.
12533 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12534 (direct-print-region-helper): Use `string-match-p'.
12536 2013-06-21 Leo Liu <sdl.web@gmail.com>
12538 * comint.el (comint-redirect-results-list-from-process):
12541 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12543 * net/eww.el (eww-update-header-line-format): Quote % characters.
12545 2013-06-21 Glenn Morris <rgm@gnu.org>
12547 * play/cookie1.el (cookie): New custom group.
12548 (cookie-file): New option.
12549 (cookie-check-file): New function.
12550 (cookie): Make it interactive. Make start and end messages optional.
12551 Interactively, display the result. Default to cookie-file.
12552 (cookie-insert): Default to cookie-file.
12553 (cookie-snarf): Make start and end messages optional.
12554 Default to cookie-file. Use with-temp-buffer.
12555 (cookie-read): Rename from read-cookie.
12556 Make start and end messages optional. Default to cookie-file.
12557 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12558 Do not autoload it.
12559 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12560 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12562 2013-06-21 Leo Liu <sdl.web@gmail.com>
12564 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12566 2013-06-21 Glenn Morris <rgm@gnu.org>
12568 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12570 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12571 Daniel Hackney <dan@haxney.org>
12573 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12574 Consolidate the single-file vs tarball code.
12575 (package-desc-suffix): New function.
12576 (package-desc-full-name): Don't bother inlining it.
12577 (package-load-descriptor): Return the new package-desc.
12578 (package-mark-obsolete): Remove unused arg `package'.
12579 (package-unpack): Make it work for single files as well.
12580 Make it update package-alist.
12581 (package--make-autoloads-and-stuff): Rename from
12582 package--make-autoloads-and-compile. Don't compile any more.
12583 (package--compile): New function.
12584 (package-generate-description-file): New function, extracted from
12585 package-unpack-single.
12586 (package-unpack-single): Remove.
12587 (package--with-work-buffer): Add indentation and debugging info.
12588 (package-download-single): Remove.
12589 (package-install-from-archive): Rename from package-download-tar, make
12590 it take a pkg-desc, and make it work for single files as well.
12591 (package-download-transaction): Simplify.
12592 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12593 external tar program.
12594 (package-install-from-buffer): Remove `pkg-desc' argument.
12595 Use package-tar-file-info for tar-mode buffers.
12596 (package-install-file): Simplify accordingly.
12597 (package-archive-base): Change to take a pkg-desc.
12598 * tar-mode.el (tar--check-descriptor): New function, extracted from
12599 tar-get-descriptor.
12600 (tar-get-descriptor): Use it.
12601 (tar-get-file-descriptor): New function.
12602 (tar--extract): New function, extracted from tar-extract.
12603 (tar--extract): Use it.
12604 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12605 case the summary uses non-ascii. Adjust to new calling convention of
12606 package-tar-file-info.
12608 2013-06-21 Leo Liu <sdl.web@gmail.com>
12610 * comint.el (comint-redirect-results-list-from-process):
12611 Fix random delay. (Bug#14681)
12613 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12615 * profiler.el (profiler-format-number): Use log, not log10.
12617 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12619 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12621 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12623 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12624 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12626 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12627 (AUTOGENEL): ... here.
12628 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12629 (cl--defsubst-expand): Use it.
12631 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12633 * subr.el (log10): Move here from C code, and declare as obsolete.
12634 All uses of (log10 X) replaced with (log X 10).
12636 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12638 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12639 Declare with `defvar-local'.
12640 (tabulated-list-use-header-line, tabulated-list-entries)
12641 (tabulated-list-padding, tabulated-list-printer)
12642 (tabulated-list-sort-key): Declare with `defvar-local'.
12643 (tabulated-list-init-header, tabulated-list-print-fake-header):
12646 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12648 * arc-mode.el (archive-mode): Add `archive-write-file' to
12649 `write-contents-functions' also for remote files. (Bug#14652)
12651 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12653 * cus-edit.el (custom-commands): Fix typos.
12654 (custom-display): Fix tooltip text.
12655 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12656 Fix typos in docstrings.
12657 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12658 (custom-unlispify-menu-entry, custom-magic-value-create)
12659 (custom-add-see-also, custom-group-value-create): Use ?\s.
12660 (custom-guess-type, customize-apropos, editable-field)
12661 (custom-face-value-create): Use `string-match-p'.
12662 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12664 * custom.el (custom-load-symbol): Use `string-match-p'.
12666 * ansi-color.el: Convert to lexical binding.
12667 (ansi-colors): Fix URL.
12668 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12669 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12670 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12672 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12674 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12676 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12678 2013-06-19 Tom Tromey <tromey@redhat.com>
12680 * net/eww.el (eww-top-url): Remove.
12681 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12682 (eww-render): Set new variables. Don't set eww-top-url.
12683 (eww-handle-link): Handle "prev", "home", and "contents".
12684 Downcase the rel text.
12685 (eww-top-url): Choose best top URL.
12687 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12689 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12690 relying in widget.el. Using widget.el leads to too many
12691 user interface inconsistencies.
12692 (eww-self-insert): Implement entering commands in text fields.
12693 (eww-process-text-input): New function to make text input field editing
12695 (eww-submit): Rewrite to use the new-style form methods.
12696 (eww-select-display): Display the correct selected item.
12697 (eww-change-select): Implement changing the select value.
12698 (eww-toggle-checkbox): Implement radio/checkboxes.
12699 (eww-update-field): Fix compilation error.
12700 (eww-tag-textarea): Implement <textarea>.
12702 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12703 we don't shadow mode-specific bindings.
12705 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12708 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12710 2013-06-19 Glenn Morris <rgm@gnu.org>
12712 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12714 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12716 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12719 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12721 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12723 * net/browse-url.el (browse-url-browser-function):
12724 `eww-browse-url' has the right calling signature, `eww' does not.
12726 2013-06-19 Glenn Morris <rgm@gnu.org>
12728 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12729 Only eval autoloaded macros.
12730 (byte-compile-autoload): Only give the macro warning for macros.
12732 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12733 (ps-underlined-faces): Declare.
12735 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12736 (speedbar-add-supported-extension): Declare.
12738 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12739 Don't include a date stamp in the header of the generated file;
12740 it leads to needless differences between output files.
12742 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12744 * net/secrets.el (secrets-struct-secret-content-type):
12745 Replace check of introspection data by a test call of "CreateItem".
12746 Some servers do not offer introspection.
12748 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12750 * electric.el (electric-pair-mode): Improve interaction with
12751 electric-layout-mode.
12752 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12753 (electric-pair-syntax): Use text-mode-syntax-table in comments
12755 (electric-pair--insert): New function.
12756 (electric-pair-post-self-insert-function): Use it and
12757 electric--after-char-pos.
12759 2013-06-19 Leo Liu <sdl.web@gmail.com>
12761 * progmodes/octave.el (octave-help): Fix regexp.
12763 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12765 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12766 (shr-table-horizontal-line): Allow nil as a value, and change the
12768 (shr-insert-table-ruler): Respect the nil value.
12770 2013-06-18 Tom Tromey <tromey@barimba>
12772 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12774 (eww-open-file): New defun.
12775 (eww-render): Initialize new variables.
12776 (eww-display-html): Handle "link" and "a".
12777 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12778 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12779 (eww-back-url): Rename from eww-previous-url.
12780 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12783 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12785 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12786 Distinguish ternary operator tokens from slash symbol and slash
12789 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12791 Convert symbol prettification into minor mode and global minor mode.
12793 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12794 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12795 (prettify-symbols--keywords): Rename from
12796 `prog-prettify-symbols-alist' and make a local defvar.
12797 (prettify-symbols--compose-symbol): Rename from
12798 `prog--prettify-font-lock-compose-symbol'.
12799 (prettify-symbols--make-keywords): Rename from
12800 `prog-prettify-font-lock-symbols-keywords' and simplify.
12801 (prog-prettify-install): Remove.
12802 (prettify-symbols-mode): New minor mode, based on
12803 `prog-prettify-install'.
12804 (turn-on-prettify-symbols-mode): New function.
12805 (global-prettify-symbols-mode): New globalized minor mode.
12807 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12808 * progmodes/cfengine.el (cfengine3-mode):
12809 * progmodes/perl-mode.el (perl-mode): Don't call
12810 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12812 2013-06-18 Juri Linkov <juri@jurta.org>
12814 * files-x.el (modify-file-local-variable-message): New function.
12815 (modify-file-local-variable)
12816 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12817 and call `modify-file-local-variable-message' when it's non-nil.
12818 (add-file-local-variable, delete-file-local-variable)
12819 (add-file-local-variable-prop-line)
12820 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12821 and use it. (Bug#9820)
12823 2013-06-18 Juri Linkov <juri@jurta.org>
12825 * emulation/vi.el (vi-shell-op):
12826 * emulation/vip.el (vip-execute-com, ex-command):
12827 * emulation/viper-cmd.el (viper-exec-bang):
12828 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12829 the call of `shell-command-on-region'. (Bug#14637)
12831 * simple.el (shell-command-on-region): Doc fix.
12833 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12835 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12838 2013-06-18 Glenn Morris <rgm@gnu.org>
12840 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12842 * newcomment.el (comment-search-forward, comment-search-backward):
12843 Doc fix. (Bug#14376)
12845 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12847 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12848 (buffer-face-mode-invoke): Doc fix.
12850 2013-06-18 Matthias Meulien <orontee@gmail.com>
12852 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12853 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12855 2013-06-18 Glenn Morris <rgm@gnu.org>
12857 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12858 Replace obsolete function generic-make-keywords with its expansion.
12860 * progmodes/python.el (ffap-alist): Declare.
12862 * textmodes/reftex.el (bibtex-mode-map): Declare.
12864 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12866 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12867 (package-unpack, package-unpack-single): Return the pkg-dir.
12868 (package-download-transaction): Use it to update package-alist.
12870 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12872 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12875 2013-06-17 Juri Linkov <juri@jurta.org>
12877 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12879 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12881 * emacs-lisp/package.el (package-load-descriptor):
12882 Remove `with-syntax-table' call, `read' doesn't need it.
12883 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12885 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12887 * startup.el (command-line): Expand package name returned by
12888 `package--description-file' (bug#14639).
12890 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12892 * emacs-lisp/package.el (package-load-descriptor): Do not call
12893 `emacs-lisp-mode', just use its syntax table.
12895 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12897 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12898 `font-lock-extra-managed-props' if any prettifying keyword is added.
12899 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12900 (prog-mode): Use `setq-local'.
12902 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12904 * international/characters.el (standard-case-table): Set syntax of ?»
12905 and ?« to punctuation.
12907 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12909 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12910 Save relevant match data before calling `syntax-ppss' (bug#14595).
12912 2013-06-15 Juri Linkov <juri@jurta.org>
12914 * files-x.el (modify-file-local-variable-prop-line): Add local
12915 variables to the end of the existing comment on the first line.
12916 Use `file-auto-mode-skip' to skip interpreter magic line,
12917 and also skip XML declaration.
12919 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12921 * startup.el (package--builtin-versions): New var.
12922 (package-subdirectory-regexp): Remove.
12923 (package--description-file): Hard code its value instead.
12925 * emacs-lisp/package.el: Don't activate packages older than builtin.
12926 (package-obsolete-list): Rename from package-obsolete-alist, and make
12927 it into a simple list of package-desc.
12928 (package-strip-version): Remove.
12929 (package-built-in-p): Use package--builtin-versions.
12930 (package-mark-obsolete): Simplify.
12931 (package-process-define-package): Mark it obsolete if older than the
12933 (package-handle-response): Use line-end-position.
12934 (package-read-archive-contents, package--download-one-archive):
12936 (package--add-to-archive-contents): Skip if older than the builtin or
12938 (package-menu-describe-package): Fix last change.
12939 (package-list-unversioned): New var.
12940 (package-menu--generate): Use it.
12942 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12943 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12944 (autoload-builtin-package-versions): New variable.
12945 (autoload-generate-file-autoloads): Use them.
12946 Remove the list of autoloaded functions/macros from the
12947 (autoload...) comments.
12949 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12951 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12953 * simple.el (line-move-partial): Don't jump to the next screen
12954 line as soon as it becomes visible. Instead, continue enlarging
12955 the vscroll until the portion of a tall screen line that's left on
12956 display is about the height of the frame's default font.
12959 2013-06-15 Glenn Morris <rgm@gnu.org>
12961 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12962 compilation-error-regexp-alist void, or local while let-bound.
12964 * progmodes/make-mode.el (makefile-mode-syntax-table):
12965 Treat "=" as punctuation. (Bug#14614)
12967 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12969 * help-fns.el (describe-variable):
12970 Add extra line for permanent-local variables.
12972 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12974 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12975 Add export, import, library. (Bug#9164)
12976 (library): Set indent function.
12978 2013-06-14 Glenn Morris <rgm@gnu.org>
12980 * term/xterm.el (xterm--query):
12981 Stop after first matching handler. (Bug#14615)
12983 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12985 Add support for dired in saveplace.
12986 * dired.el (dired-initial-position-hook): New variable.
12987 (dired-initial-position): Call hook to place cursor position.
12988 * saveplace.el (save-place-to-alist): Add dired position.
12989 (save-place-dired-hook): New function.
12991 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12993 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12994 through a symbol rather than letrec.
12996 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12997 (package-desc): Add `dir' field.
12998 (package-desc-full-name): New function.
12999 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13000 (package-maybe-load-descriptor): Remove.
13001 (package-load-all-descriptors): Just call package-load-descriptor.
13002 (package--disabled-p): New function.
13003 (package-desc-vers, package-desc-doc): Remove aliases.
13004 (package--dir): Remove function.
13005 (package-activate): Check if a package is disabled.
13006 (package-process-define-package): New function, extracted from
13008 (define-package): Turn into a place holder.
13009 (package-unpack-single, package-tar-file-info):
13010 Use package--description-file.
13011 (package-compute-transaction): Use package--disabled-p.
13012 (package-download-transaction): Don't call
13013 package-maybe-load-descriptor since they're all loaded anyway.
13014 (package-install): Change argument to be a pkg-desc.
13015 (package-delete): Use a single pkg-desc argument.
13016 (describe-package-1): Use package-desc-dir instead of package--dir.
13017 Use package-desc property instead of package-symbol.
13018 (package-install-button-action): Adjust accordingly.
13019 (package--push): Rewrite.
13020 (package-menu--print-info): Adjust accordingly. Change the ID format
13022 (package-menu-describe-package, package-menu-get-status)
13023 (package-menu--find-upgrades, package-menu-mark-upgrades)
13024 (package-menu-execute, package-menu--name-predicate):
13025 Adjust accordingly.
13026 * startup.el (package--description-file): New function.
13027 (command-line): Use it.
13028 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13029 Use package-desc-version.
13031 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13032 (byte-compile-preprocess): Use it.
13033 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13034 can't quite recognize.
13035 (byte-compile-add-to-list): Remove.
13036 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13037 (cconv-closure-convert): Add assertion.
13039 * emacs-lisp/map-ynp.el: Use lexical-binding.
13040 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13041 Factor out some repeated code.
13043 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13045 * subr.el (with-eval-after-load): New macro.
13046 (eval-after-load): Allow form to be a function.
13047 take advantage of lexical-binding.
13048 (do-after-load-evaluation): Use dolist and adjust to new format.
13049 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13051 2013-06-13 Juri Linkov <juri@jurta.org>
13053 * replace.el (perform-replace): Display "symbol " and other search
13054 modes from `isearch-message-prefix' in the *Help* buffer.
13056 * isearch.el (isearch-query-replace): Add " symbol" and other
13057 possible search modes from `isearch-message-prefix' to the prompt.
13058 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13059 when reading a regexp to collect.
13061 2013-06-13 Juri Linkov <juri@jurta.org>
13063 * isearch.el (word-search-regexp): Match whitespace if the search
13064 string begins or ends in whitespace. The LAX arg is applied to
13065 both ends of the search string. Use `regexp-quote' and explicit
13066 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13067 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13068 boundaries are replaced with symbol boundaries, and characters
13069 between symbols match non-word non-symbol syntax. (Bug#14602)
13071 2013-06-13 Juri Linkov <juri@jurta.org>
13073 * isearch.el (isearch-del-char): Don't exceed the length of
13074 `isearch-string' by the prefix arg. (Bug#14563)
13076 2013-06-13 Juri Linkov <juri@jurta.org>
13078 * isearch.el (isearch-yank-word, isearch-yank-line)
13079 (isearch-char-by-name, isearch-quote-char)
13080 (isearch-printing-char, isearch-process-search-char):
13081 Add optional count prefix arg. (Bug#14563)
13083 * international/isearch-x.el
13084 (isearch-process-search-multibyte-characters):
13085 Add optional count prefix arg.
13087 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13089 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13090 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13093 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13095 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13097 2013-06-13 Glenn Morris <rgm@gnu.org>
13099 * startup.el (tty-handle-args):
13100 Don't just discard "--" and anything after. (Bug#14608)
13102 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13104 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13106 Implement changes in Secret Service API. Make it backward compatible.
13107 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13108 (secrets-create-item): Use it. Prefix properties with interface.
13110 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13112 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13113 (term-emulate-terminal): Respect term-suppress-hard-newline.
13115 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13117 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13118 Only remove a `thumb-file' overlay. (Bug#14548)
13120 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13122 * mail/reporter.el (reporter-submit-bug-report):
13123 Handle missing package-name. (Bug#14600)
13125 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13127 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13128 (reftex-citation-prompt, reftex-default-bibliography)
13129 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13130 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13131 (reftex-bib-sort-author, reftex-bib-sort-year)
13132 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13133 (reftex-extract-bib-entries-from-thebibliography)
13134 (reftex-get-bibkey-default, reftex-get-bib-names)
13135 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13136 (reftex-format-bib-entry, reftex-parse-bibitem)
13137 (reftex-format-bibitem, reftex-do-citation)
13138 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13139 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13140 (reftex-insert-bib-matches, reftex-format-citation)
13141 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13142 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13143 existing comments into docstrings.
13145 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13147 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13149 2013-06-12 Andreas Schwab <schwab@suse.de>
13151 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13152 for auto-save files.
13154 2013-06-12 Glenn Morris <rgm@gnu.org>
13156 * ido.el (ido-delete-ignored-files): Remove.
13157 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13158 Go back to calling ido-ignore-item-p directly.
13160 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13162 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13164 * ido.el (ido-delete-ignored-files): New function,
13165 split from ido-make-file-list-1.
13166 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13167 (ido-make-file-list-1): Use ido-delete-ignored-files.
13169 2013-06-12 Leo Liu <sdl.web@gmail.com>
13171 * progmodes/octave.el (inferior-octave-startup)
13172 (inferior-octave-completion-table)
13173 (inferior-octave-track-window-width-change)
13174 (octave-eldoc-function-signatures, octave-help)
13175 (octave-find-definition): Use single quoted strings.
13176 (inferior-octave-startup-args): Change default value.
13177 (inferior-octave-startup): Do not hard code "-i" and
13178 "--no-line-editing".
13179 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13180 (inferior-octave-directory-tracker): Use it.
13181 (octave-goto-function-definition): Robustify.
13182 (octave-help): Support highlighting operators in 'See also'.
13183 (octave-find-definition): Find subfunctions only in Octave mode.
13185 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * help-fns.el (help-fns--compiler-macro): If the handler function is
13188 named, then put a link to it.
13189 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13190 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13191 (cl-typep): Use it.
13192 (cl-eval-when): Simplify debug spec.
13193 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13194 compiler-macro function instead of setting `compiler-macro-file'.
13196 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13198 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13199 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13201 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13202 Daniel Hackney <dan@haxney.org>
13204 First part of Daniel Hackney's patch to package.el.
13205 * emacs-lisp/package.el: Use defstruct.
13206 (package-desc): New, main struct.
13207 (package--bi-desc, package--ac-desc): New structs, used to describe the
13208 format in external files.
13209 (package-desc-vers): Replace with package-desc-version accessor.
13210 (package-desc-doc): Replace with package-desc-summary accessor.
13211 (package-activate-1): Remove `package' arg since the pkg-vec now
13213 (define-package): Use package-desc-from-define.
13214 (package-unpack-single): Change file-name arg to be a symbol.
13215 (package--add-to-archive-contents): Use package-desc-create and new
13216 accessor functions to package--ac-desc.
13217 (package-buffer-info, package-tar-file-info): Return a package-desc.
13218 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13219 arg to be a package-desc.
13220 (package-install-file): Adjust accordingly. Use \' to match EOS.
13221 (package--from-builtin): New function.
13222 (describe-package-1, package-menu--generate): Use it.
13223 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13224 (package-generate-autoloads): Idem and return the name of the file.
13225 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13226 Change pkg-info arg to be a package-desc.
13227 Use package-make-ac-desc.
13228 (package-upload-file): Use \' to match EOS.
13229 * finder.el (finder-compile-keywords): Use package-make-builtin.
13231 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13233 * vc/vc.el (vc-deduce-fileset): Change error message.
13234 (vc-read-backend): New function.
13235 (vc-next-action): Use it.
13237 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13239 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13240 (prolog-font-lock-keywords): Use regexp-opt instead.
13241 Don't manually highlight strings.
13242 (prolog-mode-variables): Simplify comment-start-skip.
13243 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13245 * emacs-lisp/generic.el (generic--normalise-comments)
13246 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13247 (generic-mode-set-comments): Use them.
13248 (generic-bracket-support): Use setq-local.
13249 (generic-make-keywords-list): Declare obsolete.
13251 2013-06-11 Glenn Morris <rgm@gnu.org>
13253 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13254 Prettify after setting font-lock-defaults. (Bug#14574)
13256 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13258 * replace.el (query-replace, occur-read-regexp-defaults-function)
13260 * subr.el (declare-function, number-sequence, local-set-key)
13261 (substitute-key-definition, locate-user-emacs-file)
13262 (with-silent-modifications, split-string, eval-after-load):
13263 Fix typos, remove unneeded backslashes and reflow some docstrings.
13265 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13267 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13268 default for Elisp files.
13270 2013-06-11 Glenn Morris <rgm@gnu.org>
13272 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13273 although define-derived-mode was doing this anyway. (Bug#14583)
13275 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13277 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13278 Fix make-variable-buffer-local call to refer to the correct variable.
13280 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13282 * eshell/em-term.el (eshell-visual-commands)
13283 (eshell-visual-subcommands, eshell-visual-options):
13284 Add summary line to docstrings. Add cross-references.
13286 2013-06-10 Glenn Morris <rgm@gnu.org>
13288 * epa.el (epa-read-file-name): New function. (Bug#14510)
13289 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13291 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13293 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13294 output redirection to be ignored with visual commands.
13296 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13298 * eshell/em-term.el (eshell-visual-command-p): New function.
13299 (eshell-term-initialize): Move long lambda to separate function
13300 eshell-visual-command-p.
13301 * eshell/em-dirs.el (eshell-dirs-initialize):
13302 * eshell/em-script.el (eshell-script-initialize):
13303 Add missing #' to lambda.
13305 2013-06-08 Leo Liu <sdl.web@gmail.com>
13307 * progmodes/octave.el (octave-add-log-current-defun): New function.
13308 (octave-mode): Set add-log-current-defun-function.
13309 (octave-goto-function-definition): Do not move point if not found.
13310 (octave-find-definition): Enhance to try subfunctions first.
13312 2013-06-08 Glenn Morris <rgm@gnu.org>
13314 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13315 (byte-compile-backward-char, byte-compile-backward-word):
13316 Improve previous change, to handle non-explicit nil.
13318 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13320 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13321 (smie--opener/closer-at-point): New function.
13322 (smie--matching-block-data): Use it. Don't match from right after an
13323 opener or right before a closer. Obey smie-blink-matching-inners.
13324 Don't signal a mismatch for repeated inners like "switch..case..case".
13326 2013-06-07 Leo Liu <sdl.web@gmail.com>
13328 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13330 (octave-function-header-regexp): Fix. (Bug#14570)
13331 (octave-help-mode-finish-hook, octave-help-mode-finish):
13332 Remove. Just use temp-buffer-show-hook.
13334 * newcomment.el (comment-search-backward): Revert last change.
13337 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13339 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13341 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13342 through xargs, to avoid failure due to MS-Windows limitations on
13343 command-line length.
13345 2013-06-06 Glenn Morris <rgm@gnu.org>
13347 * font-lock.el (lisp-font-lock-keywords-2):
13348 Treat user-error like error.
13350 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13351 (byte-compile-backward-char, byte-compile-backward-word):
13352 Handle explicit nil arguments. (Bug#14565)
13354 2013-06-05 Alan Mackenzie <acm@muc.de>
13356 * isearch.el (isearch-allow-prefix): New user option.
13357 (isearch-other-meta-char): Don't exit isearch when a prefix
13358 argument is typed whilst `isearch-allow-prefix' is non-nil.
13361 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13363 * autorevert.el (auto-revert-notify-handler): Use memq.
13364 Hide assertion failure.
13366 * skeleton.el: Use cl-lib.
13367 (skeleton-further-elements): Use defvar-local.
13368 (skeleton-insert): Use cl-progv.
13370 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13372 * progmodes/prog-mode.el (prog-prettify-symbols)
13373 (prog-prettify-install): Update docstrings.
13375 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13377 * simple.el: Move all the prog-mode code to prog-mode.el.
13378 * progmodes/prog-mode.el: New file.
13379 * loadup.el: Add prog-mode.el.
13381 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13383 * simple.el (prog-prettify-symbols): Add version.
13384 (prog-prettify-install): Add convenience function to prettify symbols.
13386 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13387 (perl--augmented-font-lock-keywords-1)
13388 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13389 variables and use it.
13391 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13392 (cfengine3-mode): Remove unneeded variable and use it.
13394 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13395 (lisp--augmented-font-lock-keywords-1)
13396 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13397 Remove unneeded variables and use it.
13399 2013-06-05 João Távora <joaotavora@gmail.com>
13401 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13402 to point when opening the connection. (Bug#14380)
13404 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13406 * subr.el (load-history-regexp, load-history-filename-element)
13407 (eval-after-load, after-load-functions, do-after-load-evaluation)
13408 (eval-next-after-load, display-delayed-warnings)
13409 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13410 definition of save-match-data.
13411 (overriding-local-map): Remove accidental obsolescence declaration.
13413 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13415 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13417 Generalize symbol prettify support to prog-mode and implement it
13418 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13419 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13420 (prog--prettify-font-lock-compose-symbol)
13421 (prog-prettify-font-lock-symbols-keywords): New variables and
13422 functions to support symbol prettification.
13423 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13424 (lisp--augmented-font-lock-keywords-1)
13425 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13426 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13427 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13428 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13429 Implement prettify of -> => :: strings.
13430 * progmodes/perl-mode.el (perl-prettify-symbols)
13431 (perl--font-lock-compose-symbol)
13432 (perl--font-lock-symbols-keywords): Move to prog-mode.
13433 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13434 (perl-font-lock-keywords-1)
13435 (perl-font-lock-keywords-2): Remove explicit prettify support.
13436 (perl--augmented-font-lock-keywords)
13437 (perl--augmented-font-lock-keywords-1)
13438 (perl--augmented-font-lock-keywords-2, perl-mode):
13439 Implement prettify support.
13441 2013-06-05 Leo Liu <sdl.web@gmail.com>
13443 Re-implement SMIE matching block highlight using
13444 show-paren-data-function. (Bug#14395)
13445 * emacs-lisp/smie.el (smie-matching-block-highlight)
13446 (smie--highlight-matching-block-overlay)
13447 (smie--highlight-matching-block-lastpos)
13448 (smie-highlight-matching-block)
13449 (smie-highlight-matching-block-mode): Remove.
13450 (smie--matching-block-data-cache): New variable.
13451 (smie--matching-block-data): New function.
13452 (smie-setup): Use smie--matching-block-data for
13453 show-paren-data-function.
13455 * progmodes/octave.el (octave-mode-menu): Fix.
13456 (octave-find-definition): Skip garbage lines.
13458 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13460 Fix compilation error with simultaneous dynamic+lexical scoping.
13461 Add warning when a defvar appears after the first let-binding.
13462 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13463 (byte-compile-close-variables): Initialize it.
13464 (byte-compile--declare-var): New function.
13465 (byte-compile-file-form-defvar)
13466 (byte-compile-file-form-define-abbrev-table)
13467 (byte-compile-file-form-custom-declare-variable): Use it.
13468 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13469 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13470 (byte-compile-bind): Handle dynamic bindings that shadow
13472 (byte-compile-unbind): Make arg non-optional.
13473 (byte-compile-let): Simplify.
13474 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13475 (cconv--analyse-function, cconv-analyse-form): Populate it.
13476 Protect byte-compile-bound-variables to limit the scope of defvars.
13477 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13478 Remove unneeded rule for `declare'.
13480 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13481 so as to avoid depending on cl-adjoin at run-time.
13482 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13484 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13485 (macroexp--warn-and-return): Use it.
13487 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13489 * subr.el: Convert to lexical binding.
13490 (overriding-local-map): Make obsolete.
13491 (add-to-list): Doc fix. Add compiler macro.
13492 (read-key): Swap values of local maps.
13494 2013-06-05 Leo Liu <sdl.web@gmail.com>
13496 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13498 2013-06-04 Leo Liu <sdl.web@gmail.com>
13500 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13501 (compilation-auto-jump): Suppress the "Mark set" message to give
13502 way to exit message.
13504 2013-06-04 Alan Mackenzie <acm@muc.de>
13506 Remove faulty optimisation from indentation calculation.
13507 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13508 search limit based on 2000 characters back from indent-point.
13510 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13512 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13514 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13516 * emacs-lisp/lisp.el: Use lexical-binding.
13517 (lisp--local-variables-1, lisp--local-variables): New functions.
13518 (lisp--local-variables-completion-table): New var.
13519 (lisp-completion-at-point): Use it complete let-bound vars.
13521 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13522 eagerly (bug#14422).
13524 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13526 * autorevert.el (auto-revert-notify-enabled)
13527 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13528 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13529 (auto-revert-notify-handler): Handle also gfilenotify.
13531 * subr.el (file-notify-handle-event): New defun. Replacing ...
13532 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13535 2013-06-03 Juri Linkov <juri@jurta.org>
13537 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13538 `M-s h .'. (Bug#14427)
13540 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13541 command `hi-lock-face-symbol-at-point'.
13542 (hi-lock-face-symbol-at-point): New command.
13543 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13544 (hi-lock-menu): Add `highlight-symbol-at-point'.
13545 (hi-lock-mode): Doc fix.
13547 * isearch.el (isearch-forward-symbol-at-point): New command.
13548 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13549 (isearch-highlight-regexp): Add a regexp which matches
13550 words/symbols for word/symbol mode.
13552 * subr.el (find-tag-default-bounds): New function with the body
13553 mostly moved from `find-tag-default'.
13554 (find-tag-default): Move most code to `find-tag-default-bounds',
13555 call it and apply `buffer-substring-no-properties' afterwards.
13557 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13559 * eshell/em-term.el (eshell-term-initialize):
13560 Use `cl-intersection' rather than `intersection'.
13562 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13564 * vc/log-view.el: Doc fix.
13565 (log-view-mode-map): Copy keymap from `special-mode-map'.
13567 2013-06-02 Eric Ludlam <zappo@gnu.org>
13569 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13570 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13571 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13572 (eieio-unbound, eieio-default-superclass)
13573 (eieio--define-field-accessors, method-static, method-before)
13574 (method-primary, method-after, method-num-lists)
13575 (method-generic-before, method-generic-primary)
13576 (method-generic-after, method-num-slots)
13577 (eieio-specialized-key-to-generic-key)
13578 (eieio--check-type, class-v, class-p)
13579 (eieio-class-name, define-obsolete-function-alias)
13580 (eieio-class-parents-fast, eieio-class-children-fast)
13581 (same-class-fast-p, class-constructor, generic-p)
13582 (generic-primary-only-p, generic-primary-only-one-p)
13583 (class-option-assoc, class-option, eieio-object-p)
13584 (class-abstract-p, class-method-invocation-order)
13585 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13586 (eieio-class-un-autoload, eieio-defclass)
13587 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13588 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13589 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13590 (eieio-defgeneric-reset-generic-form)
13591 (eieio-defgeneric-form-primary-only)
13592 (eieio-defgeneric-reset-generic-form-primary-only)
13593 (eieio-defgeneric-form-primary-only-one)
13594 (eieio-defgeneric-reset-generic-form-primary-only-one)
13595 (eieio-unbind-method-implementations)
13596 (eieio--defmethod, eieio--typep)
13597 (eieio-perform-slot-validation, eieio-validate-slot-value)
13598 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13599 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13600 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13601 (eieio-slot-name-index, eieio-class-slot-name-index)
13602 (eieio-set-defaults, eieio-initarg-to-attribute)
13603 (eieio-attribute-to-initarg, eieio-c3-candidate)
13604 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13605 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13606 (eieio-class-precedence-list, eieio-generic-call-methodname)
13607 (eieio-generic-call-arglst, eieio-generic-call-key)
13608 (eieio-generic-call-next-method-list)
13609 (eieio-pre-method-execution-functions, eieio-generic-call)
13610 (eieio-generic-call-primary-only, eieiomt-method-list)
13611 (eieiomt-optimizing-obarray, eieiomt-install)
13612 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13613 (eieio-generic-form, eieio-defmethod, make-obsolete)
13614 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13615 (defclass): Remove `eval-and-compile' from macro.
13616 (call-next-method, shared-initialize): Instead of using
13617 `scoped-class' variable, use new eieio--scoped-class, and
13618 eieio--with-scoped-class.
13619 (initialize-instance): Rename local variable 'scoped-class' to
13620 'this-class' to remove ambiguitity from old global.
13622 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13624 (eieio--scoped-class-stack): New variable.
13625 (eieio--scoped-class): New fcn.
13626 (eieio--with-scoped-class): New scoping macro.
13627 (eieio-defclass): Use pushnew instead of add-to-list.
13628 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13629 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13630 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13631 `scoped-class' variable, use new eieio--scoped-class, and
13632 eieio--with-scoped-class.
13634 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13636 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13638 * eshell/esh-ext.el (eshell-external-command): Pass args to
13639 `eshell-find-interpreter'.
13640 (eshell-find-interpreter): Add new second parameter ARGS.
13642 * eshell/em-script.el (eshell-script-initialize): Add second arg
13643 to the function added as MATCH to `eshell-interpreter-alist'.
13645 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13646 the function added as MATCH to `eshell-interpreter-alist'.
13648 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13649 (eshell-visual-options): New defcustom.
13650 (eshell-escape-control-x): Adapt docstring.
13651 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13652 `eshell-visual-options' in addition to `eshell-visual-commands'.
13653 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13655 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13657 * progmodes/python.el (python-indent-block-enders): Add break,
13658 continue and raise keywords.
13660 2013-06-01 Glenn Morris <rgm@gnu.org>
13662 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13664 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13665 * progmodes/cc-cmds.el (delete-forward-p):
13666 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13667 * progmodes/cc-engine.el (buffer-syntactic-context):
13668 * progmodes/cc-fonts.el (face-property-instance):
13669 * progmodes/cc-mode.el (set-keymap-parents):
13670 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13671 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13672 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13673 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13674 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13676 * progmodes/cc-vars.el (other): Emacs has this widget since
13677 at least 21.1, so don't (re)define it.
13679 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13680 Replace the obsolete alias pcomplete-arg-quote-list.
13682 2013-06-01 Leo Liu <sdl.web@gmail.com>
13684 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13685 punctuation syntax.
13686 (inferior-octave-minimal-columns)
13687 (inferior-octave-last-column-width): New variables.
13688 (inferior-octave-track-window-width-change): New function.
13689 (inferior-octave-mode): Adjust column width so that Octave output,
13690 for example from 'ls', can fit into the window nicely.
13692 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13694 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13695 Highlight expansions inside regexp literals.
13697 2013-05-31 Glenn Morris <rgm@gnu.org>
13699 * obsolete/sym-comp.el (symbol-complete):
13700 Replace obsolete completion-annotate-function.
13702 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13704 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13706 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13707 New function, checks if point is inside a literal that allows
13708 expression expansion.
13709 (ruby-syntax-propertize-expansion): Use it.
13710 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13713 2013-05-30 Juri Linkov <juri@jurta.org>
13715 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13717 (isearch-invisible): New variable.
13718 (isearch-forward): Doc fix.
13719 (isearch-mode): Set `isearch-invisible'
13720 to the value of `search-invisible'.
13721 (isearch-toggle-case-fold): Doc fix.
13722 (isearch-toggle-invisible): New command.
13723 (isearch-query-replace): Let-bind `search-invisible'
13724 to the value of `isearch-invisible'.
13725 (isearch-search): Use `isearch-invisible' instead of
13726 `search-invisible'. Let-bind `search-invisible'
13727 to the value of `isearch-invisible'. (Bug#11378)
13729 2013-05-30 Juri Linkov <juri@jurta.org>
13731 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13732 call when `query-flag' is nil and `search-invisible' is non-nil.
13735 2013-05-30 Glenn Morris <rgm@gnu.org>
13737 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13739 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13740 (cc-require): Suppress spurious "noruntime" warnings.
13741 (cc-require-when-compile): Use fboundp, for sake of compiler.
13743 * progmodes/cc-mode.el: Move load of cc-vars before that of
13744 cc-langs (which in turn loads cc-vars), to quieten compiler.
13746 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13748 * paren.el: Simplify the code.
13749 (show-paren-mode): Always start the timer.
13750 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13751 (show-paren--overlay, show-paren--overlay-1): Rename from
13752 show-paren-overlay and show-paren-overlay-1, and initialize to an
13753 overlay rather than to nil.
13754 (show-paren-function): Misc cleanup and simplifications.
13756 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13758 * paren.el (show-paren-data-function): New hook.
13759 (show-paren--default): New function, extracted from show-paren-function.
13760 (show-paren-function): Use show-paren-data-function.
13762 2013-05-30 Glenn Morris <rgm@gnu.org>
13764 * ielm.el (ielm-map, ielm-complete-symbol):
13765 Use completion-at-point rather than obsolete functions.
13766 (inferior-emacs-lisp-mode): Doc fix.
13767 Set completion-at-point-functions, rather than
13768 comint-dynamic-complete-functions.
13770 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13771 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13772 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13774 * image.el (image-animated-p): Tweak definition.
13776 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13777 (rlogin-process-connection-type): Tweak default. Add set-after.
13778 (rlogin-host): Doc fix.
13779 (rlogin): Tweak prompt.
13780 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13782 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13783 * progmodes/tcl.el (inferior-tcl-mode-map):
13784 Use completion-at-point rather than obsolete alias.
13786 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13788 * minibuffer.el (read-file-name-completion-ignore-case):
13789 Move before completion--in-region, for eager macro expansion.
13791 2013-05-29 Juri Linkov <juri@jurta.org>
13793 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13794 for total count of matching lines. Add `global-matches' for total
13795 count of matches. Rename `matches' to `lines' for count of
13796 matching lines. Add `matches' for count of matches.
13797 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13798 to `prev-line' for line number of prev match endpt.
13799 Increment `matches' for every match. Print the number of
13800 matching lines in the header.
13801 (occur-context-lines): Rename `lines' to `curr-line'.
13802 Rename `prev-lines' to `prev-line'. (Bug#14017)
13804 2013-05-29 Juri Linkov <juri@jurta.org>
13806 * replace.el (perform-replace): Add `skip-read-only-count',
13807 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13808 Increment them for corresponding conditions and report the number
13809 of skipped occurrences in the final message. (Bug#11746)
13810 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13811 (replace-string, replace-regexp): Doc fix.
13813 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13815 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13817 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13818 prog-mode-map (bug#14504).
13820 2013-05-29 Leo Liu <sdl.web@gmail.com>
13822 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13823 (octave-help): Small simplification.
13825 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13826 off the highlight first.
13828 2013-05-29 Glenn Morris <rgm@gnu.org>
13830 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13831 Handle idlwave-last-system-routine-info-cons-cell being nil.
13833 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13834 (idlwave-write-paths): Simplify via with-temp-buffer.
13836 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13837 * emulation/cua-rect.el: Also load cua-base at run time.
13839 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13840 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13841 (cperl-imenu-on-info): Require imenu.
13843 2013-05-28 Alan Mackenzie <acm@muc.de>
13845 Handle "capitalised keywords" correctly.
13846 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13848 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13850 * eshell/em-unix.el: Add -r option to cp.
13852 2013-05-28 Glenn Morris <rgm@gnu.org>
13854 * vc/vc-arch.el (vc-exec-after): Declare.
13855 (vc-switches): Autoload.
13856 * vc/vc-bzr.el: No need to require vc when compiling.
13857 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13858 (vc-resynch-buffer, vc-dir-refresh): Declare.
13859 (vc-setup-buffer, vc-switches): Autoload.
13860 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13861 (vc-resynch-buffer): Declare.
13862 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13863 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13864 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13865 (grep-read-regexp, grep-read-files, grep-expand-template)
13866 (vc-dir-refresh): Declare.
13867 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13868 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13869 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13870 * vc/vc-mtn.el (vc-exec-after): Declare.
13871 (vc-switches): Autoload.
13872 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13873 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13874 (vc-file-tree-walk): Declare.
13875 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13876 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13877 (vc-tag-precondition, vc-rename-master): Autoload.
13878 * vc/vc-svn.el (vc-exec-after): Declare.
13879 (vc-switches, vc-setup-buffer): Autoload.
13880 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13882 (vc-resynch-buffer): Declare.
13884 * obsolete/fast-lock.el (byte-compile-warnings):
13885 Don't warn about obsolete features in this obsolete file.
13887 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13888 Move definition before use.
13890 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13891 (dun-unix-verbs): Remove dun-zippy.
13892 (dun-zippy): Remove function.
13894 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13896 2013-05-27 Juri Linkov <juri@jurta.org>
13898 * replace.el (replace-search): New function with code moved out
13899 from `perform-replace'.
13900 (replace-highlight, replace-dehighlight): Move function definitions
13901 up closer to `replace-search'. (Bug#11746)
13903 2013-05-27 Juri Linkov <juri@jurta.org>
13905 * replace.el (perform-replace): Ignore invisible matches.
13906 In addition to checking `query-replace-skip-read-only', also
13907 filter out matches by calling `run-hook-with-args-until-failure'
13908 on `isearch-filter-predicates', and also check `search-invisible'
13909 for t or call `isearch-range-invisible'.
13910 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13912 2013-05-27 Juri Linkov <juri@jurta.org>
13914 * isearch.el (isearch-filter-predicates): Rename from
13915 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13916 (isearch-message-prefix): Display text from the property
13917 `isearch-message-prefix' of the currently active filters.
13918 (isearch-search): Don't compare `isearch-filter-predicate' with
13919 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13920 on `isearch-filter-predicates'. Also check `search-invisible' for t
13921 or call `isearch-range-invisible'.
13922 (isearch-filter-visible): Make obsolete.
13923 (isearch-lazy-highlight-search):
13924 Call `run-hook-with-args-until-failure' on
13925 `isearch-filter-predicates' and use `isearch-range-invisible'.
13927 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13928 `isearch-filter-predicates' instead of `funcall'ing
13929 `isearch-filter-predicate'.
13930 (Info-mode): Set `Info-isearch-filter' to
13931 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13933 * dired-aux.el (dired-isearch-filter-predicate-orig):
13935 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13936 (dired-isearch-filenames-end): Add and remove
13937 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13938 instead of changing the value of `isearch-filter-predicate'.
13939 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13940 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13941 Put property `isearch-message-prefix' to "filename " on
13942 `dired-isearch-filter-filenames'.
13944 * wdired.el (wdired-change-to-wdired-mode):
13945 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13946 locally instead of changing `isearch-filter-predicate'.
13947 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13949 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13951 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13952 return the commit hash (Bug#14459). Also set the
13953 `vc-git-detached' property.
13954 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13955 (vc-git-mode-line-string): Use the same help-echo format whether
13956 in detached mode or not, because we know the actual revision now.
13957 When in detached mode, shorten the revision to 7 chars.
13959 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13961 * emacs-lisp/easy-mmode.el (define-minor-mode):
13962 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13963 mode hook and provide a docstring.
13965 2013-05-27 Alan Mackenzie <acm@muc.de>
13967 Remove spurious syntax-table text properties inserted by C-y.
13968 * progmodes/cc-mode.el (c-after-change): Also clear hard
13969 syntax-table property with value nil.
13971 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13973 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13974 when reading the events; the buffer layout shall not be changed.
13976 2013-05-27 Leo Liu <sdl.web@gmail.com>
13978 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13980 (inferior-octave-directory-tracker): Automatically re-sync
13982 (octave-help): Improve handling of 'See also'.
13984 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13986 * doc-view.el: Minor naming convention tweaks.
13987 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13989 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13990 even if there's no `display' property yet (bug#14435).
13992 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13994 * subr.el (unmsys--file-name): Rename from reveal-filename.
13996 * Makefile.in (custom-deps, finder-data, autoloads)
13997 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13998 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13999 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14001 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14003 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14004 error-completion on the first 2 args of condition-case (bug#14446).
14007 2013-05-25 Leo Liu <sdl.web@gmail.com>
14009 * comint.el (comint-previous-matching-input): Do not flood the
14010 *Messages* buffer with trivial messages.
14012 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14014 * progmodes/flymake.el (flymake-nop): Don't return a string.
14015 (flymake-set-at): Fix typo.
14017 * simple.el (read--expression): New function, extracted from
14018 eval-expression. Set completion-at-point-functions (bug#14465).
14019 (eval-expression, eval-minibuffer): Use it.
14021 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14023 * progmodes/flymake.el (flymake-save-buffer-in-file)
14024 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14025 (flymake-selected-frame, flymake-log, flymake-ins-after)
14026 (flymake-set-at, flymake-get-buildfile-from-cache)
14027 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14028 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14029 Refine the doc string.
14030 (flymake-get-file-name-mode-and-masks): Reformat.
14031 (flymake-get-real-file-name-function): Fix a minor bug.
14033 2013-05-24 Juri Linkov <juri@jurta.org>
14035 * progmodes/grep.el (grep-mode-font-lock-keywords):
14036 Support =linenumber= format used by git-grep for lines with
14037 function names. (Bug#13549)
14039 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14041 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14042 0 after a semi-colon; it works better for smie-auto-fill.
14043 (octave--indent-new-comment-line): New function.
14044 (octave-indent-new-comment-line): Use it (indirectly).
14045 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14046 modify comment-line-break-function.
14048 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14049 (smie-setup): Use add-function to set it.
14051 2013-05-24 Sam Steingold <sds@gnu.org>
14053 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14054 argument (before the `interactive' argument).
14056 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14058 * image-mode.el (image-mode-winprops): Add winprops to
14059 image-mode-winprops-alist before running
14060 image-mode-new-window-functions.
14061 * doc-view.el (doc-view-new-window-function): Don't delay
14062 doc-view-goto-page via timers (bug#14435).
14064 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14066 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14067 (doc-view-desktop-save-buffer): New function.
14068 (doc-view-restore-desktop-buffer): New function.
14069 (desktop-buffer-mode-handlers):
14070 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14072 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14073 `desktop-save-buffer' function.
14075 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14077 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14078 (tramp-gvfs-file-name-handler): Raise a user error when
14079 `tramp-gvfs-enabled' is nil.
14080 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14081 Do not raise a user error when loading package. (Bug#14447)
14083 * net/xesam.el: Move to obsolete/.
14085 2013-05-24 Glenn Morris <rgm@gnu.org>
14087 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14089 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14091 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14092 (Info-find-node, Man-getpage-in-background): Declare.
14094 * mail/unrmail.el (unrmail):
14095 Replace obsolete detect-coding-with-priority.
14097 * net/socks.el (socks-split-string): Use this rather than split-string.
14098 (socks-nslookup-host): Update for above change.
14099 (dynamic-choice, s5-dynamic-choice-match)
14100 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14101 Comment out unused code.
14103 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14104 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14105 (gud-tooltip-echo-area): Make obsolete.
14106 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14108 * progmodes/js.el (js--optimize-arglist): Declare.
14110 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14112 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14113 (ediff-window-C): Declare.
14115 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14116 Tweak requires to silence compiler.
14118 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14119 (he-search-string, he-tried-table, he-expand-list)
14120 (he-init-string, he-string-member, he-substitute-string)
14121 (he-reset-string): Declare.
14123 * obsolete/options.el (list-options): Use custom-variable-p,
14124 rather than obsolete alias.
14126 2013-05-23 Sam Steingold <sds@gnu.org>
14128 * simple.el (shell-command-on-region): Pass the `replace' argument
14129 down to `call-process-region' to comply with the doc as reported on
14130 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14132 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14134 * emacs-lisp/smie.el (smie-indent-forward-token)
14135 (smie-indent-backward-token): Handle string tokens (bug#14381).
14137 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14139 * ielm.el (ielm-menu): New menu.
14140 (inferior-emacs-lisp-mode): Set comment-start.
14142 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14144 * textmodes/reftex.el (reftex-ref-style-toggle):
14145 Fix deactivate action.
14147 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14148 Add cleveref macros.
14150 * textmodes/reftex-parse.el
14151 (reftex-locate-bibliography-files): Accept options for
14152 bibliography commands.
14153 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14154 Add addbibresource. Basic Biblatex support.
14156 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14158 * net/tramp-gvfs.el (top):
14159 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14160 when loading package. (Bug#14447)
14162 2013-05-23 Glenn Morris <rgm@gnu.org>
14164 * progmodes/js.el: No need to load comint when compiling.
14165 (ring-insert, comint-send-string, comint-send-input)
14166 (comint-last-input-end, ido-chop): Declare.
14168 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14169 * vc/ediff-mult.el: Adjust requires.
14170 (ediff-directories-internal, ediff-directory-revisions-internal)
14171 (ediff-patch-file-internal): Declare.
14172 * vc/ediff-ptch.el: Adjust requires.
14173 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14174 (ediff-find-file): Autoload.
14175 * vc/ediff-util.el: No need to load ediff when compiling.
14176 (ediff-regions-internal): Declare.
14177 * vc/ediff-wind.el: Adjust requires.
14178 (ediff-compute-toolbar-width): Define when compiling.
14179 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14180 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14181 (dired-get-filename, dired-get-marked-files)
14182 (ediff-last-dir-patch, ediff-patch-default-directory)
14183 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14184 (ediff-patch-buffer-internal): Declare.
14186 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14187 (ispell-process, ispell-buffer-local-words, lm-summary)
14188 (lm-section-start, lm-section-end): Declare.
14189 (checkdoc-ispell-init): Simplify.
14191 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14192 (he-string-member, he-reset-string, he-substitute-string): Declare.
14194 * eshell/em-ls.el: Adjust requires.
14195 (eshell-glob-regexp): Declare.
14196 * eshell/em-tramp.el: Adjust requires.
14197 (eshell-parse-command): Autoload.
14198 * eshell/em-xtra.el: Adjust requires.
14199 (eshell-parse-command): Autoload.
14200 * eshell/esh-ext.el: Adjust requires.
14201 (eshell-parse-command, eshell-close-handles): Autoload.
14202 * eshell/esh-io.el: Adjust requires.
14203 (eshell-output-filter): Autoload.
14204 * eshell/esh-util.el: No need to load tramp when compiling.
14205 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14207 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14208 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14209 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14210 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14211 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14212 * eshell/esh-opt.el, eshell/esh-proc.el:
14213 * eshell/esh-var.el: Adjust requires.
14214 * eshell/eshell.el: Do not require esh-util twice.
14215 (eshell-add-input-to-history): Declare.
14216 (eshell-command): Check history module is active before using it.
14218 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14220 2013-05-22 Leo Liu <sdl.web@gmail.com>
14222 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14224 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14226 * autorevert.el (auto-revert-notify-add-watch)
14227 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14228 it indicates changes in file modification time.
14230 2013-05-22 Glenn Morris <rgm@gnu.org>
14232 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14233 Always delete the autoloaded function from the noruntime and
14234 unresolved functions lists.
14236 * allout.el: No need to load epa, epg, overlay when compiling.
14237 (epg-context-set-passphrase-callback, epg-list-keys)
14238 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14239 (epg-key-user-id-list): Declare.
14241 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14242 (viper-set-parsing-style-toggling-macro)
14243 (viper-set-emacs-state-searchstyle-macros):
14244 Use called-interactively-p on Emacs.
14245 (viper-looking-back): Make it an obsolete alias. Update callers.
14246 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14247 Use looking-back rather than viper-looking-back.
14248 (viper-tmp-insert-at-eob, viper-enlarge-region)
14249 (viper-read-string-with-history, viper-register-to-point)
14250 (viper-append-to-register, viper-change-state-to-vi)
14251 (viper-backward-char-carefully, viper-forward-char-carefully)
14252 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14253 (viper-change-state-to-emacs): Declare.
14254 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14255 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14256 * emulation/viper-mous.el: Do not load viper-cmd.
14257 (viper-backward-char-carefully, viper-forward-char-carefully)
14258 (viper-forward-word, viper-adjust-window): Declare.
14260 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14262 * progmodes/idlw-help.el (idlwave-help-fontify):
14263 Use called-interactively-p.
14265 * term/w32console.el (w32-get-console-codepage)
14266 (w32-get-console-output-codepage): Declare.
14268 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14269 Remove unnecessary declarations.
14270 (dframe-message): Doc fix.
14272 * info.el (dframe-select-attached-frame, dframe-current-frame):
14275 * speedbar.el (speedbar-message): Make it an obsolete alias.
14276 Update all callers.
14277 (speedbar-with-attached-buffer)
14278 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14279 (speedbar-with-writable): Use backquote.
14280 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14281 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14282 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14283 rather than speedbar- aliases.
14284 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14285 (speedbar-make-specialized-keymap, speedbar-insert-button)
14286 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14287 (speedbar-do-function-pointer): Declare.
14288 (rmail-speedbar-button, rmail-speedbar-find-file)
14289 (rmail-speedbar-move-message):
14290 Use dframe-with-attached-buffer rather than speedbar- alias.
14291 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14292 (dframe-message, speedbar-make-specialized-keymap)
14293 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14294 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14295 (speedbar-insert-button, dframe-select-attached-frame)
14296 (dframe-maybee-jump-to-attached-frame)
14297 (speedbar-change-initial-expansion-list)
14298 (speedbar-previously-used-expansion-list-name): Declare.
14299 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14300 Use dframe-message, dframe-with-attached-buffer rather than
14302 (gud-sentinel): Silence compiler.
14303 * progmodes/vhdl-mode.el (speedbar-refresh)
14304 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14305 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14306 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14307 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14308 (speedbar-file-lists, speedbar-make-tag-line)
14309 (speedbar-line-directory, speedbar-goto-this-file)
14310 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14311 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14312 (speedbar-make-button, speedbar-reset-scanners)
14313 (speedbar-files-item-info, speedbar-line-text)
14314 (speedbar-find-file-in-frame, speedbar-set-timer)
14315 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14316 (speedbar-with-writable): Do not (re)define it.
14317 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14318 rather than speedbar- alias.
14320 2013-05-21 Leo Liu <sdl.web@gmail.com>
14322 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14324 (octave-mode): Tweak fill-nobreak-predicate.
14325 (inferior-octave-startup): Check process to avoid infinite loop.
14326 (inferior-octave): Pop to buffer first to show abornmal process
14329 2013-05-21 Glenn Morris <rgm@gnu.org>
14331 * printing.el (pr-menu-bar): Define when compiling.
14333 2013-05-21 Leo Liu <sdl.web@gmail.com>
14335 * progmodes/octave.el (octave-auto-fill): Remove.
14336 (octave-indent-new-comment-line): Improve.
14337 (octave-mode): Use auto fill mode through
14338 comment-line-break-function and fill-nobreak-predicate.
14339 (octave-goto-function-definition): Support DEFUN_DLD.
14340 (octave-beginning-of-defun): Small tweak.
14341 (octave-help): Show parent directory.
14343 2013-05-21 Glenn Morris <rgm@gnu.org>
14345 * files.el (dired-unmark):
14346 * progmodes/gud.el (gdb-input): Update declarations.
14348 * calculator.el (electric, ehelp): No need to load when compiling.
14349 (Electric-command-loop, electric-describe-mode): Declare.
14351 * doc-view.el (doc-view-current-converter-processes): Move before use.
14353 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14354 Move MODE-set-explicitly definition before use.
14356 * international/mule-diag.el (mule-diag):
14357 Don't use obsolete window-system-version.
14359 * mail/feedmail.el (smtpmail): No need to load when compiling.
14360 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14362 * mail/mail-utils.el (rfc822): No need to load when compiling.
14363 (rfc822-addresses): Autoload it.
14364 (mail-strip-quoted-names): Trivial simplification.
14366 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14367 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14369 * net/snmp-mode.el (tempo): Don't duplicate requires.
14371 * progmodes/prolog.el (info): No need to load when compiling.
14372 (comint): Require before shell requires it.
14373 (Info-goto-node): Autoload it.
14374 (Info-follow-nearest-node): Declare.
14375 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14377 * textmodes/artist.el (picture-mode-exit): Declare.
14379 * textmodes/reftex-parse.el (reftex-parse-from-file):
14380 Trivial rewrite so the compiler can parse it better.
14382 2013-05-20 Leo Liu <sdl.web@gmail.com>
14384 * progmodes/octave.el (octave-help-mode-map)
14385 (octave-help-mode-finish-hook): New variables.
14386 (octave-help-mode, octave-help-mode-finish): New functions.
14387 (octave-help): Use octave-help-mode.
14389 2013-05-20 Glenn Morris <rgm@gnu.org>
14391 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14393 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14395 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14396 start at point, so that expansion starting right after opening
14397 slash in a regexp is recognized.
14398 (ruby-syntax-before-regexp-re): New defvar, extracted from
14399 ruby-syntax-propertize-function. Since the value of this regexp
14400 is looked up at runtime now, we should be able to turn
14401 `ruby-syntax-methods-before-regexp' into a defcustom later.
14402 (ruby-syntax-propertize-function): Split regexp matching into two
14403 parts, for opening and closing slashes. That allows us to skip
14404 over string interpolations and support multiline regexps.
14405 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14406 for them, which calls `ruby-syntax-propertize-expansion'.
14407 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14408 call to `ruby-syntax-propertize-function'.
14409 (ruby-syntax-propertize-expansion): Extracted from
14410 `ruby-syntax-propertize-expansions'. Handles one expansion.
14411 (ruby-syntax-propertize-percent-literal): Leave point right after
14412 the percent symbol, so that the expression expansion rule can
14413 propertize the contents.
14414 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14416 (ruby-syntax-propertize-expansions): Remove.
14418 2013-05-18 Juri Linkov <juri@jurta.org>
14420 * man.el (Man-default-man-entry): Remove `-' from the end
14421 of the default value. (Bug#14400)
14423 2013-05-18 Glenn Morris <rgm@gnu.org>
14425 * comint.el (comint-password-prompt-regexp):
14426 Allow "password for XXX" where XXX contains colons (eg https://...).
14428 2013-05-18 Leo Liu <sdl.web@gmail.com>
14430 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14431 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14432 (octave-source-directories): Don't check process.
14433 (octave-source-directories, octave-find-definition): Doc fix.
14435 2013-05-18 Glenn Morris <rgm@gnu.org>
14437 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14438 Remove backspace/delete bindings. (Bug#14392)
14440 * cus-dep.el (custom-make-dependencies): Sort the output.
14441 (custom-versions-load-alist): Convert comment to doc.
14443 2013-05-17 Leo Liu <sdl.web@gmail.com>
14445 * newcomment.el (comment-search-backward): Stricter in finding
14446 comment start. (Bug#14303)
14448 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14449 (octave-comment-start-skip): Properly anchored.
14451 2013-05-17 Leo Liu <sdl.web@gmail.com>
14453 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14454 Clean up when turned off. (Bug#14395)
14455 (smie--highlight-matching-block-overlay): No longer buffer-local.
14456 (smie-highlight-matching-block): Adjust.
14458 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14460 Doc string fix for "nanoseconds" (Bug#14406).
14461 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14462 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14464 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14466 * calc/calc-units.el (math-extract-units): Preserve powers
14469 2013-05-17 Leo Liu <sdl.web@gmail.com>
14471 * subr.el (delete-consecutive-dups): New function.
14472 * ido.el (ido-set-matches-1): Use it.
14473 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14474 * ido.el (ido-remove-consecutive-dups): Remove.
14476 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14478 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14479 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14480 regexp-opt's `words'.
14482 2013-05-16 Leo Liu <sdl.web@gmail.com>
14484 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14485 (smie--highlight-matching-block-overlay)
14486 (smie--highlight-matching-block-lastpos)
14487 (smie--highlight-matching-block-timer): New variables.
14488 (smie-highlight-matching-block): New function.
14489 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14490 (smie-setup): Conditionally enable smie-blink-matching-open.
14492 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14494 Sync with upstream verilog-mode r840.
14495 * progmodes/verilog-mode.el (verilog-mode-version)
14496 (verilog-mode-release-date): Update.
14497 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14498 (verilog-sig-tieoff): Fix string error on
14499 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14500 (verilog-read-decls): Fix parameters confusing
14501 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14503 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14505 * subr.el (reveal-filename): New function.
14507 * loadup.el: Compute Emacs executable versions on MS-Windows,
14508 where executables have the .exe extension. Add a hard link
14509 emacs-XX.YY.ZZ.exe on MS-Windows.
14511 * Makefile.in (XARGS_LIMIT): New variable.
14512 (custom-deps, finder-data, autoloads)
14513 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14514 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14515 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14516 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14518 2013-05-16 Leo Liu <sdl.web@gmail.com>
14520 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14521 (octave-mode-menu, octave-mode-map): Remove its uses.
14523 2013-05-16 Reto Zimmermann <reto@gnu.org>
14525 Sync with upstream vhdl mode v3.34.2.
14526 * progmodes/vhdl-mode.el: Use `push' throughout.
14527 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14528 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14529 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14530 (vhdl-actual-generic-name): New option to derive actual generic name.
14531 (vhdl-port-paste-signals): Replace formal by actual generics.
14532 (vhdl-beautify): New name for old group vhdl-align. Update users.
14533 (vhdl-beautify-options): New option.
14534 (vhdl-last-input-event): New compat alias. Use throughout.
14535 (vhdl-goto-line): Replace user level function `goto-line'.
14536 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14537 vhdl-fix-statement-buffer.
14538 (vhdl-create-mode-menu): Add some entries.
14539 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14540 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14541 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14542 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14543 to force statements on one line.
14544 (vhdl-remove-trailing-spaces-region):
14545 New, split from vhdl-remove-trailing-spaces.
14546 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14547 Respect vhdl-beautify-options.
14548 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14549 (vhdl-update-sensitivity-list): Not add with index if exists without.
14550 Not include array index with signal. Ignore keywords in comments.
14551 (vhdl-get-visible-signals): Regexp tweaks.
14552 (vhdl-template-component-inst): Handle empty library.
14553 (vhdl-template-type): Add template for 'enum' type.
14554 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14555 Use vhdl-replace-string.
14556 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14557 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14558 (vhdl-speedbar-initialize): Update for above name change.
14559 (vhdl-compose-wire-components): Fix in handling of constants.
14560 (vhdl-error-regexp-emacs-alist): New variable.
14561 (vhdl-error-regexp-add-emacs): New function;
14562 adds support for new compile.el (Emacs 22+)
14563 (vhdl-generate-makefile-1): Change target order for single lib. units.
14564 Allow use of absolute file names.
14566 2013-05-16 Leo Liu <sdl.web@gmail.com>
14568 * simple.el (prog-indent-sexp): Indent enclosing defun.
14570 2013-05-15 Glenn Morris <rgm@gnu.org>
14572 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14573 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14574 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14575 (whitespace-highlight): Move to whitespace group.
14577 * comint.el (comint-source):
14578 * pcmpl-linux.el (pcmpl-linux):
14579 * shell.el (shell-faces):
14580 * eshell/esh-opt.el (eshell-opt):
14581 * international/ccl.el (ccl): Remove empty custom groups.
14583 * completion.el (dynamic-completion-mode):
14584 * jit-lock.el (jit-lock-debug-mode):
14585 * minibuffer.el (completion-in-region-mode):
14586 * type-break.el (type-break-mode-line-message-mode)
14587 (type-break-query-mode):
14588 * emulation/tpu-edt.el (tpu-edt-mode):
14589 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14590 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14591 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14593 * term/xterm.el (xterm): Change parent group to terminals.
14595 * master.el (master): Remove empty custom group.
14596 (master-mode): Remove unused :group argument.
14597 * textmodes/refill.el (refill): Remove empty custom group.
14598 (refill-mode): Remove unused :group argument.
14600 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14602 * cus-dep.el: Provide a feature.
14603 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14604 Don't mistakenly ignore files whose basenames match a basename
14605 from preloaded-file-list (eg cedet/ede/simple.el).
14606 Add a fallback method for getting :group.
14608 2013-05-15 Juri Linkov <juri@jurta.org>
14610 * isearch.el (isearch-char-by-name): Rename from
14611 `isearch-insert-char-by-name'. Doc fix.
14612 (isearch-forward): Mention `isearch-char-by-name' in
14613 the docstring. (Bug#13348)
14615 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14616 `exit-minibuffer' instead of
14617 `isearch-nonincremental-exit-minibuffer'.
14618 (isearch-edit-string): Remove mention of
14619 `isearch-nonincremental-exit-minibuffer' from docstring.
14620 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14621 (isearch-forward-exit-minibuffer)
14622 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14624 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14626 * loadup.el: Just use unversioned DOC.
14628 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14629 literals as extending to EOB.
14630 (nxml-last-fontify-end): Remove unused variable.
14631 (nxml-after-change1): Use with-silent-modifications.
14632 (nxml-extend-after-change-region): Simplify.
14633 (nxml-extend-after-change-region1): Remove function.
14634 (nxml-after-change1): Don't adjust for dependent regions.
14635 (nxml-fontify-matcher): Simplify.
14636 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14637 (xmltok-add-dependent): Remove function.
14638 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14639 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14640 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14641 unclosed <[[, <?, comment, and other literals as extending to EOB.
14642 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14643 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14645 (rng-do-some-validation-1): Don't mark dependent regions.
14646 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14647 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14648 (nxml-clear-dependent-regions): Remove functions.
14649 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14650 (nxml-ensure-scan-up-to-date):
14651 Don't clear&mark dependent regions.
14653 2013-05-15 Leo Liu <sdl.web@gmail.com>
14655 * progmodes/octave.el (octave-goto-function-definition):
14656 Improve and fix callers.
14658 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14660 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14661 the setter (bug#14387).
14663 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14664 surrounding group (bug#14402).
14666 2013-05-14 Juri Linkov <juri@jurta.org>
14668 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14671 2013-05-14 Glenn Morris <rgm@gnu.org>
14673 * progmodes/f90.el (f90-imenu-generic-expression):
14674 Fix typo in 2013-05-08 change. (Bug#14402)
14676 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14678 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14679 Remove signals for which replies are never received.
14681 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14683 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14684 (gdb-handler-alist, gdb-handler-number): Remove variables.
14685 (gdb-handler-list): New variable.
14686 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14687 (gdb-pending-handler-p, gdb-handle-reply)
14688 (gdb-remove-all-pending-triggers): New functions.
14689 (gdb-discard-unordered-replies): New defcustom.
14690 (gdb-handler): New defstruct.
14691 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14692 instead of gdb-pending-triggers. Update docstring.
14693 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14694 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14695 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14696 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14697 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14698 (gdb-frame-handler): Pending triggers are now automatically managed.
14699 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14701 (gdb-input): Automatically handles pending triggers. Update docstring.
14702 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14703 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14705 (gdb-done-or-error): Now use gdb-handle-reply.
14707 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14709 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14712 2013-05-14 Glenn Morris <rgm@gnu.org>
14714 * subr.el (user-emacs-directory-warning): New option.
14715 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14717 2013-05-14 Leo Liu <sdl.web@gmail.com>
14719 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14721 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14722 (octave-font-lock-texinfo-comment): Fix invalid search bound
14723 error: wrong side of point.
14725 2013-05-14 Glenn Morris <rgm@gnu.org>
14727 * progmodes/flymake.el (flymake-xml-program): New option.
14728 (flymake-xml-init): Use it.
14730 * term/xterm.el: Provide a feature.
14732 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14734 2013-05-13 Glenn Morris <rgm@gnu.org>
14736 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14737 Add compat aliases as a hack workaround. (Bug#14384)
14739 2013-05-13 Leo Liu <sdl.web@gmail.com>
14741 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14743 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14745 (octave-comment-start-skip): Include %!.
14746 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14748 2013-05-12 Leo Liu <sdl.web@gmail.com>
14750 * progmodes/octave.el (inferior-octave-startup): Store the value
14751 of __octave_srcdir__ for octave-source-directories.
14752 (inferior-octave-check-process): New function refactored out of
14753 inferior-octave-send-list-and-digest.
14754 (octave-source-directories)
14755 (octave-find-definition-filename-function): New variables.
14756 (octave-source-directories)
14757 (octave-find-definition-default-filename): New functions.
14758 (octave-find-definition): Improve to find functions implemented in C++.
14760 2013-05-12 Glenn Morris <rgm@gnu.org>
14762 * calendar/diary-lib.el (diary-outlook-format-1):
14763 Don't include dayname in the output. (Bug#14349)
14765 2013-05-11 Glenn Morris <rgm@gnu.org>
14767 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14769 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14770 Treat cc-provide like provide.
14772 2013-05-11 Kevin Ryde <user42@zip.com.au>
14774 * cus-dep.el (custom-make-dependencies):
14775 Use generated-autoload-load-name for the sake of files such
14776 such cedet/semantic/bovine/c.el, where the base file name
14777 is not in load-path. (Bug#5277)
14779 2013-05-11 Glenn Morris <rgm@gnu.org>
14781 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14784 2013-05-11 Leo Liu <sdl.web@gmail.com>
14786 * progmodes/octave.el (octave-indent-comment): Improve.
14787 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14788 (octave-eldoc-function-signatures, octave-eldoc-function):
14790 (octave-mode, inferior-octave-mode): Add eldoc support.
14792 2013-05-11 Richard Stallman <rms@gnu.org>
14794 * epa.el (epa-decrypt-file): Take output file name as argument
14795 and read it using `interactive'.
14797 2013-05-11 Leo Liu <sdl.web@gmail.com>
14799 * progmodes/octave.el (octave-beginning-of-line)
14800 (octave-end-of-line): Check before using up-list because it jumps
14801 out of more syntactic contructs since moving to smie.
14802 (octave-indent-comment): New function.
14803 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14804 (octave-begin-keywords, octave-end-keywords)
14805 (octave-reserved-words, octave-smie-bnf-table)
14806 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14808 2013-05-11 Glenn Morris <rgm@gnu.org>
14810 * faces.el (internal-face-x-get-resource):
14811 * frame.el (ns-display-monitor-attributes-list):
14812 * calc/calc-aent.el (math-to-radians-2):
14813 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14816 * calc/calc-menu.el: Make it loadable in isolation.
14818 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14819 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14820 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14821 (eudc-bbdb-query-internal): Require 'bbdb.
14823 * lpr.el (lpr-headers-switches):
14824 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14826 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14828 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14830 * term.el (term-set-escape-char): Make it idempotent.
14832 2013-05-10 Leo Liu <sdl.web@gmail.com>
14834 * progmodes/octave.el (inferior-octave-completion-table):
14835 No longer a function and all uses changed. Use cache to speed up
14836 completion due to bug#11906.
14837 (octave-beginning-of-defun): Re-write to be more general.
14839 2013-05-10 Glenn Morris <rgm@gnu.org>
14841 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14843 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14845 * comint.el (comint-redirect-send-command-to-process): Use :around
14846 rather than :override for comint-redirect-filter.
14847 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14848 Call it instead of comint-redirect-original-filter-function (which
14849 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14851 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14853 * frame.el (display-monitor-attributes-list): Add NS case.
14854 (ns-display-monitor-attributes-list): Declare.
14856 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14858 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14860 2013-05-09 Glenn Morris <rgm@gnu.org>
14862 * international/fontset.el (vertical-centering-font-regexp):
14863 Set standard-value.
14865 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14867 * bookmark.el (bookmark-search-delay):
14868 * cus-start.el (vertical-centering-font-regexp):
14869 * ps-mule.el (ps-mule-font-info-database-default):
14870 * ps-print.el (ps-default-fg, ps-default-bg):
14871 * type-break.el (type-break-good-break-interval):
14872 * whitespace.el (whitespace-indentation-regexp)
14873 (whitespace-space-after-tab-regexp):
14874 * emacs-lisp/testcover.el (testcover-1value-functions)
14875 (testcover-noreturn-functions, testcover-progn-functions)
14876 (testcover-prog1-functions):
14877 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14878 * eshell/em-glob.el (eshell-glob-translate-alist):
14879 * play/tetris.el (tetris-tty-colors):
14880 * progmodes/cpp.el (cpp-face-default-list):
14881 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14882 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14883 (idlwave-help-browser-generic-args):
14884 * progmodes/make-mode.el (makefile-special-targets-list):
14885 * progmodes/python.el (python-shell-virtualenv-path):
14886 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14887 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14888 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14889 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14890 * textmodes/reftex-vars.el (reftex-format-label-function):
14891 * textmodes/remember.el (remember-diary-file): Fix custom types.
14893 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14896 2013-05-09 Leo Liu <sdl.web@gmail.com>
14898 * progmodes/octave.el (inferior-octave-completion-at-point):
14899 Restore file completion. (Bug#14300)
14900 (inferior-octave-startup): Fix incorrect highlighting for the
14903 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14905 * progmodes/ruby-mode.el: First cut at SMIE support.
14906 (ruby-use-smie): New var.
14907 (ruby-smie-grammar): New constant.
14908 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14909 (ruby-smie--forward-token, ruby-smie--backward-token)
14910 (ruby-smie-rules): New functions.
14911 (ruby-mode-variables): Setup SMIE if applicable.
14913 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14915 * simple.el (line-move-visual): Signal beginning/end of buffer
14916 only if vertical-motion moved less than it was requested. Avoids
14917 silly incorrect error messages when there are display strings with
14918 multiple newlines at EOL.
14920 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14922 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14923 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14924 (prolog-char-quote-workaround):
14925 * progmodes/cperl-mode.el (cperl-under-as-char):
14926 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14928 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14930 (vhdl-mode-syntax-table-init): Remove.
14932 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14935 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14937 (ld-script-font-lock-keywords):
14938 Change regexps to use things like \_< and \_>.
14940 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14941 Change all regexps to use things like \_< and \_>.
14943 * progmodes/autoconf.el (autoconf-definition-regexp)
14944 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14945 Handle a _ with symbol syntax.
14946 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14948 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14949 Consolidate declaration.
14950 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14952 (ada-create-syntax-table): Remove.
14953 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14954 already has the right syntax nowadays.
14955 (ada-goto-next-word): Don't change the syntax of "_".
14957 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14960 2013-05-08 Sam Steingold <sds@gnu.org>
14962 * thingatpt.el (thing-at-point): Accept optional second argument
14963 NO-PROPERTIES to strip the text properties from the return value.
14964 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14965 to `thing-at-point' instead of stripping the properties ourselves.
14966 Also, when `thing-at-point' fails to find a url, prepend "http://"
14967 to the filename at point on the assumption that the user is
14968 pointing at something like gnu.org/gnu.
14970 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14972 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14973 * faces.el (crm-separator):
14974 Silence byte-compiler.
14976 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14977 (tool-bar-map): Remove unneeded defvars.
14979 2013-05-08 Leo Liu <sdl.web@gmail.com>
14981 Re-work a fix for bug#10994 based on Le Wang's patch.
14982 * ido.el (ido-remove-consecutive-dups): New helper.
14983 (ido-completing-read): Use it.
14984 (ido-chop): Revert fix for bug#10994.
14986 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14988 * cus-edit.el (custom-save-variables):
14989 Pretty-print long values. (Bug#14187)
14991 2013-05-08 Glenn Morris <rgm@gnu.org>
14993 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14994 (m4-mode-syntax-table): Init in the defvar.
14995 (m4-mode-abbrev-table): Let define-derived-mode define it.
14997 2013-05-08 Tom Tromey <tromey@redhat.com>
14999 * progmodes/m4-mode.el (m4-mode-syntax-table):
15000 Do not treat "_" as word constituent. (Bug#14167)
15002 2013-05-07 Glenn Morris <rgm@gnu.org>
15004 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15005 Remove explicit eshell-isearch-cancel-map.
15007 * progmodes/f90.el (f90-smart-end-names): New option.
15008 (f90-smart-end): Doc fix.
15009 (f90-end-block-optional-name): New constant.
15010 (f90-block-match): Respect f90-smart-end-names.
15012 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15014 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15015 about implicit semi-colons (bug#14218).
15017 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15019 * frame.el (display-monitor-attributes-list)
15020 (frame-monitor-attributes): New functions.
15022 2013-05-06 Leo Liu <sdl.web@gmail.com>
15024 * progmodes/octave.el (octave-syntax-propertize-function): Change
15025 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15026 (octave-font-lock-keywords): Use octave-operator-regexp.
15027 (octave-completion-at-point): Rename from
15028 octave-completion-at-point-function.
15029 (inferior-octave-directory-tracker): Robustify.
15030 (octave-text-functions): Remove and fix its uses. No such things
15033 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15035 * emacs-lisp/trace.el (trace--display-buffer): New function.
15036 (trace-make-advice): Use it.
15038 2013-05-06 Juri Linkov <juri@jurta.org>
15040 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15041 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15043 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15044 in the help string. (Bug#12985)
15046 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15048 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15050 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15052 * progmodes/perl-mode.el: Add support for here documents.
15053 (perl-syntax-propertize-function): Match here-doc markers.
15054 (perl-syntax-propertize-special-constructs): Find their end.
15055 (perl-imenu-generic-expression): Use [:alnum:].
15057 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15058 (advice--add-function): Refresh the advice if already present
15061 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15063 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15065 2013-05-06 Glenn Morris <rgm@gnu.org>
15067 * w32-fns.el (w32-charset-info-alist): Declare.
15069 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15070 of its defcustom properties.
15071 (eshell-cmpl-initialize): No need to load pcomplete.
15073 * generic-x.el: No need to require comint when compiling.
15075 * net/eudc-export.el: Make it loadable without bbdb.
15076 (top-level): Use require rather than load-library.
15077 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15078 (eudc-batch-export-records-to-bbdb)
15079 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15082 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15084 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15085 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15086 some tweaks, instead.
15088 2013-05-05 Leo Liu <sdl.web@gmail.com>
15090 * progmodes/octave.el (octave-font-lock-keywords)
15091 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15092 (inferior-octave-send-list-and-digest): Improve error message.
15093 (octave-mode, inferior-octave-mode): Use setq-local.
15094 (octave-help): Set info-lookup-mode.
15096 2013-05-05 Richard Stallman <rms@gnu.org>
15098 * vc/compare-w.el (compare-windows-whitespace):
15099 Treat no-break space as whitespace.
15101 * mail/rmailsum.el (rmail-summary-rmail-update):
15102 Detect empty summary and don't change selected message.
15103 (rmail-summary-goto-msg): Likewise.
15105 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15106 Doc fixes, rename args.
15108 2013-05-05 Alan Mackenzie <acm@muc.de>
15110 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15112 2013-05-05 Juri Linkov <juri@jurta.org>
15114 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15115 to not add the length of the summary segment to the return value.
15118 2013-05-05 Leo Liu <sdl.web@gmail.com>
15120 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15121 (inferior-octave-output-filter): Remove.
15122 (octave-send-region, inferior-octave-startup): Fix callers.
15123 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15124 (octave-binary-file-extensions): New user variable.
15125 (octave-find-definition): Confirm if opening binary files.
15126 (octave-help-file): Use octave-find-definition to get the binary
15128 (octave-help): Adjust for octave-help-file change.
15130 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15132 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15133 Merge the two entries that handle function definitions.
15134 (pascal--syntax-propertize): New const.
15135 (pascal-mode): Use it. Use setq-local.
15137 2013-05-04 Glenn Morris <rgm@gnu.org>
15139 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15140 (diary-from-outlook): Respect diary-from-outlook-function.
15142 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15144 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15145 Move the declaration from C.
15146 (read-minibuffer, eval-minibuffer): Move from C.
15147 (completion-setup-function): Avoid minibuffer-completion-contents.
15149 2013-05-03 Leo Liu <sdl.web@gmail.com>
15151 * progmodes/octave.el (octave-font-lock-keywords): Do not
15152 dehighlight 'end' in comments or strings.
15153 (octave-completing-read, octave-goto-function-definition):
15155 (octave-help-buffer): New user variable.
15156 (octave-help-file, octave-help-function): New button types.
15157 (octave-help): New command and bind it to C-h ;.
15158 (octave-find-definition): New command and bind it to M-.
15159 (user-error): Alias to error if not defined.
15161 2013-05-02 Leo Liu <sdl.web@gmail.com>
15163 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15165 (octave-font-lock-keywords): Include [ and {.
15167 2013-05-02 Leo Liu <sdl.web@gmail.com>
15169 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15170 (inferior-octave): Remove calling comint-mode and return the buffer.
15171 (inferior-octave-startup): Cosmetic changes.
15173 2013-05-02 Leo Liu <sdl.web@gmail.com>
15175 * progmodes/octave.el (octave-syntax-propertize-function):
15176 Include the case when ' is at line beginning. (Bug#14336)
15178 2013-05-02 Glenn Morris <rgm@gnu.org>
15180 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15181 * desktop.el (vc-dir-mode): Just autoload it here.
15183 2013-05-02 Alan Mackenzie <acm@muc.de>
15185 Eliminate variable c-standard-font-lock-fontify-region-function.
15186 * progmodes/cc-mode.el
15187 (c-standard-font-lock-fontify-region-function): Remove.
15188 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15190 2013-05-01 Leo Liu <sdl.web@gmail.com>
15192 * progmodes/octave.el: Compatible with older emacs-24 releases.
15193 (inferior-octave-has-built-in-variables): Remove. Built-in
15194 variables were removed from Octave in 2007.
15195 (inferior-octave-startup): Fix uses.
15196 (comint-line-beginning-position): Remove compatibility code for
15199 2013-05-01 Juri Linkov <juri@jurta.org>
15201 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15203 2013-05-01 Juri Linkov <juri@jurta.org>
15205 * comint.el (comint-previous-matching-input): Don't print message
15206 "History item: %d" when `isearch-mode' is active.
15207 (comint-history-isearch-message): Print message "History item: %d"
15208 when `comint-input-ring-index' is not empty and this function is
15209 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15211 2013-05-01 Leo Liu <sdl.web@gmail.com>
15213 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15214 definitions. Use completion-at-point to insert keywords.
15215 (octave-abbrev-start): Remove.
15216 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15218 2013-04-30 Leo Liu <sdl.web@gmail.com>
15220 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15223 2013-04-30 Alan Mackenzie <acm@muc.de>
15225 Handle arbitrarily long C++ member initialisation lists.
15226 * progmodes/cc-engine.el (c-back-over-member-initializers):
15228 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15229 (most) member init lists.
15231 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15233 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15236 2013-04-30 Leo Liu <sdl.web@gmail.com>
15238 * progmodes/octave.el (octave-variables): Remove. No builtin
15239 variables any more. All converted to functions.
15240 (octave-font-lock-keywords, octave-completion-at-point-function):
15242 (octave-font-lock-texinfo-comment): New user variable.
15243 (octave-texinfo-font-lock-keywords): New variable for texinfo
15245 (octave-function-comment-block): New face.
15246 (octave-font-lock-texinfo-comment): New function.
15247 (octave-mode): Font lock texinfo comment block.
15249 2013-04-29 Leo Liu <sdl.web@gmail.com>
15251 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15252 indexing expression.
15253 (octave-continuation-string): Do not use \.
15254 (inferior-octave-complete-impossible): Remove.
15255 (inferior-octave-completion-table)
15256 (inferior-octave-completion-at-point): Remove its uses.
15257 (inferior-octave-startup): completion_matches was introduced to
15258 Octave in 1996 so safe to assume it.
15259 (octave-function-file-comment): Improve to follow how Octave does it.
15260 (octave-update-function-file-comment): Tweak.
15262 2013-04-29 Leo Liu <sdl.web@gmail.com>
15264 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15265 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15266 (octave-function-file-comment): Fix typo.
15267 (octave-sync-function-file-names): Use read-char-choice.
15269 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15271 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15272 to t for the less important warnings.
15274 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15276 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15278 2013-04-27 Glenn Morris <rgm@gnu.org>
15280 * vc/log-view.el (log-view-current-entry):
15281 Treat "---" separator lines as part of the following rev. (Bug#14169)
15283 2013-04-27 Juri Linkov <juri@jurta.org>
15285 * subr.el (read-number): Doc fix about using it by interactive
15286 code letter `n'. (Bug#14254)
15288 2013-04-27 Juri Linkov <juri@jurta.org>
15290 * desktop.el (desktop-auto-save-timeout): New option.
15291 (desktop-file-checksum): New variable.
15292 (desktop-save): Add optional arg `auto-save' and don't auto-save
15293 if nothing changed.
15294 (desktop-auto-save-timer): New variable.
15295 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15296 (after-init-hook): Call `desktop-auto-save-set-timer'.
15297 Suggested by Reuben Thomas <rrt@sc3d.org> in
15298 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15300 2013-04-27 Leo Liu <sdl.web@gmail.com>
15302 * progmodes/octave.el (octave-function-file-p)
15303 (octave-skip-comment-forward, octave-function-file-comment)
15304 (octave-update-function-file-comment): New functions.
15305 (octave-mode-map): Bind C-c ; to
15306 octave-update-function-file-comment.
15307 (octave-mode-menu): Add octave-update-function-file-comment.
15308 (octave-mode, inferior-octave-mode): Fix doc-string.
15309 (octave-insert-defun): Conform to Octave's coding convention.
15312 * files.el (basic-save-buffer): Don't let errors in
15313 before-save-hook prevent saving buffer.
15315 2013-04-20 Roland Winkler <winkler@gnu.org>
15317 * faces.el (read-face-name): Use completing-read if arg multiple
15320 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15322 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15323 displayed, move point to after the totals line.
15324 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15327 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15329 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15330 Add current dir to the load-path.
15331 (package-generate-autoloads): Don't rely on
15332 autoload-ensure-default-file.
15334 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15336 * textmodes/remember.el (remember-store-in-files): Document that
15337 the file name format is passed to `format-time-string'.
15339 2013-04-26 Leo Liu <sdl.web@gmail.com>
15341 * progmodes/octave.el (octave-sync-function-file-names): New function.
15342 (octave-mode): Use it in before-save-hook.
15344 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15346 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15349 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15350 \n and comment, even if it's not an implicit ; (bug#14218).
15352 2013-04-26 Glenn Morris <rgm@gnu.org>
15354 * subr.el (read-number): Once more use `read' rather than
15355 `string-to-number', to trap non-numeric input. (Bug#14254)
15357 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15359 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15360 Use `syntax-multiline' text property consistently instead of
15361 `font-lock-multiline'. (Bug#14237)
15363 2013-04-26 Glenn Morris <rgm@gnu.org>
15365 * emacs-lisp/shadow.el (list-load-path-shadows):
15366 No longer necessary to check for duplicate simple.el, since
15367 2012-07-07 change to init_lread to not include installation lisp
15368 directories in load-path when running uninstalled. (Bug#14270)
15370 2013-04-26 Leo Liu <sdl.web@gmail.com>
15372 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15373 (octave-mode, inferior-octave-mode): Use setq-local.
15374 (octave-not-in-string-or-comment-p): Rename to
15375 octave-in-string-or-comment-p.
15376 (octave-in-comment-p, octave-in-string-p)
15377 (octave-in-string-or-comment-p): Replace defsubst with defun.
15379 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15381 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15383 2013-04-25 Bastien Guerry <bzg@gnu.org>
15385 * textmodes/remember.el (remember-data-directory)
15386 (remember-directory-file-name-format): Fix custom types.
15388 2013-04-25 Leo Liu <sdl.web@gmail.com>
15390 * progmodes/octave.el (octave-completion-at-point-function):
15391 Make use of inferior octave process.
15392 (octave-initialize-completions): Remove.
15393 (inferior-octave-completion-table): New function.
15394 (inferior-octave-completion-at-point): Use it.
15395 (octave-completion-alist): Remove.
15397 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15399 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15400 (opascal-mode-syntax-table): New var.
15401 (opascal-literal-kind, opascal-is-literal-end)
15402 (opascal-literal-token-at): Rewrite.
15403 (opascal--literal-start-re, opascal-font-lock-keywords)
15404 (opascal--syntax-propertize): New constants.
15405 (opascal-font-lock-defaults): Adjust.
15406 (opascal-mode): Use them. Set comment-<foo> variables as well.
15407 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15408 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15409 (delphi-other-face, opascal-other-face): Remove face variables.
15410 (opascal-save-state): Remove macro.
15411 (opascal-fontifying-progress-step): Remove constant.
15412 (opascal--ignore-changes): Remove var.
15413 (opascal-set-token-property, opascal-parse-next-literal)
15414 (opascal-is-stable-literal, opascal-complete-literal)
15415 (opascal-is-literal-start, opascal-face-of)
15416 (opascal-parse-region, opascal-parse-region-until-stable)
15417 (opascal-fontify-region, opascal-after-change)
15418 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15419 (opascal-debug-parse-region, opascal-debug-parse-window)
15420 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15421 (opascal-debug-fontify-buffer): Remove.
15422 (opascal-debug-mode-map): Adjust accordingly.
15424 2013-04-25 Leo Liu <sdl.web@gmail.com>
15426 Merge octave-mod.el and octave-inf.el into octave.el with some
15428 * progmodes/octave.el: New file renamed from octave-mod.el.
15429 * progmodes/octave-inf.el: Merged into octave.el.
15430 * progmodes/octave-mod.el: Renamed to octave.el.
15432 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15434 * textmodes/reftex-vars.el
15435 (reftex-label-ignored-macros-and-environments): New defcustom.
15437 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15439 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15441 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15442 (smie-indent-keyword): Improve the check to ensure that the next
15443 comment is really on the same line.
15444 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15446 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15447 semi-colons if the line is not otherwise empty (bug#14218).
15449 2013-04-25 Glenn Morris <rgm@gnu.org>
15451 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15453 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15455 * progmodes/opascal.el (opascal-set-token-property): Rename from
15456 opascal-set-text-properties and only set `token' (bug#14134).
15457 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15458 (opascal-literal-text-properties): Remove.
15459 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15462 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15464 * textmodes/remember.el (remember-handler-functions): Add an
15465 option for a new handler `remember-store-in-files'.
15466 (remember-data-directory, remember-directory-file-name-format):
15468 (remember-store-in-files): New function to store remember notes
15469 as separate files within a directory.
15471 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15473 * progmodes/compile.el (compilation-next-error-function):
15474 Pass "formats" to compilation-find-file (bug#11777).
15476 2013-04-24 Glenn Morris <rgm@gnu.org>
15478 * vc/vc-bzr.el (vc-bzr-print-log):
15479 * vc/vc-hg.el (vc-hg-print-log):
15480 * vc/vc-svn.el (vc-svn-print-log):
15481 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15483 * vc/vc-bzr.el (vc-bzr-print-log):
15484 * vc/vc-cvs.el (vc-cvs-print-log):
15485 * vc/vc-git.el (vc-git-print-log):
15486 * vc/vc-hg.el (vc-hg-print-log):
15487 * vc/vc-mtn.el (vc-mtn-print-log):
15488 * vc/vc-rcs.el (vc-rcs-print-log):
15489 * vc/vc-sccs.el (vc-sccs-print-log):
15490 * vc/vc-svn.el (vc-svn-print-log):
15491 * vc/vc.el (vc-print-log-internal): Doc fixes.
15493 2013-04-23 Glenn Morris <rgm@gnu.org>
15495 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15496 Remove venerable code attempting to avoid substitute-command-keys.
15498 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15500 * textmodes/reftex-vars.el (reftex-label-regexps):
15501 Call `reftex-compile-variables' after changes to this variable.
15503 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15505 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15506 Use lexical-binding.
15507 (jit-lock-force-redisplay): Use markers, check buffer's continued
15508 existence and beware narrowed buffers.
15509 (jit-lock-fontify-now): Adjust call accordingly.
15511 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15513 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15514 to avoid misleading the user.
15516 2013-04-22 Leo Liu <sdl.web@gmail.com>
15518 * info-look.el: Prefer latex2e.info. (Bug#14240)
15520 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15522 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15524 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15525 * net/tramp.el (tramp-call-process): ... here.
15526 (tramp-set-completion-function, tramp-parse-putty):
15527 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15528 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15529 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15530 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15531 (tramp-call-local-coding-command): Use `tramp-call-process'
15532 instead of `tramp-compat-call-process'.
15534 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15535 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15536 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15537 (tramp-find-inline-compress): Improve traces.
15538 (tramp-maybe-send-script): Check for Perl binary.
15539 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15541 2013-04-22 Daiki Ueno <ueno@gnu.org>
15543 * epg.el (epg-context-pinentry-mode): New function.
15544 (epg-context-set-pinentry-mode): New function.
15545 (epg--start): Pass --pinentry-mode option to gpg command.
15547 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15549 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15550 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15551 `completion-at-point'. (Bug#13774)
15553 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15554 default key binding for `describe-distribution' has been moved to
15555 `C-h C-o'. (Bug#13970)
15557 2013-04-21 Glenn Morris <rgm@gnu.org>
15559 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15561 (vc-print-log): Clarify interactive prompt.
15563 2013-04-20 Glenn Morris <rgm@gnu.org>
15565 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15566 No longer include timestamp etc information.
15568 2013-04-20 Roland Winkler <winkler@gnu.org>
15570 * faces.el (read-face-name): Bug fix, return just one face if arg
15571 multiple is nil. (Bug#14209)
15573 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15575 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15576 (remove-function): Autoload.
15578 * comint.el (comint-redirect-original-filter-function): Remove.
15579 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15580 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15581 (vc-cvs-annotate-command):
15582 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15583 * progmodes/prolog.el (prolog-consult-compile):
15584 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15585 Use add/remove-function instead.
15586 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15587 (gud-tooltip-process-output, gud-tooltip-tips):
15588 Use add/remove-function instead.
15589 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15590 (scheme-interaction-mode, exit-scheme-interaction-mode):
15591 Use add/remove-function instead.
15593 * vc/vc-dispatcher.el: Use lexical-binding.
15594 (vc--process-sentinel): Rename from vc-process-sentinel.
15595 Change last arg to be the code to run. Don't use vc-previous-sentinel
15596 and vc-sentinel-commands any more.
15597 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15598 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15600 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15602 * progmodes/sh-script.el (sh-imenu-generic-expression):
15603 Handle function names with a single character. (Bug#14111)
15605 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15607 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15608 for subroutines defined in an eval (bug#14182).
15610 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15612 * bookmark.el (bookmark-completing-read): Improve handling of empty
15613 string (bug#14176).
15615 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15617 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15619 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15621 New faster Imenu implementation (bug#14058).
15622 * progmodes/python.el:
15623 (python-imenu-prev-index-position):
15624 (python-imenu-format-item-label-function)
15625 (python-imenu-format-parent-item-label-function)
15626 (python-imenu-format-parent-item-jump-label-function):
15628 (python-imenu-format-item-label)
15629 (python-imenu-format-parent-item-label)
15630 (python-imenu-format-parent-item-jump-label)
15631 (python-imenu--put-parent, python-imenu--build-tree)
15632 (python-imenu-create-index, python-imenu-create-flat-index)
15633 (python-util-popn): New functions.
15634 (python-mode): Set imenu-create-index-function to
15635 python-imenu-create-index.
15637 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15639 * winner.el (winner-active-region): Use region-active-p, activate-mark
15640 and deactivate-mark (bug#14225).
15642 * simple.el (deactivate-mark): Don't inline it.
15644 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15646 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15648 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15650 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15651 file extensions from the archive-mode entry in order to prefer
15652 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15654 2013-04-18 Leo Liu <sdl.web@gmail.com>
15656 * bindings.el (help-event-list): Add ?\?.
15658 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15660 * subr.el (with-wrapper-hook): Declare obsolete.
15661 * simple.el (filter-buffer-substring-function): New hook.
15662 (filter-buffer-substring): Use it.
15663 (filter-buffer-substring-functions): Mark obsolete.
15664 * minibuffer.el (completion-in-region-function): New hook.
15665 (completion-in-region): Use it.
15666 (completion-in-region-functions): Mark obsolete.
15667 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15668 * abbrev.el (abbrev-expand-function): New hook.
15669 (expand-abbrev): Use it.
15670 (abbrev-expand-functions): Mark obsolete.
15671 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15672 and :filter-return.
15674 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15676 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15677 and do not care about match data.
15679 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15681 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15682 completion tables when completing error conditions and
15683 `declare' arguments.
15684 (lisp-complete-symbol, field-complete): Mark as obsolete.
15685 (check-parens): Unmatched parens are user errors.
15686 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15688 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15690 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15691 command changed buffer (ie. `flyspell-pre-buffer' is not current
15692 buffer), which prevents making decisions based on invalid value of
15693 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15694 cause an error when `flyspell-pre-point' was nil after switching
15696 (flyspell-post-command-hook): No longer needs to change buffers when
15697 checking pre-word. While at it remove unnecessary progn.
15699 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15701 * textmodes/ispell.el (ispell-add-per-file-word-list):
15702 Fix `flyspell-correct-word-before-point' error when accepting
15703 words and `coment-padding' is an integer by using
15704 `comment-normalize-vars' (Bug #14214).
15706 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15708 New defun movement commands.
15709 * progmodes/python.el (python-nav--syntactically)
15710 (python-nav--forward-defun, python-nav-backward-defun)
15711 (python-nav-forward-defun): New functions.
15713 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15715 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15716 (python-syntax-context): Use named compiler-macro for backwards
15717 compatibility with Emacs 24.x.
15719 2013-04-17 Leo Liu <sdl.web@gmail.com>
15721 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15722 octave-hide-process-buffer.
15724 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15726 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15729 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15731 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15732 Fix adjustment of offset when receiving incomplete responses from GDB
15735 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15737 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15738 python-mode-abbrev-table.
15739 (python-skeleton-define): Adjust accordingly.
15740 (python-mode-abbrev-table): New table that inherits from it so that
15741 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15743 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15744 (abbrev-symbol): Use it.
15745 (abbrev--before-point): Use it since we already handle inheritance.
15747 2013-04-16 Leo Liu <sdl.web@gmail.com>
15749 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15750 binding to info-lookup-symbol.
15752 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15754 * minibuffer.el (completion--twq-all):
15755 * term/ns-win.el (ns-initialize-window-system):
15756 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15758 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15760 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15763 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15765 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15767 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15768 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15770 (ruby-end-of-defun): Remove the unused arg, change the docstring
15771 to reflect that this function is only used as the value of
15772 `end-of-defun-function'.
15773 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15774 to reflect an earlier change that beginning/end-of-defun functions
15775 jump between methods in a class definition, as well as top-level
15778 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15780 * minibuffer.el (minibuffer-complete): Don't just scroll
15781 a *Completions* that's been iconified.
15782 (minibuffer-force-complete): Make sure repetitions do cycle when going
15783 through completion-in-region -> minibuffer-complete.
15785 2013-04-15 Alan Mackenzie <acm@muc.de>
15787 Correct the placement of c-cpp-delimiters when there're #s not at
15790 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15791 place a submatch around the #.
15792 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15793 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15796 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15798 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15799 (advice--member-p): New arg `name'.
15800 (advice--add-function, advice-member-p): Use it (bug#14202).
15802 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15804 Reformulate java imenu-generic-expression.
15805 The old expression contained ill formed regexps.
15807 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15808 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15809 (cc-imenu-java-method-arg-regexp): New defconsts.
15810 (cc-imenu-java-build-type-args-regex): New defun.
15811 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15812 handling of spaces in the regexp.
15814 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15816 * textmodes/ispell.el (ispell-command-loop): Remove
15817 flyspell highlight of a word when ispell accepts it (bug #14178).
15819 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15821 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15822 uses code from the previous `ange-ftp-run-real-handler'.
15823 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15824 only in case that function exist. This is needed for proper
15825 unloading of Tramp.
15827 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15829 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15831 * textmodes/reftex.el (reftex-compile-variables): Use it.
15833 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15835 * files.el (normal-mode): Only use default major-mode if no other mode
15838 * emacs-lisp/trace.el (trace-values): New function.
15840 * files.el: Allow : in local variables (bug#14089).
15841 (hack-local-variable-regexp): New var.
15842 (hack-local-variables-prop-line, hack-local-variables): Use it.
15844 2013-04-13 Roland Winkler <winkler@gnu.org>
15846 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15847 data before it gets modified by bibtex-beginning-of-entry.
15849 2013-04-13 Roland Winkler <winkler@gnu.org>
15851 * textmodes/bibtex.el (bibtex-url): Doc fix.
15853 2013-04-13 Roland Winkler <winkler@gnu.org>
15855 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15856 does not visit a BibTeX file, exclude it from the list of buffers
15857 returned by bibtex-initialize.
15859 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15861 * window.el (split-window): Remove interactive form, since as a
15862 command this function is a special case of split-window-below.
15863 Correct doc string.
15865 2013-04-12 Roland Winkler <winkler@gnu.org>
15867 * faces.el (read-face-name): Do not override value of arg default.
15868 Allow single faces and strings as default values. Remove those
15869 elements from return value that are not faces.
15870 (describe-face): Simplify.
15871 (face-at-point): New optional args thing and multiple so that this
15872 function can provide the same functionality previously provided by
15874 (make-face-bold, make-face-unbold, make-face-italic)
15875 (make-face-unitalic, make-face-bold-italic, invert-face)
15876 (modify-face, read-face-and-attribute): Use face-at-point.
15878 * cus-edit.el (customize-face, customize-face-other-window)
15879 * cus-theme.el (custom-theme-add-face)
15880 * face-remap.el (buffer-face-set)
15881 * facemenu.el (facemenu-set-face): Use face-at-point.
15883 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15885 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15887 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15889 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15890 off leading { and trailing } from field values.
15892 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15894 * emacs-lisp/timer.el (timer--check): New function.
15895 (timer--time, timer-set-function, timer-event-handler): Use it.
15896 (timer-set-idle-time): Simplify.
15897 (timer--activate): CSE.
15898 (timer-event-handler): Give more info in error message.
15899 (internal-timer-start-idle): New function, moved from C.
15901 * mpc.el (mpc-proc): Add `restart' argument.
15902 (mpc-proc-cmd): Use it.
15903 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15904 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15907 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15909 * progmodes/sh-script.el: Implement `sh-mode' own
15910 `add-log-current-defun-function' (bug#14112).
15911 (sh-current-defun-name): New function.
15912 (sh-mode): Use the function.
15914 2013-04-09 Bastien Guerry <bzg@gnu.org>
15916 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15918 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15920 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15922 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15925 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15927 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15930 2013-04-07 Leo Liu <sdl.web@gmail.com>
15932 * pcmpl-x.el: New file.
15934 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15936 Do not set x-display-name until X connection is established.
15937 This is needed to prevent from weird situation described at
15938 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15939 * frame.el (make-frame): Set x-display-name after call to
15940 window system initialization function, not before.
15941 * term/x-win.el (x-initialize-window-system): Add optional
15942 display argument and use it.
15943 * term/w32-win.el (w32-initialize-window-system):
15944 * term/ns-win.el (ns-initialize-window-system):
15945 * term/pc-win.el (msdos-initialize-window-system):
15946 Add compatible optional display argument.
15948 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15950 * files.el (normal-backup-enable-predicate): On MS-Windows and
15951 MS-DOS compare truenames of temporary-file-directory and of the
15952 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15953 don't fail comparison by compare-strings. Also, compare file
15954 names case-insensitively on MS-Windows and MS-DOS.
15956 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15958 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15959 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15961 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15963 * whitespace.el (whitespace-color-on, whitespace-color-off):
15964 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15966 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15968 * ispell.el (ispell-set-spellchecker-params):
15969 Really set `ispell-args' for all equivs.
15971 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15973 * ido.el (ido-completions): Use extra elements of ido-decorations
15975 (ido-decorations): Update docstring.
15977 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15979 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15980 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15981 nil during initialization, in order not to miss changes since the
15982 file was opened. (Bug#14140)
15984 2013-04-05 Leo Liu <sdl.web@gmail.com>
15986 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15988 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15990 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15992 2013-04-04 Glenn Morris <rgm@gnu.org>
15994 * electric.el (electric-pair-inhibit-predicate): Add :version.
15996 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15998 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15999 when a package is required several times (bug#14082).
16001 2013-04-04 Roland Winkler <winkler@gnu.org>
16003 * faces.el (read-face-name): Behave as promised by the docstring.
16004 Assume that arg default is a list of faces.
16005 (describe-face): Call read-face-name with list of default faces.
16007 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16009 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16010 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16011 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16013 (bookmark-exit-hook-internal): Save even if list is empty.
16015 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16017 * emacs-lisp/package.el (package-pinned-packages): New var.
16018 (package--add-to-archive-contents): Obey it (bug#14118).
16020 2013-04-03 Alan Mackenzie <acm@muc.de>
16022 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16023 Also adapt to the new values of element 7 of a parse state.
16025 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16026 parameter `not-in-delimiter'. Handle being inside comment opener.
16027 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16028 character in case we're typing a '*' after a '/'.
16029 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16030 instead by passing the parameter to c-state-pp-to-literal.
16032 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16033 for elt. 7 of a parse state.
16035 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16037 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16038 * international/latin1-disp.el, international/mule-util.el:
16039 * language/cyril-util.el, language/european.el, language/ind-util.el:
16040 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16041 * language/tibetan.el, language/viet-util.el:
16042 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16044 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16046 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16047 (electric-pair-post-self-insert-function): Use it.
16048 (electric-pair-default-inhibit): New function, extracted from
16049 electric-pair-post-self-insert-function.
16051 2013-03-31 Roland Winkler <winkler@gnu.org>
16053 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16055 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16057 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16059 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16061 Un-indent after "pass" and "return" statements (Bug#13888)
16062 * progmodes/python.el (python-indent-block-enders): New var.
16063 (python-indent-calculate-indentation): Use it.
16065 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16067 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16068 defun. Defining it as defalias could introduce too eager
16069 byte-compiler optimization. (Bug#14030)
16071 2013-03-30 Chong Yidong <cyd@gnu.org>
16073 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16075 2013-03-30 Leo Liu <sdl.web@gmail.com>
16077 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16078 (kmacro-execute-from-register): Pass the keyboard macro to
16079 kmacro-call-macro or repeating won't work correctly.
16081 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16083 * progmodes/subword.el: Back to using `forward-symbol'.
16085 * subr.el (forward-whitespace, forward-symbol)
16086 (forward-same-syntax): Move from thingatpt.el.
16088 2013-03-29 Leo Liu <sdl.web@gmail.com>
16090 * kmacro.el (kmacro-to-register): New command.
16091 (kmacro-execute-from-register): New function.
16092 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16094 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16096 * mpc.el: Use defvar-local and setq-local.
16097 (mpc--proc-connect): Connection failures are not bugs.
16098 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16099 (mpc-volume-map): Bind to the up-events.
16101 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16103 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16104 instead of `forward-symbol'.
16106 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16108 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16109 (edebug--recursive-edit): Use it.
16110 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16111 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16113 2013-03-28 Leo Liu <sdl.web@gmail.com>
16115 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16117 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16119 * facemenu.el (list-colors-callback): New defvar.
16120 (list-colors-redisplay): New function.
16121 (list-colors-display): Install list-colors-redisplay as the
16122 revert-buffer-function. (Bug#14063)
16124 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16126 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16127 and suffixes don't overlap (bug#14061).
16129 * case-table.el: Use lexical-binding.
16130 (case-table-get-table): New function.
16131 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16133 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16135 * progmodes/subword.el: Add `superword-mode' to do word motion
16136 over symbol_words (parallels and leverages `subword-mode' which
16137 does word motion inside MixedCaseWords).
16139 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16141 * eshell/em-unix.el: Move su and sudo to...
16142 * eshell/em-tramp.el: ...Eshell tramp module.
16144 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16146 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16147 Change return value to be a sexp. Delay `get-buffer' to after
16148 restoring the desktop (bug#13951).
16150 2013-03-26 Leo Liu <sdl.web@gmail.com>
16152 * register.el: Move semantic tag handling back to
16153 cedet/semantic/senator.el. (Bug#14052)
16155 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16157 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16158 into the prompt either (bug#13963).
16160 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16162 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16163 part of "(error-foo)".
16165 2013-03-24 Juri Linkov <juri@jurta.org>
16167 * replace.el (list-matching-lines-prefix-face): New defcustom.
16168 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16169 `occur-engine' if `face-differs-from-default-p' returns t.
16170 (occur-engine): Add `,' inside backquote construct to evaluate
16171 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16172 Pass `prefix-face' to the functions `occur-context-lines' and
16173 `occur-engine-add-prefix'.
16174 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16175 `prefix-face' and propertize the prefix with `prefix-face'.
16178 2013-03-24 Leo Liu <sdl.web@gmail.com>
16180 * nxml/rng-valid.el (rng-validate-while-idle)
16181 (rng-validate-quick-while-idle): Guard against deleted buffer.
16184 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16185 is the last entry in kill-buffer-hook.
16187 * files.el (kill-buffer-hook): Doc fix.
16189 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16191 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16192 Make it safe-local.
16194 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16196 2013-03-23 Leo Liu <sdl.web@gmail.com>
16198 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16201 * nxml/rng-valid.el (rng-validate-mode)
16202 (rng-after-change-function, rng-do-some-validation):
16203 * nxml/rng-maint.el (rng-validate-buffer):
16204 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16205 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16206 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16207 (nxml-extend-after-change-region): Use with-silent-modifications.
16209 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16212 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16213 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16214 timer-idle-list. (Bug#13999)
16216 2013-03-23 Juri Linkov <juri@jurta.org>
16218 * info.el (info-index-match): New face.
16219 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16220 main pattern and add text properties with the new face to matches
16221 in index entries relative to the beginning of the index entry.
16224 2013-03-21 Eric Ludlam <zappo@gnu.org>
16226 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16227 Inhibit read only while inserting objects.
16229 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16231 * progmodes/cfengine.el: Update docs to mention
16232 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16233 symbol motion. Remove "_" from the word syntax.
16235 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16237 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16238 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16240 2013-03-20 Juri Linkov <juri@jurta.org>
16242 * info.el (Info-next-reference-or-link)
16243 (Info-prev-reference-or-link): New functions.
16244 (Info-next-reference, Info-prev-reference): Use them.
16245 (Info-try-follow-nearest-node): Handle footnote navigation.
16246 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16248 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16250 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16251 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16253 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16255 Suppress unnecessary non-ASCII chatter during build process.
16256 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16257 (batch-skkdic-convert): Suppress most of the chatter.
16258 It's not needed so much now that machines are faster,
16259 and its non-ASCII component was confusing; see Dmitry Gutov in
16260 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16262 2013-03-20 Leo Liu <sdl.web@gmail.com>
16264 * ido.el (ido-chop): Fix bug#10994.
16266 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16268 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16270 (whitespace-color-on, whitespace-color-off):
16271 Use `font-lock-fontify-buffer' (Bug#13817).
16273 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16275 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16276 remapping in mode-line.
16277 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16279 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16281 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16282 value for `whitespace-line' face (Bug#13875).
16283 (whitespace-font-lock-keywords): Change description.
16284 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16285 the constructed keywords instead.
16286 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16288 2013-03-19 Leo Liu <sdl.web@gmail.com>
16290 * progmodes/compile.el (compilation-display-error): New command.
16291 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16294 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16296 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16298 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16300 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16302 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16304 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16306 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16307 * net/tramp-gvfs.el (top):
16308 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16309 (tramp-handle-shell-command): Use it.
16310 (tramp-dissect-file-name): Raise an error when hostname is a
16311 method name, and neither method nor user is specified.
16313 * net/trampver.el: Update release number.
16315 2013-03-18 Leo Liu <sdl.web@gmail.com>
16317 Make sure eldoc can be turned off properly.
16318 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16320 (eldoc-display-message-p): Revert last change.
16321 (eldoc-display-message-no-interference-p)
16322 (eldoc-print-current-symbol-info): Tweak.
16324 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16326 * doc-view.el (doc-view-new-window-function): Check the new window
16327 overlay's display property instead the char property of the
16328 buffer's first char. Use `with-selected-window' instead of
16329 `save-window-excursion' with `select-window'.
16330 (doc-view-document->bitmap): Check the current doc-view overlay's
16331 display property instead the char property of the buffer's first char.
16333 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16335 Automate the build of ja-dic.el (Bug#13984).
16336 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16337 from the input, rather than assume that it's been done for us by the
16338 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16339 the current date into a ja-dic.el comment, as that complicates
16340 regression testing.
16342 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16344 * whitespace.el: Fix double evaluation.
16345 (whitespace-space, whitespace-hspace, whitespace-tab)
16346 (whitespace-newline, whitespace-trailing, whitespace-line)
16347 (whitespace-space-before-tab, whitespace-indentation)
16348 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16350 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16351 (whitespace-color-on): Use a single font-lock-add-keywords call.
16352 Fix double-evaluation of face variables.
16354 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16356 * net/tramp-adb.el (tramp-adb-parse-device-names):
16357 Use `start-process' instead of `call-process'. Otherwise, the
16358 function might be blocked under MS Windows. (Bug#13299)
16360 2013-03-17 Leo Liu <sdl.web@gmail.com>
16362 Extend eldoc to display info in the mode-line. (Bug#13978)
16363 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16364 (eldoc-mode-line-string): New variable.
16365 (eldoc-minibuffer-message): New function.
16366 (eldoc-message-function): New variable.
16367 (eldoc-message): Use it.
16368 (eldoc-display-message-p)
16369 (eldoc-display-message-no-interference-p):
16370 Support eldoc-post-insert-mode.
16372 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16373 (eval-expression): Run it.
16375 2013-03-17 Roland Winkler <winkler@gnu.org>
16377 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16378 strings in the list of return values.
16380 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16382 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16383 radix before checking for HMS forms.
16385 2013-03-16 Leo Liu <sdl.web@gmail.com>
16387 * progmodes/scheme.el: Add indentation and font-locking for λ.
16390 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16393 token before point (bug#13942).
16395 2013-03-16 Leo Liu <sdl.web@gmail.com>
16397 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16399 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16401 * startup.el (command-line-normalize-file-name): Fix handling of
16402 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16403 <xfq.free@gmail.com> in
16404 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16406 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16408 Sync with Tramp 2.2.7.
16410 * net/trampver.el: Update release number.
16412 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16414 * doc-view.el: Fix bug#13887.
16415 (doc-view-insert-image): Don't modify overlay associated to
16416 non-live windows, and implement horizontal centering of image in
16417 case it's smaller than the window.
16418 (doc-view-new-window-function): Force redisplay of new windows on
16421 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16423 * saveplace.el (save-place-alist-to-file): Don't sort
16424 `save-place-alist', just pretty-print it (bug#13882).
16426 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16428 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16429 Check whether `default-file-name-coding-system' is bound.
16430 It isn't in XEmacs.
16432 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16434 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16435 backquotes for `obsolete' (bug#13929).
16437 * international/mule.el (find-auto-coding): Include file name in
16438 obsolescence warning (bug#13922).
16440 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16442 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16443 for CFEngine 3-specific indentation.
16444 (cfengine3-indent-line): Use it. Fix up category regex.
16445 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16447 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16449 * type-break.el (type-break-file-name):
16450 * textmodes/remember.el (remember-data-file):
16451 * strokes.el (strokes-file):
16452 * shadowfile.el (shadow-initialize):
16453 * saveplace.el (save-place-file):
16454 * ps-bdf.el (bdf-cache-file):
16455 * progmodes/idlwave.el (idlwave-config-directory):
16456 * net/quickurl.el (quickurl-url-file):
16457 * international/kkc.el (kkc-init-file-name):
16458 * ido.el (ido-save-directory-list-file):
16459 * emulation/viper.el (viper-custom-file-name):
16460 * emulation/vip.el (vip-startup-file):
16461 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16462 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16464 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16466 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16467 * language/thai-word.el: Switch to UTF-8.
16469 See ChangeLog.16 for earlier changes.
16471 ;; Local Variables:
16475 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16477 This file is part of GNU Emacs.
16479 GNU Emacs is free software: you can redistribute it and/or modify
16480 it under the terms of the GNU General Public License as published by
16481 the Free Software Foundation, either version 3 of the License, or
16482 (at your option) any later version.
16484 GNU Emacs is distributed in the hope that it will be useful,
16485 but WITHOUT ANY WARRANTY; without even the implied warranty of
16486 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16487 GNU General Public License for more details.
16489 You should have received a copy of the GNU General Public License
16490 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.