1 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
4 local copy of FILENAME, when it is remote. (Bug#18751)
6 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
8 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
9 an error when the command fails; the return code must indicate.
10 (tramp-adb-send-command-and-check): Fix docstring.
12 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
14 * net/tramp-cache.el (tramp-get-file-property)
15 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
16 and `tramp-cache-set-count-*' are bound. Otherwise, there might
19 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
20 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
22 2014-11-01 Eli Zaretskii <eliz@gnu.org>
24 * progmodes/compile.el (compilation-mode): Turn off deferred
25 fontifications locally. (Bug#18856)
27 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
29 * net/tramp-sh.el (tramp-send-command): Fix the case where the
30 remote-echo connection property is non-nil (bug#18858).
32 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
34 Backport Tramp changes from trunk.
36 * net/tramp.el (tramp-methods): Tweak docstring.
37 (tramp-file-name-handler): Apply `cons' where appropriate.
38 (tramp-handle-file-accessible-directory-p): Check for
39 `file-readable-p' instead of `file-executable-p'.
40 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
41 (tramp-handle-unhandled-file-name-directory): Return "/".
42 (tramp-check-cached-permissions):
43 Use `tramp-compat-file-attributes'.
44 (tramp-call-process): Add new argument VEC. Adapt callees in all
47 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
48 (tramp-adb-handle-write-region): Improve messages.
49 (tramp-adb-maybe-open-connection): Don't set
50 `tramp-current-*' variables.
52 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
53 Suppress debug messages.
55 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
56 (tramp-ftp-file-name-handler):
58 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
59 (tramp-gvfs-methods-mounttracker)
60 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
61 during initialization. (Bug#18774)
62 (tramp-gvfs-handle-delete-file): Flush file properties, not
64 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
66 (tramp-gvfs-handle-file-name-all-completions):
67 Use "-h" option for "gvfs-ls".
68 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
69 `user' and `localname' could be nil.
70 (tramp-gvfs-send-command): Simplify traces.
72 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
73 (vc-git-program, vc-hg-program): Declare.
74 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
75 (tramp-methods) <nc>: Add new method.
76 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
77 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
79 (tramp-default-user-alist): Add "nc".
80 (top): Remove completion function for "sftp". Add completion
81 functions for "nc" and "psftp".
82 (tramp-sh-handle-set-visited-file-modtime):
83 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
84 (tramp-do-copy-or-rename-file-out-of-band):
85 Use cached "remote-copy-args" value, if available. (Bug#18199)
86 Tweak docstring. Implement support for "nc" method.
87 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
88 (tramp-remote-coding-commands, tramp-call-local-coding-command):
90 (tramp-sh-handle-start-file-process): Expand `default-directory'.
91 (tramp-sh-handle-write-region): Tweak error message.
92 (tramp-sh-handle-vc-registered): Remove backends when the remote
93 binary does not exist.
94 (tramp-open-connection-setup-interactive-shell):
95 Prefer utf-8 coding. (Bug#17859)
96 (tramp-find-inline-encoding): Do not raise an error.
97 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
98 the "nc" case. Quote result also locally.
99 (tramp-get-remote-id): Check also for "gid".
100 (tramp-get-remote-python):
102 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
103 (tramp-smb-handle-set-file-acl): Use `start-process'.
104 (tramp-smb-handle-insert-directory): Use progress reporter.
105 (tramp-smb-handle-rename-file): Flush also file properties of
108 * net/trampver.el: Update release number.
110 2014-11-01 Reuben Thomas <rrt@sc3d.org>
112 * net/tramp.el (tramp-handle-file-symlink-p):
113 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
114 about VMS, which we no longer support.
116 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
118 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
119 the global vc-handled-backends (bug#18535).
121 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
122 Michael Albinus <michael.albinus@gmx.de>
124 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
125 Reduce the amount of set environment variable commands.
127 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
129 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
132 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
134 * net/tramp-sh.el (tramp-get-remote-python): Also search for
135 executables named "python2" or "python3".
136 (tramp-get-remote-uid-with-python): Use parentheses around
137 arguments to `print' to make it compatible with Python 3.
138 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
140 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
142 * simple.el (newline): Add assertions to try and help catch bug#18913.
144 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
146 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
148 2014-10-31 Eli Zaretskii <eliz@gnu.org>
150 * Makefile.in (repo-update): Fix a typo and slightly reword
153 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
155 * Makefile.in: Change some production names so they're neutral
156 about the repository type.
158 2014-10-30 Kim F. Storm <storm@cua.dk>
160 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
161 * delsel.el (delete-selection-save-to-register)
162 (delsel--replace-text-or-position): New vars.
163 (delete-active-region): Use them.
164 (delete-selection-repeat-replace-region): New command, moved from
166 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
167 (cua-repeat-replace-region): Move command to delsel.el.
168 (cua--init-keymaps): Update binding accordingly.
169 (cua-mode): Set delete-selection-save-to-register.
171 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
173 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
175 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
177 2014-10-29 Eli Zaretskii <eliz@gnu.org>
179 * progmodes/compile.el (compilation-start):
180 If compilation-scroll-output is non-nil, don't force window-start of
181 the compilation buffer to be at beginning of buffer. (Bug#18874)
183 2014-10-23 Tassilo Horn <tsdh@gnu.org>
185 * doc-view.el (doc-view-open-text): View the document's plain text
186 in the current buffer instead of a new one.
187 (doc-view-toggle-display): Handle the case where the current
188 buffer contains the plain text contents of the document.
189 (doc-view-initiate-display): Don't switch to fallback mode if the
190 user wants to view the doc's plain text. [Backport]
192 2014-10-23 Eli Zaretskii <eliz@gnu.org>
194 * startup.el (fancy-about-text): Read the entire tutorial, not
195 just its first 256 bytes. (Bug#18760)
197 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
199 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
200 * emacs-lisp/cl-extra.el: Add missing provide.
202 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
204 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
205 all args are copyable (bug#18767).
206 (=, <, >, <=, >=): Re-enable the optimization.
208 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
210 * vc/vc-hg.el (vc-hg-log-graph): New var.
211 (vc-hg-print-log): Use it.
212 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
213 graph output (bug#17515).
215 2014-10-20 Juri Linkov <juri@jurta.org>
217 * vc/diff-mode.el (diff-refine-changed): Rename from
218 `diff-refine-change' for consistency with `diff-changed'.
219 (diff-refine-change): Add obsolete face alias. (Bug#10181)
221 * vc/smerge-mode.el (smerge-refined-changed): Rename from
222 `smerge-refined-change'.
223 (smerge-refined-change): Add obsolete face alias.
225 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
227 * subr.el (call-process-shell-command, process-file-shell-command):
228 Make the `args' obsolete (bug#18409).
229 (start-process-shell-command, start-file-process-shell-command):
232 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
234 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
236 2014-10-20 Glenn Morris <rgm@gnu.org>
238 * dired.el (dired-read-regexp): Make obsolete.
239 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
240 (dired-flag-files-regexp):
241 * dired-aux.el (dired-mark-read-regexp):
242 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
244 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
246 * progmodes/python.el (inferior-python-mode): Use add-hook.
248 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
250 2014-10-20 Glenn Morris <rgm@gnu.org>
252 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
253 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
254 * emulation/ws-mode.el: Move to obsolete/. [Backport]
256 2014-10-20 Glenn Morris <rgm@gnu.org>
258 * cus-start.el (history-length): Bump :version. [Backport]
260 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
262 * obsolete/cc-compat.el: Make obsolete (bug#18561).
264 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
266 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
269 2014-10-20 Glenn Morris <rgm@gnu.org>
271 * Version 24.4 released.
273 2014-10-15 Alan Mackenzie <acm@muc.de>
275 * cus-edit.el (custom-command-apply): Specify the return value in
277 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
278 custom-command-apply has returned non-nil.
280 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
282 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
283 Backported (bug#18688).
285 2014-10-14 Eli Zaretskii <eliz@gnu.org>
287 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
288 Force bidi-paragraph-direction to 'left-to-right'. This fixes
289 buffer-menu display when the first buffer happens to start with
292 2014-10-13 Glenn Morris <rgm@gnu.org>
294 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
295 (authors-obsolete-files-regexps): Additions.
296 (authors-no-scan-regexps): New constant.
297 (authors-no-scan-file-p): New function.
298 (authors): Respect authors-no-scan-file-p.
300 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
302 Fix import completion. (Bug#18582)
303 * progmodes/python.el (python-shell-completion-get-completions):
304 Fix import case regexp.
306 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
308 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
309 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
310 * progmodes/prolog.el (prolog-electric--underscore): Same.
312 2014-10-09 Glenn Morris <rgm@gnu.org>
314 * frame.el (display-monitor-attributes-list): Doc tweaks.
316 2014-10-08 Eli Zaretskii <eliz@gnu.org>
318 * faces.el (display-grayscale-p): Mention in the doc string that
319 the argument can be either a display name or a frame.
321 * frame.el (display-pixel-height, display-pixel-width)
322 (display-mm-height, display-mm-width, display-backing-store)
323 (display-save-under, display-planes, display-color-cells)
324 (display-visual-class, display-monitor-attributes-list)
325 (display-screens): Mention in the doc string that the argument can
326 be either a display name or a frame. Improve the docs of the
327 monitor attributes. (Bug#18636)
329 2014-10-06 Martin Rudalics <rudalics@gmx.at>
331 * term.el (term-window-width): Subtract 1 from the width when
332 any fringe has zero width, not just the right fringe. (Bug#18601)
334 2014-10-05 Leo Liu <sdl.web@gmail.com>
336 * imenu.el (imenu-default-goto-function): Fix typo.
338 2014-10-04 Glenn Morris <rgm@gnu.org>
340 * frame.el (frame-monitor-attributes)
341 (display-monitor-attributes-list): Doc fixes.
343 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
345 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
346 (vc-svn-ignore): Use it. (Bug#18619)
348 2014-10-03 Martin Rudalics <rudalics@gmx.at>
350 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
351 In doc-string mention need to set `frame-resize-pixelwise'.
353 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
355 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
356 similarly to Rogers's 2010-06-16 change for the remote case
359 2014-10-01 Glenn Morris <rgm@gnu.org>
361 * emacs-lisp/package.el (package-import-keyring):
362 Create gnupg directory private. (Bug#17625#155)
364 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
366 * progmodes/python.el (python-shell-completion-get-completions):
367 Use python-shell--prompt-calculated-input-regexp from the
368 process buffer (bug#18582).
369 Don't assume that `line' comes from the process buffer.
371 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
373 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
376 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
378 * emacs-lisp/package.el (package-check-signature): Default to nil if
379 GPG is not available.
380 (package-refresh-contents): Don't mess with the keyring if we won't
381 check the signatures anyway.
383 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
385 * window.el (fit-window-to-buffer): When counting buffer width,
386 count the whole visible buffer. Correctly convert the body-height
387 to pixel size for window-text-pixel-size (Bug#18498).
389 2014-09-14 Glenn Morris <rgm@gnu.org>
391 * image.el (image-multi-frame-p): Fix thinko - do not force
392 a delay if none was specified. (Bug#18334)
394 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
396 * window.el (fit-window-to-buffer): Doc fix.
398 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
400 * desktop.el (desktop-create-buffer): Check that buffers are still live
401 before burying them (bug#18373).
403 2014-09-09 Glenn Morris <rgm@gnu.org>
405 * calendar/diary-lib.el (diary-list-entries):
406 Restore 24.3 display behavior. (Bug#18381)
408 2014-09-09 Eli Zaretskii <eliz@gnu.org>
410 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
411 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
412 discrepancy between window-pixel-edges and mouse events, and
413 avoids moving mode line up when the mouse click is on the modeline
414 and no drag is attempted.
416 2014-09-08 Glenn Morris <rgm@gnu.org>
418 * calendar/calendar.el (calendar-basic-setup):
419 Avoid clobbering calendar with diary. (Bug#18381)
421 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
423 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
425 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
427 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
430 2014-09-04 Eli Zaretskii <eliz@gnu.org>
432 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
434 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
436 * emacs-lisp/package.el (package-generate-description-file):
437 Properly quote the arguments (bug#18332). Change second arg.
438 (package--alist-to-plist-args): Rename from package--alist-to-plist and
440 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
441 the *-pkg.el file. Adjust to new calling convention of
442 package-generate-description-file.
444 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
445 (gud-gdb-completions): Remove obsolete workaround.
447 2014-09-02 Eli Zaretskii <eliz@gnu.org>
449 * subr.el (posn-col-row): Revert the change from commit
450 2010-11-13T21:07:58Z!eliz@gnu.org, which
451 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
452 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
453 introduced an off-by-one error in the reported row when there is a
454 header line. (Bug#18384)
456 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
458 * progmodes/python.el (python-indent-post-self-insert-function):
459 Avoid electric colon at beginning-of-defun. (Bug#18228)
461 2014-09-01 Glenn Morris <rgm@gnu.org>
463 * tutorial.el (tutorial--display-changes):
464 Fix 2014-07-29 change. (Bug#18382)
466 2014-08-29 Ken Brown <kbrown@cornell.edu>
468 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
469 the Cygwin-w32 build. (Bug#18347)
471 2014-08-28 Glenn Morris <rgm@gnu.org>
473 * tar-mode.el (tar--extract, tar-extract):
474 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
476 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
478 * emacs-lisp/authors.el (authors-aliases): Addition.
480 * net/tramp-adb.el: Spell author name correctly.
482 2014-08-27 João Távora <joaotavora@gmail.com>
484 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
485 use url-expand-file-name. (Bug#18310)
487 2014-08-25 Glenn Morris <rgm@gnu.org>
489 * emulation/cua-rect.el (cua--highlight-rectangle):
490 Avoid error at point-min. (Bug#18309)
492 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
494 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
495 executable-find (bug#18244).
497 * simple.el (self-insert-uses-region-functions): Defvar.
499 2014-08-13 Leo Liu <sdl.web@gmail.com>
501 * speedbar.el (speedbar-generic-list-tag-p): Allow special
504 2014-08-11 Glenn Morris <rgm@gnu.org>
506 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
508 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
509 chose coding system for writing before backing up, since it causes
510 a more serious problem than the one it solves. (Closes Bug#18141,
513 2014-08-10 Martin Rudalics <rudalics@gmx.at>
515 * window.el (window-total-size): Make doc-string more
518 2014-08-09 Martin Rudalics <rudalics@gmx.at>
520 * window.el (display-buffer-below-selected): Restore original
521 behavior if buffer is already displayed in the window below the
522 selected one (Bug#18181).
524 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
526 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
529 2014-08-08 Eli Zaretskii <eliz@gnu.org>
531 * info.el (info): Doc fix.
533 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
535 * info.el (Info-mode-map): Override a global down-mouse-2 binding
538 2014-08-05 Eli Zaretskii <eliz@gnu.org>
540 * simple.el (default-line-height): A floating-point value of
541 line-spacing means a fraction of the default frame font's height,
542 not of the font currently used by the 'default' face.
543 Truncate the pixel value, like the display engine does.
544 (window-screen-lines): Use window-inside-pixel-edges for
545 determining the window height in pixels. (Bug#18195)
547 2014-07-29 Eli Zaretskii <eliz@gnu.org>
549 * tutorial.el (tutorial--display-changes): Accept punctuation
550 characters before the key binding. (Bug#18146)
552 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
554 * doc-view.el (doc-view-open-text): Don't require that the
555 document is saved in a file (e.g., email attachment).
557 2014-07-27 Eli Zaretskii <eliz@gnu.org>
559 * window.el (window--pixel-to-total): Use FRAME's root window, not
560 that of the selected frame. (Bug#18112, Bug#16674)
562 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
564 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
567 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
569 * progmodes/python.el (inferior-python-mode): Doc fix.
571 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
573 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
574 not a character, ignore it instead of raising an error.
576 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
578 * calendar/todo-mode.el: Fix handling of marked items and make
579 minor code improvements.
580 (todo-edit-item): If there are marked items, ensure user can only
581 invoke editing commands that work with marked items.
582 (todo-edit-item--text): When there are marked items, make it a
583 noop if invoked with point not on an item; otherwise, ensure it
584 applies only to item at point.
585 (todo-item-undone): If there are marked not-done items, return
586 point to its original position before signaling user error.
587 (todo--user-error-if-marked-done-item): New function.
588 (todo-edit-item--header, todo-edit-item--diary-inclusion)
589 (todo-item-done): Use it.
591 2014-07-25 Glenn Morris <rgm@gnu.org>
593 * files.el (toggle-read-only): Re-add basic doc-string.
594 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
596 * progmodes/prolog.el (prolog-mode-keybindings-edit):
597 Replace missing `switch-to-prolog' with `run-prolog'.
598 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
600 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
602 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
603 of file-wide setting when changing category-wide setting.
605 2014-07-21 Glenn Morris <rgm@gnu.org>
607 * progmodes/hideif.el (hide-ifdef-mode-submap):
608 Also substitute read-only-mode.
609 * bindings.el (mode-line-toggle-read-only):
610 * bs.el (bs-toggle-readonly):
611 * buff-menu.el (Buffer-menu-toggle-read-only):
612 * dired.el (dired-toggle-read-only):
613 * files.el (view-read-only, find-file-read-only)
614 (find-file-read-only-other-window)
615 (find-file-read-only-other-frame):
616 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
617 Doc fixes re toggle-read-only.
619 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
621 * progmodes/python.el: Add comment about pipe buffering and
622 solutions for missing/delayed output in inferior Python shells.
625 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
627 * progmodes/python.el (python-mode): Don't set
628 mode-require-final-newline. (Bug#17990)
630 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
632 Make python.el work with IPython automatically. (Bug#15510)
633 * progmodes/python.el:
634 (python-shell-completion-setup-code): New value supporting iPython.
635 (python-shell-completion-string-code): New value supporting iPython.
636 (python-shell-completion-get-completions): Use them.
637 (python-shell-completion-module-string-code): Make obsolete.
638 (python-shell-prompt-input-regexps)
639 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
640 (python-shell-output-filter): Fix comment typo.
642 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
644 Fix Python shell prompts detection for remote hosts.
645 * progmodes/python.el (python-shell-prompt-detect):
646 Replace call-process with process-file and make it more robust.
648 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
650 Autodetect Python shell prompts. (Bug#17370)
651 * progmodes/python.el:
652 (python-shell-interpreter-interactive-arg)
653 (python-shell-prompt-detect-enabled)
654 (python-shell-prompt-detect-failure-warning)
655 (python-shell-prompt-input-regexps)
656 (python-shell-prompt-output-regexps): New vars.
657 (python-shell-prompt-calculated-input-regexp)
658 (python-shell-prompt-calculated-output-regexp): New vars.
659 (python-shell-get-process-name)
660 (python-shell-internal-get-process-name)
661 (python-shell-output-filter)
662 (python-shell-completion-get-completions): Use them.
663 (python-shell-prompt-detect)
664 (python-shell-prompt-validate-regexps): New functions.
665 (python-shell-prompt-set-calculated-regexps): New function.
666 (inferior-python-mode): Use it. Also honor overridden
667 python-shell-interpreter and python-shell-interpreter-args.
668 (python-shell-make-comint): Honor overridden
669 python-shell-interpreter and python-shell-interpreter-args.
670 (python-shell-get-or-create-process): Make it testable by allowing
671 to call run-python non-interactively.
672 (python-util-valid-regexp-p): New function.
673 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
674 (python-shell-prompt-output-regexp)
675 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
677 2014-07-16 Glenn Morris <rgm@gnu.org>
679 * desktop.el (after-init-hook): Disable startup frame restoration
680 in non-graphical situations. (Bug#17693)
682 2014-07-14 Glenn Morris <rgm@gnu.org>
684 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
685 if it was "empty", or used for a different set of files. (Bug#17884)
687 2014-07-13 Eli Zaretskii <eliz@gnu.org>
689 * bindings.el (mode-line-remote): If default-directory is not a
690 string, don't call file-remote-p on it; instead state in the
691 help-echo that it is nil. (Bug#17986)
693 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
695 Fix bug: C-x v v discarded existing log message (Bug#17884).
696 * vc/vc-dispatcher.el (vc-log-edit):
697 Don't clobber an already-existing log message.
699 2014-07-10 Glenn Morris <rgm@gnu.org>
701 * vc/log-edit.el (log-edit-changelog-entries):
702 Check for a visited-but-never-saved ChangeLog.
704 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
706 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
707 a non-existing file (bug#17970).
709 * faces.el (face-name): Undo last change.
710 (x-resolve-font-name): Don't call face-name (bug#17956).
712 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
714 Fix dedenters and electric colon handling. (Bug#15163)
716 * progmodes/python.el
717 (python-rx-constituents): Add dedenter and block-ender.
718 (python-indent-dedenters, python-indent-block-enders): Delete.
719 (python-indent-context): Return new case for dedenter-statement.
720 (python-indent-calculate-indentation): Handle new case.
721 (python-indent-calculate-levels): Fix levels calculation for
723 (python-indent-post-self-insert-function): Fix colon handling.
724 (python-info-dedenter-opening-block-message): New function.
725 (python-indent-line): Use it.
726 (python-info-closing-block)
727 (python-info-closing-block-message): Remove.
728 (python-info-dedenter-opening-block-position)
729 (python-info-dedenter-opening-block-positions)
730 (python-info-dedenter-statement-p): New functions.
732 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
734 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
735 the middle of a line (bug#17896).
737 2014-07-08 Juri Linkov <juri@jurta.org>
739 * startup.el (command-line): Append displaying the warning about
740 the errors in the init file to the end of `after-init-hook'.
743 2014-07-08 Juri Linkov <juri@jurta.org>
745 * faces.el (face-name): Return input arg `face' as is
746 when it's not a symbol.
747 (x-resolve-font-name): Don't check if the face is a symbol.
750 2014-07-08 Juri Linkov <juri@jurta.org>
752 * facemenu.el (list-colors-print): In help-echo format use %.2f
753 instead of %d because now HSV values are floating-point components
756 2014-07-06 Glenn Morris <rgm@gnu.org>
758 * emulation/cua-rect.el (cua--activate-rectangle):
759 Avoid setting cua--rectangle to nil. (Bug#17877)
761 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
763 * calendar/todo-mode.el: Fix wrong-type-argument error when
764 marking multiple consecutive items.
765 (todo-toggle-mark-item): Don't try to mark the empty lines at the
766 end of the todo and done items sections. Note in doc string that
767 items marked by passing a numeric prefix argument can include the
768 last todo and first done items.
769 (todo-mark-category): Don't try to mark the empty line between the
770 todo and done items sections.
772 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
774 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
775 proper Lisp quoting (bug#17934).
777 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
778 require-final-newline since prog-mode already took care of it (bug#17947).
780 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
782 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
783 refer to the Todo mode Info manual. Update the comment on
785 (todo-find-filtered-items-file): Add todo-prefix overlays.
786 (todo-filter-items): Reorder a let-bound variable to avoid a
787 wrong-type-argument error on canceling the file choice dialog.
789 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
791 * progmodes/octave.el (inferior-octave-mode):
792 Set comint-input-ring-size to a number (bug#17912).
794 2014-07-03 Juri Linkov <juri@jurta.org>
796 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
797 and `isearch-mode' associated with nil. (Bug#17849)
799 2014-07-02 Juri Linkov <juri@jurta.org>
801 * desktop.el (desktop-save): Rename arg `auto-save' to
802 `only-if-changed'. Doc fix. (Bug#17873)
804 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
806 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
807 Use insert-for-yank (bug#17271).
809 2014-07-02 Leo Liu <sdl.web@gmail.com>
811 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
812 Support lexical-binding.
814 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
816 * vc/log-edit.el (log-edit-goto-eoh): New function.
817 (log-edit--match-first-line): Use it (bug#17861).
819 2014-07-01 Glenn Morris <rgm@gnu.org>
821 * vc/log-edit.el (log-edit-hook): Add missing :version.
823 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
825 * progmodes/python.el (python-indent-post-self-insert-function):
826 Enhancements to electric indentation behavior inside
829 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
831 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
832 buffer-invisibility-spec (bug#17867).
834 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
836 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
839 2014-06-29 Glenn Morris <rgm@gnu.org>
841 * cus-edit.el (help):
842 * finder.el (finder-known-keywords):
843 * help.el (help-for-help-internal):
844 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
845 (ediff-redraw-registry-buffer):
846 * vc/ediff-ptch.el (ediff-patch-file-internal):
847 Doc fixes re "online" help. (Bug#17803)
849 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
850 (idlwave-mode): Doc URL update.
852 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
854 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
855 account for file-wide setting of todo-top-priorities-overrides.
856 Make code a bit cleaner.
858 2014-06-27 Leo Liu <sdl.web@gmail.com>
860 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
862 2014-06-27 Glenn Morris <rgm@gnu.org>
864 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
866 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
868 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
869 category-wide setting of todo-top-priorities-overrides, check for
870 a file-wide setting and fontify accordingly.
872 2014-06-26 Glenn Morris <rgm@gnu.org>
874 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
876 2014-06-26 Daiki Ueno <ueno@gnu.org>
878 * emacs-lisp/package.el (package--check-signature):
879 If package-check-signature is allow-unsigned, don't signal error when
880 we can't verify signature because of missing public key
881 (backport for bug#17625).
883 2014-06-26 Glenn Morris <rgm@gnu.org>
885 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
886 Remove outdated declaration.
888 * emacs-lisp/authors.el (authors-valid-file-names)
889 (authors-renamed-files-alist): Additions.
891 2014-06-25 Leo Liu <sdl.web@gmail.com>
893 * textmodes/picture.el (picture-set-tab-stops):
894 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
895 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
897 * progmodes/asm-mode.el (asm-calculate-indentation):
898 Use indent-next-tab-stop.
900 * indent.el (indent-accumulate-tab-stops): New function.
902 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
904 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
905 (package-desc-status): Obey it.
907 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
909 * calendar/todo-mode.el: Fix two bugs.
910 (todo-insert-item--basic): If user cancels item insertion to
911 another category before setting priority, show original category
912 whether it is in the same or a different file.
913 (todo-set-item-priority): After selecting category, instead of
914 moving point to top, which extends an active region, restore it.
916 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
918 * help-fns.el (describe-function-1): Check file-name is a string before
919 calling help-fns--autoloaded-p (bug#17564).
921 2014-06-24 Juri Linkov <juri@jurta.org>
923 * desktop.el (desktop-auto-save-enable)
924 (desktop-auto-save-disable): New functions.
925 (desktop-save-mode, desktop-auto-save-timeout): Use them.
926 (desktop-read): Disable the autosave before loading the desktop,
927 and enable afterwards. (Bug#17351)
929 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
931 Fix some indentation problem with \; and pipes (bug#17842).
932 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
933 (sh-smie--default-forward-token, sh-smie--default-backward-token):
935 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
936 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
937 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
939 2014-06-24 Eli Zaretskii <eliz@gnu.org>
941 * international/fontset.el (script-representative-chars):
942 Add representative characters for scripts added in Unicode 7.0.
943 (otf-script-alist): Synchronize with the latest registry of OTF
946 * international/characters.el (char-script-table): Update for
947 scripts added and codepoint ranges changed in Unicode 7.0.
949 2014-06-23 Leo Liu <sdl.web@gmail.com>
951 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
952 tab-stop-list to nil. (Bug#16381)
954 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
955 (indent-rigidly-left-to-tab-stop)
956 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
957 (move-to-tab-stop): Change callers.
959 2014-06-22 Eli Zaretskii <eliz@gnu.org>
961 * skeleton.el (skeleton-insert): Yet another fix of the doc string
962 wrt behavior of \n as the first/last element of a skeleton.
964 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
966 * net/tramp-adb.el (tramp-adb-handle-process-file):
967 * net/tramp-sh.el (tramp-sh-handle-process-file):
968 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
969 the output buffer when DISPLAY is non-nil. (Bug#17815)
971 2014-06-21 Glenn Morris <rgm@gnu.org>
973 * play/landmark.el (landmark-move-down, landmark-move-up):
974 Fix 2007-10-20 change - preserve horizontal position.
976 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
978 Fix completion retrieval parsing (bug#17209).
979 * progmodes/python.el (python-mode):
980 (python-util-strip-string): New function.
981 (python-shell-completion-get-completions): Use it.
983 2014-06-21 Eli Zaretskii <eliz@gnu.org>
985 * skeleton.el (skeleton-insert): Fix last change.
987 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
989 Enhancements for outline integration (bug#17796).
990 * progmodes/python.el (python-mode): Properly set
991 outline-heading-end-regexp so that comments after colons for
992 defuns are supported.
994 2014-06-21 Eli Zaretskii <eliz@gnu.org>
996 * skeleton.el (skeleton-insert): Doc fix.
998 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1000 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1001 (smie-config-guess): Use smie-config-local so the rules are obeyed
1004 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1005 since it's already done inside the loop (bug#17819).
1007 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1009 * mouse.el (mouse-drag-line): Re-remove code initially removed
1010 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1013 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1016 align with the surrounding parent (bug#17721).
1018 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1020 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1022 (texinfo-insert-block, texinfo-insert-@end)
1023 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1024 local setting of skeleton-end-newline by adding an explicit \n to
1025 the skeletons where appropriate. (Bug#17801)
1027 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1030 (smie-indent--hanging-p): Use it.
1031 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1033 2014-06-20 Leo Liu <sdl.web@gmail.com>
1035 * simple.el (read-quoted-char): Don't let help chars pop up help
1038 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1043 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1045 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1046 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1049 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1051 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1052 and later. (Bug#17790)
1054 2014-06-18 Juri Linkov <juri@jurta.org>
1056 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1057 to `soft'. (Bug#17554)
1059 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1061 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1064 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1066 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1067 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1069 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1071 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1072 `unread-command-events'.
1074 2014-06-14 Glenn Morris <rgm@gnu.org>
1076 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1077 Replace delete-duplicates and mapcan by cl- versions throughout.
1078 And cl-macroexpand-all by macroexpand-all.
1079 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1081 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1083 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1085 2014-06-14 Juri Linkov <juri@jurta.org>
1087 * bindings.el: Put `ascii-character' property on keypad keys
1088 mapped to characters. (Bug#17759)
1090 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1093 bumping forward into a closing paren (bug#17761).
1095 * term/xterm.el (xterm--version-handler): Work around for OSX
1096 Terminal.app (bug#17607).
1098 2014-06-08 Glenn Morris <rgm@gnu.org>
1100 * startup.el (initial-buffer-choice): Doc fix.
1101 Reset :version (adding an option does not merit a :version bump).
1103 * bookmark.el (bookmark-load):
1104 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1106 2014-06-06 Juri Linkov <juri@jurta.org>
1108 * desktop.el: Activate auto-saving on window configuration changes.
1109 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1110 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1111 (desktop-auto-save-set-timer): Change REPEAT arg of
1112 `run-with-idle-timer' from t to nil.
1113 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1115 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1117 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1118 vc-hg-command (bug#17570).
1120 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1122 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1125 2014-06-06 Glenn Morris <rgm@gnu.org>
1127 * startup.el (window-setup-hook): Doc fix.
1129 2014-06-05 Glenn Morris <rgm@gnu.org>
1131 * emacs-lisp/package.el (package-check-signature)
1132 (package-unsigned-archives): Doc fixes.
1134 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1136 * window.el (display-buffer-use-some-window): Don't make window
1137 used smaller than it was before (Bug#17671).
1139 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1141 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1142 'redisplay' instead of '(sit-for 0)'.
1144 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1146 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1149 2014-06-03 Glenn Morris <rgm@gnu.org>
1151 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1153 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1155 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1157 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1159 * simple.el (keyboard-quit): Force update of mode lines, to remove
1160 the "Def" indicator, if we were defining a macro. (Bug#17615)
1162 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * minibuffer.el (minibuffer-force-complete-and-exit):
1165 Obey minibuffer-default (bug#17545).
1167 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1170 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * subr.el (set-transient-map): Don't wait for some "nested"
1173 transient-map to finish if we're only supposed to be active for
1174 the next command (bug#17642).
1176 2014-05-31 Leo Liu <sdl.web@gmail.com>
1178 * emacs-lisp/gv.el (window-buffer, window-display-table)
1179 (window-dedicated-p, window-hscroll, window-point, window-start):
1180 Fix gv-expander. (Bug#17630)
1182 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1187 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1188 for the single comma, since ", " is *very* common in normal French text
1191 2014-05-30 Glenn Morris <rgm@gnu.org>
1193 * emacs-lisp/package.el (package-check-signature)
1194 (package-unsigned-archives): Fix :version.
1196 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1198 * subr.el (sit-for): Don't run input-methods (bug#15614).
1200 2014-05-28 Glenn Morris <rgm@gnu.org>
1202 * cus-start.el: Fix some :version numbers.
1204 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1206 * simple.el (deactivate-mark): Set mark-active to nil even if
1207 deactivation is done via setting transient-mark-mode to nil,
1208 since one is buffer-local and the other is global.
1210 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1211 there can't be more than 2 arguments (bug#17584).
1213 2014-05-27 Glenn Morris <rgm@gnu.org>
1215 * simple.el (filter-buffer-substring-functions)
1216 (filter-buffer-substring-function, buffer-substring-filters)
1217 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1219 * minibuffer.el (completion-in-region-functions, completion-in-region)
1220 (completion--in-region): Doc fixes.
1222 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1223 (expand-abbrev, abbrev--default-expand): Doc fixes.
1225 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1227 Include sources used to create macuvs.h.
1228 * international/README: Refer to the Unicode Terms of Use rather
1229 than copying it bodily here, as that simplifies maintenance.
1231 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1233 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1235 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1237 * window.el (window--dump-frame): Remove interactive
1240 2014-05-23 Glenn Morris <rgm@gnu.org>
1242 * hippie-exp.el (he-line-search-regexp):
1243 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1245 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1247 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1248 to avoid errors when trying to create or visit a file foo.todo
1249 located outside to todo-directory, and to allow having such files
1250 without them being tied to Todo mode (bug#17482).
1251 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1252 (todo-archive-done-item, todo-find-filtered-items-file)
1253 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1254 (todo-category-completions, todo-read-category): When visiting a
1255 Todo file, make sure we're in the right mode and the buffer local
1257 (todo-make-categories-list, todo-reset-nondiary-marker)
1258 (todo-reset-done-string, todo-reset-comment-string):
1259 After processing all Todo files, kill the buffers of those files that
1260 weren't being visited before the processing.
1261 (todo-display-as-todo-file, todo-add-to-buffer-list)
1262 (todo-visit-files-commands): Comment out.
1263 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1264 (auto-mode-alist): Remove add-to-list calls making Todo file
1265 extensions unrestrictedly tied to Todo modes.
1267 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1270 (advice-function-member-p): Tell it to check both names and functions
1272 (advice--add-function): Adjust call accordingly.
1274 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1276 * calendar/todo-mode.el: Miscellaneous bug fixes.
1277 (todo-delete-file): When deleting an archive but not its todo
1278 file, make sure to update the todo file's category sexp.
1279 (todo-move-category): Keep the moved category's name unless the
1280 file moved to already has a category with that name. If the
1281 numerically last category of the source file was moved, make the
1282 first category current to avoid selecting a nonexisting category.
1283 (todo-merge-category): Fix implementation to make merging to a
1284 category in another file work as documented. Eliminate now
1285 insufficient and unnecessary renaming of archive category, correct
1286 document string accordingly, and clarify it. If the numerically
1287 last category of the source file was merged, make the first
1288 category current to avoid selecting a nonexisting category.
1289 (todo-archive-done-item): When there are marked items and point
1290 happens to be on an unmarked item, ignore the latter. Don't leave
1291 point below last item after archiving marked items.
1292 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1293 from an archive with only one category deletes the archive only
1294 when the category is empty after unarchiving. Make sure the todo
1295 file's category sexp is updated.
1296 (todo-read-file-name): Allow an existing file name even when it is
1297 not required (todo-move-category needs this to work as documented).
1298 (todo-add-file): Call todo-validate-name to reject the name of an
1299 existing todo file (needed due to fix in todo-read-file-name).
1300 (todo-reset-nondiary-marker): Also reset in filtered items files.
1301 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1302 regexp filtered items files.
1303 (todo-reset-highlight-item): Also reset in filtered items files.
1304 Fix incorrect variable reference in document string.
1306 2014-05-22 Glenn Morris <rgm@gnu.org>
1308 * window.el (window--dump-frame): Avoid error in --without-x builds.
1310 2014-05-21 Glenn Morris <rgm@gnu.org>
1312 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1314 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1316 * frame.el (set-frame-font): Doc fix.
1318 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1320 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1322 * emacs-lisp/package.el (package--download-one-archive):
1323 Use `write-region' instead of `save-buffer' to avoid running various
1325 (describe-package-1): Same. Insert newline at the end of the
1326 buffer if appropriate.
1328 2014-05-20 Juri Linkov <juri@jurta.org>
1330 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1331 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1332 Add more modifiers: meta, control, shift, hyper, super, alt.
1335 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1336 to allow changing its value with `set-variable'.
1338 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1342 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1344 (scheme-mode-variables): Set syntax-propertize-function instead of
1345 font-lock-syntactic-face-function.
1346 (scheme-font-lock-syntactic-face-function): Delete.
1348 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1350 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1355 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1357 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1358 for a temporary file name.
1360 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1362 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1364 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1366 * net/dbus.el (dbus-init-bus, dbus-call-method)
1367 (dbus-call-method-asynchronously, dbus-send-signal)
1368 (dbus-method-return-internal, dbus-method-error-internal):
1369 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1371 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1373 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1374 methods which do not have a doc string. (Bug#17490)
1376 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1377 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1382 2014-05-14 Glenn Morris <rgm@gnu.org>
1384 * vc/emerge.el (emerge-temp-file-prefix):
1385 Make pointless option obsolete.
1386 (emerge-temp-file-mode): Make non-functional option obsolete.
1388 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1390 * net/browse-url.el (browse-url):
1391 Use `unhandled-file-name-directory' when setting `default-directory',
1392 in order to circumvent stalled remote connections. (Bug#17425)
1394 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1396 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1397 into autoloading just because of a silly indirection.
1399 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1401 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1403 2014-05-11 Glenn Morris <rgm@gnu.org>
1405 * emacs-lisp/find-gc.el: Move to ../admin.
1407 2014-05-10 Glenn Morris <rgm@gnu.org>
1409 * printing.el (pr-version):
1410 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1412 * net/browse-url.el (browse-url-mosaic):
1413 Create /tmp/Mosaic.PID as a private file.
1415 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1418 (advice--member-p): If name is given, only compare the name.
1419 (advice--remove-function): Don't stop at the first match.
1420 (advice--normalize-place): New function.
1421 (add-function, remove-function): Use it.
1422 (advice--add-function): Pass the name, if any, to
1423 advice--remove-function.
1425 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1427 * electric.el (electric-indent-post-self-insert-function): Don't use
1428 `pos' after modifying the buffer (bug#17449).
1430 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * subr.el (function-put): Add function.
1434 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1436 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1437 Correct argument list to conform to todo-insert-item--basic.
1439 2014-05-09 Glenn Morris <rgm@gnu.org>
1441 * files.el (cd-absolute): Test if directory is accessible
1442 rather than executable. (Bug#17330)
1444 * progmodes/compile.el (recompile):
1445 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1447 2014-05-08 Juri Linkov <juri@jurta.org>
1449 * dired.el (dired-check-switches, dired-switches-recursive-p):
1450 New functions. (Bug#17218)
1451 (dired-switches-escape-p, dired-move-to-end-of-filename):
1452 Use `dired-check-switches'.
1453 (dired-insert-old-subdirs, dired-build-subdir-alist)
1454 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1456 2014-05-08 Glenn Morris <rgm@gnu.org>
1458 * net/browse-url.el (browse-url-mosaic):
1459 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1460 This is CVE-2014-3423.
1462 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1465 (xterm-mouse--read-event-sequence-1000): Return nil if something
1467 (xterm-mouse-event): Propagate it.
1468 (xterm-mouse-translate-1): Handle it.
1470 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1472 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1473 four slots of the parameter list are filled, make sure to pass it
1474 to the argument list of todo-insert-item--basic.
1476 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1478 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1479 Add optional `seen' argument to detect and break infinite loops.
1481 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1483 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1484 (trace-unsafe, trace-use-tree): Make parentheses style be
1485 according to Emacs style.
1487 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1489 * net/tramp-sh.el (tramp-remote-process-environment):
1490 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1492 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1493 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1494 extra "PSx=..." commands.
1495 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1498 (tramp-uudecode): Replace the hard-coded temporary file name by a
1500 (tramp-remote-coding-commands): Enhance docstring.
1501 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1503 This is CVE-2014-3424.
1505 2014-05-06 Glenn Morris <rgm@gnu.org>
1507 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1508 (find-gc-source-files): Update some names.
1509 (trace-call-tree): Simplify and update.
1510 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1511 This is CVE-2014-3422.
1513 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * minibuffer.el (completion--try-word-completion): Revert fix for
1516 Bug#15980 (bug#17375).
1518 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1519 Always store button numbers in the same way in xterm-mouse-last;
1520 Don't burp is xterm-mouse-last is not set as expected.
1521 Never return negative indices.
1523 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1525 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1526 Backtrack one char if the global/char-literal var matcher hits
1527 inside a string. The next char could be the beginning of an
1528 expression expansion.
1530 2014-05-05 Glenn Morris <rgm@gnu.org>
1532 * help-fns.el (describe-function-1): Test for an autoload before a
1533 macro, since `macrop' works on autoloads. (Bug#17410)
1535 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1539 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1540 Make sure the new point we return is within the new string (bug#17239).
1542 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1544 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1546 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1549 Use nil rather than `default' for the "default" appearance (bug#17388).
1550 * vc/ediff-util.el (ediff-inferior-compare-regions)
1551 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1552 a misleading `default' value when it's really a boolean.
1553 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1554 overlay is not visible.
1556 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1558 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1559 (todo-menu): Uncomment and update.
1561 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1563 * calendar/todo-mode.el: Reimplement item editing to have the same
1564 basic user interface as item insertion, and make small UI and
1565 larger internal improvements to the latter.
1566 (todo-insert-item): Add reference to the Todo mode user manual to
1567 the documentation string.
1568 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1569 adjust all callers. Change signature to combine diary and
1570 nonmarking arguments. Incorporate functionality of deleted item
1571 copying command and add error checking. Remove detailed
1572 descriptions of the arguments from the documentation string, since
1573 this is treated in the Todo mode user manual.
1574 (todo-copy-item, todo-edit-multiline-item)
1575 (todo-edit-done-item-comment, todo-edit-item-header)
1576 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1577 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1578 (todo-edit-item-date-year, todo-edit-item-date-month)
1579 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1581 (todo-edit-item): Reimplement as wrapper command for
1582 todo-edit-item--next-key and make it distinguish done and not done
1584 (todo-edit-item--text): New function, replacing old command
1585 todo-edit-item and incorporating deleted commands
1586 todo-edit-multiline-item and todo-edit-done-item-comment.
1587 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1588 Use only numeric value of prefix argument. Remove detailed
1589 descriptions of the arguments from the documentation string, since
1590 this is treated in the Todo mode user manual.
1591 (todo-edit-item--diary-inclusion): New function, replacing old
1592 command todo-edit-item-diary-inclusion and incorporating and fixing
1593 functionality of deleted command todo-edit-item-diary-nonmarking,
1594 making sure to remove todo-nondiary-marker when adding
1595 diary-nonmarking-symbol.
1596 (todo-edit-category-diary-inclusion): Make sure to delete
1597 diary-nonmarking-symbol when adding todo-nondiary-marker.
1598 (todo-edit-category-diary-nonmarking): Fix indentation.
1599 (todo-insert-item--parameters): Group diary and nonmarking
1600 parameters together.
1601 (todo-insert-item--apply-args): Adjust to signature of
1602 todo-insert-item--basic and incorporate copy parameter.
1603 Make small code improvements.
1604 (todo-insert-item--next-param): Improve prompt and adjust it to
1605 new parameter grouping. Remove obsolete code.
1606 (todo-edit-item--param-key-alist)
1607 (todo-edit-item--date-param-key-alist)
1608 (todo-edit-done-item--param-key-alist): New defconsts.
1609 (todo-edit-item--prompt): New variable.
1610 (todo-edit-item--next-key): New function.
1611 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1612 Remove bindings of deleted commands.
1614 2014-05-02 Leo Liu <sdl.web@gmail.com>
1616 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1618 2014-05-01 Glenn Morris <rgm@gnu.org>
1620 * allout-widgets.el (allout-widgets-tally)
1621 (allout-decorate-item-guides):
1622 * menu-bar.el (menu-bar-positive-p):
1623 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1624 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1625 * progmodes/js.el (js--inside-param-list-p)
1626 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1627 * progmodes/prolog.el (region-exists-p):
1628 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1629 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1630 Doc fixes (replace `iff').
1632 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1636 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1638 * dired.el (dired-initial-position-hook, dired-initial-position):
1641 2014-04-29 Glenn Morris <rgm@gnu.org>
1643 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1645 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1647 * faces.el (face-spec-recalc): Apply X resources only after the
1648 defface spec has been applied. Thus, X resources are no longer
1649 overridden by the defface spec which also fixes issues on win32 where
1650 the toolbar coloring was wrong because it is set through X resources
1651 and was (wrongfully) overridden. (Bug#16694)
1653 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1655 * textmodes/rst.el (electric-pair-pairs): Declare.
1656 (rst-mode): Set it (bug#17131).
1658 2014-04-27 Juri Linkov <juri@jurta.org>
1660 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1661 and `print-level' to nil. (Bug#17351)
1663 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1665 * battery.el (battery-update): Handle the case where battery
1666 status is "N/A" (bug#17319).
1668 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1670 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1671 Use equal-including-properties to compare help-echo strings (bug#17331).
1673 2014-04-24 Leo Liu <sdl.web@gmail.com>
1675 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1676 Fix syntax for @. (Bug#17325)
1678 2014-04-24 Daniel Colascione <dancol@dancol.org>
1680 * emacs-lisp/cl.el (gv): Require gv early to break eager
1681 macro-expansion cycles.
1683 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1685 * simple.el (region-active-p): Check there's a mark (bug#17324).
1687 * simple.el (completion-list-mode-map): Use choose-completion for the
1688 mouse binding as well (bug#17302).
1689 (completion-list-mode, completion-setup-function): Adjust docstring and
1690 echo area message accordingly.
1691 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1692 calling convention of choose-completion.
1693 * comint.el (comint-dynamic-list-completions):
1694 * term.el (term-dynamic-list-completions): Accept choose-completion.
1696 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1697 &, |, +, - and * can't be a division (bug#17317).
1699 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1702 features on gnome-terminal (bug#16988).
1704 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1706 * dired.el (dired-insert-set-properties): Do not consider
1707 subdirectory headings and empty lines to be information that
1708 `dired-hide-details-mode' should hide. (Bug#17228)
1710 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1712 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1713 Remove test messages.
1714 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1717 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1720 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1722 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1724 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1726 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1727 Set "IFS=" when using read builtin, in order to preserve spaces in
1728 the file name. Add test messages for hunting a bug on hydra.
1729 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1731 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1733 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1734 Don't prettify a word within a symbol.
1736 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1738 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1741 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1743 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1744 assignments such as "case=hello" (bug#17297).
1746 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1748 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1750 (tramp-file-name-handler, tramp-completion-file-name-handler):
1751 Revert patch from 2014-04-10, it isn't necessary anymore.
1752 (tramp-autoload-file-name-handler)
1753 (tramp-register-autoload-file-name-handlers): New defuns.
1754 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1755 (tramp-register-file-name-handlers): Remove also
1756 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1757 Do not autoload its invocation, but eval it after loading of 'tramp.
1759 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1761 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1763 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1765 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1766 was done (bug#17264).
1767 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1770 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1771 here-documents (bug#17262).
1773 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1775 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1776 Provide doc strings, as required by snarf-documentation.
1778 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1781 arg of overlays-at. Use `invisible-p'.
1783 * obsolete/lucid.el (extent-at):
1784 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1786 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1788 2014-04-14 João Távora <joaotavora@gmail.com>
1790 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1793 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1795 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1796 Use mapc to loop over a vector. (Bug#17257).
1798 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1800 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1801 patch, there are new problems with file names containing spaces.
1802 Get rid of backticks. (Bug#17238)
1804 2014-04-13 João Távora <joaotavora@gmail.com>
1806 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1809 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1811 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1812 (blink-cursor-mode): Mention customization variables and the
1813 effect of 'blink-cursor-blinks'.
1815 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1817 * simple.el (undo): Prevent insertion of identity mapping into
1818 undo-equiv-table so as undo-only does not inf loop in the presence
1819 of consecutive nils in undo list.
1821 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1823 * faces.el (make-face): Deprecate optional argument as it is no
1824 longer needed/used since the conditional X resources handling
1825 has been pushed down to make-face-x-resource-internal itself.
1826 (make-empty-face): Don't pass optional argument to make-face.
1828 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1830 * international/characters.el <standard-case-table>: Add entries
1831 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1832 Set category of Coptic characters be 'g' (Greek).
1834 2014-04-12 Leo Liu <sdl.web@gmail.com>
1836 * progmodes/octave.el (completion-table-with-cache): Define if not
1838 (octave-goto-function-definition)
1839 (octave-sync-function-file-names)
1840 (octave-find-definition-default-filename): Backquote upattern for
1843 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1845 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1846 name twice due to backticks. (Bug#17238)
1848 2014-04-11 Glenn Morris <rgm@gnu.org>
1850 * term/w32-win.el (x-win-suspend-error):
1851 * term/x-win.el (x-win-suspend-error): Sync docs.
1853 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1855 Ediff's overlay priorities cause more trouble than they solve.
1856 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1857 (ediff-highest-priority): Remove function (bug#17234).
1858 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1859 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1860 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1863 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1865 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1866 entry; use symbol boundaries to avoid mis-matches.
1868 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1870 * net/tramp.el (tramp-file-name-handler)
1871 (tramp-completion-file-name-handler): Avoid recursive loading.
1873 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1874 Quote result also locally.
1876 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1878 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1879 Module methods. (Bug#17216)
1881 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1884 (describe-bindings-internal): Mark obsolete.
1886 2014-04-07 João Távora <joaotavora@gmail.com>
1889 (electric-pair--syntax-ppss): When inside comments parse from
1891 (electric-pair--balance-info): Fix typo in comment.
1892 (electric-pair--in-unterminated-string-p): Delete.
1893 (electric-pair--unbalanced-strings-p): New function.
1894 (electric-pair-string-bound-function): New var.
1895 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1896 according to `electric-pair--in-unterminated-string-p'
1898 2014-04-07 João Távora <joaotavora@gmail.com>
1900 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1901 Inhibit quote pairing if point-max is inside an unterminated string.
1902 (electric-pair--looking-at-unterminated-string-p): Delete.
1903 (electric-pair--in-unterminated-string-p): New function.
1905 2014-04-07 Glenn Morris <rgm@gnu.org>
1907 * shell.el (shell-directory-tracker):
1908 Go back to just ignoring failures. (Bug#17159)
1910 2014-04-06 João Távora <joaotavora@gmail.com>
1912 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1913 backspace. (bug#16981)
1914 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1915 (electric-pair-backward-delete-char-untabify): Delete.
1916 (electric-pair-mode-map): Bind backspace to a menu item filtering
1917 a new `electric-pair-delete-pair' command.
1918 (electric-pair-delete-pair): New command.
1920 2014-04-06 João Távora <joaotavora@gmail.com>
1922 * progmodes/python.el (python-electric-pair-string-delimiter):
1923 Fix triple-quoting electricity. (Bug#17192)
1925 2014-04-06 João Távora <joaotavora@gmail.com>
1927 * elec-pair.el (electric-pair-post-self-insert-function):
1928 Don't skip whitespace when `electric-pair-text-pairs' and
1929 `electric-pair-pairs' were used. syntax to
1930 electric-pair--skip-whitespace. (Bug#17183)
1932 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1934 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1937 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1940 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1942 2014-04-05 Glenn Morris <rgm@gnu.org>
1944 * help.el (view-lossage): Doc tweak.
1946 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1948 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1949 only when inhibit-x-resources is nil, and do that earlier in the
1950 function. Doc fix. (Bug#16694)
1951 (face-spec-choose): Accept additional optional argument, whose
1952 value is returned if no matching attributes are found.
1953 (face-spec-recalc): Use the new optional argument when calling
1954 face-spec-choose. (Bug#16378)
1955 (make-face-x-resource-internal): Do nothing when
1956 inhibit-x-resources is non-nil. Don't touch the default face if
1957 reversed video is given--as was done in previous versions of Emacs.
1958 (face-set-after-frame-default): Don't call
1959 make-face-x-resource-internal here. (Bug#16434)
1961 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1963 * doc-view.el (doc-view-bookmark-jump):
1964 Use `bookmark-after-jump-hook' to jump to the right page after the
1965 buffer is shown in a window. (bug#16090)
1967 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1969 * international/characters.el (mirroring): Fix last change:
1970 instead of loading uni-mirrored.el explicitly, do that implicitly
1971 by creating the 'mirroring' uniprop table. This avoids announcing
1972 the loading of uni-mirrored.el.
1974 2014-04-04 Glenn Morris <rgm@gnu.org>
1976 * files.el (buffer-stale--default-function)
1977 (buffer-stale-function, revert-buffer--default):
1978 * autorevert.el (auto-revert-buffers): Doc tweaks.
1980 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1982 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1984 2014-04-03 Glenn Morris <rgm@gnu.org>
1986 * files.el (make-backup-file-name-function)
1987 (make-backup-file-name, make-backup-file-name--default-function)
1988 (make-backup-file-name-1, find-backup-file-name)
1989 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1990 (buffer-stale--default-function, buffer-stale-function)
1991 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1992 (revert-buffer, revert-buffer--default)
1993 (revert-buffer-insert-file-contents--default-function):
1994 Doc fixes related to defaults no longer being nil.
1995 (make-backup-file-name-function): Bump :version.
1996 Restore nil as a valid but deprecated custom type.
1998 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2000 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2001 used as a variable (bug#17174).
2003 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2005 * progmodes/perl-mode.el (perl-indent-new-calculate):
2006 Handle forward-sexp failure (bug#16985).
2007 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2008 modifiers introducing expressions (bug#17116).
2010 2014-04-02 Glenn Morris <rgm@gnu.org>
2012 * menu-bar.el (menu-bar-file-menu):
2013 * vc/ediff.el (ediff-current-file):
2014 Update for revert-buffer-function no longer being nil by default.
2016 * simple.el (command-execute): Respect nil disabled-command-function.
2018 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2020 * simple.el (command-execute): Do not execute the command when it
2021 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2023 2014-03-29 Juri Linkov <juri@jurta.org>
2025 * dired-aux.el (dired-compress-file): Don't use string-match-p
2026 because its match data is used afterwards.
2028 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2030 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2033 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2035 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2036 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2038 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2039 Don't propertize `?' or `!' as symbol constituent when after
2042 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2044 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2045 which is no longer needed and causes trouble in GTK builds (bug#17046).
2047 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2048 Use url-insert-file-contents; package-handle-response no longer exists.
2050 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2052 * emacs-lisp/package.el: Fix bug#16733 (again).
2053 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2054 (url-http-target-url): Remove unused declarations.
2055 (package-handle-response): Remove.
2056 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2057 (package--download-one-archive): Use current-buffer instead of
2058 dynamic binding of `buffer'.
2059 (describe-package-1): Do not decode readme-string.
2061 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2063 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2065 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2067 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2069 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2070 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2071 `remote-file-name-inhibit-cache' to nil in the second pass.
2072 (tramp-find-executable): Do not call "which" on SunOS.
2073 (tramp-send-command-and-check): Fix docstring.
2074 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2075 check whether source directory has set the sticky bit.
2077 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2079 * simple.el (primitive-undo): Only process marker adjustments
2080 validated against their corresponding (TEXT . POS). Issue warning
2081 for lone marker adjustments in undo history. (Bug#16818)
2082 (undo-make-selective-list): Add marker adjustments to selective
2083 undo list based on whether their corresponding (TEXT . POS) is in
2084 the region. Remove variable adjusted-markers, which was unused
2085 and only non nil during undo-make-selective-list.
2086 (undo-elt-in-region): Return nil when passed a marker adjustment
2087 and explain in function doc.
2089 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2091 * emacs-lisp/package.el (package--add-to-archive-contents):
2092 Include already installed and built-in packages in
2093 `package-archive-contents'.
2094 (package-install): Don't include already installed packages in the
2095 options during interactive invocation. (Bug#16762)
2097 2014-03-24 Daniel Colascione <dancol@dancol.org>
2099 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2100 instead of cl-loop search function.
2102 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2104 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2106 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2108 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2110 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2112 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2113 Match special global variables without curlies, too.
2114 (ruby-font-lock-keywords): Simplify the matcher for special global
2115 variables. Don't require a non-word character after the variable.
2118 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * simple.el (redisplay-highlight-region-function): Increase priority of
2121 overlay to make sure boundaries are visible (bug#15899).
2123 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2125 * frameset.el (frameset-restore): Compare display strings with equal.
2127 * frame.el (make-frame): Don't quote display name in error message,
2128 it is already a string.
2130 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2132 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2135 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2137 * emacs-lisp/package.el (package-show-package-list): If the buffer
2138 is already displayed in another window, switch to that window.
2140 2014-03-21 Daniel Colascione <dancol@dancol.org>
2142 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2143 information in bug reports.
2145 2014-03-23 Daniel Colascione <dancol@dancol.org>
2147 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2148 list to look for keyword arguments instead of `memq', fixing
2149 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2150 Please make bootstrap.
2152 2014-03-23 Richard Stallman <rms@gnu.org>
2154 * battery.el (battery-linux-sysfs): Search for each field
2155 from the beginning of the buffer.
2157 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2159 * emacs-lisp/package.el (package-desc): Use the contents of the
2160 quoted form, not its cdr. (Bug#16873)
2162 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2164 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2165 benefit of doc.c; change parameter profile to match the X function.
2167 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2169 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2170 and `tramp-copy-env'.
2172 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2173 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2175 2014-03-21 Glenn Morris <rgm@gnu.org>
2177 * electric.el (electric-indent-post-self-insert-function): Add doc.
2179 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2181 * emacs-lisp/package.el (package-compute-transaction):
2182 Use `version-list-<=' to compare the requirement version against
2183 the version of package already to be installed. Update the error
2184 message. (Bug#16826)
2186 * progmodes/ruby-mode.el (ruby-smie-rules):
2187 Add indentation rule for ` @ '. (Bug#17050)
2189 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2191 * align.el (align-regexp): Remove superfluous backslash.
2193 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2194 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2195 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2196 Fix docstring typos.
2197 (ffap-next): Use C-u in docstring.
2198 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2199 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2200 Remove superfluous backslashes.
2201 (ffap-string-at-point): Reflow docstring.
2203 * server.el (server-host): Reflow docstring.
2204 (server-unload-function): Fix docstring typo.
2205 (server-eval-at): Remove superfluous backslash.
2207 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2208 (skeleton-insert): Doc fix.
2209 (skeleton-insert): Reflow docstring.
2211 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2212 (tty-color-approximate, tty-color-by-index, tty-color-values)
2213 (tty-color-desc): Remove superfluous backslashes.
2215 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2217 * electric.el (electric-newline-and-maybe-indent): New command.
2218 Bind it globally to C-j.
2219 (electric-indent-mode): Don't mess with the global map any more.
2220 Don't drop the post-self-insert-hook is some buffer is still using it
2223 * bindings.el (global-map): Remove C-j binding.
2225 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2226 the docstring of functions advised before dumping (bug#16993).
2228 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2230 * ps-print.el (ps-generate-postscript-with-faces):
2231 Explicitly deactivate the mark (bug#16866).
2232 * simple.el (deactivate-mark): Update region highlight.
2234 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2236 * emacs-lisp/package.el (describe-package-1):
2237 Decode commentary (bug#16733).
2239 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2241 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2242 modification of the value argument of :set (bug#16755).
2244 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2246 * simple.el (newline-and-indent): Do autofill (bug#17031).
2248 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2250 * newcomment.el (comment-normalize-vars): Only add escaping check
2251 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2252 (comment-beginning): Use `narrow-to-region' instead of moving back
2254 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2255 (comment-start-skip): Update the docstring.
2257 2014-03-18 Richard Stallman <rms@gnu.org>
2259 * dired.el (dired-display-file): Force use of other window.
2261 2014-03-18 Daniel Colascione <dancol@dancol.org>
2263 * startup.el (tty-handle-args): Remove debug message from 2007.
2265 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2268 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2269 (advice--make-1, advice-add, advice-remove):
2270 Remove braindead :advice-pending hack.
2272 2014-03-17 Glenn Morris <rgm@gnu.org>
2274 * calendar/calendar.el (calendar-generate-month): Apply weekend
2275 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2277 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2279 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2280 (tramp-call-process): Trace also DESTINATION.
2282 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2283 Quote file names when they are local. Remove superfluous trace.
2285 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2287 * newcomment.el (comment-beginning): If `comment-start-skip'
2288 doesn't match, move back one char and try again. (Bug#16971)
2290 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2291 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2292 Set `comment-start-skip' to a simpler value that doesn't try to
2293 check if the semicolon is escaped (this is handled by
2294 `syntax-ppss' now). (Bug#16971)
2296 * progmodes/scheme.el (scheme-mode-variables): Same.
2298 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2300 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2301 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2302 current (Bug#16816, Bug#17007).
2303 (with-current-buffer-window): New macro doing the same as
2304 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2305 * help.el (help-print-return-message): Warn in doc-string to not
2306 use this in `with-help-window'.
2307 (describe-bindings-internal): Call `describe-buffer-bindings'
2308 from within help buffer. See Juanma's scenario in (Bug#16816).
2309 (with-help-window): Update doc-string.
2310 * dired.el (dired-mark-pop-up):
2311 * files.el (save-buffers-kill-emacs):
2312 * register.el (register-preview): Use `with-current-buffer-window'
2313 instead of `with-temp-buffer-window'.
2315 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2317 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2318 Implement inserting into current buffer, documented in their docstrings.
2319 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2320 (rst-section-tree-point, rst-forward-section, rst-indent)
2321 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2322 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2323 (rst-font-lock-handle-adornment-pre-match-form)
2324 (rst-repeat-last-character): Reflow docstrings.
2325 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2326 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2327 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2328 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2329 Fix docstring typos.
2330 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2331 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2332 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2334 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2336 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2337 for compatibility with other ports.
2338 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2339 from the -xrm command line argument, but in the Nextstep port its value
2340 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2342 * progmodes/python.el (defconst, python-syntax-count-quotes)
2343 (python-indent-region, python-indent-shift-right)
2344 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2345 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2346 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2347 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2348 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2349 (python-shell-buffer-substring, python-shell-send-buffer)
2350 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2351 (python-completion-complete-at-point, python-fill-docstring-style)
2352 (python-eldoc-function, python-imenu-format-item-label)
2353 (python-imenu-format-parent-item-label)
2354 (python-imenu-format-parent-item-jump-label)
2355 (python-imenu--build-tree, python-imenu-create-index)
2356 (python-imenu-create-flat-index): Fix docstring typos.
2357 (python-indent-context, python-shell-prompt-regexp, run-python):
2358 Remove superfluous backslashes.
2359 (python-indent-line, python-nav-beginning-of-defun)
2360 (python-shell-get-buffer, python-shell-get-process)
2361 (python-info-current-defun, python-info-current-line-comment-p)
2362 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2363 (python-indent-post-self-insert-function, python-shell-send-file)
2364 (python-shell-completion-get-completions)
2365 (python-shell-completion-complete-or-indent)
2366 (python-eldoc--get-doc-at-point): Reflow docstrings.
2368 2014-03-14 Glenn Morris <rgm@gnu.org>
2370 * emacs-lisp/package.el (package-menu-mode-map):
2371 Replace use of obsolete function alias. Tweak menu item text.
2373 * info.el (Info-finder-find-node):
2374 Ignore the `emacs' metapackage. (Bug#10813)
2376 * finder.el (finder-list-matches): Include unversioned packages
2377 in the result of a keyword search.
2379 * finder.el (finder--builtins-descriptions): New constant.
2380 (finder-compile-keywords): Use finder--builtins-descriptions.
2382 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2384 * simple.el (blink-matching-paren): Describe the new value,
2385 `jump', enabling the old behavior.
2386 (blink-matching-open): Use that value. (Bug#17008)
2388 2014-03-14 Glenn Morris <rgm@gnu.org>
2390 * finder.el (finder-no-scan-regexp): Add leim-list.
2391 (finder-compile-keywords):
2392 Don't skip files with same basename. (Bug#14010)
2393 * Makefile.in (setwins_finder): New, excluding leim.
2394 (finder-data): Use setwins_finder.
2396 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2397 (help-function-arglist, help-make-usage): Move from here...
2398 * help.el (help-split-fundoc, help-add-fundoc-usage)
2399 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2400 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2402 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2404 * net/socks.el (socks, socks-override-functions)
2405 (socks-find-services-entry):
2406 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2407 (hif-find-ifdef-block):
2408 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2410 * net/tls.el (tls-program): Reflow docstring.
2412 * progmodes/pascal.el (pascal-mode-abbrev-table)
2413 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2414 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2415 (pascal-outline-mode): Fix docstring typos.
2416 (pascal-mode): Let define-derived-mode document mode hook.
2417 (pascal-uncomment-area): Reflow.
2418 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2420 * progmodes/opascal.el (opascal-compound-block-indent)
2421 (opascal-case-label-indent): Fix docstring typos.
2422 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2424 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2426 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2427 Fontify multiple adjacent negation chars. (Bug#17004)
2429 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2431 * emacs-lisp/package.el (package--prepare-dependencies):
2432 Accept requirements without explicit version (bug#14941).
2434 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2436 * register.el (register-separator, copy-to-register): Doc fixes.
2437 (register-preview-default): Remove unnecessary call to concat.
2439 * frameset.el (frameset-restore): When checking for a visible frame,
2440 use the action map instead of calling visible-frame-list.
2442 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2444 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2446 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2448 * window.el (fit-frame-to-buffer): Get maximum width from
2449 display's width instead of height.
2451 2014-03-12 Glenn Morris <rgm@gnu.org>
2453 * desktop.el (desktop-restore-frames)
2454 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2455 (desktop-restore-reuses-frames): Doc tweaks.
2457 * electric.el (electric-indent-mode): Doc fix.
2459 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2461 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2462 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2463 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2464 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2465 (cvs-dired-use-hook): Fix docstring typos.
2466 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2469 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2470 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2471 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2472 (cvs-execute-single-dir): Fix docstring typos.
2474 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2475 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2477 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2479 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2480 Fix docstring typos.
2482 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2484 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2485 called from jump-to-register after unloading the frameset package.
2487 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2489 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2490 (bug#16975). Deactivate the mark before setting it to nil.
2491 (activate-mark): Do nothing if region is already active.
2493 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2495 * frameset.el (frameset--target-display): Remove definition; declare.
2496 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2498 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2500 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2501 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2502 when the advice is pending.
2503 (advice-remove): Remove this marker when not needed any more.
2505 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2507 * frameset.el: Separate options for reusing frames and cleaning up.
2508 (frameset--reuse-list): Remove definition; declare.
2509 (frameset--action-map): Declare.
2510 (frameset--find-frame-if): Doc fix.
2511 (frameset--restore-frame): Cache frame action.
2512 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2513 how to clean up the frame list after restoring. Remove cleaning
2514 options from REUSE-FRAMES. Change all keyword values to symbols.
2515 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2517 * desktop.el (desktop-restore-forces-onscreen)
2518 (desktop-restore-reuses-frames): Use non-keyword values.
2519 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2521 2014-03-10 Glenn Morris <rgm@gnu.org>
2523 * files.el (find-file): Doc fix: update info node name.
2525 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2526 Doc fix: remove references to deleted info nodes.
2528 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2530 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2531 Do not add `nil' to the environment, when there's no remote `locale'.
2532 (tramp-find-inline-encoding): Check, that the remote host has
2533 installed perl, before sending scripts.
2535 2014-03-10 Leo Liu <sdl.web@gmail.com>
2537 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2538 Clear eldoc-last-message. (Bug#16920)
2540 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2545 2014-03-09 Juri Linkov <juri@jurta.org>
2547 * ansi-color.el (ansi-color-names-vector): Copy default colors
2548 from `xterm-standard-colors' that look well on the default white
2549 background (and also on the black background) to avoid illegible
2550 color combinations like yellow-on-white and white-on-white.
2551 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2553 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2555 * frameset.el (frameset-restore): When no frame is visible, do not
2556 generate a list of frames, just make visible the selected one.
2558 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2560 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2561 it only contains the repository root. (Bug#16897)
2563 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2565 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2566 only when `remote-file-name-inhibit-cache' is nil.
2567 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2569 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2571 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2573 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2574 fit-frame-to-buffer variable. Fix doc-string.
2575 (fit-window-to-buffer): Set ONLY argument in call of
2576 fit-frame-to-buffer. Fix doc-string.
2578 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2580 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2581 (tramp-action-password): Clear password cache if needed.
2582 (tramp-read-passwd): Do not clear password cache.
2584 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2585 cache unless it is the first password request.
2587 2014-03-06 Glenn Morris <rgm@gnu.org>
2589 * simple.el (newline): Doc tweak.
2591 * emacs-lisp/shadow.el (load-path-shadows-find):
2592 Ignore dir-locals. (Bug#12357)
2594 2014-03-05 Glenn Morris <rgm@gnu.org>
2596 * files.el (interpreter-mode-alist):
2597 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2599 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2601 * frameset.el (frameset--initial-params): Filter out null entries.
2603 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2605 * window.el (window-min-height, window-min-width):
2606 Rewrite doc-strings.
2607 (window-body-size): Add PIXELWISE argument to make it consistent
2610 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2612 * finder.el (finder-mode-map, finder-mode-syntax-table):
2613 Revert part of 2014-02-28 change.
2615 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2617 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2618 (eww-setup-buffer): Clear next/prev/etc more reliably.
2619 (eww-textarea-map): [tab] doesn't work on tty.
2620 Reported by Mario Lang.
2622 * net/shr.el (shr-map): Ditto.
2624 2014-03-04 Glenn Morris <rgm@gnu.org>
2626 * minibuffer.el (completion-hilit-commonality):
2627 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2629 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2631 * hilit-chg.el (hilit-chg-unload-function): New function.
2632 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2633 (hilit-chg-map-changes): Prefer cardinal number to digit.
2634 (hilit-chg-display-changes): Reflow docstring.
2635 (highlight-changes-rotate-faces): Remove superfluous backslash.
2637 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2639 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2640 `tramp-send-command-and-check'.
2642 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2644 * hexl.el (hexl-address-region, hexl-ascii-region)
2645 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2646 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2647 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2648 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2649 (hexl-mode): Doc fix.
2650 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2651 (hexl-mode-ruler): Fix typos in docstrings.
2653 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2654 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2655 Remove superfluous backslashes.
2656 (strokes-last-stroke, strokes-global-map, strokes-mode):
2658 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2659 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2660 (strokes-distance-squared, strokes-global-set-stroke)
2661 (strokes-global-set-stroke-string): Doc fixes.
2662 (strokes-help): Fix typos; reflow docstring.
2664 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2666 * window.el (window-in-direction): Fix doc-string.
2668 2014-03-04 Glenn Morris <rgm@gnu.org>
2670 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2671 Explicit error if no grammar.
2672 (smie-config-save): Doc fix. Fix quote typo.
2674 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2676 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2677 electric-indent-mode-hook if we obey electric-indent-mode.
2678 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2679 decide whether we obey electric-indent-mode.
2680 (c-change-set-fl-decl-start, c-extend-after-change-region):
2682 (c-electric-indent-mode-hook): Assume we do want to obey
2683 electric-indent-mode.
2685 * electric.el (electric-indent-mode-has-been-called): Remove.
2686 (electric-indent-mode): Fix accordingly.
2688 * files.el (hack-local-variables): Mention file name in warning.
2690 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2692 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2694 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2695 * simple.el (delete-forward-char): Mark as interactive-only.
2697 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2699 * icomplete.el (icomplete-completions):
2700 Follow-up to 2014-03-01 change.
2702 * icomplete.el: Miscellaneous doc fixes.
2703 Use Icomplete everywhere instead of icomplete for consistency.
2704 (icomplete-max-delay-chars): Fix typo.
2705 (icomplete-mode): Use \[].
2706 (icomplete-tidy, icomplete-exhibit): Reflow.
2707 (icomplete-minibuffer-setup-hook, icomplete-completions):
2708 Remove superfluous backlashes.
2710 * ido.el: Miscellaneous doc fixes.
2711 Use Ido everywhere instead of ido or `ido' for consistency.
2712 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2713 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2714 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2715 (ido-separator): Extract obsolescence info from docstring and declare
2716 with make-obsolete-variable.
2717 (ido-minibuffer-setup-hook): Simplify example.
2718 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2719 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2720 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2721 (ido-everywhere): Reflow docstring.
2722 (ido-toggle-vc): Doc fix.
2723 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2724 of long list of keybindings.
2726 2014-03-03 Glenn Morris <rgm@gnu.org>
2728 * frame.el (display-pixel-height, display-pixel-width)
2729 (display-mm-dimensions-alist, display-mm-height)
2730 (display-mm-width): Doc tweaks.
2732 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2734 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2735 case of undo in region.
2737 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2739 * window.el (fit-window-to-buffer): Fix argument in window-size
2740 call when window is horizontally combined.
2742 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2744 * icomplete.el (icomplete-completions): Use string-width.
2745 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2747 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2750 Highlight regexp options. (Bug#16914)
2752 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2754 * window.el (window--max-delta-1): Round down when calculating
2755 how many lines/columns we can get from a window.
2757 2014-03-01 Glenn Morris <rgm@gnu.org>
2759 * isearch.el (search-invisible): Doc fix.
2761 * minibuffer.el (completion-hilit-commonality):
2762 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2763 * comint.el (comint-dynamic-list-completions): Doc fix.
2764 * comint.el (comint-dynamic-list-completions):
2765 * filecache.el (file-cache-minibuffer-complete):
2766 * tempo.el (tempo-display-completions):
2767 * eshell/em-hist.el (eshell-list-history):
2768 Replace use of obsolete argument of display-completion-list.
2770 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2772 * icomplete.el (icomplete-completions):
2773 Revert back to using "..." when ?… cannot be displayed.
2775 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2777 * finder.el (finder-unload-function): New function.
2779 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2781 * dframe.el (dframe-detach):
2782 * find-dired.el (find-dired, find-name-dired):
2783 * finder.el (finder-mode-map, finder-mode-syntax-table)
2784 (finder-headmark, finder-select, finder-mouse-select):
2785 Fix docstring typos.
2787 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2789 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2790 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2791 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2792 Fix doc-string based on a suggestion by Nicolas Richard
2793 <theonewiththeevillook@yahoo.fr>.
2794 * help.el (with-help-window): Fix doc-string.
2796 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2798 * net/shr.el (shr-image-animate): New option.
2799 (shr-put-image): Respect shr-image-animate.
2801 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2803 * net/tramp-adb.el (tramp-adb-parse-device-names):
2804 Use `accept-process-output'.
2805 (tramp-adb-handle-file-truename): Cache the localname only.
2806 (tramp-adb-handle-make-directory)
2807 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2808 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2809 modes cannot be changed.
2811 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2812 file properties of symlinks.
2814 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2816 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2817 required/optional fields to match development biblatex. (Bug#16781)
2819 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2821 * saveplace.el (toggle-save-place):
2822 Fix argument handling. (Bug#16673)
2824 2014-02-28 Glenn Morris <rgm@gnu.org>
2826 * minibuffer.el (completions-first-difference)
2827 (completions-common-part, completion-hilit-commonality): Doc fixes.
2829 2014-02-28 Karl Berry <karl@gnu.org>
2831 * info.el (Info-mode-map): Add H for describe-mode,
2832 to synchronize with standalone Info.
2834 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2836 * progmodes/sql.el (sql-interactive-mode):
2837 Avoid setting global comint-input-ring-separator. (Bug#16814)
2839 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2841 * net/dbus.el (dbus--init-bus): Declare function.
2842 (dbus-path-local, dbus-interface-local): New defconst.
2843 (dbus-init-bus): Use them.
2844 (dbus-return-values-table): Extend doc.
2845 (dbus-handle-bus-disconnect): Extend error message.
2847 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2849 * subr.el (y-or-n-p): Fix double space issue in message.
2851 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2853 * net/tramp.el (tramp-call-process): Improve trace message.
2854 (tramp-handle-insert-file-contents): Trace error case.
2856 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2857 <insert-directory>: Use `tramp-handle-insert-directory'.
2858 (tramp-adb-handle-insert-directory): Remove function.
2859 (tramp-adb-send-command-and-check): New defun, replacing
2860 `tramp-adb-command-exit-status'. Change all callees.
2861 (tramp-adb-handle-file-attributes)
2862 (tramp-adb-handle-directory-files-and-attributes): Use it.
2863 (tramp-adb-ls-output-name-less-p):
2864 Use `directory-listing-before-filename-regexp'.
2865 (tramp-adb-handle-delete-directory): Flush also file properties of
2866 the truename of directory.
2867 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2868 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2869 (tramp-adb-handle-write-region): Implement APPEND.
2870 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2871 properties correctly.
2872 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2873 variables. Check for connected devices only when needed.
2875 2014-02-27 Glenn Morris <rgm@gnu.org>
2877 * minibuffer.el (completion-table-dynamic)
2878 (completion-table-with-cache): Doc fixes.
2880 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2881 (completing-read-multiple): Doc fixes.
2883 2014-02-27 Daniel Colascione <dancol@dancol.org>
2885 * minibuffer.el (completion--nth-completion): Fix indentation.
2887 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2888 explicit tramp path is empty.
2890 2014-02-27 Glenn Morris <rgm@gnu.org>
2892 * emacs-lisp/crm.el (completing-read-multiple):
2893 Empower help-enable-auto-load.
2895 2014-02-26 Glenn Morris <rgm@gnu.org>
2897 * startup.el (command-line): Don't init the tty in daemon mode.
2899 Avoid calling tty-setup-hook twice, eg if a term file
2900 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2901 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2902 (tty-create-frame-with-faces): Use it.
2903 * startup.el (command-line): Pass run-hook argument
2904 to tty-run-terminal-initialization.
2906 * dired.el (dired-restore-desktop-buffer): Demote errors;
2907 eg in case a glob match fails. (Bug#16884)
2909 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2911 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2912 error from `read-from-string'. (Bug#16850)
2914 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2915 result of `completing-read' in the interactive form. (Bug#16854)
2917 2014-02-25 Glenn Morris <rgm@gnu.org>
2919 * image.el (image-animate, image-animate-timeout):
2920 Stop animating images in dead buffers. (Bug#16878)
2922 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2924 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2926 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2927 * term/sun.el (sun-raw-prefix-hooks):
2928 Use tty-setup-hook instead of term-setup-hook.
2929 (terminal-init-sun): Construct message from bytecomp plist.
2930 * term/wyse50.el (enable-arrow-keys): Doc fix.
2932 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2934 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2935 Fix docstring typos.
2937 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2939 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2941 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2943 * minibuffer.el (completion--try-word-completion):
2944 Fix error when completing M-x commands (bug#16808).
2946 2014-02-24 Leo Liu <sdl.web@gmail.com>
2948 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2950 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2952 * apropos.el (apropos-print): Avoid formatting error when
2953 apropos-do-all and apropos-compact-layout are both t.
2955 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2957 * apropos.el (apropos-property, apropos-all-words-regexp)
2958 (apropos-true-hit, apropos-variable, apropos-print):
2959 Fix docstring typos, and remove obsolete comment.
2961 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2963 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2964 Preserve trailing "/". (Bug#16851)
2966 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2968 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2969 after `=>' (bug#16811).
2970 (ruby-smie-rules): Handle the inconsistent second element of the
2971 list returned by `smie-indent--parent'.
2972 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2975 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2977 * elec-pair.el (electric-pair-text-syntax-table)
2978 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2979 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2980 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2981 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2983 2014-02-22 Glenn Morris <rgm@gnu.org>
2985 * imenu.el (imenu--generic-function): Doc fix.
2987 * register.el (frame-configuration-to-register): Make obsolete.
2989 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2991 * desktop.el (desktop-save-buffer-p): Do not fail when
2992 desktop-files-not-to-save is nil. Return t for true result
2995 2014-02-22 Daniel Colascione <dancol@dancol.org>
2997 * net/secrets.el (secrets-create-item, secrets-search-items):
2998 Check that attribute values are strings, avoiding the construction
2999 of invalid dbus messages.
3001 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3003 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3004 defun-declarations-alist.
3006 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3011 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3013 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3014 (whitespace-newline, whitespace-trailing, whitespace-line)
3015 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3016 (whitespace-space-after-tab): Fix typo in docstrings.
3018 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3020 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3022 * electric.el (electric-indent-functions-without-reindent):
3023 Add `yaml-indent-line'.
3025 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3027 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3028 It has done nothing for years; should be removed after the release.
3030 * simple.el (choose-completion): Fix docstring typo.
3031 (read-quoted-char-radix): Remove unneeded * in docstring.
3032 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3033 Don't escape parentheses unnecessarily in docstrings.
3035 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3037 Fix handling of window-min-height/-width (Bug#16738).
3038 * window.el (window--dump-window, window--dump-frame):
3040 (window--min-size-1): Account for window dividers.
3041 When window-resize-pixelwise is nil, delay rounding till after the
3042 sum of the window components has been calculated.
3043 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3044 nil make sure at least one text line and two text columns remain
3046 (window-resize): Signal an error when window-resize-apply fails.
3047 (window--resize-child-windows): Fix calculation of by how many
3048 pixels a window can still be shrunk via window-new-normal.
3049 (adjust-window-trailing-edge): Call window--resizable with
3050 correct TRAIL argument.
3052 (with-temp-buffer-window): Don't evaluate BODY within
3053 with-current-buffer (Bug#16816).
3055 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3057 * net/tramp.el (tramp-check-cached-permissions):
3058 Call `file-attributes' with `suffix' being a symbol but a string.
3060 2014-02-21 Daniel Colascione <dancol@dancol.org>
3062 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3063 (dbus-init-bus): New function: call into dbus-init-bus-1
3064 and installs a handler for the disconnect signal.
3065 (dbus-call-method): Rewrite to look for result in cons.
3066 (dbus-call-method-handler): Store result in cons.
3067 (dbus-check-event): Recognize events with nil sender as valid.
3068 (dbus-handle-bus-disconnect): New function. React to bus
3069 disconnection signal by synthesizing dbus error for each
3070 pending synchronous or asynchronous call.
3071 (dbus-notice-synchronous-call-errors): New function.
3072 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3073 is true, not all the time.
3075 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3077 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3078 Remove obsolescence declarations, these variables do not exist anymore.
3080 * savehist.el (savehist-save-minibuffer-history)
3081 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3082 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3083 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3084 mostly, refer to "Savehist mode" when talking about the mode,
3085 and not the function.
3087 * saveplace.el (save-place): Remove redundant info in docstring.
3088 (save-place-forget-unreadable-files, toggle-save-place)
3089 (save-place-forget-unreadable-files, save-place-dired-hook):
3090 Fix typos and remove unneeded backslashes.
3092 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3094 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3095 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3098 <insert-directory>: Use `tramp-handle-insert-directory'.
3099 (tramp-gvfs-handle-insert-directory): Remove function.
3101 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3102 Call `tramp-handle-insert-directory'.
3104 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3106 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3107 before the start of buffer/region (bug#16799).
3109 2014-02-20 Glenn Morris <rgm@gnu.org>
3111 * isearch.el (search-invisible): Doc fix.
3113 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3115 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3118 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3120 * frameset.el (frameset-restore): Delay removing an old frame's
3121 duplicate id until the new frame has been correctly created.
3123 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3125 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3126 (tramp-check-cached-permissions): Call `file-attributes' if the
3129 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3130 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3132 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3133 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3134 (tramp-gvfs-maybe-open-connection): Set always connection
3135 properties, even if target is mounted already.
3137 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3138 Set tramp-autoload cookie.
3139 (tramp-get-remote-touch): New defun.
3140 (tramp-sh-handle-set-file-times): Use it.
3141 (tramp-sh-handle-directory-files-and-attributes):
3142 Use `tramp-handle-directory-files-and-attributes' if neither stat
3143 nor perl are available on the remote host.
3145 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3146 "/". Write long listing only when "l" belongs to the switches.
3148 * net/trampver.el: Update release number.
3150 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3152 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3154 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3156 * window.el (window-state-put): Allow WINDOW to refer to an
3157 internal window (Bug#16793).
3159 2014-02-19 Glenn Morris <rgm@gnu.org>
3161 * textmodes/remember.el: Move provide statement to end.
3162 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3163 (remember-notes): Doc fixes.
3165 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3167 * delsel.el (delete-char): Restore incorrectly erased property
3170 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3172 * frameset.el (frameset--restore-frame): When a frame is being reused
3173 and its root window is not alive, delete all the frame's windows before
3174 restoring the window state. This works around the issue in bug#16793.
3176 2014-02-18 Glenn Morris <rgm@gnu.org>
3178 * textmodes/remember.el (remember-data-directory)
3179 (remember-directory-file-name-format, remember-store-in-files)
3180 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3181 (remember-notes-save-and-bury-buffer)
3182 (remember-notes--kill-buffer-query): Doc fixes.
3184 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3186 2014-02-17 Alan Mackenzie <acm@muc.de>
3188 Connect electric-indent-mode up with CC Mode. Bug #15478.
3189 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3190 to electric-indent-{,local-}-mode.
3191 (c-basic-common-init): Set electric-indent-inhibit.
3192 Initialise c-electric-flag from electric-indent-mode.
3193 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3194 New hook functions which propagate electric-indent-mode to CC mode.
3196 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3197 hit, toggle electric-indent-local-mode.
3199 * electric.el (electric-indent-mode-has-been-called):
3202 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3204 * frameset.el (frameset-cfg-id): New function.
3205 (frameset--reuse-frame, frameset-restore): Use it.
3206 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3208 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * ido.el (ido-file-internal): Remove unused var `d'.
3211 Use \` for to match BoS. Fit within 80n columns.
3213 2014-02-17 Daniel Colascione <dancol@dancol.org>
3215 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3216 dbus-call-method check for completion using a busy-wait loop with
3219 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3221 Sync with Tramp 2.2.9.
3223 * net/trampver.el: Update release number.
3225 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3227 * ido.el (ido-file-internal): Don't add the name of an existing
3228 directory twice. (Bug#16747)
3230 2014-02-16 Glenn Morris <rgm@gnu.org>
3232 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3233 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3235 2014-02-15 Michael R. Mauger <michael@mauger.com>
3237 * progmodes/sql.el: Version 3.4
3238 (sql-oracle-options): New default value ("-L").
3239 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3240 (sql-placeholders-filter): Correct placeholder pattern.
3241 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3242 (sql-login-delay): New variable.
3243 (sql-product-interactive): Use it.
3245 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3247 * frameset.el (frameset--jump-to-register): Check that buffer is live
3250 2014-02-15 Glenn Morris <rgm@gnu.org>
3252 * info.el (info-initialize): Revert 2014-01-10 change.
3254 2014-02-14 Glenn Morris <rgm@gnu.org>
3256 * replace.el (map-query-replace-regexp)
3257 (read-regexp-defaults-function, read-regexp): Doc fixes.
3259 * dired.el (dired-read-regexp):
3260 * faces.el (list-faces-display):
3261 * misearch.el (multi-isearch-read-matching-buffers)
3262 (multi-isearch-read-matching-files):
3263 * play/cookie1.el (cookie-apropos):
3264 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3266 * textmodes/remember.el (remember): Use frameset-to-register
3267 rather than frame-configuration-to-register.
3269 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3271 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3272 incorrect keybinding.
3274 2014-02-13 Daniel Colascione <dancol@dancol.org>
3276 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3277 when adding overlays so that line numbers from compiler match line
3280 2014-02-13 Glenn Morris <rgm@gnu.org>
3282 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3284 * jit-lock.el (jit-lock-mode): Doc fix.
3286 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3288 * apropos.el (apropos-read-pattern): When the user passes an empty
3289 string, give a more helpful error message than "Wrong type
3290 argument: stringp, nil".
3292 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3296 2014-02-13 Glenn Morris <rgm@gnu.org>
3298 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3300 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3303 shift-select commands.
3305 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3307 * progmodes/js.el (js-indent-line): Don't widen.
3308 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3310 2014-02-12 Glenn Morris <rgm@gnu.org>
3312 * icomplete.el (icomplete): Add info-link to defgroup.
3313 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3314 (icomplete-minibuffer-map, icomplete-mode)
3315 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3317 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3318 (package-menu-filter): Rename from package-menu-filter-interactive.
3321 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3323 * frameset.el (frameset--jump-to-register): Select the required
3324 window and buffer before restoring position (bug#16696).
3326 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3328 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3330 2014-02-10 Glenn Morris <rgm@gnu.org>
3332 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3334 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3336 * w32-common-fns.el (x-get-selection): Doc fix.
3337 * select.el (x-get-selection): Doc fix. (Bug#15109)
3339 * face-remap.el (face-remap-add-relative)
3340 (face-remap-remove-relative, face-remap-reset-base)
3341 (face-remap-set-base): Call force-mode-line-update to redisplay
3342 the current buffer due to potential change in faces. (Bug#16709)
3344 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3346 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3347 script more robustly.
3349 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3351 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3353 * simple.el (choose-completion): Doc fix (bug#14160).
3355 * subr.el (event-start): Say what a nil EVENT value means.
3357 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3360 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3362 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3364 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3366 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3367 predicate function (bug#15455).
3369 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3371 * ielm.el (inferior-emacs-lisp-mode): Instead of
3372 `comment-use-global-state', set `comment-use-syntax'.
3374 2014-02-10 Glenn Morris <rgm@gnu.org>
3376 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3378 2014-02-09 Alan Mackenzie <acm@muc.de>
3380 Fix c-invalidate-state-cache on narrowed buffers.
3381 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3382 Widen when setting and clearing the CPP delimiter properties.
3384 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3386 * help.el (describe-bindings): Doc fix (bug#9888).
3388 * files.el (save-buffer): Use ARG as the parameter name for
3389 consistency (bug#10346).
3390 (save-buffer): Clarify the 0 argument (bug#10346).
3392 * cus-edit.el (customize-apropos): Fix error string.
3393 (custom-buffer-create): Doc fix (bug#11122).
3394 (custom-sort-items): Doc fix (bug#11121).
3396 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3398 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3399 (icomplete-simple-completing-p): Mention the previous variable.
3401 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3402 meaning of the parameter (bug#12282).
3404 * files.el (find-file-noselect): Clarify prompt when changing
3405 readedness (bug#13261).
3406 (locate-file): Suffixes aren't returned, so don't say that they
3408 (backup-inhibited): Doc clarification (bug#12525).
3410 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3411 before we actually start to delete things (bug#16331).
3413 * subr.el (event-start): Doc fix (bug#14228).
3416 2014-02-09 Glenn Morris <rgm@gnu.org>
3418 * emacs-lisp/warnings.el (lwarn):
3419 Empower help-enable-auto-load. (Bug#15940)
3421 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3423 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3426 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3428 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3429 Insert output at end of buffer. (Bug#16120)
3431 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3433 * simple.el (choose-completion-string-functions): Document new
3434 calling convention (bug#14153).
3435 (execute-extended-command): Clarify doc string (bug#13373).
3437 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3439 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3440 (find-grep-dired): Doc fix (bug#14288).
3442 2014-02-08 Juri Linkov <juri@jurta.org>
3444 * isearch.el (isearch-quote-char): Check character validity
3445 like in `quoted-insert' (bug#16677).
3447 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3449 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3451 * isearch.el (isearch-hide-immediately): Doc clarification
3454 * simple.el (line-move): Document utility function used many
3455 places in the Emacs sources (bug#14843).
3457 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3458 (dired-prev-marked-file): Doc fix (bug#14855).
3459 (dired-up-directory): Doc fix (bug#14848).
3461 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3463 * files.el (file-relative-name): Doc fix (bug#15159).
3465 * fringe.el (fringe-styles): Doc fix (bug#15239).
3467 * isearch.el (isearch-filter-predicate): Documentation typo fix
3470 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3472 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3474 * replace.el (replace-match-maybe-edit): Doc clarification
3477 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3479 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3481 2014-02-08 Glenn Morris <rgm@gnu.org>
3483 * help-fns.el (describe-variable):
3484 Check {file,dir}-local-variables-alist, and buffer-file-name,
3485 in the correct buffer.
3487 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3489 * help-fns.el (describe-variable): Fix the case where
3490 a value is directory-local with no dir-locals file. (Bug#16635)
3492 2014-02-08 Glenn Morris <rgm@gnu.org>
3494 * abbrev.el (edit-abbrevs-mode):
3495 Derive from fundamental-mode. (Bug#16682)
3497 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3499 * simple.el (quoted-insert): Check character validity (bug#16677).
3501 2014-02-07 Juri Linkov <juri@jurta.org>
3503 * desktop.el (desktop-read): Claim the lock when the owner is not
3504 the current process. (Bug#16157)
3506 2014-02-07 Juri Linkov <juri@jurta.org>
3508 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3509 to "\\` ". (Bug#16651)
3511 2014-02-07 Juri Linkov <juri@jurta.org>
3513 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3514 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3515 (desktop-auto-save-cancel-timer): New function with some code from
3516 `desktop-auto-save-set-timer'.
3517 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3518 Instead of setting `desktop-save-mode' to nil, call
3519 `desktop-save-mode' with arg 0. (Bug#16630)
3521 2014-02-07 Glenn Morris <rgm@gnu.org>
3523 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3524 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3525 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3527 * obsolete/iswitchb.el: Move to obsolete/.
3528 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3529 since obsolete/ is not scanned for autoloads.
3530 * emacs-lisp/authors.el (authors-valid-file-names):
3533 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3534 Disable now non-functional find-file-hook.
3536 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3538 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3539 instead of ";" in order to avoid additional prompts. Let heredoc
3540 scripts read from tty. (Bug#16582)
3541 (tramp-send-command): No special handling of heredocs, it isn't
3544 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3547 with a space (bug#16664). Limit the symbols considered to the ones
3548 that are bound or fbound (bug#16646).
3550 2014-02-06 Glenn Morris <rgm@gnu.org>
3552 * epa.el (epa-mail-aliases): Doc fix.
3554 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3556 * emacs-lisp/lisp.el (lisp-completion-at-point):
3557 Use `completion-table-merge' instead of `completion-table-in-turn'
3560 * minibuffer.el (completion-table-merge): New function.
3562 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3564 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3565 (tramp-sh-handle-set-file-acl)
3566 (tramp-sh-handle-start-file-process)
3567 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3568 (tramp-find-executable, tramp-send-command): Use it.
3570 2014-02-05 Glenn Morris <rgm@gnu.org>
3572 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3574 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3576 * progmodes/python.el (python-shell-send-string)
3577 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3579 2014-02-04 Anders Lindgren <andlind@gmail.com>
3581 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3582 the names (bug#16620).
3584 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3586 * faces.el (window-divider): New default value. Rewrite doc-string.
3587 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3589 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3591 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3592 `protected' and `public' can also be called without arguments.
3594 2014-02-03 Glenn Morris <rgm@gnu.org>
3596 * register.el (window-configuration-to-register)
3597 (frame-configuration-to-register): Unadvertise unused argument.
3598 * frameset.el (frameset-to-register): Remove unused argument.
3600 * frameset.el (frameset-to-register):
3601 * kmacro.el (kmacro-to-register):
3602 * register.el (increment-register):
3603 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3604 (calc-append-to-register, calc-prepend-to-register):
3605 * play/gametree.el (gametree-layout-to-register)
3606 (gametree-apply-register-layout):
3607 * textmodes/picture.el (picture-clear-rectangle-to-register)
3608 (picture-yank-rectangle-from-register):
3609 * vc/emerge.el (emerge-combine-versions-register):
3610 Use register-read-with-preview to read registers.
3612 2014-02-03 João Távora <joaotavora@gmail.com>
3614 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3615 when at beginning of (possibly narrowed) buffer.
3617 2014-02-02 Daniel Colascione <dancol@dancol.org>
3619 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3620 Also try to display local help from just before point.
3622 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3624 c-parse-state. Don't "append-lower-brace-pair" in certain
3625 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3626 recognised as a comment.
3628 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3629 as well as normal comment starter.
3630 (c-parse-state-get-strategy): Extra return possibility
3632 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3633 return value list to indicate replacement of a brace-pair cons
3635 (c-parse-state-1): With 'back-and-forward, only call
3636 c-append-lower-brace-pair-to state-cache when cons-separated.
3638 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3640 * term/ns-win.el (ns-suspend-error): New function.
3641 (ns-initialize-window-system): Add ns-suspend-error to
3642 suspend-hook (Bug#16612).
3644 2014-02-02 Daniel Colascione <dancol@dancol.org>
3646 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3647 Make loading cc-mode silent.
3649 2014-02-02 Daniel Colascione <dancol@dancol.org>
3651 * comint.el (comint-prompt-read-only): Change doc to suggest
3654 2014-02-02 Glenn Morris <rgm@gnu.org>
3656 * register.el (register-read-with-preview, point-to-register)
3657 (window-configuration-to-register, frame-configuration-to-register)
3658 (jump-to-register, number-to-register, view-register, insert-register)
3659 (copy-to-register, append-to-register, prepend-to-register)
3660 (copy-rectangle-to-register): Doc fixes.
3662 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3664 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3665 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3666 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3667 * help-fns.el (describe-function-1): Use it.
3669 2014-02-02 Glenn Morris <rgm@gnu.org>
3671 * register.el (register-preview-default): New function,
3672 split from register-preview.
3673 (register-preview-function): Rename from register-preview-functions,
3675 (register-preview): Use register-preview-function.
3676 (register-read-with-preview): Error on non-character event. (Bug#16595)
3678 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3680 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3681 `:' before binary operators (bug#16609). Don't check for `:'
3682 before `[' and `(', or their syntax status. A percent literal
3683 can't end with either.
3684 (ruby-font-lock-keywords): For built-ins that require arguments,
3685 check that they're followed by something that looks like argument
3688 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3690 * subr.el (butlast): Document what an omitted N means (bug#13437).
3693 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3695 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3696 depth shallower (bug#16587).
3697 (shr-tag-svg): Respect `shr-inhibit-images'.
3698 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3700 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3702 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3703 (ruby-smie-grammar): Make "." right-associative. Make its priority
3704 lower than the ternary and all binary operators.
3705 (ruby-smie-rules): Indent "(" relative to the first non-"."
3706 parent, or the first "." parent at indentation.
3707 Use `ruby-align-chained-calls' for indentation of "." tokens.
3710 2014-01-31 Juri Linkov <juri@jurta.org>
3712 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3713 from `make-hash-table'.
3715 * textmodes/ispell.el (ispell-init-process): Change message format
3716 to be consistent with other messages.
3718 2014-01-31 Glenn Morris <rgm@gnu.org>
3720 * delsel.el (delete-selection-mode): Doc fix.
3722 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3723 (trace-function-background): Doc fixes.
3725 * ido.el (ido-use-virtual-buffers): Doc fix.
3726 Reset :version, since the default value has not changed.
3728 * register.el (register-preview-delay, register-read-with-preview):
3731 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3732 do not mess with mail-buffer position (fixes 2009-11-03 change).
3733 * progmodes/cc-mode.el (c-submit-bug-report):
3734 Check auto-fill-mode is bound. (Bug#16592)
3736 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3738 * startup.el (fancy-splash-image-file): New function,
3739 split from fancy-splash-head.
3740 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3741 so that we are both using the same image. (Bug#16574)
3743 2014-01-30 Glenn Morris <rgm@gnu.org>
3745 * simple.el (eval-expression): Doc fix.
3747 * hexl.el (hexl-mode-hook):
3748 * ielm.el (ielm-mode-hook):
3749 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3750 (lisp-interaction-mode-hook):
3751 * progmodes/cfengine.el (cfengine3-documentation-function):
3752 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3754 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3757 is a symbol (bug#16584).
3759 2014-01-30 Glenn Morris <rgm@gnu.org>
3761 * help.el (help-for-help-internal): Add "P" to text.
3763 2014-01-29 Glenn Morris <rgm@gnu.org>
3765 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3767 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3769 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3772 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3774 * progmodes/hideif.el: Extend to full CPP expression syntax.
3775 (hif-token-alist): Add missing tokens.
3776 (hif-token-regexp): Add support for float/octal/hex immediates.
3777 (hif-string-literal-regexp): New const.
3778 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3779 (hif-exprlist): New function.
3780 (hif-parse-if-exp): Use it.
3781 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3782 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3783 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3784 (hif-logxor, hif-comma): New functions.
3786 2014-01-28 Glenn Morris <rgm@gnu.org>
3788 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3790 * indent.el (tab-stop-list): Doc fix. Add :version.
3792 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3793 (cvs-append-to-ignore): Add compatibility alias.
3795 2014-01-27 Glenn Morris <rgm@gnu.org>
3797 * dired.el (dired-hide-details-mode): Don't autoload it,
3798 since it cannot be used outside Dired buffers anyway.
3800 * emulation/cua-base.el (cua-mode): Doc fix.
3802 * dired.el (dired-hide-details-hide-symlink-targets)
3803 (dired-hide-details-hide-information-lines)
3804 (dired-hide-details-mode): Doc fixes.
3806 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3807 * strokes.el (strokes-file): Doc fix. Bump :version.
3808 (strokes-help): Doc fix.
3809 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3810 * emulation/viper.el (viper): Doc fix for custom group.
3811 (top-level): Remove oh-so-no-longer-relevant text about vip.
3812 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3814 * ido.el (ido-save-directory-list-file):
3815 * saveplace.el (save-place-file):
3816 * calendar/timeclock.el (timeclock-file):
3817 * net/quickurl.el (quickurl-url-file):
3818 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3819 * progmodes/idlwave.el (idlwave-config-directory):
3820 * textmodes/remember.el (remember-data-file):
3823 2014-01-26 Glenn Morris <rgm@gnu.org>
3825 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3826 Doc fix. Make obsolete.
3827 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3829 * sort.el (delete-duplicate-lines): Doc fix.
3831 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3833 * progmodes/ada-mode.el (ada):
3834 * woman.el (woman): Link to info manual and Commentary section.
3836 * progmodes/flymake.el (flymake):
3837 * nxml/nxml-mode.el (nxml):
3839 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3840 * htmlfontify.el (htmlfontify):
3843 * ido.el (ido): Link to info manual.
3845 2014-01-25 Leo Liu <sdl.web@gmail.com>
3847 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3849 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3851 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3854 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3856 * net/eww.el (eww-download-callback):
3857 Fix reference to eww-download-directory.
3859 * emacs-lisp/bytecomp.el (byte-compile-file):
3860 Remove unused local variable `file-name'.
3862 2014-01-24 Glenn Morris <rgm@gnu.org>
3864 * woman.el (woman-default-faces, woman-monochrome-faces):
3865 Fix obsolescence specification.
3867 * subr.el (with-demoted-errors): Doc fix.
3869 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3872 (cl--macroexp-fboundp): New function.
3873 (cl--make-type-test): Use it.
3875 2014-01-23 Glenn Morris <rgm@gnu.org>
3877 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3878 * simple.el (eval-expression): Doc fixes.
3880 2014-01-22 Glenn Morris <rgm@gnu.org>
3882 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3884 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3886 * emacs-lisp/package.el: Write files silently.
3887 (package-autoload-ensure-default-file, package--write-file-no-coding)
3888 (package-generate-description-file, package--download-one-archive)
3889 (package-install-from-archive): Tell `write-region' to stay quiet.
3890 (package-menu-mode, package-menu--print-info): Omit the Archive column
3891 if there's only one archive.
3892 (package-all-keywords, package--has-keyword-p): Remove dead code.
3894 2014-01-22 Glenn Morris <rgm@gnu.org>
3896 * version.el (emacs-bzr-version-bzr): Fix typo.
3898 * version.el (emacs-repository-get-version):
3899 Check either .bzr or .git, but not both.
3900 Make the git case actually use the DIR argument, and return nil
3901 rather than the empty string.
3902 Avoid error if .git exists but the git executable is not found.
3904 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3906 Fixes in window size functions around Bug#16430 and Bug#16470.
3907 * window.el (window-total-size, window-size): New argument ROUND.
3908 (window--min-delta-1, window-min-delta, window--max-delta-1):
3909 Be more conservative when calculating the numbers of lines or
3910 columns a window can shrink (Bug#16430).
3911 (fit-window-to-buffer): Simplify code.
3912 * term.el (term-window-width): Call window-body-width again.
3914 2014-01-22 Glenn Morris <rgm@gnu.org>
3916 * image.el (image-format-suffixes): Doc fix.
3918 * international/quail.el (quail-define-package): Doc fix.
3920 * emacs-lisp/authors.el (authors-valid-file-names)
3921 (authors-renamed-files-alist): Additions.
3923 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3924 reverts 2014-01-09 change. (Bug#16422)
3926 * calc/calc-embed.el (thing-at-point-looking-at):
3927 * emacs-lisp/map-ynp.el (x-popup-dialog):
3928 * obsolete/lmenu.el (x-popup-dialog):
3929 * emacs-lisp/package.el (url-recreate-url):
3930 * mail/mailclient.el (clipboard-kill-ring-save):
3931 * subr.el (x-popup-dialog): Update declaration.
3932 * mail/rmail.el (rmail-mime-message-p):
3933 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3935 2014-01-21 Daniel Colascione <dancol@dancol.org>
3937 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3938 Correctly detect when we're inside an arithmetic expansion form
3939 containing nested parenthesis.
3940 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3941 to detect cases where we shouldn't expand "<<" to a heredoc
3944 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3946 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3947 (eldoc--message-command-p): New function.
3948 (eldoc-display-message-p): Use it.
3949 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3950 message is not automatically erased for us.
3951 (eldoc-print-current-symbol-info): Erase previous message, if any.
3953 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3955 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3956 specify it's an interactive function.
3958 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3959 Fix regex used for scanning for citation keys which failed for
3960 citations with optional arguments.
3962 2014-01-21 Leo Liu <sdl.web@gmail.com>
3964 * simple.el (read--expression): Don't enable eldoc-mode.
3966 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3968 * simple.el (move-beginning-of-line): Make sure we don't move forward
3971 2014-01-20 Juri Linkov <juri@jurta.org>
3973 * saveplace.el (toggle-save-place, save-place-to-alist)
3974 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3975 'dired-mode) before checking for dired-directory. (Bug#16477)
3977 2014-01-20 Juri Linkov <juri@jurta.org>
3979 * indent.el (indent-line-to): Use backward-to-indentation
3980 instead of back-to-indentation. (Bug#16461)
3982 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3984 Revert some of the CANNOT_DUMP fix (Bug#16494).
3985 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3986 but fixing this can wait until after the next release.
3987 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3989 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3991 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3992 Use `password-word-equivalents'.
3993 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3994 to t. (Bug#5664, Bug#13124)
3996 2014-01-19 Alan Mackenzie <acm@muc.de>
3998 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4000 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4001 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4002 * progmodes/cc-mode.el (c-before-change, c-after-change)
4003 (c-font-lock-fontify-region): Bind it here.
4005 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4007 * term.el (term-window-width): Call window-text-width instead of
4008 window-width (Bug#16470).
4010 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4012 * simple.el (password-word-equivalents): Remove duplicates.
4013 Sort, to make this easier next time.
4014 Downcase. Omit ": " after "jelszó".
4016 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4018 * term/common-win.el (saved-region-selection): Defvar it.
4019 (x-select-text): Set saved-region-selection (Bug#16382).
4021 2014-01-18 Glenn Morris <rgm@gnu.org>
4023 * emacs-lisp/authors.el (authors-aliases)
4024 (authors-renamed-files-alist): Add some entries.
4026 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4028 * net/tramp.el (tramp-password-prompt-regexp):
4029 Use `password-word-equivalents' if available.
4030 (tramp-action-password, tramp-process-one-action)
4031 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4033 2014-01-17 Chong Yidong <cyd@gnu.org>
4035 * simple.el (password-word-equivalents): New defcustom.
4036 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4038 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4041 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4043 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4044 (ruby-align-to-stmt-keywords): Change the default value.
4045 Use `ruby-alignable-keywords' to generate the possible customization
4047 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4048 keywords, check against the value of `ruby-alignable-keywords'
4049 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4051 2014-01-17 Glenn Morris <rgm@gnu.org>
4053 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4055 Make M-x authors return zero *Authors Errors* from current logs.
4056 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4057 (authors-ignored-files): Add some entries, remove others.
4058 (authors-ambiguous-files, authors-valid-file-names):
4060 (authors-renamed-files-alist): Add, remove, and adjust entries.
4061 (authors-renamed-files-regexps): Add some entries.
4062 Remove some very broad ones. Make some entries `lax'.
4063 (authors-lax-changelogs): New constant.
4064 (authors-disambiguate-file-name): Treat top-level specially.
4065 (authors-lax-changelog-p): New function.
4066 (authors-canonical-file-name): Check file as written against
4067 authors-valid-file-names. Do not special-case etc/.
4068 Handle `lax' logs and authors-renamed-files-regexps elements.
4070 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4072 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4073 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4076 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4078 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4079 Assume we're already in the proper buffer.
4080 Inspired by Anders Lindgren <andlind@gmail.com>.
4081 (follow-post-command-hook): Call it from the right buffer.
4082 (follow-comint-scroll-to-bottom): Adjust call.
4083 (follow-all-followers): Use get-buffer-window-list.
4085 2014-01-15 Daniel Colascione <dancol@dancol.org>
4087 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4088 `buffer-file-name' in interactive-form so that we don't leave
4089 pathless file names in `file-name-history'.
4091 2014-01-15 Juri Linkov <juri@jurta.org>
4093 * indent.el (indent-rigidly): Set deactivate-mark to nil
4094 in transient indentation mode. (Bug#16438)
4096 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4098 * emacs-lisp/package.el (package-desc-keywords): New function
4100 (describe-package-1, package-all-keywords)
4101 (package--has-keyword-p): Use it.
4103 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4105 * simple.el (define-alternatives): When creating the
4106 COMMAND-alternatives variable, assign COMMAND as its definition
4107 name so that `describe-variable' can relocate it.
4109 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4111 * font-lock.el (font-lock-keywords): Fix typo in docstring
4114 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4116 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4117 line instead of wrongly reset `add-coment' (bug#13577).
4119 2014-01-14 Daiki Ueno <ueno@gnu.org>
4121 * epa-file.el (epa-file-write-region): Encode the region according
4122 to `buffer-file-format'. Problem reported at:
4123 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4125 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4127 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4128 so it applies in the right buffer (bug#16410).
4130 2014-01-13 Daniel Colascione <dancol@dancol.org>
4132 * textmodes/rst.el (rst-define-key): Provide deprecated
4133 keybindings through named functions instead of anonymous ones so
4134 that "??" doesn't appear in describe-mode output.
4136 2014-01-13 Bastien Guerry <bzg@gnu.org>
4138 * simple.el (define-alternatives): Call the selected command
4139 interactively. When setting `COMMAND--implementation' for the
4140 first time, tell the user how to chose another implementation.
4141 Enhance the docstring.
4143 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4145 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4146 (log-edit--match-first-line): New function.
4147 (log-edit-font-lock-keywords): Use it.
4148 (log-edit-mode): Make jit-lock-defer-multiline work.
4150 2014-01-13 Bastien Guerry <bzg@gnu.org>
4152 * rect.el (rectangle-mark-mode): When the region is not active,
4153 display a message saying that the mark as been set and that
4154 rectangle mode is in use.
4155 (rectangle--highlight-for-redisplay): Only put an overlay with a
4156 visible vertical bar when (display-graphic-p) is non-nil.
4157 This partially fixes Bug#16403.
4159 2014-01-13 Juri Linkov <juri@jurta.org>
4161 * info.el (Info-find-file): Go to DIR before displaying the error
4162 about a nonexistent file if no previous Info file is visited.
4163 Use `user-error' instead of `error' for "Info file %s does not exist".
4164 (Info-find-node-2): In case of a nonexistent node in unwind forms
4165 go to the Top node if there is no previous node to revert to.
4168 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4170 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4171 * window.el (fit-frame-to-buffer): Fix doc-string.
4172 Respect window-min-height/-width. Fit pixelwise when
4173 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4174 when avoiding that frame goes partially off-screen.
4175 (fit-window-to-buffer): Respect window-min-height/-width
4178 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4180 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4181 after an empty line.
4183 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4185 * net/shr.el (shr-render-region): Autoload.
4187 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4189 * net/eww.el (eww-download-directory): Rename from
4190 `eww-download-path' (Bug#16419).
4192 2014-01-12 Leo Liu <sdl.web@gmail.com>
4194 * dired-x.el (dired-mode-map): Fix last change.
4196 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4198 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4201 * emacs-lisp/generic.el (generic--normalize-comments):
4202 Rename from generic--normalise-comments. All uses changed.
4203 * play/bubbles.el (bubbles--neighborhood-score)
4204 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4205 (bubbles--neighborhood-available)
4206 (bubbles--update-neighborhood-score):
4207 Rename from names with 'neighbourhood'. All uses changed.
4209 2014-01-12 Leo Liu <sdl.web@gmail.com>
4211 Re-implement the feature of showing eldoc info after editing.
4212 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4213 (eldoc-edit-message-commands): New function.
4214 (eldoc-print-after-edit): New variable.
4215 (eldoc-pre-command-refresh-echo-area): Emit message only by
4216 eldoc-message-commands.
4217 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4218 if eldoc-print-after-edit is set. (Bug#16346)
4219 * simple.el (read--expression): Enable eldoc-mode.
4220 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4222 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4223 Eric S. Raymond <esr@thyrsus.com>
4225 * version.el (emacs-repository-get-version): Enhance so the
4226 function works correctly in either a Bazaar or Git repo.
4228 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4230 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4231 Goes with removal of the joke manpages from /etc.
4233 2014-01-10 Kenichi Handa <handa@gnu.org>
4235 * mail/rmail.el (rmail-get-coding-system):
4236 Check rmail-get-coding-function before "funcall"ing it.
4238 2014-01-10 Glenn Morris <rgm@gnu.org>
4240 * emacs-lisp/authors.el (authors-fixed-entries):
4241 Update for files that no longer exist.
4243 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4245 * version.el (emacs-bzr-get-version): Restore compatibilty with
4248 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4250 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4253 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4255 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4257 2014-01-10 Chong Yidong <cyd@gnu.org>
4259 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4261 2014-01-10 Anders Lindgren <andlind@gmail.com>
4263 * follow.el (follow-cache-command-list): Include right-char and
4266 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4269 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4270 * woman.el (woman-mark-horizontal-position):
4271 Rename from woman-mark-horizonal-position. Use changed.
4273 2014-01-10 Glenn Morris <rgm@gnu.org>
4275 * info.el (info-initialize): If running uninstalled, ensure our
4276 own info files are always found first, even if INFOPATH is set.
4278 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4280 2014-01-09 David Engster <deng@randomsample.de>
4282 * emacs-lisp/eieio-custom.el:
4283 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4284 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4285 * emacs-lisp/eieio.el: Regenerate autoloads.
4287 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4289 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4290 following renames. (Bug#8756)
4292 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4294 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4296 (activate-mark): Add `no-tmm' argument.
4297 (set-mark, push-mark-command): Use it instead of running
4298 activate-mark-hook by hand.
4300 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4302 In preparation for the move to git, sanitize out some
4303 Bazaar-specific names.
4305 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4307 * version.el (emacs-bzr-version): Name changed to
4308 emacs-repository-version. Obsolete-variable alias made.
4309 * loadup.el: Follow through on this name change.
4310 * mail/emacsbug.el (report-emacs-bug): Factor out any
4311 assumption about the version control system in use.
4313 2014-01-08 David Engster <deng@randomsample.de>
4315 * help-fns.el (help-fns-describe-function-functions):
4316 New variable to call functions for augmenting help buffers.
4317 (describe-function-1): Remove explicit calls to
4318 `help-fns--compiler-macro', `help-fns--parent-mode' and
4319 `help-fns--obsolete'. Put them in above new variable instead, and
4320 call them through `run-hook-with-args'.
4321 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4322 `eieio-describe-class'. Not meant for interactive use anymore,
4323 but to augment existing help buffers. Remove optional second
4324 argument. Create proper button for file location.
4325 Rewrite function to use `insert' instead of `princ' and `prin1' where
4327 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4328 (eieio-method-def, eieio-class-def): Move further up.
4329 (describe-method, describe-generic, eieio-describe-method):
4331 (eieio-help-constructor, eieio-help-generic): Rename from
4332 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4333 Rewrite to use `insert' in the current buffer and use proper help
4335 (eieio-help-find-method-definition)
4336 (eieio-help-find-class-definition): Also accept symbols as
4338 (eieio-help-mode-augmentation-maybee): Remove.
4339 (eieio-describe-class-sb): Use `describe-function'.
4340 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4341 Add `eieio-help-generic' and `eieio-help-constructor'.
4343 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4346 * language/china-util.el (hz-ascii-designation):
4347 Rename from hz-ascii-designnation.
4348 (hz-ascii-designation): Rename from hz-ascii-designnation.
4351 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4356 2014-01-08 Bastien Guerry <bzg@gnu.org>
4358 * emacs-lisp/package.el (package-delete):
4359 Correctly delete the package from package-alist.
4361 2014-01-08 Daiki Ueno <ueno@gnu.org>
4363 * emacs-lisp/package.el (url-recreate-url): Declare.
4364 (url-http-target-url): Declare.
4365 (package-handle-response): Include requested URL in the error message.
4366 (package--check-signature): Don't re-signal errors from
4367 package--with-work-buffer. Suggested by Stefan Monnier.
4369 2014-01-07 Bastien Guerry <bzg@gnu.org>
4371 * minibuffer.el (completion--try-word-completion): When both a
4372 hyphen and a space are possible candidates for the character
4373 following a word, display both candidates. (Bug#15980)
4375 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4377 * window.el (balance-windows-2): While rounding don't give a
4378 window more than the remainder. Bug#16351, bug#16383.
4380 2014-01-07 Glenn Morris <rgm@gnu.org>
4382 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4383 (menu-bar-help-menu): Use view-external-packages instead.
4385 2014-01-07 Bastien Guerry <bzg@gnu.org>
4387 * emacs-lisp/package.el (package-delete): Also delete the package
4388 name from `package-alist', not its description only.
4390 2014-01-07 Glenn Morris <rgm@gnu.org>
4392 * help.el (view-external-packages):
4393 * menu-bar.el (menu-bar-help-extra-packages):
4394 Visit efaq.info rather than etc/MORE.STUFF.
4396 2014-01-07 Juri Linkov <juri@jurta.org>
4398 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4399 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4401 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4402 that shadows RET. (Bug#16342)
4404 2014-01-07 Chong Yidong <cyd@gnu.org>
4406 * isearch.el (isearch-yank-char, isearch-yank-word)
4407 (isearch-yank-line): Doc fix.
4409 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4412 * emacs-lisp/elint.el (elint-find-builtins):
4413 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4414 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4415 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4416 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4417 * apropos.el (apropos-safe-documentation):
4418 * subr.el (symbol-file): Remove redundant fboundp.
4419 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4421 2014-01-06 Bastien Guerry <bzg@gnu.org>
4423 * hl-line.el (global-hl-line-overlay): Make a local variable.
4424 (global-hl-line-overlays): New variable to store all overlays.
4425 (global-hl-line-mode): Don't delete overlays from the current
4426 buffer when `global-hl-line-sticky-flag' is non-nil.
4427 (global-hl-line-highlight): Add new overlays to
4428 `global-hl-line-overlays'.
4429 (global-hl-line-unhighlight-all): New function to delete all
4430 overlays when turning off `global-hl-line-mode'.
4431 This fixes Bug#16183.
4433 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * subr.el (set-transient-map): Fix nested case and docstring.
4437 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4439 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4442 2014-01-06 Daniel Colascione <dancol@dancol.org>
4444 Fix defun navigation in vc log view.
4446 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4447 like `beginning-of-defun'.
4448 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4449 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4450 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4451 (log-view-extract-comment): Call `log-view-current-entry' directly
4452 instead of relying on broken `log-view-beginning-of-defun' behavior.
4454 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4457 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4458 * emacs-lisp/debug.el (cancel-debug-on-entry):
4459 * epg.el (epg-error-to-string):
4460 * files.el (recover-file):
4461 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4462 * mail/emacsbug.el (report-emacs-bug-hook):
4463 * mail/sendmail.el (mail-recover):
4464 * ses.el (ses-yank-resize):
4465 * term/ns-win.el (ns-print-buffer):
4466 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4467 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4469 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4471 2014-01-06 Leo Liu <sdl.web@gmail.com>
4473 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4474 to avoid shadowing global key. (Bug#16354)
4476 2014-01-06 Daniel Colascione <dancol@dancol.org>
4478 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4481 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4483 * window.el (balance-windows): Add mising t to fix Bug#16351.
4485 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4487 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4489 (shr-insert): If we have a word that's longer than `shr-width',
4490 break after it anyway. Otherwise we'll do no breaking once we get
4493 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4495 * net/eww.el (eww): Support single/double quote for search.
4496 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4497 (eww-history-quit): Delete and use quit-window.
4498 (eww-history-kill): Delete, because it doesn't work well and
4500 (eww-history-mode-map): Delete some keys and add easy-menu.
4502 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4504 Fix misspelling of 'chinese' in rx (Bug#16237).
4505 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4508 Change subword regexps back to vars (Bug#16296).
4509 * progmodes/subword.el (subword-forward-regexp)
4510 (subword-backward-regexp): Change these back to variables.
4512 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4514 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4515 syntax-begin-function (bug#16247).
4517 2014-01-03 Chong Yidong <cyd@gnu.org>
4519 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4520 (advice--docstring): Delete variable.
4521 (advice--make-1): Leave the docstring empty.
4522 (advice-add): Use function-documentation for advised docstring.
4524 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4525 Ignore function-documentation property when getting documentation.
4526 (ad-activate-advised-definition): Use function-documentation
4527 generate the docstring.
4528 (ad-make-advised-definition): Don't call
4529 ad-make-advised-definition-docstring.
4530 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4533 * progmodes/sql.el (sql-help): Use function-documentation instead
4534 of dynamic-docstring-function property. No need to autoload now.
4535 (sql--help-docstring): New variable.
4536 (sql--make-help-docstring): Use it.
4538 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4540 * ielm.el (ielm-tab): Retarget.
4541 (ielm-map): Use ielm-tab for tab.
4542 (ielm-complete-filename): Use comint-filename-completion.
4543 (ielm-complete-symbol): Remove.
4544 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4545 remove ielm-tab from completion-at-point-functions (bug#16224).
4547 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4548 Beware signals raised by predicates (bug#16201).
4550 2014-01-02 Richard Stallman <rms@gnu.org>
4552 * dired-aux.el (dired-do-print): Handle printer-name.
4554 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4555 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4556 (rmail-epa-decrypt): Turn off mime processing.
4558 * mail/rmail.el (rmail-make-in-reply-to-field):
4559 Add parens in message-id.
4561 * mail/rmail.el (rmail-get-coding-function): Variable.
4562 (rmail-get-coding-system): Use it.
4564 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4566 * international/mule-conf.el: Unify the charset indian-is13194.
4567 (indian-is13194): Specify unify-map.
4569 2013-12-31 Leo Liu <sdl.web@gmail.com>
4571 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4573 2013-12-30 Daniel Colascione <dancol@dancol.org>
4575 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4576 of printing a useless when we resume from sleep.
4578 * progmodes/sh-script.el
4579 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4580 in indentation code. (Bug#16233)
4582 2013-12-28 João Távora <joaotavora@gmail.com>
4584 * elec-pair.el (electric-pair-post-self-insert-function):
4585 Don't open extra newlines at beginning of buffer. (Bug#16272)
4587 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4589 * frame.el (window-system-for-display): Don't allow to create a
4590 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4592 2013-12-28 Glenn Morris <rgm@gnu.org>
4594 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4597 * apropos.el (apropos-match-face):
4598 * calculator.el (calculator-displayer):
4599 * dabbrev.el (dabbrev-search-these-buffers-only):
4600 * face-remap.el (buffer-face-mode-face):
4601 * simple.el (yank-handled-properties):
4602 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4603 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4604 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4605 (hashcash-double-spend-database):
4606 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4607 (ruby-deep-indent-paren-style):
4608 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4609 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4610 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4611 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4612 Specify custom types.
4614 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4615 * bookmark.el (bookmark-bmenu-use-header-line):
4616 * doc-view.el (doc-view-scale-internally):
4617 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4618 * register.el (register-preview-delay):
4619 * net/shr.el (shr-bullet):
4620 * progmodes/cfengine.el (cfengine-cf-promises)
4621 (cfengine-parameters-indent):
4622 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4623 * textmodes/reftex-vars.el (reftex-label-regexps):
4624 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4626 * net/tls.el (tls-certtool-program): Fix default value.
4628 * desktop.el (desktop-restore-in-current-display):
4629 * newcomment.el (comment-empty-lines):
4630 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4631 (idlwave-pad-keyword):
4632 * progmodes/tcl.el (tcl-tab-always-indent):
4633 * textmodes/reftex-vars.el (reftex-index-default-tag):
4634 * elec-pair.el (electric-pair-skip-whitespace):
4635 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4637 * emacs-lisp/authors.el (authors-ignored-files)
4638 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4640 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4642 * shell.el (shell-dynamic-complete-command): Doc fix.
4643 (shell--command-completion-data): Shell completion now matches
4644 executable filenames from the current buffer's directory, on
4645 systems in which this behavior is the default (windows-nt, ms-dos).
4647 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4649 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4651 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4653 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4656 * electric.el: Move all electric-pair-* to elec-pair.el.
4657 * elec-pair.el: New file, split from electric.el.
4659 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4661 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4662 indentation level is larger than the width, because that will
4664 (shr-insert): Fill repeatedly long texts, so that Japanese is
4665 formatted correctly (bug#16263).
4666 (shr-find-fill-point): Off by one error in comparison with the
4669 2013-12-26 João Távora <joaotavora@gmail.com>
4671 * electric.el (electric-pair-mode): More flexible engine for skip-
4672 and inhibit predicates, new options for pairing-related functionality.
4673 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4674 if that keeps or improves their balance in buffers.
4675 (electric-pair-delete-adjacent-pairs): Delete the pair when
4676 backspacing over adjacent matched delimiters.
4677 (electric-pair-open-extra-newline): Open extra newline when
4678 inserting newlines between adjacent matched delimiters.
4679 (electric--sort-post-self-insertion-hook):
4680 Sort post-self-insert-hook according to priority values when
4681 minor-modes are activated.
4682 * simple.el (newline-and-indent): Call newline with interactive
4684 (blink-paren-post-self-insert-function): Set priority to 100.
4685 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4686 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4687 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4688 electric-pair-open-newline-between-pairs to nil.
4690 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4692 * progmodes/python.el: Use lexical-binding.
4693 (python-nav-beginning-of-defun): Stop searching ASAP.
4695 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4697 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4698 Fix interactive spec. Doc fix. (Bug#15754)
4700 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4702 * emacs-lisp/byte-run.el (eval-when-compile):
4703 * progmodes/cc-defs.el (cc-eval-when-compile):
4704 Fix edebug spec (bug#16184).
4706 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4708 * net/shr.el (shr-visit-file): Remove debugging function.
4709 (shr-insert): Don't infloop if we can't find a good place to break
4710 the line (bug#16256).
4712 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4714 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4715 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4716 python-nav-lisp-forward-sexp-safe.
4717 (python-nav--forward-sexp): New argument SAFE allows switching
4718 forward sexp movement behavior for parens.
4719 (python-nav-forward-sexp): Throw errors on unterminated parens
4721 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4722 (python-nav-backward-sexp-safe): New functions.
4723 (python-shell-buffer-substring):
4724 Use `python-nav-forward-sexp-safe'.
4726 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4728 * net/shr.el (shr-find-fill-point): Don't break lines before a
4730 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4731 (shr-find-fill-point): Remove the special checks for the quotation
4732 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4734 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4736 * net/eww.el (eww-form-textarea): Use a different face for
4737 textareas than text input since they have different keymaps
4740 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4742 * progmodes/python.el (python-nav-beginning-of-statement):
4743 Speed up (Bug#15295).
4745 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4747 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4748 the window configuration.
4750 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4752 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4753 we run on MS-Windows or MS-DOS.
4755 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4757 * window.el (balance-windows-area): Call window-size instead of
4758 window-height and window-width. Bug#16241.
4760 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4762 * net/eww.el (eww-bookmark-quit): Remove.
4763 (eww-bookmark-browse): Restore the window configuration when you
4764 choose a bookmark (bug#16144).
4766 2013-12-24 Daniel Colascione <dancol@dancol.org>
4768 * icomplete.el: Remove redundant :group arguments to `defcustom'
4770 (icomplete-show-matches-on-no-input): New customizable variable.
4771 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4772 we have something to show.
4773 (icomplete-exhibit): Compute completions even if we have no user input.
4775 2013-12-23 Daniel Colascione <dancol@dancol.org>
4777 * icomplete.el: Move `provide' to end of file.
4779 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4781 * net/gnutls.el (gnutls-verify-error): Add version tag.
4783 2013-12-23 Chong Yidong <cyd@gnu.org>
4785 * subr.el (set-transient-map): Rename from
4786 set-temporary-overlay-map. Doc fix.
4788 * face-remap.el (text-scale-adjust):
4789 * indent.el (indent-rigidly):
4790 * kmacro.el (kmacro-call-macro):
4791 * minibuffer.el (minibuffer-force-complete):
4792 * repeat.el (repeat):
4793 * simple.el (universal-argument--mode):
4794 * calendar/todo-mode.el (todo-insert-item--next-param):
4795 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4797 * indent.el (indent-rigidly): Use substitute-command-keys.
4799 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4801 * net/eww.el (eww-tag-select): Add text-property to jump to next
4803 (eww): Add non-supported ftp error.
4805 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4807 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4808 comments. Handle electric indent after typing `?' and `!'.
4810 2013-12-22 Chong Yidong <cyd@gnu.org>
4812 * faces.el (face-spec-recalc): If the theme specs are not
4813 applicable to a frame, fall back on the defface spec.
4814 This prevents themes from obliterating faces on low-color terminals.
4816 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4818 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4819 after `{'. We need it after block openers, and it doesn't seem
4820 to hurt after hash openers.
4822 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4824 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4825 extracted from `ruby-smie-rules'.
4826 (ruby--electric-indent-chars): New variable.
4827 (ruby--electric-indent-p): New function.
4828 (ruby-mode): Use `electric-indent-functions' instead of
4829 `electric-indent-chars'.
4831 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4833 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4835 (ruby-smie-rules): Indent plus one level after `=>'.
4837 2013-12-21 Richard Stallman <rms@gnu.org>
4839 * simple.el (newline): Doc fix.
4841 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4843 * net/eww.el (eww-list-histories, eww-list-histories)
4844 (eww-history-browse, eww-history-quit, eww-history-kill)
4845 (eww-history-mode-map, eww-history-mode): New command and
4846 functions to list browser histories.
4847 (eww-form-text): Support text form with disabled
4848 and readonly attributes.
4849 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4851 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4853 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4854 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4855 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4856 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4858 (eww-bookmark-mode-map): Add menu.
4859 (eww-render, eww-mode): Use `setq-local'.
4860 (eww-tool-bar-map): New variable.
4861 (eww-mode): Set `tool-bar-map'.
4862 (eww-view-source): Check for `html-mode' with `fboundp'.
4864 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4866 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4867 elements with text inside. Also remove debugging.
4869 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4871 * cus-start.el (all): Add ns-use-srgb-colorspace.
4873 2013-12-21 Chong Yidong <cyd@gnu.org>
4875 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4876 undefined. Thus, theme settings for undefined faces do not take
4877 effect until the faces are defined with defface, the same as with
4880 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4881 (face-spec-reset-face): Don't assign extra properties in temacs.
4882 (face-spec-recalc): Apply X resources too.
4884 2013-12-21 Chong Yidong <cyd@gnu.org>
4886 * faces.el (face-spec-set):
4887 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4888 * custom.el (defface): Doc fixes (Bug#16203).
4890 * indent.el (indent-rigidly-map): Add docstring, and move commands
4891 into named functions.
4892 (indent-rigidly-left, indent-rigidly-right)
4893 (indent-rigidly-left-to-tab-stop)
4894 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4895 indentation direction based on bidi direction, and accumulate
4896 sequential commands in a single undo boundary.
4897 (indent-rigidly--pop-undo): New utility function.
4899 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4901 * faces.el (read-face-name): Require crm.el when using crm-separator.
4903 2013-12-20 Daniel Colascione <dancol@dancol.org>
4905 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4906 so that we don't reflow comments into the shebang line.
4908 2013-12-20 Juri Linkov <juri@jurta.org>
4910 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4911 a position when `dired-directory' is non-nil. Check integer
4912 positions with `integerp'.
4913 (toggle-save-place, save-places-to-alist): Add check for
4915 (save-place-find-file-hook): Check integer positions with
4917 (save-place-dired-hook): Use `dired-goto-file' when
4918 `dired-filename' is found in the assoc list. Check integer
4919 positions with `integerp'.
4920 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4922 * dired.el (dired-initial-position-hook): Rename back from
4923 `dired-initial-point-hook'.
4924 (dired-initial-position): Rename `dired-initial-point-hook' to
4925 `dired-initial-position-hook'.
4926 (dired-file-name-at-point): Doc fix. (Bug#15329)
4928 2013-12-20 Juri Linkov <juri@jurta.org>
4930 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4931 (read-regexp-suggestions): New function.
4932 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4933 Use `read-regexp-suggestions'. Add non-empty default to history
4935 (occur-read-regexp-defaults-function): Remove function.
4936 (occur-read-primary-args): Use `regexp-history-last' instead of
4937 `occur-read-regexp-defaults-function'.
4939 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4940 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4941 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4942 `hi-lock-read-regexp-defaults-function'. Doc fix.
4943 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4944 with `find-tag-default-as-symbol-regexp'. Doc fix.
4945 (hi-lock-read-regexp-defaults): Remove function.
4946 (hi-lock-regexp-okay): Add check for null.
4948 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4949 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4951 * subr.el (find-tag-default-as-symbol-regexp): New function.
4952 (find-tag-default-as-regexp): Move symbol regexp formatting to
4953 `find-tag-default-as-symbol-regexp'.
4955 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4957 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4960 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4962 * calendar/todo-mode.el: New implementation of item insertion
4963 commands and key bindings.
4964 (todo-key-prompt): New face.
4965 (todo-insert-item): New command.
4966 (todo-insert-item--parameters): New defconst, replacing defvar
4967 todo-insertion-commands-args-genlist.
4968 (todo-insert-item--param-key-alist): New defconst, replacing
4969 defvar todo-insertion-commands-arg-key-list.
4970 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4971 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4972 (todo-insert-item--next-param): New functions.
4973 (todo-insert-item--args, todo-insert-item--argleft)
4974 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4976 (todo-key-bindings-t): Change binding of "i" from
4977 todo-insertion-map to todo-insert-item.
4978 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4979 (todo-insertion-command-name, todo-insertion-commands-names)
4980 (todo-define-insertion-command, todo-insertion-commands)
4981 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4983 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4985 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4986 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4988 (todo-move-category): Allow choosing a non-existing todo file to
4989 move the category to, and create that file.
4990 (todo-default-priority): New user option.
4991 (todo-set-item-priority): Use it.
4992 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4993 (desktop-restore-file-buffer): Declare.
4994 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4995 (todo-modes-set-2): Locally set desktop-save-buffer to
4996 todo-desktop-save-buffer.
4997 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4998 (auto-mode-alist): Add autoload cookie.
5000 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5002 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5003 helpers.el was a poor choice of name.
5004 (string-remove-prefix): New function.
5005 (string-remove-suffix): New function.
5007 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5009 Fix assignment for new window total sizes.
5010 * window.el (window--pixel-to-size): Remove function.
5011 (window--pixel-to-total-1, window--pixel-to-total):
5012 Fix calculation of new total sizes.
5014 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5016 * comint.el (comint-output-filter): Fix rear-nonsticky property
5017 placement (Bug#16010).
5019 2013-12-20 Chong Yidong <cyd@gnu.org>
5021 * faces.el (read-color): Minor fix for completion function.
5023 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5025 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5026 New option. (Bug#16182)
5027 (ruby-smie--indent-to-stmt-p): Use it.
5028 (ruby-smie-rules): Revert the logic in the handling of `when'.
5029 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5030 (ruby-deep-arglist, ruby-deep-indent-paren)
5031 (ruby-deep-indent-paren-style): Update docstrings to note that the
5032 vars don't have any effect with SMIE.
5034 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5036 * calc/calc.el (calc-enter, calc-pop): Use the variable
5037 `calc-context-sensitive-enter'.
5039 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5041 * net/shr.el (shr-insert): Protect against infloops in degenerate
5044 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5046 * progmodes/octave.el (octave): Add link to manual and octave
5048 (octave-mode-menu): Link to octave-mode manual.
5050 2013-12-20 Leo Liu <sdl.web@gmail.com>
5052 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5053 insertion using skeleton-end-newline. (Bug#16138)
5055 2013-12-20 Juri Linkov <juri@jurta.org>
5057 * replace.el (occur-engine): Use `add-face-text-property'
5058 to add the face property to matches and titles. (Bug#14645)
5060 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5061 the palette of other hi-lock colors.
5062 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5064 2013-12-19 Juri Linkov <juri@jurta.org>
5066 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5067 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5068 (minibuffer-history-symbol): Move variable declaration closer to
5071 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5074 2013-12-19 Juri Linkov <juri@jurta.org>
5076 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5078 (log-edit-hook): Add it to :options. (Bug#16170)
5080 2013-12-19 Juri Linkov <juri@jurta.org>
5082 * simple.el (eval-expression-print-format): Don't check for
5083 command names and the last command. Always display additional
5084 formats of the integer result in the echo area, and insert them
5085 to the current buffer only with a zero prefix arg.
5086 Display character when char-displayable-p is non-nil.
5087 (eval-expression): With a zero prefix arg, set `print-length' and
5088 `print-level' to nil, and insert the integer values from
5089 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5091 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5092 `eval-last-sexp-arg-internal'. Doc fix.
5093 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5094 `eval-last-sexp-print-value'. Doc fix.
5095 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5096 Set `print-length' and `print-level' to nil when arg is zero.
5097 (eval-last-sexp): Doc fix.
5098 (eval-defun-2): Print the integer values from
5099 `eval-expression-print-format' at the end.
5101 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5102 values from `eval-expression-print-format' at the end.
5104 * ielm.el (ielm-eval-input): Print the integer
5105 values from `eval-expression-print-format' at the end.
5107 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5109 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5110 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5112 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5114 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5115 (hl-line-highlight, global-hl-line-highlight): Use it.
5116 (hl-line-overlay): Use defvar-local.
5118 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5120 * term/ns-win.el: Require dnd.
5121 (global-map): Remove drag items.
5122 (ns-insert-text, ns-set-foreground-at-mouse)
5123 (ns-set-background-at-mouse):
5124 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5125 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5128 2013-12-19 Glenn Morris <rgm@gnu.org>
5130 * emacs-lisp/ert.el (ert-select-tests):
5131 Fix string/symbol mixup. (Bug#16121)
5133 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5135 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5136 keywords to their parent.
5138 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5140 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5141 first arg to be a string (fixed dead code), or an operator symbol.
5142 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5144 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5145 did nothing. Don't respond to `(:after ".")', it will be called
5146 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5147 change anything. Only return indentation for binary operators
5148 when they are hanging. De-dent opening paren when its parent is
5149 `.', otherwise it looks bad when the dot is not at bol or eol
5152 2013-12-19 Juri Linkov <juri@jurta.org>
5154 * replace.el (query-replace-read-args): Split a non-negative arg
5155 and a negative arg into separate elements.
5156 (query-replace, query-replace-regexp, replace-string)
5157 (replace-regexp): Add arg `backward'. Doc fix.
5158 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5159 move point to the beginning of the match.
5160 (replace-search, replace-highlight): Use new arg `backward'
5161 to set the value of `isearch-forward'.
5162 (perform-replace): Add arg `backward' and use it to perform
5163 replacement backward. (Bug#14979)
5165 * isearch.el (isearch-query-replace): Use a negative prefix arg
5166 to call `perform-replace' with a non-nil arg `backward'.
5168 2013-12-18 Juri Linkov <juri@jurta.org>
5170 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5171 to the default list. Move `log-edit-show-files' to the end.
5172 Add more available functions to options.
5173 (log-edit): Move default specific settings to
5174 `log-edit-insert-message-template'. Don't move point.
5175 (log-edit-insert-message-template): New function.
5176 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5179 2013-12-18 Juri Linkov <juri@jurta.org>
5181 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5182 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5184 2013-12-18 Leo Liu <sdl.web@gmail.com>
5186 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5189 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5191 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5192 formats for displaying file sizes when the -s switch is given.
5193 Instead, compute a separate format for displaying the size in
5194 blocks, which is displayed in addition to the "regular" size.
5195 When -h is given in addition to -s, produce size in blocks in
5196 human-readable form as well. (Bug#16179)
5198 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5200 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5201 Reference tables with ~\ref{...} instead of only \ref{...}.
5203 2013-12-18 Chong Yidong <cyd@gnu.org>
5205 * cus-edit.el (custom-magic-alist): Fix "themed" description
5208 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5209 is non-nil, do not create a new entry in the symbol's theme-value
5210 or theme-face property; update theme-settings only (Bug#14664).
5211 (custom-available-themes): Doc fix.
5213 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5216 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5218 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5220 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5223 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5225 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5227 2013-12-18 Glenn Morris <rgm@gnu.org>
5229 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5230 * cus-start.el (load-prefer-newer): New option.
5232 2013-12-18 Le Wang <l26wang@gmail.com>
5234 * comint.el (comint-previous-matching-input-from-input):
5235 Retain point (Bug#13404).
5237 2013-12-18 Chong Yidong <cyd@gnu.org>
5239 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5241 2013-12-18 Glenn Morris <rgm@gnu.org>
5243 * mail/emacsbug.el (report-emacs-bug):
5244 Only mention enable-multibyte-characters if non-standard.
5246 2013-12-17 Juri Linkov <juri@jurta.org>
5248 * arc-mode.el (archive-extract-by-file): Check if directory exists
5249 before deletion to not show irrelevant errors if it doesn't exist.
5251 2013-12-17 Juri Linkov <juri@jurta.org>
5253 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5256 * net/eww.el (browse-web): Add alias to `eww'.
5257 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5258 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5260 * net/browse-url.el (browse-url-browser-function): Move `eww'
5261 closer to similar functions.
5263 * startup.el (fancy-startup-screen, fancy-about-screen):
5264 Set browse-url-browser-function to eww-browse-url locally.
5267 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5269 * window.el (window--pixel-to-total): Remove unused `mini' var.
5270 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5271 (split-window): Remove unused `new' var.
5272 (window--display-buffer): Remove unused `frame' and `delta' vars.
5273 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5276 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5278 * dired.el (dired-mark-pop-up):
5279 * register.el (register-preview): Don't bind
5280 split-height-threshold here since it's now done in
5281 display-buffer-below-selected.
5283 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5285 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5286 xterm-rgb-convert-to-16bit.
5287 (rxvt-register-default-colors): Standardize with
5288 xterm-register-default-colors (Bug#14078).
5290 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5292 * simple.el (kill-region): Pass mark first, then point, so that
5293 kill-append works right (Bug#12819).
5294 (copy-region-as-kill, kill-ring-save): Likewise.
5296 2013-12-17 Leo Liu <sdl.web@gmail.com>
5298 * net/rcirc.el (rcirc-add-face):
5299 * eshell/em-prompt.el (eshell-emit-prompt):
5300 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5303 2013-12-17 Chong Yidong <cyd@gnu.org>
5305 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5306 Suggested by Xue Fuqiao.
5308 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5310 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5312 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5314 * net/shr.el (shr-insert-document): Remove unused var
5315 `shr-preliminary-table-render'.
5316 (shr-rescale-image): Remove unused arg `force'.
5317 (shr-put-image): Update calls accordingly.
5318 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5320 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5322 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5323 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5324 :close-all, to see which indentation method to use (Bug#16116).
5325 (smie-rules-function): Document the method :close-all.
5327 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5329 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5331 * net/eww.el (eww-display-html): If we can't find the anchor we're
5332 looking for, then go to point-min.
5334 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5336 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5337 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5338 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5339 Expand dir too, in case it's relative.
5341 2013-12-16 Juri Linkov <juri@jurta.org>
5343 * desktop.el (desktop-auto-save-timeout): Change default to
5344 `auto-save-timeout'. Doc fix.
5345 (desktop-save): Skip the timestamp in desktop-saved-frameset
5346 when checking for auto-save changes.
5347 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5348 `desktop-auto-save' is called repeatedly by the idle timer.
5349 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5350 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5353 2013-12-16 Juri Linkov <juri@jurta.org>
5355 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5357 (isearch-pre-command-hook): Check `this-command' for symbolp.
5359 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5361 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5363 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5365 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5366 (cfengine3--current-function): Bring in the current-function
5367 functionality from `cfengine3--current-word'.
5368 (cfengine3-completion-function): Bring in the
5369 bounds-of-current-word functionality from
5370 `cfengine3--current-word'.
5372 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5374 * window.el (display-buffer-below-selected):
5375 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5377 2013-12-16 Leo Liu <sdl.web@gmail.com>
5379 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5380 Remove NOMSG arg and all uses changed.
5382 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5385 (cua--deactivate-rectangle): Don't deactivate the mark.
5386 (cua-set-rectangle-mark): Don't set mark-active since
5387 cua--activate-rectangle already does it for us.
5388 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5389 non-rectangular region.
5391 * emulation/cua-base.el (cua-repeat-replace-region):
5392 Use with-current-buffer.
5394 * net/gnutls.el: Use cl-lib.
5395 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5397 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5399 * emacs-lisp/package.el (package-built-in-p): Support both
5400 built-in and the package.el converted package descriptions.
5401 (package-show-package-list): Allow keywords.
5402 (package-keyword-button-action): Use it instead of
5403 `finder-list-matches'.
5404 (package-menu-filter-interactive): Interactive filtering (by
5406 (package-menu--generate): Support keywords and change keymappings
5407 and headers when they are given.
5408 (package--has-keyword-p): Helper function.
5409 (package-menu--refresh): Use it.
5410 (package--mapc): Helper function.
5411 (package-all-keywords): Use it.
5412 (package-menu-mode-map): Set up menu items and keybindings to
5413 provide a filtering UI.
5415 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5417 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5418 the behavior when a certificate fails validation. Defaults to
5419 old behavior: never abort, just warn.
5420 (gnutls-negotiate): Use it.
5422 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5424 * window.el (display-buffer-below-selected): Never split window
5425 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5427 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5429 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5430 (package-buffer-info): Use it (bug#15108).
5432 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5434 * icomplete.el (icomplete-completions): Make sure the prefix is already
5435 displayed elsewhere before hiding it (bug#16219).
5437 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5439 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5440 open-paren tokens when preceded by a open-paren, too.
5441 (ruby-smie-rules): Handle virtual indentation after open-paren
5442 tokens specially. If there is code between it and eol, return the
5443 column where is starts (Bug#16118).
5445 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5447 * progmodes/cfengine.el: Fix `add-hook' doc.
5448 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5449 (cfengine3--current-word): Fix parameters.
5450 (cfengine3-make-syntax-cache): Simplify further.
5451 (cfengine3-completion-function, cfengine3--current-function):
5452 Use `assq' for symbols.
5453 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5455 2013-12-13 Glenn Morris <rgm@gnu.org>
5457 * loadup.el (load-path): Warn if site-load or site-init changes it.
5458 No more need to reset it when bootstrapping.
5460 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5462 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5463 locations for cf-promises.
5464 (cfengine-mode-syntax-functions-regex): New caching variable.
5465 (cfengine3-fallback-syntax): Fallback syntax for cases where
5466 cf-promises doesn't run.
5467 (cfengine3--current-word): Reimplement using
5468 `cfengine-mode-syntax-functions-regex'.
5469 (cfengine3-completion-function, cfengine3--current-function):
5470 Use `cfengine3-make-syntax-cache' directly.
5471 (cfengine3-clear-syntax-cache): New function.
5472 (cfengine3-make-syntax-cache): Simplify and create
5473 `cfengine-mode-syntax-functions-regex' on demand.
5474 (cfengine3-format-function-docstring): Don't call
5475 `cfengine3-make-syntax-cache' explicitly.
5477 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5479 Fix windmove-find-other-window broken after pixelwise resizing
5481 * windmove.el (windmove-other-window-loc): Revert change from
5483 (windmove-find-other-window): Call window-in-direction.
5484 * window.el (window-in-direction): New arguments SIGN, WRAP and
5485 MINI to emulate original windmove-find-other-window behavior.
5487 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5489 * simple.el (blink-matching--overlay): New variable.
5490 (blink-matching-open): Instead of moving point, highlight the
5491 matching paren with an overlay
5492 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5494 * faces.el (paren-showing-faces, show-paren-match)
5495 (show-paren-mismatch): Move from paren.el.
5497 2013-12-13 Leo Liu <sdl.web@gmail.com>
5499 * indent.el (indent-region): Disable progress reporter in
5500 minibuffer. (Bug#16108)
5502 * bindings.el (visual-order-cursor-movement): Fix version.
5504 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5506 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5507 Also match after beginning of line.
5508 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5509 files. Thanks to Russell Sim. (Bug#15378)
5511 2013-12-13 Juri Linkov <juri@jurta.org>
5513 * simple.el <Keypad support>: Remove key bindings duplicated
5514 with bindings.el. (Bug#14397)
5516 2013-12-13 Juri Linkov <juri@jurta.org>
5518 * comint.el (comint-mode-map): Replace `delete-char' with
5519 `delete-forward-char'. (Bug#16109)
5521 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5523 * progmodes/python.el (python-indent-calculate-indentation):
5524 Fix de-denters cornercase. (Bug#15731)
5526 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5528 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5529 (advice--make): Pay attention to `depth'.
5530 (advice--make-1): Don't autoload commands eagerly.
5531 * emacs-lisp/elp.el (elp-instrument-function):
5532 * emacs-lisp/trace.el (trace-function-internal):
5533 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5535 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5537 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5539 * term/w32-win.el (w32-handle-dropped-file):
5540 * startup.el (normal-top-level):
5541 * net/browse-url.el (browse-url-file-url):
5542 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5543 decode file names using 'utf-8' rather than
5544 file-name-coding-system.
5546 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5548 * progmodes/python.el (python-indent-context)
5549 (python-indent-calculate-indentation): Fix auto-identation
5550 behavior for comment blocks. (Bug#15916)
5552 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5554 * progmodes/python.el (python-indent-calculate-indentation):
5555 When determining indentation, don't treat "return", "pass", etc., as
5556 operators when they are just string constituents. (Bug#15812)
5558 2013-12-12 Juri Linkov <juri@jurta.org>
5560 * uniquify.el (uniquify-buffer-name-style): Change default to
5561 `post-forward-angle-brackets'.
5563 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5564 `uniquify'. Change default to `post-forward-angle-brackets'.
5566 2013-12-11 Glenn Morris <rgm@gnu.org>
5568 * emacs-lisp/package.el (finder-list-matches):
5569 Autoload rather than falsely declaring.
5571 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5573 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5574 (eww-mode-map): Use them.
5576 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5578 * window.el (display-buffer-in-side-window): Fix doc-string
5581 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5583 * vc/vc-git.el: Silence byte-compiler warnings.
5584 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5585 (log-edit-set-header): Declare.
5587 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5589 * Makefile.in (custom-deps, finder-data): Run output file names
5590 through unmsys--file-name. (Bug#16099)
5592 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5595 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5597 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5598 instead of deleting the selection "by hand" (bug#16098).
5599 Rely on insert-for-yank to yank rectangles.
5600 (cua-highlight-region-shift-only): Mark obsolete.
5601 (cua-mode): Don't enable/disable transient-mark-mode,
5602 shift-select-mode (cua-mode works both with and without them), and
5603 pc-selection-mode (obsolete).
5604 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5605 (cua--deactivate-rectangle): Deactivate it.
5607 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5608 (delete-selection-helper): Make sure yank starts at the top of the
5610 (minibuffer-keyboard-quit): Use region-active-p.
5612 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5614 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5615 to `delete' (bug#16109).
5617 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5619 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5620 info manual and show keybindings and set `:group' keyword.
5622 2013-12-11 Juri Linkov <juri@jurta.org>
5624 * delsel.el (delete-active-region): Let-bind `this-command'
5625 to prevent `kill-region' from changing its original value.
5626 (delete-selection-helper): Handle `overwrite-mode' for the type
5627 `kill' exactly the same way as for the type `t'.
5628 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5629 Support more commands. (Bug#13312)
5631 2013-12-11 Juri Linkov <juri@jurta.org>
5633 * bindings.el: Map kp keys to non-kp keys systematically
5634 with basic modifiers control, meta and shift. (Bug#14397)
5636 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5638 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5639 "Close browser" menu items. Fix wrong function of "List
5642 2013-12-11 Juri Linkov <juri@jurta.org>
5644 * misearch.el (multi-isearch-buffers): Set the value of
5645 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5646 arg of isearch-forward to t.
5647 (multi-isearch-buffers-regexp): Set the value of
5648 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5649 arg of isearch-forward-regexp to t.
5650 (multi-isearch-files): Set the value of
5651 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5652 arg of isearch-forward to t.
5653 (multi-isearch-files-regexp): Set the value of
5654 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5655 arg of isearch-forward-regexp to t. (Bug#16035)
5657 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5658 arg of isearch-forward to t.
5659 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5660 arg of isearch-forward-regexp to t.
5661 (dired-isearch-filter-filenames): Remove unnecessary check for
5662 `dired-isearch-filenames'.
5664 * comint.el (comint-history-isearch-backward):
5665 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5666 (comint-history-isearch-backward-regexp):
5667 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5669 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5671 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5672 unmsys--file-name. (Bug#16099)
5674 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5676 * emacs-lisp/package.el (package-keyword-button-action):
5677 Remove finder.el require dependency.
5679 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5681 * emacs-lisp/package.el: Require finder.el.
5682 (describe-package-1): Add keyword buttons.
5683 (package-make-button): New convenience function.
5684 (package-keyword-button-action): Keyword button action using
5685 `finder-list-matches'.
5687 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5689 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5692 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5694 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5697 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5699 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5700 after the end of a percent literal.
5702 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5704 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5705 Handle caret-delimited strings (Bug#16079).
5707 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5709 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5710 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5711 `ruby-parse-partial' (Bug#16078).
5713 2013-12-09 Leo Liu <sdl.web@gmail.com>
5715 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5717 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5719 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5720 (js-switch-indent-offset): New option.
5721 (js--proper-indentation): Use it. And handle the case when
5722 "default" is actually a key in an object literal.
5723 (js--same-line): New function.
5724 (js--multi-line-declaration-indentation): Use it.
5725 (js--indent-in-array-comp, js--array-comp-indentation):
5727 (js--proper-indentation): Use them, to handle array comprehension
5730 2013-12-08 Leo Liu <sdl.web@gmail.com>
5732 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5733 (flymake-make-overlay): Remove arg MOUSE-FACE.
5734 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5736 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5738 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5740 (redisplay-highlight-region-function): Use it.
5742 * emulation/cua-base.el (cua--explicit-region-start)
5743 (cua--last-region-shifted): Remove.
5744 (cua--deactivate): Use deactivate-mark.
5745 (cua--pre-command-handler-1): Don't handle shift-selection.
5746 (cua--post-command-handler-1): Don't change transient-mark-mode.
5747 (cua--select-keymaps): Use region-active-p rather than
5748 cua--explicit-region-start or cua--last-region-shifted.
5749 (cua-mode): Enable shift-select-mode.
5751 2013-12-08 Leo Liu <sdl.web@gmail.com>
5753 * progmodes/flymake.el (flymake-popup-current-error-menu):
5754 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5755 (flymake-posn-at-point-as-event, flymake-popup-menu)
5756 (flymake-make-emacs-menu): Remove. (Bug#16077)
5758 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5760 * rect.el (rectangle-mark-mode): Activate mark even if
5761 transient-mark-mode is off (bug#16066).
5762 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5763 is > mark and at bolp.
5765 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5766 (region-extract-function): Use it.
5767 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5768 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5770 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5771 kill-ring-save, kill-region, delete-char, delete-forward-char.
5772 Ignore self-insert-iso.
5774 * emulation/cua-gmrk.el (cua--init-global-mark):
5775 Ignore `self-insert-iso'.
5777 * emulation/cua-base.el (cua--prefix-copy-handler)
5778 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5779 checking cua--rectangle.
5780 (cua-delete-region): Use region-extract-function.
5781 (cua-replace-region): Delete function.
5782 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5783 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5784 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5785 (cua--init-keymaps): Don't remap delete-selection commands.
5786 (cua-mode): Use delete-selection-mode instead of rolling our own
5789 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5790 Obey region-extract-function.
5792 Make registers and delete-selection-mode work on rectangles.
5793 * register.el (describe-register-1): Don't modify the register's value.
5794 (copy-to-register): Obey region-extract-function.
5795 * delsel.el (delete-active-region): Obey region-extract-function.
5797 2013-12-08 Leo Liu <sdl.web@gmail.com>
5799 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5800 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5801 (flymake-compilation-prevents-syntax-check)
5802 (flymake-start-syntax-check-on-newline)
5803 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5804 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5805 (flymake-xml-program, flymake-master-file-dirs)
5806 (flymake-master-file-count-limit)
5807 (flymake-allowed-file-name-masks): Relocate.
5808 (flymake-makehash, flymake-float-time)
5809 (flymake-replace-regexp-in-string, flymake-split-string)
5810 (flymake-get-temp-dir): Remove.
5811 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5812 (flymake-current-row, flymake-selected-frame)
5813 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5814 related functions. (Bug#16077)
5816 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5818 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5820 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5822 * help-fns.el (describe-function-1): Use new advice-* functions
5823 rather than old ad-* functions. Fix function type description and
5824 source links for advised functions and subrs.
5826 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5828 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5830 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5832 * progmodes/compile.el (compilation-start):
5833 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5835 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5836 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5838 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5840 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5841 Touch up the last change.
5843 2013-12-06 Leo Liu <sdl.web@gmail.com>
5845 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5846 (inferior-octave-startup): Always use "octave> " for prompt.
5847 (octave-goto-function-definition)
5848 (octave-sync-function-file-names)
5849 (octave-find-definition-default-filename): Remove redundant backquotes.
5851 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5853 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5855 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5856 where appropriate already.
5857 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5858 end of method names (Bug#15874).
5860 2013-12-06 Juri Linkov <juri@jurta.org>
5862 * isearch.el (isearch--saved-overriding-local-map):
5863 New internal variable.
5864 (isearch-mode): Set it to the initial value of
5865 `overriding-terminal-local-map'.
5866 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5867 with `isearch--saved-overriding-local-map'. (Bug#16035)
5869 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5871 * progmodes/octave.el (inferior-octave-completion-table):
5872 Turn back into function, use `completion-table-with-cache'
5873 (Bug#11906). Update all references.
5875 * minibuffer.el (completion-table-with-cache): New function.
5877 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5879 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5881 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5883 * net/eww.el (eww-current-source): New variable to store page
5885 (eww-display-html, eww-mode, eww-save-history)
5886 (eww-restore-history): Use it.
5887 (eww-view-source): New command to view page source.
5888 Opportunistically uses `html-mode' to highlight the buffer.
5889 (eww-mode-map): Install it.
5891 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5893 * net/dbus.el (dbus-unregister-service)
5894 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5896 (dbus-unregister-service): Skip :serial entries in
5897 `dbus-registered-objects-table'.
5898 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5900 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5902 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5903 around keywords with extra `split-string' argument.
5905 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5907 * windmove.el (windmove-other-window-loc): Handle navigation
5908 between windows (excluding the minibuffer window - Bug#16017).
5910 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5912 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5913 in D-Bus type syntax.
5914 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5915 preserve unibyte strings. (Bug#16048)
5917 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5919 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5920 Call force-mode-line-update is the proper buffer (bug#16042).
5922 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5924 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5925 `log-edit-remember-comment', make argument optional. Adjust all
5927 (log-edit-mode): Add `log-edit-remember-comment' to
5928 `kill-buffer-hook' locally.
5929 (log-edit-kill-buffer): Don't remember comment explicitly since
5930 the buffer is killed anyway.
5932 2013-12-04 Juri Linkov <juri@jurta.org>
5934 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5935 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5937 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5939 * notifications.el (notifications-close-notification): Call the
5940 D-Bus method with ID being a `:uint32'. (Bug#16030)
5942 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5944 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5946 2013-12-03 Juri Linkov <juri@jurta.org>
5948 * progmodes/compile.el (compilation-start): Rename window alist
5949 entry `no-display-ok' to `allow-no-window'.
5951 * simple.el (shell-command): Add window alist entry
5952 `allow-no-window' to `display-buffer'.
5953 (async-shell-command): Doc fix.
5955 * window.el (display-buffer-no-window): New action function.
5956 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5958 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5960 * vc/log-edit.el (log-edit-set-header): Extract from
5961 `log-edit-toggle-header'.
5962 (log-edit-extract-headers): Separate the summary, when extracted
5963 from header, from the rest of the message with an empty line.
5965 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5966 line, if present, to the Summary header.
5968 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5970 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5971 in current-buffer (bug#16029).
5973 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5975 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5976 (debugger-mode-map): Bind it.
5977 (debugger--backtrace-base): New function.
5978 (debugger-eval-expression): Use it.
5979 (debugger-frame-number): Skip local vars when present.
5980 (debugger--locals-visible-p, debugger--insert-locals)
5981 (debugger--show-locals, debugger--hide-locals): New functions.
5983 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5985 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5987 (tramp-get-remote-locale): New defun.
5988 (tramp-open-connection-setup-interactive-shell): Use it.
5990 2013-12-02 Leo Liu <sdl.web@gmail.com>
5992 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5994 * progmodes/sh-script.el (sh-shell-process):
5995 * progmodes/octave.el (inferior-octave-process-live-p):
5996 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5997 (gdb-inferior-io-sentinel):
5998 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6000 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6002 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6003 `save-selected-window' to `log-edit-hide-buf'. This makes
6004 `log-edit-show-files' idempotent.
6005 (log-edit-show-files): Mark the new window as dedicated.
6007 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6009 * vc/log-edit.el (log-edit-mode-map): Add binding for
6010 `log-edit-kill-biffer'.
6011 (log-edit-hide-buf): Add a FIXME comment.
6012 (log-edit-add-new-comment): New function, extracted from
6014 (log-edit-done, log-edit-add-to-changelog): Use it.
6015 (log-edit-kill-buffer): New command.
6017 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6019 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6020 instead of killing the buffer.
6022 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6024 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6026 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6028 * net/eww.el (eww-form-checkbox-selected-symbol)
6029 (eww-form-checkbox-symbol): New customizable variable.
6030 (eww-form-checkbox, eww-toggle-checkbox):
6031 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6033 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6034 (shr--get-media-pref, shr--extract-best-source): New function.
6035 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6036 no :src tag was specified.
6038 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6039 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6040 Use \\` to match beginning of string instead of ^.
6041 (eww-browse-with-external-browser): Provide optional URL parameter.
6042 (eww-render): Set `eww-current-title' back to "".
6044 * net/shr.el (shr-tag-video): Display content for video if no
6045 poster is available.
6046 (shr-tag-audio): Add support for <audio> tag.
6048 * net/eww.el (eww-text-input-types): New const.
6049 (eww-process-text-input): Treat input types in
6050 `eww-text-input-types' as text.
6052 * net/shr.el (shr-tag-table): Fix comment typo.
6054 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6056 * net/eww.el (eww-follow-link): New command to avoid reloading
6057 pages when we follow #target links (bug#15243).
6058 (eww-quit): Special mode buffers shouldn't query before exiting.
6060 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6062 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6065 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6067 * net/eww.el (eww-restore-history): Update the window title after
6068 moving in the history.
6069 (eww-current-dom): New variable used to save the current DOM.
6071 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6073 * vc/log-edit.el (log-edit-mode-map): Add binding for
6074 `log-edit-beginning-of-line'.
6075 (log-edit-setup-add-author): New user option.
6076 (log-edit-beginning-of-line): New command.
6077 (log-edit): Move major mode call above the contents setup so that
6078 the local variable values are already applied.
6079 (log-edit): Only insert "Author: " when
6080 `log-edit-setup-add-author' is non-nil.
6081 (log-edit): When SETUP is non-nil, position point after ": "
6082 instead of point-min.
6084 2013-12-01 Glenn Morris <rgm@gnu.org>
6086 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6088 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6090 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6091 redisplay to make sure the initial frame gets a chance to become
6092 visible. (Bug#16014)
6094 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6096 Support resizing frames and windows pixelwise.
6097 * cus-start.el (frame-resize-pixelwise)
6098 (window-resize-pixelwise): New entries.
6099 * emacs-lisp/debug.el (debug): Use window-total-height instead
6100 of window-total-size.
6101 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6102 * help.el (describe-bindings-internal): Use help-buffer as
6103 argument for with-help-window.
6104 (temp-buffer-max-width): New option.
6105 (resize-temp-buffer-window, help-window-setup)
6106 (with-help-window): Rewrite.
6107 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6109 * window.el (frame-char-size, window-min-pixel-height)
6110 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6111 (window-min-pixel-width, window-safe-min-pixel-size)
6112 (window-combination-p, window-safe-min-size)
6113 (window-resizable-p, window--size-to-pixel)
6114 (window--pixel-to-size, window--resize-apply-p): New functions.
6115 (window-safe-min-height): Fix doc-string.
6116 (window-size, window-min-size, window--min-size-1)
6117 (window-sizable, window-sizable-p, window--min-delta-1)
6118 (window-min-delta, window--max-delta-1, window-max-delta)
6119 (window--resizable, window--resizable-p, window-resizable)
6120 (window-full-height-p, window-full-width-p, window-at-side-p)
6121 (window--in-direction-2, window-in-direction)
6122 (window--resize-reset-1, window--resize-mini-window)
6123 (window-resize, window-resize-no-error)
6124 (window--resize-child-windows-normal)
6125 (window--resize-child-windows, window--resize-siblings)
6126 (window--resize-this-window, window--resize-root-window)
6127 (window--resize-root-window-vertically)
6128 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6129 (maximize-window, minimize-window, delete-window)
6130 (quit-restore-window, window-split-min-size, split-window)
6131 (balance-windows-2, balance-windows)
6132 (balance-windows-area-adjust, balance-windows-area)
6133 (window--state-get-1, window-state-get, window--state-put-1)
6134 (window--state-put-2, window-state-put)
6135 (display-buffer-record-window, window--display-buffer):
6136 Make functions handle pixelwise sizing of windows.
6137 (display-buffer--action-function-custom-type)
6138 (display-buffer-fallback-action):
6139 Add display-buffer-in-previous-window.
6140 (display-buffer-use-some-window): Resize window to height it had
6142 (fit-window-to-buffer-horizontally): New option.
6143 (fit-frame-to-buffer): Describe new values.
6144 (fit-frame-to-buffer-bottom-margin): Replace with
6145 fit-frame-to-buffer-margins.
6146 (window--sanitize-margin): New function.
6147 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6148 using window-text-pixel-size.
6150 2013-11-30 Glenn Morris <rgm@gnu.org>
6152 * emacs-lisp/bytecomp.el (byte-compile-form):
6153 Make the `interactive-only' warning like the `obsolete' one.
6154 * comint.el (comint-run):
6155 * files.el (insert-file-literally, insert-file):
6156 * replace.el (replace-string, replace-regexp):
6157 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6158 (goto-line, insert-buffer, next-line, previous-line):
6159 Tweak `interactive-only' spec.
6161 Stop keeping (most) generated cedet grammar files in the repository.
6162 * Makefile.in (semantic): New.
6163 (compile-main): Depend on semantic.
6165 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6167 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6168 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6170 * uniquify.el (uniquify-buffer-name-style): Change default.
6172 * loadup.el: Preload "uniquify".
6174 * time.el (display-time-update): Update all mode lines (bug#15999).
6176 * electric.el (electric-indent-mode): Enable by default.
6177 * loadup.el: Preload "electric".
6179 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6181 * emacs-lisp/helpers.el (string-empty-p): New function.
6182 (string-blank-p): New function.
6184 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6186 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6189 2013-11-29 Andreas Politz <politza@fh-trier.de>
6190 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6191 allow non-lambda lists as functions.
6192 (imenu--in-alist): Don't recurse into non-subalists.
6193 (imenu): Don't pass function itself as an argument (Bug#14029).
6195 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6197 * progmodes/python.el (python-mode-map): Remove binding for ":".
6198 (python-indent-electric-colon): Remove command.
6199 (python-indent-post-self-insert-function): Integrate the previous code
6200 of python-indent-electric-colon. Make it conditional on
6201 electric-indent-mode.
6202 (python-mode): Add ?: to electric-indent-chars.
6203 Move python-indent-post-self-insert-function to the end of
6204 post-self-insert-hook.
6206 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6208 * doc-view.el (doc-view-goto-page): Update mode-line.
6210 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6212 2013-11-27 Glenn Morris <rgm@gnu.org>
6214 * international/charprop.el, international/uni-bidi.el:
6215 * international/uni-category.el, international/uni-combining.el:
6216 * international/uni-comment.el, international/uni-decimal.el:
6217 * international/uni-decomposition.el, international/uni-digit.el:
6218 * international/uni-lowercase.el, international/uni-mirrored.el:
6219 * international/uni-name.el, international/uni-numeric.el:
6220 * international/uni-old-name.el, international/uni-titlecase.el:
6221 * international/uni-uppercase.el:
6222 Remove generated files from VCS repository.
6224 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6226 * filenotify.el (file-notify-add-watch): Don't special-case
6227 w32notify when computing the directory to watch.
6229 2013-11-27 Glenn Morris <rgm@gnu.org>
6231 Make bootstrap without generated uni-*.el files possible again.
6232 * loadup.el: Update command-line-args checking for unidata-gen.
6233 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6234 * composite.el, international/characters.el:
6235 Handle unicode tables being undefined.
6237 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6238 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6239 (compile-main): Depend on leim rule.
6241 * loadup.el: Move leim-list.el to leim/ subdirectory.
6242 * startup.el (normal-top-level): No more leim directory.
6243 * international/ja-dic-cnv.el (skkdic-convert):
6244 Disable version-control and autoloads in output files.
6245 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6246 Disable version-control and autoloads in output files.
6247 * leim/quail: Move here from ../leim.
6248 * leim/quail/hangul.el (hangul-input-method-activate):
6249 Add autoload cookie.
6250 (generated-autoload-load-name): Set file-local value.
6251 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6252 (generated-autoload-load-name): Set file-local value.
6254 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6256 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6257 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6258 (eww-quit): Ask confirmation before quitting eww.
6260 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6262 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6263 reading output from Diff on MS-Windows and MS-DOS.
6265 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6267 * emacs-lisp/helpers.el (string-reverse): New function.
6269 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6271 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6272 names on MS Windows, like "/[::1]:".
6274 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6277 2013-11-26 Glenn Morris <rgm@gnu.org>
6279 * progmodes/python.el (python-indent-guess-indent-offset):
6280 Avoid corner-case error. (Bug#15975)
6282 Preload leim-list.el. (Bug#4789)
6283 * loadup.el: Load leim-list.el when found.
6284 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6286 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6288 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6290 * emacs-lisp/helpers.el (string-join): New function.
6292 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6294 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6295 Mark as obsolete and replace it with a symbol property.
6296 (byte-compile-form): Use new 'interactive-only property.
6297 * comint.el, files.el, replace.el, simple.el:
6298 Apply new 'interactive-only properly.
6300 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6302 * window.el (display-buffer-at-bottom): Make sure that
6303 split-window-sensibly creates the new window on bottom
6306 2013-11-23 David Kastrup <dak@gnu.org>
6308 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6309 on the conflict markers when available.
6310 (smerge--get-marker): New function.
6311 (smerge-end-re, smerge-base-re): Add subgroup.
6313 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * frame.el (handle-focus-in, handle-focus-out): Add missing
6318 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6320 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6321 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6323 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6326 (gomoku--last-pos): New var.
6327 (gomoku--intangible-chars): New const.
6328 (gomoku--intangible): New function.
6329 (gomoku-mode): Use it. Derive from special-mode.
6330 (gomoku-move-up): Adjust line count.
6331 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6332 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6333 Simplify accordingly.
6335 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6336 Remove blink-cursor code.
6337 (blink-cursor-timer-function, blink-cursor-suspend):
6338 Don't special-case GUIs.
6339 (blink-cursor-mode): Use focus-in/out-hook.
6341 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6343 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6344 work when annotation is invisible (Bug#13886).
6346 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6348 * json.el (json-alist-p): Only return non-nil if the alist has
6349 simple keys (Bug#13518).
6351 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6353 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6354 when control-statement is the first statement in a buffer (Bug#15956).
6356 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6358 * imenu.el (imenu-generic-skip-comments-and-strings):
6359 New option (Bug#15560).
6360 (imenu--generic-function): Use it.
6362 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6364 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6367 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6369 * emacs-lisp/helpers.el: Add some string helpers.
6370 (string-trim-left): Removes leading whitespace.
6371 (string-trim-right): Removes trailing whitespace.
6372 (string-trim): Removes leading and trailing whitespace.
6374 * subr.el (string-suffix-p): New function.
6376 2013-11-23 Glenn Morris <rgm@gnu.org>
6378 * progmodes/python.el (python-shell-send-file):
6379 Add option to delete file when done. (Bug#15647)
6380 (python-shell-send-string, python-shell-send-region): Use it.
6382 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6384 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6385 to set buffer-read-only to t, never to nil. (Bug#15938)
6387 * textmodes/tex-mode.el (latex-noindent-environments):
6388 Add safe-local-variable property. (Bug#15936)
6390 2013-11-23 Glenn Morris <rgm@gnu.org>
6392 * textmodes/enriched.el (enriched-mode): Doc fix.
6393 * emacs-lisp/authors.el (authors-renamed-files-alist):
6394 Add enriched.doc -> enriched.txt.
6396 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6398 2013-11-22 Leo Liu <sdl.web@gmail.com>
6400 * progmodes/octave.el (inferior-octave-startup): Spit out error
6403 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6405 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6408 (ruby-encoding-magic-comment-style): Add :version.
6410 2013-11-22 Leo Liu <sdl.web@gmail.com>
6412 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6414 (octave-help-mode): Adapt to change to help-mode-finish to use
6415 derived-mode-p on 2013-09-17.
6416 (inferior-octave-prompt): Also match octave-gui.
6417 (octave-kill-process): Don't ask twice. (Bug#10564)
6419 2013-11-22 Leo Liu <sdl.web@gmail.com>
6421 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6422 (inferior-octave-startup, inferior-octave-check-process)
6423 (inferior-octave-track-window-width-change)
6424 (octave-completion-at-point, octave-eldoc-function): Use it.
6425 (octave-kill-process): Provide confirmation. (Bug#10564)
6427 2013-11-21 Leo Liu <sdl.web@gmail.com>
6429 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6430 Fix obsolete variable comment-use-global-state.
6432 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6434 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6435 Add `octave-source-file'.
6436 (octave-source-file): New function. (Bug#15935)
6438 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6440 * net/eww.el (eww-local-regex): New variable.
6441 (eww): Use it to detect localhost and similar.
6443 2013-11-21 Leo Liu <sdl.web@gmail.com>
6445 Add completion for command `ag'.
6446 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6447 (pcomplete/ag): New function.
6448 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6450 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6452 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6454 (make-obsolete): Remove interactive spec.
6456 2013-11-21 Glenn Morris <rgm@gnu.org>
6458 * startup.el (command-line-1): Use path-separator with -L.
6460 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6462 * emacs-lisp/package.el (describe-package-1): Add package archive
6465 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6467 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6468 Change default to "# encoding: %s" to differentiate it from the
6469 default Ruby encoding comment template.
6471 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6473 * ses.el (ses-mode): Doc fix. (Bug#14748)
6475 2013-11-20 Leo Liu <sdl.web@gmail.com>
6477 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6479 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6481 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6482 when rebase or bisect are in progress.
6484 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6486 * filenotify.el (file-notify-add-watch): Doc fix.
6488 2013-11-19 Leo Liu <sdl.web@gmail.com>
6490 * obsolete/rcompile.el: Mark obsolete.
6492 * progmodes/compile.el (compilation-start)
6493 (compilation-goto-locus, compilation-find-file):
6494 Pass no-display-ok and handle nil value from display-buffer.
6497 * window.el (display-buffer-alist, display-buffer): Document the
6498 new parameter no-display-ok. Return either a window or nil
6499 but never a non-window value.
6501 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6503 * electric.el (electric-indent-mode-map): Remove.
6504 (electric-indent-mode): Change the global-map instead (bug#15915).
6506 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6509 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6511 * emacs-lisp/nadvice.el (remove-function): Align with
6512 add-function's behavior.
6514 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6515 (gdb--string-regexp): New constant.
6516 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6517 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6518 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6520 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6521 Adjust use accordingly.
6522 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6524 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6526 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6527 interpolation curlies (Bug#15914).
6529 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6531 * calc/calc.el (calc-context-sensitive-enter): New variable.
6532 (calc-enter): Use `calc-context-sensitive-enter'.
6534 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6536 * progmodes/cfengine.el: Version bump.
6537 (cfengine-cf-promises): New defcustom to locate cf-promises.
6538 (cfengine3-vartypes): Add new "data" type.
6539 (cfengine3--current-word): New function to get current name-like
6541 (cfengine3--current-function): New function to look up a CFEngine
6542 function's definition.
6543 (cfengine3-format-function-docstring): New function.
6544 (cfengine3-make-syntax-cache): New function.
6545 (cfengine3-documentation-function): New function: ElDoc glue.
6546 (cfengine3-completion-function): New function: completion glue.
6547 (cfengine3-mode): Set `compile-command',
6548 `eldoc-documentation-function', and add to
6549 `completion-at-point-functions'.
6551 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6553 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6554 `tramp-current-connection'.
6556 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6558 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6559 nil/self/true/false with "end of symbol".
6561 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6563 * subr.el (version-regexp-alist): Fix a typo.
6565 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6567 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6568 "en_US.utf8" and "LC_CTYPE" to "".
6569 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6570 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6572 2013-11-15 Leo Liu <sdl.web@gmail.com>
6574 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6576 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6578 * progmodes/gud.el (ctl-x-map):
6579 Remove C-x SPC binding. (Bug#12342)
6580 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6582 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6584 * subr.el (version-regexp-alist):
6585 Recognize hg, svn and darcs versions as snapshot versions.
6587 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6588 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6589 (ruby--encoding-comment-required-p): Extract from
6590 `ruby-mode-set-encoding'.
6591 (ruby-mode-set-encoding): Add the ability to always insert an
6592 utf-8 encoding comment. Fix and simplify coding comment update
6595 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6597 * net/tramp-gvfs.el (top): Run init code only when
6598 `tramp-gvfs-enabled' is not nil.
6599 (tramp-gvfs-enabled): Check also :system bus.
6601 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6603 Sync with upstream verilog-mode revision 78e66ba.
6604 * progmodes/verilog-mode.el (verilog-end-of-defun)
6605 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6606 (verilog-get-end-of-defun): Remove unused argument.
6607 (verilog-comment-depth): Remove unused local `e'.
6608 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6609 Don't pass arg to verilog-get-end-of-defun.
6611 2013-11-14 Glenn Morris <rgm@gnu.org>
6613 * obsolete/assoc.el (aget): Prefix dynamic variable.
6615 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6617 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6619 * widget.el, hfy-cmap.el: Remove bogus package version number.
6621 2013-11-13 Glenn Morris <rgm@gnu.org>
6623 * replace.el (replace-eval-replacement):
6624 Try to give more helpful error message. (Bug#15836)
6626 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6627 (archive-7z-update): Avoid custom type mismatches.
6629 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6631 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6633 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6634 address can be empty.
6636 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6637 Accept nil SWITCHES.
6638 (tramp-gvfs-handle-write-region): Implement APPEND.
6640 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6642 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6643 binary "|" operator and closing block args delimiter.
6644 Remove FIXME comment referring to Ruby 1.8-only syntax.
6645 (ruby-smie--implicit-semi-p): Not after "|" operator.
6646 (ruby-smie--closing-pipe-p): New function.
6647 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6648 (ruby-smie-rules): Indent after "|".
6650 2013-11-12 Glenn Morris <rgm@gnu.org>
6652 * ps-print.el (ps-face-attribute-list):
6653 Handle anonymous faces. (Bug#15827)
6655 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6657 * window.el (display-buffer-other-frame): Fix doc-string.
6660 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6662 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6664 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6666 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6667 (tramp-sh-handle-file-local-copy): Don't write a message when
6668 saving temporary files.
6670 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6671 both directories are remote.
6672 (tramp-smb-handle-directory-files): Do not return double entries.
6673 Do not expand full file names.
6674 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6675 (tramp-smb-handle-write-region): Implement APPEND.
6676 (tramp-smb-get-stat-capability): Fix a stupid bug.
6678 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6680 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6682 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6684 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6685 throwing error over malformed let/let* (bug#15814).
6687 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6689 * iswitchb.el (iswitchb-mode): Mark obsolete.
6691 2013-11-11 Glenn Morris <rgm@gnu.org>
6693 * international/uni-bidi.el, international/uni-category.el:
6694 * international/uni-name.el, international/uni-numeric.el:
6695 Regenerate for Unicode 6.3.0.
6697 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6699 * net/tramp.el (tramp-methods):
6700 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6701 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6703 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6705 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6706 Force highlighting text after Summary keyword in doc face for rpm.
6708 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6710 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6711 available and the word has no wildcards, append one to the grep pattern.
6712 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6713 (ispell-complete-word): Call `ispell-lookup-words' with the value
6714 independent of `ispell-look-p'.
6716 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6718 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6720 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6723 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6725 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6726 (ruby-font-lock-keywords): Use backquote.
6728 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6730 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6731 (ruby-smie--backward-token): Only consider full-string matches.
6733 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6735 * faces.el (describe-face): Add distant-foreground.
6737 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6739 * progmodes/ruby-mode.el: Improve encoding comment handling.
6740 (ruby-encoding-magic-comment-style): New option.
6741 (ruby-custom-encoding-magic-comment-template): New option.
6742 (ruby--insert-coding-comment, ruby--detect-encoding):
6743 New functions extracted from `ruby-mode-set-encoding'.
6744 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6745 to control the style of the auto-inserted encoding comment.
6747 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6749 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6750 Use `smie-backward-sexp' with token argument.
6752 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6754 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6755 Remove instrumentation code.
6757 2013-11-08 Glenn Morris <rgm@gnu.org>
6759 * progmodes/autoconf.el (autoconf-mode):
6760 Tweak comment-start-skip. (Bug#15822)
6762 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6765 at bobp (bug#15826).
6766 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6768 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6770 * man.el (Man-start-calling): New macro, extracted from
6771 Man-getpage-in-background.
6772 (Man-getpage-in-background): Use it.
6773 (Man-update-manpage): New command.
6774 (Man-mode-map): Bind it.
6776 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6778 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6779 of "and", "or", "&&" and "||".
6780 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6781 argument. Prohibit opening curly brace because it could only be a
6782 block opener in that position.
6783 (ruby-smie--forward-token, ruby-smie--backward-token):
6784 Separate "|" from "&" or "*" going after it. That can happen in block
6786 (ruby-smie--indent-to-stmt): New function, seeks the end of
6787 previous statement or beginning of buffer.
6788 (ruby-smie-rules): Use it.
6789 (ruby-smie-rules): Check if there's a ":" before a curly block
6790 opener candidate; if there is, it's a hash.
6792 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6794 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6795 (cl--block-wrapper): Fix last accidental change.
6797 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6799 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6800 Instrument, in order to hunt failure on hydra.
6802 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6804 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6805 malformed bindings form (bug#15814).
6807 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6809 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6810 "." compared to " @ ". This incidentally fixes some indentation
6812 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6813 (ruby-smie-grammar): New tokens: "and" and "or".
6814 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6815 Exclude "and" and "or". Remove "do" in order to work around token
6817 (ruby-smie-rules): Add all infix tokens. Handle the case of
6818 beginning-of-buffer.
6820 2013-11-06 Glenn Morris <rgm@gnu.org>
6822 * Makefile.in (setwins_almost, setwins_for_subdirs):
6823 Avoid accidental matches.
6825 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6827 * menu-bar.el (popup-menu): Use key-binding.
6829 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6831 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6832 menus, support also the menus produced by minor modes.
6835 2013-11-06 Leo Liu <sdl.web@gmail.com>
6837 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6838 DISTANCE to bound the search. All uses changed. (Bug#15808)
6840 2013-11-06 Glenn Morris <rgm@gnu.org>
6842 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6843 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6844 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6846 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * electric.el (electric-indent-just-newline): New command.
6849 (electric-indent-mode-map): New keymap.
6850 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6851 Re-add :group which weren't redundant.
6853 * electric.el (electric-indent-local-mode): New minor mode.
6854 (electric-indent-functions-without-reindent): New var.
6855 (electric-indent-post-self-insert-function): Use it.
6856 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6858 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6860 * international/quail.el (quail-help): Be more explicit about the
6861 meaning of the labels shown on the keys. (Bug#15800)
6863 * startup.el (normal-top-level): Load the subdirs.el files before
6864 setting the locale environment. (Bug#15805)
6866 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6869 via arguments so as to get the right ones (bug#15418).
6871 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6873 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6875 Fix problems found while writing a test suite.
6877 * net/tramp-compat.el (tramp-compat-load): New defun.
6878 * net/tramp.el (tramp-handle-load): Use it.
6880 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6881 "(numberp ok-if-already-exists)" correctly.
6883 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6885 * international/characters.el (glyphless-char-display-control):
6888 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6890 * progmodes/python.el (python-mode):
6891 * progmodes/scheme.el (scheme-mode):
6892 * progmodes/prolog.el (prolog-mode):
6893 * progmodes/ruby-mode.el (ruby-mode):
6894 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6895 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6897 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6899 * rect.el (rectangle--highlight-for-redisplay):
6900 * emacs-lisp/smie.el (smie--next-indent-change):
6901 Use buffer-chars-modified-tick.
6903 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6905 * electric.el (electric-indent-post-self-insert-function):
6906 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6908 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6910 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6912 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6914 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6917 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6919 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6921 * progmodes/python.el: Fix up last change.
6922 (python-shell--save-temp-file): New function.
6923 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6924 `string' comes from the current buffer.
6925 (python-shell-send-string-no-output): Remove `msg' arg.
6926 (python--use-fake-loc): New var.
6927 (python-shell-buffer-substring): Obey it. Try to compensate for the
6928 extra coding line added by python-shell--save-temp-file.
6929 (python-shell-send-region): Use python-shell--save-temp-file and
6930 python-shell-send-file directly. Add `nomain' argument.
6931 (python-shell-send-buffer): Use python-shell-send-region.
6932 (python-electric-pair-string-delimiter): New function.
6933 (python-mode): Use it.
6935 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6937 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6938 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6939 environment and decoding all of the default-directory's to here
6941 (command-line): Decode also argv[0].
6943 * loadup.el: Error out if default-directory is a multibyte string
6944 when we are dumping.
6946 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6948 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6950 * emacs-lisp/package.el (package-menu-mode)
6951 (package-menu--print-info, package-menu--archive-predicate):
6952 Add Archive column to package list.
6954 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6956 Fix problems found while writing a test suite.
6958 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6959 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6960 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6961 to nil when running original file name handler. Otherwise,
6962 there are problems with constructs like "$$FOO".
6964 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6967 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6969 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6971 * subr.el (version<, version<=, version=):
6972 Update docstrings with information for snapshot versions.
6974 * helpers.el: New library for misc helper functions.
6975 (hash-table-keys): New function returning a list of hash keys.
6976 (hash-table-values): New function returning a list of hash values.
6978 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6980 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6981 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6983 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6985 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6986 checking whether point is after a 1-letter word.
6988 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6990 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6991 Don't infloop when expanding region over `multiline' syntax-type that
6992 begins a line (bug#15778).
6994 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6997 Make it into a proper minor mode.
6998 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6999 (rectangle-mark-mode-map): New keymap.
7000 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7002 2013-11-04 Glenn Morris <rgm@gnu.org>
7004 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7006 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7008 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7009 (ruby-smie-rules): Use smie-rule-parent instead.
7011 * emacs-lisp/smie.el (smie-rule-parent): Always call
7012 smie-indent-virtual rather than only for hanging tokens.
7013 (smie--next-indent-change): New helper command.
7015 2013-11-03 Glenn Morris <rgm@gnu.org>
7017 * Makefile.in (abs_srcdir): Remove.
7018 (emacs): Unset EMACSLOADPATH.
7020 2013-11-02 Glenn Morris <rgm@gnu.org>
7022 * Makefile.in (EMACS): Use a relative filename.
7023 (abs_top_builddir): Remove.
7024 (custom-deps, finder-data, autoloads): Use --chdir.
7026 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7028 Use relative filenames in TAGS files.
7029 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7030 (lisptagsfiles4, TAGS): Use relative file names.
7031 (TAGS-LISP): Remove.
7032 (maintainer-clean): No more TAGS-LISP file.
7034 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7035 (lisptagsfiles4): Use absolute filenames again.
7036 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7037 Remove all *loaddefs files, not just the first. Remove esh-groups.
7038 (maintainer-clean): Delete TAGS, TAGS-LISP.
7040 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7042 * emacs-lisp/package.el (package-version-join):
7043 Recognize snapshot versions.
7045 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7047 * subr.el (version-regexp-alist): Add support for snapshot versions.
7049 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7051 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7052 New function, replacement for `smie-rule-parent' for when we want to
7053 skip over our direct parent if it's an assignment token..
7054 (ruby-smie-rules): Use it.
7056 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7058 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7059 unconditionally. Remove now unnecessary forward declarations.
7060 Remove XEmacs-specific setup.
7061 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7062 (ruby-font-lock-syntactic-keywords)
7063 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7064 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7065 (ruby-here-doc-end-syntax): Remove.
7066 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7067 defined as function.
7069 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7071 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7073 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7075 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7076 table and abbrev table, `define-derived-mode' does that for us
7079 2013-11-01 Glenn Morris <rgm@gnu.org>
7081 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7082 files is atomic for some time, so no parallel compilation issues).
7084 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7086 * faces.el (face-x-resources): Add :distant-foreground.
7087 (region): Use :distant-foreground for gtk and ns.
7089 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7091 Allow multiple bibliographies when BibLaTeX is used rather than
7093 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7094 (reftex-locate-bibliography-files): Us it.
7096 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7098 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7099 allow comments in pbm files.
7101 * term/w32-win.el (dynamic-library-alist): Support newer versions
7102 of libjpeg starting with v7: look only for the DLL from the
7103 version against which Emacs was built.
7104 Support versions of libpng beyond 1.4.x.
7105 Support libtiff v4.x.
7107 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7109 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7110 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7112 (ruby-deep-arglist): Add property :type.
7114 2013-10-31 Glenn Morris <rgm@gnu.org>
7116 * Makefile.in (custom-deps, finder-data): No need to setq the target
7117 variables, we are in the right directory and the defaults work fine.
7119 2013-10-30 Glenn Morris <rgm@gnu.org>
7121 * Makefile.in (autoloads): Do not use abs_lisp.
7123 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7124 `newline' does not respect `standard-output', so use `princ'.
7126 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7128 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7129 * buff-menu.el (Buffer-menu--unmark): New function.
7130 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7132 2013-10-30 Glenn Morris <rgm@gnu.org>
7134 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7136 * emacs-lisp/package.el (lm-homepage): Declare.
7138 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7141 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7143 * Makefile.in (finder-data, autoloads, update-subdirs)
7144 (compile-main, compile-clean, compile-always, bootstrap-clean):
7145 Check return value of cd.
7146 (compile-calc): Remove.
7148 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7150 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7152 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7153 (byte-compile-and-folded): New function.
7154 (=, <, >, <=, >=): Use it.
7156 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7157 (path-separator, null-device, buffer-file-coding-system)
7158 (lpr-headers-switches): Check system-type before modifying them.
7159 (find-buffer-file-type-coding-system): Mark obsolete.
7160 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7161 find-file-not-found-set-buffer-file-coding-system.
7162 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7163 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7164 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7165 (w32-direct-print-region-helper, w32-direct-print-region-function)
7166 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7167 * startup.el (normal-top-level-add-subdirs-to-load-path):
7168 * ps-print.el (ps-print-region-function):
7169 * lpr.el (print-region-function): Use new name.
7171 * subr.el (custom-declare-variable-early): Remove function.
7172 (custom-declare-variable-list): Remove var.
7173 (error, user-error): Remove `while' loop.
7174 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7175 (user-emacs-directory-warning, locate-user-emacs-file):
7177 * simple.el (read-quoted-char-radix, read-quoted-char):
7178 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7180 * custom.el (custom-declare-variable-list): Don't process
7181 custom-declare-variable-list.
7183 * progmodes/python.el (python-shell-get-buffer): New function.
7184 (python-shell-get-process): Use it.
7185 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7186 Python which encoding was used. Don't split-string since we only care
7187 about the first line. Return the temp-file, if applicable.
7188 (python-shell-send-region): Tell compile.el how to turn locations in
7189 the temp-file into locations in the source buffer.
7191 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7193 * subr.el (undefined): Add missing behavior from the C code for
7196 * rect.el: Use lexical-binding. Add new rectangular region support.
7197 (rectangle-mark): New command.
7198 (rectangle--region): New var.
7199 (deactivate-mark-hook): Reset rectangle--region.
7200 (rectangle--extract-region, rectangle--insert-for-yank)
7201 (rectangle--highlight-for-redisplay)
7202 (rectangle--unhighlight-for-redisplay): New functions.
7203 (region-extract-function, redisplay-unhighlight-region-function)
7204 (redisplay-highlight-region-function): Use them to handle
7206 * simple.el (region-extract-function): New var.
7207 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7208 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7209 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7210 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7211 (redisplay-unhighlight-region-function)
7212 (redisplay-highlight-region-function): New vars.
7213 (redisplay--update-region-highlight): New function.
7214 (pre-redisplay-function): Use it.
7215 (exchange-point-and-mark): Don't deactivate the mark before
7216 reactivate-it anyway.
7217 * comint.el (comint-kill-region): Remove yank-handler argument.
7218 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7219 (delete-char): Remove property, since it's now part of their
7221 (self-insert-iso): Remove property since this command doesn't exist.
7223 * emacs-lisp/package.el (package--download-one-archive)
7224 (describe-package-1): Don't query the user about final newline.
7226 2013-10-29 Daniel Colascione <dancol@dancol.org>
7228 * net/tramp.el (tramp-methods): Document new functionality.
7229 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7230 tramp-hostname-checker if method provides one instead of scanning
7231 argument list for "%h" to decide hostname acceptability.
7233 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7235 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7236 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7237 Handle COPY-CONTENTS. (Bug#15737)
7239 2013-10-28 Daiki Ueno <ueno@gnu.org>
7242 (epa-file-cache-passphrase-for-symmetric-encryption):
7243 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7245 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7247 * image.el (defimage, image-load-path): Doc fixes.
7249 2013-10-27 Alan Mackenzie <acm@muc.de>
7251 Indent statements in macros following "##" correctly.
7252 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7253 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7255 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7257 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7259 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7261 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7262 after `=' is probably a new expression.
7264 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7266 * man.el (man-imenu-title): New option.
7267 (Man-mode-map): Add menu. (Bug#15722)
7268 (Man-mode): Add imenu to menu.
7270 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7272 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7273 specific in what the first arg can be: a non-keyword word,
7274 string/regexp/percent literal opener, opening paren, or unary
7275 operator followed directly by word.
7277 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7280 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7281 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7282 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7283 Remove vars, they do not apply any more.
7284 (prolog-mode-abbrev-table): Remove redundant declaration.
7285 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7286 (prolog-use-smie): Remove.
7287 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7288 supported by prolog-electric-if-then-else-flag.
7289 (prolog-mode-variables, prolog-menu): Use setq-local.
7290 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7291 Remove binding to `Backspace' since this key doesn't exist anyway.
7292 Remove bindings for electric self-inserting keys.
7293 (prog-mode): Assume it's defined.
7294 (prolog-post-self-insert): New function.
7295 (prolog-mode): Use it.
7296 (prolog-indent-line, prolog-indent-level)
7297 (prolog-find-indent-of-matching-paren)
7298 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7299 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7300 (prolog-goto-next-paren, prolog-in-string-or-comment)
7301 (prolog-tokenize, prolog-inside-mline-comment)
7302 (prolog-find-start-of-mline-comment): Remove functions.
7303 (prolog-find-unmatched-paren, prolog-clause-end)
7304 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7305 (prolog-electric--if-then-else): Rename from
7306 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7307 (prolog-tokenize-searchkey): Remove const.
7308 (prolog-clause-info): Use forward-sexp.
7309 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7310 (prolog-electric-if-then-else): Remove commands.
7311 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7312 for use in post-self-insert-hook.
7313 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7314 for use in post-self-insert-hook.
7315 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7316 for use in post-self-insert-hook.
7317 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7318 adapt it for use in post-self-insert-hook.
7320 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7322 * emacs-lisp/ert.el (ert-run-tests-interactively):
7323 Use `completing-read'. (Bug#9756)
7325 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7327 * simple.el (line-move): Call line-move-1 instead of
7328 line-move-visual when the current window hscroll is zero, but
7329 temporary-goal-column indicates we will need to hscroll as result
7330 of the movement. (Bug#15712)
7332 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7334 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7335 capitalization. Use :visible instead of :active.
7336 Fix `ruby-indent-exp' reference. Add menu items for the generic
7337 commands that are used with SMIE.
7338 (ruby-do-end-to-brace): Insert space after `{'.
7340 2013-10-25 John Anthony <john@jo.hnanthony.com>
7342 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7344 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7346 2013-10-25 Glenn Morris <rgm@gnu.org>
7348 * vc/vc.el (vc-print-log): Don't use a working revision unless
7349 one was explicitly specified. (Bug#15322)
7351 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * subr.el (add-to-list): Preserve return value in compiler-macro
7356 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7358 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7359 result. Ask user to retry using '-all' flag. (Bug#15701)
7361 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7363 * emacs-lisp/smie.el: New smie-config system.
7364 (smie-config): New defcustom.
7365 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7366 (smie-config-guess, smie-config-save): New commands.
7367 (smie-config--mode-local, smie-config--buffer-local)
7368 (smie-config--trace, smie-config--modefuns): New vars.
7369 (smie-config--advice, smie-config--mode-hook)
7370 (smie-config--setter, smie-config-local, smie-config--get-trace)
7371 (smie-config--guess-value, smie-config--guess): New functions.
7372 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7373 text properties. Treat "string fence" syntax like string syntax.
7375 * progmodes/sh-script.el (sh-use-smie): Change default.
7376 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7377 (sh-var-value): Simplify by CSE.
7378 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7379 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7381 (sh-guess-basic-offset): Use cl-incf.
7382 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7384 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7386 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7389 2013-10-24 Glenn Morris <rgm@gnu.org>
7391 * Makefile.in (abs_top_srcdir): Remove.
7392 (update-subdirs): Use relative path to update-subdirs.
7394 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7396 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7397 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7398 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7399 Call unmsys--file-name before expand-file-name, not after it.
7401 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7403 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7404 (ert-test-skipped): New error.
7405 (ert-skip, ert-stats-skipped): New defuns.
7406 (ert--skip-unless): New macro.
7407 (ert-test-skipped): New struct.
7408 (ert--run-test-debugger, ert-test-result-type-p)
7409 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7410 (ert--stats-set-test-and-result, ert-char-for-test-result)
7411 (ert-string-for-test-result, ert-run-tests-batch)
7412 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7413 Handle skipped tests. (Bug#9803)
7415 2013-10-24 Glenn Morris <rgm@gnu.org>
7417 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7419 * Makefile.in (abs_top_srcdir): New, set by configure.
7420 (update-subdirs): Correct build-aux location.
7422 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7424 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7425 value, whether we could auto-deduce `backend', or not.
7427 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7428 with parameters" example. Simplify the "is it block or is it
7429 hash" check, but also make it more thorough.
7431 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7433 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7435 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7437 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7440 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7443 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7445 * progmodes/compile.el (compilation-directory-matcher)
7446 (compilation-page-delimiter):
7447 Support GNU Make-4.0 directory quoting. (Bug#15678)
7449 2013-10-23 Leo Liu <sdl.web@gmail.com>
7451 * ido.el (ido-tidy): Handle read-only text.
7453 2013-10-23 Glenn Morris <rgm@gnu.org>
7455 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7456 (emacs, compile, compile-always):
7457 Quote entities that might contain whitespace.
7458 (custom-deps, finder-data, autoloads): Use abs_lisp.
7459 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7460 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7461 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7463 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7465 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7466 Use `following-char'.
7468 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7470 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7471 * progmodes/ruby-mode.el (ruby-smie-rules):
7472 Remove corresponding workaround. Fix indentation rule of ";" so it
7473 also applies when ";" is the parent.
7475 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7477 * frame.el (display-screens, display-pixel-height)
7478 (display-pixel-width, display-mm-width, display-backing-store)
7479 (display-save-under, display-planes, display-color-cells)
7480 (display-visual-class, display-monitor-attributes-list):
7481 Mention the optional ‘display’ argument in doc strings.
7483 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7485 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7486 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7488 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7490 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7491 TODO. Add "." after " @ ".
7492 (ruby-smie--at-dot-call): New function. Checks if point at method
7493 call with explicit target.
7494 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7495 to the method name tokens when it precedes them.
7496 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7497 (ruby-smie-rules): Add rule for indentation before and after "."
7500 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7502 * textmodes/remember.el (remember-diary-extract-entries):
7505 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7508 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7510 * progmodes/ruby-mode.el (ruby-smie-grammar):
7511 Add (almost) all infix operators.
7512 (ruby-smie--implicit-semi-p): Add new operator chars.
7514 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7516 (ruby-smie--args-separator-p): Check that there's no newline
7517 between method call and its arguments.
7519 2013-10-20 Alan Mackenzie <acm@muc.de>
7521 Allow comma separated lists after Java "implements".
7523 * progmodes/cc-engine.el (c-backward-over-enum-header):
7525 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7526 from a "disallowed" list in enum fontification.
7528 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7530 * startup.el (default-frame-background-mode): Remove unused defvar.
7532 * progmodes/verilog-mode.el (verilog-mode): Don't set
7533 comment-indent-function globally.
7535 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7537 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7538 Move Info menu item creation to ns-win.el.
7540 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7543 * menu-bar.el: Move GNUstep specific menus...
7545 * term/ns-win.el (ns-initialize-window-system): ... to here.
7547 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7549 * simple.el (newline): Only run post-self-insert-hook when
7550 called interactively.
7552 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7554 * icomplete.el (icomplete-with-completion-tables): Add :version.
7556 2013-10-19 Alan Mackenzie <acm@muc.de>
7558 Fix fontification bugs with constructors and const.
7560 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7561 CASE 2) Remove the check for the absence of a suffix construct
7562 after a function declaration with only types (no identifiers) in
7563 the parentheses. Also, accept a function declaration with just a
7564 type inside the parentheses, if this type can be positively
7565 recognised as such, or if a prefix keyword like "explicit" nails
7566 down the construct as a declaration.
7568 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7570 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7571 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7572 the problem whereby selecting a menu item that leads to a
7573 minibuffer prompt moves the cursor out of the minibuffer window,
7574 making it hard to type at the prompt. Suggested by Stefan Monnier
7575 <monnier@iro.umontreal.ca>.
7577 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7579 * menu-bar.el: Don't make Services menu.
7581 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7583 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7584 (ffap-alist): Use ffap-c++-mode for c++-mode.
7585 (ffap-c++-path): New variable.
7586 (ffap-c++-mode): New function.
7588 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7590 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7592 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7594 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7595 introduced on 2013-09-08, which results in an infinite loop
7596 requesting a password.
7598 2013-10-18 Glenn Morris <rgm@gnu.org>
7600 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7602 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7604 Sync with upstream verilog-mode revision 1a6ecec7.
7605 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7606 (verilog-mode-release-date): Remove.
7607 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7608 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7609 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7610 (verilog-auto-tieoff-ignore-regexp)
7611 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7612 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7613 (verilog-signals-with, verilog-dir-cache-preserving)
7614 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7616 (verilog-case-fold): New option, to control case folding in
7617 regexp searches, bug597.
7618 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7619 (verilog-string-match-fold, verilog-in-paren-count)
7620 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7621 (verilog-at-close-struct-p): New functions.
7622 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7623 (verilog-forward-sexp, verilog-set-auto-endcomments)
7624 (verilog-leap-to-case-head): Handle "unique0" case.
7625 (verilog-in-constraint-re): New constant.
7626 (verilog-keywords, verilog-type-font-keywords):
7627 Add some SystemVerilog 1800-2012 keywords.
7628 (verilog-label-be): Remove unimplemented argument, bug669.
7629 (verilog-batch-execute-func): When batch expanding clear
7630 create-lockfiles to prevent spurious user locks when a file ends
7632 (verilog-calculate-indent, verilog-calc-1)
7633 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7634 (verilog-do-indent): Fix indentation of nested constraints
7636 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7637 (verilog-auto-inst-param): Use verilog-string-match-fold.
7638 (verilog-read-inst-module-matcher):
7639 Fix AUTOINST on gate primitives with #1.
7640 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7641 Reads all user-defined typed variables.
7642 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7643 (verilog-signals-matching-regexp)
7644 (verilog-signals-not-matching-regexp, verilog-auto):
7645 Respect verilog-case-fold.
7646 (verilog-diff-report): Fix line count.
7647 (verilog-auto-assign-modport): Remove unused local `modi'.
7648 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7649 better handle multidimensional arrays.
7650 Fix packed array ports misadding bit index in AUTOINST, bug637.
7651 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7652 to not double-declare existing outputs and inputs, respectively.
7653 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7654 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7655 (verilog-sk-uvm-component): New skeleton.
7656 (verilog-submit-bug-report): Add verilog-case-fold,
7657 remove verilog-mode-release-date.
7659 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7661 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7664 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7666 * textmodes/remember.el (remember): Set buffer-offer-save in
7667 remember buffers (bug#13566).
7669 2013-10-18 Daniel Colascione <dancol@dancol.org>
7671 When evaluating forms in ielm, direct standard output to ielm
7672 buffer. Add new ielm-return-for-effect command. Remove trailing
7673 whitespace throughout.
7675 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7676 (ielm-return-for-effect): New command.
7677 (ielm-send-input): Accept optional `for-effect' parameter.
7678 (ielm-eval-input): Accept optional `for-effect' parameter.
7679 Bind `standard-output' to stream we create using
7680 `ielm-standard-output-impl'. Suppress printing result when
7682 (ielm-standard-output-impl): New function.
7683 (inferior-emacs-lisp-mode): Explain new features in documentation.
7685 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7689 * net/tramp.el (tramp-debug-message): Do not check for connection
7691 (tramp-message): Use "vector" connection property.
7693 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7694 (tramp-equal-remote, tramp-eshell-directory-change)
7695 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7696 (tramp-adb-handle-rename-file)
7697 * net/tramp-cmds.el (tramp-list-remote-buffers)
7698 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7699 * net/tramp-compat.el (tramp-compat-process-running-p)
7700 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7701 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7702 (tramp-gvfs-handle-rename-file)
7703 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7704 (tramp-set-file-uid-gid)
7705 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7706 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7709 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7710 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7711 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7712 (tramp-gw-open-network-stream): Suppress unrelated traces.
7714 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7715 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7716 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7717 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7718 connection property.
7720 * net/tramp-cache.el (top): Suppress traces when reading
7723 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7724 Refactor common code. Improve debug message.
7725 (tramp-maybe-open-connection)
7726 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7727 connection buffer too early.
7729 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7730 from `tramp-smb-actions-with-acl'.
7731 (tramp-smb-actions-set-acl): New defconst.
7732 (tramp-smb-handle-copy-directory)
7733 (tramp-smb-action-get-acl): New defun, renamed from
7734 `tramp-smb-action-with-acl'.
7735 (tramp-smb-action-set-acl): New defun.
7736 (tramp-smb-handle-set-file-acl): Rewrite.
7738 2013-10-17 Glenn Morris <rgm@gnu.org>
7740 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7742 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7744 * skeleton.el (skeleton-newline): Remove.
7745 (skeleton-internal-1): Use (insert "\n") instead.
7747 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7750 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7751 forward-sexp-function while we redo its job (bug#15613).
7753 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7755 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7756 represented by lists.
7758 2013-10-16 Glenn Morris <rgm@gnu.org>
7760 * tmm.el (tmm--history): New dynamic variable.
7761 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7763 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7765 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7766 (tramp-smb-errors): Add error messages.
7767 (tramp-smb-actions-with-acl): New defconst.
7768 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7769 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7770 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7771 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7772 (tramp-smb-get-stat-capability): Fix tests.
7774 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7776 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7779 2013-10-16 Glenn Morris <rgm@gnu.org>
7781 * ansi-color.el (ansi-color-drop-regexp):
7782 Add 1J, 1K, 2K. (Bug#15617)
7784 * files.el (hack-local-variables--warned-lexical): New.
7785 (hack-local-variables):
7786 Warn about misplaced lexical-binding. (Bug#15616)
7788 * net/eww.el (eww-render): Always set eww-current-url,
7789 and update header line. (Bug#15622)
7790 (eww-display-html): ... Rather than just doing it here.
7792 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7794 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7795 menu navigations commands.
7797 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7799 * progmodes/subword.el (subword-capitalize): Be careful when
7800 the search for [[:alpha:]] fails (bug#15580).
7802 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7804 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7805 to commands that scroll the menu.
7807 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7809 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7810 Handle methods ending with `?' and `!'.
7812 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7814 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7815 `japanese-cp932' to `cp932' to fix the problem where saving a
7816 source file written in Shift_JIS twice would end up having
7817 `coding: japanese-cp932' which Ruby could not recognize.
7818 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7819 in `ruby-encoding-map'.
7820 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7821 doesn't need to be explicitly declared in magic comment.
7822 (ruby-encoding-map): Add type declaration for better customize UI.
7824 2013-10-13 Glenn Morris <rgm@gnu.org>
7826 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7827 Occur buffers are read-only. http://bugs.debian.org/720775
7829 * emacs-lisp/authors.el (authors-fixed-entries):
7830 Comment out old alpha stuff.
7832 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7834 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7835 to `after-save-hook' instead of `before-save-hook'.
7836 (ruby-mode-set-encoding): Use the value of coding system used to
7837 write the file. Call `basic-save-buffer-1' after modifying the
7840 2013-10-13 Alan Mackenzie <acm@muc.de>
7842 Fix indentation/fontification of Java enum with
7843 "implements"/generic.
7845 * progmodes/cc-engine.el (c-backward-over-enum-header):
7846 Extracted from the three other places and enhanced to handle generics.
7847 (c-inside-bracelist-p): Uses new function above.
7848 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7850 (c-font-lock-enum-tail): Uses new function above.
7852 2013-10-13 Kenichi Handa <handa@gnu.org>
7854 * international/mule-cmds.el (select-safe-coding-system): Remove a
7855 superfluous condition in chekcing whether a coding system is safe
7858 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7860 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7862 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7864 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7866 2013-10-13 Glenn Morris <rgm@gnu.org>
7868 * menu-bar.el (menu-bar-update-buffers):
7869 Unify Buffers menu prompt string. (Bug#15576)
7871 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7873 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7875 (authors-fixed-entries): Use accented form of name.
7877 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7879 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7880 method calls (bug#15594).
7881 (ruby-smie--args-separator-p): New function.
7882 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7883 recognize paren-free method calls.
7885 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7886 internals of universal-argument.
7888 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7890 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7891 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7892 dropped menu on second mouse click on the menu bar.
7894 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7896 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7897 (explicit-shell-file-name): Declare.
7898 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7899 (sh-completion-at-point-function): New function.
7901 (sh-smie--keyword-p): Remove unused argument.
7902 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7904 (sh-set-shell): Always setup SMIE, even if we use the
7905 old indentation code.
7907 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7909 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7911 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7912 predicate would return nil are almost non-existent.
7913 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7915 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7916 cache also after commands that modify the buffer but don't move
7919 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7921 * env.el (substitute-env-in-file-name): New function.
7922 (substitute-env-vars): Extend the meaning of the optional arg.
7924 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7926 * term/w32-win.el (dynamic-library-alist): Define separate lists
7927 of GIF DLLs for versions before and after 5.0.0 of giflib.
7930 2013-10-10 João Távora <joaotavora@gmail.com>
7932 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7933 not locked, use last revision and current source as
7934 defaults. (Bug#15569)
7936 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7938 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7941 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7943 * window.el (pop-to-buffer-same-window): Fix doc-string.
7946 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7948 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7950 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7952 * calendar/icalendar.el (icalendar-import-file):
7953 Fix interactive spec. (Bug#15482)
7955 2013-10-10 Glenn Morris <rgm@gnu.org>
7957 * desktop.el (desktop-save): Default to saving in .emacs.d,
7958 since PWD is no longer in desktop-path by default. (Bug#15319)
7960 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7961 now that text mode has a menu with the same entry.
7962 (menu-bar-text-mode-auto-fill): Remove now unused func.
7963 * textmodes/text-mode.el (text-mode-map):
7964 Use auto-fill help text from menu-bar.el.
7966 2013-10-10 John Anthony <john@jo.hnanthony.com>
7968 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7970 2013-10-09 Juri Linkov <juri@jurta.org>
7972 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7973 instead of this-command-keys. Add universal-argument-more and
7974 universal-argument-minus to the list of prefix commands. (Bug#15568)
7976 2013-10-09 Glenn Morris <rgm@gnu.org>
7978 * vc/vc-svn.el (vc-svn-create-repo):
7979 Expand paths in file://... url. (Bug#15446)
7981 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7983 (authors): Remove unused local variables.
7985 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7987 * profiler.el: Create a more coherent calltree from partial backtraces.
7988 (profiler-format): Hide the tail with `invisible' so that C-s can still
7989 find the hidden elements.
7990 (profiler-calltree-depth): Don't recurse so enthusiastically.
7991 (profiler-function-equal): New hash-table-test.
7992 (profiler-calltree-build-unified): New function.
7993 (profiler-calltree-build): Use it.
7994 (profiler-report-make-name-part): Indent the calltree less.
7995 (profiler-report-mode): Add visibility specs for profiler-format.
7996 (profiler-report-expand-entry, profiler-report-toggle-entry):
7997 Expand the whole subtree when provided with a prefix arg.
7999 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8001 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8003 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8004 hanging iuwu-mod token.
8005 (ruby-smie--forward-token): Do not include a dot after a token in
8007 (ruby-smie--backward-token): Likewise.
8009 2013-10-08 Juri Linkov <juri@jurta.org>
8011 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8012 to isearch-other-control-char.
8013 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8014 and isearch-post-command-hook to post-command-hook.
8015 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8016 and isearch-post-command-hook from post-command-hook.
8017 (isearch-unread-key-sequence)
8018 (isearch-reread-key-sequence-naturally)
8019 (isearch-lookup-scroll-key, isearch-other-control-char)
8020 (isearch-other-meta-char): Remove functions.
8021 (isearch-pre-command-hook, isearch-post-command-hook):
8022 New functions based on isearch-other-meta-char rewritten
8023 relying on the new behavior of overriding-terminal-local-map
8024 that does not replace the local keymaps any more. (Bug#15200)
8026 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8028 Support menus on text-mode terminals.
8029 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8032 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8034 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8035 Move here from mouse.el.
8036 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8038 (tty-menu-navigation-map): New map for TTY menu navigation.
8040 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8042 * frame.el (display-mouse-p): Report text-mode mouse as available
8044 (display-popup-menus-p): Report availability if mouse is
8045 available; don't condition on window-system.
8047 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8048 (tty-menu-selected-face): New faces.
8050 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8053 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8054 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8055 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8057 (lisp-mode-variables): New `elisp' argument.
8058 (emacs-lisp-mode): Use it.
8059 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8060 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8062 * indent.el: Use lexical-binding.
8063 (indent-region): Add progress reporter.
8064 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8066 (indent--next-tab-stop): New function to implement this behavior.
8067 (tab-to-tab-stop, move-to-tab-stop): Use it.
8069 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8071 * indent.el (indent-rigidly--current-indentation): New function.
8072 (indent-rigidly-map): New var.
8073 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8075 2013-10-08 Bastien Guerry <bzg@gnu.org>
8077 * register.el (insert-register): Fix 2013-10-07 change.
8079 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8081 * progmodes/perl-mode.el: Use lexical-binding.
8082 Remove redundant :group args.
8083 (perl-nochange): Change default to be closer to other major modes's
8085 (perl-indent-line): Don't consider text on current line as a
8086 valid beginning of function from which to indent.
8088 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8089 with more than one argument (bug#15538).
8091 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8093 * vc/pcvs.el: Use lexical-binding.
8094 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8095 environment of `eval'.
8096 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8097 than a list of expressions. Adjust callers.
8098 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8100 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8102 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8103 case of the dot in a chained method call being on the following line.
8105 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * electric.el (electric-indent-inhibit): New var.
8108 (electric-indent-post-self-insert-function): Use it.
8109 * progmodes/python.el (python-mode): Set it.
8111 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8114 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8116 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8117 (css-mode): Use electric-indent-chars.
8119 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8120 (font-lock-beg, font-lock-end): Move before first use.
8121 (nxml-mode): Use syntax-propertize-function.
8122 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8123 (nxml-extend-after-change-region): Remove.
8124 * nxml/xmltok.el: Use lexical-binding.
8125 (xmltok-save): Use `declare'.
8126 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8127 * nxml/nxml-util.el: Use lexical-binding.
8128 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8130 * nxml/nxml-ns.el: Use lexical-binding.
8131 (nxml-ns-save): Use `declare'.
8132 (nxml-ns-prefixes-for): Avoid add-to-list.
8133 * nxml/rng-match.el: Use lexical-binding.
8134 (rng--ipattern): Use cl-defstruct.
8135 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8136 (rng-cons-group-after, rng-subst-group-after)
8137 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8138 Use closures instead of `(lambda...).
8140 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8142 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8145 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8146 Use `tramp-handle-insert-file-contents'.
8147 (tramp-gvfs-handle-insert-file-contents): Remove function.
8149 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8150 Use `save-restriction' in order to keep markers.
8152 * net/trampver.el: Update release number.
8154 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8156 * progmodes/compile.el (compilation-parse-errors):
8157 Use compilation--put-prop.
8158 (compilation--ensure-parse): Check compilation-multiline.
8160 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8162 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8165 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8167 * progmodes/ruby-mode.el: Fix recently added tests.
8168 (ruby-smie-grammar): Add - and +.
8169 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8170 (ruby-smie--backward-id): New functions.
8171 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8172 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8175 2013-10-07 Leo Liu <sdl.web@gmail.com>
8177 * register.el (register-preview-delay)
8178 (register-preview-functions): New variables.
8179 (register-read-with-preview, register-preview)
8180 (register-describe-oneline): New functions.
8181 (point-to-register, window-configuration-to-register)
8182 (frame-configuration-to-register, jump-to-register)
8183 (number-to-register, view-register, insert-register)
8184 (copy-to-register, append-to-register, prepend-to-register)
8185 (copy-rectangle-to-register): Use register-read-with-preview to
8186 read register. (Bug#15525)
8188 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8190 * net/network-stream.el (network-stream-open-starttls): Don't add
8191 --insecure if it's already present, because that gnutls-cli
8192 rejects getting that parameter twice.
8194 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8196 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8199 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8201 * newcomment.el (comment-use-global-state): Change default value
8202 to t, mark obsolete (Bug#15251).
8203 (comment-beginning): In addition to `comment-to-syntax', check the
8204 value of `comment-use-global-state'.
8206 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8208 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8209 (ruby-comment-column): Follow the global default, by default.
8210 (ruby-smie-grammar): Add assignment syntax.
8211 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8212 open-paren, a comma, or a \.
8213 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8214 and line continuations.
8215 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8216 followed by implicit semi-colons. Add rule for string concatenation
8217 and for indentation at BOB.
8218 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8220 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8221 calling next-sexp, since next-token may have skipped chars which
8222 next-sexp doesn't know should be skipped!
8224 2013-10-05 Leo Liu <sdl.web@gmail.com>
8226 * progmodes/octave.el (octave-send-region):
8227 Call compilation-forget-errors.
8229 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8231 * vc/vc-svn.el (vc-svn-find-admin-dir):
8232 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8233 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8234 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8235 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8237 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8239 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8241 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8243 * subr.el (read-passwd): Hide chars even when called within a context
8244 where after-change-functions is disabled (bug#15501).
8245 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8246 until we removed ourself from overriding-terminal-local-map.
8248 2013-10-04 Leo Liu <sdl.web@gmail.com>
8250 * progmodes/octave.el (inferior-octave-mode):
8251 Call compilation-forget-errors.
8253 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8255 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8257 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8259 * net/secrets.el (secrets-create-collection): Add optional
8260 argument ALIAS. Use proper Label keyword. Append ALIAS as
8261 dbus-call-method argument. (Bug#15516)
8263 2013-10-04 Leo Liu <sdl.web@gmail.com>
8265 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8266 (inferior-octave-compilation-font-lock-keywords): New variables.
8267 (compilation-error-regexp-alist)
8268 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8269 (inferior-octave-mode): Use compilation-shell-minor-mode.
8271 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8273 * minibuffer.el (completion--replace): Be careful that `end' might be
8276 2013-10-03 Daiki Ueno <ueno@gnu.org>
8278 Add support for package signature checking.
8279 * emacs-lisp/package.el (url-http-file-exists-p)
8280 (epg-make-context, epg-context-set-home-directory)
8281 (epg-verify-string, epg-context-result-for)
8282 (epg-signature-status, epg-signature-to-string)
8283 (epg-check-configuration, epg-configuration)
8284 (epg-import-keys-from-file): Declare.
8285 (package-check-signature): New user option.
8286 (package-unsigned-archives): New user option.
8287 (package-desc): Add `signed' field.
8288 (package-load-descriptor): Set `signed' field if .signed file exists.
8289 (package--archive-file-exists-p): New function.
8290 (package--check-signature): New function.
8291 (package-install-from-archive): Check package signature.
8292 (package--download-one-archive): Check archive signature.
8293 (package-delete): Remove .signed file.
8294 (package-import-keyring): New command.
8295 (package-refresh-contents): Import default keyring.
8296 (package-desc-status): Add "unsigned" status.
8297 (describe-package-1, package-menu--print-info)
8298 (package-menu-mark-delete, package-menu--find-upgrades)
8299 (package-menu--status-predicate): Support "unsigned" status.
8301 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8303 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8304 the new compilation scheme using the new byte-codes.
8306 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8307 (byte-pophandler): New byte codes.
8308 (byte-goto-ops): Adjust accordingly.
8309 (byte-compile--use-old-handlers): New var.
8310 (byte-compile-catch): Use new byte codes depending on
8311 byte-compile--use-old-handlers.
8312 (byte-compile-condition-case--old): Rename from
8313 byte-compile-condition-case.
8314 (byte-compile-condition-case--new): New function.
8315 (byte-compile-condition-case): New function that dispatches depending
8316 on byte-compile--use-old-handlers.
8317 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8320 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8321 Optimize under `condition-case' and `catch' if
8322 byte-compile--use-old-handlers is nil.
8323 (disassemble-offset): Handle new bytecodes.
8325 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8327 * subr.el (error): Use `declare'.
8328 (decode-char, encode-char): Use advertised-calling-convention instead
8329 of the docstring to discourage use of the `restriction' arg.
8331 2013-10-03 Daiki Ueno <ueno@gnu.org>
8333 * epg.el (epg-verify-file): Add a comment saying that it does not
8334 notify verification error as a return value nor a signal.
8335 (epg-verify-string): Ditto.
8337 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8339 * progmodes/compile.el (compilation-start): Try globbing the arg to
8342 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8344 Sync with Tramp 2.2.8.
8346 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8347 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8348 * net/trampver.el: Update release number.
8350 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8352 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8353 and default-process-coding-system for darwin only.
8355 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8357 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8359 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8361 * vc/vc-git.el (vc-git-grep): Disable pager.
8363 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8365 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8366 Use :url instead of :homepage, as per
8367 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8369 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8370 non-nil, use `syntax-ppss' (Bug#15251).
8372 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8374 * progmodes/octave.el (inferior-octave-startup-file):
8375 Prefer ~/.emacs.d/init_octave.m.
8377 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8379 * emacs-lisp/package.el (package-desc-from-define):
8380 Accept additional arguments as plist, convert them to an alist and store
8381 them in the `extras' slot.
8382 (package-generate-description-file): Convert extras alist back to
8383 plist and append to the `define-package' form arguments.
8384 (package--alist-to-plist): New function.
8385 (package--ac-desc): Add `extras' slot.
8386 (package--add-to-archive-contents): Check if the archive-contents
8387 vector is long enough, and if it is, pass its `extras' slot value
8388 to `package-desc-create'.
8389 (package-buffer-info): Call `lm-homepage', pass the returned value
8390 to `package-desc-from-define'.
8391 (describe-package-1): Render the homepage button (Bug#13291).
8393 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8394 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8396 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8398 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8399 and default-process-coding-system to utf-8-unix (Bug#15402).
8401 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8403 * subr.el (looking-back): Do not recommend using looking-back.
8405 2013-09-28 Alan Mackenzie <acm@muc.de>
8407 Fix indentation/fontification of Java enum with "implements".
8409 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8410 regexp which matches "implements", etc., in Java.
8411 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8412 specifier clauses coming after "enum".
8413 * progmodes/cc-fonts.el (c-font-lock-declarations)
8414 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8417 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8419 * faces.el (region): Change ns_selection_color to
8420 ns_selection_fg_color, add ns_selection_bg_color.
8422 2013-09-28 Leo Liu <sdl.web@gmail.com>
8424 * progmodes/octave.el (inferior-octave-completion-table)
8425 (inferior-octave-completion-at-point): Minor tweaks.
8427 * textmodes/ispell.el (ispell-lookup-words): Rename from
8428 lookup-words. (Bug#15460)
8429 (lookup-words): Obsolete.
8430 (ispell-complete-word, ispell-command-loop): All uses changed.
8432 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8434 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8435 (octave-mode-menu): Add octave-send-buffer.
8436 (octave-send-buffer): New function.
8438 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8440 * progmodes/octave.el (octave-mode-map): Add key binding for
8442 (octave-mode-menu): Add octave-lookfor.
8443 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8445 (octave-lookfor): New function.
8447 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8449 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8450 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8452 (cl--loop-set-iterator-function): New function.
8453 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8454 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8455 Bind `it' with `let' instead of substituting it with `cl-subst'.
8456 (cl--unused-var-p): New function.
8457 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8458 Eliminate some unused variable warnings (bug#15326).
8460 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8462 * doc-view.el (doc-view-scale-reset): Rename from
8463 `doc-view-reset-zoom-level'.
8464 (doc-view-scale-adjust): New command.
8465 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8466 `doc-view-scale-adjust'.
8468 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8470 * doc-view.el (doc-view-reset-zoom-level): New command.
8471 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8472 zoom commands (bug#15466).
8474 2013-09-26 Kenichi Handa <handa@gnu.org>
8476 * international/quail.el (quail-help): Make it not a command.
8478 2013-09-26 Leo Liu <sdl.web@gmail.com>
8480 * minibuffer.el (completion-all-sorted-completions): Make args
8481 optional as they are.
8483 2013-09-25 Daniel Colascione <dancol@dancol.org>
8485 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8486 specs are and that they're not evaluated.
8488 2013-09-24 Sam Steingold <sds@gnu.org>
8490 * midnight.el (clean-buffer-list-kill-regexps)
8491 (clean-buffer-list-kill-buffer-names): Update for the new Man
8492 buffer naming which includes the object name.
8494 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8496 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8497 (eshell-parse-command, eshell-parse-pipeline): Use it since
8498 eshell-separate-commands requires a dynamic scoped var.
8499 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8501 2013-09-23 Leo Liu <sdl.web@gmail.com>
8503 * autoinsert.el (auto-insert-alist): Make the value of
8504 lexical-binding match its file setting.
8506 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8508 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8510 * autoarg.el (autoarg-kp-digit-argument):
8511 * electric.el (Electric-command-loop):
8512 * kmacro.el (kmacro-step-edit-insert):
8513 Do not set universal-argument-num-events.
8515 2013-09-22 Leo Liu <sdl.web@gmail.com>
8517 * files.el (interpreter-mode-alist): Add octave.
8519 2013-09-21 Alan Mackenzie <acm@muc.de>
8521 C++: fontify identifier in declaration following "public:" correctly.
8522 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8523 to match "public", etc.
8524 (c-decl-prefix-re): Add ":" into the C++ value.
8525 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8526 bit. Add a check for a ":" preceded by "public", etc.
8528 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8530 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8531 recognized by GDB 7.5 and later.
8533 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8535 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8537 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * subr.el (internal--call-interactively): New const.
8540 (called-interactively-p): Use it (bug#3984).
8542 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8544 * vc/pcvs.el (cvs-mode-ignore):
8545 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8546 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8548 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8550 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8551 (eshell-ls-orig-insert-directory): Remove.
8552 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8553 (eshell-ls-use-in-dired): Use advice-add/remove.
8554 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8555 Add `orig-fun' arg for use in :around advice.
8556 Make it check (redundantly) eshell-ls-use-in-dired.
8558 2013-09-19 Glenn Morris <rgm@gnu.org>
8560 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8562 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8564 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8566 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8568 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8569 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8570 (tramp-get-remote-python): New defuns.
8571 (tramp-get-remote-uid-with-perl)
8572 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8573 contributed by yary <not.com@gmail.com> (tiny change).
8574 (tramp-get-remote-uid-with-python)
8575 (tramp-get-remote-gid-with-python): New defuns. Python code
8576 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8577 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8579 2013-09-19 Glenn Morris <rgm@gnu.org>
8581 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8583 * eshell/em-unix.el (eshell-remove-entries):
8584 Rename argument to avoid name-clash with global `top-level'.
8586 * eshell/esh-proc.el (eshell-kill-process-function):
8587 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8588 (eshell-reset-after-proc): Remove unused arg `proc'.
8590 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8591 (directory-files-and-attributes): Mark unused arg.
8593 * eshell/em-unix.el (eshell-remove-entries):
8594 Remove unused arg `path'. Update callers.
8596 * eshell/em-hist.el (eshell-hist-parse-arguments):
8597 Remove unused arg `silent'. Update callers.
8599 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8600 Fix (f)boundp mix-up.
8602 * eshell/em-smart.el (eshell-smart-scroll-window)
8603 (eshell-disable-after-change):
8604 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8606 2013-09-18 Alan Mackenzie <acm@muc.de>
8608 Fix fontification of type when followed by "const".
8609 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8610 "known" types from fontification.
8612 2013-09-18 Glenn Morris <rgm@gnu.org>
8614 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8615 (chart-face-list): Drop Emacsen without display-color-p.
8617 * net/eww.el (libxml-parse-html-region): Declare.
8618 (eww-display-html): Explicit error if no libxml2 support.
8620 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8622 * image.el (image-type-from-buffer, image-multi-frame-p):
8623 Remove --without-x warning/error.
8625 * mouse.el (mouse-yank-primary):
8626 * term.el (term-mouse-paste):
8627 Reorder to silence --without-x compilation.
8629 * mpc.el (doc-view-mode): Silence --without-x compilation.
8631 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8632 Silence --without-x compilation.
8634 * progmodes/gud.el (gud-find-file, gud-mode):
8635 Silence --without-x compilation.
8636 (tooltip-mode): Declare.
8638 * wdired.el (dired-backup-overwrite): Remove declaration.
8639 (wdired-mode-map): Add doc string.
8641 * custom.el (x-get-resource): Declare.
8643 * eshell/em-glob.el (ange-cache):
8644 * eshell/em-unix.el (ange-cache): Declare.
8646 * faces.el (x-display-list, x-open-connection, x-get-resource):
8649 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8650 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8653 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8655 * net/gnutls.el (gnutls-log-level): Declare.
8657 * net/shr.el (image-size, image-animate): Declare.
8659 * simple.el (font-info): Declare.
8661 * subr.el (x-popup-dialog): Declare.
8663 * term/common-win.el (x-select-enable-primary)
8664 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8667 * term/ns-win.el (x-handle-args): Declare.
8669 * term/x-win.el (x-select-enable-clipboard): Declare.
8671 * term/w32-win.el (create-default-fontset): Declare.
8673 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8676 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8677 (fit-frame-to-buffer): Explicit error if --without-x.
8678 (mouse-autoselect-window-select): Silence compiler.
8680 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8682 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8683 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8684 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8685 * eshell/esh-util.el (eshell-sublist):
8686 Remove unused local variables.
8688 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8690 * textmodes/two-column.el: Make 2C-split work for --without-x.
8691 (scroll-bar-columns): Autoload.
8692 (top-level): Require fringe when compiling.
8694 2013-09-18 Leo Liu <sdl.web@gmail.com>
8696 * subr.el (add-hook): Robustify to handle closure as well.
8698 2013-09-17 Glenn Morris <rgm@gnu.org>
8700 * simple.el (messages-buffer-mode-map): Unbind "g".
8702 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8704 * help-mode.el (help-mode-finish): Use derived-mode-p.
8705 Remove obsolete highlighting.
8707 * play/life.el (life-mode): Use define-derived-mode. Derive from
8709 (life): Let-bind inhibit-read-only.
8710 (life-setup): Avoid `setq'. Use `life-mode'.
8712 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8713 which should not be needed any more.
8714 (package-menu-refresh, package-menu-describe-package): Use user-error.
8716 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8717 (eshell-post-rewrite-command-hook): Make obsolete.
8718 (eshell-parse-command): Simplify.
8719 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8720 (eshell--cmd): Declare.
8721 (eshell-parse-pipeline): Remove unused var `final-p'.
8722 Pass a dynvar to eshell-post-rewrite-command-hook.
8723 Implement the new eshell-post-rewrite-command-function.
8724 (eshell-invoke-directly): Remove unused arg `input'.
8725 * eshell/esh-io.el (eshell-io-initialize):
8726 Use eshell-post-rewrite-command-function (bug#15399).
8727 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8728 adjust to new calling convention.
8729 (eshell-create-handles): Rename args to avoid clashing with dynvar
8732 2013-09-17 Glenn Morris <rgm@gnu.org>
8734 * simple.el (messages-buffer-mode): New major mode.
8735 (messages-buffer): New function.
8736 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8737 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8738 (ert-run-test): Use `messages-buffer' function.
8739 (ert--force-message-log-buffer-truncation): Ignore read-only.
8740 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8741 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8743 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8745 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8747 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8749 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8751 * icomplete.el (icomplete-in-buffer): New var.
8752 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8753 vars and replace them with functions.
8754 (icomplete-minibuffer-setup): Adjust accordingly.
8755 (icomplete--completion-table, icomplete--completion-predicate)
8756 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8758 (icomplete-forward-completions, icomplete-backward-completions)
8759 (icomplete-simple-completing-p, icomplete-exhibit)
8760 (icomplete-completions): Use them.
8761 (icomplete--in-region-buffer): New var.
8762 (icomplete--in-region-setup): New function.
8763 (icomplete-mode): Use it.
8765 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8767 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8768 return args and options.
8769 (eshell-eval-using-options): Use the new return value of
8770 eshell--do-opts to set the options's vars in their scope.
8771 (eshell--set-option): Rename from eshell-set-option.
8773 (eshell--process-option): Rename from eshell-process-option.
8775 (eshell--process-args): Use an `opt-vals' alist to store the options's
8776 values during their processing and return them additionally to the
8779 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8781 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8782 continuation character an operator, as far as indentation is
8783 concerned (Bug#15369).
8785 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8787 * window.el (window--state-put-2): Don't process buffer state
8788 when buffer doesn't exist any more (Bug#15382).
8790 2013-09-15 Glenn Morris <rgm@gnu.org>
8792 * eshell/em-unix.el (eshell/rm):
8793 Make -f ignore missing files. (Bug#15373)
8795 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8796 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8797 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8799 2013-09-14 Glenn Morris <rgm@gnu.org>
8801 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8803 2013-09-13 Glenn Morris <rgm@gnu.org>
8805 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8806 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8808 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8810 * frame.el (x-focus-frame): Mark as declared in frame.c.
8812 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8814 * ls-lisp.el: Use advice-add.
8815 (original-insert-directory): Remove.
8816 (ls-lisp--insert-directory): Rename from insert-directory; add
8817 `orig-fun' argument.
8818 (insert-directory): Advise.
8820 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8822 * term.el (term-emulate-terminal): Decode the command string
8823 before passing it to term-command-hook. (Bug#15337)
8825 2013-09-13 Glenn Morris <rgm@gnu.org>
8827 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8829 * eshell/esh-ext.el (eshell-search-path): Declare.
8831 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8832 Otherwise an error occurs if eshell-dirs module not loaded.
8834 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8836 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8838 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8839 `tramp-check-proper-host'. Check for a valid method name.
8841 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8842 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8843 * net/tramp-sh.el (tramp-maybe-open-connection):
8844 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8846 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8847 also for hash values.
8849 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8851 * term/ns-win.el (parameters): Don't declare as dynamic.
8852 (before-make-frame-hook): Don't add ineffective function.
8854 * eshell/*.el: Use lexical-binding (bug#15231).
8856 2013-09-12 Kenichi Handa <handa@gnu.org>
8858 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8860 2013-09-12 Glenn Morris <rgm@gnu.org>
8862 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8863 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8865 * subr.el (do-after-load-evaluation): Also give compiler warnings
8866 when obsolete files are used (except by obsolete files).
8868 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8869 in the status output, assume `filename' is the first. (Bug#15322)
8871 * vc/vc.el (vc-deduce-fileset): Doc fix.
8873 * calc/calc-help.el (Info-goto-node):
8874 * progmodes/cperl-mode.el (Info-find-node):
8875 * vc/ediff.el (Info-goto-node): Update declarations.
8877 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8879 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8880 (vc-bzr-pull): Require vc-dispatcher.
8881 * vc/vc-git.el (vc-compilation-mode): Declare.
8882 (vc-git-pull): Require vc-dispatcher.
8884 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8886 * progmodes/octave.el (help-button-action): Declare.
8888 * shell.el (shell-directory-tracker): Output error as a message
8889 rather than just returning it as a string.
8890 (shell-process-pushd): Remove useless use of message.
8892 * dframe.el (dframe-timer-fn):
8893 * files.el (dir-locals-read-from-file):
8894 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8896 * reveal.el (reveal-post-command):
8897 * saveplace.el (load-save-place-alist-from-file):
8898 * shell.el (shell-resync-dirs):
8899 * w32-common-fns.el (x-get-selection-value):
8900 * emacs-lisp/copyright.el (copyright-find-copyright):
8901 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8902 * emulation/tpu-edt.el (tpu-copy-keyfile):
8903 * play/bubbles.el (bubbles--mark-neighbourhood):
8904 * progmodes/executable.el
8905 (executable-make-buffer-file-executable-if-script-p):
8906 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8908 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8910 Cleanup Eshell to rely less on dynamic scoping.
8911 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8912 last-value, and ext-command here. Bind `args' closer to `body'.
8913 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8914 (eshell--args): Declare new dynamic var.
8915 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8916 last-value, and ext-command. Pass `args' to `body'.
8917 (eshell-process-args): Bind eshell--args.
8918 (eshell-set-option): Use eshell--args.
8919 * eshell/eshell.el (eshell): Use derived-mode-p.
8920 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8921 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8922 (eshell-glob-function): Declare.
8923 * eshell/esh-util.el: Require cl-lib.
8924 (eshell-read-hosts-file): Avoid add-to-list.
8925 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8927 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8929 (eshell/diff): Remove unused var `err'.
8930 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8932 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8933 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8935 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8936 Move declaration before first use.
8937 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8938 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8941 2013-09-12 Glenn Morris <rgm@gnu.org>
8943 * term/ns-win.el (global-map): Remove binding for ispell-next,
8944 deleted 1999-05-29. (Bug#15357)
8946 2013-09-11 Glenn Morris <rgm@gnu.org>
8948 * echistory.el (electric-command-history): Remove call to deleted func.
8950 * play/landmark.el (landmark-mode): Fix typos.
8952 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8953 Check cvs-sort-ignore-file is bound.
8955 * savehist.el: No need for cl when compiling on Emacs.
8957 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8959 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8961 (eshell-self-insert-command, eshell-send-invisible):
8962 Remove unused argument.
8963 (eshell-handle-control-codes): Remove unused var `orig'.
8964 Avoid delete-backward-char.
8966 * files.el (set-auto-mode): Simplify a bit further.
8968 2013-09-11 Glenn Morris <rgm@gnu.org>
8970 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8971 (set-auto-mode): Don't regexp-quote elements.
8972 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8973 * progmodes/cc-mode.el (interpreter-mode-alist):
8974 * progmodes/ruby-mode.el (interpreter-mode-alist):
8975 Revert previous change.
8977 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * play/snake.el (snake-mode):
8980 * play/mpuz.el (mpuz-mode):
8981 * play/landmark.el (lm-mode):
8982 * play/blackbox.el (blackbox-mode):
8983 * play/5x5.el (5x5-mode):
8984 * obsolete/options.el (Edit-options-mode):
8985 * net/quickurl.el (quickurl-list-mode):
8986 * net/newst-treeview.el (newsticker-treeview-mode):
8987 * mail/rmailsum.el (rmail-summary-mode):
8988 * mail/mspools.el (mspools-mode):
8989 * locate.el (locate-mode):
8990 * ibuffer.el (ibuffer-mode):
8991 * emulation/ws-mode.el (wordstar-mode):
8992 * emacs-lisp/debug.el (debugger-mode):
8993 * array.el (array-mode):
8994 * net/eudc.el (eudc-mode): Use define-derived-mode.
8995 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8996 Move initialization into declaration.
8997 (mairix-searches-mode): Use define-derived-mode.
8998 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8999 (eudc-edit-hotlist): Use dolist.
9000 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9001 (Man-mode): Use define-derived-mode.
9002 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9003 (Info-edit-mode): Use define-derived-mode.
9004 (Info-cease-edit): Use Info-mode.
9005 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9007 (eshell-mode): Use define-derived-mode.
9008 * chistory.el (command-history-mode-map): Rename from
9009 command-history-map.
9010 (command-history-mode): Use define-derived-mode.
9011 (Command-history-setup): Remove function.
9012 * calc/calc.el (calc-trail-mode-map): New var.
9013 (calc-trail-mode): Use define-derived-mode.
9014 (calc-trail-buffer): Set calc-main-buffer manually.
9015 * bookmark.el (bookmark-insert-annotation): New function.
9016 (bookmark-edit-annotation): Use it.
9017 (bookmark-edit-annotation-mode): Make it a proper major mode.
9018 (bookmark-send-edited-annotation): Use derived-mode-p.
9019 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9020 closer to its ideal place. Use \' to match EOS.
9022 * profiler.el (profiler-calltree-find): Use function-equal.
9024 2013-09-10 Glenn Morris <rgm@gnu.org>
9026 * files.el (interpreter-mode-alist): Convert to regexps.
9027 (set-auto-mode): Adapt for this. (Bug#15306)
9028 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9029 Comment out unused variable.
9030 * progmodes/cc-mode.el (interpreter-mode-alist):
9031 * progmodes/python.el (interpreter-mode-alist):
9032 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9033 * progmodes/sh-script.el (sh-set-shell):
9034 No longer use interpreter-mode-alist to get list of shells.
9036 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9038 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * simple.el: Use set-temporary-overlay-map for universal-argument.
9041 (universal-argument-map): Don't use default-bindings (bug#15317).
9042 Bind switch-frame explicitly. Replace universal-argument-minus with
9043 a conditional binding.
9044 (universal-argument-num-events, saved-overriding-map): Remove.
9045 (restore-overriding-map): Remove.
9046 (universal-argument--mode): Rename from save&set-overriding-map,
9048 (universal-argument, universal-argument-more, negative-argument)
9049 (digit-argument): Adjust accordingly.
9050 (universal-argument-minus): Remove.
9051 (universal-argument-other-key): Remove.
9053 * subr.el (with-demoted-errors): Add `format' argument.
9055 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9057 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9058 `tramp-cleanup-connection'.
9060 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9061 parameters KEEP-DEBUG and KEEP-PASSWORD.
9063 * net/tramp.el (tramp-file-name-handler):
9064 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9065 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9066 (tramp-maybe-open-connection):
9067 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9068 Use `tramp-cleanup-connection'.
9070 * net/tramp-sh.el (tramp-maybe-open-connection):
9071 Catch 'uname-changed inside the progress reporter.
9073 2013-09-10 Glenn Morris <rgm@gnu.org>
9075 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9077 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9078 returns "alternate access method" in mode (eg "-rw-r--r--.").
9080 2013-09-08 Glenn Morris <rgm@gnu.org>
9082 * saveplace.el (load-save-place-alist-from-file):
9083 Demote errors. (Bug#15305)
9085 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9087 Improve compatibility with older Emacsen, and XEmacs.
9089 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9090 only if it is bound. It isn't for XEmacs.
9091 (with-tramp-progress-reporter): Do not let-bind `result'.
9092 This yields to scoping errors in XEmacs.
9093 (tramp-handle-make-auto-save-file-name): New function, moved from
9096 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9097 for `make-auto-save-file-name'.
9098 (tramp-adb--gnu-switches-to-ash):
9099 Use `tramp-compat-replace-regexp-in-string'.
9101 * net/tramp-cache.el (tramp-cache-print): Call
9102 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9104 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9105 bound. It isn't for XEmacs.
9107 * net/tramp-compat.el (tramp-compat-copy-file):
9108 Catch `wrong-number-of-arguments' error.
9109 (tramp-compat-replace-regexp-in-string): New defun.
9111 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9112 for `make-auto-save-file-name'.
9113 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9115 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9116 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9117 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9119 * net/tramp-gw.el (tramp-gw-open-network-stream):
9120 Use `tramp-compat-replace-regexp-in-string'.
9122 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9123 Call `tramp-handle-make-auto-save-file-name'.
9124 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9125 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9126 (tramp-sh-file-inotifywait-process-filter):
9127 Use `tramp-compat-replace-regexp-in-string'.
9128 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9130 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9131 for `make-auto-save-file-name'.
9132 (tramp-smb-handle-copy-directory):
9133 Call `tramp-compat-replace-regexp-in-string'.
9134 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9135 (tramp-smb-handle-copy-file): Improve error message.
9136 (tramp-smb-handle-rename-file): Rename directly only in case
9137 `newname' does not exist yet. This is a restriction of smbclient.
9138 (tramp-smb-maybe-open-connection): Rerun the function only when
9139 `auth-sources' is non-nil.
9141 2013-09-08 Kenichi Handa <handa@gnu.org>
9143 * international/characters.el: Set category "^" (Combining) for
9146 2013-09-07 Alan Mackenzie <acm@muc.de>
9148 Correctly fontify Java class constructors.
9149 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9151 (c-recognize-typeless-decls): Set the Java value to t.
9152 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9153 While handling a "(", add a check for, effectively, Java, and handle a
9154 "typeless" declaration there.
9156 2013-09-07 Roland Winkler <winkler@gnu.org>
9158 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9159 field subtitle for entry type book.
9161 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9163 * minibuffer.el: Make minibuffer-complete call completion-in-region
9164 rather than other way around.
9165 (completion--some, completion-pcm--find-all-completions):
9166 Don't delay signals when debugging.
9167 (minibuffer-completion-contents): Beware fields within the
9168 minibuffer contents.
9169 (completion-all-sorted-completions): Use defvar-local.
9170 (completion--do-completion, completion--cache-all-sorted-completions)
9171 (completion-all-sorted-completions, minibuffer-force-complete):
9172 Add args `beg' and `end'.
9173 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9174 (minibuffer-complete): Use completion-in-region.
9175 (completion-complete-and-exit): New fun, extracted from
9176 minibuffer-complete-and-exit.
9177 (minibuffer-complete-and-exit): Use it.
9178 (completion--complete-and-exit): Rename from
9179 minibuffer--complete-and-exit.
9180 (completion-in-region--single-word): New function, extracted from
9181 minibuffer-complete-word.
9182 (minibuffer-complete-word): Use it.
9183 (display-completion-list): Make `common-substring' argument obsolete.
9184 (completion--in-region): Call completion--in-region-1 instead of
9185 minibuffer-complete.
9186 (completion-help-at-point): Pass boundaries to
9187 minibuffer-completion-help as args rather than via an overlay.
9188 (completion-pcm--string->pattern): Use `any-delim'.
9189 (completion-pcm--optimize-pattern): New function.
9190 (completion-pcm--pattern->regex): Handle `any-delim'.
9191 * icomplete.el (icomplete-forward-completions)
9192 (icomplete-backward-completions, icomplete-completions):
9193 Adjust calls to completion-all-sorted-completions and
9194 completion--cache-all-sorted-completions.
9195 (icomplete-with-completion-tables): Default to t.
9196 * emacs-lisp/crm.el (crm--current-element): Rename from
9197 crm--select-current-element. Don't put an overlay but return the
9199 (crm--completion-command): Take two new args to bind to the boundaries.
9200 (crm-completion-help): Adjust accordingly.
9201 (crm-complete): Use completion-in-region.
9202 (crm-complete-word): Use completion-in-region--single-word.
9203 (crm-complete-and-exit): Use completion-complete-and-exit.
9205 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9207 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9210 2013-09-06 Juri Linkov <juri@jurta.org>
9212 * info.el (Info-display-images-node): When image file doesn't exist
9213 display text version of the image if it's provided in the Info file.
9214 Otherwise, display the location of missing image from SRC attribute.
9215 Add help-echo text property from ALT attribute. (Bug#15279)
9217 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9219 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9220 (edit-abbrevs-mode): Use define-derived-mode.
9222 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9223 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9225 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9226 Use define-derived-mode.
9228 * epg.el (epg-start-encrypt): Minor CSE simplification.
9230 2013-09-06 William Xu <william.xwl@gmail.com>
9232 * arc-mode.el: Add support for 7za (bug#15264).
9233 (archive-7z-program): New var.
9234 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9235 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9236 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9238 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9242 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9243 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9244 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9245 (tramp-postfix-host-format, tramp-file-name-regexp)
9246 (tramp-completion-file-name-regexp)
9247 (tramp-completion-dissect-file-name)
9248 (tramp-handle-substitute-in-file-name): Remove 'url case.
9249 (tramp-file-name-regexp-url)
9250 (tramp-completion-file-name-regexp-url): Remove constants.
9252 2013-09-06 Glenn Morris <rgm@gnu.org>
9254 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9256 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9258 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9259 keywords" below "here-doc beginnings" (Bug#15270).
9261 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * subr.el (pop): Use `car-safe'.
9264 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9265 to detect unused `pop' return value.
9267 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9269 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9270 (python-fill-string): Remove unused var `marker'.
9271 (python-skeleton-add-menu-items): Remove unused var `items'.
9273 * international/mule-cmds.el: Require CL.
9274 (find-coding-systems-for-charsets): Avoid add-to-list.
9275 (sanitize-coding-system-list): New function, extracted from
9276 select-safe-coding-system-interactively.
9277 (select-safe-coding-system-interactively): Use it.
9278 (read-input-method-name): Accept symbols for `default'.
9280 * emacs-lisp/advice.el (defadvice): Add indent rule.
9282 2013-09-05 Daniel Hackney <dan@haxney.org>
9286 * net/browse-url.el:
9289 * net/eudcb-ldap.el:
9302 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9303 byte compiler. Remove some unused let-bound variables.
9305 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9307 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9308 a "ref-cell", since it gets better optimized (bug#14883).
9310 2013-09-05 Glenn Morris <rgm@gnu.org>
9312 * progmodes/cc-awk.el (c-forward-sws): Declare.
9314 2013-09-04 Glenn Morris <rgm@gnu.org>
9316 * generic-x.el [rul-generic-mode]: Require cc-mode.
9317 (c++-mode-syntax-table): Declare.
9318 (rul-generic-mode-syntax-table): Init in the defvar.
9320 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9323 (vc-do-command, vc-set-async-update):
9324 * vc/vc-mtn.el (vc-mtn-dir-status):
9325 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9326 (vc-hg-pull, vc-hg-merge-branch):
9327 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9328 (vc-git-merge-branch):
9329 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9330 (vc-cvs-dir-status-files):
9331 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9332 (vc-bzr-dir-status-files):
9333 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9334 * vc/vc-annotate.el: Use lexical-binding.
9335 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9336 (vc-sentinel-movepoint): Declare.
9337 (vc-annotate): Don't use `goto-line'.
9338 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9339 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9340 (vc-sentinel-movepoint): Declare.
9341 * vc/vc-svn.el: Use lexical-binding.
9342 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9344 * vc/vc-rcs.el: Use lexical-binding.
9346 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9347 `deleted'. Don't drop errors silently.
9349 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9351 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9353 * vc/vc.el (vc-ignore): Rewrite.
9354 (vc-default-ignore): New function.
9355 (vc-default-ignore-completion-table): Use find-ignore-file.
9357 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9358 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9359 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9360 Remove. Most code moved to vc.el.
9362 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9364 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9365 * net/tramp-smb.el (tramp-smb-get-file-entries):
9366 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9367 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9369 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9371 (eww-change-select): Remove unused var `properties'.
9372 (eww-make-unique-file-name): Remove unused var `base'.
9374 * finder.el (finder-compile-keywords): Don't mess with windows.
9376 * calculator.el (calculator-funcall): Fix typo in last change.
9378 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9380 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9381 <pkg>-autoloads.el file stop us.
9383 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9384 warnings, and factor out common code.
9386 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9388 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9389 two-character operators and whether the character preceding them
9390 changes their meaning (Bug#15208).
9392 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9394 Format code sent to Python shell for robustness.
9395 * progmodes/python.el (python-shell-buffer-substring):
9397 (python-shell-send-region, python-shell-send-buffer): Use it.
9399 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9401 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9402 * net/tramp.el (tramp-user-error): ... here.
9403 (tramp-find-method, tramp-check-proper-host)
9404 (tramp-dissect-file-name, tramp-debug-message)
9405 (tramp-handle-shell-command):
9406 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9407 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9409 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9411 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9413 * avoid.el (mouse-avoidance-point-position)
9414 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9417 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9419 * progmodes/python.el (python-shell-completion-get-completions):
9420 Drop use of deleted `comint-last-prompt-overlay'.
9421 (python-nav-if-name-main): New command.
9423 2013-09-01 Glenn Morris <rgm@gnu.org>
9425 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9426 Avoid leading space in $wins. Otherwise the sed command used by
9427 eg compile-main ends up containing "/*.el". (Bug#15170)
9429 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9431 2013-08-30 Glenn Morris <rgm@gnu.org>
9433 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9434 Fix is-this-a-directory logic. (Bug#15220)
9436 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * textmodes/css-mode.el: Use SMIE.
9439 (css-smie-grammar): New var.
9440 (css-smie--forward-token, css-smie--backward-token)
9441 (css-smie-rules): New functions.
9442 (css-mode): Use them.
9443 (css-navigation-syntax-table): Remove var.
9444 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9445 (css-indent-calculate, css-indent-line): Remove functions.
9447 Misc changes to reduce use of `(lambda...); and other cleanups.
9448 * cus-edit.el: Use lexical-binding.
9449 (customize-push-and-save, customize-apropos)
9450 (custom-buffer-create-internal): Use closures.
9451 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9452 * progmodes/ada-xref.el: Use setq.
9453 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9454 * dframe.el: Use lexical-binding.
9455 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9456 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9457 * descr-text.el: Use lexical-binding.
9458 (describe-text-widget, describe-text-sexp, describe-property-list):
9460 * comint.el (comint-history-isearch-push-state): Use a closure.
9461 * calculator.el: Use lexical-binding.
9462 (calculator-number-to-string): Make it work with lexical-binding.
9463 (calculator-funcall): Same and use cl-letf.
9465 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9466 (lisp--company-doc-string, lisp--company-location): New functions.
9467 (lisp-completion-at-point): Use them to improve Company support.
9469 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9470 params of lambda expressions.
9471 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9472 (ruby-smie--opening-pipe-p): New function.
9473 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9474 symbols and matched |...| for formal params.
9475 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9476 from being treated as hanging. Handle "rescue".
9478 2013-08-29 Glenn Morris <rgm@gnu.org>
9480 * progmodes/cc-engine.el (c-pull-open-brace):
9481 Move definition before use.
9483 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9486 are immutable. Don't use `unsafe' any more.
9487 (cl--defsubst-expand): Don't substitute at the same time as keeping
9488 a residual unused let-binding. Don't use `unsafe' any more.
9490 2013-08-29 Glenn Morris <rgm@gnu.org>
9492 * calendar/cal-china.el (calendar-chinese-year-cache):
9495 * nxml/nxml-util.el (nxml-debug-clear-inside):
9496 Use cl-loop rather than loop.
9498 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9500 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9502 2013-08-28 Glenn Morris <rgm@gnu.org>
9504 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9506 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9508 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9510 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9512 * simple.el (repeat-complex-command--called-interactively-skip):
9514 (repeat-complex-command): Use it (bug#14136).
9516 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9517 (c-define-abbrev-table): Add `doc' argument.
9518 (c-mode-abbrev-table, c++-mode-abbrev-table)
9519 (objc-mode-abbrev-table, java-mode-abbrev-table)
9520 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9521 (awk-mode-abbrev-table): Use it.
9522 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9523 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9524 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9525 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9526 Move initialization into the declaration; and remove any
9529 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9530 and dynamic let binding.
9532 * vc/smerge-mode.el: Remove redundant :group args.
9534 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9537 2013-08-28 Juri Linkov <juri@jurta.org>
9539 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9540 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9541 (isearch-other-meta-char): Handle an undefined shifted printing
9542 character by downshifting it. (Bug#15200)
9544 2013-08-28 Juri Linkov <juri@jurta.org>
9546 * isearch.el (isearch-search): Change regexp error message for
9547 non-regexp searches. (Bug#15166)
9549 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9551 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9552 for portability to hosts where /bin/sh has problems.
9554 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9556 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9558 2013-08-27 Juri Linkov <juri@jurta.org>
9560 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9561 in the keyboard macro. (Bug#15126)
9563 2013-08-27 Juri Linkov <juri@jurta.org>
9565 * isearch.el (isearch-quote-char): Comment out converting unibyte
9566 to multibyte, thus syncing with its `quoted-insert' counterpart.
9569 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9571 * window.el (display-buffer-use-some-window): Add missing
9572 argument in call of get-largest-window (Bug#15185).
9573 Reported by Stephen Leake.
9575 2013-08-27 Glenn Morris <rgm@gnu.org>
9577 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9579 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9581 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9582 from a matcher-function unless there's no more matches (bug#15161).
9584 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9586 * minibuffer.el: Revert change from 2013-08-20.
9588 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9589 with text property `tramp-default', if appropriate.
9590 (tramp-check-proper-host): New defun.
9591 (tramp-dissect-file-name): Do not check hostname. Revert change
9593 (tramp-backtrace): Make VEC-OR-PROC optional.
9595 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9596 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9597 * net/tramp-sh.el (tramp-maybe-open-connection):
9598 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9599 Apply `tramp-check-proper-host'.
9601 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9603 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9604 lambda expression in order to have `describe-variable' display it.
9606 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9608 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9609 BUF can be optional. (Bug#15186)
9611 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9613 * progmodes/flymake.el (flymake-get-real-file-name-function):
9614 Fix broken customization. (Bug#15184)
9616 2013-08-25 Alan Mackenzie <acm@muc.de>
9618 Improve indentation of bracelists defined by macros (without "=").
9620 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9621 expansion begins with "{", regard it as bracelist when it doesn't
9624 Parse C++ inher-intro when there's a template split over 2 lines.
9626 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9627 rigorously the search for "class" etc. followed by ":".
9629 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9630 random languages a regexp which never matches rather than nil.
9632 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9634 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9635 (c-awk-regexp-one-line-possibly-open-char-list-re)
9636 (c-awk-one-line-possibly-open-regexp-re)
9637 (c-awk-one-line-non-syn-ws*-re): Remove.
9638 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9639 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9640 (c-awk-space*-unclosed-regexp-/-re): New constants.
9641 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9642 aren't regexp delimiters.
9644 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9645 handling for a rare situation in AWK Mode involving unterminated
9648 2013-08-23 Glenn Morris <rgm@gnu.org>
9650 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9652 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9654 * files.el (create-file-buffer): If the result would begin with
9655 spaces, prepend a "|" instead of removing them. (Bug#15162)
9657 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9659 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9660 text-properties (bug#15155).
9662 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9664 (calc-keypad-redraw): Remove unused var `pad'.
9665 (calc-keypad-press): Remove unused var `menu'.
9667 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9669 * window.el (display-buffer-pop-up-frame):
9670 Call pop-up-frame-function with BUFFER current so `make-frame' will
9671 use it as the new frame's buffer (Bug#15133).
9673 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9675 * calendar/timeclock.el: Minor cleanups.
9676 (timeclock-ask-before-exiting, timeclock-use-display-time):
9678 (timeclock-modeline-display): Define as alias before the
9680 (timeclock-mode-line-display): Use define-minor-mode.
9681 (timeclock-day-list-template): Make it a function, add an argument.
9682 (timeclock-day-list-required, timeclock-day-list-length)
9683 (timeclock-day-list-debt, timeclock-day-list-span)
9684 (timeclock-day-list-break): Adjust calls accordingly.
9686 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9688 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9689 Use read--expression so that completion works again.
9691 2013-08-21 Sam Steingold <sds@gnu.org>
9693 Add rudimentary inferior shell interaction
9694 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9695 (sh-set-shell): Reset it.
9696 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9697 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9699 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9701 * align.el: Use lexical-binding.
9702 (align-region): Simplify accordingly.
9704 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9706 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9708 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9711 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9715 * net/tramp-cmds.el:
9717 * net/tramp-gvfs.el:
9719 * net/tramp-sh.el: Don't wrap external variable declarations by
9720 `eval-when-compile'.
9722 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9724 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9725 now that Emacs supports ImageMagick animations.
9727 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9729 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9730 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9732 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9734 * window.el (mouse-autoselect-window-select): Do autoselect when
9735 mouse pointer is on margin.
9737 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9739 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9741 2013-08-16 Glenn Morris <rgm@gnu.org>
9743 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9744 Handle "Remote Directory" response of some clients. (Bug#15058)
9746 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9747 Tweak warning. (Bug#14926)
9749 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9750 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9752 * image-mode.el (image-mode-map): Add menu items to reverse,
9753 increase, decrease, reset animation speed.
9754 (image--set-speed, image-increase-speed, image-decrease-speed)
9755 (image-reverse-speed, image-reset-speed): New functions.
9756 (image-mode-map): Add bindings for speed commands.
9758 * image.el (image-animate-get-speed, image-animate-set-speed):
9760 (image-animate-timeout): Respect image :speed property.
9762 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9765 previous line (bug#15101).
9766 (debugger-eval-expression, debugger-record-expression):
9767 Use read--expression (bug#15102).
9769 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9771 Remove byte compiler warnings, visible when compiling with
9772 `byte-compile-force-lexical-warnings' set to t.
9774 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9775 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9776 (tramp-handle-unhandled-file-name-directory)
9777 (tramp-handle-file-notify-add-watch, tramp-action-login)
9778 (tramp-action-succeed, tramp-action-permission-denied)
9779 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9782 * net/tramp-adb.el (tramp-adb-parse-device-names)
9783 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9784 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9785 (tramp-adb-handle-file-truename): Remove unused arguments.
9787 * net/tramp-cache.el (tramp-flush-directory-property)
9788 (tramp-flush-connection-property, tramp-list-connections)
9789 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9791 * net/tramp-compat.el (tramp-compat-make-temp-file):
9792 Rename FILENAME to F.
9794 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9795 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9796 (tramp-zeroconf-parse-workstation-device-names)
9797 (tramp-zeroconf-parse-webdav-device-names)
9798 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9800 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9801 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9803 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9805 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9806 (tramp-sh-handle-insert-file-contents-literally)
9807 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9809 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9810 Remove unused variables.
9812 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9813 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9814 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9816 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9817 Make them a defconst.
9818 (tramp-uuencode-region): Remove unused variable.
9820 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9822 * frameset.el (frameset--prop-setter): New function.
9823 (frameset-prop): Add gv-setter declaration.
9824 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9825 parameter was already set in FILTERED. Doc fix.
9826 (frameset--record-minibuffer-relationships): Allow saving a
9827 minibufferless frame without its corresponding minibuffer frame.
9828 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9829 frame, if the frame id matches.
9830 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9831 frames before orphaned ones.
9832 (frameset-restore): Warn about orphaned windows, instead of error out.
9834 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9836 * window.el (window-make-atom): Don't overwrite parameter
9838 (display-buffer-in-atom-window): Handle special case where we
9839 split an already atomic window.
9840 (window--major-non-side-window, display-buffer-in-side-window)
9841 (window--side-check): Ignore minibuffer window when walking
9843 (window-deletable-p): Return 'frame only if no other frame uses
9844 our minibuffer window.
9845 (record-window-buffer): Run buffer-list-update-hook.
9846 (split-window): Make sure window--check-frame won't destroy an
9847 existing atomic window in case the new window gets nested
9849 (display-buffer-at-bottom): Ignore minibuffer window when
9850 walking window tree. Don't split a side window.
9851 (pop-to-buffer): Don't set-buffer here, the select-window call
9853 (mouse-autoselect-window-select): Autoselect only if we are in the
9854 text portion of the window.
9856 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9858 * net/shr.el (shr-parse-image-data): New function to grab both the
9859 data itself and the Content-Type.
9860 (shr-put-image): Use it.
9862 * net/eww.el (eww-display-image): Ditto.
9864 * image.el (image-content-type-suffixes): New variable.
9866 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9868 * progmodes/python.el (python-imenu--build-tree)
9869 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9871 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9873 * simple.el (backward-word): Mention the optional argument.
9875 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9877 * frameset.el (frameset--make): Rename constructor from make-frameset.
9878 (frameset-p, frameset-valid-p): Don't autoload.
9879 (frameset-valid-p): Use normal accessors.
9881 2013-08-13 Glenn Morris <rgm@gnu.org>
9883 * progmodes/compile.el (compile-command): Tweak example in doc.
9884 * obsolete/scribe.el (scribe-mode):
9885 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9887 * mail/feedmail.el (feedmail-confirm-outgoing)
9888 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9890 * cus-start.el (truncate-partial-width-windows): Fix type.
9892 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9894 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9896 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9898 * emacs-lisp/timer.el (timer--time-setter): New function.
9899 (timer--time): Use it as gv-setter.
9901 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9902 setter is not a symbol.
9904 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9906 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9907 if sending fails. This makes debugging easier.
9909 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9911 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9912 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9913 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9915 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9917 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9919 2013-08-12 Glenn Morris <rgm@gnu.org>
9921 * format.el (format-annotate-function):
9922 Handle read-only text properties in the source. (Bug#14887)
9924 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9926 * net/eww.el (eww-display-html): Ignore coding system errors.
9927 One web site uses "utf-8lias" as the coding system.
9929 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9931 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9933 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9935 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9936 (tutorial--detailed-help): Remove unused local variables.
9937 (tutorial--save-tutorial-to): Use ignore-errors.
9938 (help-with-tutorial): Use looking-at-p.
9940 * view.el (view-buffer-other-window, view-buffer-other-frame):
9941 Mark unused arguments.
9943 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9944 (woman-select-symbol-fonts, woman, woman-find-file)
9945 (woman-insert-file-contents, woman-non-underline-faces):
9947 (woman1-unquote): Move declaration.
9949 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9950 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9951 argument. Remove unused local variable.
9952 (xml-parse-elem-type): Use string-match-p.
9953 (xml-substitute-numeric-entities): Use ignore-errors.
9955 * calculator.el (calculator): Mark unused argument.
9956 (calculator-paste, calculator-quit, calculator-integer-p):
9958 (calculator-string-to-number, calculator-decimal, calculator-exp)
9959 (calculator-op-or-exp): Use string-match-p.
9961 * dired.el (dired-buffer-more-recently-used-p): Declare.
9962 (dired-insert-set-properties, dired-insert-old-subdirs):
9965 * dired-aux.el (dired-compress): Use ignore-errors.
9966 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9967 (dired-do-async-shell-command, dired-do-shell-command)
9968 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9969 (dired-insert-subdir-validate): Use string-match-p.
9970 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9971 (dired-add-entry): Use string-match-p, looking-at-p.
9972 (dired-insert-subdir-newpos): Remove unused local variable.
9974 * filenotify.el (file-notify-callback): Remove unused local variable.
9976 * filesets.el (filesets-error): Mark unused argument.
9977 (filesets-which-command-p, filesets-filter-dir-names)
9978 (filesets-directory-files, filesets-get-external-viewer)
9979 (filesets-ingroup-get-data): Use string-match-p.
9981 * find-file.el (ff-other-file-name, ff-other-file-name)
9982 (ff-find-the-other-file, ff-cc-hh-converter):
9983 Remove unused local variables.
9984 (ff-get-file-name): Use string-match-p.
9985 (ff-all-dirs-under): Use ignore-errors.
9987 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9988 (follow-select-if-visible): Remove unused local variable.
9990 * forms.el (read-file-filter): Move declaration.
9991 (forms--make-format, forms--make-parser, forms-insert-record):
9992 Quote function with #'.
9993 (forms--update): Use string-match-p. Quote function with #'.
9995 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9996 (help-make-xrefs): Use looking-at-p.
9997 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9999 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10000 (ibuffer-confirm-operation-on): Use string-match-p.
10002 * msb.el (msb-item-handler, msb-dired-item-handler):
10003 Mark unused arguments.
10005 * ses.el (ses-decode-cell-symbol)
10006 (ses-kill-override): Remove unused local variable.
10007 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10008 (ses-load): Use ignore-errors, looking-at-p.
10009 (ses-jump-safe): Use ignore-errors.
10010 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10012 * tabify.el (untabify, tabify): Mark unused arguments.
10014 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10015 Mark unused argument.
10016 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10017 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10019 * emacs-lisp/timer.el (timer--time): Define setter with
10020 gv-define-setter to avoid deprecation warning.
10022 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10023 (*record-cmpl-statistics-p*): Remove (was commented out).
10024 (cmpl-statistics-block): Remove (body was commented out).
10025 All callers changed.
10026 (add-completions-from-buffer, load-completions-from-file):
10027 Remove unused variables.
10029 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10031 * filecache.el (file-cache-delete-file-list):
10032 Print message only when told so.
10033 (file-cache-files-matching): Use #' in mapconcat argument.
10035 * ffap.el (ffap-url-at-point): Fix reference to variable
10036 thing-at-point-default-mail-uri-scheme.
10038 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10040 * subr.el (define-error): New function.
10041 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10042 error-file-not-found and define with define-error.
10043 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10044 and define with define-error.
10045 * userlock.el (file-locked, file-supersession):
10046 * simple.el (mark-inactive):
10047 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10048 * progmodes/ada-mode.el (ada-mode-errors):
10049 * play/life.el (life-extinct):
10050 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10051 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10052 * nxml/rng-util.el (rng-error):
10053 * nxml/rng-uri.el (rng-uri-error):
10054 * nxml/rng-match.el (rng-compile-error):
10055 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10056 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10057 * nxml/nxml-rap.el (nxml-scan-error):
10058 * nxml/nxml-outln.el (nxml-outline-error):
10059 * net/soap-client.el (soap-error):
10060 * net/gnutls.el (gnutls-error):
10061 * net/ange-ftp.el (ftp-error):
10062 * mpc.el (mpc-proc-error):
10063 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10064 (json-number-format, json-string-escape, json-string-format)
10065 (json-key-format, json-object-format):
10066 * jka-compr.el (compression-error):
10067 * international/quail.el (quail-error):
10068 * international/kkc.el (kkc-error):
10069 * emacs-lisp/ert.el (ert-test-failed):
10070 * calc/calc.el (calc-error, inexact-result, math-overflow)
10072 * bookmark.el (bookmark-error-no-filename):
10073 * epg.el (epg-error): Define with define-error.
10075 * time.el (display-time-event-handler)
10076 (display-time-next-load-average): Don't call sit-for since it seems
10077 unnecessary (bug#15045).
10079 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10080 Use #' instead of ' to quote functions.
10081 (checkdoc-output-mode): Use setq-local.
10082 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10083 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10084 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10085 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10086 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10087 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10088 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10089 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10091 * ido.el (ido-completion-help): Fix up compiler warning.
10093 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10095 * frameset.el (frameset-p): Add autoload cookie.
10096 (frameset--jump-to-register): New function, based on code moved from
10098 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10100 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10101 (frameset-restore, frameset-save, frameset-session-filter-alist):
10102 Remove declarations.
10103 (register-alist): Doc fix.
10104 (frameset-to-register): Move to frameset.el.
10105 (jump-to-register, describe-register-1): Remove frameset-specific code.
10107 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10109 * allout-widgets.el (allout-widgets-pre-command-business)
10110 (allout-widgets-post-command-business)
10111 (allout-widgets-after-change-handler)
10112 (allout-decorate-item-and-context, allout-set-boundary-marker)
10113 (allout-body-modification-handler)
10114 (allout-graphics-modification-handler): Mark ignored arguments.
10115 (allout-widgets-post-command-business)
10116 (allout-widgets-exposure-change-processor)
10117 (allout-widgets-exposure-undo-processor)
10118 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10119 (allout-parse-item-at-point, allout-decorate-item-guides)
10120 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10121 * allout.el (epa-passphrase-callback-function): Declare.
10122 (allout-overlay-insert-in-front-handler)
10123 (allout-overlay-interior-modification-handler)
10124 (allout-isearch-end-handler, allout-chart-siblings)
10125 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10126 (allout-yank-processing, allout-process-exposed)
10127 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10128 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10129 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10130 (lisp-indent-defform): Mark ignored arguments.
10131 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10132 (calculate-lisp-indent): Remove unused variables.
10133 * international/characters.el (indian-2-column, arabic-2-column)
10134 (tibetan): Mark ignored arguments.
10135 (use-cjk-char-width-table): Mark ignored arguments.
10136 Remove unused variables.
10137 * international/fontset.el (build-default-fontset-data)
10138 (x-compose-font-name, create-fontset-from-fontset-spec):
10139 Mark ignored arguments.
10140 (fontset-plain-name): Remove unused variables.
10141 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10142 (keyboard-coding-system): Mark ignored arguments.
10143 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10144 * help.el (resize-temp-buffer-window):
10145 * window.el (display-buffer-in-major-side-window)
10146 (display-buffer-in-side-window, display-buffer-in-previous-window):
10147 Remove unused variables.
10148 * isearch.el (isearch-forward-symbol):
10149 * version.el (emacs-bzr-version-bzr):
10150 * international/mule-cmds.el (current-language-environment):
10151 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10152 (x-handle-display):
10153 * term/pc-win.el (x-list-fonts, x-display-planes)
10154 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10155 (x-server-version, x-display-screens, x-display-mm-height)
10156 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10157 (x-selection-owner-p, x-own-selection-internal)
10158 (x-disown-selection-internal, x-get-selection-internal)
10159 (msdos-initialize-window-system):
10160 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10161 * term/x-win.el (x-handle-no-bitmap-icon):
10162 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10163 (vc-default-find-file-hook, vc-default-extra-menu):
10164 Mark ignored arguments.
10166 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10168 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10169 break-condition in the context of the debugged code (bug#12685).
10171 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10174 Do not use an overlay to highlight the last prompt. (Bug#14744)
10175 (comint-mode): Make comint-last-prompt buffer local.
10176 (comint-last-prompt): New variable.
10177 (comint-last-prompt-overlay): Remove. Superseded by
10178 comint-last-prompt.
10179 (comint-snapshot-last-prompt, comint-output-filter):
10180 Use comint-last-prompt.
10182 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10184 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10185 (frameset-save): Check validity of the resulting frameset.
10187 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10189 * ido.el (ido-record-command): Add doc string.
10191 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10193 * frameset.el (frameset): Do not disable creation of the default
10194 frameset-p predicate. Doc fix.
10195 (frameset-valid-p): New function, copied from the old predicate-p.
10196 Add additional checks.
10197 (frameset-restore): Check with frameset-valid-p.
10198 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10199 (frameset-name, frameset-description, frameset-properties)
10200 (frameset-states): Add docstring.
10201 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10202 (frameset-filter-alist): Doc fixes.
10204 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10206 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10208 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10210 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10211 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10212 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10213 (byte-compile-normal-call): Remove obsolescence check.
10215 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10217 * frameset.el (frameset-restore): Doc fix.
10219 * register.el (frameset-frame-id, frameset-frame-with-id)
10220 (frameset-p, frameset-restore, frameset-save): Declare.
10221 (register-alist): Document framesets.
10222 (frameset-session-filter-alist): Declare.
10223 (frameset-to-register): New function.
10224 (jump-to-register): Implement jumping to framesets. Doc fix.
10225 (describe-register-1): Describe framesets.
10227 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10229 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10231 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10232 Use lexical-binding.
10234 * frameset.el (frameset): Use type vector, not list (incompatible
10235 change). Do not declare a new constructor, use the default one.
10236 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10237 `name' and `description', respectively, and add read-only slot
10238 `timestamp'. Doc fixes.
10239 (frameset-copy, frameset-persistent-filter-alist)
10240 (frameset-filter-alist, frameset-switch-to-gui-p)
10241 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10242 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10243 (frameset-filter-iconified, frameset-keep-original-display-p):
10245 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10246 Rename from frameset-filter-(save|restore)-param. All callers changed.
10248 (frameset-p): Adapt to change to vector and be more thorough.
10249 Change arg name to OBJECT. Doc fix.
10250 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10251 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10252 All callers changed.
10253 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10254 All callers changed.
10255 (frameset--record-minibuffer-relationships): Rename from
10256 frameset--process-minibuffer-frames. All callers changed.
10257 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10258 Use new default constructor (again). Doc fix.
10259 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10260 All callers changed.
10261 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10262 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10264 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10265 PARAMETERS and WINDOW-STATE, respectively.
10266 (frameset-restore): Add new keyword argument PREDICATE.
10267 Reset frameset--target-display to nil. Doc fix.
10269 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10272 (bat-mode): Use it.
10273 (bat-mode-syntax-table): Mark \n as end-of-comment.
10274 (bat-font-lock-keywords): Remove comment rule.
10276 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10277 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10279 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10280 (byte-compile-callargs-warn): Use `push'.
10281 (byte-compile-arglist-warn): Ignore higher-order "calls".
10282 (byte-compile-file-form-autoload): Use `pcase'.
10283 (byte-compile-function-form): If quoting a symbol, check that it exists.
10285 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10287 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10288 and add a few popular commands found in batch files.
10289 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10290 (dos-mode): Doc fixes.
10292 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10294 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10295 (dos-mode): Use setq-local. Add space after "rem".
10296 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10297 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10299 2013-08-07 Arni Magnusson <arnima@hafro.is>
10301 * progmodes/dos.el: New file.
10302 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10305 2013-08-06 Glenn Morris <rgm@gnu.org>
10307 * calendar/calendar.el: Add new faces, and day-header-array.
10308 (calendar-weekday-header, calendar-weekend-header)
10309 (calendar-month-header): New faces.
10310 (calendar-day-header-construct): New function.
10311 (calendar-day-header-width): Also :set calendar-day-header-array.
10312 (calendar-american-month-header, calendar-european-month-header)
10313 (calendar-iso-month-header): Use calendar- faces.
10314 (calendar-generate-month):
10315 Use calendar-day-header-array for day headers; apply faces to them.
10316 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10317 (calendar-abbrev-construct): Add optional maxlen argument.
10318 (calendar-day-name-array): Doc fix.
10319 (calendar-day-name-array, calendar-abbrev-length)
10320 (calendar-day-abbrev-array):
10321 Also :set calendar-day-header-array, and maybe redraw.
10322 (calendar-day-header-array): New option. (Bug#15007)
10323 (calendar-font-lock-keywords): Set to nil and make obsolete.
10324 (calendar-day-name): Add option to use header array.
10326 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10328 * net/shr.el (shr-render-td): Remove debugging.
10329 (shr-render-td): Make width computation consistent by defaulting
10330 all zero-width columns to 10 characters. This may not be optimal,
10331 but it's at least consistent.
10332 (shr-make-table-1): Redo last change to fix the real problem in
10335 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10337 * files.el (cache-long-line-scans):
10338 Make obsolete alias to `cache-long-scans'.
10340 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10342 * frameset.el (frameset, frameset-filter-alist)
10343 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10344 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10345 (frameset-compute-pos): Rename from frameset--compute-pos,
10347 (frameset-move-onscreen): Use frameset-compute-pos.
10348 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10350 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10351 Fix typos in docstrings.
10353 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10355 * frame.el (get-other-frame): Tiny cleanup.
10357 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10359 * vc/vc.el (vc-default-ignore-completion-table):
10360 Silence byte-compiler warning.
10362 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10363 slot, which can indeed be nil.
10364 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10365 Move entry for `left' from persistent to live filter alist.
10366 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10368 (frameset-filter-params): When restoring a frame, copy items added to
10369 `filtered', to avoid unwittingly modifying the original parameters.
10370 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10371 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10373 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10374 to use looking-at-p instead of looking-at. (Bug#15028)
10376 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10378 Revert introduction of isearch-filter-predicates (bug#14714).
10379 Rely on add-function instead.
10380 * isearch.el (isearch-filter-predicates): Rename it back to
10381 isearch-filter-predicate.
10382 (isearch-message-prefix): Use advice-function-mapc and advice
10383 properties to get the isearch-message-prefix.
10384 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10385 instead of run-hook-with-args-until-failure.
10386 (isearch-filter-visible): Not obsolete any more.
10387 * loadup.el: Preload nadvice.
10388 * replace.el (perform-replace): Revert to funcall
10389 instead of run-hook-with-args-until-failure.
10390 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10391 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10392 dired-isearch-filenames-toggle; make it into a proper minor mode.
10393 Use add/remove-function.
10394 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10395 Call the minor-mode rather than add/remove-hook.
10396 (dired-isearch-filter-filenames):
10397 Remove isearch-message-prefix property.
10398 * info.el (Info--search-loop): New function, extracted from Info-search.
10399 Funcall isearch-filter-predicate instead of
10400 run-hook-with-args-until-failure isearch-filter-predicates.
10401 (Info-search): Use it.
10402 (Info-mode): Use isearch-filter-predicate instead of
10403 isearch-filter-predicates.
10405 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10407 Do not call to `selected-window' where it is assumed by default.
10408 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10409 `window-hscroll', `window-width', `window-height', `window-buffer',
10410 `window-frame', `window-start', `window-point', `next-window'
10411 and `window-display-table'.
10412 * abbrev.el (abbrev--default-expand):
10413 * bs.el (bs--show-with-configuration):
10414 * buff-menu.el (Buffer-menu-mouse-select):
10415 * calc/calc.el (calc):
10416 * calendar/calendar.el (calendar-generate-window):
10417 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10418 (diary-make-entry):
10419 * comint.el (send-invisible, comint-dynamic-complete-filename)
10420 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10421 * completion.el (complete):
10422 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10423 * disp-table.el (describe-current-display-table):
10424 * doc-view.el (doc-view-insert-image):
10425 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10426 * ehelp.el (with-electric-help):
10427 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10428 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10429 * emacs-lisp/helper.el (Helper-help-scroller):
10430 * emulation/cua-base.el (cua--post-command-handler-1):
10431 * eshell/esh-mode.el (eshell-output-filter):
10432 * ffap.el (ffap-gnus-wrapper):
10433 * help-macro.el (make-help-screen):
10434 * hilit-chg.el (highlight-compare-buffers):
10435 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10436 * hl-line.el (global-hl-line-highlight):
10437 * icomplete.el (icomplete-simple-completing-p):
10438 * isearch.el (isearch-done):
10439 * jit-lock.el (jit-lock-stealth-fontify):
10440 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10441 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10442 * mpc.el (mpc-tagbrowser, mpc):
10443 * net/rcirc.el (rcirc-any-buffer):
10444 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10445 * play/landmark.el (landmark-max-width, landmark-max-height):
10446 * play/zone.el (zone):
10447 * progmodes/compile.el (compilation-goto-locus):
10448 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10449 * progmodes/etags.el (find-tag-other-window):
10450 * progmodes/fortran.el (fortran-column-ruler):
10451 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10452 * progmodes/verilog-mode.el (verilog-point-text):
10453 * reposition.el (reposition-window):
10454 * rot13.el (toggle-rot13-mode):
10455 * server.el (server-switch-buffer):
10456 * shell.el (shell-dynamic-complete-command)
10457 (shell-dynamic-complete-environment-variable):
10458 * simple.el (insert-buffer, set-selective-display)
10459 (delete-completion-window):
10460 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10461 (speedbar-recenter):
10462 * startup.el (fancy-splash-head):
10463 * textmodes/ispell.el (ispell-command-loop):
10464 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10465 * tutorial.el (help-with-tutorial):
10466 * vc/add-log.el (add-change-log-entry):
10467 * vc/compare-w.el (compare-windows):
10468 * vc/ediff-help.el (ediff-indent-help-message):
10469 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10470 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10471 (ediff-setup-control-frame):
10472 * vc/emerge.el (emerge-position-region):
10473 * vc/pcvs-util.el (cvs-bury-buffer):
10474 * window.el (walk-windows, mouse-autoselect-window-select):
10475 * winner.el (winner-set-conf, winner-undo): Related users changed.
10477 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10479 * frameset.el (frameset--set-id): Doc fix.
10480 (frameset-frame-id, frameset-frame-id-equal-p)
10481 (frameset-locate-frame-id): New functions.
10482 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10483 (frameset-restore): Use them.
10485 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10487 Do not call to `selected-frame' where it is assumed by default.
10488 Affected functions are `raise-frame', `redraw-frame',
10489 `frame-first-window', `frame-terminal' and `delete-frame'.
10490 * calendar/appt.el (appt-disp-window):
10491 * epg.el (epg-wait-for-completion):
10492 * follow.el (follow-delete-other-windows-and-split)
10493 (follow-avoid-tail-recenter):
10494 * international/mule.el (set-terminal-coding-system):
10495 * mail/rmail.el (rmail-mail-return):
10496 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10497 * progmodes/f90.el (f90-add-imenu-menu):
10498 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10499 * server.el (server-switch-buffer):
10500 * simple.el (delete-completion-window):
10502 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10503 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10504 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10505 * vc/ediff.el (ediff-documentation): Related users changed.
10506 * frame.el (selected-terminal): Remove the leftover.
10508 2013-08-05 Glenn Morris <rgm@gnu.org>
10510 * calendar/calendar.el (calendar-generate-month):
10511 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10512 (calendar-generate-month, calendar-font-lock-keywords):
10513 Fix for calendar-day-header-width > length of any day name.
10515 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10517 * desktop.el (desktop-clear): Use new name of sort predicate.
10519 * frameset.el (frameset): Add docstring. Move :version property to its
10520 own `version' slot.
10521 (frameset-copy): Rename from copy-frameset.
10522 (frameset-p): Check more thoroughly.
10523 (frameset-prop): Do not check for :version, which is no longer a prop.
10524 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10525 Use new :never value instead of t.
10526 (frameset-filter-alist): Expand and clarify docstring.
10527 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10528 (frameset-filter-minibuffer, frameset-filter-save-param)
10529 (frameset-filter-restore-param, frameset-filter-iconified):
10530 Add pointer to docstring of frameset-filter-alist.
10531 (frameset-filter-params): Rename filter values to be more meaningful:
10532 :never instead of t, and reverse the meanings of :save and :restore.
10533 (frameset--process-minibuffer-frames): Clarify error message.
10534 (frameset-save): Avoid unnecessary and confusing call to framep.
10535 Use new BOA constructor for framesets.
10536 (frameset--reuse-list): Doc fix.
10537 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10538 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10539 (frameset-minibufferless-first-p): Doc fix.
10540 Rename from frameset-sort-frames-for-deletion.
10541 (frameset-restore): Doc fixes. Use new function names.
10542 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10544 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10546 * desktop.el (desktop-restore-forces-onscreen)
10547 (desktop-restore-reuses-frames): Document :keyword constant values.
10548 (desktop-filter-parameters-alist): Remove, now identical to
10549 frameset-filter-alist.
10550 (desktop--filter-tty*): Remove, moved to frameset.el.
10551 (desktop-save-frameset, desktop-restore-frameset):
10552 Do not pass :filters argument.
10554 * frameset.el (frameset-live-filter-alist)
10555 (frameset-persistent-filter-alist): New variables.
10556 (frameset-filter-alist): Use them. Add autoload cookie.
10557 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10558 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10559 `frameset--id' (it's supposed to be internal to frameset.el).
10560 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10561 (frameset--initial-params): New function.
10562 (frameset--get-frame): Use it. Doc fix.
10563 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10564 Accept :all, not 'all.
10565 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10566 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10567 with fbound symbols. Fix frame id matching, and remove matching ids if
10568 the frame being restored is deleted. Obey :delete.
10570 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10572 * subr.el (macrop): New function.
10573 (text-clone--maintaining): New var.
10574 (text-clone--maintain): Rename from text-clone-maintain. Use it
10575 instead of inhibit-modification-hooks.
10577 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10578 a proxy, so as handle autoloads and redefinitions of the target.
10579 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10581 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10582 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10583 (pcase--mutually-exclusive-p): New function.
10584 (pcase--split-consp): Use it.
10585 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10586 mutually exclusive with the current predicate.
10588 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10589 (edebug-macrop): Remove. Use `macrop' instead.
10590 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10592 * eshell/esh-cmd.el (eshell-macrop):
10593 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10595 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10597 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10598 (advice-mapc): New function, using it.
10599 (advice-function-member-p): New function.
10600 (advice--normalize): Store the cdr in advice--saved-rewrite since
10601 that's the part that will be changed.
10602 (advice--symbol-function): New function.
10603 (advice-remove): Handle removal before the function is defined.
10604 Adjust to new advice--saved-rewrite.
10605 (advice-member-p): Use advice-function-member-p and
10606 advice--symbol-function.
10608 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10610 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10611 (frameset-filter-minibuffer): Doc fix.
10612 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10613 (frameset--set-id, frameset--process-minibuffer-frames)
10614 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10615 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10617 * desktop.el (desktop-clear): Only delete frames when called
10618 interactively and desktop-restore-frames is non-nil. Doc fix.
10619 (desktop-read): Set desktop-saved-frameset to nil.
10621 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10623 * vc/vc.el (vc-ignore): Rewrite.
10624 (vc-default-ignore-completion-table, vc--read-lines)
10625 (vc--add-line, vc--remove-regexp): New functions.
10627 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10628 (vc-svn-ignore-completion-table): New function.
10630 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10631 (vc-hg-ignore-completion-table)
10632 (vc-hg-find-ignore-file): New functions.
10634 * vc/vc-git.el (vc-git-ignore): Rewrite.
10635 (vc-git-ignore-completion-table)
10636 (vc-git-find-ignore-file): New functions.
10638 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10640 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10641 (vc-bzr-ignore-completion-table)
10642 (vc-bzr-find-ignore-file): New functions.
10644 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10646 * frameset.el (frameset-prop): New function and setter.
10647 (frameset-save): Do not modify frame list passed by the caller.
10649 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10651 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10653 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10655 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10656 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10658 * custom.el (custom-initialize-default, custom-initialize-set)
10659 (custom-initialize-reset, custom-initialize-changed): Affect the
10660 toplevel-default-value (bug#6275, bug#14586).
10661 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10664 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10666 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10667 Add cl-def* expressions.
10669 * frameset.el (frameset-filter-params): Fix order of arguments.
10671 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10673 Move code related to saving frames to frameset.el.
10674 * desktop.el: Require frameset.
10675 (desktop-restore-frames): Doc fix.
10676 (desktop-restore-reuses-frames): Rename from
10677 desktop-restoring-reuses-frames.
10678 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10679 (desktop-clear): Clear frames too.
10680 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10681 (desktop--filter-tty*, desktop-save, desktop-read):
10682 Use frameset functions.
10683 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10684 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10685 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10686 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10687 (desktop--process-minibuffer-frames, desktop-save-frames)
10688 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10689 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10690 (desktop--sort-states, desktop-restoring-frames-p)
10691 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10692 (desktop-restoring-frameset-p, desktop-restore-frameset)
10693 (desktop--check-dont-save, desktop-save-frameset): New functions.
10694 (desktop--app-id): New constant.
10695 (desktop-first-buffer, desktop-buffer-ok-count)
10696 (desktop-buffer-fail-count): Move before first use.
10697 * frameset.el: New file.
10699 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10701 * files.el: Use lexical-binding.
10702 (dir-locals-read-from-file): Remove unused `err' variable.
10703 (hack-dir-local-variables--warned-coding): New var.
10704 (hack-dir-local-variables): Use it to avoid repeated warnings.
10705 (make-backup-file-name--default-function): New function.
10706 (make-backup-file-name-function): Use it as default.
10707 (buffer-stale--default-function): New function.
10708 (buffer-stale-function): Use it as default.
10709 (revert-buffer-insert-file-contents--default-function): New function.
10710 (revert-buffer-insert-file-contents-function): Use it as default.
10711 (insert-directory): Avoid add-to-list.
10713 * autorevert.el (auto-revert-handler): Simplify.
10714 Use buffer-stale--default-function.
10716 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10718 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10720 * whitespace.el (whitespace-ensure-local-variables): New function.
10721 (whitespace-cleanup-region): Call it.
10722 (whitespace-turn-on): Call it.
10724 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10726 Complete file name handlers.
10728 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10729 (tramp-handle-verify-visited-file-modtime)
10730 (tramp-handle-file-notify-rm-watch): New functions.
10731 (tramp-call-process): Do not bind `default-directory'.
10733 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10734 Order alphabetically.
10735 <access-file, add-name-to-file, dired-call-process>:
10736 <dired-compress-file, file-acl, file-notify-rm-watch>:
10737 <file-ownership-preserved-p, file-selinux-context>:
10738 <make-directory-internal, make-symbolic-link, set-file-acl>:
10739 <set-file-selinux-context, set-visited-file-modtime>:
10740 <verify-visited-file-modtime>: Add handler.
10741 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10743 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10744 <file-notify-add-watch, file-notify-rm-watch>:
10745 <set-file-times, set-visited-file-modtime>:
10746 <verify-visited-file-modtime>: Add handler.
10747 (with-tramp-gvfs-error-message)
10748 (tramp-gvfs-handle-set-visited-file-modtime)
10749 (tramp-gvfs-fuse-file-name): Remove.
10750 (tramp-gvfs-handle-file-notify-add-watch)
10751 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10752 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10754 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10755 Order alphabetically.
10756 <file-notify-rm-watch>: Use default Tramp handler.
10757 <executable-find>: Remove private handler.
10758 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10759 `default-directory'.
10760 (tramp-sh-handle-executable-find)
10761 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10762 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10763 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10764 Do not use `format' in `tramp-message'.
10766 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10767 <file-notify-rm-watch, set-visited-file-modtime>:
10768 <verify-visited-file-modtime>: Add handler.
10769 (tramp-smb-call-winexe): Do not bind `default-directory'.
10771 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10773 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10775 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10777 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10779 (log-view-diff-changeset): Same.
10780 (log-view-diff-common): Call backend command `previous-revision'
10781 to find out the previous revision, in both cases. Swap the
10782 variables `to' and `fr', so that `fr' usually refers to the
10783 earlier revision (Bug#14989).
10785 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10787 * ibuf-ext.el (ibuffer-filter-by-filename):
10788 Make it work with dired buffers too.
10790 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10792 * emacs-lisp/re-builder.el (reb-color-display-p):
10793 * files.el (save-buffers-kill-terminal):
10794 * net/browse-url.el (browse-url):
10795 * server.el (server-save-buffers-kill-terminal):
10796 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10797 Prefer nil to selected-frame for the first arg of frame-parameter.
10799 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10801 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10803 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10805 * minibuffer.el (completion--twq-all): Try and preserve each
10806 completion's case choice (bug#14907).
10808 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10810 * net/network-stream.el (open-network-stream): Mention the new
10811 :nogreeting parameter.
10812 (network-stream-open-starttls): Use the :nogreeting parameter
10815 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10817 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10818 more natural than popping.
10820 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10821 (shr-urlify): Highlight under mouse.
10823 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10825 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10827 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10829 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10832 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10833 point-min==1. Fix search string. Fix parentheses missing.
10835 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10836 assume point-min==1. Fix search string. Fix parentheses missing.
10838 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10840 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10843 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10845 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10846 initial frame is minibuffer-less. (Bug#14841)
10848 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10850 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10853 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10854 (tramp-maybe-open-connection): Use it.
10856 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10858 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10859 minimal set of parameters passed when creating a frame, because
10860 the minibuffer status of a frame cannot be changed later.
10862 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10864 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10865 replace-regexp-in-string and inadvertent omissions in previous change.
10866 (todo-filter-items): Ensure only file names are comma-separated in
10867 name of filtered items buffer.
10869 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10871 * desktop.el: Optionally force offscreen frames back onscreen.
10872 (desktop-restoring-reuses-frames): New option.
10873 (desktop--compute-pos, desktop--move-onscreen): New functions.
10874 (desktop--make-frame): Use desktop--move-onscreen.
10876 2013-07-27 Alan Mackenzie <acm@muc.de>
10878 Fontify a Java generic method as a function.
10879 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10882 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10884 * calendar/todo-mode.el: Add command to rename todo files.
10885 (todo-rename-file): New command.
10886 (todo-key-bindings-t): Add key binding for it. Change the
10887 bindings of todo-filter-regexp-items(-multifile) to use `x'
10888 instead of `r', since the latter is better suited to the new
10891 2013-07-27 Alan Mackenzie <acm@muc.de>
10893 Make Java try-with-resources statement parse properly.
10894 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10895 (c-block-stmt-1-2-key): New language constants/variables.
10896 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10897 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10898 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10899 with c-block-stmt-1-2-key.
10901 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10903 * desktop.el (desktop--make-frame): Apply most frame parameters after
10904 creating the frame to force (partially or totally) offscreen frames to
10905 be restored as such.
10907 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10909 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10912 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10914 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10915 `base' arg of backtrace-frame.
10917 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10919 * simple.el (list-processes): Doc fix.
10921 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10923 * desktop.el (desktop--select-frame):
10924 Try harder to reuse existing frames.
10926 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10928 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10929 (edebug-eval): Use backtrace-eval.
10930 (edebug--display, edebug--recursive-edit): Don't let-bind the
10931 edebug-outer-* vars that keep track of variables we locally let-bind.
10932 (edebug-outside-excursion): Don't restore outside values of locally
10934 (edebug--display): Use user-error.
10935 (cl-lexical-debug, cl-debug-env): Remove.
10937 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10939 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10940 are restored to be sure that they are visible before deleting any
10943 2013-07-26 Matthias Meulien <orontee@gmail.com>
10945 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10946 vc-print-root-log. (Bug#14948)
10948 2013-07-26 Richard Stallman <rms@gnu.org>
10950 Add aliases for encrypting mail.
10951 * epa.el (epa-mail-aliases): New option.
10952 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10953 Bind inhibit-read-only so read-only text doesn't ruin everything.
10954 (epa-mail-default-recipients): New subroutine broken out.
10955 Handle epa-mail-aliases.
10957 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10959 Add support for lexical variables to the debugger's `e' command.
10960 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10961 vars, except for debugger-outer-match-data.
10962 (debugger-frame-number): Move check for "on a function call" from
10963 callers into it. Add `skip-base' argument.
10964 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10965 (debugger-env-macro): Only reset the state stored in non-variables,
10966 i.e. current-buffer and match-data.
10967 (debugger-eval-expression): Rewrite using backtrace-eval.
10968 * subr.el (internal--called-interactively-p--get-frame): Remove.
10969 (called-interactively-p):
10970 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10971 `base' arg of backtrace-frame instead.
10973 2013-07-26 Glenn Morris <rgm@gnu.org>
10975 * align.el (align-regexp): Doc fix. (Bug#14857)
10976 (align-region): Explicit error if subexpression missing/does not match.
10978 * simple.el (global-visual-line-mode):
10979 Do not duplicate the mode lighter. (Bug#14858)
10981 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10983 * window.el (display-buffer): In display-buffer bind
10984 split-window-keep-point to t, bug#14829.
10986 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10988 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10989 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10990 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10991 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10992 Change accordingly.
10993 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10994 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10996 2013-07-25 Glenn Morris <rgm@gnu.org>
10998 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11000 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11002 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11003 parameter to modify-frame-parameters if the value has not changed;
11004 this is a workaround for bug#14949.
11005 (desktop--make-frame): On cl-delete-if call, check parameter name,
11006 not full parameter.
11008 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11010 * vc/vc.el (vc-ignore): New function.
11012 * vc/vc-svn.el (vc-svn-ignore): New function.
11014 * vc/vc-hg.el (vc-hg-ignore): New function.
11016 * vc/vc-git.el (vc-git-ignore): New function.
11018 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11019 (vc-dir-ignore): New function.
11021 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11022 (cvs-append-to-ignore): Move here from pcvs.el.
11024 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11026 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11028 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11030 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11031 (desktop-restore-frames): Warn when deleting an existing frame failed.
11033 2013-07-24 Glenn Morris <rgm@gnu.org>
11035 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11037 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11039 * filenotify.el (file-notify-supported-p):
11040 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11043 * autorevert.el (auto-revert-use-notify)
11044 (auto-revert-notify-add-watch):
11045 * net/tramp.el (tramp-file-name-for-operation):
11046 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11047 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11048 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11049 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11050 Remove `file-notify-supported-p' entry.
11052 2013-07-24 Glenn Morris <rgm@gnu.org>
11054 * printing.el: Replace all uses of deleted ps-windows-system,
11055 ps-lp-system, ps-flatten-list with lpr- versions.
11057 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11059 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11060 checked with memq (bug#14935).
11062 * files.el (revert-buffer-function): Use a non-nil default.
11063 (revert-buffer-preserve-modes): Declare var to
11064 provide access to the `preserve-modes' argument.
11065 (revert-buffer): Let-bind it.
11066 (revert-buffer--default): New function, extracted from revert-buffer.
11068 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11070 * lpr.el: Signal print errors more prominently.
11071 (print-region-function): Don't default to nil.
11072 (lpr-print-region): New function, extracted from print-region-1.
11073 Check lpr's return value and signal an error in case of problem.
11074 (print-region-1): Use it.
11075 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11077 (ps-printer-name): Default to nil.
11078 (ps-printer-name-option): Default to lpr-printer-switch.
11079 (ps-print-region-function): Don't default to nil.
11080 (ps-postscript-code-directory): Simplify default.
11081 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11082 (ps-string-list, ps-eval-switch, ps-flatten-list)
11083 (ps-flatten-list-1): Remove.
11084 (ps-multibyte-buffer): Avoid setq.
11085 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11086 (print-region-function, ps-print-region-function): Don't set them here.
11088 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11090 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11091 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11092 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11093 (ido-decorations): Doc fix.
11095 * ansi-color.el: Fix old URL.
11097 2013-07-23 Michael R. Mauger <michael@mauger.com>
11099 * progmodes/sql.el: Version 3.3
11100 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11101 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11102 (sql-interactive-remove-continuation-prompt): Rewrite, use
11103 functions above. Fix continuation prompt and complete output line
11105 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11106 redirected output buffer.
11107 (sql-mode): Restore deleted code (Bug#13591).
11109 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11111 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11113 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11115 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11117 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11118 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11119 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11121 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11123 * desktop.el (desktop-clear): Simplify; remove useless checks
11124 against invalid buffer names.
11125 (desktop-list*): Use cl-list*.
11126 (desktop-buffer-info, desktop-create-buffer): Simplify.
11128 2013-07-23 Leo Liu <sdl.web@gmail.com>
11130 * bookmark.el (bookmark-make-record): Restore NAME as a default
11133 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11135 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11136 extracted from autoload--insert-text.
11137 (autoload--insert-text): Remove.
11138 (autoload--print-cookie-text): New function, extracted from
11139 autoload--insert-cookie-text.
11140 (autoload--insert-cookie-text): Remove.
11141 (autoload-generate-file-autoloads): Adjust calls accordingly.
11143 * winner.el (winner-hook-installed-p): Remove.
11144 (winner-mode): Simplify accordingly.
11146 * subr.el (add-to-list): Fix compiler-macro when `append' is
11147 not constant. Don't use `cl-member' for the base case.
11149 * progmodes/subword.el: Fix boundary case (bug#13758).
11150 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11152 (subword-backward-regexp): Make it a constant.
11153 (subword-forward-internal): Don't treat a trailing capital as the
11154 beginning of a word.
11156 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11158 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11159 global value of tabulated-list-revert-hook (bug#14930).
11161 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11163 * desktop.el: Require 'cl-lib.
11164 (desktop-before-saving-frames-functions): New hook.
11165 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11166 for frames being saved. Rename from desktop--save-minibuffer-frames.
11167 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11168 Do not save frames with non-nil `desktop-dont-save' parameter.
11169 Filter out deleted frames.
11170 (desktop--find-frame): Use cl-find-if.
11171 (desktop--select-frame): Use cl-(first|second|third) to access values
11173 (desktop--make-frame): Use cl-delete-if.
11174 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11175 (desktop-restore-frames): Use cl-(first|second|third) to access values
11176 of desktop-mini. Look for visible frame at the end, not while
11179 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11180 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11181 Use string-match-p, looking-at-p (bug#14927).
11183 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11185 * desktop.el (desktop-saved-frame-states):
11186 Rename from desktop--saved-states; all users changed.
11187 (desktop-save-frames): Rename from desktop--save-frames.
11188 Do not save state to desktop file.
11189 (desktop-save): Save desktop-saved-frame-states to desktop file
11191 (desktop-restoring-frames-p): New function.
11192 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11193 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11194 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11196 * desktop.el: Correctly restore iconified frames.
11197 (desktop--filter-iconified-position): New function.
11198 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11200 2013-07-20 Glenn Morris <rgm@gnu.org>
11202 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11203 Let `message' do the formatting.
11204 (def-gdb-preempt-display-buffer): Add explicit format.
11206 * image-dired.el (image-dired-track-original-file):
11207 Use with-current-buffer.
11208 (image-dired-track-thumbnail): Use with-current-buffer.
11209 Avoid changing point of wrong window.
11211 * image-dired.el (image-dired-track-original-file):
11212 Avoid changing point of wrong window. (Bug#14909)
11214 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11216 * progmodes/gdb-mi.el (gdb-done-or-error):
11217 Guard against "%" in gdb output. (Bug#14127)
11219 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11221 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11224 * international/mule.el (coding-system-iso-2022-flags): Fix last
11227 2013-07-20 Kenichi Handa <handa@gnu.org>
11229 * international/mule.el (coding-system-iso-2022-flags):
11230 Add `8-bit-level-4'. (Bug#8522)
11232 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11234 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11237 * net/eww.el (eww-process-text-input): Allow inputting when the
11238 point is at the start of the line, as the properties aren't
11241 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11244 2013-07-19 Richard Stallman <rms@gnu.org>
11246 * epa.el (epa-popup-info-window): Doc fix.
11248 * subr.el (split-string): New arg TRIM.
11250 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11252 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11253 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11255 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11257 * filenotify.el (file-notify--library): Rename from
11258 `file-notify-support'. Do not autoload. Adapt all uses.
11259 (file-notify-supported-p): New defun.
11261 * autorevert.el (auto-revert-use-notify):
11262 Use `file-notify-supported-p' instead of `file-notify-support'.
11264 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11266 * net/tramp.el (tramp-file-name-for-operation):
11267 Add `file-notify-supported-p'.
11269 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11271 (tramp-sh-file-name-handler-alist): Add it as handler for
11272 `file-notify-supported-p '.
11274 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11276 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11277 Add `ignore' as handler for `file-notify-*' functions.
11279 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11281 * simple.el (line-move-partial, line-move): Don't start vscroll or
11282 scroll-up if the current line is not taller than the window.
11285 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11287 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11288 highlight question marks in the method names as strings.
11289 (ruby-block-beg-keywords): Inline.
11290 (ruby-font-lock-keyword-beg-re): Extract from
11291 `ruby-font-lock-keywords'.
11293 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11295 * frame.el (blink-cursor-blinks): New defcustom.
11296 (blink-cursor-blinks-done): New defvar.
11297 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11298 (blink-cursor-timer-function): Check if number of blinks has been
11300 (blink-cursor-suspend, blink-cursor-check): New defuns.
11302 2013-07-15 Glenn Morris <rgm@gnu.org>
11304 * edmacro.el (edmacro-format-keys): Fix previous change.
11306 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11308 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11309 The hack didn't work outside English locales anyway.
11311 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11313 * simple.el (define-alternatives): Rename from alternatives-define,
11314 per RMS' suggestion.
11316 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11318 * desktop.el (desktop-restore-frames): Change default to t.
11319 (desktop-restore-in-current-display): Now offer more options.
11320 (desktop-restoring-reuses-frames): New customization option.
11321 (desktop--saved-states): Doc fix.
11322 (desktop-filter-parameters-alist): New variable, renamed and expanded
11323 from desktop--excluded-frame-parameters.
11324 (desktop--target-display): New variable.
11325 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11326 (desktop--filter-tty*, desktop--filter-*-color)
11327 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11328 (desktop--filter-save-desktop-parm)
11329 (desktop-restore-in-original-display-p): New functions.
11330 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11331 (desktop--save-minibuffer-frames): New function, inspired by a similar
11332 function from Martin Rudalics.
11333 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11334 (desktop--restore-in-this-display-p): Remove.
11335 (desktop--find-frame): Rename from desktop--find-frame-in-display
11336 and add predicate argument.
11337 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11338 (desktop--reuse-list): New variable.
11339 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11341 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11343 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11345 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11347 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11349 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11350 Highlight conversion methods on Kernel.
11352 2013-07-13 Alan Mackenzie <acm@muc.de>
11354 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11355 and comment it out. This out-commenting enables certain C++
11356 declarations to be parsed correctly.
11358 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11360 * international/mule.el (define-coding-system): Doc fix.
11362 * simple.el (default-font-height): Don't call font-info if the
11363 frame's default font didn't change since the frame was created.
11366 2013-07-13 Leo Liu <sdl.web@gmail.com>
11368 * ido.el (ido-read-file-name): Guard against non-symbol value.
11370 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11372 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11375 2013-07-13 Leo Liu <sdl.web@gmail.com>
11377 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11378 ido-set-matches call. (Bug#6852)
11380 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11382 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11383 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11385 (ruby-font-lock-keywords): Distinguish calls to functions with
11386 module-like names from module references. Highlight character
11389 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11391 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11392 (gdb-send): Handle continued commands. (Bug#14847)
11394 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11396 * desktop.el (desktop--v2s): Remove unused local variable.
11397 (desktop-save-buffer): Make defvar-local; adjust docstring.
11398 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11399 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11401 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11403 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11405 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11407 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11410 2013-07-12 Glenn Morris <rgm@gnu.org>
11412 * doc-view.el: Require cl-lib at runtime too.
11413 (doc-view-remove-if): Remove.
11414 (doc-view-search-next-match, doc-view-search-previous-match):
11417 * edmacro.el: Require cl-lib at runtime too.
11418 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11419 (edmacro-mismatch, edmacro-subseq): Remove.
11421 * shadowfile.el: Require cl-lib.
11422 (shadow-remove-if): Remove.
11423 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11426 * wid-edit.el: Require cl-lib.
11427 (widget-choose): Use cl-remove-if.
11428 (widget-remove-if): Remove.
11430 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11431 (ebrowse-delete-if-not): Remove.
11432 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11433 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11434 Use cl-delete-if-not.
11436 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11438 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11439 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11441 2013-07-12 Leo Liu <sdl.web@gmail.com>
11443 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11445 2013-07-11 Glenn Morris <rgm@gnu.org>
11447 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11448 (edebug-gensym-index, edebug-gensym):
11449 Remove reimplementation of cl-gensym.
11450 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11452 * thumbs.el: Require cl-lib at run-time too.
11453 (thumbs-gensym-counter, thumbs-gensym):
11454 Remove reimplementation of cl-gensym.
11455 (thumbs-temp-file): Use cl-gensym.
11457 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11458 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11459 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11460 (ert--union, ert--gensym-counter, ert--gensym-counter)
11461 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11462 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11463 (ert-make-test-unbound, ert--expand-should-1)
11464 (ert--expand-should, ert--should-error-handle-error)
11465 (should-error, ert--explain-equal-rec)
11466 (ert--plist-difference-explanation, ert-select-tests)
11467 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11468 Use cl-lib functions rather than reimplementations.
11470 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11472 * net/tramp.el (tramp-methods): Extend docstring.
11473 (tramp-connection-timeout): New defcustom.
11474 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11475 (with-tramp-progress-reporter): Simplify.
11476 (tramp-process-actions): Improve messages.
11478 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11479 * net/tramp-sh.el (tramp-maybe-open-connection):
11480 Use `tramp-connection-timeout'.
11481 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11484 2013-07-11 Leo Liu <sdl.web@gmail.com>
11486 * ido.el (ido-read-file-name): Conform to the requirements of
11487 read-file-name. (Bug#11861)
11488 (ido-read-directory-name): Conform to the requirements of
11489 read-directory-name.
11491 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11493 * subr.el (delay-warning): New function.
11495 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11497 * simple.el (default-line-height): New function.
11498 (line-move-partial, line-move): Use it instead of computing the
11499 line height inline.
11500 (line-move-partial): Always compute ROWH. If the last line is
11501 partially-visible, but its text is completely visible, allow
11502 cursor to enter such a partially-visible line.
11504 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11506 Improve error messages. (Bug#14808)
11508 * net/tramp.el (tramp-current-connection): New defvar, moved from
11510 (tramp-message-show-progress-reporter-message): Remove, not
11512 (tramp-error-with-buffer): Show message in minibuffer.
11513 Discard input before waiting. Reset connection timestamp.
11514 (with-tramp-progress-reporter): Improve messages.
11515 (tramp-process-actions): Use progress reporter. Delete process in
11516 case of error. Improve messages.
11518 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11519 Call `tramp-error-with-buffer' with vector and buffer.
11520 (tramp-current-connection): Remove.
11521 (tramp-maybe-open-connection): The car of
11522 `tramp-current-connection' are the first 3 slots of the vector.
11524 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11526 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11527 inside continued strings.
11529 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11531 Timestamp fixes for undo (Bug#14824).
11532 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11534 2013-07-10 Leo Liu <sdl.web@gmail.com>
11536 * files.el (require-final-newline): Allow safe local value.
11539 2013-07-09 Leo Liu <sdl.web@gmail.com>
11541 * ido.el (ido-read-directory-name): Handle fallback.
11542 (ido-read-file-name): Update DIR to ido-current-directory.
11544 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11546 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11548 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11549 "autoload". Remove "warn lower camel case" section, previously
11550 commented out. Highlight negation char. Do not highlight the
11551 target in singleton method definitions.
11553 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11555 * faces.el (tty-setup-hook): Declare the hook.
11557 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11558 and detect when a guard/pred depends on local vars (bug#14773).
11559 (pcase--u1): Adjust caller.
11561 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11563 * simple.el (line-move-partial, line-move): Account for
11565 (line-move-partial): Avoid setting vscroll when the last
11566 partially-visible line in window is of default height.
11568 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11570 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11573 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11575 * subr.el (read-quoted-char): Remove unused local variable `char'.
11577 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11579 * vc/ediff.el (ediff-version): Version update.
11580 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11581 (ediff-merge-with-ancestor-command, ediff-directories-command)
11582 (ediff-directories3-command, ediff-merge-directories-command)
11583 (ediff-merge-directories-with-ancestor-command): New functions.
11584 All are command-line interfaces to ediff: to facilitate calling
11585 Emacs with the appropriate ediff functions invoked.
11587 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11589 (viper-save-kill-buffer): Check if buffer is modified.
11591 * emulation/viper.el (viper-version): Version update.
11592 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11594 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11596 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11597 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11598 (viper-intercept-ESC-key): Simplify.
11599 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11601 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11602 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11603 (viper-setup-ESC-to-escape): New functions.
11604 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11605 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11607 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11609 * simple.el (default-font-height, window-screen-lines):
11611 (line-move, line-move-partial): Use them instead of
11612 frame-char-height and window-text-height. This makes scrolling
11613 text smoother when the buffer's default face uses a font that is
11614 different from the frame's default font.
11616 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11618 * files.el (write-file): Do not display confirm dialog for NS,
11619 it does its own dialog, which can't be canceled (Bug#14578).
11621 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11623 * simple.el (line-move-partial): Adjust the row returned by
11624 posn-at-point for the current window-vscroll. (Bug#14567)
11626 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11628 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11629 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11632 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11634 * window.el (window-state-put-stale-windows): New variable.
11635 (window--state-put-2): Save list of windows without matching buffer.
11636 (window-state-put): Remove "bufferless" windows if possible.
11638 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11640 * simple.el (alternatives-define): Remove leftover :group keyword.
11643 2013-07-06 Leo Liu <sdl.web@gmail.com>
11645 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11646 (ido-enable-virtual-buffers): New variable.
11647 (ido-buffer-internal, ido-toggle-virtual-buffers)
11648 (ido-make-buffer-list): Use it.
11649 (ido-exhibit): Support turning on and off virtual buffers
11652 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11654 * simple.el (alternatives-define): New macro.
11656 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * subr.el (read-quoted-char): Use read-key.
11659 (sit-for): Let read-event decode tty input (bug#14782).
11661 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11663 * calendar/todo-mode.el: Add handling of file deletion, both by
11664 mode command and externally. Fix various related bugs.
11665 Clarify Commentary and improve some documentation strings and code.
11666 (todo-delete-file): New command.
11667 (todo-check-file): New function.
11668 (todo-show): Handle external deletion of the file we're trying to
11669 show (bug#14688). Replace called-interactively-p by an optional
11670 prefix argument to avoid problematic interaction with catch form
11671 when byte compiled (bug#14702).
11672 (todo-quit): Handle external deletion of the archive's todo file.
11673 Make sure the buffer that was visiting the archive file is still
11674 live before trying to bury it.
11675 (todo-category-completions): Handle external deletion of any
11676 category completion files.
11677 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11678 of todo files, in case of external deletion.
11679 (todo-add-file): Replace unnecessary setq by let-binding.
11680 (todo-find-archive): Check whether there are any archives.
11681 Replace unnecessary setq by let-binding.
11682 (todo-archive-done-item): Use find-file-noselect to get the
11683 archive buffer whether or not the archive already exists.
11684 Remove superfluous code. Use file size instead of buffer-file-name to
11685 check if the archive is new; if it is, update list of archives.
11686 (todo-default-todo-file): Allow nil to be a valid value for when
11687 there are no todo files.
11688 (todo-reevaluate-default-file-defcustom): Use corrected definition
11689 of todo-default-todo-file.
11690 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11691 (todo-delete-category, todo-show-categories-table)
11692 (todo-category-number): Clarify comment.
11693 (todo-filter-items): Clarify documentation string.
11694 (todo-show-current-file, todo-display-as-todo-file)
11695 (todo-reset-and-enable-done-separator): Tweak documentation string.
11696 (todo-done-separator): Make separator length window-width, since
11697 bug#2749 is now fixed.
11699 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11701 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11702 Support both "gvfs-monitor-dir" and "inotifywait".
11703 (tramp-sh-file-inotifywait-process-filter): Rename from
11704 `tramp-sh-file-notify-process-filter'.
11705 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11706 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11708 2013-07-05 Leo Liu <sdl.web@gmail.com>
11710 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11712 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11714 * frame.el (display-pixel-height, display-pixel-width)
11715 (display-mm-height, display-mm-width): Mention behavior on
11716 multi-monitor setups in docstrings.
11717 (w32-display-monitor-attributes-list): Declare function.
11718 (display-monitor-attributes-list): Use it.
11720 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11722 * filenotify.el: New package.
11724 * autorevert.el (top): Require filenotify.el.
11725 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11727 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11728 (auto-revert-notify-handler): Use `file-notify-*' functions.
11730 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11732 * net/tramp.el (tramp-file-name-for-operation):
11733 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11735 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11736 for `file-notify-add-watch' and `file-notify-rm-watch'.
11737 (tramp-process-sentinel): Improve trace.
11738 (tramp-sh-handle-file-notify-add-watch)
11739 (tramp-sh-file-notify-process-filter)
11740 (tramp-sh-handle-file-notify-rm-watch)
11741 (tramp-get-remote-inotifywait): New defuns.
11743 2013-07-03 Juri Linkov <juri@jurta.org>
11745 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11746 call of `occur-read-primary-args' to interactive spec.
11748 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11749 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11751 2013-07-03 Matthias Meulien <orontee@gmail.com>
11753 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11754 `Buffer-menu-multi-occur'. Add it to the menu.
11755 (Buffer-menu-mode): Document it in docstring.
11756 (Buffer-menu-multi-occur): New command. (Bug#14673)
11758 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11760 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11761 keywords and built-ins.
11763 2013-07-03 Glenn Morris <rgm@gnu.org>
11765 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11767 Make info-xref checks case-sensitive by default
11768 * info.el (Info-find-node, Info-find-in-tag-table)
11769 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11770 Add option for exact case matching of nodes.
11771 * info-xref.el (info-xref): New custom group.
11772 (info-xref-case-fold): New option.
11773 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11775 2013-07-03 Leo Liu <sdl.web@gmail.com>
11777 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11779 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11781 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11782 middle of block statement initially, lower the depth. Remove
11783 FIXME comment, not longer valid. Remove middle of block statement
11784 detection, no need to do that anymore since we've been using
11785 `ruby-parse-region' here.
11787 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11789 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11791 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11793 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11795 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11797 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11798 (desktop-restore-in-current-display): New customization option.
11799 (desktop--excluded-frame-parameters): Add `font'.
11800 (desktop--save-frames): Rename from desktop--save-windows.
11801 (desktop--restore-in-this-display-p): New function.
11802 (desktop--make-full-frame): Remove unwanted width/height from
11803 full(width|height) frames.
11804 (desktop--restore-frames): Rename from desktop--restore-windows.
11805 Obey desktop-restore-current-display. Do not delete old frames or
11806 select a new frame unless we were able to restore at least one frame.
11808 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11810 * files.el (find-file-noselect): Simplify conditional expression.
11812 * textmodes/remember.el (remember-append-to-file):
11813 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11815 Add `remember-notes' function to store random notes across Emacs
11817 * textmodes/remember.el (remember-data-file): Add :set callback to
11818 affect notes buffer (if any).
11819 (remember-notes): New command.
11820 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11821 New defcustoms for the `remember-notes' function.
11822 (remember-notes-save-and-bury-buffer): New command.
11823 (remember-notes-mode-map): New variable.
11824 (remember-mode): New minor mode.
11825 (remember-notes--kill-buffer-query): New function.
11826 * startup.el (initial-buffer-choice): Add notes to custom type.
11828 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11830 * bindings.el (right-char, left-char): Don't call sit-for, this is
11831 no longer needed. Use arithmetic comparison only for numerical
11834 * international/mule-cmds.el (select-safe-coding-system):
11835 Handle the case of FROM being a string correctly. (Bug#14755)
11837 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11839 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11840 progression on degenerate tables.
11841 (shr-rescale-image): ImageMagick animated images currently don't work.
11843 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11845 Some fixes and improvements for desktop frame restoration.
11846 It is still experimental and disabled by default.
11847 * desktop.el (desktop--save-windows): Put the selected frame at
11848 the head of the list.
11849 (desktop--make-full-frame): New function.
11850 (desktop--restore-windows): Try to re-select the frame that was
11851 selected upon saving. Do not abort if some frames fail to restore,
11852 just show an error message and continue. Set up maximized frames
11853 so they have default non-maximized dimensions.
11855 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11857 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11858 Don't start heredoc inside a string or comment.
11860 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11862 * bindings.el (visual-order-cursor-movement): New defcustom.
11863 (right-char, left-char): Provide visual-order cursor motion by
11864 calling move-point-visually. Update the doc strings.
11866 2013-06-28 Kenichi Handa <handa@gnu.org>
11868 * international/mule.el (define-coding-system): New coding system
11869 properties :inhibit-null-byte-detection,
11870 :inhibit-iso-escape-detection, and :prefer-utf-8.
11871 (set-buffer-file-coding-system): If :charset-list property of
11872 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11873 appropriate for setting.
11875 * international/mule-cmds.el (select-safe-coding-system):
11876 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11877 multibyte characters, return utf-8 (or one of its siblings).
11879 * international/mule-conf.el (prefer-utf-8): New coding system.
11880 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11883 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11885 * net/shr.el (shr-render-region): New function.
11887 * net/eww.el: Autoload `eww-browse-url'.
11889 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11891 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11892 Adapt to `package-desc-version' being a list.
11893 Use `package--ac-desc-version' to retrieve version from a package
11896 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11898 New experimental feature to save&restore window and frame setup.
11899 * desktop.el (desktop-save-windows): New defcustom.
11900 (desktop--saved-states): New var.
11901 (desktop--excluded-frame-parameters): New defconst.
11902 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11903 (desktop--restore-windows, desktop--save-windows): New functions.
11904 (desktop-save): Call `desktop--save-windows'.
11905 (desktop-read): Call `desktop--restore-windows'.
11907 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11909 * net/shr.el (add-face-text-property): Remove compat definition.
11911 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11913 * info.el (Info-try-follow-nearest-node): Move search for footnote
11914 above search for node name to prevent missing a footnote (bug#14717).
11916 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11918 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11920 2013-06-27 Leo Liu <sdl.web@gmail.com>
11922 * net/eww.el (eww-read-bookmarks): Check file size.
11924 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11926 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11927 advice--pending if newdef is nil or an autoload (bug#13820).
11928 (advice-mapc): New function.
11930 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11932 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11934 (eww-mode-map): Add a menu bar.
11935 (eww-add-bookmark): New command.
11936 (eww-bookmark-mode): New mode and commands.
11937 (eww-add-bookmark): Remove newlines from the title.
11938 (eww-bookmark-browse): Don't bug out if it's the only window.
11940 2013-06-26 Glenn Morris <rgm@gnu.org>
11942 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11943 (hfy-size): Handle ttys. (Bug#14668)
11945 * info-xref.el: Update for Texinfo 5 change in *note format.
11946 (info-xref-node-re, info-xref-note-re): New constants.
11947 (info-xref-check-buffer): Use info-xref-note-re.
11949 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11953 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11954 nil terminate the loop (bug#14718).
11956 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958 * net/eww.el: Rework history traversal. When going forward/back,
11959 put these actions into the history, too, so that they can be
11961 (eww-render): Move the history reset to the correct buffer.
11963 2013-06-25 Juri Linkov <juri@jurta.org>
11965 * files-x.el (modify-dir-local-variable): Change the header comment
11966 in the file with directory local variables. (Bug#14692)
11968 * files-x.el (read-file-local-variable-value): Add `default'.
11971 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11973 * net/eww.el (eww-make-unique-file-name): Create a unique file
11974 name before saving to entering `y' accidentally asynchronously.
11976 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11978 * net/eww.el (eww-download): New command and keystroke.
11980 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11982 * net/eww.el (eww-copy-page-url): Change name of command.
11984 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11985 be more consistent with Info and dired.
11987 * net/eww.el (eww-mode-map): Ditto.
11989 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11991 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11992 packages from archives.
11993 (package-archive-contents): Change format; include obsolete packages.
11994 (package-desc): Use `dir' to mark builtin packages.
11995 (package--from-builtin): Set the `dir' field to `builtin'.
11996 (generated-autoload-file, version-control): Declare.
11997 (package-compute-transaction): Change first arg and return value to be
11998 lists of package-descs. Adjust to new package-archive-contents format.
11999 (package--add-to-archive-contents): Adjust to new
12000 package-archive-contents format.
12001 (package-download-transaction): Arg is now a list of package-descs.
12002 (package-install): If `pkg' is a package name, pass it as
12003 a requirement, so it is subject to the usual (e.g. disabled) checks.
12004 (describe-package): Accept package-desc as well.
12005 (describe-package-1): Describe a specific package-desc. Add links to
12006 other package-descs for the same package name.
12007 (package-menu-describe-package): Pass the actual package-desc.
12008 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12010 (package-desc-status): New function.
12011 (package-menu--refresh): New function, extracted
12012 from package-menu--generate.
12013 (package-menu--generate): Use it.
12014 (package-delete): Update package-alist.
12015 (package-menu-execute): Don't call package-initialize.
12017 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12018 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12019 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12020 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12021 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12022 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12024 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12026 * window.el (window--state-get-1): Workaround for bug#14527.
12027 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12029 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12031 * net/eww.el (eww-back-url): Implement the history by stashing all
12032 the data into a list.
12033 (eww-forward-url): Allow going forward in the history, too.
12035 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12037 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12038 for values and use read--expression for expressions (bug#14710).
12039 (read-file-local-variable): Avoid setq.
12040 (read-file-local-variable-mode): Use minor-mode-list.
12042 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12044 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12047 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12049 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12050 Update imenu-support when dialect changes.
12052 2013-06-25 Leo Liu <sdl.web@gmail.com>
12054 * ido.el (ido-read-internal): Allow forward slash on windows.
12056 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12058 * net/eww.el (eww): Start of strings is \\`, not ^.
12060 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12062 * net/shr.el (shr-browse-url): Fix interactive spec.
12064 * net/eww.el (eww): Add a trailing slash to domain names.
12066 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12068 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12070 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12072 * net/shr.el (shr-browse-url): Use an external browser if given a
12075 * net/eww.el (eww-external-browser): Move to shr.
12077 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12079 * net/eww.el (eww): Work more correctly for file: URLs.
12080 (eww-detect-charset): Allow quoted charsets.
12081 (eww-yank-page-url): New command and keystroke.
12083 2013-06-24 Daiki Ueno <ueno@gnu.org>
12085 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12086 file name of gpg executable.
12087 (epg-context-program): New function.
12088 (epg-context-home-directory): New function.
12089 (epg-context-set-program): New function.
12090 (epg-context-set-home-directory): New function.
12091 (epg--start): Use `epg-context-program' instead of
12093 (epg--list-keys-1): Likewise.
12095 2013-06-24 Leo Liu <sdl.web@gmail.com>
12097 * ido.el (ido-read-internal): Fix bug#14620.
12099 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12101 * faces.el (face-documentation): Simplify.
12102 (read-face-attribute, tty-find-type, x-resolve-font-name):
12103 Use `string-match-p'.
12104 (list-faces-display): Use `string-match-p'. Simplify.
12105 (face-spec-recalc): Check face to avoid face alias loops.
12106 (read-color): Use `string-match-p' and non-capturing parenthesis.
12108 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110 * net/shr.el (shr-rescale-image): Use the new
12111 :max-width/:max-height functionality.
12113 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12115 * net/eww.el (eww-search-prefix): New variable.
12117 (eww-external-browser): New variable.
12118 (eww-mode-map): New keystroke.
12119 (eww-browse-with-external-browser): New command.
12121 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12123 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12125 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12126 Don't skip aligning the next header field when padding is 0;
12127 otherwise, field width is not respected unless the title is as
12130 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12132 * emacs-lisp/package.el (package-el-version): Remove.
12133 (package-process-define-package): Fix inf-loop.
12134 (package-install): Allow symbols as arguments again.
12136 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12138 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12139 add some more keyword-like methods.
12140 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12142 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12144 * bs.el (bs-buffer-show-mark): Make defvar-local.
12145 (bs-mode): Use setq-local.
12147 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12148 (emacs-lock--try-unlocking): Make defvar-local.
12150 2013-06-22 Glenn Morris <rgm@gnu.org>
12152 * play/cookie1.el (cookie-apropos): Minor simplification.
12154 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12156 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12158 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12159 `regexp-opt', it breaks the build during dumping.
12161 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12163 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12164 Highlight keyword-like methods on Kernel and Module with
12165 font-lock-builtin-face.
12166 (auto-mode-alist): Consolidate different entries into one regexp
12167 and add more *file-s.
12169 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12171 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12173 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12174 (diary-entry): Use it in the action of this button type instead of
12177 * calendar/todo-mode.el: New version.
12178 (todo-add-category): Append new category to end of file and give
12179 it the highest number, instead of putting it at the beginning and
12180 giving it 0. Incorporate noninteractive functionality.
12181 (todo-forward-category): Adapt to 1-based category numbering.
12182 Allow skipping over archived categories.
12183 (todo-backward-category): Derive from todo-forward-category.
12184 (todo-backward-item, todo-forward-item): Make noninteractive and
12185 delegate interactive part to new commands. Make sensitive to done items.
12186 (todo-categories): Make value an alist of category names and
12187 vectors of item counts.
12188 (todo-category-beg): Make a defconst.
12189 (todo-category-number): Use 1 instead of 0 as initial value.
12190 (todo-category-select): Make sensitive to overlays, optional item
12191 highlighting and done items.
12192 (todo-delete-item): Make sensitive to overlays and marked and done items.
12193 (todo-edit-item): Make sensitive to overlays and editing of
12194 date/time header optional. Add format checks.
12195 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12196 no-op if point is not on an item. Advertise using todo-edit-quit.
12197 (todo-edit-mode): Make sensitive to new format, font-locking, and
12198 multiple todo files.
12199 (todo-insert-item, todo-insert-item-here): Derive from
12200 todo-basic-insert-item and extend functionality.
12201 (todo-item-end, todo-item-start): Make sensitive to done items.
12202 (todo-item-string): Don't return text properties. Restore point.
12203 (todo-jump-to-category): Make sensitive to multiple todo files and
12204 todo archives. Use extended category completion.
12205 (todo-lower-item, todo-raise-item): Rename to *-priority and
12206 derive from todo-set-item-priority.
12207 (todo-mode): Derive from special-mode. Make sensitive to new
12208 format, font-locking and multiple todo files. Make read-only.
12209 (todo-mode-map): Don't suppress digit keys, so they can supply
12210 prefix arguments. Add many new key bindings.
12211 (todo-prefix): Insert as an overlay instead of file text.
12212 Change semantics from diary date expression to purely visual mark.
12213 (todo-print): Rename to todo-print-buffer. Make buffer display
12214 features printable. Remove option to restrict number of items
12215 printed. Add option to print to file.
12216 (todo-print-function): Rename to todo-print-buffer-function.
12217 (todo-quit): Extend to handle exiting new todo modes.
12218 (todo-remove-item): Make sensitive to overlays.
12219 (todo-save): Extend to buffers of filtered items.
12220 (todo-show): Make sensitive to done items, multiple todo files and
12221 new todo modes. Offer to convert legacy todo file before creating
12222 first new todo file.
12223 (todo-show-priorities): Rename to todo-top-priorities.
12224 Change semantics of value 0.
12225 (todo-top-priorities): Rename to todo-filter-top-priorities,
12226 derive from todo-filter-items and extend functionality.
12227 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12228 and extend functionality to other types of filtered items.
12229 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12230 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12231 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12232 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12233 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12234 (todo-edit-mode-hook, todo-entry-prefix-function)
12235 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12236 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12237 (todo-initials, todo-insert-threshold, todo-item-string-start)
12238 (todo-line-string, todo-menu, todo-mode-hook)
12239 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12240 (todo-print-priorities, todo-remove-separator)
12241 (todo-save-top-priorities-too, todo-string-count-lines)
12242 (todo-string-multiline-p, todo-time-string-format)
12243 (todo-tmp-buffer-name): Remove.
12244 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12245 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12246 (todo-edit-category-diary-inclusion)
12247 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12248 (todo-edit-file, todo-edit-item-date-day)
12249 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12250 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12251 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12252 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12253 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12254 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12255 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12256 (todo-filter-top-priorities-multifile, todo-find-archive)
12257 (todo-find-filtered-items-file, todo-go-to-source-item)
12258 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12259 (todo-jump-to-archive-category, todo-lower-category)
12260 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12261 (todo-move-category, todo-move-item, todo-next-button)
12262 (todo-next-item, todo-padded-string, todo-powerset)
12263 (todo-previous-button, todo-previous-item)
12264 (todo-print-buffer-to-file, todo-raise-category)
12265 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12266 (todo-set-category-number, todo-set-item-priority)
12267 (todo-set-top-priorities-in-category)
12268 (todo-set-top-priorities-in-file, todo-show-categories-table)
12269 (todo-sort-categories-alphabetically-or-numerically)
12270 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12271 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12272 (todo-toggle-item-header, todo-toggle-item-highlighting)
12273 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12274 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12275 (todo-unarchive-items, todo-unmark-category): New commands.
12276 (todo-absolute-file-name, todo-add-to-buffer-list)
12277 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12278 (todo-basic-insert-item, todo-category-completions)
12279 (todo-category-number, todo-category-string-matcher-1)
12280 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12281 (todo-check-format, todo-clear-matches)
12282 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12283 (todo-current-category, todo-date-string-matcher)
12284 (todo-define-insertion-command, todo-diary-expired-matcher)
12285 (todo-diary-goto-entry, todo-diary-item-p)
12286 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12287 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12288 (todo-done-item-section-p, todo-done-separator)
12289 (todo-done-string-matcher, todo-files, todo-filter-items)
12290 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12291 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12292 (todo-insert-category-line, todo-insert-item-from-calendar)
12293 (todo-insert-sort-button, todo-insert-with-overlays)
12294 (todo-insertion-command-name, todo-insertion-key-bindings)
12295 (todo-label-to-key, todo-longest-category-name-length)
12296 (todo-make-categories-list, todo-mode-external-set)
12297 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12298 (todo-modes-set-3, todo-multiple-filter-files)
12299 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12300 (todo-read-category, todo-read-date, todo-read-dayname)
12301 (todo-read-file-name, todo-read-time)
12302 (todo-reevaluate-category-completions-files-defcustom)
12303 (todo-reevaluate-default-file-defcustom)
12304 (todo-reevaluate-filelist-defcustoms)
12305 (todo-reevaluate-filter-files-defcustom)
12306 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12307 (todo-reset-done-separator, todo-reset-done-separator-string)
12308 (todo-reset-done-string, todo-reset-global-current-todo-file)
12309 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12310 (todo-reset-prefix, todo-set-categories)
12311 (todo-set-date-from-calendar, todo-set-show-current-file)
12312 (todo-set-top-priorities, todo-short-file-name)
12313 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12314 (todo-total-item-counts, todo-update-buffer-list)
12315 (todo-update-categories-display, todo-update-categories-sexp)
12316 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12318 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12320 (todo-categories, todo-display, todo-edit, todo-faces)
12321 (todo-filtered): New defgroups.
12322 (todo-archived-only, todo-button, todo-category-string, todo-date)
12323 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12324 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12325 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12326 (todo-add-item-if-new-category, todo-always-add-time-string)
12327 (todo-categories-align, todo-categories-archived-label)
12328 (todo-categories-category-label, todo-categories-diary-label)
12329 (todo-categories-done-label, todo-categories-number-separator)
12330 (todo-categories-todo-label, todo-categories-totals-label)
12331 (todo-category-completions-files, todo-completion-ignore-case)
12332 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12333 (todo-done-separator-string, todo-done-string)
12334 (todo-files-function, todo-filter-done-items, todo-filter-files)
12335 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12336 (todo-initial-category, todo-initial-file, todo-item-mark)
12337 (todo-legacy-date-time-regexp, todo-mode-line-function)
12338 (todo-nondiary-marker, todo-number-prefix)
12339 (todo-print-buffer-function, todo-show-current-file)
12340 (todo-show-done-only, todo-show-first, todo-show-with-done)
12341 (todo-skip-archived-categories, todo-top-priorities-overrides)
12342 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12343 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12345 (todo-category-done, todo-date-pattern, todo-date-string-start)
12346 (todo-diary-items-buffer, todo-done-string-start)
12347 (todo-filtered-items-buffer, todo-item-start)
12348 (todo-month-abbrev-array, todo-month-name-array)
12349 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12350 (todo-top-priorities-buffer): New defconsts.
12351 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12352 (todo-categories-with-marks, todo-category-string-face)
12353 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12354 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12355 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12356 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12357 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12358 (todo-font-lock-keywords, todo-global-current-todo-file)
12359 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12360 (todo-insertion-commands-args)
12361 (todo-insertion-commands-args-genlist)
12362 (todo-insertion-commands-names, todo-insertion-map)
12363 (todo-key-bindings-t, todo-key-bindings-t+a)
12364 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12365 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12366 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12367 (todo-visited): New variables.
12369 2013-06-21 Glenn Morris <rgm@gnu.org>
12371 * play/cookie1.el (cookie-apropos): Add optional display argument.
12372 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12373 (psychoanalyze-pinhead): Use cookie-doctor.
12375 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12377 * emacs-lisp/package.el (tar-get-file-descriptor)
12378 (tar--extract): Declare.
12380 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12382 Extend flymake's warning predicate to be a function (bug#14217).
12383 * progmodes/flymake.el (flymake-warning-predicate): New.
12384 (flymake-parse-line): Use it.
12385 (flymake-warning-re): Make obsolete alias to
12386 `flymake-warning-predicate'.
12388 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12390 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12391 (package-obsolete-list): Remove.
12392 (package-activate): Remove min-version argument. Add `force' argument.
12393 Adjust to new package-alist format.
12394 (package-mark-obsolete): Remove.
12395 (package-unpack): Force reload of the package's autoloads.
12396 (package-installed-p): Check builtins if the installed package is not
12398 (package-initialize): Don't reset package-obsolete-list.
12399 Don't specify which package version to activate.
12400 (package-process-define-package, describe-package-1)
12401 (package-menu--generate): Adjust to new package-alist format.
12403 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12405 * allout-widgets.el (allout-widgets-mode-off)
12406 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12407 (allout-widgets-post-command-business)
12408 (allout-widgets-after-copy-or-kill-function)
12409 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12410 (allout-decorate-item-and-context)
12411 (allout-graphics-modification-handler): Fix typos in docstrings.
12412 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12414 * cmuscheme.el (scheme-start-file): Doc fix.
12415 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12416 (scheme-input-filter): Use `string-match-p'.
12418 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12420 * dired-x.el: Use Dired consistently in docstrings.
12422 * dired.el: Use Dired consistently in docstrings.
12423 (dired-readin, dired-mode): Use `setq-local'.
12424 (dired-switches-alist): Make defvar-local.
12425 (dired-buffers-for-dir): Use `zerop'.
12426 (dired-safe-switches-p, dired-switches-escape-p)
12427 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12428 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12429 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12430 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12431 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12432 (dired-toggle-marks, dired-mark-files-containing-regexp)
12433 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12434 (dired-flag-auto-save-files, dired-flag-backup-files):
12435 Use `looking-at-p'.
12436 (dired-mark-files-regexp, dired-build-subdir-alist):
12437 Use `string-match-p', `looking-at-p'.
12439 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12440 (direct-print-region-helper): Use `string-match-p'.
12442 2013-06-21 Leo Liu <sdl.web@gmail.com>
12444 * comint.el (comint-redirect-results-list-from-process):
12447 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12449 * net/eww.el (eww-update-header-line-format): Quote % characters.
12451 2013-06-21 Glenn Morris <rgm@gnu.org>
12453 * play/cookie1.el (cookie): New custom group.
12454 (cookie-file): New option.
12455 (cookie-check-file): New function.
12456 (cookie): Make it interactive. Make start and end messages optional.
12457 Interactively, display the result. Default to cookie-file.
12458 (cookie-insert): Default to cookie-file.
12459 (cookie-snarf): Make start and end messages optional.
12460 Default to cookie-file. Use with-temp-buffer.
12461 (cookie-read): Rename from read-cookie.
12462 Make start and end messages optional. Default to cookie-file.
12463 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12464 Do not autoload it.
12465 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12466 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12468 2013-06-21 Leo Liu <sdl.web@gmail.com>
12470 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12472 2013-06-21 Glenn Morris <rgm@gnu.org>
12474 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12476 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12477 Daniel Hackney <dan@haxney.org>
12479 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12480 Consolidate the single-file vs tarball code.
12481 (package-desc-suffix): New function.
12482 (package-desc-full-name): Don't bother inlining it.
12483 (package-load-descriptor): Return the new package-desc.
12484 (package-mark-obsolete): Remove unused arg `package'.
12485 (package-unpack): Make it work for single files as well.
12486 Make it update package-alist.
12487 (package--make-autoloads-and-stuff): Rename from
12488 package--make-autoloads-and-compile. Don't compile any more.
12489 (package--compile): New function.
12490 (package-generate-description-file): New function, extracted from
12491 package-unpack-single.
12492 (package-unpack-single): Remove.
12493 (package--with-work-buffer): Add indentation and debugging info.
12494 (package-download-single): Remove.
12495 (package-install-from-archive): Rename from package-download-tar, make
12496 it take a pkg-desc, and make it work for single files as well.
12497 (package-download-transaction): Simplify.
12498 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12499 external tar program.
12500 (package-install-from-buffer): Remove `pkg-desc' argument.
12501 Use package-tar-file-info for tar-mode buffers.
12502 (package-install-file): Simplify accordingly.
12503 (package-archive-base): Change to take a pkg-desc.
12504 * tar-mode.el (tar--check-descriptor): New function, extracted from
12505 tar-get-descriptor.
12506 (tar-get-descriptor): Use it.
12507 (tar-get-file-descriptor): New function.
12508 (tar--extract): New function, extracted from tar-extract.
12509 (tar--extract): Use it.
12510 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12511 case the summary uses non-ascii. Adjust to new calling convention of
12512 package-tar-file-info.
12514 2013-06-21 Leo Liu <sdl.web@gmail.com>
12516 * comint.el (comint-redirect-results-list-from-process):
12517 Fix random delay. (Bug#14681)
12519 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12521 * profiler.el (profiler-format-number): Use log, not log10.
12523 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12525 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12527 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12530 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12532 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12533 (AUTOGENEL): ... here.
12534 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12535 (cl--defsubst-expand): Use it.
12537 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12539 * subr.el (log10): Move here from C code, and declare as obsolete.
12540 All uses of (log10 X) replaced with (log X 10).
12542 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12544 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12545 Declare with `defvar-local'.
12546 (tabulated-list-use-header-line, tabulated-list-entries)
12547 (tabulated-list-padding, tabulated-list-printer)
12548 (tabulated-list-sort-key): Declare with `defvar-local'.
12549 (tabulated-list-init-header, tabulated-list-print-fake-header):
12552 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12554 * arc-mode.el (archive-mode): Add `archive-write-file' to
12555 `write-contents-functions' also for remote files. (Bug#14652)
12557 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12559 * cus-edit.el (custom-commands): Fix typos.
12560 (custom-display): Fix tooltip text.
12561 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12562 Fix typos in docstrings.
12563 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12564 (custom-unlispify-menu-entry, custom-magic-value-create)
12565 (custom-add-see-also, custom-group-value-create): Use ?\s.
12566 (custom-guess-type, customize-apropos, editable-field)
12567 (custom-face-value-create): Use `string-match-p'.
12568 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12570 * custom.el (custom-load-symbol): Use `string-match-p'.
12572 * ansi-color.el: Convert to lexical binding.
12573 (ansi-colors): Fix URL.
12574 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12575 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12576 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12578 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12580 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12582 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12584 2013-06-19 Tom Tromey <tromey@redhat.com>
12586 * net/eww.el (eww-top-url): Remove.
12587 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12588 (eww-render): Set new variables. Don't set eww-top-url.
12589 (eww-handle-link): Handle "prev", "home", and "contents".
12590 Downcase the rel text.
12591 (eww-top-url): Choose best top URL.
12593 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12595 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12596 relying in widget.el. Using widget.el leads to too many
12597 user interface inconsistencies.
12598 (eww-self-insert): Implement entering commands in text fields.
12599 (eww-process-text-input): New function to make text input field editing
12601 (eww-submit): Rewrite to use the new-style form methods.
12602 (eww-select-display): Display the correct selected item.
12603 (eww-change-select): Implement changing the select value.
12604 (eww-toggle-checkbox): Implement radio/checkboxes.
12605 (eww-update-field): Fix compilation error.
12606 (eww-tag-textarea): Implement <textarea>.
12608 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12609 we don't shadow mode-specific bindings.
12611 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12614 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12616 2013-06-19 Glenn Morris <rgm@gnu.org>
12618 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12620 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12622 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12625 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12627 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12629 * net/browse-url.el (browse-url-browser-function):
12630 `eww-browse-url' has the right calling signature, `eww' does not.
12632 2013-06-19 Glenn Morris <rgm@gnu.org>
12634 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12635 Only eval autoloaded macros.
12636 (byte-compile-autoload): Only give the macro warning for macros.
12638 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12639 (ps-underlined-faces): Declare.
12641 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12642 (speedbar-add-supported-extension): Declare.
12644 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12645 Don't include a date stamp in the header of the generated file;
12646 it leads to needless differences between output files.
12648 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12650 * net/secrets.el (secrets-struct-secret-content-type):
12651 Replace check of introspection data by a test call of "CreateItem".
12652 Some servers do not offer introspection.
12654 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12656 * electric.el (electric-pair-mode): Improve interaction with
12657 electric-layout-mode.
12658 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12659 (electric-pair-syntax): Use text-mode-syntax-table in comments
12661 (electric-pair--insert): New function.
12662 (electric-pair-post-self-insert-function): Use it and
12663 electric--after-char-pos.
12665 2013-06-19 Leo Liu <sdl.web@gmail.com>
12667 * progmodes/octave.el (octave-help): Fix regexp.
12669 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12671 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12672 (shr-table-horizontal-line): Allow nil as a value, and change the
12674 (shr-insert-table-ruler): Respect the nil value.
12676 2013-06-18 Tom Tromey <tromey@barimba>
12678 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12680 (eww-open-file): New defun.
12681 (eww-render): Initialize new variables.
12682 (eww-display-html): Handle "link" and "a".
12683 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12684 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12685 (eww-back-url): Rename from eww-previous-url.
12686 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12689 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12691 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12692 Distinguish ternary operator tokens from slash symbol and slash
12695 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12697 Convert symbol prettification into minor mode and global minor mode.
12699 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12700 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12701 (prettify-symbols--keywords): Rename from
12702 `prog-prettify-symbols-alist' and make a local defvar.
12703 (prettify-symbols--compose-symbol): Rename from
12704 `prog--prettify-font-lock-compose-symbol'.
12705 (prettify-symbols--make-keywords): Rename from
12706 `prog-prettify-font-lock-symbols-keywords' and simplify.
12707 (prog-prettify-install): Remove.
12708 (prettify-symbols-mode): New minor mode, based on
12709 `prog-prettify-install'.
12710 (turn-on-prettify-symbols-mode): New function.
12711 (global-prettify-symbols-mode): New globalized minor mode.
12713 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12714 * progmodes/cfengine.el (cfengine3-mode):
12715 * progmodes/perl-mode.el (perl-mode): Don't call
12716 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12718 2013-06-18 Juri Linkov <juri@jurta.org>
12720 * files-x.el (modify-file-local-variable-message): New function.
12721 (modify-file-local-variable)
12722 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12723 and call `modify-file-local-variable-message' when it's non-nil.
12724 (add-file-local-variable, delete-file-local-variable)
12725 (add-file-local-variable-prop-line)
12726 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12727 and use it. (Bug#9820)
12729 2013-06-18 Juri Linkov <juri@jurta.org>
12731 * emulation/vi.el (vi-shell-op):
12732 * emulation/vip.el (vip-execute-com, ex-command):
12733 * emulation/viper-cmd.el (viper-exec-bang):
12734 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12735 the call of `shell-command-on-region'. (Bug#14637)
12737 * simple.el (shell-command-on-region): Doc fix.
12739 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12741 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12744 2013-06-18 Glenn Morris <rgm@gnu.org>
12746 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12748 * newcomment.el (comment-search-forward, comment-search-backward):
12749 Doc fix. (Bug#14376)
12751 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12753 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12754 (buffer-face-mode-invoke): Doc fix.
12756 2013-06-18 Matthias Meulien <orontee@gmail.com>
12758 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12759 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12761 2013-06-18 Glenn Morris <rgm@gnu.org>
12763 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12764 Replace obsolete function generic-make-keywords with its expansion.
12766 * progmodes/python.el (ffap-alist): Declare.
12768 * textmodes/reftex.el (bibtex-mode-map): Declare.
12770 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12772 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12773 (package-unpack, package-unpack-single): Return the pkg-dir.
12774 (package-download-transaction): Use it to update package-alist.
12776 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12778 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12781 2013-06-17 Juri Linkov <juri@jurta.org>
12783 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12785 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12787 * emacs-lisp/package.el (package-load-descriptor):
12788 Remove `with-syntax-table' call, `read' doesn't need it.
12789 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12791 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12793 * startup.el (command-line): Expand package name returned by
12794 `package--description-file' (bug#14639).
12796 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12798 * emacs-lisp/package.el (package-load-descriptor): Do not call
12799 `emacs-lisp-mode', just use its syntax table.
12801 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12803 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12804 `font-lock-extra-managed-props' if any prettifying keyword is added.
12805 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12806 (prog-mode): Use `setq-local'.
12808 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12810 * international/characters.el (standard-case-table): Set syntax of ?»
12811 and ?« to punctuation.
12813 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12815 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12816 Save relevant match data before calling `syntax-ppss' (bug#14595).
12818 2013-06-15 Juri Linkov <juri@jurta.org>
12820 * files-x.el (modify-file-local-variable-prop-line): Add local
12821 variables to the end of the existing comment on the first line.
12822 Use `file-auto-mode-skip' to skip interpreter magic line,
12823 and also skip XML declaration.
12825 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12827 * startup.el (package--builtin-versions): New var.
12828 (package-subdirectory-regexp): Remove.
12829 (package--description-file): Hard code its value instead.
12831 * emacs-lisp/package.el: Don't activate packages older than builtin.
12832 (package-obsolete-list): Rename from package-obsolete-alist, and make
12833 it into a simple list of package-desc.
12834 (package-strip-version): Remove.
12835 (package-built-in-p): Use package--builtin-versions.
12836 (package-mark-obsolete): Simplify.
12837 (package-process-define-package): Mark it obsolete if older than the
12839 (package-handle-response): Use line-end-position.
12840 (package-read-archive-contents, package--download-one-archive):
12842 (package--add-to-archive-contents): Skip if older than the builtin or
12844 (package-menu-describe-package): Fix last change.
12845 (package-list-unversioned): New var.
12846 (package-menu--generate): Use it.
12848 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12849 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12850 (autoload-builtin-package-versions): New variable.
12851 (autoload-generate-file-autoloads): Use them.
12852 Remove the list of autoloaded functions/macros from the
12853 (autoload...) comments.
12855 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12857 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12859 * simple.el (line-move-partial): Don't jump to the next screen
12860 line as soon as it becomes visible. Instead, continue enlarging
12861 the vscroll until the portion of a tall screen line that's left on
12862 display is about the height of the frame's default font.
12865 2013-06-15 Glenn Morris <rgm@gnu.org>
12867 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12868 compilation-error-regexp-alist void, or local while let-bound.
12870 * progmodes/make-mode.el (makefile-mode-syntax-table):
12871 Treat "=" as punctuation. (Bug#14614)
12873 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12875 * help-fns.el (describe-variable):
12876 Add extra line for permanent-local variables.
12878 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12880 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12881 Add export, import, library. (Bug#9164)
12882 (library): Set indent function.
12884 2013-06-14 Glenn Morris <rgm@gnu.org>
12886 * term/xterm.el (xterm--query):
12887 Stop after first matching handler. (Bug#14615)
12889 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12891 Add support for dired in saveplace.
12892 * dired.el (dired-initial-position-hook): New variable.
12893 (dired-initial-position): Call hook to place cursor position.
12894 * saveplace.el (save-place-to-alist): Add dired position.
12895 (save-place-dired-hook): New function.
12897 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12899 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12900 through a symbol rather than letrec.
12902 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12903 (package-desc): Add `dir' field.
12904 (package-desc-full-name): New function.
12905 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12906 (package-maybe-load-descriptor): Remove.
12907 (package-load-all-descriptors): Just call package-load-descriptor.
12908 (package--disabled-p): New function.
12909 (package-desc-vers, package-desc-doc): Remove aliases.
12910 (package--dir): Remove function.
12911 (package-activate): Check if a package is disabled.
12912 (package-process-define-package): New function, extracted from
12914 (define-package): Turn into a place holder.
12915 (package-unpack-single, package-tar-file-info):
12916 Use package--description-file.
12917 (package-compute-transaction): Use package--disabled-p.
12918 (package-download-transaction): Don't call
12919 package-maybe-load-descriptor since they're all loaded anyway.
12920 (package-install): Change argument to be a pkg-desc.
12921 (package-delete): Use a single pkg-desc argument.
12922 (describe-package-1): Use package-desc-dir instead of package--dir.
12923 Use package-desc property instead of package-symbol.
12924 (package-install-button-action): Adjust accordingly.
12925 (package--push): Rewrite.
12926 (package-menu--print-info): Adjust accordingly. Change the ID format
12928 (package-menu-describe-package, package-menu-get-status)
12929 (package-menu--find-upgrades, package-menu-mark-upgrades)
12930 (package-menu-execute, package-menu--name-predicate):
12931 Adjust accordingly.
12932 * startup.el (package--description-file): New function.
12933 (command-line): Use it.
12934 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12935 Use package-desc-version.
12937 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12938 (byte-compile-preprocess): Use it.
12939 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12940 can't quite recognize.
12941 (byte-compile-add-to-list): Remove.
12942 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12943 (cconv-closure-convert): Add assertion.
12945 * emacs-lisp/map-ynp.el: Use lexical-binding.
12946 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12947 Factor out some repeated code.
12949 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12951 * subr.el (with-eval-after-load): New macro.
12952 (eval-after-load): Allow form to be a function.
12953 take advantage of lexical-binding.
12954 (do-after-load-evaluation): Use dolist and adjust to new format.
12955 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12957 2013-06-13 Juri Linkov <juri@jurta.org>
12959 * replace.el (perform-replace): Display "symbol " and other search
12960 modes from `isearch-message-prefix' in the *Help* buffer.
12962 * isearch.el (isearch-query-replace): Add " symbol" and other
12963 possible search modes from `isearch-message-prefix' to the prompt.
12964 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12965 when reading a regexp to collect.
12967 2013-06-13 Juri Linkov <juri@jurta.org>
12969 * isearch.el (word-search-regexp): Match whitespace if the search
12970 string begins or ends in whitespace. The LAX arg is applied to
12971 both ends of the search string. Use `regexp-quote' and explicit
12972 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12973 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12974 boundaries are replaced with symbol boundaries, and characters
12975 between symbols match non-word non-symbol syntax. (Bug#14602)
12977 2013-06-13 Juri Linkov <juri@jurta.org>
12979 * isearch.el (isearch-del-char): Don't exceed the length of
12980 `isearch-string' by the prefix arg. (Bug#14563)
12982 2013-06-13 Juri Linkov <juri@jurta.org>
12984 * isearch.el (isearch-yank-word, isearch-yank-line)
12985 (isearch-char-by-name, isearch-quote-char)
12986 (isearch-printing-char, isearch-process-search-char):
12987 Add optional count prefix arg. (Bug#14563)
12989 * international/isearch-x.el
12990 (isearch-process-search-multibyte-characters):
12991 Add optional count prefix arg.
12993 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12995 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12996 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12999 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13001 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13003 2013-06-13 Glenn Morris <rgm@gnu.org>
13005 * startup.el (tty-handle-args):
13006 Don't just discard "--" and anything after. (Bug#14608)
13008 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13010 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13012 Implement changes in Secret Service API. Make it backward compatible.
13013 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13014 (secrets-create-item): Use it. Prefix properties with interface.
13016 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13018 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13019 (term-emulate-terminal): Respect term-suppress-hard-newline.
13021 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13023 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13024 Only remove a `thumb-file' overlay. (Bug#14548)
13026 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13028 * mail/reporter.el (reporter-submit-bug-report):
13029 Handle missing package-name. (Bug#14600)
13031 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13033 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13034 (reftex-citation-prompt, reftex-default-bibliography)
13035 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13036 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13037 (reftex-bib-sort-author, reftex-bib-sort-year)
13038 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13039 (reftex-extract-bib-entries-from-thebibliography)
13040 (reftex-get-bibkey-default, reftex-get-bib-names)
13041 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13042 (reftex-format-bib-entry, reftex-parse-bibitem)
13043 (reftex-format-bibitem, reftex-do-citation)
13044 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13045 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13046 (reftex-insert-bib-matches, reftex-format-citation)
13047 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13048 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13049 existing comments into docstrings.
13051 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13053 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13055 2013-06-12 Andreas Schwab <schwab@suse.de>
13057 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13058 for auto-save files.
13060 2013-06-12 Glenn Morris <rgm@gnu.org>
13062 * ido.el (ido-delete-ignored-files): Remove.
13063 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13064 Go back to calling ido-ignore-item-p directly.
13066 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13068 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13070 * ido.el (ido-delete-ignored-files): New function,
13071 split from ido-make-file-list-1.
13072 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13073 (ido-make-file-list-1): Use ido-delete-ignored-files.
13075 2013-06-12 Leo Liu <sdl.web@gmail.com>
13077 * progmodes/octave.el (inferior-octave-startup)
13078 (inferior-octave-completion-table)
13079 (inferior-octave-track-window-width-change)
13080 (octave-eldoc-function-signatures, octave-help)
13081 (octave-find-definition): Use single quoted strings.
13082 (inferior-octave-startup-args): Change default value.
13083 (inferior-octave-startup): Do not hard code "-i" and
13084 "--no-line-editing".
13085 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13086 (inferior-octave-directory-tracker): Use it.
13087 (octave-goto-function-definition): Robustify.
13088 (octave-help): Support highlighting operators in 'See also'.
13089 (octave-find-definition): Find subfunctions only in Octave mode.
13091 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13093 * help-fns.el (help-fns--compiler-macro): If the handler function is
13094 named, then put a link to it.
13095 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13096 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13097 (cl-typep): Use it.
13098 (cl-eval-when): Simplify debug spec.
13099 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13100 compiler-macro function instead of setting `compiler-macro-file'.
13102 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13104 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13105 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13107 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13108 Daniel Hackney <dan@haxney.org>
13110 First part of Daniel Hackney's patch to package.el.
13111 * emacs-lisp/package.el: Use defstruct.
13112 (package-desc): New, main struct.
13113 (package--bi-desc, package--ac-desc): New structs, used to describe the
13114 format in external files.
13115 (package-desc-vers): Replace with package-desc-version accessor.
13116 (package-desc-doc): Replace with package-desc-summary accessor.
13117 (package-activate-1): Remove `package' arg since the pkg-vec now
13119 (define-package): Use package-desc-from-define.
13120 (package-unpack-single): Change file-name arg to be a symbol.
13121 (package--add-to-archive-contents): Use package-desc-create and new
13122 accessor functions to package--ac-desc.
13123 (package-buffer-info, package-tar-file-info): Return a package-desc.
13124 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13125 arg to be a package-desc.
13126 (package-install-file): Adjust accordingly. Use \' to match EOS.
13127 (package--from-builtin): New function.
13128 (describe-package-1, package-menu--generate): Use it.
13129 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13130 (package-generate-autoloads): Idem and return the name of the file.
13131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13132 Change pkg-info arg to be a package-desc.
13133 Use package-make-ac-desc.
13134 (package-upload-file): Use \' to match EOS.
13135 * finder.el (finder-compile-keywords): Use package-make-builtin.
13137 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13139 * vc/vc.el (vc-deduce-fileset): Change error message.
13140 (vc-read-backend): New function.
13141 (vc-next-action): Use it.
13143 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13145 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13146 (prolog-font-lock-keywords): Use regexp-opt instead.
13147 Don't manually highlight strings.
13148 (prolog-mode-variables): Simplify comment-start-skip.
13149 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13151 * emacs-lisp/generic.el (generic--normalise-comments)
13152 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13153 (generic-mode-set-comments): Use them.
13154 (generic-bracket-support): Use setq-local.
13155 (generic-make-keywords-list): Declare obsolete.
13157 2013-06-11 Glenn Morris <rgm@gnu.org>
13159 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13160 Prettify after setting font-lock-defaults. (Bug#14574)
13162 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13164 * replace.el (query-replace, occur-read-regexp-defaults-function)
13166 * subr.el (declare-function, number-sequence, local-set-key)
13167 (substitute-key-definition, locate-user-emacs-file)
13168 (with-silent-modifications, split-string, eval-after-load):
13169 Fix typos, remove unneeded backslashes and reflow some docstrings.
13171 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13173 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13174 default for Elisp files.
13176 2013-06-11 Glenn Morris <rgm@gnu.org>
13178 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13179 although define-derived-mode was doing this anyway. (Bug#14583)
13181 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13183 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13184 Fix make-variable-buffer-local call to refer to the correct variable.
13186 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13188 * eshell/em-term.el (eshell-visual-commands)
13189 (eshell-visual-subcommands, eshell-visual-options):
13190 Add summary line to docstrings. Add cross-references.
13192 2013-06-10 Glenn Morris <rgm@gnu.org>
13194 * epa.el (epa-read-file-name): New function. (Bug#14510)
13195 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13197 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13199 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13200 output redirection to be ignored with visual commands.
13202 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13204 * eshell/em-term.el (eshell-visual-command-p): New function.
13205 (eshell-term-initialize): Move long lambda to separate function
13206 eshell-visual-command-p.
13207 * eshell/em-dirs.el (eshell-dirs-initialize):
13208 * eshell/em-script.el (eshell-script-initialize):
13209 Add missing #' to lambda.
13211 2013-06-08 Leo Liu <sdl.web@gmail.com>
13213 * progmodes/octave.el (octave-add-log-current-defun): New function.
13214 (octave-mode): Set add-log-current-defun-function.
13215 (octave-goto-function-definition): Do not move point if not found.
13216 (octave-find-definition): Enhance to try subfunctions first.
13218 2013-06-08 Glenn Morris <rgm@gnu.org>
13220 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13221 (byte-compile-backward-char, byte-compile-backward-word):
13222 Improve previous change, to handle non-explicit nil.
13224 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13226 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13227 (smie--opener/closer-at-point): New function.
13228 (smie--matching-block-data): Use it. Don't match from right after an
13229 opener or right before a closer. Obey smie-blink-matching-inners.
13230 Don't signal a mismatch for repeated inners like "switch..case..case".
13232 2013-06-07 Leo Liu <sdl.web@gmail.com>
13234 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13236 (octave-function-header-regexp): Fix. (Bug#14570)
13237 (octave-help-mode-finish-hook, octave-help-mode-finish):
13238 Remove. Just use temp-buffer-show-hook.
13240 * newcomment.el (comment-search-backward): Revert last change.
13243 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13245 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13247 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13248 through xargs, to avoid failure due to MS-Windows limitations on
13249 command-line length.
13251 2013-06-06 Glenn Morris <rgm@gnu.org>
13253 * font-lock.el (lisp-font-lock-keywords-2):
13254 Treat user-error like error.
13256 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13257 (byte-compile-backward-char, byte-compile-backward-word):
13258 Handle explicit nil arguments. (Bug#14565)
13260 2013-06-05 Alan Mackenzie <acm@muc.de>
13262 * isearch.el (isearch-allow-prefix): New user option.
13263 (isearch-other-meta-char): Don't exit isearch when a prefix
13264 argument is typed whilst `isearch-allow-prefix' is non-nil.
13267 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13269 * autorevert.el (auto-revert-notify-handler): Use memq.
13270 Hide assertion failure.
13272 * skeleton.el: Use cl-lib.
13273 (skeleton-further-elements): Use defvar-local.
13274 (skeleton-insert): Use cl-progv.
13276 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13278 * progmodes/prog-mode.el (prog-prettify-symbols)
13279 (prog-prettify-install): Update docstrings.
13281 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13283 * simple.el: Move all the prog-mode code to prog-mode.el.
13284 * progmodes/prog-mode.el: New file.
13285 * loadup.el: Add prog-mode.el.
13287 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13289 * simple.el (prog-prettify-symbols): Add version.
13290 (prog-prettify-install): Add convenience function to prettify symbols.
13292 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13293 (perl--augmented-font-lock-keywords-1)
13294 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13295 variables and use it.
13297 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13298 (cfengine3-mode): Remove unneeded variable and use it.
13300 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13301 (lisp--augmented-font-lock-keywords-1)
13302 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13303 Remove unneeded variables and use it.
13305 2013-06-05 João Távora <joaotavora@gmail.com>
13307 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13308 to point when opening the connection. (Bug#14380)
13310 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13312 * subr.el (load-history-regexp, load-history-filename-element)
13313 (eval-after-load, after-load-functions, do-after-load-evaluation)
13314 (eval-next-after-load, display-delayed-warnings)
13315 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13316 definition of save-match-data.
13317 (overriding-local-map): Remove accidental obsolescence declaration.
13319 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13321 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13323 Generalize symbol prettify support to prog-mode and implement it
13324 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13325 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13326 (prog--prettify-font-lock-compose-symbol)
13327 (prog-prettify-font-lock-symbols-keywords): New variables and
13328 functions to support symbol prettification.
13329 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13330 (lisp--augmented-font-lock-keywords-1)
13331 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13332 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13333 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13334 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13335 Implement prettify of -> => :: strings.
13336 * progmodes/perl-mode.el (perl-prettify-symbols)
13337 (perl--font-lock-compose-symbol)
13338 (perl--font-lock-symbols-keywords): Move to prog-mode.
13339 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13340 (perl-font-lock-keywords-1)
13341 (perl-font-lock-keywords-2): Remove explicit prettify support.
13342 (perl--augmented-font-lock-keywords)
13343 (perl--augmented-font-lock-keywords-1)
13344 (perl--augmented-font-lock-keywords-2, perl-mode):
13345 Implement prettify support.
13347 2013-06-05 Leo Liu <sdl.web@gmail.com>
13349 Re-implement SMIE matching block highlight using
13350 show-paren-data-function. (Bug#14395)
13351 * emacs-lisp/smie.el (smie-matching-block-highlight)
13352 (smie--highlight-matching-block-overlay)
13353 (smie--highlight-matching-block-lastpos)
13354 (smie-highlight-matching-block)
13355 (smie-highlight-matching-block-mode): Remove.
13356 (smie--matching-block-data-cache): New variable.
13357 (smie--matching-block-data): New function.
13358 (smie-setup): Use smie--matching-block-data for
13359 show-paren-data-function.
13361 * progmodes/octave.el (octave-mode-menu): Fix.
13362 (octave-find-definition): Skip garbage lines.
13364 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13366 Fix compilation error with simultaneous dynamic+lexical scoping.
13367 Add warning when a defvar appears after the first let-binding.
13368 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13369 (byte-compile-close-variables): Initialize it.
13370 (byte-compile--declare-var): New function.
13371 (byte-compile-file-form-defvar)
13372 (byte-compile-file-form-define-abbrev-table)
13373 (byte-compile-file-form-custom-declare-variable): Use it.
13374 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13375 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13376 (byte-compile-bind): Handle dynamic bindings that shadow
13378 (byte-compile-unbind): Make arg non-optional.
13379 (byte-compile-let): Simplify.
13380 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13381 (cconv--analyse-function, cconv-analyse-form): Populate it.
13382 Protect byte-compile-bound-variables to limit the scope of defvars.
13383 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13384 Remove unneeded rule for `declare'.
13386 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13387 so as to avoid depending on cl-adjoin at run-time.
13388 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13390 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13391 (macroexp--warn-and-return): Use it.
13393 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13395 * subr.el: Convert to lexical binding.
13396 (overriding-local-map): Make obsolete.
13397 (add-to-list): Doc fix. Add compiler macro.
13398 (read-key): Swap values of local maps.
13400 2013-06-05 Leo Liu <sdl.web@gmail.com>
13402 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13404 2013-06-04 Leo Liu <sdl.web@gmail.com>
13406 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13407 (compilation-auto-jump): Suppress the "Mark set" message to give
13408 way to exit message.
13410 2013-06-04 Alan Mackenzie <acm@muc.de>
13412 Remove faulty optimisation from indentation calculation.
13413 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13414 search limit based on 2000 characters back from indent-point.
13416 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13418 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13420 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13422 * emacs-lisp/lisp.el: Use lexical-binding.
13423 (lisp--local-variables-1, lisp--local-variables): New functions.
13424 (lisp--local-variables-completion-table): New var.
13425 (lisp-completion-at-point): Use it complete let-bound vars.
13427 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13428 eagerly (bug#14422).
13430 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13432 * autorevert.el (auto-revert-notify-enabled)
13433 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13434 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13435 (auto-revert-notify-handler): Handle also gfilenotify.
13437 * subr.el (file-notify-handle-event): New defun. Replacing ...
13438 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13441 2013-06-03 Juri Linkov <juri@jurta.org>
13443 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13444 `M-s h .'. (Bug#14427)
13446 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13447 command `hi-lock-face-symbol-at-point'.
13448 (hi-lock-face-symbol-at-point): New command.
13449 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13450 (hi-lock-menu): Add `highlight-symbol-at-point'.
13451 (hi-lock-mode): Doc fix.
13453 * isearch.el (isearch-forward-symbol-at-point): New command.
13454 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13455 (isearch-highlight-regexp): Add a regexp which matches
13456 words/symbols for word/symbol mode.
13458 * subr.el (find-tag-default-bounds): New function with the body
13459 mostly moved from `find-tag-default'.
13460 (find-tag-default): Move most code to `find-tag-default-bounds',
13461 call it and apply `buffer-substring-no-properties' afterwards.
13463 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13465 * eshell/em-term.el (eshell-term-initialize):
13466 Use `cl-intersection' rather than `intersection'.
13468 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13470 * vc/log-view.el: Doc fix.
13471 (log-view-mode-map): Copy keymap from `special-mode-map'.
13473 2013-06-02 Eric Ludlam <zappo@gnu.org>
13475 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13476 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13477 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13478 (eieio-unbound, eieio-default-superclass)
13479 (eieio--define-field-accessors, method-static, method-before)
13480 (method-primary, method-after, method-num-lists)
13481 (method-generic-before, method-generic-primary)
13482 (method-generic-after, method-num-slots)
13483 (eieio-specialized-key-to-generic-key)
13484 (eieio--check-type, class-v, class-p)
13485 (eieio-class-name, define-obsolete-function-alias)
13486 (eieio-class-parents-fast, eieio-class-children-fast)
13487 (same-class-fast-p, class-constructor, generic-p)
13488 (generic-primary-only-p, generic-primary-only-one-p)
13489 (class-option-assoc, class-option, eieio-object-p)
13490 (class-abstract-p, class-method-invocation-order)
13491 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13492 (eieio-class-un-autoload, eieio-defclass)
13493 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13494 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13495 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13496 (eieio-defgeneric-reset-generic-form)
13497 (eieio-defgeneric-form-primary-only)
13498 (eieio-defgeneric-reset-generic-form-primary-only)
13499 (eieio-defgeneric-form-primary-only-one)
13500 (eieio-defgeneric-reset-generic-form-primary-only-one)
13501 (eieio-unbind-method-implementations)
13502 (eieio--defmethod, eieio--typep)
13503 (eieio-perform-slot-validation, eieio-validate-slot-value)
13504 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13505 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13506 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13507 (eieio-slot-name-index, eieio-class-slot-name-index)
13508 (eieio-set-defaults, eieio-initarg-to-attribute)
13509 (eieio-attribute-to-initarg, eieio-c3-candidate)
13510 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13511 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13512 (eieio-class-precedence-list, eieio-generic-call-methodname)
13513 (eieio-generic-call-arglst, eieio-generic-call-key)
13514 (eieio-generic-call-next-method-list)
13515 (eieio-pre-method-execution-functions, eieio-generic-call)
13516 (eieio-generic-call-primary-only, eieiomt-method-list)
13517 (eieiomt-optimizing-obarray, eieiomt-install)
13518 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13519 (eieio-generic-form, eieio-defmethod, make-obsolete)
13520 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13521 (defclass): Remove `eval-and-compile' from macro.
13522 (call-next-method, shared-initialize): Instead of using
13523 `scoped-class' variable, use new eieio--scoped-class, and
13524 eieio--with-scoped-class.
13525 (initialize-instance): Rename local variable 'scoped-class' to
13526 'this-class' to remove ambiguitity from old global.
13528 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13530 (eieio--scoped-class-stack): New variable.
13531 (eieio--scoped-class): New fcn.
13532 (eieio--with-scoped-class): New scoping macro.
13533 (eieio-defclass): Use pushnew instead of add-to-list.
13534 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13535 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13536 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13537 `scoped-class' variable, use new eieio--scoped-class, and
13538 eieio--with-scoped-class.
13540 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13542 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13544 * eshell/esh-ext.el (eshell-external-command): Pass args to
13545 `eshell-find-interpreter'.
13546 (eshell-find-interpreter): Add new second parameter ARGS.
13548 * eshell/em-script.el (eshell-script-initialize): Add second arg
13549 to the function added as MATCH to `eshell-interpreter-alist'.
13551 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13552 the function added as MATCH to `eshell-interpreter-alist'.
13554 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13555 (eshell-visual-options): New defcustom.
13556 (eshell-escape-control-x): Adapt docstring.
13557 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13558 `eshell-visual-options' in addition to `eshell-visual-commands'.
13559 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13561 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13563 * progmodes/python.el (python-indent-block-enders): Add break,
13564 continue and raise keywords.
13566 2013-06-01 Glenn Morris <rgm@gnu.org>
13568 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13570 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13571 * progmodes/cc-cmds.el (delete-forward-p):
13572 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13573 * progmodes/cc-engine.el (buffer-syntactic-context):
13574 * progmodes/cc-fonts.el (face-property-instance):
13575 * progmodes/cc-mode.el (set-keymap-parents):
13576 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13577 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13578 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13579 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13580 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13582 * progmodes/cc-vars.el (other): Emacs has this widget since
13583 at least 21.1, so don't (re)define it.
13585 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13586 Replace the obsolete alias pcomplete-arg-quote-list.
13588 2013-06-01 Leo Liu <sdl.web@gmail.com>
13590 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13591 punctuation syntax.
13592 (inferior-octave-minimal-columns)
13593 (inferior-octave-last-column-width): New variables.
13594 (inferior-octave-track-window-width-change): New function.
13595 (inferior-octave-mode): Adjust column width so that Octave output,
13596 for example from 'ls', can fit into the window nicely.
13598 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13600 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13601 Highlight expansions inside regexp literals.
13603 2013-05-31 Glenn Morris <rgm@gnu.org>
13605 * obsolete/sym-comp.el (symbol-complete):
13606 Replace obsolete completion-annotate-function.
13608 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13610 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13612 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13613 New function, checks if point is inside a literal that allows
13614 expression expansion.
13615 (ruby-syntax-propertize-expansion): Use it.
13616 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13619 2013-05-30 Juri Linkov <juri@jurta.org>
13621 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13623 (isearch-invisible): New variable.
13624 (isearch-forward): Doc fix.
13625 (isearch-mode): Set `isearch-invisible'
13626 to the value of `search-invisible'.
13627 (isearch-toggle-case-fold): Doc fix.
13628 (isearch-toggle-invisible): New command.
13629 (isearch-query-replace): Let-bind `search-invisible'
13630 to the value of `isearch-invisible'.
13631 (isearch-search): Use `isearch-invisible' instead of
13632 `search-invisible'. Let-bind `search-invisible'
13633 to the value of `isearch-invisible'. (Bug#11378)
13635 2013-05-30 Juri Linkov <juri@jurta.org>
13637 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13638 call when `query-flag' is nil and `search-invisible' is non-nil.
13641 2013-05-30 Glenn Morris <rgm@gnu.org>
13643 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13645 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13646 (cc-require): Suppress spurious "noruntime" warnings.
13647 (cc-require-when-compile): Use fboundp, for sake of compiler.
13649 * progmodes/cc-mode.el: Move load of cc-vars before that of
13650 cc-langs (which in turn loads cc-vars), to quieten compiler.
13652 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13654 * paren.el: Simplify the code.
13655 (show-paren-mode): Always start the timer.
13656 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13657 (show-paren--overlay, show-paren--overlay-1): Rename from
13658 show-paren-overlay and show-paren-overlay-1, and initialize to an
13659 overlay rather than to nil.
13660 (show-paren-function): Misc cleanup and simplifications.
13662 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13664 * paren.el (show-paren-data-function): New hook.
13665 (show-paren--default): New function, extracted from show-paren-function.
13666 (show-paren-function): Use show-paren-data-function.
13668 2013-05-30 Glenn Morris <rgm@gnu.org>
13670 * ielm.el (ielm-map, ielm-complete-symbol):
13671 Use completion-at-point rather than obsolete functions.
13672 (inferior-emacs-lisp-mode): Doc fix.
13673 Set completion-at-point-functions, rather than
13674 comint-dynamic-complete-functions.
13676 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13677 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13678 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13680 * image.el (image-animated-p): Tweak definition.
13682 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13683 (rlogin-process-connection-type): Tweak default. Add set-after.
13684 (rlogin-host): Doc fix.
13685 (rlogin): Tweak prompt.
13686 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13688 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13689 * progmodes/tcl.el (inferior-tcl-mode-map):
13690 Use completion-at-point rather than obsolete alias.
13692 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13694 * minibuffer.el (read-file-name-completion-ignore-case):
13695 Move before completion--in-region, for eager macro expansion.
13697 2013-05-29 Juri Linkov <juri@jurta.org>
13699 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13700 for total count of matching lines. Add `global-matches' for total
13701 count of matches. Rename `matches' to `lines' for count of
13702 matching lines. Add `matches' for count of matches.
13703 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13704 to `prev-line' for line number of prev match endpt.
13705 Increment `matches' for every match. Print the number of
13706 matching lines in the header.
13707 (occur-context-lines): Rename `lines' to `curr-line'.
13708 Rename `prev-lines' to `prev-line'. (Bug#14017)
13710 2013-05-29 Juri Linkov <juri@jurta.org>
13712 * replace.el (perform-replace): Add `skip-read-only-count',
13713 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13714 Increment them for corresponding conditions and report the number
13715 of skipped occurrences in the final message. (Bug#11746)
13716 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13717 (replace-string, replace-regexp): Doc fix.
13719 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13721 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13723 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13724 prog-mode-map (bug#14504).
13726 2013-05-29 Leo Liu <sdl.web@gmail.com>
13728 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13729 (octave-help): Small simplification.
13731 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13732 off the highlight first.
13734 2013-05-29 Glenn Morris <rgm@gnu.org>
13736 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13737 Handle idlwave-last-system-routine-info-cons-cell being nil.
13739 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13740 (idlwave-write-paths): Simplify via with-temp-buffer.
13742 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13743 * emulation/cua-rect.el: Also load cua-base at run time.
13745 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13746 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13747 (cperl-imenu-on-info): Require imenu.
13749 2013-05-28 Alan Mackenzie <acm@muc.de>
13751 Handle "capitalised keywords" correctly.
13752 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13754 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13756 * eshell/em-unix.el: Add -r option to cp.
13758 2013-05-28 Glenn Morris <rgm@gnu.org>
13760 * vc/vc-arch.el (vc-exec-after): Declare.
13761 (vc-switches): Autoload.
13762 * vc/vc-bzr.el: No need to require vc when compiling.
13763 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13764 (vc-resynch-buffer, vc-dir-refresh): Declare.
13765 (vc-setup-buffer, vc-switches): Autoload.
13766 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13767 (vc-resynch-buffer): Declare.
13768 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13769 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13770 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13771 (grep-read-regexp, grep-read-files, grep-expand-template)
13772 (vc-dir-refresh): Declare.
13773 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13774 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13775 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13776 * vc/vc-mtn.el (vc-exec-after): Declare.
13777 (vc-switches): Autoload.
13778 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13779 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13780 (vc-file-tree-walk): Declare.
13781 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13782 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13783 (vc-tag-precondition, vc-rename-master): Autoload.
13784 * vc/vc-svn.el (vc-exec-after): Declare.
13785 (vc-switches, vc-setup-buffer): Autoload.
13786 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13788 (vc-resynch-buffer): Declare.
13790 * obsolete/fast-lock.el (byte-compile-warnings):
13791 Don't warn about obsolete features in this obsolete file.
13793 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13794 Move definition before use.
13796 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13797 (dun-unix-verbs): Remove dun-zippy.
13798 (dun-zippy): Remove function.
13800 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13802 2013-05-27 Juri Linkov <juri@jurta.org>
13804 * replace.el (replace-search): New function with code moved out
13805 from `perform-replace'.
13806 (replace-highlight, replace-dehighlight): Move function definitions
13807 up closer to `replace-search'. (Bug#11746)
13809 2013-05-27 Juri Linkov <juri@jurta.org>
13811 * replace.el (perform-replace): Ignore invisible matches.
13812 In addition to checking `query-replace-skip-read-only', also
13813 filter out matches by calling `run-hook-with-args-until-failure'
13814 on `isearch-filter-predicates', and also check `search-invisible'
13815 for t or call `isearch-range-invisible'.
13816 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13818 2013-05-27 Juri Linkov <juri@jurta.org>
13820 * isearch.el (isearch-filter-predicates): Rename from
13821 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13822 (isearch-message-prefix): Display text from the property
13823 `isearch-message-prefix' of the currently active filters.
13824 (isearch-search): Don't compare `isearch-filter-predicate' with
13825 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13826 on `isearch-filter-predicates'. Also check `search-invisible' for t
13827 or call `isearch-range-invisible'.
13828 (isearch-filter-visible): Make obsolete.
13829 (isearch-lazy-highlight-search):
13830 Call `run-hook-with-args-until-failure' on
13831 `isearch-filter-predicates' and use `isearch-range-invisible'.
13833 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13834 `isearch-filter-predicates' instead of `funcall'ing
13835 `isearch-filter-predicate'.
13836 (Info-mode): Set `Info-isearch-filter' to
13837 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13839 * dired-aux.el (dired-isearch-filter-predicate-orig):
13841 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13842 (dired-isearch-filenames-end): Add and remove
13843 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13844 instead of changing the value of `isearch-filter-predicate'.
13845 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13846 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13847 Put property `isearch-message-prefix' to "filename " on
13848 `dired-isearch-filter-filenames'.
13850 * wdired.el (wdired-change-to-wdired-mode):
13851 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13852 locally instead of changing `isearch-filter-predicate'.
13853 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13855 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13857 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13858 return the commit hash (Bug#14459). Also set the
13859 `vc-git-detached' property.
13860 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13861 (vc-git-mode-line-string): Use the same help-echo format whether
13862 in detached mode or not, because we know the actual revision now.
13863 When in detached mode, shorten the revision to 7 chars.
13865 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * emacs-lisp/easy-mmode.el (define-minor-mode):
13868 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13869 mode hook and provide a docstring.
13871 2013-05-27 Alan Mackenzie <acm@muc.de>
13873 Remove spurious syntax-table text properties inserted by C-y.
13874 * progmodes/cc-mode.el (c-after-change): Also clear hard
13875 syntax-table property with value nil.
13877 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13879 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13880 when reading the events; the buffer layout shall not be changed.
13882 2013-05-27 Leo Liu <sdl.web@gmail.com>
13884 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13886 (inferior-octave-directory-tracker): Automatically re-sync
13888 (octave-help): Improve handling of 'See also'.
13890 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13892 * doc-view.el: Minor naming convention tweaks.
13893 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13895 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13896 even if there's no `display' property yet (bug#14435).
13898 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13900 * subr.el (unmsys--file-name): Rename from reveal-filename.
13902 * Makefile.in (custom-deps, finder-data, autoloads)
13903 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13904 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13905 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13907 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13909 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13910 error-completion on the first 2 args of condition-case (bug#14446).
13913 2013-05-25 Leo Liu <sdl.web@gmail.com>
13915 * comint.el (comint-previous-matching-input): Do not flood the
13916 *Messages* buffer with trivial messages.
13918 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13920 * progmodes/flymake.el (flymake-nop): Don't return a string.
13921 (flymake-set-at): Fix typo.
13923 * simple.el (read--expression): New function, extracted from
13924 eval-expression. Set completion-at-point-functions (bug#14465).
13925 (eval-expression, eval-minibuffer): Use it.
13927 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13929 * progmodes/flymake.el (flymake-save-buffer-in-file)
13930 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13931 (flymake-selected-frame, flymake-log, flymake-ins-after)
13932 (flymake-set-at, flymake-get-buildfile-from-cache)
13933 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13934 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13935 Refine the doc string.
13936 (flymake-get-file-name-mode-and-masks): Reformat.
13937 (flymake-get-real-file-name-function): Fix a minor bug.
13939 2013-05-24 Juri Linkov <juri@jurta.org>
13941 * progmodes/grep.el (grep-mode-font-lock-keywords):
13942 Support =linenumber= format used by git-grep for lines with
13943 function names. (Bug#13549)
13945 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13947 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13948 0 after a semi-colon; it works better for smie-auto-fill.
13949 (octave--indent-new-comment-line): New function.
13950 (octave-indent-new-comment-line): Use it (indirectly).
13951 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13952 modify comment-line-break-function.
13954 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13955 (smie-setup): Use add-function to set it.
13957 2013-05-24 Sam Steingold <sds@gnu.org>
13959 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13960 argument (before the `interactive' argument).
13962 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13964 * image-mode.el (image-mode-winprops): Add winprops to
13965 image-mode-winprops-alist before running
13966 image-mode-new-window-functions.
13967 * doc-view.el (doc-view-new-window-function): Don't delay
13968 doc-view-goto-page via timers (bug#14435).
13970 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13972 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13973 (doc-view-desktop-save-buffer): New function.
13974 (doc-view-restore-desktop-buffer): New function.
13975 (desktop-buffer-mode-handlers):
13976 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13978 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13979 `desktop-save-buffer' function.
13981 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13983 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13984 (tramp-gvfs-file-name-handler): Raise a user error when
13985 `tramp-gvfs-enabled' is nil.
13986 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13987 Do not raise a user error when loading package. (Bug#14447)
13989 * net/xesam.el: Move to obsolete/.
13991 2013-05-24 Glenn Morris <rgm@gnu.org>
13993 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13995 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13997 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13998 (Info-find-node, Man-getpage-in-background): Declare.
14000 * mail/unrmail.el (unrmail):
14001 Replace obsolete detect-coding-with-priority.
14003 * net/socks.el (socks-split-string): Use this rather than split-string.
14004 (socks-nslookup-host): Update for above change.
14005 (dynamic-choice, s5-dynamic-choice-match)
14006 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14007 Comment out unused code.
14009 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14010 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14011 (gud-tooltip-echo-area): Make obsolete.
14012 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14014 * progmodes/js.el (js--optimize-arglist): Declare.
14016 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14018 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14019 (ediff-window-C): Declare.
14021 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14022 Tweak requires to silence compiler.
14024 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14025 (he-search-string, he-tried-table, he-expand-list)
14026 (he-init-string, he-string-member, he-substitute-string)
14027 (he-reset-string): Declare.
14029 * obsolete/options.el (list-options): Use custom-variable-p,
14030 rather than obsolete alias.
14032 2013-05-23 Sam Steingold <sds@gnu.org>
14034 * simple.el (shell-command-on-region): Pass the `replace' argument
14035 down to `call-process-region' to comply with the doc as reported on
14036 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14038 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14040 * emacs-lisp/smie.el (smie-indent-forward-token)
14041 (smie-indent-backward-token): Handle string tokens (bug#14381).
14043 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14045 * ielm.el (ielm-menu): New menu.
14046 (inferior-emacs-lisp-mode): Set comment-start.
14048 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14050 * textmodes/reftex.el (reftex-ref-style-toggle):
14051 Fix deactivate action.
14053 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14054 Add cleveref macros.
14056 * textmodes/reftex-parse.el
14057 (reftex-locate-bibliography-files): Accept options for
14058 bibliography commands.
14059 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14060 Add addbibresource. Basic Biblatex support.
14062 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14064 * net/tramp-gvfs.el (top):
14065 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14066 when loading package. (Bug#14447)
14068 2013-05-23 Glenn Morris <rgm@gnu.org>
14070 * progmodes/js.el: No need to load comint when compiling.
14071 (ring-insert, comint-send-string, comint-send-input)
14072 (comint-last-input-end, ido-chop): Declare.
14074 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14075 * vc/ediff-mult.el: Adjust requires.
14076 (ediff-directories-internal, ediff-directory-revisions-internal)
14077 (ediff-patch-file-internal): Declare.
14078 * vc/ediff-ptch.el: Adjust requires.
14079 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14080 (ediff-find-file): Autoload.
14081 * vc/ediff-util.el: No need to load ediff when compiling.
14082 (ediff-regions-internal): Declare.
14083 * vc/ediff-wind.el: Adjust requires.
14084 (ediff-compute-toolbar-width): Define when compiling.
14085 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14086 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14087 (dired-get-filename, dired-get-marked-files)
14088 (ediff-last-dir-patch, ediff-patch-default-directory)
14089 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14090 (ediff-patch-buffer-internal): Declare.
14092 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14093 (ispell-process, ispell-buffer-local-words, lm-summary)
14094 (lm-section-start, lm-section-end): Declare.
14095 (checkdoc-ispell-init): Simplify.
14097 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14098 (he-string-member, he-reset-string, he-substitute-string): Declare.
14100 * eshell/em-ls.el: Adjust requires.
14101 (eshell-glob-regexp): Declare.
14102 * eshell/em-tramp.el: Adjust requires.
14103 (eshell-parse-command): Autoload.
14104 * eshell/em-xtra.el: Adjust requires.
14105 (eshell-parse-command): Autoload.
14106 * eshell/esh-ext.el: Adjust requires.
14107 (eshell-parse-command, eshell-close-handles): Autoload.
14108 * eshell/esh-io.el: Adjust requires.
14109 (eshell-output-filter): Autoload.
14110 * eshell/esh-util.el: No need to load tramp when compiling.
14111 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14113 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14114 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14115 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14116 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14117 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14118 * eshell/esh-opt.el, eshell/esh-proc.el:
14119 * eshell/esh-var.el: Adjust requires.
14120 * eshell/eshell.el: Do not require esh-util twice.
14121 (eshell-add-input-to-history): Declare.
14122 (eshell-command): Check history module is active before using it.
14124 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14126 2013-05-22 Leo Liu <sdl.web@gmail.com>
14128 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14130 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14132 * autorevert.el (auto-revert-notify-add-watch)
14133 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14134 it indicates changes in file modification time.
14136 2013-05-22 Glenn Morris <rgm@gnu.org>
14138 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14139 Always delete the autoloaded function from the noruntime and
14140 unresolved functions lists.
14142 * allout.el: No need to load epa, epg, overlay when compiling.
14143 (epg-context-set-passphrase-callback, epg-list-keys)
14144 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14145 (epg-key-user-id-list): Declare.
14147 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14148 (viper-set-parsing-style-toggling-macro)
14149 (viper-set-emacs-state-searchstyle-macros):
14150 Use called-interactively-p on Emacs.
14151 (viper-looking-back): Make it an obsolete alias. Update callers.
14152 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14153 Use looking-back rather than viper-looking-back.
14154 (viper-tmp-insert-at-eob, viper-enlarge-region)
14155 (viper-read-string-with-history, viper-register-to-point)
14156 (viper-append-to-register, viper-change-state-to-vi)
14157 (viper-backward-char-carefully, viper-forward-char-carefully)
14158 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14159 (viper-change-state-to-emacs): Declare.
14160 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14161 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14162 * emulation/viper-mous.el: Do not load viper-cmd.
14163 (viper-backward-char-carefully, viper-forward-char-carefully)
14164 (viper-forward-word, viper-adjust-window): Declare.
14166 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14168 * progmodes/idlw-help.el (idlwave-help-fontify):
14169 Use called-interactively-p.
14171 * term/w32console.el (w32-get-console-codepage)
14172 (w32-get-console-output-codepage): Declare.
14174 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14175 Remove unnecessary declarations.
14176 (dframe-message): Doc fix.
14178 * info.el (dframe-select-attached-frame, dframe-current-frame):
14181 * speedbar.el (speedbar-message): Make it an obsolete alias.
14182 Update all callers.
14183 (speedbar-with-attached-buffer)
14184 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14185 (speedbar-with-writable): Use backquote.
14186 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14187 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14188 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14189 rather than speedbar- aliases.
14190 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14191 (speedbar-make-specialized-keymap, speedbar-insert-button)
14192 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14193 (speedbar-do-function-pointer): Declare.
14194 (rmail-speedbar-button, rmail-speedbar-find-file)
14195 (rmail-speedbar-move-message):
14196 Use dframe-with-attached-buffer rather than speedbar- alias.
14197 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14198 (dframe-message, speedbar-make-specialized-keymap)
14199 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14200 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14201 (speedbar-insert-button, dframe-select-attached-frame)
14202 (dframe-maybee-jump-to-attached-frame)
14203 (speedbar-change-initial-expansion-list)
14204 (speedbar-previously-used-expansion-list-name): Declare.
14205 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14206 Use dframe-message, dframe-with-attached-buffer rather than
14208 (gud-sentinel): Silence compiler.
14209 * progmodes/vhdl-mode.el (speedbar-refresh)
14210 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14211 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14212 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14213 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14214 (speedbar-file-lists, speedbar-make-tag-line)
14215 (speedbar-line-directory, speedbar-goto-this-file)
14216 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14217 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14218 (speedbar-make-button, speedbar-reset-scanners)
14219 (speedbar-files-item-info, speedbar-line-text)
14220 (speedbar-find-file-in-frame, speedbar-set-timer)
14221 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14222 (speedbar-with-writable): Do not (re)define it.
14223 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14224 rather than speedbar- alias.
14226 2013-05-21 Leo Liu <sdl.web@gmail.com>
14228 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14230 (octave-mode): Tweak fill-nobreak-predicate.
14231 (inferior-octave-startup): Check process to avoid infinite loop.
14232 (inferior-octave): Pop to buffer first to show abornmal process
14235 2013-05-21 Glenn Morris <rgm@gnu.org>
14237 * printing.el (pr-menu-bar): Define when compiling.
14239 2013-05-21 Leo Liu <sdl.web@gmail.com>
14241 * progmodes/octave.el (octave-auto-fill): Remove.
14242 (octave-indent-new-comment-line): Improve.
14243 (octave-mode): Use auto fill mode through
14244 comment-line-break-function and fill-nobreak-predicate.
14245 (octave-goto-function-definition): Support DEFUN_DLD.
14246 (octave-beginning-of-defun): Small tweak.
14247 (octave-help): Show parent directory.
14249 2013-05-21 Glenn Morris <rgm@gnu.org>
14251 * files.el (dired-unmark):
14252 * progmodes/gud.el (gdb-input): Update declarations.
14254 * calculator.el (electric, ehelp): No need to load when compiling.
14255 (Electric-command-loop, electric-describe-mode): Declare.
14257 * doc-view.el (doc-view-current-converter-processes): Move before use.
14259 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14260 Move MODE-set-explicitly definition before use.
14262 * international/mule-diag.el (mule-diag):
14263 Don't use obsolete window-system-version.
14265 * mail/feedmail.el (smtpmail): No need to load when compiling.
14266 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14268 * mail/mail-utils.el (rfc822): No need to load when compiling.
14269 (rfc822-addresses): Autoload it.
14270 (mail-strip-quoted-names): Trivial simplification.
14272 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14273 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14275 * net/snmp-mode.el (tempo): Don't duplicate requires.
14277 * progmodes/prolog.el (info): No need to load when compiling.
14278 (comint): Require before shell requires it.
14279 (Info-goto-node): Autoload it.
14280 (Info-follow-nearest-node): Declare.
14281 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14283 * textmodes/artist.el (picture-mode-exit): Declare.
14285 * textmodes/reftex-parse.el (reftex-parse-from-file):
14286 Trivial rewrite so the compiler can parse it better.
14288 2013-05-20 Leo Liu <sdl.web@gmail.com>
14290 * progmodes/octave.el (octave-help-mode-map)
14291 (octave-help-mode-finish-hook): New variables.
14292 (octave-help-mode, octave-help-mode-finish): New functions.
14293 (octave-help): Use octave-help-mode.
14295 2013-05-20 Glenn Morris <rgm@gnu.org>
14297 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14299 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14301 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14302 start at point, so that expansion starting right after opening
14303 slash in a regexp is recognized.
14304 (ruby-syntax-before-regexp-re): New defvar, extracted from
14305 ruby-syntax-propertize-function. Since the value of this regexp
14306 is looked up at runtime now, we should be able to turn
14307 `ruby-syntax-methods-before-regexp' into a defcustom later.
14308 (ruby-syntax-propertize-function): Split regexp matching into two
14309 parts, for opening and closing slashes. That allows us to skip
14310 over string interpolations and support multiline regexps.
14311 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14312 for them, which calls `ruby-syntax-propertize-expansion'.
14313 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14314 call to `ruby-syntax-propertize-function'.
14315 (ruby-syntax-propertize-expansion): Extracted from
14316 `ruby-syntax-propertize-expansions'. Handles one expansion.
14317 (ruby-syntax-propertize-percent-literal): Leave point right after
14318 the percent symbol, so that the expression expansion rule can
14319 propertize the contents.
14320 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14322 (ruby-syntax-propertize-expansions): Remove.
14324 2013-05-18 Juri Linkov <juri@jurta.org>
14326 * man.el (Man-default-man-entry): Remove `-' from the end
14327 of the default value. (Bug#14400)
14329 2013-05-18 Glenn Morris <rgm@gnu.org>
14331 * comint.el (comint-password-prompt-regexp):
14332 Allow "password for XXX" where XXX contains colons (eg https://...).
14334 2013-05-18 Leo Liu <sdl.web@gmail.com>
14336 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14337 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14338 (octave-source-directories): Don't check process.
14339 (octave-source-directories, octave-find-definition): Doc fix.
14341 2013-05-18 Glenn Morris <rgm@gnu.org>
14343 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14344 Remove backspace/delete bindings. (Bug#14392)
14346 * cus-dep.el (custom-make-dependencies): Sort the output.
14347 (custom-versions-load-alist): Convert comment to doc.
14349 2013-05-17 Leo Liu <sdl.web@gmail.com>
14351 * newcomment.el (comment-search-backward): Stricter in finding
14352 comment start. (Bug#14303)
14354 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14355 (octave-comment-start-skip): Properly anchored.
14357 2013-05-17 Leo Liu <sdl.web@gmail.com>
14359 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14360 Clean up when turned off. (Bug#14395)
14361 (smie--highlight-matching-block-overlay): No longer buffer-local.
14362 (smie-highlight-matching-block): Adjust.
14364 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14366 Doc string fix for "nanoseconds" (Bug#14406).
14367 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14368 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14370 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14372 * calc/calc-units.el (math-extract-units): Preserve powers
14375 2013-05-17 Leo Liu <sdl.web@gmail.com>
14377 * subr.el (delete-consecutive-dups): New function.
14378 * ido.el (ido-set-matches-1): Use it.
14379 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14380 * ido.el (ido-remove-consecutive-dups): Remove.
14382 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14384 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14385 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14386 regexp-opt's `words'.
14388 2013-05-16 Leo Liu <sdl.web@gmail.com>
14390 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14391 (smie--highlight-matching-block-overlay)
14392 (smie--highlight-matching-block-lastpos)
14393 (smie--highlight-matching-block-timer): New variables.
14394 (smie-highlight-matching-block): New function.
14395 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14396 (smie-setup): Conditionally enable smie-blink-matching-open.
14398 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14400 Sync with upstream verilog-mode r840.
14401 * progmodes/verilog-mode.el (verilog-mode-version)
14402 (verilog-mode-release-date): Update.
14403 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14404 (verilog-sig-tieoff): Fix string error on
14405 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14406 (verilog-read-decls): Fix parameters confusing
14407 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14409 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14411 * subr.el (reveal-filename): New function.
14413 * loadup.el: Compute Emacs executable versions on MS-Windows,
14414 where executables have the .exe extension. Add a hard link
14415 emacs-XX.YY.ZZ.exe on MS-Windows.
14417 * Makefile.in (XARGS_LIMIT): New variable.
14418 (custom-deps, finder-data, autoloads)
14419 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14420 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14421 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14422 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14424 2013-05-16 Leo Liu <sdl.web@gmail.com>
14426 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14427 (octave-mode-menu, octave-mode-map): Remove its uses.
14429 2013-05-16 Reto Zimmermann <reto@gnu.org>
14431 Sync with upstream vhdl mode v3.34.2.
14432 * progmodes/vhdl-mode.el: Use `push' throughout.
14433 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14434 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14435 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14436 (vhdl-actual-generic-name): New option to derive actual generic name.
14437 (vhdl-port-paste-signals): Replace formal by actual generics.
14438 (vhdl-beautify): New name for old group vhdl-align. Update users.
14439 (vhdl-beautify-options): New option.
14440 (vhdl-last-input-event): New compat alias. Use throughout.
14441 (vhdl-goto-line): Replace user level function `goto-line'.
14442 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14443 vhdl-fix-statement-buffer.
14444 (vhdl-create-mode-menu): Add some entries.
14445 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14446 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14447 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14448 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14449 to force statements on one line.
14450 (vhdl-remove-trailing-spaces-region):
14451 New, split from vhdl-remove-trailing-spaces.
14452 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14453 Respect vhdl-beautify-options.
14454 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14455 (vhdl-update-sensitivity-list): Not add with index if exists without.
14456 Not include array index with signal. Ignore keywords in comments.
14457 (vhdl-get-visible-signals): Regexp tweaks.
14458 (vhdl-template-component-inst): Handle empty library.
14459 (vhdl-template-type): Add template for 'enum' type.
14460 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14461 Use vhdl-replace-string.
14462 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14463 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14464 (vhdl-speedbar-initialize): Update for above name change.
14465 (vhdl-compose-wire-components): Fix in handling of constants.
14466 (vhdl-error-regexp-emacs-alist): New variable.
14467 (vhdl-error-regexp-add-emacs): New function;
14468 adds support for new compile.el (Emacs 22+)
14469 (vhdl-generate-makefile-1): Change target order for single lib. units.
14470 Allow use of absolute file names.
14472 2013-05-16 Leo Liu <sdl.web@gmail.com>
14474 * simple.el (prog-indent-sexp): Indent enclosing defun.
14476 2013-05-15 Glenn Morris <rgm@gnu.org>
14478 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14479 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14480 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14481 (whitespace-highlight): Move to whitespace group.
14483 * comint.el (comint-source):
14484 * pcmpl-linux.el (pcmpl-linux):
14485 * shell.el (shell-faces):
14486 * eshell/esh-opt.el (eshell-opt):
14487 * international/ccl.el (ccl): Remove empty custom groups.
14489 * completion.el (dynamic-completion-mode):
14490 * jit-lock.el (jit-lock-debug-mode):
14491 * minibuffer.el (completion-in-region-mode):
14492 * type-break.el (type-break-mode-line-message-mode)
14493 (type-break-query-mode):
14494 * emulation/tpu-edt.el (tpu-edt-mode):
14495 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14496 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14497 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14499 * term/xterm.el (xterm): Change parent group to terminals.
14501 * master.el (master): Remove empty custom group.
14502 (master-mode): Remove unused :group argument.
14503 * textmodes/refill.el (refill): Remove empty custom group.
14504 (refill-mode): Remove unused :group argument.
14506 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14508 * cus-dep.el: Provide a feature.
14509 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14510 Don't mistakenly ignore files whose basenames match a basename
14511 from preloaded-file-list (eg cedet/ede/simple.el).
14512 Add a fallback method for getting :group.
14514 2013-05-15 Juri Linkov <juri@jurta.org>
14516 * isearch.el (isearch-char-by-name): Rename from
14517 `isearch-insert-char-by-name'. Doc fix.
14518 (isearch-forward): Mention `isearch-char-by-name' in
14519 the docstring. (Bug#13348)
14521 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14522 `exit-minibuffer' instead of
14523 `isearch-nonincremental-exit-minibuffer'.
14524 (isearch-edit-string): Remove mention of
14525 `isearch-nonincremental-exit-minibuffer' from docstring.
14526 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14527 (isearch-forward-exit-minibuffer)
14528 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14530 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14532 * loadup.el: Just use unversioned DOC.
14534 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14535 literals as extending to EOB.
14536 (nxml-last-fontify-end): Remove unused variable.
14537 (nxml-after-change1): Use with-silent-modifications.
14538 (nxml-extend-after-change-region): Simplify.
14539 (nxml-extend-after-change-region1): Remove function.
14540 (nxml-after-change1): Don't adjust for dependent regions.
14541 (nxml-fontify-matcher): Simplify.
14542 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14543 (xmltok-add-dependent): Remove function.
14544 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14545 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14546 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14547 unclosed <[[, <?, comment, and other literals as extending to EOB.
14548 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14549 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14551 (rng-do-some-validation-1): Don't mark dependent regions.
14552 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14553 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14554 (nxml-clear-dependent-regions): Remove functions.
14555 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14556 (nxml-ensure-scan-up-to-date):
14557 Don't clear&mark dependent regions.
14559 2013-05-15 Leo Liu <sdl.web@gmail.com>
14561 * progmodes/octave.el (octave-goto-function-definition):
14562 Improve and fix callers.
14564 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14566 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14567 the setter (bug#14387).
14569 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14570 surrounding group (bug#14402).
14572 2013-05-14 Juri Linkov <juri@jurta.org>
14574 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14577 2013-05-14 Glenn Morris <rgm@gnu.org>
14579 * progmodes/f90.el (f90-imenu-generic-expression):
14580 Fix typo in 2013-05-08 change. (Bug#14402)
14582 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14584 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14585 Remove signals for which replies are never received.
14587 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14589 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14590 (gdb-handler-alist, gdb-handler-number): Remove variables.
14591 (gdb-handler-list): New variable.
14592 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14593 (gdb-pending-handler-p, gdb-handle-reply)
14594 (gdb-remove-all-pending-triggers): New functions.
14595 (gdb-discard-unordered-replies): New defcustom.
14596 (gdb-handler): New defstruct.
14597 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14598 instead of gdb-pending-triggers. Update docstring.
14599 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14600 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14601 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14602 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14603 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14604 (gdb-frame-handler): Pending triggers are now automatically managed.
14605 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14607 (gdb-input): Automatically handles pending triggers. Update docstring.
14608 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14609 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14611 (gdb-done-or-error): Now use gdb-handle-reply.
14613 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14615 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14618 2013-05-14 Glenn Morris <rgm@gnu.org>
14620 * subr.el (user-emacs-directory-warning): New option.
14621 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14623 2013-05-14 Leo Liu <sdl.web@gmail.com>
14625 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14627 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14628 (octave-font-lock-texinfo-comment): Fix invalid search bound
14629 error: wrong side of point.
14631 2013-05-14 Glenn Morris <rgm@gnu.org>
14633 * progmodes/flymake.el (flymake-xml-program): New option.
14634 (flymake-xml-init): Use it.
14636 * term/xterm.el: Provide a feature.
14638 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14640 2013-05-13 Glenn Morris <rgm@gnu.org>
14642 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14643 Add compat aliases as a hack workaround. (Bug#14384)
14645 2013-05-13 Leo Liu <sdl.web@gmail.com>
14647 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14649 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14651 (octave-comment-start-skip): Include %!.
14652 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14654 2013-05-12 Leo Liu <sdl.web@gmail.com>
14656 * progmodes/octave.el (inferior-octave-startup): Store the value
14657 of __octave_srcdir__ for octave-source-directories.
14658 (inferior-octave-check-process): New function refactored out of
14659 inferior-octave-send-list-and-digest.
14660 (octave-source-directories)
14661 (octave-find-definition-filename-function): New variables.
14662 (octave-source-directories)
14663 (octave-find-definition-default-filename): New functions.
14664 (octave-find-definition): Improve to find functions implemented in C++.
14666 2013-05-12 Glenn Morris <rgm@gnu.org>
14668 * calendar/diary-lib.el (diary-outlook-format-1):
14669 Don't include dayname in the output. (Bug#14349)
14671 2013-05-11 Glenn Morris <rgm@gnu.org>
14673 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14675 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14676 Treat cc-provide like provide.
14678 2013-05-11 Kevin Ryde <user42@zip.com.au>
14680 * cus-dep.el (custom-make-dependencies):
14681 Use generated-autoload-load-name for the sake of files such
14682 such cedet/semantic/bovine/c.el, where the base file name
14683 is not in load-path. (Bug#5277)
14685 2013-05-11 Glenn Morris <rgm@gnu.org>
14687 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14690 2013-05-11 Leo Liu <sdl.web@gmail.com>
14692 * progmodes/octave.el (octave-indent-comment): Improve.
14693 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14694 (octave-eldoc-function-signatures, octave-eldoc-function):
14696 (octave-mode, inferior-octave-mode): Add eldoc support.
14698 2013-05-11 Richard Stallman <rms@gnu.org>
14700 * epa.el (epa-decrypt-file): Take output file name as argument
14701 and read it using `interactive'.
14703 2013-05-11 Leo Liu <sdl.web@gmail.com>
14705 * progmodes/octave.el (octave-beginning-of-line)
14706 (octave-end-of-line): Check before using up-list because it jumps
14707 out of more syntactic contructs since moving to smie.
14708 (octave-indent-comment): New function.
14709 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14710 (octave-begin-keywords, octave-end-keywords)
14711 (octave-reserved-words, octave-smie-bnf-table)
14712 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14714 2013-05-11 Glenn Morris <rgm@gnu.org>
14716 * faces.el (internal-face-x-get-resource):
14717 * frame.el (ns-display-monitor-attributes-list):
14718 * calc/calc-aent.el (math-to-radians-2):
14719 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14722 * calc/calc-menu.el: Make it loadable in isolation.
14724 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14725 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14726 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14727 (eudc-bbdb-query-internal): Require 'bbdb.
14729 * lpr.el (lpr-headers-switches):
14730 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14732 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14734 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14736 * term.el (term-set-escape-char): Make it idempotent.
14738 2013-05-10 Leo Liu <sdl.web@gmail.com>
14740 * progmodes/octave.el (inferior-octave-completion-table):
14741 No longer a function and all uses changed. Use cache to speed up
14742 completion due to bug#11906.
14743 (octave-beginning-of-defun): Re-write to be more general.
14745 2013-05-10 Glenn Morris <rgm@gnu.org>
14747 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14749 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14751 * comint.el (comint-redirect-send-command-to-process): Use :around
14752 rather than :override for comint-redirect-filter.
14753 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14754 Call it instead of comint-redirect-original-filter-function (which
14755 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14757 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14759 * frame.el (display-monitor-attributes-list): Add NS case.
14760 (ns-display-monitor-attributes-list): Declare.
14762 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14764 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14766 2013-05-09 Glenn Morris <rgm@gnu.org>
14768 * international/fontset.el (vertical-centering-font-regexp):
14769 Set standard-value.
14771 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14773 * bookmark.el (bookmark-search-delay):
14774 * cus-start.el (vertical-centering-font-regexp):
14775 * ps-mule.el (ps-mule-font-info-database-default):
14776 * ps-print.el (ps-default-fg, ps-default-bg):
14777 * type-break.el (type-break-good-break-interval):
14778 * whitespace.el (whitespace-indentation-regexp)
14779 (whitespace-space-after-tab-regexp):
14780 * emacs-lisp/testcover.el (testcover-1value-functions)
14781 (testcover-noreturn-functions, testcover-progn-functions)
14782 (testcover-prog1-functions):
14783 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14784 * eshell/em-glob.el (eshell-glob-translate-alist):
14785 * play/tetris.el (tetris-tty-colors):
14786 * progmodes/cpp.el (cpp-face-default-list):
14787 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14788 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14789 (idlwave-help-browser-generic-args):
14790 * progmodes/make-mode.el (makefile-special-targets-list):
14791 * progmodes/python.el (python-shell-virtualenv-path):
14792 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14793 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14794 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14795 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14796 * textmodes/reftex-vars.el (reftex-format-label-function):
14797 * textmodes/remember.el (remember-diary-file): Fix custom types.
14799 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14802 2013-05-09 Leo Liu <sdl.web@gmail.com>
14804 * progmodes/octave.el (inferior-octave-completion-at-point):
14805 Restore file completion. (Bug#14300)
14806 (inferior-octave-startup): Fix incorrect highlighting for the
14809 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14811 * progmodes/ruby-mode.el: First cut at SMIE support.
14812 (ruby-use-smie): New var.
14813 (ruby-smie-grammar): New constant.
14814 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14815 (ruby-smie--forward-token, ruby-smie--backward-token)
14816 (ruby-smie-rules): New functions.
14817 (ruby-mode-variables): Setup SMIE if applicable.
14819 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14821 * simple.el (line-move-visual): Signal beginning/end of buffer
14822 only if vertical-motion moved less than it was requested. Avoids
14823 silly incorrect error messages when there are display strings with
14824 multiple newlines at EOL.
14826 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14828 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14829 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14830 (prolog-char-quote-workaround):
14831 * progmodes/cperl-mode.el (cperl-under-as-char):
14832 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14834 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14836 (vhdl-mode-syntax-table-init): Remove.
14838 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14841 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14843 (ld-script-font-lock-keywords):
14844 Change regexps to use things like \_< and \_>.
14846 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14847 Change all regexps to use things like \_< and \_>.
14849 * progmodes/autoconf.el (autoconf-definition-regexp)
14850 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14851 Handle a _ with symbol syntax.
14852 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14854 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14855 Consolidate declaration.
14856 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14858 (ada-create-syntax-table): Remove.
14859 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14860 already has the right syntax nowadays.
14861 (ada-goto-next-word): Don't change the syntax of "_".
14863 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14866 2013-05-08 Sam Steingold <sds@gnu.org>
14868 * thingatpt.el (thing-at-point): Accept optional second argument
14869 NO-PROPERTIES to strip the text properties from the return value.
14870 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14871 to `thing-at-point' instead of stripping the properties ourselves.
14872 Also, when `thing-at-point' fails to find a url, prepend "http://"
14873 to the filename at point on the assumption that the user is
14874 pointing at something like gnu.org/gnu.
14876 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14878 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14879 * faces.el (crm-separator):
14880 Silence byte-compiler.
14882 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14883 (tool-bar-map): Remove unneeded defvars.
14885 2013-05-08 Leo Liu <sdl.web@gmail.com>
14887 Re-work a fix for bug#10994 based on Le Wang's patch.
14888 * ido.el (ido-remove-consecutive-dups): New helper.
14889 (ido-completing-read): Use it.
14890 (ido-chop): Revert fix for bug#10994.
14892 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14894 * cus-edit.el (custom-save-variables):
14895 Pretty-print long values. (Bug#14187)
14897 2013-05-08 Glenn Morris <rgm@gnu.org>
14899 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14900 (m4-mode-syntax-table): Init in the defvar.
14901 (m4-mode-abbrev-table): Let define-derived-mode define it.
14903 2013-05-08 Tom Tromey <tromey@redhat.com>
14905 * progmodes/m4-mode.el (m4-mode-syntax-table):
14906 Do not treat "_" as word constituent. (Bug#14167)
14908 2013-05-07 Glenn Morris <rgm@gnu.org>
14910 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14911 Remove explicit eshell-isearch-cancel-map.
14913 * progmodes/f90.el (f90-smart-end-names): New option.
14914 (f90-smart-end): Doc fix.
14915 (f90-end-block-optional-name): New constant.
14916 (f90-block-match): Respect f90-smart-end-names.
14918 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14920 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14921 about implicit semi-colons (bug#14218).
14923 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14925 * frame.el (display-monitor-attributes-list)
14926 (frame-monitor-attributes): New functions.
14928 2013-05-06 Leo Liu <sdl.web@gmail.com>
14930 * progmodes/octave.el (octave-syntax-propertize-function): Change
14931 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14932 (octave-font-lock-keywords): Use octave-operator-regexp.
14933 (octave-completion-at-point): Rename from
14934 octave-completion-at-point-function.
14935 (inferior-octave-directory-tracker): Robustify.
14936 (octave-text-functions): Remove and fix its uses. No such things
14939 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14941 * emacs-lisp/trace.el (trace--display-buffer): New function.
14942 (trace-make-advice): Use it.
14944 2013-05-06 Juri Linkov <juri@jurta.org>
14946 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14947 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14949 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14950 in the help string. (Bug#12985)
14952 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14954 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14956 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14958 * progmodes/perl-mode.el: Add support for here documents.
14959 (perl-syntax-propertize-function): Match here-doc markers.
14960 (perl-syntax-propertize-special-constructs): Find their end.
14961 (perl-imenu-generic-expression): Use [:alnum:].
14963 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14964 (advice--add-function): Refresh the advice if already present
14967 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14969 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14971 2013-05-06 Glenn Morris <rgm@gnu.org>
14973 * w32-fns.el (w32-charset-info-alist): Declare.
14975 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14976 of its defcustom properties.
14977 (eshell-cmpl-initialize): No need to load pcomplete.
14979 * generic-x.el: No need to require comint when compiling.
14981 * net/eudc-export.el: Make it loadable without bbdb.
14982 (top-level): Use require rather than load-library.
14983 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14984 (eudc-batch-export-records-to-bbdb)
14985 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14988 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14990 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14991 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14992 some tweaks, instead.
14994 2013-05-05 Leo Liu <sdl.web@gmail.com>
14996 * progmodes/octave.el (octave-font-lock-keywords)
14997 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14998 (inferior-octave-send-list-and-digest): Improve error message.
14999 (octave-mode, inferior-octave-mode): Use setq-local.
15000 (octave-help): Set info-lookup-mode.
15002 2013-05-05 Richard Stallman <rms@gnu.org>
15004 * vc/compare-w.el (compare-windows-whitespace):
15005 Treat no-break space as whitespace.
15007 * mail/rmailsum.el (rmail-summary-rmail-update):
15008 Detect empty summary and don't change selected message.
15009 (rmail-summary-goto-msg): Likewise.
15011 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15012 Doc fixes, rename args.
15014 2013-05-05 Alan Mackenzie <acm@muc.de>
15016 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15018 2013-05-05 Juri Linkov <juri@jurta.org>
15020 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15021 to not add the length of the summary segment to the return value.
15024 2013-05-05 Leo Liu <sdl.web@gmail.com>
15026 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15027 (inferior-octave-output-filter): Remove.
15028 (octave-send-region, inferior-octave-startup): Fix callers.
15029 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15030 (octave-binary-file-extensions): New user variable.
15031 (octave-find-definition): Confirm if opening binary files.
15032 (octave-help-file): Use octave-find-definition to get the binary
15034 (octave-help): Adjust for octave-help-file change.
15036 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15038 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15039 Merge the two entries that handle function definitions.
15040 (pascal--syntax-propertize): New const.
15041 (pascal-mode): Use it. Use setq-local.
15043 2013-05-04 Glenn Morris <rgm@gnu.org>
15045 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15046 (diary-from-outlook): Respect diary-from-outlook-function.
15048 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15050 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15051 Move the declaration from C.
15052 (read-minibuffer, eval-minibuffer): Move from C.
15053 (completion-setup-function): Avoid minibuffer-completion-contents.
15055 2013-05-03 Leo Liu <sdl.web@gmail.com>
15057 * progmodes/octave.el (octave-font-lock-keywords): Do not
15058 dehighlight 'end' in comments or strings.
15059 (octave-completing-read, octave-goto-function-definition):
15061 (octave-help-buffer): New user variable.
15062 (octave-help-file, octave-help-function): New button types.
15063 (octave-help): New command and bind it to C-h ;.
15064 (octave-find-definition): New command and bind it to M-.
15065 (user-error): Alias to error if not defined.
15067 2013-05-02 Leo Liu <sdl.web@gmail.com>
15069 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15071 (octave-font-lock-keywords): Include [ and {.
15073 2013-05-02 Leo Liu <sdl.web@gmail.com>
15075 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15076 (inferior-octave): Remove calling comint-mode and return the buffer.
15077 (inferior-octave-startup): Cosmetic changes.
15079 2013-05-02 Leo Liu <sdl.web@gmail.com>
15081 * progmodes/octave.el (octave-syntax-propertize-function):
15082 Include the case when ' is at line beginning. (Bug#14336)
15084 2013-05-02 Glenn Morris <rgm@gnu.org>
15086 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15087 * desktop.el (vc-dir-mode): Just autoload it here.
15089 2013-05-02 Alan Mackenzie <acm@muc.de>
15091 Eliminate variable c-standard-font-lock-fontify-region-function.
15092 * progmodes/cc-mode.el
15093 (c-standard-font-lock-fontify-region-function): Remove.
15094 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15096 2013-05-01 Leo Liu <sdl.web@gmail.com>
15098 * progmodes/octave.el: Compatible with older emacs-24 releases.
15099 (inferior-octave-has-built-in-variables): Remove. Built-in
15100 variables were removed from Octave in 2007.
15101 (inferior-octave-startup): Fix uses.
15102 (comint-line-beginning-position): Remove compatibility code for
15105 2013-05-01 Juri Linkov <juri@jurta.org>
15107 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15109 2013-05-01 Juri Linkov <juri@jurta.org>
15111 * comint.el (comint-previous-matching-input): Don't print message
15112 "History item: %d" when `isearch-mode' is active.
15113 (comint-history-isearch-message): Print message "History item: %d"
15114 when `comint-input-ring-index' is not empty and this function is
15115 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15117 2013-05-01 Leo Liu <sdl.web@gmail.com>
15119 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15120 definitions. Use completion-at-point to insert keywords.
15121 (octave-abbrev-start): Remove.
15122 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15124 2013-04-30 Leo Liu <sdl.web@gmail.com>
15126 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15129 2013-04-30 Alan Mackenzie <acm@muc.de>
15131 Handle arbitrarily long C++ member initialisation lists.
15132 * progmodes/cc-engine.el (c-back-over-member-initializers):
15134 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15135 (most) member init lists.
15137 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15139 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15142 2013-04-30 Leo Liu <sdl.web@gmail.com>
15144 * progmodes/octave.el (octave-variables): Remove. No builtin
15145 variables any more. All converted to functions.
15146 (octave-font-lock-keywords, octave-completion-at-point-function):
15148 (octave-font-lock-texinfo-comment): New user variable.
15149 (octave-texinfo-font-lock-keywords): New variable for texinfo
15151 (octave-function-comment-block): New face.
15152 (octave-font-lock-texinfo-comment): New function.
15153 (octave-mode): Font lock texinfo comment block.
15155 2013-04-29 Leo Liu <sdl.web@gmail.com>
15157 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15158 indexing expression.
15159 (octave-continuation-string): Do not use \.
15160 (inferior-octave-complete-impossible): Remove.
15161 (inferior-octave-completion-table)
15162 (inferior-octave-completion-at-point): Remove its uses.
15163 (inferior-octave-startup): completion_matches was introduced to
15164 Octave in 1996 so safe to assume it.
15165 (octave-function-file-comment): Improve to follow how Octave does it.
15166 (octave-update-function-file-comment): Tweak.
15168 2013-04-29 Leo Liu <sdl.web@gmail.com>
15170 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15171 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15172 (octave-function-file-comment): Fix typo.
15173 (octave-sync-function-file-names): Use read-char-choice.
15175 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15177 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15178 to t for the less important warnings.
15180 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15182 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15184 2013-04-27 Glenn Morris <rgm@gnu.org>
15186 * vc/log-view.el (log-view-current-entry):
15187 Treat "---" separator lines as part of the following rev. (Bug#14169)
15189 2013-04-27 Juri Linkov <juri@jurta.org>
15191 * subr.el (read-number): Doc fix about using it by interactive
15192 code letter `n'. (Bug#14254)
15194 2013-04-27 Juri Linkov <juri@jurta.org>
15196 * desktop.el (desktop-auto-save-timeout): New option.
15197 (desktop-file-checksum): New variable.
15198 (desktop-save): Add optional arg `auto-save' and don't auto-save
15199 if nothing changed.
15200 (desktop-auto-save-timer): New variable.
15201 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15202 (after-init-hook): Call `desktop-auto-save-set-timer'.
15203 Suggested by Reuben Thomas <rrt@sc3d.org> in
15204 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15206 2013-04-27 Leo Liu <sdl.web@gmail.com>
15208 * progmodes/octave.el (octave-function-file-p)
15209 (octave-skip-comment-forward, octave-function-file-comment)
15210 (octave-update-function-file-comment): New functions.
15211 (octave-mode-map): Bind C-c ; to
15212 octave-update-function-file-comment.
15213 (octave-mode-menu): Add octave-update-function-file-comment.
15214 (octave-mode, inferior-octave-mode): Fix doc-string.
15215 (octave-insert-defun): Conform to Octave's coding convention.
15218 * files.el (basic-save-buffer): Don't let errors in
15219 before-save-hook prevent saving buffer.
15221 2013-04-20 Roland Winkler <winkler@gnu.org>
15223 * faces.el (read-face-name): Use completing-read if arg multiple
15226 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15228 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15229 displayed, move point to after the totals line.
15230 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15233 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15235 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15236 Add current dir to the load-path.
15237 (package-generate-autoloads): Don't rely on
15238 autoload-ensure-default-file.
15240 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15242 * textmodes/remember.el (remember-store-in-files): Document that
15243 the file name format is passed to `format-time-string'.
15245 2013-04-26 Leo Liu <sdl.web@gmail.com>
15247 * progmodes/octave.el (octave-sync-function-file-names): New function.
15248 (octave-mode): Use it in before-save-hook.
15250 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15252 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15255 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15256 \n and comment, even if it's not an implicit ; (bug#14218).
15258 2013-04-26 Glenn Morris <rgm@gnu.org>
15260 * subr.el (read-number): Once more use `read' rather than
15261 `string-to-number', to trap non-numeric input. (Bug#14254)
15263 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15265 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15266 Use `syntax-multiline' text property consistently instead of
15267 `font-lock-multiline'. (Bug#14237)
15269 2013-04-26 Glenn Morris <rgm@gnu.org>
15271 * emacs-lisp/shadow.el (list-load-path-shadows):
15272 No longer necessary to check for duplicate simple.el, since
15273 2012-07-07 change to init_lread to not include installation lisp
15274 directories in load-path when running uninstalled. (Bug#14270)
15276 2013-04-26 Leo Liu <sdl.web@gmail.com>
15278 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15279 (octave-mode, inferior-octave-mode): Use setq-local.
15280 (octave-not-in-string-or-comment-p): Rename to
15281 octave-in-string-or-comment-p.
15282 (octave-in-comment-p, octave-in-string-p)
15283 (octave-in-string-or-comment-p): Replace defsubst with defun.
15285 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15287 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15289 2013-04-25 Bastien Guerry <bzg@gnu.org>
15291 * textmodes/remember.el (remember-data-directory)
15292 (remember-directory-file-name-format): Fix custom types.
15294 2013-04-25 Leo Liu <sdl.web@gmail.com>
15296 * progmodes/octave.el (octave-completion-at-point-function):
15297 Make use of inferior octave process.
15298 (octave-initialize-completions): Remove.
15299 (inferior-octave-completion-table): New function.
15300 (inferior-octave-completion-at-point): Use it.
15301 (octave-completion-alist): Remove.
15303 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15305 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15306 (opascal-mode-syntax-table): New var.
15307 (opascal-literal-kind, opascal-is-literal-end)
15308 (opascal-literal-token-at): Rewrite.
15309 (opascal--literal-start-re, opascal-font-lock-keywords)
15310 (opascal--syntax-propertize): New constants.
15311 (opascal-font-lock-defaults): Adjust.
15312 (opascal-mode): Use them. Set comment-<foo> variables as well.
15313 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15314 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15315 (delphi-other-face, opascal-other-face): Remove face variables.
15316 (opascal-save-state): Remove macro.
15317 (opascal-fontifying-progress-step): Remove constant.
15318 (opascal--ignore-changes): Remove var.
15319 (opascal-set-token-property, opascal-parse-next-literal)
15320 (opascal-is-stable-literal, opascal-complete-literal)
15321 (opascal-is-literal-start, opascal-face-of)
15322 (opascal-parse-region, opascal-parse-region-until-stable)
15323 (opascal-fontify-region, opascal-after-change)
15324 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15325 (opascal-debug-parse-region, opascal-debug-parse-window)
15326 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15327 (opascal-debug-fontify-buffer): Remove.
15328 (opascal-debug-mode-map): Adjust accordingly.
15330 2013-04-25 Leo Liu <sdl.web@gmail.com>
15332 Merge octave-mod.el and octave-inf.el into octave.el with some
15334 * progmodes/octave.el: New file renamed from octave-mod.el.
15335 * progmodes/octave-inf.el: Merged into octave.el.
15336 * progmodes/octave-mod.el: Renamed to octave.el.
15338 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15340 * textmodes/reftex-vars.el
15341 (reftex-label-ignored-macros-and-environments): New defcustom.
15343 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15345 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15347 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15348 (smie-indent-keyword): Improve the check to ensure that the next
15349 comment is really on the same line.
15350 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15352 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15353 semi-colons if the line is not otherwise empty (bug#14218).
15355 2013-04-25 Glenn Morris <rgm@gnu.org>
15357 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15359 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15361 * progmodes/opascal.el (opascal-set-token-property): Rename from
15362 opascal-set-text-properties and only set `token' (bug#14134).
15363 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15364 (opascal-literal-text-properties): Remove.
15365 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15368 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15370 * textmodes/remember.el (remember-handler-functions): Add an
15371 option for a new handler `remember-store-in-files'.
15372 (remember-data-directory, remember-directory-file-name-format):
15374 (remember-store-in-files): New function to store remember notes
15375 as separate files within a directory.
15377 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15379 * progmodes/compile.el (compilation-next-error-function):
15380 Pass "formats" to compilation-find-file (bug#11777).
15382 2013-04-24 Glenn Morris <rgm@gnu.org>
15384 * vc/vc-bzr.el (vc-bzr-print-log):
15385 * vc/vc-hg.el (vc-hg-print-log):
15386 * vc/vc-svn.el (vc-svn-print-log):
15387 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15389 * vc/vc-bzr.el (vc-bzr-print-log):
15390 * vc/vc-cvs.el (vc-cvs-print-log):
15391 * vc/vc-git.el (vc-git-print-log):
15392 * vc/vc-hg.el (vc-hg-print-log):
15393 * vc/vc-mtn.el (vc-mtn-print-log):
15394 * vc/vc-rcs.el (vc-rcs-print-log):
15395 * vc/vc-sccs.el (vc-sccs-print-log):
15396 * vc/vc-svn.el (vc-svn-print-log):
15397 * vc/vc.el (vc-print-log-internal): Doc fixes.
15399 2013-04-23 Glenn Morris <rgm@gnu.org>
15401 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15402 Remove venerable code attempting to avoid substitute-command-keys.
15404 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15406 * textmodes/reftex-vars.el (reftex-label-regexps):
15407 Call `reftex-compile-variables' after changes to this variable.
15409 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15411 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15412 Use lexical-binding.
15413 (jit-lock-force-redisplay): Use markers, check buffer's continued
15414 existence and beware narrowed buffers.
15415 (jit-lock-fontify-now): Adjust call accordingly.
15417 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15419 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15420 to avoid misleading the user.
15422 2013-04-22 Leo Liu <sdl.web@gmail.com>
15424 * info-look.el: Prefer latex2e.info. (Bug#14240)
15426 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15428 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15430 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15431 * net/tramp.el (tramp-call-process): ... here.
15432 (tramp-set-completion-function, tramp-parse-putty):
15433 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15434 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15435 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15436 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15437 (tramp-call-local-coding-command): Use `tramp-call-process'
15438 instead of `tramp-compat-call-process'.
15440 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15441 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15442 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15443 (tramp-find-inline-compress): Improve traces.
15444 (tramp-maybe-send-script): Check for Perl binary.
15445 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15447 2013-04-22 Daiki Ueno <ueno@gnu.org>
15449 * epg.el (epg-context-pinentry-mode): New function.
15450 (epg-context-set-pinentry-mode): New function.
15451 (epg--start): Pass --pinentry-mode option to gpg command.
15453 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15455 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15456 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15457 `completion-at-point'. (Bug#13774)
15459 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15460 default key binding for `describe-distribution' has been moved to
15461 `C-h C-o'. (Bug#13970)
15463 2013-04-21 Glenn Morris <rgm@gnu.org>
15465 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15467 (vc-print-log): Clarify interactive prompt.
15469 2013-04-20 Glenn Morris <rgm@gnu.org>
15471 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15472 No longer include timestamp etc information.
15474 2013-04-20 Roland Winkler <winkler@gnu.org>
15476 * faces.el (read-face-name): Bug fix, return just one face if arg
15477 multiple is nil. (Bug#14209)
15479 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15481 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15482 (remove-function): Autoload.
15484 * comint.el (comint-redirect-original-filter-function): Remove.
15485 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15486 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15487 (vc-cvs-annotate-command):
15488 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15489 * progmodes/prolog.el (prolog-consult-compile):
15490 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15491 Use add/remove-function instead.
15492 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15493 (gud-tooltip-process-output, gud-tooltip-tips):
15494 Use add/remove-function instead.
15495 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15496 (scheme-interaction-mode, exit-scheme-interaction-mode):
15497 Use add/remove-function instead.
15499 * vc/vc-dispatcher.el: Use lexical-binding.
15500 (vc--process-sentinel): Rename from vc-process-sentinel.
15501 Change last arg to be the code to run. Don't use vc-previous-sentinel
15502 and vc-sentinel-commands any more.
15503 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15504 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15506 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15508 * progmodes/sh-script.el (sh-imenu-generic-expression):
15509 Handle function names with a single character. (Bug#14111)
15511 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15513 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15514 for subroutines defined in an eval (bug#14182).
15516 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15518 * bookmark.el (bookmark-completing-read): Improve handling of empty
15519 string (bug#14176).
15521 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15523 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15525 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15527 New faster Imenu implementation (bug#14058).
15528 * progmodes/python.el:
15529 (python-imenu-prev-index-position):
15530 (python-imenu-format-item-label-function)
15531 (python-imenu-format-parent-item-label-function)
15532 (python-imenu-format-parent-item-jump-label-function):
15534 (python-imenu-format-item-label)
15535 (python-imenu-format-parent-item-label)
15536 (python-imenu-format-parent-item-jump-label)
15537 (python-imenu--put-parent, python-imenu--build-tree)
15538 (python-imenu-create-index, python-imenu-create-flat-index)
15539 (python-util-popn): New functions.
15540 (python-mode): Set imenu-create-index-function to
15541 python-imenu-create-index.
15543 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15545 * winner.el (winner-active-region): Use region-active-p, activate-mark
15546 and deactivate-mark (bug#14225).
15548 * simple.el (deactivate-mark): Don't inline it.
15550 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15552 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15554 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15556 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15557 file extensions from the archive-mode entry in order to prefer
15558 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15560 2013-04-18 Leo Liu <sdl.web@gmail.com>
15562 * bindings.el (help-event-list): Add ?\?.
15564 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15566 * subr.el (with-wrapper-hook): Declare obsolete.
15567 * simple.el (filter-buffer-substring-function): New hook.
15568 (filter-buffer-substring): Use it.
15569 (filter-buffer-substring-functions): Mark obsolete.
15570 * minibuffer.el (completion-in-region-function): New hook.
15571 (completion-in-region): Use it.
15572 (completion-in-region-functions): Mark obsolete.
15573 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15574 * abbrev.el (abbrev-expand-function): New hook.
15575 (expand-abbrev): Use it.
15576 (abbrev-expand-functions): Mark obsolete.
15577 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15578 and :filter-return.
15580 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15582 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15583 and do not care about match data.
15585 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15587 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15588 completion tables when completing error conditions and
15589 `declare' arguments.
15590 (lisp-complete-symbol, field-complete): Mark as obsolete.
15591 (check-parens): Unmatched parens are user errors.
15592 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15594 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15596 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15597 command changed buffer (ie. `flyspell-pre-buffer' is not current
15598 buffer), which prevents making decisions based on invalid value of
15599 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15600 cause an error when `flyspell-pre-point' was nil after switching
15602 (flyspell-post-command-hook): No longer needs to change buffers when
15603 checking pre-word. While at it remove unnecessary progn.
15605 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15607 * textmodes/ispell.el (ispell-add-per-file-word-list):
15608 Fix `flyspell-correct-word-before-point' error when accepting
15609 words and `coment-padding' is an integer by using
15610 `comment-normalize-vars' (Bug #14214).
15612 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15614 New defun movement commands.
15615 * progmodes/python.el (python-nav--syntactically)
15616 (python-nav--forward-defun, python-nav-backward-defun)
15617 (python-nav-forward-defun): New functions.
15619 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15621 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15622 (python-syntax-context): Use named compiler-macro for backwards
15623 compatibility with Emacs 24.x.
15625 2013-04-17 Leo Liu <sdl.web@gmail.com>
15627 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15628 octave-hide-process-buffer.
15630 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15632 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15635 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15637 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15638 Fix adjustment of offset when receiving incomplete responses from GDB
15641 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15643 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15644 python-mode-abbrev-table.
15645 (python-skeleton-define): Adjust accordingly.
15646 (python-mode-abbrev-table): New table that inherits from it so that
15647 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15649 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15650 (abbrev-symbol): Use it.
15651 (abbrev--before-point): Use it since we already handle inheritance.
15653 2013-04-16 Leo Liu <sdl.web@gmail.com>
15655 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15656 binding to info-lookup-symbol.
15658 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15660 * minibuffer.el (completion--twq-all):
15661 * term/ns-win.el (ns-initialize-window-system):
15662 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15664 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15666 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15669 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15671 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15673 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15674 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15676 (ruby-end-of-defun): Remove the unused arg, change the docstring
15677 to reflect that this function is only used as the value of
15678 `end-of-defun-function'.
15679 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15680 to reflect an earlier change that beginning/end-of-defun functions
15681 jump between methods in a class definition, as well as top-level
15684 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15686 * minibuffer.el (minibuffer-complete): Don't just scroll
15687 a *Completions* that's been iconified.
15688 (minibuffer-force-complete): Make sure repetitions do cycle when going
15689 through completion-in-region -> minibuffer-complete.
15691 2013-04-15 Alan Mackenzie <acm@muc.de>
15693 Correct the placement of c-cpp-delimiters when there're #s not at
15696 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15697 place a submatch around the #.
15698 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15699 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15702 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15704 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15705 (advice--member-p): New arg `name'.
15706 (advice--add-function, advice-member-p): Use it (bug#14202).
15708 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15710 Reformulate java imenu-generic-expression.
15711 The old expression contained ill formed regexps.
15713 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15714 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15715 (cc-imenu-java-method-arg-regexp): New defconsts.
15716 (cc-imenu-java-build-type-args-regex): New defun.
15717 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15718 handling of spaces in the regexp.
15720 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15722 * textmodes/ispell.el (ispell-command-loop): Remove
15723 flyspell highlight of a word when ispell accepts it (bug #14178).
15725 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15727 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15728 uses code from the previous `ange-ftp-run-real-handler'.
15729 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15730 only in case that function exist. This is needed for proper
15731 unloading of Tramp.
15733 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15735 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15737 * textmodes/reftex.el (reftex-compile-variables): Use it.
15739 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * files.el (normal-mode): Only use default major-mode if no other mode
15744 * emacs-lisp/trace.el (trace-values): New function.
15746 * files.el: Allow : in local variables (bug#14089).
15747 (hack-local-variable-regexp): New var.
15748 (hack-local-variables-prop-line, hack-local-variables): Use it.
15750 2013-04-13 Roland Winkler <winkler@gnu.org>
15752 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15753 data before it gets modified by bibtex-beginning-of-entry.
15755 2013-04-13 Roland Winkler <winkler@gnu.org>
15757 * textmodes/bibtex.el (bibtex-url): Doc fix.
15759 2013-04-13 Roland Winkler <winkler@gnu.org>
15761 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15762 does not visit a BibTeX file, exclude it from the list of buffers
15763 returned by bibtex-initialize.
15765 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15767 * window.el (split-window): Remove interactive form, since as a
15768 command this function is a special case of split-window-below.
15769 Correct doc string.
15771 2013-04-12 Roland Winkler <winkler@gnu.org>
15773 * faces.el (read-face-name): Do not override value of arg default.
15774 Allow single faces and strings as default values. Remove those
15775 elements from return value that are not faces.
15776 (describe-face): Simplify.
15777 (face-at-point): New optional args thing and multiple so that this
15778 function can provide the same functionality previously provided by
15780 (make-face-bold, make-face-unbold, make-face-italic)
15781 (make-face-unitalic, make-face-bold-italic, invert-face)
15782 (modify-face, read-face-and-attribute): Use face-at-point.
15784 * cus-edit.el (customize-face, customize-face-other-window)
15785 * cus-theme.el (custom-theme-add-face)
15786 * face-remap.el (buffer-face-set)
15787 * facemenu.el (facemenu-set-face): Use face-at-point.
15789 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15791 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15793 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15795 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15796 off leading { and trailing } from field values.
15798 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15800 * emacs-lisp/timer.el (timer--check): New function.
15801 (timer--time, timer-set-function, timer-event-handler): Use it.
15802 (timer-set-idle-time): Simplify.
15803 (timer--activate): CSE.
15804 (timer-event-handler): Give more info in error message.
15805 (internal-timer-start-idle): New function, moved from C.
15807 * mpc.el (mpc-proc): Add `restart' argument.
15808 (mpc-proc-cmd): Use it.
15809 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15810 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15813 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15815 * progmodes/sh-script.el: Implement `sh-mode' own
15816 `add-log-current-defun-function' (bug#14112).
15817 (sh-current-defun-name): New function.
15818 (sh-mode): Use the function.
15820 2013-04-09 Bastien Guerry <bzg@gnu.org>
15822 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15824 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15826 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15828 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15831 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15833 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15836 2013-04-07 Leo Liu <sdl.web@gmail.com>
15838 * pcmpl-x.el: New file.
15840 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15842 Do not set x-display-name until X connection is established.
15843 This is needed to prevent from weird situation described at
15844 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15845 * frame.el (make-frame): Set x-display-name after call to
15846 window system initialization function, not before.
15847 * term/x-win.el (x-initialize-window-system): Add optional
15848 display argument and use it.
15849 * term/w32-win.el (w32-initialize-window-system):
15850 * term/ns-win.el (ns-initialize-window-system):
15851 * term/pc-win.el (msdos-initialize-window-system):
15852 Add compatible optional display argument.
15854 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15856 * files.el (normal-backup-enable-predicate): On MS-Windows and
15857 MS-DOS compare truenames of temporary-file-directory and of the
15858 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15859 don't fail comparison by compare-strings. Also, compare file
15860 names case-insensitively on MS-Windows and MS-DOS.
15862 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15864 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15865 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15867 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15869 * whitespace.el (whitespace-color-on, whitespace-color-off):
15870 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15872 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15874 * ispell.el (ispell-set-spellchecker-params):
15875 Really set `ispell-args' for all equivs.
15877 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15879 * ido.el (ido-completions): Use extra elements of ido-decorations
15881 (ido-decorations): Update docstring.
15883 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15885 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15886 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15887 nil during initialization, in order not to miss changes since the
15888 file was opened. (Bug#14140)
15890 2013-04-05 Leo Liu <sdl.web@gmail.com>
15892 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15894 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15896 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15898 2013-04-04 Glenn Morris <rgm@gnu.org>
15900 * electric.el (electric-pair-inhibit-predicate): Add :version.
15902 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15904 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15905 when a package is required several times (bug#14082).
15907 2013-04-04 Roland Winkler <winkler@gnu.org>
15909 * faces.el (read-face-name): Behave as promised by the docstring.
15910 Assume that arg default is a list of faces.
15911 (describe-face): Call read-face-name with list of default faces.
15913 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15915 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15916 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15917 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15919 (bookmark-exit-hook-internal): Save even if list is empty.
15921 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15923 * emacs-lisp/package.el (package-pinned-packages): New var.
15924 (package--add-to-archive-contents): Obey it (bug#14118).
15926 2013-04-03 Alan Mackenzie <acm@muc.de>
15928 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15929 Also adapt to the new values of element 7 of a parse state.
15931 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15932 parameter `not-in-delimiter'. Handle being inside comment opener.
15933 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15934 character in case we're typing a '*' after a '/'.
15935 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15936 instead by passing the parameter to c-state-pp-to-literal.
15938 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15939 for elt. 7 of a parse state.
15941 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15943 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15944 * international/latin1-disp.el, international/mule-util.el:
15945 * language/cyril-util.el, language/european.el, language/ind-util.el:
15946 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15947 * language/tibetan.el, language/viet-util.el:
15948 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15950 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15952 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15953 (electric-pair-post-self-insert-function): Use it.
15954 (electric-pair-default-inhibit): New function, extracted from
15955 electric-pair-post-self-insert-function.
15957 2013-03-31 Roland Winkler <winkler@gnu.org>
15959 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15961 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15963 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15965 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15967 Un-indent after "pass" and "return" statements (Bug#13888)
15968 * progmodes/python.el (python-indent-block-enders): New var.
15969 (python-indent-calculate-indentation): Use it.
15971 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15973 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15974 defun. Defining it as defalias could introduce too eager
15975 byte-compiler optimization. (Bug#14030)
15977 2013-03-30 Chong Yidong <cyd@gnu.org>
15979 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15981 2013-03-30 Leo Liu <sdl.web@gmail.com>
15983 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15984 (kmacro-execute-from-register): Pass the keyboard macro to
15985 kmacro-call-macro or repeating won't work correctly.
15987 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15989 * progmodes/subword.el: Back to using `forward-symbol'.
15991 * subr.el (forward-whitespace, forward-symbol)
15992 (forward-same-syntax): Move from thingatpt.el.
15994 2013-03-29 Leo Liu <sdl.web@gmail.com>
15996 * kmacro.el (kmacro-to-register): New command.
15997 (kmacro-execute-from-register): New function.
15998 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16000 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16002 * mpc.el: Use defvar-local and setq-local.
16003 (mpc--proc-connect): Connection failures are not bugs.
16004 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16005 (mpc-volume-map): Bind to the up-events.
16007 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16009 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16010 instead of `forward-symbol'.
16012 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16014 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16015 (edebug--recursive-edit): Use it.
16016 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16017 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16019 2013-03-28 Leo Liu <sdl.web@gmail.com>
16021 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16023 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16025 * facemenu.el (list-colors-callback): New defvar.
16026 (list-colors-redisplay): New function.
16027 (list-colors-display): Install list-colors-redisplay as the
16028 revert-buffer-function. (Bug#14063)
16030 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16032 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16033 and suffixes don't overlap (bug#14061).
16035 * case-table.el: Use lexical-binding.
16036 (case-table-get-table): New function.
16037 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16039 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16041 * progmodes/subword.el: Add `superword-mode' to do word motion
16042 over symbol_words (parallels and leverages `subword-mode' which
16043 does word motion inside MixedCaseWords).
16045 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16047 * eshell/em-unix.el: Move su and sudo to...
16048 * eshell/em-tramp.el: ...Eshell tramp module.
16050 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16052 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16053 Change return value to be a sexp. Delay `get-buffer' to after
16054 restoring the desktop (bug#13951).
16056 2013-03-26 Leo Liu <sdl.web@gmail.com>
16058 * register.el: Move semantic tag handling back to
16059 cedet/semantic/senator.el. (Bug#14052)
16061 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16063 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16064 into the prompt either (bug#13963).
16066 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16068 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16069 part of "(error-foo)".
16071 2013-03-24 Juri Linkov <juri@jurta.org>
16073 * replace.el (list-matching-lines-prefix-face): New defcustom.
16074 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16075 `occur-engine' if `face-differs-from-default-p' returns t.
16076 (occur-engine): Add `,' inside backquote construct to evaluate
16077 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16078 Pass `prefix-face' to the functions `occur-context-lines' and
16079 `occur-engine-add-prefix'.
16080 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16081 `prefix-face' and propertize the prefix with `prefix-face'.
16084 2013-03-24 Leo Liu <sdl.web@gmail.com>
16086 * nxml/rng-valid.el (rng-validate-while-idle)
16087 (rng-validate-quick-while-idle): Guard against deleted buffer.
16090 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16091 is the last entry in kill-buffer-hook.
16093 * files.el (kill-buffer-hook): Doc fix.
16095 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16097 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16098 Make it safe-local.
16100 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16102 2013-03-23 Leo Liu <sdl.web@gmail.com>
16104 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16107 * nxml/rng-valid.el (rng-validate-mode)
16108 (rng-after-change-function, rng-do-some-validation):
16109 * nxml/rng-maint.el (rng-validate-buffer):
16110 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16111 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16112 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16113 (nxml-extend-after-change-region): Use with-silent-modifications.
16115 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16118 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16119 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16120 timer-idle-list. (Bug#13999)
16122 2013-03-23 Juri Linkov <juri@jurta.org>
16124 * info.el (info-index-match): New face.
16125 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16126 main pattern and add text properties with the new face to matches
16127 in index entries relative to the beginning of the index entry.
16130 2013-03-21 Eric Ludlam <zappo@gnu.org>
16132 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16133 Inhibit read only while inserting objects.
16135 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16137 * progmodes/cfengine.el: Update docs to mention
16138 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16139 symbol motion. Remove "_" from the word syntax.
16141 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16143 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16144 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16146 2013-03-20 Juri Linkov <juri@jurta.org>
16148 * info.el (Info-next-reference-or-link)
16149 (Info-prev-reference-or-link): New functions.
16150 (Info-next-reference, Info-prev-reference): Use them.
16151 (Info-try-follow-nearest-node): Handle footnote navigation.
16152 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16154 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16156 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16157 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16159 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16161 Suppress unnecessary non-ASCII chatter during build process.
16162 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16163 (batch-skkdic-convert): Suppress most of the chatter.
16164 It's not needed so much now that machines are faster,
16165 and its non-ASCII component was confusing; see Dmitry Gutov in
16166 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16168 2013-03-20 Leo Liu <sdl.web@gmail.com>
16170 * ido.el (ido-chop): Fix bug#10994.
16172 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16174 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16176 (whitespace-color-on, whitespace-color-off):
16177 Use `font-lock-fontify-buffer' (Bug#13817).
16179 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16181 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16182 remapping in mode-line.
16183 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16185 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16187 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16188 value for `whitespace-line' face (Bug#13875).
16189 (whitespace-font-lock-keywords): Change description.
16190 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16191 the constructed keywords instead.
16192 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16194 2013-03-19 Leo Liu <sdl.web@gmail.com>
16196 * progmodes/compile.el (compilation-display-error): New command.
16197 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16200 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16202 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16204 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16206 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16208 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16210 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16212 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16213 * net/tramp-gvfs.el (top):
16214 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16215 (tramp-handle-shell-command): Use it.
16216 (tramp-dissect-file-name): Raise an error when hostname is a
16217 method name, and neither method nor user is specified.
16219 * net/trampver.el: Update release number.
16221 2013-03-18 Leo Liu <sdl.web@gmail.com>
16223 Make sure eldoc can be turned off properly.
16224 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16226 (eldoc-display-message-p): Revert last change.
16227 (eldoc-display-message-no-interference-p)
16228 (eldoc-print-current-symbol-info): Tweak.
16230 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16232 * doc-view.el (doc-view-new-window-function): Check the new window
16233 overlay's display property instead the char property of the
16234 buffer's first char. Use `with-selected-window' instead of
16235 `save-window-excursion' with `select-window'.
16236 (doc-view-document->bitmap): Check the current doc-view overlay's
16237 display property instead the char property of the buffer's first char.
16239 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16241 Automate the build of ja-dic.el (Bug#13984).
16242 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16243 from the input, rather than assume that it's been done for us by the
16244 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16245 the current date into a ja-dic.el comment, as that complicates
16246 regression testing.
16248 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16250 * whitespace.el: Fix double evaluation.
16251 (whitespace-space, whitespace-hspace, whitespace-tab)
16252 (whitespace-newline, whitespace-trailing, whitespace-line)
16253 (whitespace-space-before-tab, whitespace-indentation)
16254 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16256 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16257 (whitespace-color-on): Use a single font-lock-add-keywords call.
16258 Fix double-evaluation of face variables.
16260 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16262 * net/tramp-adb.el (tramp-adb-parse-device-names):
16263 Use `start-process' instead of `call-process'. Otherwise, the
16264 function might be blocked under MS Windows. (Bug#13299)
16266 2013-03-17 Leo Liu <sdl.web@gmail.com>
16268 Extend eldoc to display info in the mode-line. (Bug#13978)
16269 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16270 (eldoc-mode-line-string): New variable.
16271 (eldoc-minibuffer-message): New function.
16272 (eldoc-message-function): New variable.
16273 (eldoc-message): Use it.
16274 (eldoc-display-message-p)
16275 (eldoc-display-message-no-interference-p):
16276 Support eldoc-post-insert-mode.
16278 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16279 (eval-expression): Run it.
16281 2013-03-17 Roland Winkler <winkler@gnu.org>
16283 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16284 strings in the list of return values.
16286 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16288 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16289 radix before checking for HMS forms.
16291 2013-03-16 Leo Liu <sdl.web@gmail.com>
16293 * progmodes/scheme.el: Add indentation and font-locking for λ.
16296 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16298 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16299 token before point (bug#13942).
16301 2013-03-16 Leo Liu <sdl.web@gmail.com>
16303 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16305 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16307 * startup.el (command-line-normalize-file-name): Fix handling of
16308 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16309 <xfq.free@gmail.com> in
16310 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16312 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16314 Sync with Tramp 2.2.7.
16316 * net/trampver.el: Update release number.
16318 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16320 * doc-view.el: Fix bug#13887.
16321 (doc-view-insert-image): Don't modify overlay associated to
16322 non-live windows, and implement horizontal centering of image in
16323 case it's smaller than the window.
16324 (doc-view-new-window-function): Force redisplay of new windows on
16327 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16329 * saveplace.el (save-place-alist-to-file): Don't sort
16330 `save-place-alist', just pretty-print it (bug#13882).
16332 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16334 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16335 Check whether `default-file-name-coding-system' is bound.
16336 It isn't in XEmacs.
16338 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16340 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16341 backquotes for `obsolete' (bug#13929).
16343 * international/mule.el (find-auto-coding): Include file name in
16344 obsolescence warning (bug#13922).
16346 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16348 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16349 for CFEngine 3-specific indentation.
16350 (cfengine3-indent-line): Use it. Fix up category regex.
16351 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16353 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16355 * type-break.el (type-break-file-name):
16356 * textmodes/remember.el (remember-data-file):
16357 * strokes.el (strokes-file):
16358 * shadowfile.el (shadow-initialize):
16359 * saveplace.el (save-place-file):
16360 * ps-bdf.el (bdf-cache-file):
16361 * progmodes/idlwave.el (idlwave-config-directory):
16362 * net/quickurl.el (quickurl-url-file):
16363 * international/kkc.el (kkc-init-file-name):
16364 * ido.el (ido-save-directory-list-file):
16365 * emulation/viper.el (viper-custom-file-name):
16366 * emulation/vip.el (vip-startup-file):
16367 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16368 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16370 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16372 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16373 * language/thai-word.el: Switch to UTF-8.
16375 See ChangeLog.16 for earlier changes.
16377 ;; Local Variables:
16381 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16383 This file is part of GNU Emacs.
16385 GNU Emacs is free software: you can redistribute it and/or modify
16386 it under the terms of the GNU General Public License as published by
16387 the Free Software Foundation, either version 3 of the License, or
16388 (at your option) any later version.
16390 GNU Emacs is distributed in the hope that it will be useful,
16391 but WITHOUT ANY WARRANTY; without even the implied warranty of
16392 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16393 GNU General Public License for more details.
16395 You should have received a copy of the GNU General Public License
16396 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.