1 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
5 (tramp-open-connection-setup-interactive-shell): No need to check
6 for nil as `tramp-get-remote-locale' return value.
8 2014-11-21 Eli Zaretskii <eliz@gnu.org>
10 * vc/vc-git.el (vc-git-command, vc-git--call): Bind
11 coding-system-for-read and coding-system-for-write to
12 vc-git-commits-coding-system.
13 (vc-git-previous-revision): Use "~1" instead of "^", since the
14 latter is a special character for MS-Windows system shells.
16 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
18 Improve XEmacs compatibility.
20 * net/tramp.el (tramp-autoload-file-name-handler):
21 Wrap `temporary-file-directory' by `symbol-value', it doesn't
23 (tramp-read-passwd): Don't use `with-timeout-suspend' and
24 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
25 (tramp-time-less-p, tramp-time-subtract): Remove functions.
26 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
27 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
28 * net/tramp-cache.el (tramp-get-file-property):
29 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
30 Use `time-less-p' and `time-subtract, respectively.
32 * net/tramp-adb.el (top): Do not require time-date.el.
34 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
36 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
37 Check, whether `utf-8' is a valid coding system.
39 2014-11-19 Eli Zaretskii <eliz@gnu.org>
41 * vc/vc.el (vc-retrieve-tag): Doc fix.
43 2014-11-17 Eli Zaretskii <eliz@gnu.org>
45 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
46 Don't assume --long is the default for "bzr log", always specify
47 it explicitly, in case the user defined an alias for 'log' that
48 uses some other format.
50 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
52 * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
53 shell output before returning. (bug#18794)
55 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
57 Fix indentation before `!=' and after `+='. Originally reported
58 in https://github.com/mooz/js2-mode/issues/174.
59 * progmodes/js.el (js--indent-operator-re): Make assignments and
60 (in)equality operator a separate case.
61 (js--continued-expression-p): Escape the second `+' in the regexp.
63 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
65 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
67 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
69 * version.el (emacs-repository-get-version): Use git rev-parse
72 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
74 * progmodes/python.el (python-indent-calculate-levels): Fix
75 indentation behavior multiline dedenter statement. (Bug#18432)
77 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
79 * progmodes/python.el (python-indent-region): Use
80 python-indent-line and skip special cases. (Bug#18843)
82 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
84 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
86 2014-10-28 Peder O. Klingenberg <peder@klingenberg.no> (tiny change)
88 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
89 envelope-from when reporting through sendmail (bug#19054).
91 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
93 * progmodes/python.el (python-ffap-module-path): Use
94 `derived-mode-p' instead of equality test on `major-mode'.
96 2014-11-13 Ulrich Müller <ulm@gentoo.org>
98 * version.el (emacs-repository-get-version): Call `git log'
99 command with proper format argument (bug#19049).
101 2014-11-10 Glenn Morris <rgm@gnu.org>
103 * startup.el (command-line): Handle nil elements in load-path.
105 2014-11-08 Glenn Morris <rgm@gnu.org>
107 * emacs-lisp/bytecomp.el (byte-compile-report-error):
108 Allow the argument to be a string. Due to the vague doc,
109 it was already being used this way.
111 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
113 * net/tramp.el (tramp-check-cached-permissions): Include hop in
114 the constructed Tramp file name. (Bug#18943)
116 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
118 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
120 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
121 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
123 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
125 * files.el (file-name-non-special): Wrap the call of
126 `insert-file-contents' by `unwind-protect', in order to set the
127 buffer's file name anyway. (Bug#18891)
129 2014-11-07 Daiki Ueno <ueno@gnu.org>
131 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
132 (bug#18979). Reported by Hideki Saito.
134 2014-10-18 Alan Mackenzie <acm@muc.de>
136 Check that a "macro" found near point-min isn't a ## operator.
137 Fixes bug #18749. Backported from trunk, 2014-11-05.
138 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
139 (c-beginning-of-macro): Use the above new function.
141 2014-11-05 Alan Mackenzie <acm@muc.de>
143 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
144 * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
145 "(point-max)" as bound to c-font-lock-declarators, not "limit", as
146 the buffer is sometimes narrowed to less than "limit" (e.g., in
147 the presence of macros).
149 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
151 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
152 only when message appeared in minibuffer. (Bug#18891)
154 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
155 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
156 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
159 2014-11-04 Eli Zaretskii <eliz@gnu.org>
161 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
162 returned by load-average.
164 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
166 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
167 a local copy; setting `inhibit-file-name-handlers' proper might be
168 more performant. (Bug#18751)
170 2014-11-04 Glenn Morris <rgm@gnu.org>
172 * mail/emacsbug.el (report-emacs-bug): No longer include
173 recent-keys in the report. (Bug#18900)
175 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
177 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
178 local copy of FILENAME, when it is remote. (Bug#18751)
180 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
182 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
183 an error when the command fails; the return code must indicate.
184 (tramp-adb-send-command-and-check): Fix docstring.
186 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
188 * net/tramp-cache.el (tramp-get-file-property)
189 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
190 and `tramp-cache-set-count-*' are bound. Otherwise, there might
191 be compiler warnings.
193 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
194 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
196 2014-11-01 Eli Zaretskii <eliz@gnu.org>
198 * progmodes/compile.el (compilation-mode): Turn off deferred
199 fontifications locally. (Bug#18856)
201 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
203 * net/tramp-sh.el (tramp-send-command): Fix the case where the
204 remote-echo connection property is non-nil (bug#18858).
206 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
208 Backport Tramp changes from trunk.
210 * net/tramp.el (tramp-methods): Tweak docstring.
211 (tramp-file-name-handler): Apply `cons' where appropriate.
212 (tramp-handle-file-accessible-directory-p): Check for
213 `file-readable-p' instead of `file-executable-p'.
214 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
215 (tramp-handle-unhandled-file-name-directory): Return "/".
216 (tramp-check-cached-permissions):
217 Use `tramp-compat-file-attributes'.
218 (tramp-call-process): Add new argument VEC. Adapt callees in all
221 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
222 (tramp-adb-handle-write-region): Improve messages.
223 (tramp-adb-maybe-open-connection): Don't set
224 `tramp-current-*' variables.
226 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
227 Suppress debug messages.
229 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
230 (tramp-ftp-file-name-handler):
232 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
233 (tramp-gvfs-methods-mounttracker)
234 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
235 during initialization. (Bug#18774)
236 (tramp-gvfs-handle-delete-file): Flush file properties, not
237 directory properties.
238 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
239 reading "unix::mode".
240 (tramp-gvfs-handle-file-name-all-completions):
241 Use "-h" option for "gvfs-ls".
242 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
243 `user' and `localname' could be nil.
244 (tramp-gvfs-send-command): Simplify traces.
246 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
247 (vc-git-program, vc-hg-program): Declare.
248 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
249 (tramp-methods) <nc>: Add new method.
250 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
251 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
253 (tramp-default-user-alist): Add "nc".
254 (top): Remove completion function for "sftp". Add completion
255 functions for "nc" and "psftp".
256 (tramp-sh-handle-set-visited-file-modtime):
257 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
258 (tramp-do-copy-or-rename-file-out-of-band):
259 Use cached "remote-copy-args" value, if available. (Bug#18199)
260 Tweak docstring. Implement support for "nc" method.
261 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
262 (tramp-remote-coding-commands, tramp-call-local-coding-command):
264 (tramp-sh-handle-start-file-process): Expand `default-directory'.
265 (tramp-sh-handle-write-region): Tweak error message.
266 (tramp-sh-handle-vc-registered): Remove backends when the remote
267 binary does not exist.
268 (tramp-open-connection-setup-interactive-shell):
269 Prefer utf-8 coding. (Bug#17859)
270 (tramp-find-inline-encoding): Do not raise an error.
271 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
272 the "nc" case. Quote result also locally.
273 (tramp-get-remote-id): Check also for "gid".
274 (tramp-get-remote-python):
276 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
277 (tramp-smb-handle-set-file-acl): Use `start-process'.
278 (tramp-smb-handle-insert-directory): Use progress reporter.
279 (tramp-smb-handle-rename-file): Flush also file properties of
282 * net/trampver.el: Update release number.
284 2014-11-01 Reuben Thomas <rrt@sc3d.org>
286 * net/tramp.el (tramp-handle-file-symlink-p):
287 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
288 about VMS, which we no longer support.
290 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
292 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
293 the global vc-handled-backends (bug#18535).
295 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
296 Michael Albinus <michael.albinus@gmx.de>
298 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
299 Reduce the amount of set environment variable commands.
301 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
303 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
306 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
308 * net/tramp-sh.el (tramp-get-remote-python): Also search for
309 executables named "python2" or "python3".
310 (tramp-get-remote-uid-with-python): Use parentheses around
311 arguments to `print' to make it compatible with Python 3.
312 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
314 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
316 * simple.el (newline): Add assertions to try and help catch bug#18913.
318 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
320 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
322 2014-10-31 Eli Zaretskii <eliz@gnu.org>
324 * Makefile.in (repo-update): Fix a typo and slightly reword
327 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
329 * Makefile.in: Change some production names so they're neutral
330 about the repository type.
332 2014-10-30 Kim F. Storm <storm@cua.dk>
334 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
335 * delsel.el (delete-selection-save-to-register)
336 (delsel--replace-text-or-position): New vars.
337 (delete-active-region): Use them.
338 (delete-selection-repeat-replace-region): New command, moved from
340 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
341 (cua-repeat-replace-region): Move command to delsel.el.
342 (cua--init-keymaps): Update binding accordingly.
343 (cua-mode): Set delete-selection-save-to-register.
345 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
347 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
349 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
351 2014-10-29 Eli Zaretskii <eliz@gnu.org>
353 * progmodes/compile.el (compilation-start):
354 If compilation-scroll-output is non-nil, don't force window-start of
355 the compilation buffer to be at beginning of buffer. (Bug#18874)
357 2014-10-23 Tassilo Horn <tsdh@gnu.org>
359 * doc-view.el (doc-view-open-text): View the document's plain text
360 in the current buffer instead of a new one.
361 (doc-view-toggle-display): Handle the case where the current
362 buffer contains the plain text contents of the document.
363 (doc-view-initiate-display): Don't switch to fallback mode if the
364 user wants to view the doc's plain text. [Backport]
366 2014-10-23 Eli Zaretskii <eliz@gnu.org>
368 * startup.el (fancy-about-text): Read the entire tutorial, not
369 just its first 256 bytes. (Bug#18760)
371 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
373 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
374 * emacs-lisp/cl-extra.el: Add missing provide.
376 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
378 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
379 all args are copyable (bug#18767).
380 (=, <, >, <=, >=): Re-enable the optimization.
382 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
384 * vc/vc-hg.el (vc-hg-log-graph): New var.
385 (vc-hg-print-log): Use it.
386 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
387 graph output (bug#17515).
389 2014-10-20 Juri Linkov <juri@jurta.org>
391 * vc/diff-mode.el (diff-refine-changed): Rename from
392 `diff-refine-change' for consistency with `diff-changed'.
393 (diff-refine-change): Add obsolete face alias. (Bug#10181)
395 * vc/smerge-mode.el (smerge-refined-changed): Rename from
396 `smerge-refined-change'.
397 (smerge-refined-change): Add obsolete face alias.
399 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
401 * subr.el (call-process-shell-command, process-file-shell-command):
402 Make the `args' obsolete (bug#18409).
403 (start-process-shell-command, start-file-process-shell-command):
406 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
408 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
410 2014-10-20 Glenn Morris <rgm@gnu.org>
412 * dired.el (dired-read-regexp): Make obsolete.
413 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
414 (dired-flag-files-regexp):
415 * dired-aux.el (dired-mark-read-regexp):
416 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
418 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
420 * progmodes/python.el (inferior-python-mode): Use add-hook.
422 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
424 2014-10-20 Glenn Morris <rgm@gnu.org>
426 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
427 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
428 * emulation/ws-mode.el: Move to obsolete/. [Backport]
430 2014-10-20 Glenn Morris <rgm@gnu.org>
432 * cus-start.el (history-length): Bump :version. [Backport]
434 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
436 * obsolete/cc-compat.el: Make obsolete (bug#18561).
438 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
440 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
443 2014-10-20 Glenn Morris <rgm@gnu.org>
445 * Version 24.4 released.
447 2014-10-15 Alan Mackenzie <acm@muc.de>
449 * cus-edit.el (custom-command-apply): Specify the return value in
451 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
452 custom-command-apply has returned non-nil.
454 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
456 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
457 Backported (bug#18688).
459 2014-10-14 Eli Zaretskii <eliz@gnu.org>
461 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
462 Force bidi-paragraph-direction to 'left-to-right'. This fixes
463 buffer-menu display when the first buffer happens to start with
466 2014-10-13 Glenn Morris <rgm@gnu.org>
468 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
469 (authors-obsolete-files-regexps): Additions.
470 (authors-no-scan-regexps): New constant.
471 (authors-no-scan-file-p): New function.
472 (authors): Respect authors-no-scan-file-p.
474 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
476 Fix import completion. (Bug#18582)
477 * progmodes/python.el (python-shell-completion-get-completions):
478 Fix import case regexp.
480 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
482 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
483 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
484 * progmodes/prolog.el (prolog-electric--underscore): Same.
486 2014-10-09 Glenn Morris <rgm@gnu.org>
488 * frame.el (display-monitor-attributes-list): Doc tweaks.
490 2014-10-08 Eli Zaretskii <eliz@gnu.org>
492 * faces.el (display-grayscale-p): Mention in the doc string that
493 the argument can be either a display name or a frame.
495 * frame.el (display-pixel-height, display-pixel-width)
496 (display-mm-height, display-mm-width, display-backing-store)
497 (display-save-under, display-planes, display-color-cells)
498 (display-visual-class, display-monitor-attributes-list)
499 (display-screens): Mention in the doc string that the argument can
500 be either a display name or a frame. Improve the docs of the
501 monitor attributes. (Bug#18636)
503 2014-10-06 Martin Rudalics <rudalics@gmx.at>
505 * term.el (term-window-width): Subtract 1 from the width when
506 any fringe has zero width, not just the right fringe. (Bug#18601)
508 2014-10-05 Leo Liu <sdl.web@gmail.com>
510 * imenu.el (imenu-default-goto-function): Fix typo.
512 2014-10-04 Glenn Morris <rgm@gnu.org>
514 * frame.el (frame-monitor-attributes)
515 (display-monitor-attributes-list): Doc fixes.
517 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
519 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
520 (vc-svn-ignore): Use it. (Bug#18619)
522 2014-10-03 Martin Rudalics <rudalics@gmx.at>
524 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
525 In doc-string mention need to set `frame-resize-pixelwise'.
527 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
529 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
530 similarly to Rogers's 2010-06-16 change for the remote case
533 2014-10-01 Glenn Morris <rgm@gnu.org>
535 * emacs-lisp/package.el (package-import-keyring):
536 Create gnupg directory private. (Bug#17625#155)
538 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
540 * progmodes/python.el (python-shell-completion-get-completions):
541 Use python-shell--prompt-calculated-input-regexp from the
542 process buffer (bug#18582).
543 Don't assume that `line' comes from the process buffer.
545 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
547 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
550 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
552 * emacs-lisp/package.el (package-check-signature): Default to nil if
553 GPG is not available.
554 (package-refresh-contents): Don't mess with the keyring if we won't
555 check the signatures anyway.
557 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
559 * window.el (fit-window-to-buffer): When counting buffer width,
560 count the whole visible buffer. Correctly convert the body-height
561 to pixel size for window-text-pixel-size (Bug#18498).
563 2014-09-14 Glenn Morris <rgm@gnu.org>
565 * image.el (image-multi-frame-p): Fix thinko - do not force
566 a delay if none was specified. (Bug#18334)
568 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
570 * window.el (fit-window-to-buffer): Doc fix.
572 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
574 * desktop.el (desktop-create-buffer): Check that buffers are still live
575 before burying them (bug#18373).
577 2014-09-09 Glenn Morris <rgm@gnu.org>
579 * calendar/diary-lib.el (diary-list-entries):
580 Restore 24.3 display behavior. (Bug#18381)
582 2014-09-09 Eli Zaretskii <eliz@gnu.org>
584 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
585 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
586 discrepancy between window-pixel-edges and mouse events, and
587 avoids moving mode line up when the mouse click is on the modeline
588 and no drag is attempted.
590 2014-09-08 Glenn Morris <rgm@gnu.org>
592 * calendar/calendar.el (calendar-basic-setup):
593 Avoid clobbering calendar with diary. (Bug#18381)
595 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
597 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
599 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
601 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
604 2014-09-04 Eli Zaretskii <eliz@gnu.org>
606 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
608 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
610 * emacs-lisp/package.el (package-generate-description-file):
611 Properly quote the arguments (bug#18332). Change second arg.
612 (package--alist-to-plist-args): Rename from package--alist-to-plist and
614 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
615 the *-pkg.el file. Adjust to new calling convention of
616 package-generate-description-file.
618 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
619 (gud-gdb-completions): Remove obsolete workaround.
621 2014-09-02 Eli Zaretskii <eliz@gnu.org>
623 * subr.el (posn-col-row): Revert the change from commit
624 2010-11-13T21:07:58Z!eliz@gnu.org, which
625 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
626 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
627 introduced an off-by-one error in the reported row when there is a
628 header line. (Bug#18384)
630 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
632 * progmodes/python.el (python-indent-post-self-insert-function):
633 Avoid electric colon at beginning-of-defun. (Bug#18228)
635 2014-09-01 Glenn Morris <rgm@gnu.org>
637 * tutorial.el (tutorial--display-changes):
638 Fix 2014-07-29 change. (Bug#18382)
640 2014-08-29 Ken Brown <kbrown@cornell.edu>
642 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
643 the Cygwin-w32 build. (Bug#18347)
645 2014-08-28 Glenn Morris <rgm@gnu.org>
647 * tar-mode.el (tar--extract, tar-extract):
648 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
650 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
652 * emacs-lisp/authors.el (authors-aliases): Addition.
654 * net/tramp-adb.el: Spell author name correctly.
656 2014-08-27 João Távora <joaotavora@gmail.com>
658 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
659 use url-expand-file-name. (Bug#18310)
661 2014-08-25 Glenn Morris <rgm@gnu.org>
663 * emulation/cua-rect.el (cua--highlight-rectangle):
664 Avoid error at point-min. (Bug#18309)
666 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
668 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
669 executable-find (bug#18244).
671 * simple.el (self-insert-uses-region-functions): Defvar.
673 2014-08-13 Leo Liu <sdl.web@gmail.com>
675 * speedbar.el (speedbar-generic-list-tag-p): Allow special
678 2014-08-11 Glenn Morris <rgm@gnu.org>
680 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
682 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
683 chose coding system for writing before backing up, since it causes
684 a more serious problem than the one it solves. (Closes Bug#18141,
687 2014-08-10 Martin Rudalics <rudalics@gmx.at>
689 * window.el (window-total-size): Make doc-string more
692 2014-08-09 Martin Rudalics <rudalics@gmx.at>
694 * window.el (display-buffer-below-selected): Restore original
695 behavior if buffer is already displayed in the window below the
696 selected one (Bug#18181).
698 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
700 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
703 2014-08-08 Eli Zaretskii <eliz@gnu.org>
705 * info.el (info): Doc fix.
707 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
709 * info.el (Info-mode-map): Override a global down-mouse-2 binding
712 2014-08-05 Eli Zaretskii <eliz@gnu.org>
714 * simple.el (default-line-height): A floating-point value of
715 line-spacing means a fraction of the default frame font's height,
716 not of the font currently used by the 'default' face.
717 Truncate the pixel value, like the display engine does.
718 (window-screen-lines): Use window-inside-pixel-edges for
719 determining the window height in pixels. (Bug#18195)
721 2014-07-29 Eli Zaretskii <eliz@gnu.org>
723 * tutorial.el (tutorial--display-changes): Accept punctuation
724 characters before the key binding. (Bug#18146)
726 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
728 * doc-view.el (doc-view-open-text): Don't require that the
729 document is saved in a file (e.g., email attachment).
731 2014-07-27 Eli Zaretskii <eliz@gnu.org>
733 * window.el (window--pixel-to-total): Use FRAME's root window, not
734 that of the selected frame. (Bug#18112, Bug#16674)
736 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
738 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
741 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
743 * progmodes/python.el (inferior-python-mode): Doc fix.
745 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
747 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
748 not a character, ignore it instead of raising an error.
750 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
752 * calendar/todo-mode.el: Fix handling of marked items and make
753 minor code improvements.
754 (todo-edit-item): If there are marked items, ensure user can only
755 invoke editing commands that work with marked items.
756 (todo-edit-item--text): When there are marked items, make it a
757 noop if invoked with point not on an item; otherwise, ensure it
758 applies only to item at point.
759 (todo-item-undone): If there are marked not-done items, return
760 point to its original position before signaling user error.
761 (todo--user-error-if-marked-done-item): New function.
762 (todo-edit-item--header, todo-edit-item--diary-inclusion)
763 (todo-item-done): Use it.
765 2014-07-25 Glenn Morris <rgm@gnu.org>
767 * files.el (toggle-read-only): Re-add basic doc-string.
768 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
770 * progmodes/prolog.el (prolog-mode-keybindings-edit):
771 Replace missing `switch-to-prolog' with `run-prolog'.
772 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
774 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
776 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
777 of file-wide setting when changing category-wide setting.
779 2014-07-21 Glenn Morris <rgm@gnu.org>
781 * progmodes/hideif.el (hide-ifdef-mode-submap):
782 Also substitute read-only-mode.
783 * bindings.el (mode-line-toggle-read-only):
784 * bs.el (bs-toggle-readonly):
785 * buff-menu.el (Buffer-menu-toggle-read-only):
786 * dired.el (dired-toggle-read-only):
787 * files.el (view-read-only, find-file-read-only)
788 (find-file-read-only-other-window)
789 (find-file-read-only-other-frame):
790 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
791 Doc fixes re toggle-read-only.
793 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
795 * progmodes/python.el: Add comment about pipe buffering and
796 solutions for missing/delayed output in inferior Python shells.
799 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
801 * progmodes/python.el (python-mode): Don't set
802 mode-require-final-newline. (Bug#17990)
804 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
806 Make python.el work with IPython automatically. (Bug#15510)
807 * progmodes/python.el:
808 (python-shell-completion-setup-code): New value supporting iPython.
809 (python-shell-completion-string-code): New value supporting iPython.
810 (python-shell-completion-get-completions): Use them.
811 (python-shell-completion-module-string-code): Make obsolete.
812 (python-shell-prompt-input-regexps)
813 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
814 (python-shell-output-filter): Fix comment typo.
816 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
818 Fix Python shell prompts detection for remote hosts.
819 * progmodes/python.el (python-shell-prompt-detect):
820 Replace call-process with process-file and make it more robust.
822 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
824 Autodetect Python shell prompts. (Bug#17370)
825 * progmodes/python.el:
826 (python-shell-interpreter-interactive-arg)
827 (python-shell-prompt-detect-enabled)
828 (python-shell-prompt-detect-failure-warning)
829 (python-shell-prompt-input-regexps)
830 (python-shell-prompt-output-regexps): New vars.
831 (python-shell-prompt-calculated-input-regexp)
832 (python-shell-prompt-calculated-output-regexp): New vars.
833 (python-shell-get-process-name)
834 (python-shell-internal-get-process-name)
835 (python-shell-output-filter)
836 (python-shell-completion-get-completions): Use them.
837 (python-shell-prompt-detect)
838 (python-shell-prompt-validate-regexps): New functions.
839 (python-shell-prompt-set-calculated-regexps): New function.
840 (inferior-python-mode): Use it. Also honor overridden
841 python-shell-interpreter and python-shell-interpreter-args.
842 (python-shell-make-comint): Honor overridden
843 python-shell-interpreter and python-shell-interpreter-args.
844 (python-shell-get-or-create-process): Make it testable by allowing
845 to call run-python non-interactively.
846 (python-util-valid-regexp-p): New function.
847 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
848 (python-shell-prompt-output-regexp)
849 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
851 2014-07-16 Glenn Morris <rgm@gnu.org>
853 * desktop.el (after-init-hook): Disable startup frame restoration
854 in non-graphical situations. (Bug#17693)
856 2014-07-14 Glenn Morris <rgm@gnu.org>
858 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
859 if it was "empty", or used for a different set of files. (Bug#17884)
861 2014-07-13 Eli Zaretskii <eliz@gnu.org>
863 * bindings.el (mode-line-remote): If default-directory is not a
864 string, don't call file-remote-p on it; instead state in the
865 help-echo that it is nil. (Bug#17986)
867 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
869 Fix bug: C-x v v discarded existing log message (Bug#17884).
870 * vc/vc-dispatcher.el (vc-log-edit):
871 Don't clobber an already-existing log message.
873 2014-07-10 Glenn Morris <rgm@gnu.org>
875 * vc/log-edit.el (log-edit-changelog-entries):
876 Check for a visited-but-never-saved ChangeLog.
878 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
880 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
881 a non-existing file (bug#17970).
883 * faces.el (face-name): Undo last change.
884 (x-resolve-font-name): Don't call face-name (bug#17956).
886 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
888 Fix dedenters and electric colon handling. (Bug#15163)
890 * progmodes/python.el
891 (python-rx-constituents): Add dedenter and block-ender.
892 (python-indent-dedenters, python-indent-block-enders): Delete.
893 (python-indent-context): Return new case for dedenter-statement.
894 (python-indent-calculate-indentation): Handle new case.
895 (python-indent-calculate-levels): Fix levels calculation for
897 (python-indent-post-self-insert-function): Fix colon handling.
898 (python-info-dedenter-opening-block-message): New function.
899 (python-indent-line): Use it.
900 (python-info-closing-block)
901 (python-info-closing-block-message): Remove.
902 (python-info-dedenter-opening-block-position)
903 (python-info-dedenter-opening-block-positions)
904 (python-info-dedenter-statement-p): New functions.
906 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
908 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
909 the middle of a line (bug#17896).
911 2014-07-08 Juri Linkov <juri@jurta.org>
913 * startup.el (command-line): Append displaying the warning about
914 the errors in the init file to the end of `after-init-hook'.
917 2014-07-08 Juri Linkov <juri@jurta.org>
919 * faces.el (face-name): Return input arg `face' as is
920 when it's not a symbol.
921 (x-resolve-font-name): Don't check if the face is a symbol.
924 2014-07-08 Juri Linkov <juri@jurta.org>
926 * facemenu.el (list-colors-print): In help-echo format use %.2f
927 instead of %d because now HSV values are floating-point components
930 2014-07-06 Glenn Morris <rgm@gnu.org>
932 * emulation/cua-rect.el (cua--activate-rectangle):
933 Avoid setting cua--rectangle to nil. (Bug#17877)
935 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
937 * calendar/todo-mode.el: Fix wrong-type-argument error when
938 marking multiple consecutive items.
939 (todo-toggle-mark-item): Don't try to mark the empty lines at the
940 end of the todo and done items sections. Note in doc string that
941 items marked by passing a numeric prefix argument can include the
942 last todo and first done items.
943 (todo-mark-category): Don't try to mark the empty line between the
944 todo and done items sections.
946 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
948 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
949 proper Lisp quoting (bug#17934).
951 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
952 require-final-newline since prog-mode already took care of it (bug#17947).
954 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
956 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
957 refer to the Todo mode Info manual. Update the comment on
959 (todo-find-filtered-items-file): Add todo-prefix overlays.
960 (todo-filter-items): Reorder a let-bound variable to avoid a
961 wrong-type-argument error on canceling the file choice dialog.
963 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
965 * progmodes/octave.el (inferior-octave-mode):
966 Set comint-input-ring-size to a number (bug#17912).
968 2014-07-03 Juri Linkov <juri@jurta.org>
970 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
971 and `isearch-mode' associated with nil. (Bug#17849)
973 2014-07-02 Juri Linkov <juri@jurta.org>
975 * desktop.el (desktop-save): Rename arg `auto-save' to
976 `only-if-changed'. Doc fix. (Bug#17873)
978 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
980 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
981 Use insert-for-yank (bug#17271).
983 2014-07-02 Leo Liu <sdl.web@gmail.com>
985 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
986 Support lexical-binding.
988 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
990 * vc/log-edit.el (log-edit-goto-eoh): New function.
991 (log-edit--match-first-line): Use it (bug#17861).
993 2014-07-01 Glenn Morris <rgm@gnu.org>
995 * vc/log-edit.el (log-edit-hook): Add missing :version.
997 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
999 * progmodes/python.el (python-indent-post-self-insert-function):
1000 Enhancements to electric indentation behavior inside
1003 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1005 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1006 buffer-invisibility-spec (bug#17867).
1008 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1010 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1013 2014-06-29 Glenn Morris <rgm@gnu.org>
1015 * cus-edit.el (help):
1016 * finder.el (finder-known-keywords):
1017 * help.el (help-for-help-internal):
1018 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1019 (ediff-redraw-registry-buffer):
1020 * vc/ediff-ptch.el (ediff-patch-file-internal):
1021 Doc fixes re "online" help. (Bug#17803)
1023 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1024 (idlwave-mode): Doc URL update.
1026 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1028 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1029 account for file-wide setting of todo-top-priorities-overrides.
1030 Make code a bit cleaner.
1032 2014-06-27 Leo Liu <sdl.web@gmail.com>
1034 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1036 2014-06-27 Glenn Morris <rgm@gnu.org>
1038 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1040 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1042 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1043 category-wide setting of todo-top-priorities-overrides, check for
1044 a file-wide setting and fontify accordingly.
1046 2014-06-26 Glenn Morris <rgm@gnu.org>
1048 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1050 2014-06-26 Daiki Ueno <ueno@gnu.org>
1052 * emacs-lisp/package.el (package--check-signature):
1053 If package-check-signature is allow-unsigned, don't signal error when
1054 we can't verify signature because of missing public key
1055 (backport for bug#17625).
1057 2014-06-26 Glenn Morris <rgm@gnu.org>
1059 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1060 Remove outdated declaration.
1062 * emacs-lisp/authors.el (authors-valid-file-names)
1063 (authors-renamed-files-alist): Additions.
1065 2014-06-25 Leo Liu <sdl.web@gmail.com>
1067 * textmodes/picture.el (picture-set-tab-stops):
1068 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1069 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1071 * progmodes/asm-mode.el (asm-calculate-indentation):
1072 Use indent-next-tab-stop.
1074 * indent.el (indent-accumulate-tab-stops): New function.
1076 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1078 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1079 (package-desc-status): Obey it.
1081 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1083 * calendar/todo-mode.el: Fix two bugs.
1084 (todo-insert-item--basic): If user cancels item insertion to
1085 another category before setting priority, show original category
1086 whether it is in the same or a different file.
1087 (todo-set-item-priority): After selecting category, instead of
1088 moving point to top, which extends an active region, restore it.
1090 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * help-fns.el (describe-function-1): Check file-name is a string before
1093 calling help-fns--autoloaded-p (bug#17564).
1095 2014-06-24 Juri Linkov <juri@jurta.org>
1097 * desktop.el (desktop-auto-save-enable)
1098 (desktop-auto-save-disable): New functions.
1099 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1100 (desktop-read): Disable the autosave before loading the desktop,
1101 and enable afterwards. (Bug#17351)
1103 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1105 Fix some indentation problem with \; and pipes (bug#17842).
1106 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1107 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1109 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1110 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1111 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1113 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1115 * international/fontset.el (script-representative-chars):
1116 Add representative characters for scripts added in Unicode 7.0.
1117 (otf-script-alist): Synchronize with the latest registry of OTF
1120 * international/characters.el (char-script-table): Update for
1121 scripts added and codepoint ranges changed in Unicode 7.0.
1123 2014-06-23 Leo Liu <sdl.web@gmail.com>
1125 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1126 tab-stop-list to nil. (Bug#16381)
1128 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1129 (indent-rigidly-left-to-tab-stop)
1130 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1131 (move-to-tab-stop): Change callers.
1133 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1135 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1136 wrt behavior of \n as the first/last element of a skeleton.
1138 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1140 * net/tramp-adb.el (tramp-adb-handle-process-file):
1141 * net/tramp-sh.el (tramp-sh-handle-process-file):
1142 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1143 the output buffer when DISPLAY is non-nil. (Bug#17815)
1145 2014-06-21 Glenn Morris <rgm@gnu.org>
1147 * play/landmark.el (landmark-move-down, landmark-move-up):
1148 Fix 2007-10-20 change - preserve horizontal position.
1150 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1152 Fix completion retrieval parsing (bug#17209).
1153 * progmodes/python.el (python-mode):
1154 (python-util-strip-string): New function.
1155 (python-shell-completion-get-completions): Use it.
1157 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1159 * skeleton.el (skeleton-insert): Fix last change.
1161 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1163 Enhancements for outline integration (bug#17796).
1164 * progmodes/python.el (python-mode): Properly set
1165 outline-heading-end-regexp so that comments after colons for
1166 defuns are supported.
1168 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1170 * skeleton.el (skeleton-insert): Doc fix.
1172 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1175 (smie-config-guess): Use smie-config-local so the rules are obeyed
1178 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1179 since it's already done inside the loop (bug#17819).
1181 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1183 * mouse.el (mouse-drag-line): Re-remove code initially removed
1184 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1187 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1190 align with the surrounding parent (bug#17721).
1192 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1194 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1196 (texinfo-insert-block, texinfo-insert-@end)
1197 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1198 local setting of skeleton-end-newline by adding an explicit \n to
1199 the skeletons where appropriate. (Bug#17801)
1201 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1204 (smie-indent--hanging-p): Use it.
1205 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1207 2014-06-20 Leo Liu <sdl.web@gmail.com>
1209 * simple.el (read-quoted-char): Don't let help chars pop up help
1212 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1214 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1217 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1220 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1223 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1225 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1226 and later. (Bug#17790)
1228 2014-06-18 Juri Linkov <juri@jurta.org>
1230 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1231 to `soft'. (Bug#17554)
1233 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1235 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1238 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1240 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1241 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1243 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1245 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1246 `unread-command-events'.
1248 2014-06-14 Glenn Morris <rgm@gnu.org>
1250 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1251 Replace delete-duplicates and mapcan by cl- versions throughout.
1252 And cl-macroexpand-all by macroexpand-all.
1253 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1255 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1257 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1259 2014-06-14 Juri Linkov <juri@jurta.org>
1261 * bindings.el: Put `ascii-character' property on keypad keys
1262 mapped to characters. (Bug#17759)
1264 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1267 bumping forward into a closing paren (bug#17761).
1269 * term/xterm.el (xterm--version-handler): Work around for OSX
1270 Terminal.app (bug#17607).
1272 2014-06-08 Glenn Morris <rgm@gnu.org>
1274 * startup.el (initial-buffer-choice): Doc fix.
1275 Reset :version (adding an option does not merit a :version bump).
1277 * bookmark.el (bookmark-load):
1278 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1280 2014-06-06 Juri Linkov <juri@jurta.org>
1282 * desktop.el: Activate auto-saving on window configuration changes.
1283 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1284 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1285 (desktop-auto-save-set-timer): Change REPEAT arg of
1286 `run-with-idle-timer' from t to nil.
1287 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1289 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1291 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1292 vc-hg-command (bug#17570).
1294 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1296 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1299 2014-06-06 Glenn Morris <rgm@gnu.org>
1301 * startup.el (window-setup-hook): Doc fix.
1303 2014-06-05 Glenn Morris <rgm@gnu.org>
1305 * emacs-lisp/package.el (package-check-signature)
1306 (package-unsigned-archives): Doc fixes.
1308 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1310 * window.el (display-buffer-use-some-window): Don't make window
1311 used smaller than it was before (Bug#17671).
1313 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1315 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1316 'redisplay' instead of '(sit-for 0)'.
1318 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1320 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1323 2014-06-03 Glenn Morris <rgm@gnu.org>
1325 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1327 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1329 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1331 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1333 * simple.el (keyboard-quit): Force update of mode lines, to remove
1334 the "Def" indicator, if we were defining a macro. (Bug#17615)
1336 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1338 * minibuffer.el (minibuffer-force-complete-and-exit):
1339 Obey minibuffer-default (bug#17545).
1341 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1344 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * subr.el (set-transient-map): Don't wait for some "nested"
1347 transient-map to finish if we're only supposed to be active for
1348 the next command (bug#17642).
1350 2014-05-31 Leo Liu <sdl.web@gmail.com>
1352 * emacs-lisp/gv.el (window-buffer, window-display-table)
1353 (window-dedicated-p, window-hscroll, window-point, window-start):
1354 Fix gv-expander. (Bug#17630)
1356 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1358 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1361 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1362 for the single comma, since ", " is *very* common in normal French text
1365 2014-05-30 Glenn Morris <rgm@gnu.org>
1367 * emacs-lisp/package.el (package-check-signature)
1368 (package-unsigned-archives): Fix :version.
1370 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * subr.el (sit-for): Don't run input-methods (bug#15614).
1374 2014-05-28 Glenn Morris <rgm@gnu.org>
1376 * cus-start.el: Fix some :version numbers.
1378 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * simple.el (deactivate-mark): Set mark-active to nil even if
1381 deactivation is done via setting transient-mark-mode to nil,
1382 since one is buffer-local and the other is global.
1384 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1385 there can't be more than 2 arguments (bug#17584).
1387 2014-05-27 Glenn Morris <rgm@gnu.org>
1389 * simple.el (filter-buffer-substring-functions)
1390 (filter-buffer-substring-function, buffer-substring-filters)
1391 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1393 * minibuffer.el (completion-in-region-functions, completion-in-region)
1394 (completion--in-region): Doc fixes.
1396 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1397 (expand-abbrev, abbrev--default-expand): Doc fixes.
1399 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1401 Include sources used to create macuvs.h.
1402 * international/README: Refer to the Unicode Terms of Use rather
1403 than copying it bodily here, as that simplifies maintenance.
1405 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1407 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1409 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1411 * window.el (window--dump-frame): Remove interactive
1414 2014-05-23 Glenn Morris <rgm@gnu.org>
1416 * hippie-exp.el (he-line-search-regexp):
1417 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1419 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1421 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1422 to avoid errors when trying to create or visit a file foo.todo
1423 located outside to todo-directory, and to allow having such files
1424 without them being tied to Todo mode (bug#17482).
1425 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1426 (todo-archive-done-item, todo-find-filtered-items-file)
1427 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1428 (todo-category-completions, todo-read-category): When visiting a
1429 Todo file, make sure we're in the right mode and the buffer local
1431 (todo-make-categories-list, todo-reset-nondiary-marker)
1432 (todo-reset-done-string, todo-reset-comment-string):
1433 After processing all Todo files, kill the buffers of those files that
1434 weren't being visited before the processing.
1435 (todo-display-as-todo-file, todo-add-to-buffer-list)
1436 (todo-visit-files-commands): Comment out.
1437 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1438 (auto-mode-alist): Remove add-to-list calls making Todo file
1439 extensions unrestrictedly tied to Todo modes.
1441 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1444 (advice-function-member-p): Tell it to check both names and functions
1446 (advice--add-function): Adjust call accordingly.
1448 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1450 * calendar/todo-mode.el: Miscellaneous bug fixes.
1451 (todo-delete-file): When deleting an archive but not its todo
1452 file, make sure to update the todo file's category sexp.
1453 (todo-move-category): Keep the moved category's name unless the
1454 file moved to already has a category with that name. If the
1455 numerically last category of the source file was moved, make the
1456 first category current to avoid selecting a nonexisting category.
1457 (todo-merge-category): Fix implementation to make merging to a
1458 category in another file work as documented. Eliminate now
1459 insufficient and unnecessary renaming of archive category, correct
1460 document string accordingly, and clarify it. If the numerically
1461 last category of the source file was merged, make the first
1462 category current to avoid selecting a nonexisting category.
1463 (todo-archive-done-item): When there are marked items and point
1464 happens to be on an unmarked item, ignore the latter. Don't leave
1465 point below last item after archiving marked items.
1466 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1467 from an archive with only one category deletes the archive only
1468 when the category is empty after unarchiving. Make sure the todo
1469 file's category sexp is updated.
1470 (todo-read-file-name): Allow an existing file name even when it is
1471 not required (todo-move-category needs this to work as documented).
1472 (todo-add-file): Call todo-validate-name to reject the name of an
1473 existing todo file (needed due to fix in todo-read-file-name).
1474 (todo-reset-nondiary-marker): Also reset in filtered items files.
1475 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1476 regexp filtered items files.
1477 (todo-reset-highlight-item): Also reset in filtered items files.
1478 Fix incorrect variable reference in document string.
1480 2014-05-22 Glenn Morris <rgm@gnu.org>
1482 * window.el (window--dump-frame): Avoid error in --without-x builds.
1484 2014-05-21 Glenn Morris <rgm@gnu.org>
1486 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1488 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1490 * frame.el (set-frame-font): Doc fix.
1492 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1494 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1496 * emacs-lisp/package.el (package--download-one-archive):
1497 Use `write-region' instead of `save-buffer' to avoid running various
1499 (describe-package-1): Same. Insert newline at the end of the
1500 buffer if appropriate.
1502 2014-05-20 Juri Linkov <juri@jurta.org>
1504 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1505 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1506 Add more modifiers: meta, control, shift, hyper, super, alt.
1509 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1510 to allow changing its value with `set-variable'.
1512 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1514 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1516 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1518 (scheme-mode-variables): Set syntax-propertize-function instead of
1519 font-lock-syntactic-face-function.
1520 (scheme-font-lock-syntactic-face-function): Delete.
1522 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1524 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1526 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1529 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1531 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1532 for a temporary file name.
1534 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1536 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1538 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1540 * net/dbus.el (dbus-init-bus, dbus-call-method)
1541 (dbus-call-method-asynchronously, dbus-send-signal)
1542 (dbus-method-return-internal, dbus-method-error-internal):
1543 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1545 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1547 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1548 methods which do not have a doc string. (Bug#17490)
1550 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1551 Stefan Monnier <monnier@iro.umontreal.ca>
1553 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1556 2014-05-14 Glenn Morris <rgm@gnu.org>
1558 * vc/emerge.el (emerge-temp-file-prefix):
1559 Make pointless option obsolete.
1560 (emerge-temp-file-mode): Make non-functional option obsolete.
1562 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1564 * net/browse-url.el (browse-url):
1565 Use `unhandled-file-name-directory' when setting `default-directory',
1566 in order to circumvent stalled remote connections. (Bug#17425)
1568 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1570 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1571 into autoloading just because of a silly indirection.
1573 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1575 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1577 2014-05-11 Glenn Morris <rgm@gnu.org>
1579 * emacs-lisp/find-gc.el: Move to ../admin.
1581 2014-05-10 Glenn Morris <rgm@gnu.org>
1583 * printing.el (pr-version):
1584 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1586 * net/browse-url.el (browse-url-mosaic):
1587 Create /tmp/Mosaic.PID as a private file.
1589 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1591 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1592 (advice--member-p): If name is given, only compare the name.
1593 (advice--remove-function): Don't stop at the first match.
1594 (advice--normalize-place): New function.
1595 (add-function, remove-function): Use it.
1596 (advice--add-function): Pass the name, if any, to
1597 advice--remove-function.
1599 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1601 * electric.el (electric-indent-post-self-insert-function): Don't use
1602 `pos' after modifying the buffer (bug#17449).
1604 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1606 * subr.el (function-put): Add function.
1608 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1610 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1611 Correct argument list to conform to todo-insert-item--basic.
1613 2014-05-09 Glenn Morris <rgm@gnu.org>
1615 * files.el (cd-absolute): Test if directory is accessible
1616 rather than executable. (Bug#17330)
1618 * progmodes/compile.el (recompile):
1619 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1621 2014-05-08 Juri Linkov <juri@jurta.org>
1623 * dired.el (dired-check-switches, dired-switches-recursive-p):
1624 New functions. (Bug#17218)
1625 (dired-switches-escape-p, dired-move-to-end-of-filename):
1626 Use `dired-check-switches'.
1627 (dired-insert-old-subdirs, dired-build-subdir-alist)
1628 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1630 2014-05-08 Glenn Morris <rgm@gnu.org>
1632 * net/browse-url.el (browse-url-mosaic):
1633 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1634 This is CVE-2014-3423.
1636 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1639 (xterm-mouse--read-event-sequence-1000): Return nil if something
1641 (xterm-mouse-event): Propagate it.
1642 (xterm-mouse-translate-1): Handle it.
1644 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1646 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1647 four slots of the parameter list are filled, make sure to pass it
1648 to the argument list of todo-insert-item--basic.
1650 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1652 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1653 Add optional `seen' argument to detect and break infinite loops.
1655 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1657 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1658 (trace-unsafe, trace-use-tree): Make parentheses style be
1659 according to Emacs style.
1661 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1663 * net/tramp-sh.el (tramp-remote-process-environment):
1664 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1666 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1667 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1668 extra "PSx=..." commands.
1669 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1672 (tramp-uudecode): Replace the hard-coded temporary file name by a
1674 (tramp-remote-coding-commands): Enhance docstring.
1675 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1677 This is CVE-2014-3424.
1679 2014-05-06 Glenn Morris <rgm@gnu.org>
1681 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1682 (find-gc-source-files): Update some names.
1683 (trace-call-tree): Simplify and update.
1684 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1685 This is CVE-2014-3422.
1687 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * minibuffer.el (completion--try-word-completion): Revert fix for
1690 Bug#15980 (bug#17375).
1692 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1693 Always store button numbers in the same way in xterm-mouse-last;
1694 Don't burp is xterm-mouse-last is not set as expected.
1695 Never return negative indices.
1697 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1699 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1700 Backtrack one char if the global/char-literal var matcher hits
1701 inside a string. The next char could be the beginning of an
1702 expression expansion.
1704 2014-05-05 Glenn Morris <rgm@gnu.org>
1706 * help-fns.el (describe-function-1): Test for an autoload before a
1707 macro, since `macrop' works on autoloads. (Bug#17410)
1709 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1713 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1714 Make sure the new point we return is within the new string (bug#17239).
1716 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1718 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1720 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1722 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1723 Use nil rather than `default' for the "default" appearance (bug#17388).
1724 * vc/ediff-util.el (ediff-inferior-compare-regions)
1725 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1726 a misleading `default' value when it's really a boolean.
1727 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1728 overlay is not visible.
1730 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1732 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1733 (todo-menu): Uncomment and update.
1735 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1737 * calendar/todo-mode.el: Reimplement item editing to have the same
1738 basic user interface as item insertion, and make small UI and
1739 larger internal improvements to the latter.
1740 (todo-insert-item): Add reference to the Todo mode user manual to
1741 the documentation string.
1742 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1743 adjust all callers. Change signature to combine diary and
1744 nonmarking arguments. Incorporate functionality of deleted item
1745 copying command and add error checking. Remove detailed
1746 descriptions of the arguments from the documentation string, since
1747 this is treated in the Todo mode user manual.
1748 (todo-copy-item, todo-edit-multiline-item)
1749 (todo-edit-done-item-comment, todo-edit-item-header)
1750 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1751 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1752 (todo-edit-item-date-year, todo-edit-item-date-month)
1753 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1755 (todo-edit-item): Reimplement as wrapper command for
1756 todo-edit-item--next-key and make it distinguish done and not done
1758 (todo-edit-item--text): New function, replacing old command
1759 todo-edit-item and incorporating deleted commands
1760 todo-edit-multiline-item and todo-edit-done-item-comment.
1761 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1762 Use only numeric value of prefix argument. Remove detailed
1763 descriptions of the arguments from the documentation string, since
1764 this is treated in the Todo mode user manual.
1765 (todo-edit-item--diary-inclusion): New function, replacing old
1766 command todo-edit-item-diary-inclusion and incorporating and fixing
1767 functionality of deleted command todo-edit-item-diary-nonmarking,
1768 making sure to remove todo-nondiary-marker when adding
1769 diary-nonmarking-symbol.
1770 (todo-edit-category-diary-inclusion): Make sure to delete
1771 diary-nonmarking-symbol when adding todo-nondiary-marker.
1772 (todo-edit-category-diary-nonmarking): Fix indentation.
1773 (todo-insert-item--parameters): Group diary and nonmarking
1774 parameters together.
1775 (todo-insert-item--apply-args): Adjust to signature of
1776 todo-insert-item--basic and incorporate copy parameter.
1777 Make small code improvements.
1778 (todo-insert-item--next-param): Improve prompt and adjust it to
1779 new parameter grouping. Remove obsolete code.
1780 (todo-edit-item--param-key-alist)
1781 (todo-edit-item--date-param-key-alist)
1782 (todo-edit-done-item--param-key-alist): New defconsts.
1783 (todo-edit-item--prompt): New variable.
1784 (todo-edit-item--next-key): New function.
1785 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1786 Remove bindings of deleted commands.
1788 2014-05-02 Leo Liu <sdl.web@gmail.com>
1790 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1792 2014-05-01 Glenn Morris <rgm@gnu.org>
1794 * allout-widgets.el (allout-widgets-tally)
1795 (allout-decorate-item-guides):
1796 * menu-bar.el (menu-bar-positive-p):
1797 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1798 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1799 * progmodes/js.el (js--inside-param-list-p)
1800 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1801 * progmodes/prolog.el (region-exists-p):
1802 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1803 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1804 Doc fixes (replace `iff').
1806 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1808 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1810 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1812 * dired.el (dired-initial-position-hook, dired-initial-position):
1815 2014-04-29 Glenn Morris <rgm@gnu.org>
1817 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1819 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1821 * faces.el (face-spec-recalc): Apply X resources only after the
1822 defface spec has been applied. Thus, X resources are no longer
1823 overridden by the defface spec which also fixes issues on win32 where
1824 the toolbar coloring was wrong because it is set through X resources
1825 and was (wrongfully) overridden. (Bug#16694)
1827 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1829 * textmodes/rst.el (electric-pair-pairs): Declare.
1830 (rst-mode): Set it (bug#17131).
1832 2014-04-27 Juri Linkov <juri@jurta.org>
1834 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1835 and `print-level' to nil. (Bug#17351)
1837 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1839 * battery.el (battery-update): Handle the case where battery
1840 status is "N/A" (bug#17319).
1842 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1844 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1845 Use equal-including-properties to compare help-echo strings (bug#17331).
1847 2014-04-24 Leo Liu <sdl.web@gmail.com>
1849 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1850 Fix syntax for @. (Bug#17325)
1852 2014-04-24 Daniel Colascione <dancol@dancol.org>
1854 * emacs-lisp/cl.el (gv): Require gv early to break eager
1855 macro-expansion cycles.
1857 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1859 * simple.el (region-active-p): Check there's a mark (bug#17324).
1861 * simple.el (completion-list-mode-map): Use choose-completion for the
1862 mouse binding as well (bug#17302).
1863 (completion-list-mode, completion-setup-function): Adjust docstring and
1864 echo area message accordingly.
1865 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1866 calling convention of choose-completion.
1867 * comint.el (comint-dynamic-list-completions):
1868 * term.el (term-dynamic-list-completions): Accept choose-completion.
1870 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1871 &, |, +, - and * can't be a division (bug#17317).
1873 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1876 features on gnome-terminal (bug#16988).
1878 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1880 * dired.el (dired-insert-set-properties): Do not consider
1881 subdirectory headings and empty lines to be information that
1882 `dired-hide-details-mode' should hide. (Bug#17228)
1884 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1886 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1887 Remove test messages.
1888 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1891 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1893 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1894 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1896 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1898 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1900 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1901 Set "IFS=" when using read builtin, in order to preserve spaces in
1902 the file name. Add test messages for hunting a bug on hydra.
1903 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1905 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1907 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1908 Don't prettify a word within a symbol.
1910 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1912 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1915 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1918 assignments such as "case=hello" (bug#17297).
1920 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1922 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1924 (tramp-file-name-handler, tramp-completion-file-name-handler):
1925 Revert patch from 2014-04-10, it isn't necessary anymore.
1926 (tramp-autoload-file-name-handler)
1927 (tramp-register-autoload-file-name-handlers): New defuns.
1928 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1929 (tramp-register-file-name-handlers): Remove also
1930 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1931 Do not autoload its invocation, but eval it after loading of 'tramp.
1933 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1935 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1937 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1940 was done (bug#17264).
1941 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1944 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1945 here-documents (bug#17262).
1947 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1949 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1950 Provide doc strings, as required by snarf-documentation.
1952 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1954 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1955 arg of overlays-at. Use `invisible-p'.
1957 * obsolete/lucid.el (extent-at):
1958 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1960 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1962 2014-04-14 João Távora <joaotavora@gmail.com>
1964 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1967 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1969 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1970 Use mapc to loop over a vector. (Bug#17257).
1972 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1974 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1975 patch, there are new problems with file names containing spaces.
1976 Get rid of backticks. (Bug#17238)
1978 2014-04-13 João Távora <joaotavora@gmail.com>
1980 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1983 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1985 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1986 (blink-cursor-mode): Mention customization variables and the
1987 effect of 'blink-cursor-blinks'.
1989 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1991 * simple.el (undo): Prevent insertion of identity mapping into
1992 undo-equiv-table so as undo-only does not inf loop in the presence
1993 of consecutive nils in undo list.
1995 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1997 * faces.el (make-face): Deprecate optional argument as it is no
1998 longer needed/used since the conditional X resources handling
1999 has been pushed down to make-face-x-resource-internal itself.
2000 (make-empty-face): Don't pass optional argument to make-face.
2002 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2004 * international/characters.el <standard-case-table>: Add entries
2005 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2006 Set category of Coptic characters be 'g' (Greek).
2008 2014-04-12 Leo Liu <sdl.web@gmail.com>
2010 * progmodes/octave.el (completion-table-with-cache): Define if not
2012 (octave-goto-function-definition)
2013 (octave-sync-function-file-names)
2014 (octave-find-definition-default-filename): Backquote upattern for
2017 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2019 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2020 name twice due to backticks. (Bug#17238)
2022 2014-04-11 Glenn Morris <rgm@gnu.org>
2024 * term/w32-win.el (x-win-suspend-error):
2025 * term/x-win.el (x-win-suspend-error): Sync docs.
2027 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2029 Ediff's overlay priorities cause more trouble than they solve.
2030 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2031 (ediff-highest-priority): Remove function (bug#17234).
2032 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2033 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2034 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2037 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2039 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2040 entry; use symbol boundaries to avoid mis-matches.
2042 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2044 * net/tramp.el (tramp-file-name-handler)
2045 (tramp-completion-file-name-handler): Avoid recursive loading.
2047 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2048 Quote result also locally.
2050 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2052 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2053 Module methods. (Bug#17216)
2055 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2058 (describe-bindings-internal): Mark obsolete.
2060 2014-04-07 João Távora <joaotavora@gmail.com>
2063 (electric-pair--syntax-ppss): When inside comments parse from
2065 (electric-pair--balance-info): Fix typo in comment.
2066 (electric-pair--in-unterminated-string-p): Delete.
2067 (electric-pair--unbalanced-strings-p): New function.
2068 (electric-pair-string-bound-function): New var.
2069 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2070 according to `electric-pair--in-unterminated-string-p'
2072 2014-04-07 João Távora <joaotavora@gmail.com>
2074 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2075 Inhibit quote pairing if point-max is inside an unterminated string.
2076 (electric-pair--looking-at-unterminated-string-p): Delete.
2077 (electric-pair--in-unterminated-string-p): New function.
2079 2014-04-07 Glenn Morris <rgm@gnu.org>
2081 * shell.el (shell-directory-tracker):
2082 Go back to just ignoring failures. (Bug#17159)
2084 2014-04-06 João Távora <joaotavora@gmail.com>
2086 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2087 backspace. (bug#16981)
2088 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2089 (electric-pair-backward-delete-char-untabify): Delete.
2090 (electric-pair-mode-map): Bind backspace to a menu item filtering
2091 a new `electric-pair-delete-pair' command.
2092 (electric-pair-delete-pair): New command.
2094 2014-04-06 João Távora <joaotavora@gmail.com>
2096 * progmodes/python.el (python-electric-pair-string-delimiter):
2097 Fix triple-quoting electricity. (Bug#17192)
2099 2014-04-06 João Távora <joaotavora@gmail.com>
2101 * elec-pair.el (electric-pair-post-self-insert-function):
2102 Don't skip whitespace when `electric-pair-text-pairs' and
2103 `electric-pair-pairs' were used. syntax to
2104 electric-pair--skip-whitespace. (Bug#17183)
2106 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2108 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2111 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2113 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2114 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2116 2014-04-05 Glenn Morris <rgm@gnu.org>
2118 * help.el (view-lossage): Doc tweak.
2120 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2122 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2123 only when inhibit-x-resources is nil, and do that earlier in the
2124 function. Doc fix. (Bug#16694)
2125 (face-spec-choose): Accept additional optional argument, whose
2126 value is returned if no matching attributes are found.
2127 (face-spec-recalc): Use the new optional argument when calling
2128 face-spec-choose. (Bug#16378)
2129 (make-face-x-resource-internal): Do nothing when
2130 inhibit-x-resources is non-nil. Don't touch the default face if
2131 reversed video is given--as was done in previous versions of Emacs.
2132 (face-set-after-frame-default): Don't call
2133 make-face-x-resource-internal here. (Bug#16434)
2135 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2137 * doc-view.el (doc-view-bookmark-jump):
2138 Use `bookmark-after-jump-hook' to jump to the right page after the
2139 buffer is shown in a window. (bug#16090)
2141 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2143 * international/characters.el (mirroring): Fix last change:
2144 instead of loading uni-mirrored.el explicitly, do that implicitly
2145 by creating the 'mirroring' uniprop table. This avoids announcing
2146 the loading of uni-mirrored.el.
2148 2014-04-04 Glenn Morris <rgm@gnu.org>
2150 * files.el (buffer-stale--default-function)
2151 (buffer-stale-function, revert-buffer--default):
2152 * autorevert.el (auto-revert-buffers): Doc tweaks.
2154 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2156 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2158 2014-04-03 Glenn Morris <rgm@gnu.org>
2160 * files.el (make-backup-file-name-function)
2161 (make-backup-file-name, make-backup-file-name--default-function)
2162 (make-backup-file-name-1, find-backup-file-name)
2163 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2164 (buffer-stale--default-function, buffer-stale-function)
2165 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2166 (revert-buffer, revert-buffer--default)
2167 (revert-buffer-insert-file-contents--default-function):
2168 Doc fixes related to defaults no longer being nil.
2169 (make-backup-file-name-function): Bump :version.
2170 Restore nil as a valid but deprecated custom type.
2172 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2175 used as a variable (bug#17174).
2177 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2179 * progmodes/perl-mode.el (perl-indent-new-calculate):
2180 Handle forward-sexp failure (bug#16985).
2181 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2182 modifiers introducing expressions (bug#17116).
2184 2014-04-02 Glenn Morris <rgm@gnu.org>
2186 * menu-bar.el (menu-bar-file-menu):
2187 * vc/ediff.el (ediff-current-file):
2188 Update for revert-buffer-function no longer being nil by default.
2190 * simple.el (command-execute): Respect nil disabled-command-function.
2192 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2194 * simple.el (command-execute): Do not execute the command when it
2195 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2197 2014-03-29 Juri Linkov <juri@jurta.org>
2199 * dired-aux.el (dired-compress-file): Don't use string-match-p
2200 because its match data is used afterwards.
2202 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2207 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2209 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2210 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2212 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2213 Don't propertize `?' or `!' as symbol constituent when after
2216 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2218 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2219 which is no longer needed and causes trouble in GTK builds (bug#17046).
2221 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2222 Use url-insert-file-contents; package-handle-response no longer exists.
2224 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2226 * emacs-lisp/package.el: Fix bug#16733 (again).
2227 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2228 (url-http-target-url): Remove unused declarations.
2229 (package-handle-response): Remove.
2230 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2231 (package--download-one-archive): Use current-buffer instead of
2232 dynamic binding of `buffer'.
2233 (describe-package-1): Do not decode readme-string.
2235 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2237 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2239 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2241 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2243 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2244 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2245 `remote-file-name-inhibit-cache' to nil in the second pass.
2246 (tramp-find-executable): Do not call "which" on SunOS.
2247 (tramp-send-command-and-check): Fix docstring.
2248 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2249 check whether source directory has set the sticky bit.
2251 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2253 * simple.el (primitive-undo): Only process marker adjustments
2254 validated against their corresponding (TEXT . POS). Issue warning
2255 for lone marker adjustments in undo history. (Bug#16818)
2256 (undo-make-selective-list): Add marker adjustments to selective
2257 undo list based on whether their corresponding (TEXT . POS) is in
2258 the region. Remove variable adjusted-markers, which was unused
2259 and only non nil during undo-make-selective-list.
2260 (undo-elt-in-region): Return nil when passed a marker adjustment
2261 and explain in function doc.
2263 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2265 * emacs-lisp/package.el (package--add-to-archive-contents):
2266 Include already installed and built-in packages in
2267 `package-archive-contents'.
2268 (package-install): Don't include already installed packages in the
2269 options during interactive invocation. (Bug#16762)
2271 2014-03-24 Daniel Colascione <dancol@dancol.org>
2273 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2274 instead of cl-loop search function.
2276 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2278 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2280 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2282 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2284 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2286 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2287 Match special global variables without curlies, too.
2288 (ruby-font-lock-keywords): Simplify the matcher for special global
2289 variables. Don't require a non-word character after the variable.
2292 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * simple.el (redisplay-highlight-region-function): Increase priority of
2295 overlay to make sure boundaries are visible (bug#15899).
2297 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2299 * frameset.el (frameset-restore): Compare display strings with equal.
2301 * frame.el (make-frame): Don't quote display name in error message,
2302 it is already a string.
2304 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2306 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2309 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2311 * emacs-lisp/package.el (package-show-package-list): If the buffer
2312 is already displayed in another window, switch to that window.
2314 2014-03-21 Daniel Colascione <dancol@dancol.org>
2316 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2317 information in bug reports.
2319 2014-03-23 Daniel Colascione <dancol@dancol.org>
2321 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2322 list to look for keyword arguments instead of `memq', fixing
2323 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2324 Please make bootstrap.
2326 2014-03-23 Richard Stallman <rms@gnu.org>
2328 * battery.el (battery-linux-sysfs): Search for each field
2329 from the beginning of the buffer.
2331 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2333 * emacs-lisp/package.el (package-desc): Use the contents of the
2334 quoted form, not its cdr. (Bug#16873)
2336 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2338 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2339 benefit of doc.c; change parameter profile to match the X function.
2341 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2343 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2344 and `tramp-copy-env'.
2346 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2347 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2349 2014-03-21 Glenn Morris <rgm@gnu.org>
2351 * electric.el (electric-indent-post-self-insert-function): Add doc.
2353 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2355 * emacs-lisp/package.el (package-compute-transaction):
2356 Use `version-list-<=' to compare the requirement version against
2357 the version of package already to be installed. Update the error
2358 message. (Bug#16826)
2360 * progmodes/ruby-mode.el (ruby-smie-rules):
2361 Add indentation rule for ` @ '. (Bug#17050)
2363 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2365 * align.el (align-regexp): Remove superfluous backslash.
2367 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2368 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2369 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2370 Fix docstring typos.
2371 (ffap-next): Use C-u in docstring.
2372 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2373 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2374 Remove superfluous backslashes.
2375 (ffap-string-at-point): Reflow docstring.
2377 * server.el (server-host): Reflow docstring.
2378 (server-unload-function): Fix docstring typo.
2379 (server-eval-at): Remove superfluous backslash.
2381 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2382 (skeleton-insert): Doc fix.
2383 (skeleton-insert): Reflow docstring.
2385 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2386 (tty-color-approximate, tty-color-by-index, tty-color-values)
2387 (tty-color-desc): Remove superfluous backslashes.
2389 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2391 * electric.el (electric-newline-and-maybe-indent): New command.
2392 Bind it globally to C-j.
2393 (electric-indent-mode): Don't mess with the global map any more.
2394 Don't drop the post-self-insert-hook is some buffer is still using it
2397 * bindings.el (global-map): Remove C-j binding.
2399 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2400 the docstring of functions advised before dumping (bug#16993).
2402 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2404 * ps-print.el (ps-generate-postscript-with-faces):
2405 Explicitly deactivate the mark (bug#16866).
2406 * simple.el (deactivate-mark): Update region highlight.
2408 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2410 * emacs-lisp/package.el (describe-package-1):
2411 Decode commentary (bug#16733).
2413 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2415 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2416 modification of the value argument of :set (bug#16755).
2418 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * simple.el (newline-and-indent): Do autofill (bug#17031).
2422 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2424 * newcomment.el (comment-normalize-vars): Only add escaping check
2425 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2426 (comment-beginning): Use `narrow-to-region' instead of moving back
2428 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2429 (comment-start-skip): Update the docstring.
2431 2014-03-18 Richard Stallman <rms@gnu.org>
2433 * dired.el (dired-display-file): Force use of other window.
2435 2014-03-18 Daniel Colascione <dancol@dancol.org>
2437 * startup.el (tty-handle-args): Remove debug message from 2007.
2439 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2442 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2443 (advice--make-1, advice-add, advice-remove):
2444 Remove braindead :advice-pending hack.
2446 2014-03-17 Glenn Morris <rgm@gnu.org>
2448 * calendar/calendar.el (calendar-generate-month): Apply weekend
2449 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2451 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2453 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2454 (tramp-call-process): Trace also DESTINATION.
2456 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2457 Quote file names when they are local. Remove superfluous trace.
2459 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2461 * newcomment.el (comment-beginning): If `comment-start-skip'
2462 doesn't match, move back one char and try again. (Bug#16971)
2464 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2465 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2466 Set `comment-start-skip' to a simpler value that doesn't try to
2467 check if the semicolon is escaped (this is handled by
2468 `syntax-ppss' now). (Bug#16971)
2470 * progmodes/scheme.el (scheme-mode-variables): Same.
2472 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2474 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2475 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2476 current (Bug#16816, Bug#17007).
2477 (with-current-buffer-window): New macro doing the same as
2478 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2479 * help.el (help-print-return-message): Warn in doc-string to not
2480 use this in `with-help-window'.
2481 (describe-bindings-internal): Call `describe-buffer-bindings'
2482 from within help buffer. See Juanma's scenario in (Bug#16816).
2483 (with-help-window): Update doc-string.
2484 * dired.el (dired-mark-pop-up):
2485 * files.el (save-buffers-kill-emacs):
2486 * register.el (register-preview): Use `with-current-buffer-window'
2487 instead of `with-temp-buffer-window'.
2489 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2491 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2492 Implement inserting into current buffer, documented in their docstrings.
2493 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2494 (rst-section-tree-point, rst-forward-section, rst-indent)
2495 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2496 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2497 (rst-font-lock-handle-adornment-pre-match-form)
2498 (rst-repeat-last-character): Reflow docstrings.
2499 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2500 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2501 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2502 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2503 Fix docstring typos.
2504 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2505 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2506 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2508 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2510 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2511 for compatibility with other ports.
2512 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2513 from the -xrm command line argument, but in the Nextstep port its value
2514 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2516 * progmodes/python.el (defconst, python-syntax-count-quotes)
2517 (python-indent-region, python-indent-shift-right)
2518 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2519 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2520 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2521 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2522 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2523 (python-shell-buffer-substring, python-shell-send-buffer)
2524 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2525 (python-completion-complete-at-point, python-fill-docstring-style)
2526 (python-eldoc-function, python-imenu-format-item-label)
2527 (python-imenu-format-parent-item-label)
2528 (python-imenu-format-parent-item-jump-label)
2529 (python-imenu--build-tree, python-imenu-create-index)
2530 (python-imenu-create-flat-index): Fix docstring typos.
2531 (python-indent-context, python-shell-prompt-regexp, run-python):
2532 Remove superfluous backslashes.
2533 (python-indent-line, python-nav-beginning-of-defun)
2534 (python-shell-get-buffer, python-shell-get-process)
2535 (python-info-current-defun, python-info-current-line-comment-p)
2536 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2537 (python-indent-post-self-insert-function, python-shell-send-file)
2538 (python-shell-completion-get-completions)
2539 (python-shell-completion-complete-or-indent)
2540 (python-eldoc--get-doc-at-point): Reflow docstrings.
2542 2014-03-14 Glenn Morris <rgm@gnu.org>
2544 * emacs-lisp/package.el (package-menu-mode-map):
2545 Replace use of obsolete function alias. Tweak menu item text.
2547 * info.el (Info-finder-find-node):
2548 Ignore the `emacs' metapackage. (Bug#10813)
2550 * finder.el (finder-list-matches): Include unversioned packages
2551 in the result of a keyword search.
2553 * finder.el (finder--builtins-descriptions): New constant.
2554 (finder-compile-keywords): Use finder--builtins-descriptions.
2556 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2558 * simple.el (blink-matching-paren): Describe the new value,
2559 `jump', enabling the old behavior.
2560 (blink-matching-open): Use that value. (Bug#17008)
2562 2014-03-14 Glenn Morris <rgm@gnu.org>
2564 * finder.el (finder-no-scan-regexp): Add leim-list.
2565 (finder-compile-keywords):
2566 Don't skip files with same basename. (Bug#14010)
2567 * Makefile.in (setwins_finder): New, excluding leim.
2568 (finder-data): Use setwins_finder.
2570 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2571 (help-function-arglist, help-make-usage): Move from here...
2572 * help.el (help-split-fundoc, help-add-fundoc-usage)
2573 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2574 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2576 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2578 * net/socks.el (socks, socks-override-functions)
2579 (socks-find-services-entry):
2580 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2581 (hif-find-ifdef-block):
2582 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2584 * net/tls.el (tls-program): Reflow docstring.
2586 * progmodes/pascal.el (pascal-mode-abbrev-table)
2587 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2588 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2589 (pascal-outline-mode): Fix docstring typos.
2590 (pascal-mode): Let define-derived-mode document mode hook.
2591 (pascal-uncomment-area): Reflow.
2592 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2594 * progmodes/opascal.el (opascal-compound-block-indent)
2595 (opascal-case-label-indent): Fix docstring typos.
2596 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2598 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2600 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2601 Fontify multiple adjacent negation chars. (Bug#17004)
2603 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2605 * emacs-lisp/package.el (package--prepare-dependencies):
2606 Accept requirements without explicit version (bug#14941).
2608 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2610 * register.el (register-separator, copy-to-register): Doc fixes.
2611 (register-preview-default): Remove unnecessary call to concat.
2613 * frameset.el (frameset-restore): When checking for a visible frame,
2614 use the action map instead of calling visible-frame-list.
2616 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2618 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2620 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2622 * window.el (fit-frame-to-buffer): Get maximum width from
2623 display's width instead of height.
2625 2014-03-12 Glenn Morris <rgm@gnu.org>
2627 * desktop.el (desktop-restore-frames)
2628 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2629 (desktop-restore-reuses-frames): Doc tweaks.
2631 * electric.el (electric-indent-mode): Doc fix.
2633 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2635 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2636 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2637 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2638 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2639 (cvs-dired-use-hook): Fix docstring typos.
2640 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2643 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2644 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2645 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2646 (cvs-execute-single-dir): Fix docstring typos.
2648 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2649 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2651 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2653 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2654 Fix docstring typos.
2656 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2658 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2659 called from jump-to-register after unloading the frameset package.
2661 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2663 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2664 (bug#16975). Deactivate the mark before setting it to nil.
2665 (activate-mark): Do nothing if region is already active.
2667 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2669 * frameset.el (frameset--target-display): Remove definition; declare.
2670 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2672 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2675 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2676 when the advice is pending.
2677 (advice-remove): Remove this marker when not needed any more.
2679 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2681 * frameset.el: Separate options for reusing frames and cleaning up.
2682 (frameset--reuse-list): Remove definition; declare.
2683 (frameset--action-map): Declare.
2684 (frameset--find-frame-if): Doc fix.
2685 (frameset--restore-frame): Cache frame action.
2686 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2687 how to clean up the frame list after restoring. Remove cleaning
2688 options from REUSE-FRAMES. Change all keyword values to symbols.
2689 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2691 * desktop.el (desktop-restore-forces-onscreen)
2692 (desktop-restore-reuses-frames): Use non-keyword values.
2693 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2695 2014-03-10 Glenn Morris <rgm@gnu.org>
2697 * files.el (find-file): Doc fix: update info node name.
2699 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2700 Doc fix: remove references to deleted info nodes.
2702 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2704 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2705 Do not add `nil' to the environment, when there's no remote `locale'.
2706 (tramp-find-inline-encoding): Check, that the remote host has
2707 installed perl, before sending scripts.
2709 2014-03-10 Leo Liu <sdl.web@gmail.com>
2711 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2712 Clear eldoc-last-message. (Bug#16920)
2714 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2719 2014-03-09 Juri Linkov <juri@jurta.org>
2721 * ansi-color.el (ansi-color-names-vector): Copy default colors
2722 from `xterm-standard-colors' that look well on the default white
2723 background (and also on the black background) to avoid illegible
2724 color combinations like yellow-on-white and white-on-white.
2725 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2727 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2729 * frameset.el (frameset-restore): When no frame is visible, do not
2730 generate a list of frames, just make visible the selected one.
2732 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2734 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2735 it only contains the repository root. (Bug#16897)
2737 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2739 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2740 only when `remote-file-name-inhibit-cache' is nil.
2741 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2743 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2745 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2747 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2748 fit-frame-to-buffer variable. Fix doc-string.
2749 (fit-window-to-buffer): Set ONLY argument in call of
2750 fit-frame-to-buffer. Fix doc-string.
2752 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2754 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2755 (tramp-action-password): Clear password cache if needed.
2756 (tramp-read-passwd): Do not clear password cache.
2758 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2759 cache unless it is the first password request.
2761 2014-03-06 Glenn Morris <rgm@gnu.org>
2763 * simple.el (newline): Doc tweak.
2765 * emacs-lisp/shadow.el (load-path-shadows-find):
2766 Ignore dir-locals. (Bug#12357)
2768 2014-03-05 Glenn Morris <rgm@gnu.org>
2770 * files.el (interpreter-mode-alist):
2771 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2773 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2775 * frameset.el (frameset--initial-params): Filter out null entries.
2777 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2779 * window.el (window-min-height, window-min-width):
2780 Rewrite doc-strings.
2781 (window-body-size): Add PIXELWISE argument to make it consistent
2784 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2786 * finder.el (finder-mode-map, finder-mode-syntax-table):
2787 Revert part of 2014-02-28 change.
2789 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2791 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2792 (eww-setup-buffer): Clear next/prev/etc more reliably.
2793 (eww-textarea-map): [tab] doesn't work on tty.
2794 Reported by Mario Lang.
2796 * net/shr.el (shr-map): Ditto.
2798 2014-03-04 Glenn Morris <rgm@gnu.org>
2800 * minibuffer.el (completion-hilit-commonality):
2801 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2803 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2805 * hilit-chg.el (hilit-chg-unload-function): New function.
2806 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2807 (hilit-chg-map-changes): Prefer cardinal number to digit.
2808 (hilit-chg-display-changes): Reflow docstring.
2809 (highlight-changes-rotate-faces): Remove superfluous backslash.
2811 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2813 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2814 `tramp-send-command-and-check'.
2816 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2818 * hexl.el (hexl-address-region, hexl-ascii-region)
2819 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2820 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2821 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2822 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2823 (hexl-mode): Doc fix.
2824 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2825 (hexl-mode-ruler): Fix typos in docstrings.
2827 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2828 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2829 Remove superfluous backslashes.
2830 (strokes-last-stroke, strokes-global-map, strokes-mode):
2832 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2833 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2834 (strokes-distance-squared, strokes-global-set-stroke)
2835 (strokes-global-set-stroke-string): Doc fixes.
2836 (strokes-help): Fix typos; reflow docstring.
2838 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2840 * window.el (window-in-direction): Fix doc-string.
2842 2014-03-04 Glenn Morris <rgm@gnu.org>
2844 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2845 Explicit error if no grammar.
2846 (smie-config-save): Doc fix. Fix quote typo.
2848 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2851 electric-indent-mode-hook if we obey electric-indent-mode.
2852 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2853 decide whether we obey electric-indent-mode.
2854 (c-change-set-fl-decl-start, c-extend-after-change-region):
2856 (c-electric-indent-mode-hook): Assume we do want to obey
2857 electric-indent-mode.
2859 * electric.el (electric-indent-mode-has-been-called): Remove.
2860 (electric-indent-mode): Fix accordingly.
2862 * files.el (hack-local-variables): Mention file name in warning.
2864 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2866 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2868 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2869 * simple.el (delete-forward-char): Mark as interactive-only.
2871 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2873 * icomplete.el (icomplete-completions):
2874 Follow-up to 2014-03-01 change.
2876 * icomplete.el: Miscellaneous doc fixes.
2877 Use Icomplete everywhere instead of icomplete for consistency.
2878 (icomplete-max-delay-chars): Fix typo.
2879 (icomplete-mode): Use \[].
2880 (icomplete-tidy, icomplete-exhibit): Reflow.
2881 (icomplete-minibuffer-setup-hook, icomplete-completions):
2882 Remove superfluous backlashes.
2884 * ido.el: Miscellaneous doc fixes.
2885 Use Ido everywhere instead of ido or `ido' for consistency.
2886 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2887 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2888 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2889 (ido-separator): Extract obsolescence info from docstring and declare
2890 with make-obsolete-variable.
2891 (ido-minibuffer-setup-hook): Simplify example.
2892 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2893 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2894 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2895 (ido-everywhere): Reflow docstring.
2896 (ido-toggle-vc): Doc fix.
2897 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2898 of long list of keybindings.
2900 2014-03-03 Glenn Morris <rgm@gnu.org>
2902 * frame.el (display-pixel-height, display-pixel-width)
2903 (display-mm-dimensions-alist, display-mm-height)
2904 (display-mm-width): Doc tweaks.
2906 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2908 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2909 case of undo in region.
2911 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2913 * window.el (fit-window-to-buffer): Fix argument in window-size
2914 call when window is horizontally combined.
2916 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2918 * icomplete.el (icomplete-completions): Use string-width.
2919 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2921 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2923 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2924 Highlight regexp options. (Bug#16914)
2926 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2928 * window.el (window--max-delta-1): Round down when calculating
2929 how many lines/columns we can get from a window.
2931 2014-03-01 Glenn Morris <rgm@gnu.org>
2933 * isearch.el (search-invisible): Doc fix.
2935 * minibuffer.el (completion-hilit-commonality):
2936 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2937 * comint.el (comint-dynamic-list-completions): Doc fix.
2938 * comint.el (comint-dynamic-list-completions):
2939 * filecache.el (file-cache-minibuffer-complete):
2940 * tempo.el (tempo-display-completions):
2941 * eshell/em-hist.el (eshell-list-history):
2942 Replace use of obsolete argument of display-completion-list.
2944 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2946 * icomplete.el (icomplete-completions):
2947 Revert back to using "..." when ?… cannot be displayed.
2949 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2951 * finder.el (finder-unload-function): New function.
2953 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2955 * dframe.el (dframe-detach):
2956 * find-dired.el (find-dired, find-name-dired):
2957 * finder.el (finder-mode-map, finder-mode-syntax-table)
2958 (finder-headmark, finder-select, finder-mouse-select):
2959 Fix docstring typos.
2961 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2963 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2964 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2965 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2966 Fix doc-string based on a suggestion by Nicolas Richard
2967 <theonewiththeevillook@yahoo.fr>.
2968 * help.el (with-help-window): Fix doc-string.
2970 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2972 * net/shr.el (shr-image-animate): New option.
2973 (shr-put-image): Respect shr-image-animate.
2975 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2977 * net/tramp-adb.el (tramp-adb-parse-device-names):
2978 Use `accept-process-output'.
2979 (tramp-adb-handle-file-truename): Cache the localname only.
2980 (tramp-adb-handle-make-directory)
2981 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2982 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2983 modes cannot be changed.
2985 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2986 file properties of symlinks.
2988 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2990 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2991 required/optional fields to match development biblatex. (Bug#16781)
2993 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2995 * saveplace.el (toggle-save-place):
2996 Fix argument handling. (Bug#16673)
2998 2014-02-28 Glenn Morris <rgm@gnu.org>
3000 * minibuffer.el (completions-first-difference)
3001 (completions-common-part, completion-hilit-commonality): Doc fixes.
3003 2014-02-28 Karl Berry <karl@gnu.org>
3005 * info.el (Info-mode-map): Add H for describe-mode,
3006 to synchronize with standalone Info.
3008 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3010 * progmodes/sql.el (sql-interactive-mode):
3011 Avoid setting global comint-input-ring-separator. (Bug#16814)
3013 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3015 * net/dbus.el (dbus--init-bus): Declare function.
3016 (dbus-path-local, dbus-interface-local): New defconst.
3017 (dbus-init-bus): Use them.
3018 (dbus-return-values-table): Extend doc.
3019 (dbus-handle-bus-disconnect): Extend error message.
3021 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3023 * subr.el (y-or-n-p): Fix double space issue in message.
3025 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3027 * net/tramp.el (tramp-call-process): Improve trace message.
3028 (tramp-handle-insert-file-contents): Trace error case.
3030 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3031 <insert-directory>: Use `tramp-handle-insert-directory'.
3032 (tramp-adb-handle-insert-directory): Remove function.
3033 (tramp-adb-send-command-and-check): New defun, replacing
3034 `tramp-adb-command-exit-status'. Change all callees.
3035 (tramp-adb-handle-file-attributes)
3036 (tramp-adb-handle-directory-files-and-attributes): Use it.
3037 (tramp-adb-ls-output-name-less-p):
3038 Use `directory-listing-before-filename-regexp'.
3039 (tramp-adb-handle-delete-directory): Flush also file properties of
3040 the truename of directory.
3041 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3042 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3043 (tramp-adb-handle-write-region): Implement APPEND.
3044 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3045 properties correctly.
3046 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3047 variables. Check for connected devices only when needed.
3049 2014-02-27 Glenn Morris <rgm@gnu.org>
3051 * minibuffer.el (completion-table-dynamic)
3052 (completion-table-with-cache): Doc fixes.
3054 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3055 (completing-read-multiple): Doc fixes.
3057 2014-02-27 Daniel Colascione <dancol@dancol.org>
3059 * minibuffer.el (completion--nth-completion): Fix indentation.
3061 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3062 explicit tramp path is empty.
3064 2014-02-27 Glenn Morris <rgm@gnu.org>
3066 * emacs-lisp/crm.el (completing-read-multiple):
3067 Empower help-enable-auto-load.
3069 2014-02-26 Glenn Morris <rgm@gnu.org>
3071 * startup.el (command-line): Don't init the tty in daemon mode.
3073 Avoid calling tty-setup-hook twice, eg if a term file
3074 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3075 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3076 (tty-create-frame-with-faces): Use it.
3077 * startup.el (command-line): Pass run-hook argument
3078 to tty-run-terminal-initialization.
3080 * dired.el (dired-restore-desktop-buffer): Demote errors;
3081 eg in case a glob match fails. (Bug#16884)
3083 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3085 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3086 error from `read-from-string'. (Bug#16850)
3088 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3089 result of `completing-read' in the interactive form. (Bug#16854)
3091 2014-02-25 Glenn Morris <rgm@gnu.org>
3093 * image.el (image-animate, image-animate-timeout):
3094 Stop animating images in dead buffers. (Bug#16878)
3096 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3098 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3100 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3101 * term/sun.el (sun-raw-prefix-hooks):
3102 Use tty-setup-hook instead of term-setup-hook.
3103 (terminal-init-sun): Construct message from bytecomp plist.
3104 * term/wyse50.el (enable-arrow-keys): Doc fix.
3106 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3108 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3109 Fix docstring typos.
3111 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3113 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3115 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3117 * minibuffer.el (completion--try-word-completion):
3118 Fix error when completing M-x commands (bug#16808).
3120 2014-02-24 Leo Liu <sdl.web@gmail.com>
3122 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3124 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3126 * apropos.el (apropos-print): Avoid formatting error when
3127 apropos-do-all and apropos-compact-layout are both t.
3129 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3131 * apropos.el (apropos-property, apropos-all-words-regexp)
3132 (apropos-true-hit, apropos-variable, apropos-print):
3133 Fix docstring typos, and remove obsolete comment.
3135 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3137 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3138 Preserve trailing "/". (Bug#16851)
3140 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3142 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3143 after `=>' (bug#16811).
3144 (ruby-smie-rules): Handle the inconsistent second element of the
3145 list returned by `smie-indent--parent'.
3146 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3149 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3151 * elec-pair.el (electric-pair-text-syntax-table)
3152 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3153 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3154 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3155 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3157 2014-02-22 Glenn Morris <rgm@gnu.org>
3159 * imenu.el (imenu--generic-function): Doc fix.
3161 * register.el (frame-configuration-to-register): Make obsolete.
3163 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3165 * desktop.el (desktop-save-buffer-p): Do not fail when
3166 desktop-files-not-to-save is nil. Return t for true result
3169 2014-02-22 Daniel Colascione <dancol@dancol.org>
3171 * net/secrets.el (secrets-create-item, secrets-search-items):
3172 Check that attribute values are strings, avoiding the construction
3173 of invalid dbus messages.
3175 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3177 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3178 defun-declarations-alist.
3180 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3185 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3187 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3188 (whitespace-newline, whitespace-trailing, whitespace-line)
3189 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3190 (whitespace-space-after-tab): Fix typo in docstrings.
3192 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3194 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3196 * electric.el (electric-indent-functions-without-reindent):
3197 Add `yaml-indent-line'.
3199 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3201 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3202 It has done nothing for years; should be removed after the release.
3204 * simple.el (choose-completion): Fix docstring typo.
3205 (read-quoted-char-radix): Remove unneeded * in docstring.
3206 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3207 Don't escape parentheses unnecessarily in docstrings.
3209 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3211 Fix handling of window-min-height/-width (Bug#16738).
3212 * window.el (window--dump-window, window--dump-frame):
3214 (window--min-size-1): Account for window dividers.
3215 When window-resize-pixelwise is nil, delay rounding till after the
3216 sum of the window components has been calculated.
3217 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3218 nil make sure at least one text line and two text columns remain
3220 (window-resize): Signal an error when window-resize-apply fails.
3221 (window--resize-child-windows): Fix calculation of by how many
3222 pixels a window can still be shrunk via window-new-normal.
3223 (adjust-window-trailing-edge): Call window--resizable with
3224 correct TRAIL argument.
3226 (with-temp-buffer-window): Don't evaluate BODY within
3227 with-current-buffer (Bug#16816).
3229 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3231 * net/tramp.el (tramp-check-cached-permissions):
3232 Call `file-attributes' with `suffix' being a symbol but a string.
3234 2014-02-21 Daniel Colascione <dancol@dancol.org>
3236 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3237 (dbus-init-bus): New function: call into dbus-init-bus-1
3238 and installs a handler for the disconnect signal.
3239 (dbus-call-method): Rewrite to look for result in cons.
3240 (dbus-call-method-handler): Store result in cons.
3241 (dbus-check-event): Recognize events with nil sender as valid.
3242 (dbus-handle-bus-disconnect): New function. React to bus
3243 disconnection signal by synthesizing dbus error for each
3244 pending synchronous or asynchronous call.
3245 (dbus-notice-synchronous-call-errors): New function.
3246 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3247 is true, not all the time.
3249 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3251 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3252 Remove obsolescence declarations, these variables do not exist anymore.
3254 * savehist.el (savehist-save-minibuffer-history)
3255 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3256 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3257 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3258 mostly, refer to "Savehist mode" when talking about the mode,
3259 and not the function.
3261 * saveplace.el (save-place): Remove redundant info in docstring.
3262 (save-place-forget-unreadable-files, toggle-save-place)
3263 (save-place-forget-unreadable-files, save-place-dired-hook):
3264 Fix typos and remove unneeded backslashes.
3266 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3268 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3269 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3272 <insert-directory>: Use `tramp-handle-insert-directory'.
3273 (tramp-gvfs-handle-insert-directory): Remove function.
3275 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3276 Call `tramp-handle-insert-directory'.
3278 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3280 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3281 before the start of buffer/region (bug#16799).
3283 2014-02-20 Glenn Morris <rgm@gnu.org>
3285 * isearch.el (search-invisible): Doc fix.
3287 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3289 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3292 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3294 * frameset.el (frameset-restore): Delay removing an old frame's
3295 duplicate id until the new frame has been correctly created.
3297 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3299 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3300 (tramp-check-cached-permissions): Call `file-attributes' if the
3303 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3304 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3306 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3307 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3308 (tramp-gvfs-maybe-open-connection): Set always connection
3309 properties, even if target is mounted already.
3311 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3312 Set tramp-autoload cookie.
3313 (tramp-get-remote-touch): New defun.
3314 (tramp-sh-handle-set-file-times): Use it.
3315 (tramp-sh-handle-directory-files-and-attributes):
3316 Use `tramp-handle-directory-files-and-attributes' if neither stat
3317 nor perl are available on the remote host.
3319 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3320 "/". Write long listing only when "l" belongs to the switches.
3322 * net/trampver.el: Update release number.
3324 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3326 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3328 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3330 * window.el (window-state-put): Allow WINDOW to refer to an
3331 internal window (Bug#16793).
3333 2014-02-19 Glenn Morris <rgm@gnu.org>
3335 * textmodes/remember.el: Move provide statement to end.
3336 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3337 (remember-notes): Doc fixes.
3339 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3341 * delsel.el (delete-char): Restore incorrectly erased property
3344 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3346 * frameset.el (frameset--restore-frame): When a frame is being reused
3347 and its root window is not alive, delete all the frame's windows before
3348 restoring the window state. This works around the issue in bug#16793.
3350 2014-02-18 Glenn Morris <rgm@gnu.org>
3352 * textmodes/remember.el (remember-data-directory)
3353 (remember-directory-file-name-format, remember-store-in-files)
3354 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3355 (remember-notes-save-and-bury-buffer)
3356 (remember-notes--kill-buffer-query): Doc fixes.
3358 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3360 2014-02-17 Alan Mackenzie <acm@muc.de>
3362 Connect electric-indent-mode up with CC Mode. Bug #15478.
3363 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3364 to electric-indent-{,local-}-mode.
3365 (c-basic-common-init): Set electric-indent-inhibit.
3366 Initialise c-electric-flag from electric-indent-mode.
3367 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3368 New hook functions which propagate electric-indent-mode to CC mode.
3370 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3371 hit, toggle electric-indent-local-mode.
3373 * electric.el (electric-indent-mode-has-been-called):
3376 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3378 * frameset.el (frameset-cfg-id): New function.
3379 (frameset--reuse-frame, frameset-restore): Use it.
3380 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3382 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3384 * ido.el (ido-file-internal): Remove unused var `d'.
3385 Use \` for to match BoS. Fit within 80n columns.
3387 2014-02-17 Daniel Colascione <dancol@dancol.org>
3389 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3390 dbus-call-method check for completion using a busy-wait loop with
3393 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3395 Sync with Tramp 2.2.9.
3397 * net/trampver.el: Update release number.
3399 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3401 * ido.el (ido-file-internal): Don't add the name of an existing
3402 directory twice. (Bug#16747)
3404 2014-02-16 Glenn Morris <rgm@gnu.org>
3406 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3407 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3409 2014-02-15 Michael R. Mauger <michael@mauger.com>
3411 * progmodes/sql.el: Version 3.4
3412 (sql-oracle-options): New default value ("-L").
3413 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3414 (sql-placeholders-filter): Correct placeholder pattern.
3415 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3416 (sql-login-delay): New variable.
3417 (sql-product-interactive): Use it.
3419 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3421 * frameset.el (frameset--jump-to-register): Check that buffer is live
3424 2014-02-15 Glenn Morris <rgm@gnu.org>
3426 * info.el (info-initialize): Revert 2014-01-10 change.
3428 2014-02-14 Glenn Morris <rgm@gnu.org>
3430 * replace.el (map-query-replace-regexp)
3431 (read-regexp-defaults-function, read-regexp): Doc fixes.
3433 * dired.el (dired-read-regexp):
3434 * faces.el (list-faces-display):
3435 * misearch.el (multi-isearch-read-matching-buffers)
3436 (multi-isearch-read-matching-files):
3437 * play/cookie1.el (cookie-apropos):
3438 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3440 * textmodes/remember.el (remember): Use frameset-to-register
3441 rather than frame-configuration-to-register.
3443 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3445 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3446 incorrect keybinding.
3448 2014-02-13 Daniel Colascione <dancol@dancol.org>
3450 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3451 when adding overlays so that line numbers from compiler match line
3454 2014-02-13 Glenn Morris <rgm@gnu.org>
3456 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3458 * jit-lock.el (jit-lock-mode): Doc fix.
3460 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3462 * apropos.el (apropos-read-pattern): When the user passes an empty
3463 string, give a more helpful error message than "Wrong type
3464 argument: stringp, nil".
3466 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3468 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3470 2014-02-13 Glenn Morris <rgm@gnu.org>
3472 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3474 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3477 shift-select commands.
3479 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3481 * progmodes/js.el (js-indent-line): Don't widen.
3482 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3484 2014-02-12 Glenn Morris <rgm@gnu.org>
3486 * icomplete.el (icomplete): Add info-link to defgroup.
3487 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3488 (icomplete-minibuffer-map, icomplete-mode)
3489 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3491 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3492 (package-menu-filter): Rename from package-menu-filter-interactive.
3495 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3497 * frameset.el (frameset--jump-to-register): Select the required
3498 window and buffer before restoring position (bug#16696).
3500 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3502 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3504 2014-02-10 Glenn Morris <rgm@gnu.org>
3506 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3508 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3510 * w32-common-fns.el (x-get-selection): Doc fix.
3511 * select.el (x-get-selection): Doc fix. (Bug#15109)
3513 * face-remap.el (face-remap-add-relative)
3514 (face-remap-remove-relative, face-remap-reset-base)
3515 (face-remap-set-base): Call force-mode-line-update to redisplay
3516 the current buffer due to potential change in faces. (Bug#16709)
3518 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3520 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3521 script more robustly.
3523 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3525 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3527 * simple.el (choose-completion): Doc fix (bug#14160).
3529 * subr.el (event-start): Say what a nil EVENT value means.
3531 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3534 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3536 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3538 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3540 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3541 predicate function (bug#15455).
3543 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3545 * ielm.el (inferior-emacs-lisp-mode): Instead of
3546 `comment-use-global-state', set `comment-use-syntax'.
3548 2014-02-10 Glenn Morris <rgm@gnu.org>
3550 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3552 2014-02-09 Alan Mackenzie <acm@muc.de>
3554 Fix c-invalidate-state-cache on narrowed buffers.
3555 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3556 Widen when setting and clearing the CPP delimiter properties.
3558 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3560 * help.el (describe-bindings): Doc fix (bug#9888).
3562 * files.el (save-buffer): Use ARG as the parameter name for
3563 consistency (bug#10346).
3564 (save-buffer): Clarify the 0 argument (bug#10346).
3566 * cus-edit.el (customize-apropos): Fix error string.
3567 (custom-buffer-create): Doc fix (bug#11122).
3568 (custom-sort-items): Doc fix (bug#11121).
3570 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3572 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3573 (icomplete-simple-completing-p): Mention the previous variable.
3575 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3576 meaning of the parameter (bug#12282).
3578 * files.el (find-file-noselect): Clarify prompt when changing
3579 readedness (bug#13261).
3580 (locate-file): Suffixes aren't returned, so don't say that they
3582 (backup-inhibited): Doc clarification (bug#12525).
3584 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3585 before we actually start to delete things (bug#16331).
3587 * subr.el (event-start): Doc fix (bug#14228).
3590 2014-02-09 Glenn Morris <rgm@gnu.org>
3592 * emacs-lisp/warnings.el (lwarn):
3593 Empower help-enable-auto-load. (Bug#15940)
3595 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3597 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3600 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3602 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3603 Insert output at end of buffer. (Bug#16120)
3605 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3607 * simple.el (choose-completion-string-functions): Document new
3608 calling convention (bug#14153).
3609 (execute-extended-command): Clarify doc string (bug#13373).
3611 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3613 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3614 (find-grep-dired): Doc fix (bug#14288).
3616 2014-02-08 Juri Linkov <juri@jurta.org>
3618 * isearch.el (isearch-quote-char): Check character validity
3619 like in `quoted-insert' (bug#16677).
3621 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3623 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3625 * isearch.el (isearch-hide-immediately): Doc clarification
3628 * simple.el (line-move): Document utility function used many
3629 places in the Emacs sources (bug#14843).
3631 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3632 (dired-prev-marked-file): Doc fix (bug#14855).
3633 (dired-up-directory): Doc fix (bug#14848).
3635 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3637 * files.el (file-relative-name): Doc fix (bug#15159).
3639 * fringe.el (fringe-styles): Doc fix (bug#15239).
3641 * isearch.el (isearch-filter-predicate): Documentation typo fix
3644 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3646 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3648 * replace.el (replace-match-maybe-edit): Doc clarification
3651 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3653 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3655 2014-02-08 Glenn Morris <rgm@gnu.org>
3657 * help-fns.el (describe-variable):
3658 Check {file,dir}-local-variables-alist, and buffer-file-name,
3659 in the correct buffer.
3661 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3663 * help-fns.el (describe-variable): Fix the case where
3664 a value is directory-local with no dir-locals file. (Bug#16635)
3666 2014-02-08 Glenn Morris <rgm@gnu.org>
3668 * abbrev.el (edit-abbrevs-mode):
3669 Derive from fundamental-mode. (Bug#16682)
3671 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3673 * simple.el (quoted-insert): Check character validity (bug#16677).
3675 2014-02-07 Juri Linkov <juri@jurta.org>
3677 * desktop.el (desktop-read): Claim the lock when the owner is not
3678 the current process. (Bug#16157)
3680 2014-02-07 Juri Linkov <juri@jurta.org>
3682 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3683 to "\\` ". (Bug#16651)
3685 2014-02-07 Juri Linkov <juri@jurta.org>
3687 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3688 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3689 (desktop-auto-save-cancel-timer): New function with some code from
3690 `desktop-auto-save-set-timer'.
3691 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3692 Instead of setting `desktop-save-mode' to nil, call
3693 `desktop-save-mode' with arg 0. (Bug#16630)
3695 2014-02-07 Glenn Morris <rgm@gnu.org>
3697 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3698 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3699 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3701 * obsolete/iswitchb.el: Move to obsolete/.
3702 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3703 since obsolete/ is not scanned for autoloads.
3704 * emacs-lisp/authors.el (authors-valid-file-names):
3707 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3708 Disable now non-functional find-file-hook.
3710 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3712 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3713 instead of ";" in order to avoid additional prompts. Let heredoc
3714 scripts read from tty. (Bug#16582)
3715 (tramp-send-command): No special handling of heredocs, it isn't
3718 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3720 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3721 with a space (bug#16664). Limit the symbols considered to the ones
3722 that are bound or fbound (bug#16646).
3724 2014-02-06 Glenn Morris <rgm@gnu.org>
3726 * epa.el (epa-mail-aliases): Doc fix.
3728 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3730 * emacs-lisp/lisp.el (lisp-completion-at-point):
3731 Use `completion-table-merge' instead of `completion-table-in-turn'
3734 * minibuffer.el (completion-table-merge): New function.
3736 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3738 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3739 (tramp-sh-handle-set-file-acl)
3740 (tramp-sh-handle-start-file-process)
3741 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3742 (tramp-find-executable, tramp-send-command): Use it.
3744 2014-02-05 Glenn Morris <rgm@gnu.org>
3746 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3748 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3750 * progmodes/python.el (python-shell-send-string)
3751 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3753 2014-02-04 Anders Lindgren <andlind@gmail.com>
3755 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3756 the names (bug#16620).
3758 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3760 * faces.el (window-divider): New default value. Rewrite doc-string.
3761 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3763 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3765 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3766 `protected' and `public' can also be called without arguments.
3768 2014-02-03 Glenn Morris <rgm@gnu.org>
3770 * register.el (window-configuration-to-register)
3771 (frame-configuration-to-register): Unadvertise unused argument.
3772 * frameset.el (frameset-to-register): Remove unused argument.
3774 * frameset.el (frameset-to-register):
3775 * kmacro.el (kmacro-to-register):
3776 * register.el (increment-register):
3777 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3778 (calc-append-to-register, calc-prepend-to-register):
3779 * play/gametree.el (gametree-layout-to-register)
3780 (gametree-apply-register-layout):
3781 * textmodes/picture.el (picture-clear-rectangle-to-register)
3782 (picture-yank-rectangle-from-register):
3783 * vc/emerge.el (emerge-combine-versions-register):
3784 Use register-read-with-preview to read registers.
3786 2014-02-03 João Távora <joaotavora@gmail.com>
3788 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3789 when at beginning of (possibly narrowed) buffer.
3791 2014-02-02 Daniel Colascione <dancol@dancol.org>
3793 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3794 Also try to display local help from just before point.
3796 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3798 c-parse-state. Don't "append-lower-brace-pair" in certain
3799 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3800 recognised as a comment.
3802 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3803 as well as normal comment starter.
3804 (c-parse-state-get-strategy): Extra return possibility
3806 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3807 return value list to indicate replacement of a brace-pair cons
3809 (c-parse-state-1): With 'back-and-forward, only call
3810 c-append-lower-brace-pair-to state-cache when cons-separated.
3812 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3814 * term/ns-win.el (ns-suspend-error): New function.
3815 (ns-initialize-window-system): Add ns-suspend-error to
3816 suspend-hook (Bug#16612).
3818 2014-02-02 Daniel Colascione <dancol@dancol.org>
3820 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3821 Make loading cc-mode silent.
3823 2014-02-02 Daniel Colascione <dancol@dancol.org>
3825 * comint.el (comint-prompt-read-only): Change doc to suggest
3828 2014-02-02 Glenn Morris <rgm@gnu.org>
3830 * register.el (register-read-with-preview, point-to-register)
3831 (window-configuration-to-register, frame-configuration-to-register)
3832 (jump-to-register, number-to-register, view-register, insert-register)
3833 (copy-to-register, append-to-register, prepend-to-register)
3834 (copy-rectangle-to-register): Doc fixes.
3836 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3838 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3839 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3840 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3841 * help-fns.el (describe-function-1): Use it.
3843 2014-02-02 Glenn Morris <rgm@gnu.org>
3845 * register.el (register-preview-default): New function,
3846 split from register-preview.
3847 (register-preview-function): Rename from register-preview-functions,
3849 (register-preview): Use register-preview-function.
3850 (register-read-with-preview): Error on non-character event. (Bug#16595)
3852 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3854 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3855 `:' before binary operators (bug#16609). Don't check for `:'
3856 before `[' and `(', or their syntax status. A percent literal
3857 can't end with either.
3858 (ruby-font-lock-keywords): For built-ins that require arguments,
3859 check that they're followed by something that looks like argument
3862 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3864 * subr.el (butlast): Document what an omitted N means (bug#13437).
3867 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3869 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3870 depth shallower (bug#16587).
3871 (shr-tag-svg): Respect `shr-inhibit-images'.
3872 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3874 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3876 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3877 (ruby-smie-grammar): Make "." right-associative. Make its priority
3878 lower than the ternary and all binary operators.
3879 (ruby-smie-rules): Indent "(" relative to the first non-"."
3880 parent, or the first "." parent at indentation.
3881 Use `ruby-align-chained-calls' for indentation of "." tokens.
3884 2014-01-31 Juri Linkov <juri@jurta.org>
3886 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3887 from `make-hash-table'.
3889 * textmodes/ispell.el (ispell-init-process): Change message format
3890 to be consistent with other messages.
3892 2014-01-31 Glenn Morris <rgm@gnu.org>
3894 * delsel.el (delete-selection-mode): Doc fix.
3896 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3897 (trace-function-background): Doc fixes.
3899 * ido.el (ido-use-virtual-buffers): Doc fix.
3900 Reset :version, since the default value has not changed.
3902 * register.el (register-preview-delay, register-read-with-preview):
3905 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3906 do not mess with mail-buffer position (fixes 2009-11-03 change).
3907 * progmodes/cc-mode.el (c-submit-bug-report):
3908 Check auto-fill-mode is bound. (Bug#16592)
3910 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3912 * startup.el (fancy-splash-image-file): New function,
3913 split from fancy-splash-head.
3914 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3915 so that we are both using the same image. (Bug#16574)
3917 2014-01-30 Glenn Morris <rgm@gnu.org>
3919 * simple.el (eval-expression): Doc fix.
3921 * hexl.el (hexl-mode-hook):
3922 * ielm.el (ielm-mode-hook):
3923 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3924 (lisp-interaction-mode-hook):
3925 * progmodes/cfengine.el (cfengine3-documentation-function):
3926 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3928 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3931 is a symbol (bug#16584).
3933 2014-01-30 Glenn Morris <rgm@gnu.org>
3935 * help.el (help-for-help-internal): Add "P" to text.
3937 2014-01-29 Glenn Morris <rgm@gnu.org>
3939 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3941 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3943 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3946 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3948 * progmodes/hideif.el: Extend to full CPP expression syntax.
3949 (hif-token-alist): Add missing tokens.
3950 (hif-token-regexp): Add support for float/octal/hex immediates.
3951 (hif-string-literal-regexp): New const.
3952 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3953 (hif-exprlist): New function.
3954 (hif-parse-if-exp): Use it.
3955 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3956 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3957 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3958 (hif-logxor, hif-comma): New functions.
3960 2014-01-28 Glenn Morris <rgm@gnu.org>
3962 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3964 * indent.el (tab-stop-list): Doc fix. Add :version.
3966 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3967 (cvs-append-to-ignore): Add compatibility alias.
3969 2014-01-27 Glenn Morris <rgm@gnu.org>
3971 * dired.el (dired-hide-details-mode): Don't autoload it,
3972 since it cannot be used outside Dired buffers anyway.
3974 * emulation/cua-base.el (cua-mode): Doc fix.
3976 * dired.el (dired-hide-details-hide-symlink-targets)
3977 (dired-hide-details-hide-information-lines)
3978 (dired-hide-details-mode): Doc fixes.
3980 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3981 * strokes.el (strokes-file): Doc fix. Bump :version.
3982 (strokes-help): Doc fix.
3983 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3984 * emulation/viper.el (viper): Doc fix for custom group.
3985 (top-level): Remove oh-so-no-longer-relevant text about vip.
3986 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3988 * ido.el (ido-save-directory-list-file):
3989 * saveplace.el (save-place-file):
3990 * calendar/timeclock.el (timeclock-file):
3991 * net/quickurl.el (quickurl-url-file):
3992 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3993 * progmodes/idlwave.el (idlwave-config-directory):
3994 * textmodes/remember.el (remember-data-file):
3997 2014-01-26 Glenn Morris <rgm@gnu.org>
3999 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4000 Doc fix. Make obsolete.
4001 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4003 * sort.el (delete-duplicate-lines): Doc fix.
4005 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4007 * progmodes/ada-mode.el (ada):
4008 * woman.el (woman): Link to info manual and Commentary section.
4010 * progmodes/flymake.el (flymake):
4011 * nxml/nxml-mode.el (nxml):
4013 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4014 * htmlfontify.el (htmlfontify):
4017 * ido.el (ido): Link to info manual.
4019 2014-01-25 Leo Liu <sdl.web@gmail.com>
4021 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4023 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4025 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4028 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4030 * net/eww.el (eww-download-callback):
4031 Fix reference to eww-download-directory.
4033 * emacs-lisp/bytecomp.el (byte-compile-file):
4034 Remove unused local variable `file-name'.
4036 2014-01-24 Glenn Morris <rgm@gnu.org>
4038 * woman.el (woman-default-faces, woman-monochrome-faces):
4039 Fix obsolescence specification.
4041 * subr.el (with-demoted-errors): Doc fix.
4043 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4046 (cl--macroexp-fboundp): New function.
4047 (cl--make-type-test): Use it.
4049 2014-01-23 Glenn Morris <rgm@gnu.org>
4051 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4052 * simple.el (eval-expression): Doc fixes.
4054 2014-01-22 Glenn Morris <rgm@gnu.org>
4056 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4058 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4060 * emacs-lisp/package.el: Write files silently.
4061 (package-autoload-ensure-default-file, package--write-file-no-coding)
4062 (package-generate-description-file, package--download-one-archive)
4063 (package-install-from-archive): Tell `write-region' to stay quiet.
4064 (package-menu-mode, package-menu--print-info): Omit the Archive column
4065 if there's only one archive.
4066 (package-all-keywords, package--has-keyword-p): Remove dead code.
4068 2014-01-22 Glenn Morris <rgm@gnu.org>
4070 * version.el (emacs-bzr-version-bzr): Fix typo.
4072 * version.el (emacs-repository-get-version):
4073 Check either .bzr or .git, but not both.
4074 Make the git case actually use the DIR argument, and return nil
4075 rather than the empty string.
4076 Avoid error if .git exists but the git executable is not found.
4078 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4080 Fixes in window size functions around Bug#16430 and Bug#16470.
4081 * window.el (window-total-size, window-size): New argument ROUND.
4082 (window--min-delta-1, window-min-delta, window--max-delta-1):
4083 Be more conservative when calculating the numbers of lines or
4084 columns a window can shrink (Bug#16430).
4085 (fit-window-to-buffer): Simplify code.
4086 * term.el (term-window-width): Call window-body-width again.
4088 2014-01-22 Glenn Morris <rgm@gnu.org>
4090 * image.el (image-format-suffixes): Doc fix.
4092 * international/quail.el (quail-define-package): Doc fix.
4094 * emacs-lisp/authors.el (authors-valid-file-names)
4095 (authors-renamed-files-alist): Additions.
4097 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4098 reverts 2014-01-09 change. (Bug#16422)
4100 * calc/calc-embed.el (thing-at-point-looking-at):
4101 * emacs-lisp/map-ynp.el (x-popup-dialog):
4102 * obsolete/lmenu.el (x-popup-dialog):
4103 * emacs-lisp/package.el (url-recreate-url):
4104 * mail/mailclient.el (clipboard-kill-ring-save):
4105 * subr.el (x-popup-dialog): Update declaration.
4106 * mail/rmail.el (rmail-mime-message-p):
4107 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4109 2014-01-21 Daniel Colascione <dancol@dancol.org>
4111 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4112 Correctly detect when we're inside an arithmetic expansion form
4113 containing nested parenthesis.
4114 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4115 to detect cases where we shouldn't expand "<<" to a heredoc
4118 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4121 (eldoc--message-command-p): New function.
4122 (eldoc-display-message-p): Use it.
4123 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4124 message is not automatically erased for us.
4125 (eldoc-print-current-symbol-info): Erase previous message, if any.
4127 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4129 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4130 specify it's an interactive function.
4132 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4133 Fix regex used for scanning for citation keys which failed for
4134 citations with optional arguments.
4136 2014-01-21 Leo Liu <sdl.web@gmail.com>
4138 * simple.el (read--expression): Don't enable eldoc-mode.
4140 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4142 * simple.el (move-beginning-of-line): Make sure we don't move forward
4145 2014-01-20 Juri Linkov <juri@jurta.org>
4147 * saveplace.el (toggle-save-place, save-place-to-alist)
4148 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4149 'dired-mode) before checking for dired-directory. (Bug#16477)
4151 2014-01-20 Juri Linkov <juri@jurta.org>
4153 * indent.el (indent-line-to): Use backward-to-indentation
4154 instead of back-to-indentation. (Bug#16461)
4156 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4158 Revert some of the CANNOT_DUMP fix (Bug#16494).
4159 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4160 but fixing this can wait until after the next release.
4161 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4163 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4165 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4166 Use `password-word-equivalents'.
4167 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4168 to t. (Bug#5664, Bug#13124)
4170 2014-01-19 Alan Mackenzie <acm@muc.de>
4172 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4174 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4175 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4176 * progmodes/cc-mode.el (c-before-change, c-after-change)
4177 (c-font-lock-fontify-region): Bind it here.
4179 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4181 * term.el (term-window-width): Call window-text-width instead of
4182 window-width (Bug#16470).
4184 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4186 * simple.el (password-word-equivalents): Remove duplicates.
4187 Sort, to make this easier next time.
4188 Downcase. Omit ": " after "jelszó".
4190 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4192 * term/common-win.el (saved-region-selection): Defvar it.
4193 (x-select-text): Set saved-region-selection (Bug#16382).
4195 2014-01-18 Glenn Morris <rgm@gnu.org>
4197 * emacs-lisp/authors.el (authors-aliases)
4198 (authors-renamed-files-alist): Add some entries.
4200 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4202 * net/tramp.el (tramp-password-prompt-regexp):
4203 Use `password-word-equivalents' if available.
4204 (tramp-action-password, tramp-process-one-action)
4205 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4207 2014-01-17 Chong Yidong <cyd@gnu.org>
4209 * simple.el (password-word-equivalents): New defcustom.
4210 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4212 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4215 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4217 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4218 (ruby-align-to-stmt-keywords): Change the default value.
4219 Use `ruby-alignable-keywords' to generate the possible customization
4221 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4222 keywords, check against the value of `ruby-alignable-keywords'
4223 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4225 2014-01-17 Glenn Morris <rgm@gnu.org>
4227 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4229 Make M-x authors return zero *Authors Errors* from current logs.
4230 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4231 (authors-ignored-files): Add some entries, remove others.
4232 (authors-ambiguous-files, authors-valid-file-names):
4234 (authors-renamed-files-alist): Add, remove, and adjust entries.
4235 (authors-renamed-files-regexps): Add some entries.
4236 Remove some very broad ones. Make some entries `lax'.
4237 (authors-lax-changelogs): New constant.
4238 (authors-disambiguate-file-name): Treat top-level specially.
4239 (authors-lax-changelog-p): New function.
4240 (authors-canonical-file-name): Check file as written against
4241 authors-valid-file-names. Do not special-case etc/.
4242 Handle `lax' logs and authors-renamed-files-regexps elements.
4244 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4246 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4247 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4250 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4252 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4253 Assume we're already in the proper buffer.
4254 Inspired by Anders Lindgren <andlind@gmail.com>.
4255 (follow-post-command-hook): Call it from the right buffer.
4256 (follow-comint-scroll-to-bottom): Adjust call.
4257 (follow-all-followers): Use get-buffer-window-list.
4259 2014-01-15 Daniel Colascione <dancol@dancol.org>
4261 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4262 `buffer-file-name' in interactive-form so that we don't leave
4263 pathless file names in `file-name-history'.
4265 2014-01-15 Juri Linkov <juri@jurta.org>
4267 * indent.el (indent-rigidly): Set deactivate-mark to nil
4268 in transient indentation mode. (Bug#16438)
4270 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4272 * emacs-lisp/package.el (package-desc-keywords): New function
4274 (describe-package-1, package-all-keywords)
4275 (package--has-keyword-p): Use it.
4277 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4279 * simple.el (define-alternatives): When creating the
4280 COMMAND-alternatives variable, assign COMMAND as its definition
4281 name so that `describe-variable' can relocate it.
4283 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4285 * font-lock.el (font-lock-keywords): Fix typo in docstring
4288 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4290 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4291 line instead of wrongly reset `add-coment' (bug#13577).
4293 2014-01-14 Daiki Ueno <ueno@gnu.org>
4295 * epa-file.el (epa-file-write-region): Encode the region according
4296 to `buffer-file-format'. Problem reported at:
4297 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4299 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4302 so it applies in the right buffer (bug#16410).
4304 2014-01-13 Daniel Colascione <dancol@dancol.org>
4306 * textmodes/rst.el (rst-define-key): Provide deprecated
4307 keybindings through named functions instead of anonymous ones so
4308 that "??" doesn't appear in describe-mode output.
4310 2014-01-13 Bastien Guerry <bzg@gnu.org>
4312 * simple.el (define-alternatives): Call the selected command
4313 interactively. When setting `COMMAND--implementation' for the
4314 first time, tell the user how to chose another implementation.
4315 Enhance the docstring.
4317 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4319 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4320 (log-edit--match-first-line): New function.
4321 (log-edit-font-lock-keywords): Use it.
4322 (log-edit-mode): Make jit-lock-defer-multiline work.
4324 2014-01-13 Bastien Guerry <bzg@gnu.org>
4326 * rect.el (rectangle-mark-mode): When the region is not active,
4327 display a message saying that the mark as been set and that
4328 rectangle mode is in use.
4329 (rectangle--highlight-for-redisplay): Only put an overlay with a
4330 visible vertical bar when (display-graphic-p) is non-nil.
4331 This partially fixes Bug#16403.
4333 2014-01-13 Juri Linkov <juri@jurta.org>
4335 * info.el (Info-find-file): Go to DIR before displaying the error
4336 about a nonexistent file if no previous Info file is visited.
4337 Use `user-error' instead of `error' for "Info file %s does not exist".
4338 (Info-find-node-2): In case of a nonexistent node in unwind forms
4339 go to the Top node if there is no previous node to revert to.
4342 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4344 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4345 * window.el (fit-frame-to-buffer): Fix doc-string.
4346 Respect window-min-height/-width. Fit pixelwise when
4347 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4348 when avoiding that frame goes partially off-screen.
4349 (fit-window-to-buffer): Respect window-min-height/-width
4352 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4355 after an empty line.
4357 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4359 * net/shr.el (shr-render-region): Autoload.
4361 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4363 * net/eww.el (eww-download-directory): Rename from
4364 `eww-download-path' (Bug#16419).
4366 2014-01-12 Leo Liu <sdl.web@gmail.com>
4368 * dired-x.el (dired-mode-map): Fix last change.
4370 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4372 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4375 * emacs-lisp/generic.el (generic--normalize-comments):
4376 Rename from generic--normalise-comments. All uses changed.
4377 * play/bubbles.el (bubbles--neighborhood-score)
4378 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4379 (bubbles--neighborhood-available)
4380 (bubbles--update-neighborhood-score):
4381 Rename from names with 'neighbourhood'. All uses changed.
4383 2014-01-12 Leo Liu <sdl.web@gmail.com>
4385 Re-implement the feature of showing eldoc info after editing.
4386 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4387 (eldoc-edit-message-commands): New function.
4388 (eldoc-print-after-edit): New variable.
4389 (eldoc-pre-command-refresh-echo-area): Emit message only by
4390 eldoc-message-commands.
4391 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4392 if eldoc-print-after-edit is set. (Bug#16346)
4393 * simple.el (read--expression): Enable eldoc-mode.
4394 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4396 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4397 Eric S. Raymond <esr@thyrsus.com>
4399 * version.el (emacs-repository-get-version): Enhance so the
4400 function works correctly in either a Bazaar or Git repo.
4402 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4404 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4405 Goes with removal of the joke manpages from /etc.
4407 2014-01-10 Kenichi Handa <handa@gnu.org>
4409 * mail/rmail.el (rmail-get-coding-system):
4410 Check rmail-get-coding-function before "funcall"ing it.
4412 2014-01-10 Glenn Morris <rgm@gnu.org>
4414 * emacs-lisp/authors.el (authors-fixed-entries):
4415 Update for files that no longer exist.
4417 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4419 * version.el (emacs-bzr-get-version): Restore compatibilty with
4422 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4424 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4427 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4429 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4431 2014-01-10 Chong Yidong <cyd@gnu.org>
4433 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4435 2014-01-10 Anders Lindgren <andlind@gmail.com>
4437 * follow.el (follow-cache-command-list): Include right-char and
4440 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4443 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4444 * woman.el (woman-mark-horizontal-position):
4445 Rename from woman-mark-horizonal-position. Use changed.
4447 2014-01-10 Glenn Morris <rgm@gnu.org>
4449 * info.el (info-initialize): If running uninstalled, ensure our
4450 own info files are always found first, even if INFOPATH is set.
4452 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4454 2014-01-09 David Engster <deng@randomsample.de>
4456 * emacs-lisp/eieio-custom.el:
4457 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4458 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4459 * emacs-lisp/eieio.el: Regenerate autoloads.
4461 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4463 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4464 following renames. (Bug#8756)
4466 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4470 (activate-mark): Add `no-tmm' argument.
4471 (set-mark, push-mark-command): Use it instead of running
4472 activate-mark-hook by hand.
4474 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4476 In preparation for the move to git, sanitize out some
4477 Bazaar-specific names.
4479 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4481 * version.el (emacs-bzr-version): Name changed to
4482 emacs-repository-version. Obsolete-variable alias made.
4483 * loadup.el: Follow through on this name change.
4484 * mail/emacsbug.el (report-emacs-bug): Factor out any
4485 assumption about the version control system in use.
4487 2014-01-08 David Engster <deng@randomsample.de>
4489 * help-fns.el (help-fns-describe-function-functions):
4490 New variable to call functions for augmenting help buffers.
4491 (describe-function-1): Remove explicit calls to
4492 `help-fns--compiler-macro', `help-fns--parent-mode' and
4493 `help-fns--obsolete'. Put them in above new variable instead, and
4494 call them through `run-hook-with-args'.
4495 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4496 `eieio-describe-class'. Not meant for interactive use anymore,
4497 but to augment existing help buffers. Remove optional second
4498 argument. Create proper button for file location.
4499 Rewrite function to use `insert' instead of `princ' and `prin1' where
4501 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4502 (eieio-method-def, eieio-class-def): Move further up.
4503 (describe-method, describe-generic, eieio-describe-method):
4505 (eieio-help-constructor, eieio-help-generic): Rename from
4506 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4507 Rewrite to use `insert' in the current buffer and use proper help
4509 (eieio-help-find-method-definition)
4510 (eieio-help-find-class-definition): Also accept symbols as
4512 (eieio-help-mode-augmentation-maybee): Remove.
4513 (eieio-describe-class-sb): Use `describe-function'.
4514 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4515 Add `eieio-help-generic' and `eieio-help-constructor'.
4517 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4520 * language/china-util.el (hz-ascii-designation):
4521 Rename from hz-ascii-designnation.
4522 (hz-ascii-designation): Rename from hz-ascii-designnation.
4525 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4527 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4530 2014-01-08 Bastien Guerry <bzg@gnu.org>
4532 * emacs-lisp/package.el (package-delete):
4533 Correctly delete the package from package-alist.
4535 2014-01-08 Daiki Ueno <ueno@gnu.org>
4537 * emacs-lisp/package.el (url-recreate-url): Declare.
4538 (url-http-target-url): Declare.
4539 (package-handle-response): Include requested URL in the error message.
4540 (package--check-signature): Don't re-signal errors from
4541 package--with-work-buffer. Suggested by Stefan Monnier.
4543 2014-01-07 Bastien Guerry <bzg@gnu.org>
4545 * minibuffer.el (completion--try-word-completion): When both a
4546 hyphen and a space are possible candidates for the character
4547 following a word, display both candidates. (Bug#15980)
4549 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4551 * window.el (balance-windows-2): While rounding don't give a
4552 window more than the remainder. Bug#16351, bug#16383.
4554 2014-01-07 Glenn Morris <rgm@gnu.org>
4556 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4557 (menu-bar-help-menu): Use view-external-packages instead.
4559 2014-01-07 Bastien Guerry <bzg@gnu.org>
4561 * emacs-lisp/package.el (package-delete): Also delete the package
4562 name from `package-alist', not its description only.
4564 2014-01-07 Glenn Morris <rgm@gnu.org>
4566 * help.el (view-external-packages):
4567 * menu-bar.el (menu-bar-help-extra-packages):
4568 Visit efaq.info rather than etc/MORE.STUFF.
4570 2014-01-07 Juri Linkov <juri@jurta.org>
4572 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4573 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4575 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4576 that shadows RET. (Bug#16342)
4578 2014-01-07 Chong Yidong <cyd@gnu.org>
4580 * isearch.el (isearch-yank-char, isearch-yank-word)
4581 (isearch-yank-line): Doc fix.
4583 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4585 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4586 * emacs-lisp/elint.el (elint-find-builtins):
4587 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4588 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4589 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4590 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4591 * apropos.el (apropos-safe-documentation):
4592 * subr.el (symbol-file): Remove redundant fboundp.
4593 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4595 2014-01-06 Bastien Guerry <bzg@gnu.org>
4597 * hl-line.el (global-hl-line-overlay): Make a local variable.
4598 (global-hl-line-overlays): New variable to store all overlays.
4599 (global-hl-line-mode): Don't delete overlays from the current
4600 buffer when `global-hl-line-sticky-flag' is non-nil.
4601 (global-hl-line-highlight): Add new overlays to
4602 `global-hl-line-overlays'.
4603 (global-hl-line-unhighlight-all): New function to delete all
4604 overlays when turning off `global-hl-line-mode'.
4605 This fixes Bug#16183.
4607 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4609 * subr.el (set-transient-map): Fix nested case and docstring.
4611 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4613 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4616 2014-01-06 Daniel Colascione <dancol@dancol.org>
4618 Fix defun navigation in vc log view.
4620 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4621 like `beginning-of-defun'.
4622 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4623 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4624 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4625 (log-view-extract-comment): Call `log-view-current-entry' directly
4626 instead of relying on broken `log-view-beginning-of-defun' behavior.
4628 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4631 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4632 * emacs-lisp/debug.el (cancel-debug-on-entry):
4633 * epg.el (epg-error-to-string):
4634 * files.el (recover-file):
4635 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4636 * mail/emacsbug.el (report-emacs-bug-hook):
4637 * mail/sendmail.el (mail-recover):
4638 * ses.el (ses-yank-resize):
4639 * term/ns-win.el (ns-print-buffer):
4640 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4641 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4643 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4645 2014-01-06 Leo Liu <sdl.web@gmail.com>
4647 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4648 to avoid shadowing global key. (Bug#16354)
4650 2014-01-06 Daniel Colascione <dancol@dancol.org>
4652 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4655 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4657 * window.el (balance-windows): Add mising t to fix Bug#16351.
4659 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4661 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4663 (shr-insert): If we have a word that's longer than `shr-width',
4664 break after it anyway. Otherwise we'll do no breaking once we get
4667 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4669 * net/eww.el (eww): Support single/double quote for search.
4670 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4671 (eww-history-quit): Delete and use quit-window.
4672 (eww-history-kill): Delete, because it doesn't work well and
4674 (eww-history-mode-map): Delete some keys and add easy-menu.
4676 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4678 Fix misspelling of 'chinese' in rx (Bug#16237).
4679 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4682 Change subword regexps back to vars (Bug#16296).
4683 * progmodes/subword.el (subword-forward-regexp)
4684 (subword-backward-regexp): Change these back to variables.
4686 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4689 syntax-begin-function (bug#16247).
4691 2014-01-03 Chong Yidong <cyd@gnu.org>
4693 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4694 (advice--docstring): Delete variable.
4695 (advice--make-1): Leave the docstring empty.
4696 (advice-add): Use function-documentation for advised docstring.
4698 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4699 Ignore function-documentation property when getting documentation.
4700 (ad-activate-advised-definition): Use function-documentation
4701 generate the docstring.
4702 (ad-make-advised-definition): Don't call
4703 ad-make-advised-definition-docstring.
4704 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4707 * progmodes/sql.el (sql-help): Use function-documentation instead
4708 of dynamic-docstring-function property. No need to autoload now.
4709 (sql--help-docstring): New variable.
4710 (sql--make-help-docstring): Use it.
4712 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4714 * ielm.el (ielm-tab): Retarget.
4715 (ielm-map): Use ielm-tab for tab.
4716 (ielm-complete-filename): Use comint-filename-completion.
4717 (ielm-complete-symbol): Remove.
4718 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4719 remove ielm-tab from completion-at-point-functions (bug#16224).
4721 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4722 Beware signals raised by predicates (bug#16201).
4724 2014-01-02 Richard Stallman <rms@gnu.org>
4726 * dired-aux.el (dired-do-print): Handle printer-name.
4728 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4729 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4730 (rmail-epa-decrypt): Turn off mime processing.
4732 * mail/rmail.el (rmail-make-in-reply-to-field):
4733 Add parens in message-id.
4735 * mail/rmail.el (rmail-get-coding-function): Variable.
4736 (rmail-get-coding-system): Use it.
4738 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4740 * international/mule-conf.el: Unify the charset indian-is13194.
4741 (indian-is13194): Specify unify-map.
4743 2013-12-31 Leo Liu <sdl.web@gmail.com>
4745 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4747 2013-12-30 Daniel Colascione <dancol@dancol.org>
4749 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4750 of printing a useless when we resume from sleep.
4752 * progmodes/sh-script.el
4753 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4754 in indentation code. (Bug#16233)
4756 2013-12-28 João Távora <joaotavora@gmail.com>
4758 * elec-pair.el (electric-pair-post-self-insert-function):
4759 Don't open extra newlines at beginning of buffer. (Bug#16272)
4761 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4763 * frame.el (window-system-for-display): Don't allow to create a
4764 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4766 2013-12-28 Glenn Morris <rgm@gnu.org>
4768 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4771 * apropos.el (apropos-match-face):
4772 * calculator.el (calculator-displayer):
4773 * dabbrev.el (dabbrev-search-these-buffers-only):
4774 * face-remap.el (buffer-face-mode-face):
4775 * simple.el (yank-handled-properties):
4776 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4777 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4778 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4779 (hashcash-double-spend-database):
4780 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4781 (ruby-deep-indent-paren-style):
4782 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4783 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4784 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4785 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4786 Specify custom types.
4788 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4789 * bookmark.el (bookmark-bmenu-use-header-line):
4790 * doc-view.el (doc-view-scale-internally):
4791 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4792 * register.el (register-preview-delay):
4793 * net/shr.el (shr-bullet):
4794 * progmodes/cfengine.el (cfengine-cf-promises)
4795 (cfengine-parameters-indent):
4796 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4797 * textmodes/reftex-vars.el (reftex-label-regexps):
4798 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4800 * net/tls.el (tls-certtool-program): Fix default value.
4802 * desktop.el (desktop-restore-in-current-display):
4803 * newcomment.el (comment-empty-lines):
4804 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4805 (idlwave-pad-keyword):
4806 * progmodes/tcl.el (tcl-tab-always-indent):
4807 * textmodes/reftex-vars.el (reftex-index-default-tag):
4808 * elec-pair.el (electric-pair-skip-whitespace):
4809 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4811 * emacs-lisp/authors.el (authors-ignored-files)
4812 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4814 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4816 * shell.el (shell-dynamic-complete-command): Doc fix.
4817 (shell--command-completion-data): Shell completion now matches
4818 executable filenames from the current buffer's directory, on
4819 systems in which this behavior is the default (windows-nt, ms-dos).
4821 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4823 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4825 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4827 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4830 * electric.el: Move all electric-pair-* to elec-pair.el.
4831 * elec-pair.el: New file, split from electric.el.
4833 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4835 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4836 indentation level is larger than the width, because that will
4838 (shr-insert): Fill repeatedly long texts, so that Japanese is
4839 formatted correctly (bug#16263).
4840 (shr-find-fill-point): Off by one error in comparison with the
4843 2013-12-26 João Távora <joaotavora@gmail.com>
4845 * electric.el (electric-pair-mode): More flexible engine for skip-
4846 and inhibit predicates, new options for pairing-related functionality.
4847 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4848 if that keeps or improves their balance in buffers.
4849 (electric-pair-delete-adjacent-pairs): Delete the pair when
4850 backspacing over adjacent matched delimiters.
4851 (electric-pair-open-extra-newline): Open extra newline when
4852 inserting newlines between adjacent matched delimiters.
4853 (electric--sort-post-self-insertion-hook):
4854 Sort post-self-insert-hook according to priority values when
4855 minor-modes are activated.
4856 * simple.el (newline-and-indent): Call newline with interactive
4858 (blink-paren-post-self-insert-function): Set priority to 100.
4859 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4860 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4861 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4862 electric-pair-open-newline-between-pairs to nil.
4864 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4866 * progmodes/python.el: Use lexical-binding.
4867 (python-nav-beginning-of-defun): Stop searching ASAP.
4869 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4871 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4872 Fix interactive spec. Doc fix. (Bug#15754)
4874 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4876 * emacs-lisp/byte-run.el (eval-when-compile):
4877 * progmodes/cc-defs.el (cc-eval-when-compile):
4878 Fix edebug spec (bug#16184).
4880 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4882 * net/shr.el (shr-visit-file): Remove debugging function.
4883 (shr-insert): Don't infloop if we can't find a good place to break
4884 the line (bug#16256).
4886 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4888 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4889 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4890 python-nav-lisp-forward-sexp-safe.
4891 (python-nav--forward-sexp): New argument SAFE allows switching
4892 forward sexp movement behavior for parens.
4893 (python-nav-forward-sexp): Throw errors on unterminated parens
4895 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4896 (python-nav-backward-sexp-safe): New functions.
4897 (python-shell-buffer-substring):
4898 Use `python-nav-forward-sexp-safe'.
4900 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4902 * net/shr.el (shr-find-fill-point): Don't break lines before a
4904 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4905 (shr-find-fill-point): Remove the special checks for the quotation
4906 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4908 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4910 * net/eww.el (eww-form-textarea): Use a different face for
4911 textareas than text input since they have different keymaps
4914 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4916 * progmodes/python.el (python-nav-beginning-of-statement):
4917 Speed up (Bug#15295).
4919 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4921 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4922 the window configuration.
4924 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4926 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4927 we run on MS-Windows or MS-DOS.
4929 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4931 * window.el (balance-windows-area): Call window-size instead of
4932 window-height and window-width. Bug#16241.
4934 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4936 * net/eww.el (eww-bookmark-quit): Remove.
4937 (eww-bookmark-browse): Restore the window configuration when you
4938 choose a bookmark (bug#16144).
4940 2013-12-24 Daniel Colascione <dancol@dancol.org>
4942 * icomplete.el: Remove redundant :group arguments to `defcustom'
4944 (icomplete-show-matches-on-no-input): New customizable variable.
4945 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4946 we have something to show.
4947 (icomplete-exhibit): Compute completions even if we have no user input.
4949 2013-12-23 Daniel Colascione <dancol@dancol.org>
4951 * icomplete.el: Move `provide' to end of file.
4953 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4955 * net/gnutls.el (gnutls-verify-error): Add version tag.
4957 2013-12-23 Chong Yidong <cyd@gnu.org>
4959 * subr.el (set-transient-map): Rename from
4960 set-temporary-overlay-map. Doc fix.
4962 * face-remap.el (text-scale-adjust):
4963 * indent.el (indent-rigidly):
4964 * kmacro.el (kmacro-call-macro):
4965 * minibuffer.el (minibuffer-force-complete):
4966 * repeat.el (repeat):
4967 * simple.el (universal-argument--mode):
4968 * calendar/todo-mode.el (todo-insert-item--next-param):
4969 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4971 * indent.el (indent-rigidly): Use substitute-command-keys.
4973 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4975 * net/eww.el (eww-tag-select): Add text-property to jump to next
4977 (eww): Add non-supported ftp error.
4979 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4981 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4982 comments. Handle electric indent after typing `?' and `!'.
4984 2013-12-22 Chong Yidong <cyd@gnu.org>
4986 * faces.el (face-spec-recalc): If the theme specs are not
4987 applicable to a frame, fall back on the defface spec.
4988 This prevents themes from obliterating faces on low-color terminals.
4990 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4992 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4993 after `{'. We need it after block openers, and it doesn't seem
4994 to hurt after hash openers.
4996 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4998 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4999 extracted from `ruby-smie-rules'.
5000 (ruby--electric-indent-chars): New variable.
5001 (ruby--electric-indent-p): New function.
5002 (ruby-mode): Use `electric-indent-functions' instead of
5003 `electric-indent-chars'.
5005 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5007 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5009 (ruby-smie-rules): Indent plus one level after `=>'.
5011 2013-12-21 Richard Stallman <rms@gnu.org>
5013 * simple.el (newline): Doc fix.
5015 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5017 * net/eww.el (eww-list-histories, eww-list-histories)
5018 (eww-history-browse, eww-history-quit, eww-history-kill)
5019 (eww-history-mode-map, eww-history-mode): New command and
5020 functions to list browser histories.
5021 (eww-form-text): Support text form with disabled
5022 and readonly attributes.
5023 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5025 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5027 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5028 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5029 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5030 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5032 (eww-bookmark-mode-map): Add menu.
5033 (eww-render, eww-mode): Use `setq-local'.
5034 (eww-tool-bar-map): New variable.
5035 (eww-mode): Set `tool-bar-map'.
5036 (eww-view-source): Check for `html-mode' with `fboundp'.
5038 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5040 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5041 elements with text inside. Also remove debugging.
5043 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5045 * cus-start.el (all): Add ns-use-srgb-colorspace.
5047 2013-12-21 Chong Yidong <cyd@gnu.org>
5049 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5050 undefined. Thus, theme settings for undefined faces do not take
5051 effect until the faces are defined with defface, the same as with
5054 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5055 (face-spec-reset-face): Don't assign extra properties in temacs.
5056 (face-spec-recalc): Apply X resources too.
5058 2013-12-21 Chong Yidong <cyd@gnu.org>
5060 * faces.el (face-spec-set):
5061 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5062 * custom.el (defface): Doc fixes (Bug#16203).
5064 * indent.el (indent-rigidly-map): Add docstring, and move commands
5065 into named functions.
5066 (indent-rigidly-left, indent-rigidly-right)
5067 (indent-rigidly-left-to-tab-stop)
5068 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5069 indentation direction based on bidi direction, and accumulate
5070 sequential commands in a single undo boundary.
5071 (indent-rigidly--pop-undo): New utility function.
5073 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5075 * faces.el (read-face-name): Require crm.el when using crm-separator.
5077 2013-12-20 Daniel Colascione <dancol@dancol.org>
5079 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5080 so that we don't reflow comments into the shebang line.
5082 2013-12-20 Juri Linkov <juri@jurta.org>
5084 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5085 a position when `dired-directory' is non-nil. Check integer
5086 positions with `integerp'.
5087 (toggle-save-place, save-places-to-alist): Add check for
5089 (save-place-find-file-hook): Check integer positions with
5091 (save-place-dired-hook): Use `dired-goto-file' when
5092 `dired-filename' is found in the assoc list. Check integer
5093 positions with `integerp'.
5094 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5096 * dired.el (dired-initial-position-hook): Rename back from
5097 `dired-initial-point-hook'.
5098 (dired-initial-position): Rename `dired-initial-point-hook' to
5099 `dired-initial-position-hook'.
5100 (dired-file-name-at-point): Doc fix. (Bug#15329)
5102 2013-12-20 Juri Linkov <juri@jurta.org>
5104 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5105 (read-regexp-suggestions): New function.
5106 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5107 Use `read-regexp-suggestions'. Add non-empty default to history
5109 (occur-read-regexp-defaults-function): Remove function.
5110 (occur-read-primary-args): Use `regexp-history-last' instead of
5111 `occur-read-regexp-defaults-function'.
5113 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5114 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5115 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5116 `hi-lock-read-regexp-defaults-function'. Doc fix.
5117 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5118 with `find-tag-default-as-symbol-regexp'. Doc fix.
5119 (hi-lock-read-regexp-defaults): Remove function.
5120 (hi-lock-regexp-okay): Add check for null.
5122 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5123 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5125 * subr.el (find-tag-default-as-symbol-regexp): New function.
5126 (find-tag-default-as-regexp): Move symbol regexp formatting to
5127 `find-tag-default-as-symbol-regexp'.
5129 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5131 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5134 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5136 * calendar/todo-mode.el: New implementation of item insertion
5137 commands and key bindings.
5138 (todo-key-prompt): New face.
5139 (todo-insert-item): New command.
5140 (todo-insert-item--parameters): New defconst, replacing defvar
5141 todo-insertion-commands-args-genlist.
5142 (todo-insert-item--param-key-alist): New defconst, replacing
5143 defvar todo-insertion-commands-arg-key-list.
5144 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5145 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5146 (todo-insert-item--next-param): New functions.
5147 (todo-insert-item--args, todo-insert-item--argleft)
5148 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5150 (todo-key-bindings-t): Change binding of "i" from
5151 todo-insertion-map to todo-insert-item.
5152 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5153 (todo-insertion-command-name, todo-insertion-commands-names)
5154 (todo-define-insertion-command, todo-insertion-commands)
5155 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5157 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5159 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5160 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5162 (todo-move-category): Allow choosing a non-existing todo file to
5163 move the category to, and create that file.
5164 (todo-default-priority): New user option.
5165 (todo-set-item-priority): Use it.
5166 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5167 (desktop-restore-file-buffer): Declare.
5168 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5169 (todo-modes-set-2): Locally set desktop-save-buffer to
5170 todo-desktop-save-buffer.
5171 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5172 (auto-mode-alist): Add autoload cookie.
5174 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5176 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5177 helpers.el was a poor choice of name.
5178 (string-remove-prefix): New function.
5179 (string-remove-suffix): New function.
5181 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5183 Fix assignment for new window total sizes.
5184 * window.el (window--pixel-to-size): Remove function.
5185 (window--pixel-to-total-1, window--pixel-to-total):
5186 Fix calculation of new total sizes.
5188 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5190 * comint.el (comint-output-filter): Fix rear-nonsticky property
5191 placement (Bug#16010).
5193 2013-12-20 Chong Yidong <cyd@gnu.org>
5195 * faces.el (read-color): Minor fix for completion function.
5197 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5199 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5200 New option. (Bug#16182)
5201 (ruby-smie--indent-to-stmt-p): Use it.
5202 (ruby-smie-rules): Revert the logic in the handling of `when'.
5203 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5204 (ruby-deep-arglist, ruby-deep-indent-paren)
5205 (ruby-deep-indent-paren-style): Update docstrings to note that the
5206 vars don't have any effect with SMIE.
5208 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5210 * calc/calc.el (calc-enter, calc-pop): Use the variable
5211 `calc-context-sensitive-enter'.
5213 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5215 * net/shr.el (shr-insert): Protect against infloops in degenerate
5218 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5220 * progmodes/octave.el (octave): Add link to manual and octave
5222 (octave-mode-menu): Link to octave-mode manual.
5224 2013-12-20 Leo Liu <sdl.web@gmail.com>
5226 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5227 insertion using skeleton-end-newline. (Bug#16138)
5229 2013-12-20 Juri Linkov <juri@jurta.org>
5231 * replace.el (occur-engine): Use `add-face-text-property'
5232 to add the face property to matches and titles. (Bug#14645)
5234 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5235 the palette of other hi-lock colors.
5236 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5238 2013-12-19 Juri Linkov <juri@jurta.org>
5240 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5241 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5242 (minibuffer-history-symbol): Move variable declaration closer to
5245 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5248 2013-12-19 Juri Linkov <juri@jurta.org>
5250 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5252 (log-edit-hook): Add it to :options. (Bug#16170)
5254 2013-12-19 Juri Linkov <juri@jurta.org>
5256 * simple.el (eval-expression-print-format): Don't check for
5257 command names and the last command. Always display additional
5258 formats of the integer result in the echo area, and insert them
5259 to the current buffer only with a zero prefix arg.
5260 Display character when char-displayable-p is non-nil.
5261 (eval-expression): With a zero prefix arg, set `print-length' and
5262 `print-level' to nil, and insert the integer values from
5263 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5265 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5266 `eval-last-sexp-arg-internal'. Doc fix.
5267 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5268 `eval-last-sexp-print-value'. Doc fix.
5269 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5270 Set `print-length' and `print-level' to nil when arg is zero.
5271 (eval-last-sexp): Doc fix.
5272 (eval-defun-2): Print the integer values from
5273 `eval-expression-print-format' at the end.
5275 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5276 values from `eval-expression-print-format' at the end.
5278 * ielm.el (ielm-eval-input): Print the integer
5279 values from `eval-expression-print-format' at the end.
5281 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5283 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5284 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5286 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5288 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5289 (hl-line-highlight, global-hl-line-highlight): Use it.
5290 (hl-line-overlay): Use defvar-local.
5292 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5294 * term/ns-win.el: Require dnd.
5295 (global-map): Remove drag items.
5296 (ns-insert-text, ns-set-foreground-at-mouse)
5297 (ns-set-background-at-mouse):
5298 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5299 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5302 2013-12-19 Glenn Morris <rgm@gnu.org>
5304 * emacs-lisp/ert.el (ert-select-tests):
5305 Fix string/symbol mixup. (Bug#16121)
5307 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5309 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5310 keywords to their parent.
5312 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5314 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5315 first arg to be a string (fixed dead code), or an operator symbol.
5316 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5318 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5319 did nothing. Don't respond to `(:after ".")', it will be called
5320 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5321 change anything. Only return indentation for binary operators
5322 when they are hanging. De-dent opening paren when its parent is
5323 `.', otherwise it looks bad when the dot is not at bol or eol
5326 2013-12-19 Juri Linkov <juri@jurta.org>
5328 * replace.el (query-replace-read-args): Split a non-negative arg
5329 and a negative arg into separate elements.
5330 (query-replace, query-replace-regexp, replace-string)
5331 (replace-regexp): Add arg `backward'. Doc fix.
5332 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5333 move point to the beginning of the match.
5334 (replace-search, replace-highlight): Use new arg `backward'
5335 to set the value of `isearch-forward'.
5336 (perform-replace): Add arg `backward' and use it to perform
5337 replacement backward. (Bug#14979)
5339 * isearch.el (isearch-query-replace): Use a negative prefix arg
5340 to call `perform-replace' with a non-nil arg `backward'.
5342 2013-12-18 Juri Linkov <juri@jurta.org>
5344 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5345 to the default list. Move `log-edit-show-files' to the end.
5346 Add more available functions to options.
5347 (log-edit): Move default specific settings to
5348 `log-edit-insert-message-template'. Don't move point.
5349 (log-edit-insert-message-template): New function.
5350 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5353 2013-12-18 Juri Linkov <juri@jurta.org>
5355 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5356 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5358 2013-12-18 Leo Liu <sdl.web@gmail.com>
5360 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5363 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5365 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5366 formats for displaying file sizes when the -s switch is given.
5367 Instead, compute a separate format for displaying the size in
5368 blocks, which is displayed in addition to the "regular" size.
5369 When -h is given in addition to -s, produce size in blocks in
5370 human-readable form as well. (Bug#16179)
5372 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5374 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5375 Reference tables with ~\ref{...} instead of only \ref{...}.
5377 2013-12-18 Chong Yidong <cyd@gnu.org>
5379 * cus-edit.el (custom-magic-alist): Fix "themed" description
5382 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5383 is non-nil, do not create a new entry in the symbol's theme-value
5384 or theme-face property; update theme-settings only (Bug#14664).
5385 (custom-available-themes): Doc fix.
5387 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5390 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5392 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5394 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5397 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5399 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5401 2013-12-18 Glenn Morris <rgm@gnu.org>
5403 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5404 * cus-start.el (load-prefer-newer): New option.
5406 2013-12-18 Le Wang <l26wang@gmail.com>
5408 * comint.el (comint-previous-matching-input-from-input):
5409 Retain point (Bug#13404).
5411 2013-12-18 Chong Yidong <cyd@gnu.org>
5413 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5415 2013-12-18 Glenn Morris <rgm@gnu.org>
5417 * mail/emacsbug.el (report-emacs-bug):
5418 Only mention enable-multibyte-characters if non-standard.
5420 2013-12-17 Juri Linkov <juri@jurta.org>
5422 * arc-mode.el (archive-extract-by-file): Check if directory exists
5423 before deletion to not show irrelevant errors if it doesn't exist.
5425 2013-12-17 Juri Linkov <juri@jurta.org>
5427 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5430 * net/eww.el (browse-web): Add alias to `eww'.
5431 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5432 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5434 * net/browse-url.el (browse-url-browser-function): Move `eww'
5435 closer to similar functions.
5437 * startup.el (fancy-startup-screen, fancy-about-screen):
5438 Set browse-url-browser-function to eww-browse-url locally.
5441 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * window.el (window--pixel-to-total): Remove unused `mini' var.
5444 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5445 (split-window): Remove unused `new' var.
5446 (window--display-buffer): Remove unused `frame' and `delta' vars.
5447 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5450 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5452 * dired.el (dired-mark-pop-up):
5453 * register.el (register-preview): Don't bind
5454 split-height-threshold here since it's now done in
5455 display-buffer-below-selected.
5457 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5459 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5460 xterm-rgb-convert-to-16bit.
5461 (rxvt-register-default-colors): Standardize with
5462 xterm-register-default-colors (Bug#14078).
5464 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5466 * simple.el (kill-region): Pass mark first, then point, so that
5467 kill-append works right (Bug#12819).
5468 (copy-region-as-kill, kill-ring-save): Likewise.
5470 2013-12-17 Leo Liu <sdl.web@gmail.com>
5472 * net/rcirc.el (rcirc-add-face):
5473 * eshell/em-prompt.el (eshell-emit-prompt):
5474 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5477 2013-12-17 Chong Yidong <cyd@gnu.org>
5479 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5480 Suggested by Xue Fuqiao.
5482 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5484 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5486 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5488 * net/shr.el (shr-insert-document): Remove unused var
5489 `shr-preliminary-table-render'.
5490 (shr-rescale-image): Remove unused arg `force'.
5491 (shr-put-image): Update calls accordingly.
5492 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5494 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5496 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5497 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5498 :close-all, to see which indentation method to use (Bug#16116).
5499 (smie-rules-function): Document the method :close-all.
5501 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5503 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5505 * net/eww.el (eww-display-html): If we can't find the anchor we're
5506 looking for, then go to point-min.
5508 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5510 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5511 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5512 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5513 Expand dir too, in case it's relative.
5515 2013-12-16 Juri Linkov <juri@jurta.org>
5517 * desktop.el (desktop-auto-save-timeout): Change default to
5518 `auto-save-timeout'. Doc fix.
5519 (desktop-save): Skip the timestamp in desktop-saved-frameset
5520 when checking for auto-save changes.
5521 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5522 `desktop-auto-save' is called repeatedly by the idle timer.
5523 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5524 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5527 2013-12-16 Juri Linkov <juri@jurta.org>
5529 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5531 (isearch-pre-command-hook): Check `this-command' for symbolp.
5533 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5535 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5537 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5539 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5540 (cfengine3--current-function): Bring in the current-function
5541 functionality from `cfengine3--current-word'.
5542 (cfengine3-completion-function): Bring in the
5543 bounds-of-current-word functionality from
5544 `cfengine3--current-word'.
5546 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5548 * window.el (display-buffer-below-selected):
5549 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5551 2013-12-16 Leo Liu <sdl.web@gmail.com>
5553 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5554 Remove NOMSG arg and all uses changed.
5556 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5558 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5559 (cua--deactivate-rectangle): Don't deactivate the mark.
5560 (cua-set-rectangle-mark): Don't set mark-active since
5561 cua--activate-rectangle already does it for us.
5562 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5563 non-rectangular region.
5565 * emulation/cua-base.el (cua-repeat-replace-region):
5566 Use with-current-buffer.
5568 * net/gnutls.el: Use cl-lib.
5569 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5571 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5573 * emacs-lisp/package.el (package-built-in-p): Support both
5574 built-in and the package.el converted package descriptions.
5575 (package-show-package-list): Allow keywords.
5576 (package-keyword-button-action): Use it instead of
5577 `finder-list-matches'.
5578 (package-menu-filter-interactive): Interactive filtering (by
5580 (package-menu--generate): Support keywords and change keymappings
5581 and headers when they are given.
5582 (package--has-keyword-p): Helper function.
5583 (package-menu--refresh): Use it.
5584 (package--mapc): Helper function.
5585 (package-all-keywords): Use it.
5586 (package-menu-mode-map): Set up menu items and keybindings to
5587 provide a filtering UI.
5589 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5591 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5592 the behavior when a certificate fails validation. Defaults to
5593 old behavior: never abort, just warn.
5594 (gnutls-negotiate): Use it.
5596 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5598 * window.el (display-buffer-below-selected): Never split window
5599 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5601 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5603 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5604 (package-buffer-info): Use it (bug#15108).
5606 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5608 * icomplete.el (icomplete-completions): Make sure the prefix is already
5609 displayed elsewhere before hiding it (bug#16219).
5611 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5613 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5614 open-paren tokens when preceded by a open-paren, too.
5615 (ruby-smie-rules): Handle virtual indentation after open-paren
5616 tokens specially. If there is code between it and eol, return the
5617 column where is starts (Bug#16118).
5619 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5621 * progmodes/cfengine.el: Fix `add-hook' doc.
5622 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5623 (cfengine3--current-word): Fix parameters.
5624 (cfengine3-make-syntax-cache): Simplify further.
5625 (cfengine3-completion-function, cfengine3--current-function):
5626 Use `assq' for symbols.
5627 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5629 2013-12-13 Glenn Morris <rgm@gnu.org>
5631 * loadup.el (load-path): Warn if site-load or site-init changes it.
5632 No more need to reset it when bootstrapping.
5634 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5636 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5637 locations for cf-promises.
5638 (cfengine-mode-syntax-functions-regex): New caching variable.
5639 (cfengine3-fallback-syntax): Fallback syntax for cases where
5640 cf-promises doesn't run.
5641 (cfengine3--current-word): Reimplement using
5642 `cfengine-mode-syntax-functions-regex'.
5643 (cfengine3-completion-function, cfengine3--current-function):
5644 Use `cfengine3-make-syntax-cache' directly.
5645 (cfengine3-clear-syntax-cache): New function.
5646 (cfengine3-make-syntax-cache): Simplify and create
5647 `cfengine-mode-syntax-functions-regex' on demand.
5648 (cfengine3-format-function-docstring): Don't call
5649 `cfengine3-make-syntax-cache' explicitly.
5651 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5653 Fix windmove-find-other-window broken after pixelwise resizing
5655 * windmove.el (windmove-other-window-loc): Revert change from
5657 (windmove-find-other-window): Call window-in-direction.
5658 * window.el (window-in-direction): New arguments SIGN, WRAP and
5659 MINI to emulate original windmove-find-other-window behavior.
5661 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5663 * simple.el (blink-matching--overlay): New variable.
5664 (blink-matching-open): Instead of moving point, highlight the
5665 matching paren with an overlay
5666 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5668 * faces.el (paren-showing-faces, show-paren-match)
5669 (show-paren-mismatch): Move from paren.el.
5671 2013-12-13 Leo Liu <sdl.web@gmail.com>
5673 * indent.el (indent-region): Disable progress reporter in
5674 minibuffer. (Bug#16108)
5676 * bindings.el (visual-order-cursor-movement): Fix version.
5678 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5680 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5681 Also match after beginning of line.
5682 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5683 files. Thanks to Russell Sim. (Bug#15378)
5685 2013-12-13 Juri Linkov <juri@jurta.org>
5687 * simple.el <Keypad support>: Remove key bindings duplicated
5688 with bindings.el. (Bug#14397)
5690 2013-12-13 Juri Linkov <juri@jurta.org>
5692 * comint.el (comint-mode-map): Replace `delete-char' with
5693 `delete-forward-char'. (Bug#16109)
5695 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5697 * progmodes/python.el (python-indent-calculate-indentation):
5698 Fix de-denters cornercase. (Bug#15731)
5700 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5702 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5703 (advice--make): Pay attention to `depth'.
5704 (advice--make-1): Don't autoload commands eagerly.
5705 * emacs-lisp/elp.el (elp-instrument-function):
5706 * emacs-lisp/trace.el (trace-function-internal):
5707 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5709 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5711 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5713 * term/w32-win.el (w32-handle-dropped-file):
5714 * startup.el (normal-top-level):
5715 * net/browse-url.el (browse-url-file-url):
5716 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5717 decode file names using 'utf-8' rather than
5718 file-name-coding-system.
5720 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5722 * progmodes/python.el (python-indent-context)
5723 (python-indent-calculate-indentation): Fix auto-identation
5724 behavior for comment blocks. (Bug#15916)
5726 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5728 * progmodes/python.el (python-indent-calculate-indentation):
5729 When determining indentation, don't treat "return", "pass", etc., as
5730 operators when they are just string constituents. (Bug#15812)
5732 2013-12-12 Juri Linkov <juri@jurta.org>
5734 * uniquify.el (uniquify-buffer-name-style): Change default to
5735 `post-forward-angle-brackets'.
5737 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5738 `uniquify'. Change default to `post-forward-angle-brackets'.
5740 2013-12-11 Glenn Morris <rgm@gnu.org>
5742 * emacs-lisp/package.el (finder-list-matches):
5743 Autoload rather than falsely declaring.
5745 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5747 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5748 (eww-mode-map): Use them.
5750 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5752 * window.el (display-buffer-in-side-window): Fix doc-string
5755 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5757 * vc/vc-git.el: Silence byte-compiler warnings.
5758 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5759 (log-edit-set-header): Declare.
5761 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5763 * Makefile.in (custom-deps, finder-data): Run output file names
5764 through unmsys--file-name. (Bug#16099)
5766 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5768 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5769 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5771 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5772 instead of deleting the selection "by hand" (bug#16098).
5773 Rely on insert-for-yank to yank rectangles.
5774 (cua-highlight-region-shift-only): Mark obsolete.
5775 (cua-mode): Don't enable/disable transient-mark-mode,
5776 shift-select-mode (cua-mode works both with and without them), and
5777 pc-selection-mode (obsolete).
5778 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5779 (cua--deactivate-rectangle): Deactivate it.
5781 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5782 (delete-selection-helper): Make sure yank starts at the top of the
5784 (minibuffer-keyboard-quit): Use region-active-p.
5786 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5788 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5789 to `delete' (bug#16109).
5791 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5793 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5794 info manual and show keybindings and set `:group' keyword.
5796 2013-12-11 Juri Linkov <juri@jurta.org>
5798 * delsel.el (delete-active-region): Let-bind `this-command'
5799 to prevent `kill-region' from changing its original value.
5800 (delete-selection-helper): Handle `overwrite-mode' for the type
5801 `kill' exactly the same way as for the type `t'.
5802 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5803 Support more commands. (Bug#13312)
5805 2013-12-11 Juri Linkov <juri@jurta.org>
5807 * bindings.el: Map kp keys to non-kp keys systematically
5808 with basic modifiers control, meta and shift. (Bug#14397)
5810 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5812 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5813 "Close browser" menu items. Fix wrong function of "List
5816 2013-12-11 Juri Linkov <juri@jurta.org>
5818 * misearch.el (multi-isearch-buffers): Set the value of
5819 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5820 arg of isearch-forward to t.
5821 (multi-isearch-buffers-regexp): Set the value of
5822 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5823 arg of isearch-forward-regexp to t.
5824 (multi-isearch-files): Set the value of
5825 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5826 arg of isearch-forward to t.
5827 (multi-isearch-files-regexp): Set the value of
5828 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5829 arg of isearch-forward-regexp to t. (Bug#16035)
5831 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5832 arg of isearch-forward to t.
5833 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5834 arg of isearch-forward-regexp to t.
5835 (dired-isearch-filter-filenames): Remove unnecessary check for
5836 `dired-isearch-filenames'.
5838 * comint.el (comint-history-isearch-backward):
5839 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5840 (comint-history-isearch-backward-regexp):
5841 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5843 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5845 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5846 unmsys--file-name. (Bug#16099)
5848 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5850 * emacs-lisp/package.el (package-keyword-button-action):
5851 Remove finder.el require dependency.
5853 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5855 * emacs-lisp/package.el: Require finder.el.
5856 (describe-package-1): Add keyword buttons.
5857 (package-make-button): New convenience function.
5858 (package-keyword-button-action): Keyword button action using
5859 `finder-list-matches'.
5861 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5863 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5866 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5868 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5871 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5873 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5874 after the end of a percent literal.
5876 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5878 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5879 Handle caret-delimited strings (Bug#16079).
5881 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5883 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5884 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5885 `ruby-parse-partial' (Bug#16078).
5887 2013-12-09 Leo Liu <sdl.web@gmail.com>
5889 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5891 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5893 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5894 (js-switch-indent-offset): New option.
5895 (js--proper-indentation): Use it. And handle the case when
5896 "default" is actually a key in an object literal.
5897 (js--same-line): New function.
5898 (js--multi-line-declaration-indentation): Use it.
5899 (js--indent-in-array-comp, js--array-comp-indentation):
5901 (js--proper-indentation): Use them, to handle array comprehension
5904 2013-12-08 Leo Liu <sdl.web@gmail.com>
5906 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5907 (flymake-make-overlay): Remove arg MOUSE-FACE.
5908 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5910 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5912 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5914 (redisplay-highlight-region-function): Use it.
5916 * emulation/cua-base.el (cua--explicit-region-start)
5917 (cua--last-region-shifted): Remove.
5918 (cua--deactivate): Use deactivate-mark.
5919 (cua--pre-command-handler-1): Don't handle shift-selection.
5920 (cua--post-command-handler-1): Don't change transient-mark-mode.
5921 (cua--select-keymaps): Use region-active-p rather than
5922 cua--explicit-region-start or cua--last-region-shifted.
5923 (cua-mode): Enable shift-select-mode.
5925 2013-12-08 Leo Liu <sdl.web@gmail.com>
5927 * progmodes/flymake.el (flymake-popup-current-error-menu):
5928 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5929 (flymake-posn-at-point-as-event, flymake-popup-menu)
5930 (flymake-make-emacs-menu): Remove. (Bug#16077)
5932 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5934 * rect.el (rectangle-mark-mode): Activate mark even if
5935 transient-mark-mode is off (bug#16066).
5936 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5937 is > mark and at bolp.
5939 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5940 (region-extract-function): Use it.
5941 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5942 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5944 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5945 kill-ring-save, kill-region, delete-char, delete-forward-char.
5946 Ignore self-insert-iso.
5948 * emulation/cua-gmrk.el (cua--init-global-mark):
5949 Ignore `self-insert-iso'.
5951 * emulation/cua-base.el (cua--prefix-copy-handler)
5952 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5953 checking cua--rectangle.
5954 (cua-delete-region): Use region-extract-function.
5955 (cua-replace-region): Delete function.
5956 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5957 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5958 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5959 (cua--init-keymaps): Don't remap delete-selection commands.
5960 (cua-mode): Use delete-selection-mode instead of rolling our own
5963 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5964 Obey region-extract-function.
5966 Make registers and delete-selection-mode work on rectangles.
5967 * register.el (describe-register-1): Don't modify the register's value.
5968 (copy-to-register): Obey region-extract-function.
5969 * delsel.el (delete-active-region): Obey region-extract-function.
5971 2013-12-08 Leo Liu <sdl.web@gmail.com>
5973 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5974 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5975 (flymake-compilation-prevents-syntax-check)
5976 (flymake-start-syntax-check-on-newline)
5977 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5978 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5979 (flymake-xml-program, flymake-master-file-dirs)
5980 (flymake-master-file-count-limit)
5981 (flymake-allowed-file-name-masks): Relocate.
5982 (flymake-makehash, flymake-float-time)
5983 (flymake-replace-regexp-in-string, flymake-split-string)
5984 (flymake-get-temp-dir): Remove.
5985 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5986 (flymake-current-row, flymake-selected-frame)
5987 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5988 related functions. (Bug#16077)
5990 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5992 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5994 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5996 * help-fns.el (describe-function-1): Use new advice-* functions
5997 rather than old ad-* functions. Fix function type description and
5998 source links for advised functions and subrs.
6000 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6004 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6006 * progmodes/compile.el (compilation-start):
6007 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6009 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6010 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6012 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6014 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6015 Touch up the last change.
6017 2013-12-06 Leo Liu <sdl.web@gmail.com>
6019 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6020 (inferior-octave-startup): Always use "octave> " for prompt.
6021 (octave-goto-function-definition)
6022 (octave-sync-function-file-names)
6023 (octave-find-definition-default-filename): Remove redundant backquotes.
6025 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6027 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6029 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6030 where appropriate already.
6031 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6032 end of method names (Bug#15874).
6034 2013-12-06 Juri Linkov <juri@jurta.org>
6036 * isearch.el (isearch--saved-overriding-local-map):
6037 New internal variable.
6038 (isearch-mode): Set it to the initial value of
6039 `overriding-terminal-local-map'.
6040 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6041 with `isearch--saved-overriding-local-map'. (Bug#16035)
6043 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6045 * progmodes/octave.el (inferior-octave-completion-table):
6046 Turn back into function, use `completion-table-with-cache'
6047 (Bug#11906). Update all references.
6049 * minibuffer.el (completion-table-with-cache): New function.
6051 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6053 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6055 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6057 * net/eww.el (eww-current-source): New variable to store page
6059 (eww-display-html, eww-mode, eww-save-history)
6060 (eww-restore-history): Use it.
6061 (eww-view-source): New command to view page source.
6062 Opportunistically uses `html-mode' to highlight the buffer.
6063 (eww-mode-map): Install it.
6065 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6067 * net/dbus.el (dbus-unregister-service)
6068 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6070 (dbus-unregister-service): Skip :serial entries in
6071 `dbus-registered-objects-table'.
6072 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6074 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6076 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6077 around keywords with extra `split-string' argument.
6079 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6081 * windmove.el (windmove-other-window-loc): Handle navigation
6082 between windows (excluding the minibuffer window - Bug#16017).
6084 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6086 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6087 in D-Bus type syntax.
6088 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6089 preserve unibyte strings. (Bug#16048)
6091 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6093 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6094 Call force-mode-line-update is the proper buffer (bug#16042).
6096 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6098 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6099 `log-edit-remember-comment', make argument optional. Adjust all
6101 (log-edit-mode): Add `log-edit-remember-comment' to
6102 `kill-buffer-hook' locally.
6103 (log-edit-kill-buffer): Don't remember comment explicitly since
6104 the buffer is killed anyway.
6106 2013-12-04 Juri Linkov <juri@jurta.org>
6108 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6109 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6111 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6113 * notifications.el (notifications-close-notification): Call the
6114 D-Bus method with ID being a `:uint32'. (Bug#16030)
6116 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6118 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6120 2013-12-03 Juri Linkov <juri@jurta.org>
6122 * progmodes/compile.el (compilation-start): Rename window alist
6123 entry `no-display-ok' to `allow-no-window'.
6125 * simple.el (shell-command): Add window alist entry
6126 `allow-no-window' to `display-buffer'.
6127 (async-shell-command): Doc fix.
6129 * window.el (display-buffer-no-window): New action function.
6130 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6132 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6134 * vc/log-edit.el (log-edit-set-header): Extract from
6135 `log-edit-toggle-header'.
6136 (log-edit-extract-headers): Separate the summary, when extracted
6137 from header, from the rest of the message with an empty line.
6139 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6140 line, if present, to the Summary header.
6142 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6144 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6145 in current-buffer (bug#16029).
6147 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6149 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6150 (debugger-mode-map): Bind it.
6151 (debugger--backtrace-base): New function.
6152 (debugger-eval-expression): Use it.
6153 (debugger-frame-number): Skip local vars when present.
6154 (debugger--locals-visible-p, debugger--insert-locals)
6155 (debugger--show-locals, debugger--hide-locals): New functions.
6157 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6159 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6161 (tramp-get-remote-locale): New defun.
6162 (tramp-open-connection-setup-interactive-shell): Use it.
6164 2013-12-02 Leo Liu <sdl.web@gmail.com>
6166 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6168 * progmodes/sh-script.el (sh-shell-process):
6169 * progmodes/octave.el (inferior-octave-process-live-p):
6170 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6171 (gdb-inferior-io-sentinel):
6172 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6174 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6176 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6177 `save-selected-window' to `log-edit-hide-buf'. This makes
6178 `log-edit-show-files' idempotent.
6179 (log-edit-show-files): Mark the new window as dedicated.
6181 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6183 * vc/log-edit.el (log-edit-mode-map): Add binding for
6184 `log-edit-kill-biffer'.
6185 (log-edit-hide-buf): Add a FIXME comment.
6186 (log-edit-add-new-comment): New function, extracted from
6188 (log-edit-done, log-edit-add-to-changelog): Use it.
6189 (log-edit-kill-buffer): New command.
6191 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6193 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6194 instead of killing the buffer.
6196 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6198 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6200 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6202 * net/eww.el (eww-form-checkbox-selected-symbol)
6203 (eww-form-checkbox-symbol): New customizable variable.
6204 (eww-form-checkbox, eww-toggle-checkbox):
6205 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6207 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6208 (shr--get-media-pref, shr--extract-best-source): New function.
6209 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6210 no :src tag was specified.
6212 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6213 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6214 Use \\` to match beginning of string instead of ^.
6215 (eww-browse-with-external-browser): Provide optional URL parameter.
6216 (eww-render): Set `eww-current-title' back to "".
6218 * net/shr.el (shr-tag-video): Display content for video if no
6219 poster is available.
6220 (shr-tag-audio): Add support for <audio> tag.
6222 * net/eww.el (eww-text-input-types): New const.
6223 (eww-process-text-input): Treat input types in
6224 `eww-text-input-types' as text.
6226 * net/shr.el (shr-tag-table): Fix comment typo.
6228 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6230 * net/eww.el (eww-follow-link): New command to avoid reloading
6231 pages when we follow #target links (bug#15243).
6232 (eww-quit): Special mode buffers shouldn't query before exiting.
6234 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6236 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6239 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6241 * net/eww.el (eww-restore-history): Update the window title after
6242 moving in the history.
6243 (eww-current-dom): New variable used to save the current DOM.
6245 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6247 * vc/log-edit.el (log-edit-mode-map): Add binding for
6248 `log-edit-beginning-of-line'.
6249 (log-edit-setup-add-author): New user option.
6250 (log-edit-beginning-of-line): New command.
6251 (log-edit): Move major mode call above the contents setup so that
6252 the local variable values are already applied.
6253 (log-edit): Only insert "Author: " when
6254 `log-edit-setup-add-author' is non-nil.
6255 (log-edit): When SETUP is non-nil, position point after ": "
6256 instead of point-min.
6258 2013-12-01 Glenn Morris <rgm@gnu.org>
6260 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6262 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6264 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6265 redisplay to make sure the initial frame gets a chance to become
6266 visible. (Bug#16014)
6268 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6270 Support resizing frames and windows pixelwise.
6271 * cus-start.el (frame-resize-pixelwise)
6272 (window-resize-pixelwise): New entries.
6273 * emacs-lisp/debug.el (debug): Use window-total-height instead
6274 of window-total-size.
6275 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6276 * help.el (describe-bindings-internal): Use help-buffer as
6277 argument for with-help-window.
6278 (temp-buffer-max-width): New option.
6279 (resize-temp-buffer-window, help-window-setup)
6280 (with-help-window): Rewrite.
6281 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6283 * window.el (frame-char-size, window-min-pixel-height)
6284 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6285 (window-min-pixel-width, window-safe-min-pixel-size)
6286 (window-combination-p, window-safe-min-size)
6287 (window-resizable-p, window--size-to-pixel)
6288 (window--pixel-to-size, window--resize-apply-p): New functions.
6289 (window-safe-min-height): Fix doc-string.
6290 (window-size, window-min-size, window--min-size-1)
6291 (window-sizable, window-sizable-p, window--min-delta-1)
6292 (window-min-delta, window--max-delta-1, window-max-delta)
6293 (window--resizable, window--resizable-p, window-resizable)
6294 (window-full-height-p, window-full-width-p, window-at-side-p)
6295 (window--in-direction-2, window-in-direction)
6296 (window--resize-reset-1, window--resize-mini-window)
6297 (window-resize, window-resize-no-error)
6298 (window--resize-child-windows-normal)
6299 (window--resize-child-windows, window--resize-siblings)
6300 (window--resize-this-window, window--resize-root-window)
6301 (window--resize-root-window-vertically)
6302 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6303 (maximize-window, minimize-window, delete-window)
6304 (quit-restore-window, window-split-min-size, split-window)
6305 (balance-windows-2, balance-windows)
6306 (balance-windows-area-adjust, balance-windows-area)
6307 (window--state-get-1, window-state-get, window--state-put-1)
6308 (window--state-put-2, window-state-put)
6309 (display-buffer-record-window, window--display-buffer):
6310 Make functions handle pixelwise sizing of windows.
6311 (display-buffer--action-function-custom-type)
6312 (display-buffer-fallback-action):
6313 Add display-buffer-in-previous-window.
6314 (display-buffer-use-some-window): Resize window to height it had
6316 (fit-window-to-buffer-horizontally): New option.
6317 (fit-frame-to-buffer): Describe new values.
6318 (fit-frame-to-buffer-bottom-margin): Replace with
6319 fit-frame-to-buffer-margins.
6320 (window--sanitize-margin): New function.
6321 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6322 using window-text-pixel-size.
6324 2013-11-30 Glenn Morris <rgm@gnu.org>
6326 * emacs-lisp/bytecomp.el (byte-compile-form):
6327 Make the `interactive-only' warning like the `obsolete' one.
6328 * comint.el (comint-run):
6329 * files.el (insert-file-literally, insert-file):
6330 * replace.el (replace-string, replace-regexp):
6331 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6332 (goto-line, insert-buffer, next-line, previous-line):
6333 Tweak `interactive-only' spec.
6335 Stop keeping (most) generated cedet grammar files in the repository.
6336 * Makefile.in (semantic): New.
6337 (compile-main): Depend on semantic.
6339 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6342 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6344 * uniquify.el (uniquify-buffer-name-style): Change default.
6346 * loadup.el: Preload "uniquify".
6348 * time.el (display-time-update): Update all mode lines (bug#15999).
6350 * electric.el (electric-indent-mode): Enable by default.
6351 * loadup.el: Preload "electric".
6353 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6355 * emacs-lisp/helpers.el (string-empty-p): New function.
6356 (string-blank-p): New function.
6358 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6360 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6363 2013-11-29 Andreas Politz <politza@fh-trier.de>
6364 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6365 allow non-lambda lists as functions.
6366 (imenu--in-alist): Don't recurse into non-subalists.
6367 (imenu): Don't pass function itself as an argument (Bug#14029).
6369 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * progmodes/python.el (python-mode-map): Remove binding for ":".
6372 (python-indent-electric-colon): Remove command.
6373 (python-indent-post-self-insert-function): Integrate the previous code
6374 of python-indent-electric-colon. Make it conditional on
6375 electric-indent-mode.
6376 (python-mode): Add ?: to electric-indent-chars.
6377 Move python-indent-post-self-insert-function to the end of
6378 post-self-insert-hook.
6380 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * doc-view.el (doc-view-goto-page): Update mode-line.
6384 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6386 2013-11-27 Glenn Morris <rgm@gnu.org>
6388 * international/charprop.el, international/uni-bidi.el:
6389 * international/uni-category.el, international/uni-combining.el:
6390 * international/uni-comment.el, international/uni-decimal.el:
6391 * international/uni-decomposition.el, international/uni-digit.el:
6392 * international/uni-lowercase.el, international/uni-mirrored.el:
6393 * international/uni-name.el, international/uni-numeric.el:
6394 * international/uni-old-name.el, international/uni-titlecase.el:
6395 * international/uni-uppercase.el:
6396 Remove generated files from VCS repository.
6398 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6400 * filenotify.el (file-notify-add-watch): Don't special-case
6401 w32notify when computing the directory to watch.
6403 2013-11-27 Glenn Morris <rgm@gnu.org>
6405 Make bootstrap without generated uni-*.el files possible again.
6406 * loadup.el: Update command-line-args checking for unidata-gen.
6407 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6408 * composite.el, international/characters.el:
6409 Handle unicode tables being undefined.
6411 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6412 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6413 (compile-main): Depend on leim rule.
6415 * loadup.el: Move leim-list.el to leim/ subdirectory.
6416 * startup.el (normal-top-level): No more leim directory.
6417 * international/ja-dic-cnv.el (skkdic-convert):
6418 Disable version-control and autoloads in output files.
6419 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6420 Disable version-control and autoloads in output files.
6421 * leim/quail: Move here from ../leim.
6422 * leim/quail/hangul.el (hangul-input-method-activate):
6423 Add autoload cookie.
6424 (generated-autoload-load-name): Set file-local value.
6425 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6426 (generated-autoload-load-name): Set file-local value.
6428 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6430 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6431 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6432 (eww-quit): Ask confirmation before quitting eww.
6434 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6436 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6437 reading output from Diff on MS-Windows and MS-DOS.
6439 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6441 * emacs-lisp/helpers.el (string-reverse): New function.
6443 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6445 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6446 names on MS Windows, like "/[::1]:".
6448 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6451 2013-11-26 Glenn Morris <rgm@gnu.org>
6453 * progmodes/python.el (python-indent-guess-indent-offset):
6454 Avoid corner-case error. (Bug#15975)
6456 Preload leim-list.el. (Bug#4789)
6457 * loadup.el: Load leim-list.el when found.
6458 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6460 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6462 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6464 * emacs-lisp/helpers.el (string-join): New function.
6466 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6468 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6469 Mark as obsolete and replace it with a symbol property.
6470 (byte-compile-form): Use new 'interactive-only property.
6471 * comint.el, files.el, replace.el, simple.el:
6472 Apply new 'interactive-only properly.
6474 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6476 * window.el (display-buffer-at-bottom): Make sure that
6477 split-window-sensibly creates the new window on bottom
6480 2013-11-23 David Kastrup <dak@gnu.org>
6482 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6483 on the conflict markers when available.
6484 (smerge--get-marker): New function.
6485 (smerge-end-re, smerge-base-re): Add subgroup.
6487 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * frame.el (handle-focus-in, handle-focus-out): Add missing
6492 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6494 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6495 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6497 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6499 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6500 (gomoku--last-pos): New var.
6501 (gomoku--intangible-chars): New const.
6502 (gomoku--intangible): New function.
6503 (gomoku-mode): Use it. Derive from special-mode.
6504 (gomoku-move-up): Adjust line count.
6505 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6506 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6507 Simplify accordingly.
6509 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6510 Remove blink-cursor code.
6511 (blink-cursor-timer-function, blink-cursor-suspend):
6512 Don't special-case GUIs.
6513 (blink-cursor-mode): Use focus-in/out-hook.
6515 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6517 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6518 work when annotation is invisible (Bug#13886).
6520 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6522 * json.el (json-alist-p): Only return non-nil if the alist has
6523 simple keys (Bug#13518).
6525 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6527 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6528 when control-statement is the first statement in a buffer (Bug#15956).
6530 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6532 * imenu.el (imenu-generic-skip-comments-and-strings):
6533 New option (Bug#15560).
6534 (imenu--generic-function): Use it.
6536 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6538 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6541 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6543 * emacs-lisp/helpers.el: Add some string helpers.
6544 (string-trim-left): Removes leading whitespace.
6545 (string-trim-right): Removes trailing whitespace.
6546 (string-trim): Removes leading and trailing whitespace.
6548 * subr.el (string-suffix-p): New function.
6550 2013-11-23 Glenn Morris <rgm@gnu.org>
6552 * progmodes/python.el (python-shell-send-file):
6553 Add option to delete file when done. (Bug#15647)
6554 (python-shell-send-string, python-shell-send-region): Use it.
6556 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6558 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6559 to set buffer-read-only to t, never to nil. (Bug#15938)
6561 * textmodes/tex-mode.el (latex-noindent-environments):
6562 Add safe-local-variable property. (Bug#15936)
6564 2013-11-23 Glenn Morris <rgm@gnu.org>
6566 * textmodes/enriched.el (enriched-mode): Doc fix.
6567 * emacs-lisp/authors.el (authors-renamed-files-alist):
6568 Add enriched.doc -> enriched.txt.
6570 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6572 2013-11-22 Leo Liu <sdl.web@gmail.com>
6574 * progmodes/octave.el (inferior-octave-startup): Spit out error
6577 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6579 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6582 (ruby-encoding-magic-comment-style): Add :version.
6584 2013-11-22 Leo Liu <sdl.web@gmail.com>
6586 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6588 (octave-help-mode): Adapt to change to help-mode-finish to use
6589 derived-mode-p on 2013-09-17.
6590 (inferior-octave-prompt): Also match octave-gui.
6591 (octave-kill-process): Don't ask twice. (Bug#10564)
6593 2013-11-22 Leo Liu <sdl.web@gmail.com>
6595 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6596 (inferior-octave-startup, inferior-octave-check-process)
6597 (inferior-octave-track-window-width-change)
6598 (octave-completion-at-point, octave-eldoc-function): Use it.
6599 (octave-kill-process): Provide confirmation. (Bug#10564)
6601 2013-11-21 Leo Liu <sdl.web@gmail.com>
6603 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6604 Fix obsolete variable comment-use-global-state.
6606 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6608 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6609 Add `octave-source-file'.
6610 (octave-source-file): New function. (Bug#15935)
6612 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6614 * net/eww.el (eww-local-regex): New variable.
6615 (eww): Use it to detect localhost and similar.
6617 2013-11-21 Leo Liu <sdl.web@gmail.com>
6619 Add completion for command `ag'.
6620 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6621 (pcomplete/ag): New function.
6622 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6624 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6626 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6628 (make-obsolete): Remove interactive spec.
6630 2013-11-21 Glenn Morris <rgm@gnu.org>
6632 * startup.el (command-line-1): Use path-separator with -L.
6634 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6636 * emacs-lisp/package.el (describe-package-1): Add package archive
6639 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6641 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6642 Change default to "# encoding: %s" to differentiate it from the
6643 default Ruby encoding comment template.
6645 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6647 * ses.el (ses-mode): Doc fix. (Bug#14748)
6649 2013-11-20 Leo Liu <sdl.web@gmail.com>
6651 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6653 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6655 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6656 when rebase or bisect are in progress.
6658 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6660 * filenotify.el (file-notify-add-watch): Doc fix.
6662 2013-11-19 Leo Liu <sdl.web@gmail.com>
6664 * obsolete/rcompile.el: Mark obsolete.
6666 * progmodes/compile.el (compilation-start)
6667 (compilation-goto-locus, compilation-find-file):
6668 Pass no-display-ok and handle nil value from display-buffer.
6671 * window.el (display-buffer-alist, display-buffer): Document the
6672 new parameter no-display-ok. Return either a window or nil
6673 but never a non-window value.
6675 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6677 * electric.el (electric-indent-mode-map): Remove.
6678 (electric-indent-mode): Change the global-map instead (bug#15915).
6680 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6683 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * emacs-lisp/nadvice.el (remove-function): Align with
6686 add-function's behavior.
6688 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6689 (gdb--string-regexp): New constant.
6690 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6691 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6692 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6694 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6695 Adjust use accordingly.
6696 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6698 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6700 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6701 interpolation curlies (Bug#15914).
6703 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6705 * calc/calc.el (calc-context-sensitive-enter): New variable.
6706 (calc-enter): Use `calc-context-sensitive-enter'.
6708 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6710 * progmodes/cfengine.el: Version bump.
6711 (cfengine-cf-promises): New defcustom to locate cf-promises.
6712 (cfengine3-vartypes): Add new "data" type.
6713 (cfengine3--current-word): New function to get current name-like
6715 (cfengine3--current-function): New function to look up a CFEngine
6716 function's definition.
6717 (cfengine3-format-function-docstring): New function.
6718 (cfengine3-make-syntax-cache): New function.
6719 (cfengine3-documentation-function): New function: ElDoc glue.
6720 (cfengine3-completion-function): New function: completion glue.
6721 (cfengine3-mode): Set `compile-command',
6722 `eldoc-documentation-function', and add to
6723 `completion-at-point-functions'.
6725 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6727 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6728 `tramp-current-connection'.
6730 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6733 nil/self/true/false with "end of symbol".
6735 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6737 * subr.el (version-regexp-alist): Fix a typo.
6739 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6741 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6742 "en_US.utf8" and "LC_CTYPE" to "".
6743 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6744 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6746 2013-11-15 Leo Liu <sdl.web@gmail.com>
6748 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6750 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6752 * progmodes/gud.el (ctl-x-map):
6753 Remove C-x SPC binding. (Bug#12342)
6754 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6756 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6758 * subr.el (version-regexp-alist):
6759 Recognize hg, svn and darcs versions as snapshot versions.
6761 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6762 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6763 (ruby--encoding-comment-required-p): Extract from
6764 `ruby-mode-set-encoding'.
6765 (ruby-mode-set-encoding): Add the ability to always insert an
6766 utf-8 encoding comment. Fix and simplify coding comment update
6769 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6771 * net/tramp-gvfs.el (top): Run init code only when
6772 `tramp-gvfs-enabled' is not nil.
6773 (tramp-gvfs-enabled): Check also :system bus.
6775 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6777 Sync with upstream verilog-mode revision 78e66ba.
6778 * progmodes/verilog-mode.el (verilog-end-of-defun)
6779 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6780 (verilog-get-end-of-defun): Remove unused argument.
6781 (verilog-comment-depth): Remove unused local `e'.
6782 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6783 Don't pass arg to verilog-get-end-of-defun.
6785 2013-11-14 Glenn Morris <rgm@gnu.org>
6787 * obsolete/assoc.el (aget): Prefix dynamic variable.
6789 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6791 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6793 * widget.el, hfy-cmap.el: Remove bogus package version number.
6795 2013-11-13 Glenn Morris <rgm@gnu.org>
6797 * replace.el (replace-eval-replacement):
6798 Try to give more helpful error message. (Bug#15836)
6800 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6801 (archive-7z-update): Avoid custom type mismatches.
6803 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6805 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6807 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6808 address can be empty.
6810 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6811 Accept nil SWITCHES.
6812 (tramp-gvfs-handle-write-region): Implement APPEND.
6814 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6816 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6817 binary "|" operator and closing block args delimiter.
6818 Remove FIXME comment referring to Ruby 1.8-only syntax.
6819 (ruby-smie--implicit-semi-p): Not after "|" operator.
6820 (ruby-smie--closing-pipe-p): New function.
6821 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6822 (ruby-smie-rules): Indent after "|".
6824 2013-11-12 Glenn Morris <rgm@gnu.org>
6826 * ps-print.el (ps-face-attribute-list):
6827 Handle anonymous faces. (Bug#15827)
6829 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6831 * window.el (display-buffer-other-frame): Fix doc-string.
6834 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6836 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6838 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6840 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6841 (tramp-sh-handle-file-local-copy): Don't write a message when
6842 saving temporary files.
6844 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6845 both directories are remote.
6846 (tramp-smb-handle-directory-files): Do not return double entries.
6847 Do not expand full file names.
6848 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6849 (tramp-smb-handle-write-region): Implement APPEND.
6850 (tramp-smb-get-stat-capability): Fix a stupid bug.
6852 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6854 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6856 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6858 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6859 throwing error over malformed let/let* (bug#15814).
6861 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6863 * iswitchb.el (iswitchb-mode): Mark obsolete.
6865 2013-11-11 Glenn Morris <rgm@gnu.org>
6867 * international/uni-bidi.el, international/uni-category.el:
6868 * international/uni-name.el, international/uni-numeric.el:
6869 Regenerate for Unicode 6.3.0.
6871 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6873 * net/tramp.el (tramp-methods):
6874 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6875 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6877 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6879 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6880 Force highlighting text after Summary keyword in doc face for rpm.
6882 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6884 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6885 available and the word has no wildcards, append one to the grep pattern.
6886 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6887 (ispell-complete-word): Call `ispell-lookup-words' with the value
6888 independent of `ispell-look-p'.
6890 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6892 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6894 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6897 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6899 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6900 (ruby-font-lock-keywords): Use backquote.
6902 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6904 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6905 (ruby-smie--backward-token): Only consider full-string matches.
6907 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6909 * faces.el (describe-face): Add distant-foreground.
6911 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6913 * progmodes/ruby-mode.el: Improve encoding comment handling.
6914 (ruby-encoding-magic-comment-style): New option.
6915 (ruby-custom-encoding-magic-comment-template): New option.
6916 (ruby--insert-coding-comment, ruby--detect-encoding):
6917 New functions extracted from `ruby-mode-set-encoding'.
6918 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6919 to control the style of the auto-inserted encoding comment.
6921 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6923 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6924 Use `smie-backward-sexp' with token argument.
6926 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6928 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6929 Remove instrumentation code.
6931 2013-11-08 Glenn Morris <rgm@gnu.org>
6933 * progmodes/autoconf.el (autoconf-mode):
6934 Tweak comment-start-skip. (Bug#15822)
6936 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6938 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6939 at bobp (bug#15826).
6940 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6942 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6944 * man.el (Man-start-calling): New macro, extracted from
6945 Man-getpage-in-background.
6946 (Man-getpage-in-background): Use it.
6947 (Man-update-manpage): New command.
6948 (Man-mode-map): Bind it.
6950 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6952 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6953 of "and", "or", "&&" and "||".
6954 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6955 argument. Prohibit opening curly brace because it could only be a
6956 block opener in that position.
6957 (ruby-smie--forward-token, ruby-smie--backward-token):
6958 Separate "|" from "&" or "*" going after it. That can happen in block
6960 (ruby-smie--indent-to-stmt): New function, seeks the end of
6961 previous statement or beginning of buffer.
6962 (ruby-smie-rules): Use it.
6963 (ruby-smie-rules): Check if there's a ":" before a curly block
6964 opener candidate; if there is, it's a hash.
6966 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6969 (cl--block-wrapper): Fix last accidental change.
6971 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6973 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6974 Instrument, in order to hunt failure on hydra.
6976 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6978 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6979 malformed bindings form (bug#15814).
6981 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6983 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6984 "." compared to " @ ". This incidentally fixes some indentation
6986 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6987 (ruby-smie-grammar): New tokens: "and" and "or".
6988 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6989 Exclude "and" and "or". Remove "do" in order to work around token
6991 (ruby-smie-rules): Add all infix tokens. Handle the case of
6992 beginning-of-buffer.
6994 2013-11-06 Glenn Morris <rgm@gnu.org>
6996 * Makefile.in (setwins_almost, setwins_for_subdirs):
6997 Avoid accidental matches.
6999 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7001 * menu-bar.el (popup-menu): Use key-binding.
7003 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7005 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7006 menus, support also the menus produced by minor modes.
7009 2013-11-06 Leo Liu <sdl.web@gmail.com>
7011 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7012 DISTANCE to bound the search. All uses changed. (Bug#15808)
7014 2013-11-06 Glenn Morris <rgm@gnu.org>
7016 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7017 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7018 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7020 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7022 * electric.el (electric-indent-just-newline): New command.
7023 (electric-indent-mode-map): New keymap.
7024 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7025 Re-add :group which weren't redundant.
7027 * electric.el (electric-indent-local-mode): New minor mode.
7028 (electric-indent-functions-without-reindent): New var.
7029 (electric-indent-post-self-insert-function): Use it.
7030 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7032 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7034 * international/quail.el (quail-help): Be more explicit about the
7035 meaning of the labels shown on the keys. (Bug#15800)
7037 * startup.el (normal-top-level): Load the subdirs.el files before
7038 setting the locale environment. (Bug#15805)
7040 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7043 via arguments so as to get the right ones (bug#15418).
7045 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7047 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7049 Fix problems found while writing a test suite.
7051 * net/tramp-compat.el (tramp-compat-load): New defun.
7052 * net/tramp.el (tramp-handle-load): Use it.
7054 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7055 "(numberp ok-if-already-exists)" correctly.
7057 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7059 * international/characters.el (glyphless-char-display-control):
7062 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7064 * progmodes/python.el (python-mode):
7065 * progmodes/scheme.el (scheme-mode):
7066 * progmodes/prolog.el (prolog-mode):
7067 * progmodes/ruby-mode.el (ruby-mode):
7068 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7069 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7071 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * rect.el (rectangle--highlight-for-redisplay):
7074 * emacs-lisp/smie.el (smie--next-indent-change):
7075 Use buffer-chars-modified-tick.
7077 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7079 * electric.el (electric-indent-post-self-insert-function):
7080 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7082 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7084 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7086 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7088 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7091 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7093 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7095 * progmodes/python.el: Fix up last change.
7096 (python-shell--save-temp-file): New function.
7097 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7098 `string' comes from the current buffer.
7099 (python-shell-send-string-no-output): Remove `msg' arg.
7100 (python--use-fake-loc): New var.
7101 (python-shell-buffer-substring): Obey it. Try to compensate for the
7102 extra coding line added by python-shell--save-temp-file.
7103 (python-shell-send-region): Use python-shell--save-temp-file and
7104 python-shell-send-file directly. Add `nomain' argument.
7105 (python-shell-send-buffer): Use python-shell-send-region.
7106 (python-electric-pair-string-delimiter): New function.
7107 (python-mode): Use it.
7109 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7111 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7112 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7113 environment and decoding all of the default-directory's to here
7115 (command-line): Decode also argv[0].
7117 * loadup.el: Error out if default-directory is a multibyte string
7118 when we are dumping.
7120 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7122 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7124 * emacs-lisp/package.el (package-menu-mode)
7125 (package-menu--print-info, package-menu--archive-predicate):
7126 Add Archive column to package list.
7128 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7130 Fix problems found while writing a test suite.
7132 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7133 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7134 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7135 to nil when running original file name handler. Otherwise,
7136 there are problems with constructs like "$$FOO".
7138 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7141 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7143 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7145 * subr.el (version<, version<=, version=):
7146 Update docstrings with information for snapshot versions.
7148 * helpers.el: New library for misc helper functions.
7149 (hash-table-keys): New function returning a list of hash keys.
7150 (hash-table-values): New function returning a list of hash values.
7152 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7154 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7155 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7157 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7159 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7160 checking whether point is after a 1-letter word.
7162 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7164 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7165 Don't infloop when expanding region over `multiline' syntax-type that
7166 begins a line (bug#15778).
7168 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7171 Make it into a proper minor mode.
7172 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7173 (rectangle-mark-mode-map): New keymap.
7174 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7176 2013-11-04 Glenn Morris <rgm@gnu.org>
7178 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7180 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7183 (ruby-smie-rules): Use smie-rule-parent instead.
7185 * emacs-lisp/smie.el (smie-rule-parent): Always call
7186 smie-indent-virtual rather than only for hanging tokens.
7187 (smie--next-indent-change): New helper command.
7189 2013-11-03 Glenn Morris <rgm@gnu.org>
7191 * Makefile.in (abs_srcdir): Remove.
7192 (emacs): Unset EMACSLOADPATH.
7194 2013-11-02 Glenn Morris <rgm@gnu.org>
7196 * Makefile.in (EMACS): Use a relative filename.
7197 (abs_top_builddir): Remove.
7198 (custom-deps, finder-data, autoloads): Use --chdir.
7200 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7202 Use relative filenames in TAGS files.
7203 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7204 (lisptagsfiles4, TAGS): Use relative file names.
7205 (TAGS-LISP): Remove.
7206 (maintainer-clean): No more TAGS-LISP file.
7208 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7209 (lisptagsfiles4): Use absolute filenames again.
7210 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7211 Remove all *loaddefs files, not just the first. Remove esh-groups.
7212 (maintainer-clean): Delete TAGS, TAGS-LISP.
7214 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7216 * emacs-lisp/package.el (package-version-join):
7217 Recognize snapshot versions.
7219 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7221 * subr.el (version-regexp-alist): Add support for snapshot versions.
7223 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7225 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7226 New function, replacement for `smie-rule-parent' for when we want to
7227 skip over our direct parent if it's an assignment token..
7228 (ruby-smie-rules): Use it.
7230 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7232 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7233 unconditionally. Remove now unnecessary forward declarations.
7234 Remove XEmacs-specific setup.
7235 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7236 (ruby-font-lock-syntactic-keywords)
7237 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7238 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7239 (ruby-here-doc-end-syntax): Remove.
7240 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7241 defined as function.
7243 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7245 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7247 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7249 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7250 table and abbrev table, `define-derived-mode' does that for us
7253 2013-11-01 Glenn Morris <rgm@gnu.org>
7255 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7256 files is atomic for some time, so no parallel compilation issues).
7258 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7260 * faces.el (face-x-resources): Add :distant-foreground.
7261 (region): Use :distant-foreground for gtk and ns.
7263 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7265 Allow multiple bibliographies when BibLaTeX is used rather than
7267 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7268 (reftex-locate-bibliography-files): Us it.
7270 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7272 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7273 allow comments in pbm files.
7275 * term/w32-win.el (dynamic-library-alist): Support newer versions
7276 of libjpeg starting with v7: look only for the DLL from the
7277 version against which Emacs was built.
7278 Support versions of libpng beyond 1.4.x.
7279 Support libtiff v4.x.
7281 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7283 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7284 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7286 (ruby-deep-arglist): Add property :type.
7288 2013-10-31 Glenn Morris <rgm@gnu.org>
7290 * Makefile.in (custom-deps, finder-data): No need to setq the target
7291 variables, we are in the right directory and the defaults work fine.
7293 2013-10-30 Glenn Morris <rgm@gnu.org>
7295 * Makefile.in (autoloads): Do not use abs_lisp.
7297 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7298 `newline' does not respect `standard-output', so use `princ'.
7300 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7302 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7303 * buff-menu.el (Buffer-menu--unmark): New function.
7304 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7306 2013-10-30 Glenn Morris <rgm@gnu.org>
7308 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7310 * emacs-lisp/package.el (lm-homepage): Declare.
7312 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7315 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7317 * Makefile.in (finder-data, autoloads, update-subdirs)
7318 (compile-main, compile-clean, compile-always, bootstrap-clean):
7319 Check return value of cd.
7320 (compile-calc): Remove.
7322 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7326 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7327 (byte-compile-and-folded): New function.
7328 (=, <, >, <=, >=): Use it.
7330 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7331 (path-separator, null-device, buffer-file-coding-system)
7332 (lpr-headers-switches): Check system-type before modifying them.
7333 (find-buffer-file-type-coding-system): Mark obsolete.
7334 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7335 find-file-not-found-set-buffer-file-coding-system.
7336 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7337 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7338 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7339 (w32-direct-print-region-helper, w32-direct-print-region-function)
7340 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7341 * startup.el (normal-top-level-add-subdirs-to-load-path):
7342 * ps-print.el (ps-print-region-function):
7343 * lpr.el (print-region-function): Use new name.
7345 * subr.el (custom-declare-variable-early): Remove function.
7346 (custom-declare-variable-list): Remove var.
7347 (error, user-error): Remove `while' loop.
7348 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7349 (user-emacs-directory-warning, locate-user-emacs-file):
7351 * simple.el (read-quoted-char-radix, read-quoted-char):
7352 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7354 * custom.el (custom-declare-variable-list): Don't process
7355 custom-declare-variable-list.
7357 * progmodes/python.el (python-shell-get-buffer): New function.
7358 (python-shell-get-process): Use it.
7359 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7360 Python which encoding was used. Don't split-string since we only care
7361 about the first line. Return the temp-file, if applicable.
7362 (python-shell-send-region): Tell compile.el how to turn locations in
7363 the temp-file into locations in the source buffer.
7365 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7367 * subr.el (undefined): Add missing behavior from the C code for
7370 * rect.el: Use lexical-binding. Add new rectangular region support.
7371 (rectangle-mark): New command.
7372 (rectangle--region): New var.
7373 (deactivate-mark-hook): Reset rectangle--region.
7374 (rectangle--extract-region, rectangle--insert-for-yank)
7375 (rectangle--highlight-for-redisplay)
7376 (rectangle--unhighlight-for-redisplay): New functions.
7377 (region-extract-function, redisplay-unhighlight-region-function)
7378 (redisplay-highlight-region-function): Use them to handle
7380 * simple.el (region-extract-function): New var.
7381 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7382 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7383 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7384 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7385 (redisplay-unhighlight-region-function)
7386 (redisplay-highlight-region-function): New vars.
7387 (redisplay--update-region-highlight): New function.
7388 (pre-redisplay-function): Use it.
7389 (exchange-point-and-mark): Don't deactivate the mark before
7390 reactivate-it anyway.
7391 * comint.el (comint-kill-region): Remove yank-handler argument.
7392 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7393 (delete-char): Remove property, since it's now part of their
7395 (self-insert-iso): Remove property since this command doesn't exist.
7397 * emacs-lisp/package.el (package--download-one-archive)
7398 (describe-package-1): Don't query the user about final newline.
7400 2013-10-29 Daniel Colascione <dancol@dancol.org>
7402 * net/tramp.el (tramp-methods): Document new functionality.
7403 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7404 tramp-hostname-checker if method provides one instead of scanning
7405 argument list for "%h" to decide hostname acceptability.
7407 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7409 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7410 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7411 Handle COPY-CONTENTS. (Bug#15737)
7413 2013-10-28 Daiki Ueno <ueno@gnu.org>
7416 (epa-file-cache-passphrase-for-symmetric-encryption):
7417 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7419 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7421 * image.el (defimage, image-load-path): Doc fixes.
7423 2013-10-27 Alan Mackenzie <acm@muc.de>
7425 Indent statements in macros following "##" correctly.
7426 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7427 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7429 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7431 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7433 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7435 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7436 after `=' is probably a new expression.
7438 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7440 * man.el (man-imenu-title): New option.
7441 (Man-mode-map): Add menu. (Bug#15722)
7442 (Man-mode): Add imenu to menu.
7444 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7446 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7447 specific in what the first arg can be: a non-keyword word,
7448 string/regexp/percent literal opener, opening paren, or unary
7449 operator followed directly by word.
7451 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7453 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7454 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7455 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7456 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7457 Remove vars, they do not apply any more.
7458 (prolog-mode-abbrev-table): Remove redundant declaration.
7459 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7460 (prolog-use-smie): Remove.
7461 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7462 supported by prolog-electric-if-then-else-flag.
7463 (prolog-mode-variables, prolog-menu): Use setq-local.
7464 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7465 Remove binding to `Backspace' since this key doesn't exist anyway.
7466 Remove bindings for electric self-inserting keys.
7467 (prog-mode): Assume it's defined.
7468 (prolog-post-self-insert): New function.
7469 (prolog-mode): Use it.
7470 (prolog-indent-line, prolog-indent-level)
7471 (prolog-find-indent-of-matching-paren)
7472 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7473 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7474 (prolog-goto-next-paren, prolog-in-string-or-comment)
7475 (prolog-tokenize, prolog-inside-mline-comment)
7476 (prolog-find-start-of-mline-comment): Remove functions.
7477 (prolog-find-unmatched-paren, prolog-clause-end)
7478 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7479 (prolog-electric--if-then-else): Rename from
7480 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7481 (prolog-tokenize-searchkey): Remove const.
7482 (prolog-clause-info): Use forward-sexp.
7483 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7484 (prolog-electric-if-then-else): Remove commands.
7485 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7486 for use in post-self-insert-hook.
7487 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7488 for use in post-self-insert-hook.
7489 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7490 for use in post-self-insert-hook.
7491 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7492 adapt it for use in post-self-insert-hook.
7494 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7496 * emacs-lisp/ert.el (ert-run-tests-interactively):
7497 Use `completing-read'. (Bug#9756)
7499 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7501 * simple.el (line-move): Call line-move-1 instead of
7502 line-move-visual when the current window hscroll is zero, but
7503 temporary-goal-column indicates we will need to hscroll as result
7504 of the movement. (Bug#15712)
7506 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7508 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7509 capitalization. Use :visible instead of :active.
7510 Fix `ruby-indent-exp' reference. Add menu items for the generic
7511 commands that are used with SMIE.
7512 (ruby-do-end-to-brace): Insert space after `{'.
7514 2013-10-25 John Anthony <john@jo.hnanthony.com>
7516 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7518 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7520 2013-10-25 Glenn Morris <rgm@gnu.org>
7522 * vc/vc.el (vc-print-log): Don't use a working revision unless
7523 one was explicitly specified. (Bug#15322)
7525 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7527 * subr.el (add-to-list): Preserve return value in compiler-macro
7530 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7532 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7533 result. Ask user to retry using '-all' flag. (Bug#15701)
7535 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7537 * emacs-lisp/smie.el: New smie-config system.
7538 (smie-config): New defcustom.
7539 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7540 (smie-config-guess, smie-config-save): New commands.
7541 (smie-config--mode-local, smie-config--buffer-local)
7542 (smie-config--trace, smie-config--modefuns): New vars.
7543 (smie-config--advice, smie-config--mode-hook)
7544 (smie-config--setter, smie-config-local, smie-config--get-trace)
7545 (smie-config--guess-value, smie-config--guess): New functions.
7546 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7547 text properties. Treat "string fence" syntax like string syntax.
7549 * progmodes/sh-script.el (sh-use-smie): Change default.
7550 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7551 (sh-var-value): Simplify by CSE.
7552 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7553 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7555 (sh-guess-basic-offset): Use cl-incf.
7556 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7558 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7560 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7563 2013-10-24 Glenn Morris <rgm@gnu.org>
7565 * Makefile.in (abs_top_srcdir): Remove.
7566 (update-subdirs): Use relative path to update-subdirs.
7568 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7570 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7571 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7572 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7573 Call unmsys--file-name before expand-file-name, not after it.
7575 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7577 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7578 (ert-test-skipped): New error.
7579 (ert-skip, ert-stats-skipped): New defuns.
7580 (ert--skip-unless): New macro.
7581 (ert-test-skipped): New struct.
7582 (ert--run-test-debugger, ert-test-result-type-p)
7583 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7584 (ert--stats-set-test-and-result, ert-char-for-test-result)
7585 (ert-string-for-test-result, ert-run-tests-batch)
7586 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7587 Handle skipped tests. (Bug#9803)
7589 2013-10-24 Glenn Morris <rgm@gnu.org>
7591 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7593 * Makefile.in (abs_top_srcdir): New, set by configure.
7594 (update-subdirs): Correct build-aux location.
7596 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7598 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7599 value, whether we could auto-deduce `backend', or not.
7601 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7602 with parameters" example. Simplify the "is it block or is it
7603 hash" check, but also make it more thorough.
7605 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7607 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7609 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7614 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7617 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7619 * progmodes/compile.el (compilation-directory-matcher)
7620 (compilation-page-delimiter):
7621 Support GNU Make-4.0 directory quoting. (Bug#15678)
7623 2013-10-23 Leo Liu <sdl.web@gmail.com>
7625 * ido.el (ido-tidy): Handle read-only text.
7627 2013-10-23 Glenn Morris <rgm@gnu.org>
7629 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7630 (emacs, compile, compile-always):
7631 Quote entities that might contain whitespace.
7632 (custom-deps, finder-data, autoloads): Use abs_lisp.
7633 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7634 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7635 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7637 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7639 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7640 Use `following-char'.
7642 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7645 * progmodes/ruby-mode.el (ruby-smie-rules):
7646 Remove corresponding workaround. Fix indentation rule of ";" so it
7647 also applies when ";" is the parent.
7649 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7651 * frame.el (display-screens, display-pixel-height)
7652 (display-pixel-width, display-mm-width, display-backing-store)
7653 (display-save-under, display-planes, display-color-cells)
7654 (display-visual-class, display-monitor-attributes-list):
7655 Mention the optional ‘display’ argument in doc strings.
7657 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7659 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7660 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7662 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7664 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7665 TODO. Add "." after " @ ".
7666 (ruby-smie--at-dot-call): New function. Checks if point at method
7667 call with explicit target.
7668 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7669 to the method name tokens when it precedes them.
7670 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7671 (ruby-smie-rules): Add rule for indentation before and after "."
7674 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * textmodes/remember.el (remember-diary-extract-entries):
7679 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7682 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7684 * progmodes/ruby-mode.el (ruby-smie-grammar):
7685 Add (almost) all infix operators.
7686 (ruby-smie--implicit-semi-p): Add new operator chars.
7688 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7690 (ruby-smie--args-separator-p): Check that there's no newline
7691 between method call and its arguments.
7693 2013-10-20 Alan Mackenzie <acm@muc.de>
7695 Allow comma separated lists after Java "implements".
7697 * progmodes/cc-engine.el (c-backward-over-enum-header):
7699 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7700 from a "disallowed" list in enum fontification.
7702 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7704 * startup.el (default-frame-background-mode): Remove unused defvar.
7706 * progmodes/verilog-mode.el (verilog-mode): Don't set
7707 comment-indent-function globally.
7709 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7711 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7712 Move Info menu item creation to ns-win.el.
7714 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7717 * menu-bar.el: Move GNUstep specific menus...
7719 * term/ns-win.el (ns-initialize-window-system): ... to here.
7721 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7723 * simple.el (newline): Only run post-self-insert-hook when
7724 called interactively.
7726 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7728 * icomplete.el (icomplete-with-completion-tables): Add :version.
7730 2013-10-19 Alan Mackenzie <acm@muc.de>
7732 Fix fontification bugs with constructors and const.
7734 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7735 CASE 2) Remove the check for the absence of a suffix construct
7736 after a function declaration with only types (no identifiers) in
7737 the parentheses. Also, accept a function declaration with just a
7738 type inside the parentheses, if this type can be positively
7739 recognised as such, or if a prefix keyword like "explicit" nails
7740 down the construct as a declaration.
7742 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7744 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7745 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7746 the problem whereby selecting a menu item that leads to a
7747 minibuffer prompt moves the cursor out of the minibuffer window,
7748 making it hard to type at the prompt. Suggested by Stefan Monnier
7749 <monnier@iro.umontreal.ca>.
7751 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7753 * menu-bar.el: Don't make Services menu.
7755 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7757 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7758 (ffap-alist): Use ffap-c++-mode for c++-mode.
7759 (ffap-c++-path): New variable.
7760 (ffap-c++-mode): New function.
7762 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7764 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7766 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7768 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7769 introduced on 2013-09-08, which results in an infinite loop
7770 requesting a password.
7772 2013-10-18 Glenn Morris <rgm@gnu.org>
7774 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7776 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7778 Sync with upstream verilog-mode revision 1a6ecec7.
7779 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7780 (verilog-mode-release-date): Remove.
7781 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7782 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7783 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7784 (verilog-auto-tieoff-ignore-regexp)
7785 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7786 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7787 (verilog-signals-with, verilog-dir-cache-preserving)
7788 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7790 (verilog-case-fold): New option, to control case folding in
7791 regexp searches, bug597.
7792 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7793 (verilog-string-match-fold, verilog-in-paren-count)
7794 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7795 (verilog-at-close-struct-p): New functions.
7796 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7797 (verilog-forward-sexp, verilog-set-auto-endcomments)
7798 (verilog-leap-to-case-head): Handle "unique0" case.
7799 (verilog-in-constraint-re): New constant.
7800 (verilog-keywords, verilog-type-font-keywords):
7801 Add some SystemVerilog 1800-2012 keywords.
7802 (verilog-label-be): Remove unimplemented argument, bug669.
7803 (verilog-batch-execute-func): When batch expanding clear
7804 create-lockfiles to prevent spurious user locks when a file ends
7806 (verilog-calculate-indent, verilog-calc-1)
7807 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7808 (verilog-do-indent): Fix indentation of nested constraints
7810 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7811 (verilog-auto-inst-param): Use verilog-string-match-fold.
7812 (verilog-read-inst-module-matcher):
7813 Fix AUTOINST on gate primitives with #1.
7814 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7815 Reads all user-defined typed variables.
7816 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7817 (verilog-signals-matching-regexp)
7818 (verilog-signals-not-matching-regexp, verilog-auto):
7819 Respect verilog-case-fold.
7820 (verilog-diff-report): Fix line count.
7821 (verilog-auto-assign-modport): Remove unused local `modi'.
7822 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7823 better handle multidimensional arrays.
7824 Fix packed array ports misadding bit index in AUTOINST, bug637.
7825 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7826 to not double-declare existing outputs and inputs, respectively.
7827 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7828 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7829 (verilog-sk-uvm-component): New skeleton.
7830 (verilog-submit-bug-report): Add verilog-case-fold,
7831 remove verilog-mode-release-date.
7833 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7835 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7838 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7840 * textmodes/remember.el (remember): Set buffer-offer-save in
7841 remember buffers (bug#13566).
7843 2013-10-18 Daniel Colascione <dancol@dancol.org>
7845 When evaluating forms in ielm, direct standard output to ielm
7846 buffer. Add new ielm-return-for-effect command. Remove trailing
7847 whitespace throughout.
7849 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7850 (ielm-return-for-effect): New command.
7851 (ielm-send-input): Accept optional `for-effect' parameter.
7852 (ielm-eval-input): Accept optional `for-effect' parameter.
7853 Bind `standard-output' to stream we create using
7854 `ielm-standard-output-impl'. Suppress printing result when
7856 (ielm-standard-output-impl): New function.
7857 (inferior-emacs-lisp-mode): Explain new features in documentation.
7859 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7863 * net/tramp.el (tramp-debug-message): Do not check for connection
7865 (tramp-message): Use "vector" connection property.
7867 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7868 (tramp-equal-remote, tramp-eshell-directory-change)
7869 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7870 (tramp-adb-handle-rename-file)
7871 * net/tramp-cmds.el (tramp-list-remote-buffers)
7872 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7873 * net/tramp-compat.el (tramp-compat-process-running-p)
7874 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7875 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7876 (tramp-gvfs-handle-rename-file)
7877 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7878 (tramp-set-file-uid-gid)
7879 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7880 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7883 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7884 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7885 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7886 (tramp-gw-open-network-stream): Suppress unrelated traces.
7888 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7889 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7890 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7891 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7892 connection property.
7894 * net/tramp-cache.el (top): Suppress traces when reading
7897 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7898 Refactor common code. Improve debug message.
7899 (tramp-maybe-open-connection)
7900 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7901 connection buffer too early.
7903 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7904 from `tramp-smb-actions-with-acl'.
7905 (tramp-smb-actions-set-acl): New defconst.
7906 (tramp-smb-handle-copy-directory)
7907 (tramp-smb-action-get-acl): New defun, renamed from
7908 `tramp-smb-action-with-acl'.
7909 (tramp-smb-action-set-acl): New defun.
7910 (tramp-smb-handle-set-file-acl): Rewrite.
7912 2013-10-17 Glenn Morris <rgm@gnu.org>
7914 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7916 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7918 * skeleton.el (skeleton-newline): Remove.
7919 (skeleton-internal-1): Use (insert "\n") instead.
7921 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7924 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7925 forward-sexp-function while we redo its job (bug#15613).
7927 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7929 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7930 represented by lists.
7932 2013-10-16 Glenn Morris <rgm@gnu.org>
7934 * tmm.el (tmm--history): New dynamic variable.
7935 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7937 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7939 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7940 (tramp-smb-errors): Add error messages.
7941 (tramp-smb-actions-with-acl): New defconst.
7942 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7943 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7944 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7945 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7946 (tramp-smb-get-stat-capability): Fix tests.
7948 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7950 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7953 2013-10-16 Glenn Morris <rgm@gnu.org>
7955 * ansi-color.el (ansi-color-drop-regexp):
7956 Add 1J, 1K, 2K. (Bug#15617)
7958 * files.el (hack-local-variables--warned-lexical): New.
7959 (hack-local-variables):
7960 Warn about misplaced lexical-binding. (Bug#15616)
7962 * net/eww.el (eww-render): Always set eww-current-url,
7963 and update header line. (Bug#15622)
7964 (eww-display-html): ... Rather than just doing it here.
7966 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7968 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7969 menu navigations commands.
7971 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7973 * progmodes/subword.el (subword-capitalize): Be careful when
7974 the search for [[:alpha:]] fails (bug#15580).
7976 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7978 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7979 to commands that scroll the menu.
7981 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7983 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7984 Handle methods ending with `?' and `!'.
7986 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7988 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7989 `japanese-cp932' to `cp932' to fix the problem where saving a
7990 source file written in Shift_JIS twice would end up having
7991 `coding: japanese-cp932' which Ruby could not recognize.
7992 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7993 in `ruby-encoding-map'.
7994 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7995 doesn't need to be explicitly declared in magic comment.
7996 (ruby-encoding-map): Add type declaration for better customize UI.
7998 2013-10-13 Glenn Morris <rgm@gnu.org>
8000 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8001 Occur buffers are read-only. http://bugs.debian.org/720775
8003 * emacs-lisp/authors.el (authors-fixed-entries):
8004 Comment out old alpha stuff.
8006 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8008 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8009 to `after-save-hook' instead of `before-save-hook'.
8010 (ruby-mode-set-encoding): Use the value of coding system used to
8011 write the file. Call `basic-save-buffer-1' after modifying the
8014 2013-10-13 Alan Mackenzie <acm@muc.de>
8016 Fix indentation/fontification of Java enum with
8017 "implements"/generic.
8019 * progmodes/cc-engine.el (c-backward-over-enum-header):
8020 Extracted from the three other places and enhanced to handle generics.
8021 (c-inside-bracelist-p): Uses new function above.
8022 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8024 (c-font-lock-enum-tail): Uses new function above.
8026 2013-10-13 Kenichi Handa <handa@gnu.org>
8028 * international/mule-cmds.el (select-safe-coding-system): Remove a
8029 superfluous condition in chekcing whether a coding system is safe
8032 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8034 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8036 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8038 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8040 2013-10-13 Glenn Morris <rgm@gnu.org>
8042 * menu-bar.el (menu-bar-update-buffers):
8043 Unify Buffers menu prompt string. (Bug#15576)
8045 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8047 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8049 (authors-fixed-entries): Use accented form of name.
8051 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8053 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8054 method calls (bug#15594).
8055 (ruby-smie--args-separator-p): New function.
8056 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8057 recognize paren-free method calls.
8059 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8060 internals of universal-argument.
8062 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8064 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8065 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8066 dropped menu on second mouse click on the menu bar.
8068 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8070 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8071 (explicit-shell-file-name): Declare.
8072 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8073 (sh-completion-at-point-function): New function.
8075 (sh-smie--keyword-p): Remove unused argument.
8076 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8078 (sh-set-shell): Always setup SMIE, even if we use the
8079 old indentation code.
8081 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8083 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8085 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8086 predicate would return nil are almost non-existent.
8087 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8089 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8090 cache also after commands that modify the buffer but don't move
8093 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * env.el (substitute-env-in-file-name): New function.
8096 (substitute-env-vars): Extend the meaning of the optional arg.
8098 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8100 * term/w32-win.el (dynamic-library-alist): Define separate lists
8101 of GIF DLLs for versions before and after 5.0.0 of giflib.
8104 2013-10-10 João Távora <joaotavora@gmail.com>
8106 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8107 not locked, use last revision and current source as
8108 defaults. (Bug#15569)
8110 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8112 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8115 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8117 * window.el (pop-to-buffer-same-window): Fix doc-string.
8120 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8122 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8124 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8126 * calendar/icalendar.el (icalendar-import-file):
8127 Fix interactive spec. (Bug#15482)
8129 2013-10-10 Glenn Morris <rgm@gnu.org>
8131 * desktop.el (desktop-save): Default to saving in .emacs.d,
8132 since PWD is no longer in desktop-path by default. (Bug#15319)
8134 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8135 now that text mode has a menu with the same entry.
8136 (menu-bar-text-mode-auto-fill): Remove now unused func.
8137 * textmodes/text-mode.el (text-mode-map):
8138 Use auto-fill help text from menu-bar.el.
8140 2013-10-10 John Anthony <john@jo.hnanthony.com>
8142 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8144 2013-10-09 Juri Linkov <juri@jurta.org>
8146 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8147 instead of this-command-keys. Add universal-argument-more and
8148 universal-argument-minus to the list of prefix commands. (Bug#15568)
8150 2013-10-09 Glenn Morris <rgm@gnu.org>
8152 * vc/vc-svn.el (vc-svn-create-repo):
8153 Expand paths in file://... url. (Bug#15446)
8155 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8157 (authors): Remove unused local variables.
8159 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8161 * profiler.el: Create a more coherent calltree from partial backtraces.
8162 (profiler-format): Hide the tail with `invisible' so that C-s can still
8163 find the hidden elements.
8164 (profiler-calltree-depth): Don't recurse so enthusiastically.
8165 (profiler-function-equal): New hash-table-test.
8166 (profiler-calltree-build-unified): New function.
8167 (profiler-calltree-build): Use it.
8168 (profiler-report-make-name-part): Indent the calltree less.
8169 (profiler-report-mode): Add visibility specs for profiler-format.
8170 (profiler-report-expand-entry, profiler-report-toggle-entry):
8171 Expand the whole subtree when provided with a prefix arg.
8173 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8175 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8177 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8178 hanging iuwu-mod token.
8179 (ruby-smie--forward-token): Do not include a dot after a token in
8181 (ruby-smie--backward-token): Likewise.
8183 2013-10-08 Juri Linkov <juri@jurta.org>
8185 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8186 to isearch-other-control-char.
8187 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8188 and isearch-post-command-hook to post-command-hook.
8189 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8190 and isearch-post-command-hook from post-command-hook.
8191 (isearch-unread-key-sequence)
8192 (isearch-reread-key-sequence-naturally)
8193 (isearch-lookup-scroll-key, isearch-other-control-char)
8194 (isearch-other-meta-char): Remove functions.
8195 (isearch-pre-command-hook, isearch-post-command-hook):
8196 New functions based on isearch-other-meta-char rewritten
8197 relying on the new behavior of overriding-terminal-local-map
8198 that does not replace the local keymaps any more. (Bug#15200)
8200 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8202 Support menus on text-mode terminals.
8203 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8206 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8208 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8209 Move here from mouse.el.
8210 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8212 (tty-menu-navigation-map): New map for TTY menu navigation.
8214 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8216 * frame.el (display-mouse-p): Report text-mode mouse as available
8218 (display-popup-menus-p): Report availability if mouse is
8219 available; don't condition on window-system.
8221 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8222 (tty-menu-selected-face): New faces.
8224 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8227 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8228 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8229 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8231 (lisp-mode-variables): New `elisp' argument.
8232 (emacs-lisp-mode): Use it.
8233 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8234 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8236 * indent.el: Use lexical-binding.
8237 (indent-region): Add progress reporter.
8238 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8240 (indent--next-tab-stop): New function to implement this behavior.
8241 (tab-to-tab-stop, move-to-tab-stop): Use it.
8243 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8245 * indent.el (indent-rigidly--current-indentation): New function.
8246 (indent-rigidly-map): New var.
8247 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8249 2013-10-08 Bastien Guerry <bzg@gnu.org>
8251 * register.el (insert-register): Fix 2013-10-07 change.
8253 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8255 * progmodes/perl-mode.el: Use lexical-binding.
8256 Remove redundant :group args.
8257 (perl-nochange): Change default to be closer to other major modes's
8259 (perl-indent-line): Don't consider text on current line as a
8260 valid beginning of function from which to indent.
8262 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8263 with more than one argument (bug#15538).
8265 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8267 * vc/pcvs.el: Use lexical-binding.
8268 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8269 environment of `eval'.
8270 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8271 than a list of expressions. Adjust callers.
8272 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8274 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8276 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8277 case of the dot in a chained method call being on the following line.
8279 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8281 * electric.el (electric-indent-inhibit): New var.
8282 (electric-indent-post-self-insert-function): Use it.
8283 * progmodes/python.el (python-mode): Set it.
8285 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8288 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8290 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8291 (css-mode): Use electric-indent-chars.
8293 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8294 (font-lock-beg, font-lock-end): Move before first use.
8295 (nxml-mode): Use syntax-propertize-function.
8296 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8297 (nxml-extend-after-change-region): Remove.
8298 * nxml/xmltok.el: Use lexical-binding.
8299 (xmltok-save): Use `declare'.
8300 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8301 * nxml/nxml-util.el: Use lexical-binding.
8302 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8304 * nxml/nxml-ns.el: Use lexical-binding.
8305 (nxml-ns-save): Use `declare'.
8306 (nxml-ns-prefixes-for): Avoid add-to-list.
8307 * nxml/rng-match.el: Use lexical-binding.
8308 (rng--ipattern): Use cl-defstruct.
8309 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8310 (rng-cons-group-after, rng-subst-group-after)
8311 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8312 Use closures instead of `(lambda...).
8314 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8316 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8319 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8320 Use `tramp-handle-insert-file-contents'.
8321 (tramp-gvfs-handle-insert-file-contents): Remove function.
8323 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8324 Use `save-restriction' in order to keep markers.
8326 * net/trampver.el: Update release number.
8328 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8330 * progmodes/compile.el (compilation-parse-errors):
8331 Use compilation--put-prop.
8332 (compilation--ensure-parse): Check compilation-multiline.
8334 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8336 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8339 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8341 * progmodes/ruby-mode.el: Fix recently added tests.
8342 (ruby-smie-grammar): Add - and +.
8343 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8344 (ruby-smie--backward-id): New functions.
8345 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8346 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8349 2013-10-07 Leo Liu <sdl.web@gmail.com>
8351 * register.el (register-preview-delay)
8352 (register-preview-functions): New variables.
8353 (register-read-with-preview, register-preview)
8354 (register-describe-oneline): New functions.
8355 (point-to-register, window-configuration-to-register)
8356 (frame-configuration-to-register, jump-to-register)
8357 (number-to-register, view-register, insert-register)
8358 (copy-to-register, append-to-register, prepend-to-register)
8359 (copy-rectangle-to-register): Use register-read-with-preview to
8360 read register. (Bug#15525)
8362 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8364 * net/network-stream.el (network-stream-open-starttls): Don't add
8365 --insecure if it's already present, because that gnutls-cli
8366 rejects getting that parameter twice.
8368 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8370 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8373 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8375 * newcomment.el (comment-use-global-state): Change default value
8376 to t, mark obsolete (Bug#15251).
8377 (comment-beginning): In addition to `comment-to-syntax', check the
8378 value of `comment-use-global-state'.
8380 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8382 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8383 (ruby-comment-column): Follow the global default, by default.
8384 (ruby-smie-grammar): Add assignment syntax.
8385 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8386 open-paren, a comma, or a \.
8387 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8388 and line continuations.
8389 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8390 followed by implicit semi-colons. Add rule for string concatenation
8391 and for indentation at BOB.
8392 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8394 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8395 calling next-sexp, since next-token may have skipped chars which
8396 next-sexp doesn't know should be skipped!
8398 2013-10-05 Leo Liu <sdl.web@gmail.com>
8400 * progmodes/octave.el (octave-send-region):
8401 Call compilation-forget-errors.
8403 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8405 * vc/vc-svn.el (vc-svn-find-admin-dir):
8406 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8407 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8408 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8409 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8411 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8413 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8415 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8417 * subr.el (read-passwd): Hide chars even when called within a context
8418 where after-change-functions is disabled (bug#15501).
8419 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8420 until we removed ourself from overriding-terminal-local-map.
8422 2013-10-04 Leo Liu <sdl.web@gmail.com>
8424 * progmodes/octave.el (inferior-octave-mode):
8425 Call compilation-forget-errors.
8427 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8429 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8431 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8433 * net/secrets.el (secrets-create-collection): Add optional
8434 argument ALIAS. Use proper Label keyword. Append ALIAS as
8435 dbus-call-method argument. (Bug#15516)
8437 2013-10-04 Leo Liu <sdl.web@gmail.com>
8439 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8440 (inferior-octave-compilation-font-lock-keywords): New variables.
8441 (compilation-error-regexp-alist)
8442 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8443 (inferior-octave-mode): Use compilation-shell-minor-mode.
8445 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8447 * minibuffer.el (completion--replace): Be careful that `end' might be
8450 2013-10-03 Daiki Ueno <ueno@gnu.org>
8452 Add support for package signature checking.
8453 * emacs-lisp/package.el (url-http-file-exists-p)
8454 (epg-make-context, epg-context-set-home-directory)
8455 (epg-verify-string, epg-context-result-for)
8456 (epg-signature-status, epg-signature-to-string)
8457 (epg-check-configuration, epg-configuration)
8458 (epg-import-keys-from-file): Declare.
8459 (package-check-signature): New user option.
8460 (package-unsigned-archives): New user option.
8461 (package-desc): Add `signed' field.
8462 (package-load-descriptor): Set `signed' field if .signed file exists.
8463 (package--archive-file-exists-p): New function.
8464 (package--check-signature): New function.
8465 (package-install-from-archive): Check package signature.
8466 (package--download-one-archive): Check archive signature.
8467 (package-delete): Remove .signed file.
8468 (package-import-keyring): New command.
8469 (package-refresh-contents): Import default keyring.
8470 (package-desc-status): Add "unsigned" status.
8471 (describe-package-1, package-menu--print-info)
8472 (package-menu-mark-delete, package-menu--find-upgrades)
8473 (package-menu--status-predicate): Support "unsigned" status.
8475 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8477 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8478 the new compilation scheme using the new byte-codes.
8480 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8481 (byte-pophandler): New byte codes.
8482 (byte-goto-ops): Adjust accordingly.
8483 (byte-compile--use-old-handlers): New var.
8484 (byte-compile-catch): Use new byte codes depending on
8485 byte-compile--use-old-handlers.
8486 (byte-compile-condition-case--old): Rename from
8487 byte-compile-condition-case.
8488 (byte-compile-condition-case--new): New function.
8489 (byte-compile-condition-case): New function that dispatches depending
8490 on byte-compile--use-old-handlers.
8491 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8494 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8495 Optimize under `condition-case' and `catch' if
8496 byte-compile--use-old-handlers is nil.
8497 (disassemble-offset): Handle new bytecodes.
8499 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8501 * subr.el (error): Use `declare'.
8502 (decode-char, encode-char): Use advertised-calling-convention instead
8503 of the docstring to discourage use of the `restriction' arg.
8505 2013-10-03 Daiki Ueno <ueno@gnu.org>
8507 * epg.el (epg-verify-file): Add a comment saying that it does not
8508 notify verification error as a return value nor a signal.
8509 (epg-verify-string): Ditto.
8511 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8513 * progmodes/compile.el (compilation-start): Try globbing the arg to
8516 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8518 Sync with Tramp 2.2.8.
8520 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8521 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8522 * net/trampver.el: Update release number.
8524 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8526 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8527 and default-process-coding-system for darwin only.
8529 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8531 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8533 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8535 * vc/vc-git.el (vc-git-grep): Disable pager.
8537 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8539 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8540 Use :url instead of :homepage, as per
8541 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8543 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8544 non-nil, use `syntax-ppss' (Bug#15251).
8546 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8548 * progmodes/octave.el (inferior-octave-startup-file):
8549 Prefer ~/.emacs.d/init_octave.m.
8551 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8553 * emacs-lisp/package.el (package-desc-from-define):
8554 Accept additional arguments as plist, convert them to an alist and store
8555 them in the `extras' slot.
8556 (package-generate-description-file): Convert extras alist back to
8557 plist and append to the `define-package' form arguments.
8558 (package--alist-to-plist): New function.
8559 (package--ac-desc): Add `extras' slot.
8560 (package--add-to-archive-contents): Check if the archive-contents
8561 vector is long enough, and if it is, pass its `extras' slot value
8562 to `package-desc-create'.
8563 (package-buffer-info): Call `lm-homepage', pass the returned value
8564 to `package-desc-from-define'.
8565 (describe-package-1): Render the homepage button (Bug#13291).
8567 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8568 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8570 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8572 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8573 and default-process-coding-system to utf-8-unix (Bug#15402).
8575 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8577 * subr.el (looking-back): Do not recommend using looking-back.
8579 2013-09-28 Alan Mackenzie <acm@muc.de>
8581 Fix indentation/fontification of Java enum with "implements".
8583 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8584 regexp which matches "implements", etc., in Java.
8585 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8586 specifier clauses coming after "enum".
8587 * progmodes/cc-fonts.el (c-font-lock-declarations)
8588 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8591 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8593 * faces.el (region): Change ns_selection_color to
8594 ns_selection_fg_color, add ns_selection_bg_color.
8596 2013-09-28 Leo Liu <sdl.web@gmail.com>
8598 * progmodes/octave.el (inferior-octave-completion-table)
8599 (inferior-octave-completion-at-point): Minor tweaks.
8601 * textmodes/ispell.el (ispell-lookup-words): Rename from
8602 lookup-words. (Bug#15460)
8603 (lookup-words): Obsolete.
8604 (ispell-complete-word, ispell-command-loop): All uses changed.
8606 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8608 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8609 (octave-mode-menu): Add octave-send-buffer.
8610 (octave-send-buffer): New function.
8612 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8614 * progmodes/octave.el (octave-mode-map): Add key binding for
8616 (octave-mode-menu): Add octave-lookfor.
8617 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8619 (octave-lookfor): New function.
8621 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8624 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8626 (cl--loop-set-iterator-function): New function.
8627 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8628 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8629 Bind `it' with `let' instead of substituting it with `cl-subst'.
8630 (cl--unused-var-p): New function.
8631 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8632 Eliminate some unused variable warnings (bug#15326).
8634 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8636 * doc-view.el (doc-view-scale-reset): Rename from
8637 `doc-view-reset-zoom-level'.
8638 (doc-view-scale-adjust): New command.
8639 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8640 `doc-view-scale-adjust'.
8642 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8644 * doc-view.el (doc-view-reset-zoom-level): New command.
8645 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8646 zoom commands (bug#15466).
8648 2013-09-26 Kenichi Handa <handa@gnu.org>
8650 * international/quail.el (quail-help): Make it not a command.
8652 2013-09-26 Leo Liu <sdl.web@gmail.com>
8654 * minibuffer.el (completion-all-sorted-completions): Make args
8655 optional as they are.
8657 2013-09-25 Daniel Colascione <dancol@dancol.org>
8659 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8660 specs are and that they're not evaluated.
8662 2013-09-24 Sam Steingold <sds@gnu.org>
8664 * midnight.el (clean-buffer-list-kill-regexps)
8665 (clean-buffer-list-kill-buffer-names): Update for the new Man
8666 buffer naming which includes the object name.
8668 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8670 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8671 (eshell-parse-command, eshell-parse-pipeline): Use it since
8672 eshell-separate-commands requires a dynamic scoped var.
8673 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8675 2013-09-23 Leo Liu <sdl.web@gmail.com>
8677 * autoinsert.el (auto-insert-alist): Make the value of
8678 lexical-binding match its file setting.
8680 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8682 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8684 * autoarg.el (autoarg-kp-digit-argument):
8685 * electric.el (Electric-command-loop):
8686 * kmacro.el (kmacro-step-edit-insert):
8687 Do not set universal-argument-num-events.
8689 2013-09-22 Leo Liu <sdl.web@gmail.com>
8691 * files.el (interpreter-mode-alist): Add octave.
8693 2013-09-21 Alan Mackenzie <acm@muc.de>
8695 C++: fontify identifier in declaration following "public:" correctly.
8696 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8697 to match "public", etc.
8698 (c-decl-prefix-re): Add ":" into the C++ value.
8699 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8700 bit. Add a check for a ":" preceded by "public", etc.
8702 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8704 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8705 recognized by GDB 7.5 and later.
8707 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8709 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8711 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8713 * subr.el (internal--call-interactively): New const.
8714 (called-interactively-p): Use it (bug#3984).
8716 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8718 * vc/pcvs.el (cvs-mode-ignore):
8719 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8720 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8722 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8724 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8725 (eshell-ls-orig-insert-directory): Remove.
8726 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8727 (eshell-ls-use-in-dired): Use advice-add/remove.
8728 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8729 Add `orig-fun' arg for use in :around advice.
8730 Make it check (redundantly) eshell-ls-use-in-dired.
8732 2013-09-19 Glenn Morris <rgm@gnu.org>
8734 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8736 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8738 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8740 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8742 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8743 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8744 (tramp-get-remote-python): New defuns.
8745 (tramp-get-remote-uid-with-perl)
8746 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8747 contributed by yary <not.com@gmail.com> (tiny change).
8748 (tramp-get-remote-uid-with-python)
8749 (tramp-get-remote-gid-with-python): New defuns. Python code
8750 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8751 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8753 2013-09-19 Glenn Morris <rgm@gnu.org>
8755 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8757 * eshell/em-unix.el (eshell-remove-entries):
8758 Rename argument to avoid name-clash with global `top-level'.
8760 * eshell/esh-proc.el (eshell-kill-process-function):
8761 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8762 (eshell-reset-after-proc): Remove unused arg `proc'.
8764 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8765 (directory-files-and-attributes): Mark unused arg.
8767 * eshell/em-unix.el (eshell-remove-entries):
8768 Remove unused arg `path'. Update callers.
8770 * eshell/em-hist.el (eshell-hist-parse-arguments):
8771 Remove unused arg `silent'. Update callers.
8773 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8774 Fix (f)boundp mix-up.
8776 * eshell/em-smart.el (eshell-smart-scroll-window)
8777 (eshell-disable-after-change):
8778 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8780 2013-09-18 Alan Mackenzie <acm@muc.de>
8782 Fix fontification of type when followed by "const".
8783 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8784 "known" types from fontification.
8786 2013-09-18 Glenn Morris <rgm@gnu.org>
8788 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8789 (chart-face-list): Drop Emacsen without display-color-p.
8791 * net/eww.el (libxml-parse-html-region): Declare.
8792 (eww-display-html): Explicit error if no libxml2 support.
8794 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8796 * image.el (image-type-from-buffer, image-multi-frame-p):
8797 Remove --without-x warning/error.
8799 * mouse.el (mouse-yank-primary):
8800 * term.el (term-mouse-paste):
8801 Reorder to silence --without-x compilation.
8803 * mpc.el (doc-view-mode): Silence --without-x compilation.
8805 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8806 Silence --without-x compilation.
8808 * progmodes/gud.el (gud-find-file, gud-mode):
8809 Silence --without-x compilation.
8810 (tooltip-mode): Declare.
8812 * wdired.el (dired-backup-overwrite): Remove declaration.
8813 (wdired-mode-map): Add doc string.
8815 * custom.el (x-get-resource): Declare.
8817 * eshell/em-glob.el (ange-cache):
8818 * eshell/em-unix.el (ange-cache): Declare.
8820 * faces.el (x-display-list, x-open-connection, x-get-resource):
8823 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8824 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8827 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8829 * net/gnutls.el (gnutls-log-level): Declare.
8831 * net/shr.el (image-size, image-animate): Declare.
8833 * simple.el (font-info): Declare.
8835 * subr.el (x-popup-dialog): Declare.
8837 * term/common-win.el (x-select-enable-primary)
8838 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8841 * term/ns-win.el (x-handle-args): Declare.
8843 * term/x-win.el (x-select-enable-clipboard): Declare.
8845 * term/w32-win.el (create-default-fontset): Declare.
8847 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8850 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8851 (fit-frame-to-buffer): Explicit error if --without-x.
8852 (mouse-autoselect-window-select): Silence compiler.
8854 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8856 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8857 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8858 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8859 * eshell/esh-util.el (eshell-sublist):
8860 Remove unused local variables.
8862 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8864 * textmodes/two-column.el: Make 2C-split work for --without-x.
8865 (scroll-bar-columns): Autoload.
8866 (top-level): Require fringe when compiling.
8868 2013-09-18 Leo Liu <sdl.web@gmail.com>
8870 * subr.el (add-hook): Robustify to handle closure as well.
8872 2013-09-17 Glenn Morris <rgm@gnu.org>
8874 * simple.el (messages-buffer-mode-map): Unbind "g".
8876 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * help-mode.el (help-mode-finish): Use derived-mode-p.
8879 Remove obsolete highlighting.
8881 * play/life.el (life-mode): Use define-derived-mode. Derive from
8883 (life): Let-bind inhibit-read-only.
8884 (life-setup): Avoid `setq'. Use `life-mode'.
8886 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8887 which should not be needed any more.
8888 (package-menu-refresh, package-menu-describe-package): Use user-error.
8890 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8891 (eshell-post-rewrite-command-hook): Make obsolete.
8892 (eshell-parse-command): Simplify.
8893 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8894 (eshell--cmd): Declare.
8895 (eshell-parse-pipeline): Remove unused var `final-p'.
8896 Pass a dynvar to eshell-post-rewrite-command-hook.
8897 Implement the new eshell-post-rewrite-command-function.
8898 (eshell-invoke-directly): Remove unused arg `input'.
8899 * eshell/esh-io.el (eshell-io-initialize):
8900 Use eshell-post-rewrite-command-function (bug#15399).
8901 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8902 adjust to new calling convention.
8903 (eshell-create-handles): Rename args to avoid clashing with dynvar
8906 2013-09-17 Glenn Morris <rgm@gnu.org>
8908 * simple.el (messages-buffer-mode): New major mode.
8909 (messages-buffer): New function.
8910 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8911 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8912 (ert-run-test): Use `messages-buffer' function.
8913 (ert--force-message-log-buffer-truncation): Ignore read-only.
8914 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8915 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8917 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8919 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8921 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8923 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8925 * icomplete.el (icomplete-in-buffer): New var.
8926 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8927 vars and replace them with functions.
8928 (icomplete-minibuffer-setup): Adjust accordingly.
8929 (icomplete--completion-table, icomplete--completion-predicate)
8930 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8932 (icomplete-forward-completions, icomplete-backward-completions)
8933 (icomplete-simple-completing-p, icomplete-exhibit)
8934 (icomplete-completions): Use them.
8935 (icomplete--in-region-buffer): New var.
8936 (icomplete--in-region-setup): New function.
8937 (icomplete-mode): Use it.
8939 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8941 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8942 return args and options.
8943 (eshell-eval-using-options): Use the new return value of
8944 eshell--do-opts to set the options's vars in their scope.
8945 (eshell--set-option): Rename from eshell-set-option.
8947 (eshell--process-option): Rename from eshell-process-option.
8949 (eshell--process-args): Use an `opt-vals' alist to store the options's
8950 values during their processing and return them additionally to the
8953 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8955 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8956 continuation character an operator, as far as indentation is
8957 concerned (Bug#15369).
8959 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8961 * window.el (window--state-put-2): Don't process buffer state
8962 when buffer doesn't exist any more (Bug#15382).
8964 2013-09-15 Glenn Morris <rgm@gnu.org>
8966 * eshell/em-unix.el (eshell/rm):
8967 Make -f ignore missing files. (Bug#15373)
8969 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8970 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8971 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8973 2013-09-14 Glenn Morris <rgm@gnu.org>
8975 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8977 2013-09-13 Glenn Morris <rgm@gnu.org>
8979 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8980 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8982 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8984 * frame.el (x-focus-frame): Mark as declared in frame.c.
8986 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8988 * ls-lisp.el: Use advice-add.
8989 (original-insert-directory): Remove.
8990 (ls-lisp--insert-directory): Rename from insert-directory; add
8991 `orig-fun' argument.
8992 (insert-directory): Advise.
8994 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8996 * term.el (term-emulate-terminal): Decode the command string
8997 before passing it to term-command-hook. (Bug#15337)
8999 2013-09-13 Glenn Morris <rgm@gnu.org>
9001 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9003 * eshell/esh-ext.el (eshell-search-path): Declare.
9005 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9006 Otherwise an error occurs if eshell-dirs module not loaded.
9008 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9010 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9012 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9013 `tramp-check-proper-host'. Check for a valid method name.
9015 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9016 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9017 * net/tramp-sh.el (tramp-maybe-open-connection):
9018 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9020 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9021 also for hash values.
9023 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9025 * term/ns-win.el (parameters): Don't declare as dynamic.
9026 (before-make-frame-hook): Don't add ineffective function.
9028 * eshell/*.el: Use lexical-binding (bug#15231).
9030 2013-09-12 Kenichi Handa <handa@gnu.org>
9032 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9034 2013-09-12 Glenn Morris <rgm@gnu.org>
9036 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9037 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9039 * subr.el (do-after-load-evaluation): Also give compiler warnings
9040 when obsolete files are used (except by obsolete files).
9042 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9043 in the status output, assume `filename' is the first. (Bug#15322)
9045 * vc/vc.el (vc-deduce-fileset): Doc fix.
9047 * calc/calc-help.el (Info-goto-node):
9048 * progmodes/cperl-mode.el (Info-find-node):
9049 * vc/ediff.el (Info-goto-node): Update declarations.
9051 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9053 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9054 (vc-bzr-pull): Require vc-dispatcher.
9055 * vc/vc-git.el (vc-compilation-mode): Declare.
9056 (vc-git-pull): Require vc-dispatcher.
9058 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9060 * progmodes/octave.el (help-button-action): Declare.
9062 * shell.el (shell-directory-tracker): Output error as a message
9063 rather than just returning it as a string.
9064 (shell-process-pushd): Remove useless use of message.
9066 * dframe.el (dframe-timer-fn):
9067 * files.el (dir-locals-read-from-file):
9068 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9070 * reveal.el (reveal-post-command):
9071 * saveplace.el (load-save-place-alist-from-file):
9072 * shell.el (shell-resync-dirs):
9073 * w32-common-fns.el (x-get-selection-value):
9074 * emacs-lisp/copyright.el (copyright-find-copyright):
9075 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9076 * emulation/tpu-edt.el (tpu-copy-keyfile):
9077 * play/bubbles.el (bubbles--mark-neighbourhood):
9078 * progmodes/executable.el
9079 (executable-make-buffer-file-executable-if-script-p):
9080 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9082 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9084 Cleanup Eshell to rely less on dynamic scoping.
9085 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9086 last-value, and ext-command here. Bind `args' closer to `body'.
9087 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9088 (eshell--args): Declare new dynamic var.
9089 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9090 last-value, and ext-command. Pass `args' to `body'.
9091 (eshell-process-args): Bind eshell--args.
9092 (eshell-set-option): Use eshell--args.
9093 * eshell/eshell.el (eshell): Use derived-mode-p.
9094 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9095 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9096 (eshell-glob-function): Declare.
9097 * eshell/esh-util.el: Require cl-lib.
9098 (eshell-read-hosts-file): Avoid add-to-list.
9099 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9101 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9103 (eshell/diff): Remove unused var `err'.
9104 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9106 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9107 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9109 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9110 Move declaration before first use.
9111 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9112 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9115 2013-09-12 Glenn Morris <rgm@gnu.org>
9117 * term/ns-win.el (global-map): Remove binding for ispell-next,
9118 deleted 1999-05-29. (Bug#15357)
9120 2013-09-11 Glenn Morris <rgm@gnu.org>
9122 * echistory.el (electric-command-history): Remove call to deleted func.
9124 * play/landmark.el (landmark-mode): Fix typos.
9126 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9127 Check cvs-sort-ignore-file is bound.
9129 * savehist.el: No need for cl when compiling on Emacs.
9131 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9133 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9135 (eshell-self-insert-command, eshell-send-invisible):
9136 Remove unused argument.
9137 (eshell-handle-control-codes): Remove unused var `orig'.
9138 Avoid delete-backward-char.
9140 * files.el (set-auto-mode): Simplify a bit further.
9142 2013-09-11 Glenn Morris <rgm@gnu.org>
9144 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9145 (set-auto-mode): Don't regexp-quote elements.
9146 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9147 * progmodes/cc-mode.el (interpreter-mode-alist):
9148 * progmodes/ruby-mode.el (interpreter-mode-alist):
9149 Revert previous change.
9151 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9153 * play/snake.el (snake-mode):
9154 * play/mpuz.el (mpuz-mode):
9155 * play/landmark.el (lm-mode):
9156 * play/blackbox.el (blackbox-mode):
9157 * play/5x5.el (5x5-mode):
9158 * obsolete/options.el (Edit-options-mode):
9159 * net/quickurl.el (quickurl-list-mode):
9160 * net/newst-treeview.el (newsticker-treeview-mode):
9161 * mail/rmailsum.el (rmail-summary-mode):
9162 * mail/mspools.el (mspools-mode):
9163 * locate.el (locate-mode):
9164 * ibuffer.el (ibuffer-mode):
9165 * emulation/ws-mode.el (wordstar-mode):
9166 * emacs-lisp/debug.el (debugger-mode):
9167 * array.el (array-mode):
9168 * net/eudc.el (eudc-mode): Use define-derived-mode.
9169 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9170 Move initialization into declaration.
9171 (mairix-searches-mode): Use define-derived-mode.
9172 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9173 (eudc-edit-hotlist): Use dolist.
9174 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9175 (Man-mode): Use define-derived-mode.
9176 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9177 (Info-edit-mode): Use define-derived-mode.
9178 (Info-cease-edit): Use Info-mode.
9179 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9181 (eshell-mode): Use define-derived-mode.
9182 * chistory.el (command-history-mode-map): Rename from
9183 command-history-map.
9184 (command-history-mode): Use define-derived-mode.
9185 (Command-history-setup): Remove function.
9186 * calc/calc.el (calc-trail-mode-map): New var.
9187 (calc-trail-mode): Use define-derived-mode.
9188 (calc-trail-buffer): Set calc-main-buffer manually.
9189 * bookmark.el (bookmark-insert-annotation): New function.
9190 (bookmark-edit-annotation): Use it.
9191 (bookmark-edit-annotation-mode): Make it a proper major mode.
9192 (bookmark-send-edited-annotation): Use derived-mode-p.
9193 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9194 closer to its ideal place. Use \' to match EOS.
9196 * profiler.el (profiler-calltree-find): Use function-equal.
9198 2013-09-10 Glenn Morris <rgm@gnu.org>
9200 * files.el (interpreter-mode-alist): Convert to regexps.
9201 (set-auto-mode): Adapt for this. (Bug#15306)
9202 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9203 Comment out unused variable.
9204 * progmodes/cc-mode.el (interpreter-mode-alist):
9205 * progmodes/python.el (interpreter-mode-alist):
9206 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9207 * progmodes/sh-script.el (sh-set-shell):
9208 No longer use interpreter-mode-alist to get list of shells.
9210 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9212 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9214 * simple.el: Use set-temporary-overlay-map for universal-argument.
9215 (universal-argument-map): Don't use default-bindings (bug#15317).
9216 Bind switch-frame explicitly. Replace universal-argument-minus with
9217 a conditional binding.
9218 (universal-argument-num-events, saved-overriding-map): Remove.
9219 (restore-overriding-map): Remove.
9220 (universal-argument--mode): Rename from save&set-overriding-map,
9222 (universal-argument, universal-argument-more, negative-argument)
9223 (digit-argument): Adjust accordingly.
9224 (universal-argument-minus): Remove.
9225 (universal-argument-other-key): Remove.
9227 * subr.el (with-demoted-errors): Add `format' argument.
9229 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9231 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9232 `tramp-cleanup-connection'.
9234 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9235 parameters KEEP-DEBUG and KEEP-PASSWORD.
9237 * net/tramp.el (tramp-file-name-handler):
9238 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9239 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9240 (tramp-maybe-open-connection):
9241 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9242 Use `tramp-cleanup-connection'.
9244 * net/tramp-sh.el (tramp-maybe-open-connection):
9245 Catch 'uname-changed inside the progress reporter.
9247 2013-09-10 Glenn Morris <rgm@gnu.org>
9249 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9251 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9252 returns "alternate access method" in mode (eg "-rw-r--r--.").
9254 2013-09-08 Glenn Morris <rgm@gnu.org>
9256 * saveplace.el (load-save-place-alist-from-file):
9257 Demote errors. (Bug#15305)
9259 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9261 Improve compatibility with older Emacsen, and XEmacs.
9263 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9264 only if it is bound. It isn't for XEmacs.
9265 (with-tramp-progress-reporter): Do not let-bind `result'.
9266 This yields to scoping errors in XEmacs.
9267 (tramp-handle-make-auto-save-file-name): New function, moved from
9270 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9271 for `make-auto-save-file-name'.
9272 (tramp-adb--gnu-switches-to-ash):
9273 Use `tramp-compat-replace-regexp-in-string'.
9275 * net/tramp-cache.el (tramp-cache-print): Call
9276 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9278 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9279 bound. It isn't for XEmacs.
9281 * net/tramp-compat.el (tramp-compat-copy-file):
9282 Catch `wrong-number-of-arguments' error.
9283 (tramp-compat-replace-regexp-in-string): New defun.
9285 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9286 for `make-auto-save-file-name'.
9287 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9289 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9290 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9291 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9293 * net/tramp-gw.el (tramp-gw-open-network-stream):
9294 Use `tramp-compat-replace-regexp-in-string'.
9296 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9297 Call `tramp-handle-make-auto-save-file-name'.
9298 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9299 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9300 (tramp-sh-file-inotifywait-process-filter):
9301 Use `tramp-compat-replace-regexp-in-string'.
9302 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9304 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9305 for `make-auto-save-file-name'.
9306 (tramp-smb-handle-copy-directory):
9307 Call `tramp-compat-replace-regexp-in-string'.
9308 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9309 (tramp-smb-handle-copy-file): Improve error message.
9310 (tramp-smb-handle-rename-file): Rename directly only in case
9311 `newname' does not exist yet. This is a restriction of smbclient.
9312 (tramp-smb-maybe-open-connection): Rerun the function only when
9313 `auth-sources' is non-nil.
9315 2013-09-08 Kenichi Handa <handa@gnu.org>
9317 * international/characters.el: Set category "^" (Combining) for
9320 2013-09-07 Alan Mackenzie <acm@muc.de>
9322 Correctly fontify Java class constructors.
9323 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9325 (c-recognize-typeless-decls): Set the Java value to t.
9326 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9327 While handling a "(", add a check for, effectively, Java, and handle a
9328 "typeless" declaration there.
9330 2013-09-07 Roland Winkler <winkler@gnu.org>
9332 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9333 field subtitle for entry type book.
9335 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9337 * minibuffer.el: Make minibuffer-complete call completion-in-region
9338 rather than other way around.
9339 (completion--some, completion-pcm--find-all-completions):
9340 Don't delay signals when debugging.
9341 (minibuffer-completion-contents): Beware fields within the
9342 minibuffer contents.
9343 (completion-all-sorted-completions): Use defvar-local.
9344 (completion--do-completion, completion--cache-all-sorted-completions)
9345 (completion-all-sorted-completions, minibuffer-force-complete):
9346 Add args `beg' and `end'.
9347 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9348 (minibuffer-complete): Use completion-in-region.
9349 (completion-complete-and-exit): New fun, extracted from
9350 minibuffer-complete-and-exit.
9351 (minibuffer-complete-and-exit): Use it.
9352 (completion--complete-and-exit): Rename from
9353 minibuffer--complete-and-exit.
9354 (completion-in-region--single-word): New function, extracted from
9355 minibuffer-complete-word.
9356 (minibuffer-complete-word): Use it.
9357 (display-completion-list): Make `common-substring' argument obsolete.
9358 (completion--in-region): Call completion--in-region-1 instead of
9359 minibuffer-complete.
9360 (completion-help-at-point): Pass boundaries to
9361 minibuffer-completion-help as args rather than via an overlay.
9362 (completion-pcm--string->pattern): Use `any-delim'.
9363 (completion-pcm--optimize-pattern): New function.
9364 (completion-pcm--pattern->regex): Handle `any-delim'.
9365 * icomplete.el (icomplete-forward-completions)
9366 (icomplete-backward-completions, icomplete-completions):
9367 Adjust calls to completion-all-sorted-completions and
9368 completion--cache-all-sorted-completions.
9369 (icomplete-with-completion-tables): Default to t.
9370 * emacs-lisp/crm.el (crm--current-element): Rename from
9371 crm--select-current-element. Don't put an overlay but return the
9373 (crm--completion-command): Take two new args to bind to the boundaries.
9374 (crm-completion-help): Adjust accordingly.
9375 (crm-complete): Use completion-in-region.
9376 (crm-complete-word): Use completion-in-region--single-word.
9377 (crm-complete-and-exit): Use completion-complete-and-exit.
9379 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9381 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9384 2013-09-06 Juri Linkov <juri@jurta.org>
9386 * info.el (Info-display-images-node): When image file doesn't exist
9387 display text version of the image if it's provided in the Info file.
9388 Otherwise, display the location of missing image from SRC attribute.
9389 Add help-echo text property from ALT attribute. (Bug#15279)
9391 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9393 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9394 (edit-abbrevs-mode): Use define-derived-mode.
9396 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9397 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9399 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9400 Use define-derived-mode.
9402 * epg.el (epg-start-encrypt): Minor CSE simplification.
9404 2013-09-06 William Xu <william.xwl@gmail.com>
9406 * arc-mode.el: Add support for 7za (bug#15264).
9407 (archive-7z-program): New var.
9408 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9409 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9410 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9412 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9416 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9417 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9418 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9419 (tramp-postfix-host-format, tramp-file-name-regexp)
9420 (tramp-completion-file-name-regexp)
9421 (tramp-completion-dissect-file-name)
9422 (tramp-handle-substitute-in-file-name): Remove 'url case.
9423 (tramp-file-name-regexp-url)
9424 (tramp-completion-file-name-regexp-url): Remove constants.
9426 2013-09-06 Glenn Morris <rgm@gnu.org>
9428 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9430 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9432 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9433 keywords" below "here-doc beginnings" (Bug#15270).
9435 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9437 * subr.el (pop): Use `car-safe'.
9438 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9439 to detect unused `pop' return value.
9441 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9443 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9444 (python-fill-string): Remove unused var `marker'.
9445 (python-skeleton-add-menu-items): Remove unused var `items'.
9447 * international/mule-cmds.el: Require CL.
9448 (find-coding-systems-for-charsets): Avoid add-to-list.
9449 (sanitize-coding-system-list): New function, extracted from
9450 select-safe-coding-system-interactively.
9451 (select-safe-coding-system-interactively): Use it.
9452 (read-input-method-name): Accept symbols for `default'.
9454 * emacs-lisp/advice.el (defadvice): Add indent rule.
9456 2013-09-05 Daniel Hackney <dan@haxney.org>
9460 * net/browse-url.el:
9463 * net/eudcb-ldap.el:
9476 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9477 byte compiler. Remove some unused let-bound variables.
9479 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9482 a "ref-cell", since it gets better optimized (bug#14883).
9484 2013-09-05 Glenn Morris <rgm@gnu.org>
9486 * progmodes/cc-awk.el (c-forward-sws): Declare.
9488 2013-09-04 Glenn Morris <rgm@gnu.org>
9490 * generic-x.el [rul-generic-mode]: Require cc-mode.
9491 (c++-mode-syntax-table): Declare.
9492 (rul-generic-mode-syntax-table): Init in the defvar.
9494 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9497 (vc-do-command, vc-set-async-update):
9498 * vc/vc-mtn.el (vc-mtn-dir-status):
9499 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9500 (vc-hg-pull, vc-hg-merge-branch):
9501 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9502 (vc-git-merge-branch):
9503 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9504 (vc-cvs-dir-status-files):
9505 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9506 (vc-bzr-dir-status-files):
9507 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9508 * vc/vc-annotate.el: Use lexical-binding.
9509 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9510 (vc-sentinel-movepoint): Declare.
9511 (vc-annotate): Don't use `goto-line'.
9512 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9513 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9514 (vc-sentinel-movepoint): Declare.
9515 * vc/vc-svn.el: Use lexical-binding.
9516 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9518 * vc/vc-rcs.el: Use lexical-binding.
9520 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9521 `deleted'. Don't drop errors silently.
9523 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9525 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9527 * vc/vc.el (vc-ignore): Rewrite.
9528 (vc-default-ignore): New function.
9529 (vc-default-ignore-completion-table): Use find-ignore-file.
9531 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9532 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9533 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9534 Remove. Most code moved to vc.el.
9536 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9539 * net/tramp-smb.el (tramp-smb-get-file-entries):
9540 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9541 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9543 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9545 (eww-change-select): Remove unused var `properties'.
9546 (eww-make-unique-file-name): Remove unused var `base'.
9548 * finder.el (finder-compile-keywords): Don't mess with windows.
9550 * calculator.el (calculator-funcall): Fix typo in last change.
9552 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9554 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9555 <pkg>-autoloads.el file stop us.
9557 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9558 warnings, and factor out common code.
9560 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9562 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9563 two-character operators and whether the character preceding them
9564 changes their meaning (Bug#15208).
9566 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9568 Format code sent to Python shell for robustness.
9569 * progmodes/python.el (python-shell-buffer-substring):
9571 (python-shell-send-region, python-shell-send-buffer): Use it.
9573 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9575 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9576 * net/tramp.el (tramp-user-error): ... here.
9577 (tramp-find-method, tramp-check-proper-host)
9578 (tramp-dissect-file-name, tramp-debug-message)
9579 (tramp-handle-shell-command):
9580 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9583 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9585 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9587 * avoid.el (mouse-avoidance-point-position)
9588 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9591 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9593 * progmodes/python.el (python-shell-completion-get-completions):
9594 Drop use of deleted `comint-last-prompt-overlay'.
9595 (python-nav-if-name-main): New command.
9597 2013-09-01 Glenn Morris <rgm@gnu.org>
9599 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9600 Avoid leading space in $wins. Otherwise the sed command used by
9601 eg compile-main ends up containing "/*.el". (Bug#15170)
9603 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9605 2013-08-30 Glenn Morris <rgm@gnu.org>
9607 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9608 Fix is-this-a-directory logic. (Bug#15220)
9610 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9612 * textmodes/css-mode.el: Use SMIE.
9613 (css-smie-grammar): New var.
9614 (css-smie--forward-token, css-smie--backward-token)
9615 (css-smie-rules): New functions.
9616 (css-mode): Use them.
9617 (css-navigation-syntax-table): Remove var.
9618 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9619 (css-indent-calculate, css-indent-line): Remove functions.
9621 Misc changes to reduce use of `(lambda...); and other cleanups.
9622 * cus-edit.el: Use lexical-binding.
9623 (customize-push-and-save, customize-apropos)
9624 (custom-buffer-create-internal): Use closures.
9625 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9626 * progmodes/ada-xref.el: Use setq.
9627 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9628 * dframe.el: Use lexical-binding.
9629 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9630 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9631 * descr-text.el: Use lexical-binding.
9632 (describe-text-widget, describe-text-sexp, describe-property-list):
9634 * comint.el (comint-history-isearch-push-state): Use a closure.
9635 * calculator.el: Use lexical-binding.
9636 (calculator-number-to-string): Make it work with lexical-binding.
9637 (calculator-funcall): Same and use cl-letf.
9639 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9640 (lisp--company-doc-string, lisp--company-location): New functions.
9641 (lisp-completion-at-point): Use them to improve Company support.
9643 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9644 params of lambda expressions.
9645 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9646 (ruby-smie--opening-pipe-p): New function.
9647 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9648 symbols and matched |...| for formal params.
9649 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9650 from being treated as hanging. Handle "rescue".
9652 2013-08-29 Glenn Morris <rgm@gnu.org>
9654 * progmodes/cc-engine.el (c-pull-open-brace):
9655 Move definition before use.
9657 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9659 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9660 are immutable. Don't use `unsafe' any more.
9661 (cl--defsubst-expand): Don't substitute at the same time as keeping
9662 a residual unused let-binding. Don't use `unsafe' any more.
9664 2013-08-29 Glenn Morris <rgm@gnu.org>
9666 * calendar/cal-china.el (calendar-chinese-year-cache):
9669 * nxml/nxml-util.el (nxml-debug-clear-inside):
9670 Use cl-loop rather than loop.
9672 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9674 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9676 2013-08-28 Glenn Morris <rgm@gnu.org>
9678 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9680 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9682 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9684 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9686 * simple.el (repeat-complex-command--called-interactively-skip):
9688 (repeat-complex-command): Use it (bug#14136).
9690 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9691 (c-define-abbrev-table): Add `doc' argument.
9692 (c-mode-abbrev-table, c++-mode-abbrev-table)
9693 (objc-mode-abbrev-table, java-mode-abbrev-table)
9694 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9695 (awk-mode-abbrev-table): Use it.
9696 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9697 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9698 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9699 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9700 Move initialization into the declaration; and remove any
9703 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9704 and dynamic let binding.
9706 * vc/smerge-mode.el: Remove redundant :group args.
9708 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9711 2013-08-28 Juri Linkov <juri@jurta.org>
9713 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9714 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9715 (isearch-other-meta-char): Handle an undefined shifted printing
9716 character by downshifting it. (Bug#15200)
9718 2013-08-28 Juri Linkov <juri@jurta.org>
9720 * isearch.el (isearch-search): Change regexp error message for
9721 non-regexp searches. (Bug#15166)
9723 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9725 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9726 for portability to hosts where /bin/sh has problems.
9728 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9732 2013-08-27 Juri Linkov <juri@jurta.org>
9734 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9735 in the keyboard macro. (Bug#15126)
9737 2013-08-27 Juri Linkov <juri@jurta.org>
9739 * isearch.el (isearch-quote-char): Comment out converting unibyte
9740 to multibyte, thus syncing with its `quoted-insert' counterpart.
9743 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9745 * window.el (display-buffer-use-some-window): Add missing
9746 argument in call of get-largest-window (Bug#15185).
9747 Reported by Stephen Leake.
9749 2013-08-27 Glenn Morris <rgm@gnu.org>
9751 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9753 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9755 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9756 from a matcher-function unless there's no more matches (bug#15161).
9758 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9760 * minibuffer.el: Revert change from 2013-08-20.
9762 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9763 with text property `tramp-default', if appropriate.
9764 (tramp-check-proper-host): New defun.
9765 (tramp-dissect-file-name): Do not check hostname. Revert change
9767 (tramp-backtrace): Make VEC-OR-PROC optional.
9769 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9770 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9771 * net/tramp-sh.el (tramp-maybe-open-connection):
9772 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9773 Apply `tramp-check-proper-host'.
9775 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9777 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9778 lambda expression in order to have `describe-variable' display it.
9780 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9782 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9783 BUF can be optional. (Bug#15186)
9785 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9787 * progmodes/flymake.el (flymake-get-real-file-name-function):
9788 Fix broken customization. (Bug#15184)
9790 2013-08-25 Alan Mackenzie <acm@muc.de>
9792 Improve indentation of bracelists defined by macros (without "=").
9794 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9795 expansion begins with "{", regard it as bracelist when it doesn't
9798 Parse C++ inher-intro when there's a template split over 2 lines.
9800 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9801 rigorously the search for "class" etc. followed by ":".
9803 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9804 random languages a regexp which never matches rather than nil.
9806 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9808 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9809 (c-awk-regexp-one-line-possibly-open-char-list-re)
9810 (c-awk-one-line-possibly-open-regexp-re)
9811 (c-awk-one-line-non-syn-ws*-re): Remove.
9812 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9813 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9814 (c-awk-space*-unclosed-regexp-/-re): New constants.
9815 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9816 aren't regexp delimiters.
9818 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9819 handling for a rare situation in AWK Mode involving unterminated
9822 2013-08-23 Glenn Morris <rgm@gnu.org>
9824 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9826 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9828 * files.el (create-file-buffer): If the result would begin with
9829 spaces, prepend a "|" instead of removing them. (Bug#15162)
9831 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9833 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9834 text-properties (bug#15155).
9836 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9838 (calc-keypad-redraw): Remove unused var `pad'.
9839 (calc-keypad-press): Remove unused var `menu'.
9841 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9843 * window.el (display-buffer-pop-up-frame):
9844 Call pop-up-frame-function with BUFFER current so `make-frame' will
9845 use it as the new frame's buffer (Bug#15133).
9847 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * calendar/timeclock.el: Minor cleanups.
9850 (timeclock-ask-before-exiting, timeclock-use-display-time):
9852 (timeclock-modeline-display): Define as alias before the
9854 (timeclock-mode-line-display): Use define-minor-mode.
9855 (timeclock-day-list-template): Make it a function, add an argument.
9856 (timeclock-day-list-required, timeclock-day-list-length)
9857 (timeclock-day-list-debt, timeclock-day-list-span)
9858 (timeclock-day-list-break): Adjust calls accordingly.
9860 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9862 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9863 Use read--expression so that completion works again.
9865 2013-08-21 Sam Steingold <sds@gnu.org>
9867 Add rudimentary inferior shell interaction
9868 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9869 (sh-set-shell): Reset it.
9870 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9871 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9873 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9875 * align.el: Use lexical-binding.
9876 (align-region): Simplify accordingly.
9878 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9880 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9882 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9885 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9889 * net/tramp-cmds.el:
9891 * net/tramp-gvfs.el:
9893 * net/tramp-sh.el: Don't wrap external variable declarations by
9894 `eval-when-compile'.
9896 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9898 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9899 now that Emacs supports ImageMagick animations.
9901 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9903 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9904 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9906 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9908 * window.el (mouse-autoselect-window-select): Do autoselect when
9909 mouse pointer is on margin.
9911 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9913 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9915 2013-08-16 Glenn Morris <rgm@gnu.org>
9917 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9918 Handle "Remote Directory" response of some clients. (Bug#15058)
9920 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9921 Tweak warning. (Bug#14926)
9923 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9924 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9926 * image-mode.el (image-mode-map): Add menu items to reverse,
9927 increase, decrease, reset animation speed.
9928 (image--set-speed, image-increase-speed, image-decrease-speed)
9929 (image-reverse-speed, image-reset-speed): New functions.
9930 (image-mode-map): Add bindings for speed commands.
9932 * image.el (image-animate-get-speed, image-animate-set-speed):
9934 (image-animate-timeout): Respect image :speed property.
9936 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9938 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9939 previous line (bug#15101).
9940 (debugger-eval-expression, debugger-record-expression):
9941 Use read--expression (bug#15102).
9943 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9945 Remove byte compiler warnings, visible when compiling with
9946 `byte-compile-force-lexical-warnings' set to t.
9948 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9949 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9950 (tramp-handle-unhandled-file-name-directory)
9951 (tramp-handle-file-notify-add-watch, tramp-action-login)
9952 (tramp-action-succeed, tramp-action-permission-denied)
9953 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9956 * net/tramp-adb.el (tramp-adb-parse-device-names)
9957 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9958 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9959 (tramp-adb-handle-file-truename): Remove unused arguments.
9961 * net/tramp-cache.el (tramp-flush-directory-property)
9962 (tramp-flush-connection-property, tramp-list-connections)
9963 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9965 * net/tramp-compat.el (tramp-compat-make-temp-file):
9966 Rename FILENAME to F.
9968 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9969 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9970 (tramp-zeroconf-parse-workstation-device-names)
9971 (tramp-zeroconf-parse-webdav-device-names)
9972 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9974 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9975 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9977 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9979 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9980 (tramp-sh-handle-insert-file-contents-literally)
9981 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9983 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9984 Remove unused variables.
9986 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9987 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9988 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9990 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9991 Make them a defconst.
9992 (tramp-uuencode-region): Remove unused variable.
9994 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9996 * frameset.el (frameset--prop-setter): New function.
9997 (frameset-prop): Add gv-setter declaration.
9998 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9999 parameter was already set in FILTERED. Doc fix.
10000 (frameset--record-minibuffer-relationships): Allow saving a
10001 minibufferless frame without its corresponding minibuffer frame.
10002 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10003 frame, if the frame id matches.
10004 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10005 frames before orphaned ones.
10006 (frameset-restore): Warn about orphaned windows, instead of error out.
10008 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10010 * window.el (window-make-atom): Don't overwrite parameter
10012 (display-buffer-in-atom-window): Handle special case where we
10013 split an already atomic window.
10014 (window--major-non-side-window, display-buffer-in-side-window)
10015 (window--side-check): Ignore minibuffer window when walking
10017 (window-deletable-p): Return 'frame only if no other frame uses
10018 our minibuffer window.
10019 (record-window-buffer): Run buffer-list-update-hook.
10020 (split-window): Make sure window--check-frame won't destroy an
10021 existing atomic window in case the new window gets nested
10023 (display-buffer-at-bottom): Ignore minibuffer window when
10024 walking window tree. Don't split a side window.
10025 (pop-to-buffer): Don't set-buffer here, the select-window call
10027 (mouse-autoselect-window-select): Autoselect only if we are in the
10028 text portion of the window.
10030 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10032 * net/shr.el (shr-parse-image-data): New function to grab both the
10033 data itself and the Content-Type.
10034 (shr-put-image): Use it.
10036 * net/eww.el (eww-display-image): Ditto.
10038 * image.el (image-content-type-suffixes): New variable.
10040 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10042 * progmodes/python.el (python-imenu--build-tree)
10043 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10045 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10047 * simple.el (backward-word): Mention the optional argument.
10049 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10051 * frameset.el (frameset--make): Rename constructor from make-frameset.
10052 (frameset-p, frameset-valid-p): Don't autoload.
10053 (frameset-valid-p): Use normal accessors.
10055 2013-08-13 Glenn Morris <rgm@gnu.org>
10057 * progmodes/compile.el (compile-command): Tweak example in doc.
10058 * obsolete/scribe.el (scribe-mode):
10059 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10061 * mail/feedmail.el (feedmail-confirm-outgoing)
10062 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10064 * cus-start.el (truncate-partial-width-windows): Fix type.
10066 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10068 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10070 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10072 * emacs-lisp/timer.el (timer--time-setter): New function.
10073 (timer--time): Use it as gv-setter.
10075 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10076 setter is not a symbol.
10078 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10080 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10081 if sending fails. This makes debugging easier.
10083 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10085 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10086 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10087 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10089 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10091 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10093 2013-08-12 Glenn Morris <rgm@gnu.org>
10095 * format.el (format-annotate-function):
10096 Handle read-only text properties in the source. (Bug#14887)
10098 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10100 * net/eww.el (eww-display-html): Ignore coding system errors.
10101 One web site uses "utf-8lias" as the coding system.
10103 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10105 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10107 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10109 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10110 (tutorial--detailed-help): Remove unused local variables.
10111 (tutorial--save-tutorial-to): Use ignore-errors.
10112 (help-with-tutorial): Use looking-at-p.
10114 * view.el (view-buffer-other-window, view-buffer-other-frame):
10115 Mark unused arguments.
10117 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10118 (woman-select-symbol-fonts, woman, woman-find-file)
10119 (woman-insert-file-contents, woman-non-underline-faces):
10120 Use string-match-p.
10121 (woman1-unquote): Move declaration.
10123 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10124 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10125 argument. Remove unused local variable.
10126 (xml-parse-elem-type): Use string-match-p.
10127 (xml-substitute-numeric-entities): Use ignore-errors.
10129 * calculator.el (calculator): Mark unused argument.
10130 (calculator-paste, calculator-quit, calculator-integer-p):
10132 (calculator-string-to-number, calculator-decimal, calculator-exp)
10133 (calculator-op-or-exp): Use string-match-p.
10135 * dired.el (dired-buffer-more-recently-used-p): Declare.
10136 (dired-insert-set-properties, dired-insert-old-subdirs):
10139 * dired-aux.el (dired-compress): Use ignore-errors.
10140 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10141 (dired-do-async-shell-command, dired-do-shell-command)
10142 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10143 (dired-insert-subdir-validate): Use string-match-p.
10144 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10145 (dired-add-entry): Use string-match-p, looking-at-p.
10146 (dired-insert-subdir-newpos): Remove unused local variable.
10148 * filenotify.el (file-notify-callback): Remove unused local variable.
10150 * filesets.el (filesets-error): Mark unused argument.
10151 (filesets-which-command-p, filesets-filter-dir-names)
10152 (filesets-directory-files, filesets-get-external-viewer)
10153 (filesets-ingroup-get-data): Use string-match-p.
10155 * find-file.el (ff-other-file-name, ff-other-file-name)
10156 (ff-find-the-other-file, ff-cc-hh-converter):
10157 Remove unused local variables.
10158 (ff-get-file-name): Use string-match-p.
10159 (ff-all-dirs-under): Use ignore-errors.
10161 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10162 (follow-select-if-visible): Remove unused local variable.
10164 * forms.el (read-file-filter): Move declaration.
10165 (forms--make-format, forms--make-parser, forms-insert-record):
10166 Quote function with #'.
10167 (forms--update): Use string-match-p. Quote function with #'.
10169 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10170 (help-make-xrefs): Use looking-at-p.
10171 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10173 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10174 (ibuffer-confirm-operation-on): Use string-match-p.
10176 * msb.el (msb-item-handler, msb-dired-item-handler):
10177 Mark unused arguments.
10179 * ses.el (ses-decode-cell-symbol)
10180 (ses-kill-override): Remove unused local variable.
10181 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10182 (ses-load): Use ignore-errors, looking-at-p.
10183 (ses-jump-safe): Use ignore-errors.
10184 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10186 * tabify.el (untabify, tabify): Mark unused arguments.
10188 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10189 Mark unused argument.
10190 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10191 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10193 * emacs-lisp/timer.el (timer--time): Define setter with
10194 gv-define-setter to avoid deprecation warning.
10196 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10197 (*record-cmpl-statistics-p*): Remove (was commented out).
10198 (cmpl-statistics-block): Remove (body was commented out).
10199 All callers changed.
10200 (add-completions-from-buffer, load-completions-from-file):
10201 Remove unused variables.
10203 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10205 * filecache.el (file-cache-delete-file-list):
10206 Print message only when told so.
10207 (file-cache-files-matching): Use #' in mapconcat argument.
10209 * ffap.el (ffap-url-at-point): Fix reference to variable
10210 thing-at-point-default-mail-uri-scheme.
10212 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * subr.el (define-error): New function.
10215 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10216 error-file-not-found and define with define-error.
10217 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10218 and define with define-error.
10219 * userlock.el (file-locked, file-supersession):
10220 * simple.el (mark-inactive):
10221 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10222 * progmodes/ada-mode.el (ada-mode-errors):
10223 * play/life.el (life-extinct):
10224 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10225 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10226 * nxml/rng-util.el (rng-error):
10227 * nxml/rng-uri.el (rng-uri-error):
10228 * nxml/rng-match.el (rng-compile-error):
10229 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10230 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10231 * nxml/nxml-rap.el (nxml-scan-error):
10232 * nxml/nxml-outln.el (nxml-outline-error):
10233 * net/soap-client.el (soap-error):
10234 * net/gnutls.el (gnutls-error):
10235 * net/ange-ftp.el (ftp-error):
10236 * mpc.el (mpc-proc-error):
10237 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10238 (json-number-format, json-string-escape, json-string-format)
10239 (json-key-format, json-object-format):
10240 * jka-compr.el (compression-error):
10241 * international/quail.el (quail-error):
10242 * international/kkc.el (kkc-error):
10243 * emacs-lisp/ert.el (ert-test-failed):
10244 * calc/calc.el (calc-error, inexact-result, math-overflow)
10246 * bookmark.el (bookmark-error-no-filename):
10247 * epg.el (epg-error): Define with define-error.
10249 * time.el (display-time-event-handler)
10250 (display-time-next-load-average): Don't call sit-for since it seems
10251 unnecessary (bug#15045).
10253 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10254 Use #' instead of ' to quote functions.
10255 (checkdoc-output-mode): Use setq-local.
10256 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10257 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10258 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10259 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10260 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10261 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10262 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10263 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10265 * ido.el (ido-completion-help): Fix up compiler warning.
10267 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10269 * frameset.el (frameset-p): Add autoload cookie.
10270 (frameset--jump-to-register): New function, based on code moved from
10272 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10274 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10275 (frameset-restore, frameset-save, frameset-session-filter-alist):
10276 Remove declarations.
10277 (register-alist): Doc fix.
10278 (frameset-to-register): Move to frameset.el.
10279 (jump-to-register, describe-register-1): Remove frameset-specific code.
10281 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10283 * allout-widgets.el (allout-widgets-pre-command-business)
10284 (allout-widgets-post-command-business)
10285 (allout-widgets-after-change-handler)
10286 (allout-decorate-item-and-context, allout-set-boundary-marker)
10287 (allout-body-modification-handler)
10288 (allout-graphics-modification-handler): Mark ignored arguments.
10289 (allout-widgets-post-command-business)
10290 (allout-widgets-exposure-change-processor)
10291 (allout-widgets-exposure-undo-processor)
10292 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10293 (allout-parse-item-at-point, allout-decorate-item-guides)
10294 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10295 * allout.el (epa-passphrase-callback-function): Declare.
10296 (allout-overlay-insert-in-front-handler)
10297 (allout-overlay-interior-modification-handler)
10298 (allout-isearch-end-handler, allout-chart-siblings)
10299 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10300 (allout-yank-processing, allout-process-exposed)
10301 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10302 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10303 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10304 (lisp-indent-defform): Mark ignored arguments.
10305 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10306 (calculate-lisp-indent): Remove unused variables.
10307 * international/characters.el (indian-2-column, arabic-2-column)
10308 (tibetan): Mark ignored arguments.
10309 (use-cjk-char-width-table): Mark ignored arguments.
10310 Remove unused variables.
10311 * international/fontset.el (build-default-fontset-data)
10312 (x-compose-font-name, create-fontset-from-fontset-spec):
10313 Mark ignored arguments.
10314 (fontset-plain-name): Remove unused variables.
10315 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10316 (keyboard-coding-system): Mark ignored arguments.
10317 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10318 * help.el (resize-temp-buffer-window):
10319 * window.el (display-buffer-in-major-side-window)
10320 (display-buffer-in-side-window, display-buffer-in-previous-window):
10321 Remove unused variables.
10322 * isearch.el (isearch-forward-symbol):
10323 * version.el (emacs-bzr-version-bzr):
10324 * international/mule-cmds.el (current-language-environment):
10325 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10326 (x-handle-display):
10327 * term/pc-win.el (x-list-fonts, x-display-planes)
10328 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10329 (x-server-version, x-display-screens, x-display-mm-height)
10330 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10331 (x-selection-owner-p, x-own-selection-internal)
10332 (x-disown-selection-internal, x-get-selection-internal)
10333 (msdos-initialize-window-system):
10334 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10335 * term/x-win.el (x-handle-no-bitmap-icon):
10336 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10337 (vc-default-find-file-hook, vc-default-extra-menu):
10338 Mark ignored arguments.
10340 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10342 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10343 break-condition in the context of the debugged code (bug#12685).
10345 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10348 Do not use an overlay to highlight the last prompt. (Bug#14744)
10349 (comint-mode): Make comint-last-prompt buffer local.
10350 (comint-last-prompt): New variable.
10351 (comint-last-prompt-overlay): Remove. Superseded by
10352 comint-last-prompt.
10353 (comint-snapshot-last-prompt, comint-output-filter):
10354 Use comint-last-prompt.
10356 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10358 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10359 (frameset-save): Check validity of the resulting frameset.
10361 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10363 * ido.el (ido-record-command): Add doc string.
10365 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10367 * frameset.el (frameset): Do not disable creation of the default
10368 frameset-p predicate. Doc fix.
10369 (frameset-valid-p): New function, copied from the old predicate-p.
10370 Add additional checks.
10371 (frameset-restore): Check with frameset-valid-p.
10372 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10373 (frameset-name, frameset-description, frameset-properties)
10374 (frameset-states): Add docstring.
10375 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10376 (frameset-filter-alist): Doc fixes.
10378 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10380 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10382 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10384 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10385 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10386 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10387 (byte-compile-normal-call): Remove obsolescence check.
10389 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10391 * frameset.el (frameset-restore): Doc fix.
10393 * register.el (frameset-frame-id, frameset-frame-with-id)
10394 (frameset-p, frameset-restore, frameset-save): Declare.
10395 (register-alist): Document framesets.
10396 (frameset-session-filter-alist): Declare.
10397 (frameset-to-register): New function.
10398 (jump-to-register): Implement jumping to framesets. Doc fix.
10399 (describe-register-1): Describe framesets.
10401 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10403 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10405 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10406 Use lexical-binding.
10408 * frameset.el (frameset): Use type vector, not list (incompatible
10409 change). Do not declare a new constructor, use the default one.
10410 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10411 `name' and `description', respectively, and add read-only slot
10412 `timestamp'. Doc fixes.
10413 (frameset-copy, frameset-persistent-filter-alist)
10414 (frameset-filter-alist, frameset-switch-to-gui-p)
10415 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10416 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10417 (frameset-filter-iconified, frameset-keep-original-display-p):
10419 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10420 Rename from frameset-filter-(save|restore)-param. All callers changed.
10422 (frameset-p): Adapt to change to vector and be more thorough.
10423 Change arg name to OBJECT. Doc fix.
10424 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10425 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10426 All callers changed.
10427 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10428 All callers changed.
10429 (frameset--record-minibuffer-relationships): Rename from
10430 frameset--process-minibuffer-frames. All callers changed.
10431 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10432 Use new default constructor (again). Doc fix.
10433 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10434 All callers changed.
10435 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10436 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10438 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10439 PARAMETERS and WINDOW-STATE, respectively.
10440 (frameset-restore): Add new keyword argument PREDICATE.
10441 Reset frameset--target-display to nil. Doc fix.
10443 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10446 (bat-mode): Use it.
10447 (bat-mode-syntax-table): Mark \n as end-of-comment.
10448 (bat-font-lock-keywords): Remove comment rule.
10450 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10451 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10453 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10454 (byte-compile-callargs-warn): Use `push'.
10455 (byte-compile-arglist-warn): Ignore higher-order "calls".
10456 (byte-compile-file-form-autoload): Use `pcase'.
10457 (byte-compile-function-form): If quoting a symbol, check that it exists.
10459 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10461 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10462 and add a few popular commands found in batch files.
10463 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10464 (dos-mode): Doc fixes.
10466 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10468 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10469 (dos-mode): Use setq-local. Add space after "rem".
10470 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10471 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10473 2013-08-07 Arni Magnusson <arnima@hafro.is>
10475 * progmodes/dos.el: New file.
10476 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10479 2013-08-06 Glenn Morris <rgm@gnu.org>
10481 * calendar/calendar.el: Add new faces, and day-header-array.
10482 (calendar-weekday-header, calendar-weekend-header)
10483 (calendar-month-header): New faces.
10484 (calendar-day-header-construct): New function.
10485 (calendar-day-header-width): Also :set calendar-day-header-array.
10486 (calendar-american-month-header, calendar-european-month-header)
10487 (calendar-iso-month-header): Use calendar- faces.
10488 (calendar-generate-month):
10489 Use calendar-day-header-array for day headers; apply faces to them.
10490 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10491 (calendar-abbrev-construct): Add optional maxlen argument.
10492 (calendar-day-name-array): Doc fix.
10493 (calendar-day-name-array, calendar-abbrev-length)
10494 (calendar-day-abbrev-array):
10495 Also :set calendar-day-header-array, and maybe redraw.
10496 (calendar-day-header-array): New option. (Bug#15007)
10497 (calendar-font-lock-keywords): Set to nil and make obsolete.
10498 (calendar-day-name): Add option to use header array.
10500 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10502 * net/shr.el (shr-render-td): Remove debugging.
10503 (shr-render-td): Make width computation consistent by defaulting
10504 all zero-width columns to 10 characters. This may not be optimal,
10505 but it's at least consistent.
10506 (shr-make-table-1): Redo last change to fix the real problem in
10509 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10511 * files.el (cache-long-line-scans):
10512 Make obsolete alias to `cache-long-scans'.
10514 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10516 * frameset.el (frameset, frameset-filter-alist)
10517 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10518 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10519 (frameset-compute-pos): Rename from frameset--compute-pos,
10521 (frameset-move-onscreen): Use frameset-compute-pos.
10522 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10524 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10525 Fix typos in docstrings.
10527 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10529 * frame.el (get-other-frame): Tiny cleanup.
10531 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10533 * vc/vc.el (vc-default-ignore-completion-table):
10534 Silence byte-compiler warning.
10536 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10537 slot, which can indeed be nil.
10538 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10539 Move entry for `left' from persistent to live filter alist.
10540 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10542 (frameset-filter-params): When restoring a frame, copy items added to
10543 `filtered', to avoid unwittingly modifying the original parameters.
10544 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10545 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10547 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10548 to use looking-at-p instead of looking-at. (Bug#15028)
10550 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10552 Revert introduction of isearch-filter-predicates (bug#14714).
10553 Rely on add-function instead.
10554 * isearch.el (isearch-filter-predicates): Rename it back to
10555 isearch-filter-predicate.
10556 (isearch-message-prefix): Use advice-function-mapc and advice
10557 properties to get the isearch-message-prefix.
10558 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10559 instead of run-hook-with-args-until-failure.
10560 (isearch-filter-visible): Not obsolete any more.
10561 * loadup.el: Preload nadvice.
10562 * replace.el (perform-replace): Revert to funcall
10563 instead of run-hook-with-args-until-failure.
10564 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10565 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10566 dired-isearch-filenames-toggle; make it into a proper minor mode.
10567 Use add/remove-function.
10568 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10569 Call the minor-mode rather than add/remove-hook.
10570 (dired-isearch-filter-filenames):
10571 Remove isearch-message-prefix property.
10572 * info.el (Info--search-loop): New function, extracted from Info-search.
10573 Funcall isearch-filter-predicate instead of
10574 run-hook-with-args-until-failure isearch-filter-predicates.
10575 (Info-search): Use it.
10576 (Info-mode): Use isearch-filter-predicate instead of
10577 isearch-filter-predicates.
10579 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10581 Do not call to `selected-window' where it is assumed by default.
10582 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10583 `window-hscroll', `window-width', `window-height', `window-buffer',
10584 `window-frame', `window-start', `window-point', `next-window'
10585 and `window-display-table'.
10586 * abbrev.el (abbrev--default-expand):
10587 * bs.el (bs--show-with-configuration):
10588 * buff-menu.el (Buffer-menu-mouse-select):
10589 * calc/calc.el (calc):
10590 * calendar/calendar.el (calendar-generate-window):
10591 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10592 (diary-make-entry):
10593 * comint.el (send-invisible, comint-dynamic-complete-filename)
10594 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10595 * completion.el (complete):
10596 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10597 * disp-table.el (describe-current-display-table):
10598 * doc-view.el (doc-view-insert-image):
10599 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10600 * ehelp.el (with-electric-help):
10601 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10602 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10603 * emacs-lisp/helper.el (Helper-help-scroller):
10604 * emulation/cua-base.el (cua--post-command-handler-1):
10605 * eshell/esh-mode.el (eshell-output-filter):
10606 * ffap.el (ffap-gnus-wrapper):
10607 * help-macro.el (make-help-screen):
10608 * hilit-chg.el (highlight-compare-buffers):
10609 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10610 * hl-line.el (global-hl-line-highlight):
10611 * icomplete.el (icomplete-simple-completing-p):
10612 * isearch.el (isearch-done):
10613 * jit-lock.el (jit-lock-stealth-fontify):
10614 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10615 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10616 * mpc.el (mpc-tagbrowser, mpc):
10617 * net/rcirc.el (rcirc-any-buffer):
10618 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10619 * play/landmark.el (landmark-max-width, landmark-max-height):
10620 * play/zone.el (zone):
10621 * progmodes/compile.el (compilation-goto-locus):
10622 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10623 * progmodes/etags.el (find-tag-other-window):
10624 * progmodes/fortran.el (fortran-column-ruler):
10625 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10626 * progmodes/verilog-mode.el (verilog-point-text):
10627 * reposition.el (reposition-window):
10628 * rot13.el (toggle-rot13-mode):
10629 * server.el (server-switch-buffer):
10630 * shell.el (shell-dynamic-complete-command)
10631 (shell-dynamic-complete-environment-variable):
10632 * simple.el (insert-buffer, set-selective-display)
10633 (delete-completion-window):
10634 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10635 (speedbar-recenter):
10636 * startup.el (fancy-splash-head):
10637 * textmodes/ispell.el (ispell-command-loop):
10638 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10639 * tutorial.el (help-with-tutorial):
10640 * vc/add-log.el (add-change-log-entry):
10641 * vc/compare-w.el (compare-windows):
10642 * vc/ediff-help.el (ediff-indent-help-message):
10643 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10644 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10645 (ediff-setup-control-frame):
10646 * vc/emerge.el (emerge-position-region):
10647 * vc/pcvs-util.el (cvs-bury-buffer):
10648 * window.el (walk-windows, mouse-autoselect-window-select):
10649 * winner.el (winner-set-conf, winner-undo): Related users changed.
10651 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10653 * frameset.el (frameset--set-id): Doc fix.
10654 (frameset-frame-id, frameset-frame-id-equal-p)
10655 (frameset-locate-frame-id): New functions.
10656 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10657 (frameset-restore): Use them.
10659 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10661 Do not call to `selected-frame' where it is assumed by default.
10662 Affected functions are `raise-frame', `redraw-frame',
10663 `frame-first-window', `frame-terminal' and `delete-frame'.
10664 * calendar/appt.el (appt-disp-window):
10665 * epg.el (epg-wait-for-completion):
10666 * follow.el (follow-delete-other-windows-and-split)
10667 (follow-avoid-tail-recenter):
10668 * international/mule.el (set-terminal-coding-system):
10669 * mail/rmail.el (rmail-mail-return):
10670 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10671 * progmodes/f90.el (f90-add-imenu-menu):
10672 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10673 * server.el (server-switch-buffer):
10674 * simple.el (delete-completion-window):
10676 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10677 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10678 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10679 * vc/ediff.el (ediff-documentation): Related users changed.
10680 * frame.el (selected-terminal): Remove the leftover.
10682 2013-08-05 Glenn Morris <rgm@gnu.org>
10684 * calendar/calendar.el (calendar-generate-month):
10685 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10686 (calendar-generate-month, calendar-font-lock-keywords):
10687 Fix for calendar-day-header-width > length of any day name.
10689 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10691 * desktop.el (desktop-clear): Use new name of sort predicate.
10693 * frameset.el (frameset): Add docstring. Move :version property to its
10694 own `version' slot.
10695 (frameset-copy): Rename from copy-frameset.
10696 (frameset-p): Check more thoroughly.
10697 (frameset-prop): Do not check for :version, which is no longer a prop.
10698 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10699 Use new :never value instead of t.
10700 (frameset-filter-alist): Expand and clarify docstring.
10701 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10702 (frameset-filter-minibuffer, frameset-filter-save-param)
10703 (frameset-filter-restore-param, frameset-filter-iconified):
10704 Add pointer to docstring of frameset-filter-alist.
10705 (frameset-filter-params): Rename filter values to be more meaningful:
10706 :never instead of t, and reverse the meanings of :save and :restore.
10707 (frameset--process-minibuffer-frames): Clarify error message.
10708 (frameset-save): Avoid unnecessary and confusing call to framep.
10709 Use new BOA constructor for framesets.
10710 (frameset--reuse-list): Doc fix.
10711 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10712 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10713 (frameset-minibufferless-first-p): Doc fix.
10714 Rename from frameset-sort-frames-for-deletion.
10715 (frameset-restore): Doc fixes. Use new function names.
10716 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10718 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10720 * desktop.el (desktop-restore-forces-onscreen)
10721 (desktop-restore-reuses-frames): Document :keyword constant values.
10722 (desktop-filter-parameters-alist): Remove, now identical to
10723 frameset-filter-alist.
10724 (desktop--filter-tty*): Remove, moved to frameset.el.
10725 (desktop-save-frameset, desktop-restore-frameset):
10726 Do not pass :filters argument.
10728 * frameset.el (frameset-live-filter-alist)
10729 (frameset-persistent-filter-alist): New variables.
10730 (frameset-filter-alist): Use them. Add autoload cookie.
10731 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10732 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10733 `frameset--id' (it's supposed to be internal to frameset.el).
10734 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10735 (frameset--initial-params): New function.
10736 (frameset--get-frame): Use it. Doc fix.
10737 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10738 Accept :all, not 'all.
10739 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10740 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10741 with fbound symbols. Fix frame id matching, and remove matching ids if
10742 the frame being restored is deleted. Obey :delete.
10744 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10746 * subr.el (macrop): New function.
10747 (text-clone--maintaining): New var.
10748 (text-clone--maintain): Rename from text-clone-maintain. Use it
10749 instead of inhibit-modification-hooks.
10751 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10752 a proxy, so as handle autoloads and redefinitions of the target.
10753 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10755 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10756 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10757 (pcase--mutually-exclusive-p): New function.
10758 (pcase--split-consp): Use it.
10759 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10760 mutually exclusive with the current predicate.
10762 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10763 (edebug-macrop): Remove. Use `macrop' instead.
10764 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10766 * eshell/esh-cmd.el (eshell-macrop):
10767 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10769 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10772 (advice-mapc): New function, using it.
10773 (advice-function-member-p): New function.
10774 (advice--normalize): Store the cdr in advice--saved-rewrite since
10775 that's the part that will be changed.
10776 (advice--symbol-function): New function.
10777 (advice-remove): Handle removal before the function is defined.
10778 Adjust to new advice--saved-rewrite.
10779 (advice-member-p): Use advice-function-member-p and
10780 advice--symbol-function.
10782 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10784 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10785 (frameset-filter-minibuffer): Doc fix.
10786 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10787 (frameset--set-id, frameset--process-minibuffer-frames)
10788 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10789 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10791 * desktop.el (desktop-clear): Only delete frames when called
10792 interactively and desktop-restore-frames is non-nil. Doc fix.
10793 (desktop-read): Set desktop-saved-frameset to nil.
10795 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10797 * vc/vc.el (vc-ignore): Rewrite.
10798 (vc-default-ignore-completion-table, vc--read-lines)
10799 (vc--add-line, vc--remove-regexp): New functions.
10801 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10802 (vc-svn-ignore-completion-table): New function.
10804 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10805 (vc-hg-ignore-completion-table)
10806 (vc-hg-find-ignore-file): New functions.
10808 * vc/vc-git.el (vc-git-ignore): Rewrite.
10809 (vc-git-ignore-completion-table)
10810 (vc-git-find-ignore-file): New functions.
10812 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10814 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10815 (vc-bzr-ignore-completion-table)
10816 (vc-bzr-find-ignore-file): New functions.
10818 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10820 * frameset.el (frameset-prop): New function and setter.
10821 (frameset-save): Do not modify frame list passed by the caller.
10823 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10825 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10827 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10829 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10830 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10832 * custom.el (custom-initialize-default, custom-initialize-set)
10833 (custom-initialize-reset, custom-initialize-changed): Affect the
10834 toplevel-default-value (bug#6275, bug#14586).
10835 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10838 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10840 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10841 Add cl-def* expressions.
10843 * frameset.el (frameset-filter-params): Fix order of arguments.
10845 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10847 Move code related to saving frames to frameset.el.
10848 * desktop.el: Require frameset.
10849 (desktop-restore-frames): Doc fix.
10850 (desktop-restore-reuses-frames): Rename from
10851 desktop-restoring-reuses-frames.
10852 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10853 (desktop-clear): Clear frames too.
10854 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10855 (desktop--filter-tty*, desktop-save, desktop-read):
10856 Use frameset functions.
10857 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10858 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10859 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10860 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10861 (desktop--process-minibuffer-frames, desktop-save-frames)
10862 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10863 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10864 (desktop--sort-states, desktop-restoring-frames-p)
10865 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10866 (desktop-restoring-frameset-p, desktop-restore-frameset)
10867 (desktop--check-dont-save, desktop-save-frameset): New functions.
10868 (desktop--app-id): New constant.
10869 (desktop-first-buffer, desktop-buffer-ok-count)
10870 (desktop-buffer-fail-count): Move before first use.
10871 * frameset.el: New file.
10873 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10875 * files.el: Use lexical-binding.
10876 (dir-locals-read-from-file): Remove unused `err' variable.
10877 (hack-dir-local-variables--warned-coding): New var.
10878 (hack-dir-local-variables): Use it to avoid repeated warnings.
10879 (make-backup-file-name--default-function): New function.
10880 (make-backup-file-name-function): Use it as default.
10881 (buffer-stale--default-function): New function.
10882 (buffer-stale-function): Use it as default.
10883 (revert-buffer-insert-file-contents--default-function): New function.
10884 (revert-buffer-insert-file-contents-function): Use it as default.
10885 (insert-directory): Avoid add-to-list.
10887 * autorevert.el (auto-revert-handler): Simplify.
10888 Use buffer-stale--default-function.
10890 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10892 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10894 * whitespace.el (whitespace-ensure-local-variables): New function.
10895 (whitespace-cleanup-region): Call it.
10896 (whitespace-turn-on): Call it.
10898 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10900 Complete file name handlers.
10902 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10903 (tramp-handle-verify-visited-file-modtime)
10904 (tramp-handle-file-notify-rm-watch): New functions.
10905 (tramp-call-process): Do not bind `default-directory'.
10907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10908 Order alphabetically.
10909 <access-file, add-name-to-file, dired-call-process>:
10910 <dired-compress-file, file-acl, file-notify-rm-watch>:
10911 <file-ownership-preserved-p, file-selinux-context>:
10912 <make-directory-internal, make-symbolic-link, set-file-acl>:
10913 <set-file-selinux-context, set-visited-file-modtime>:
10914 <verify-visited-file-modtime>: Add handler.
10915 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10918 <file-notify-add-watch, file-notify-rm-watch>:
10919 <set-file-times, set-visited-file-modtime>:
10920 <verify-visited-file-modtime>: Add handler.
10921 (with-tramp-gvfs-error-message)
10922 (tramp-gvfs-handle-set-visited-file-modtime)
10923 (tramp-gvfs-fuse-file-name): Remove.
10924 (tramp-gvfs-handle-file-notify-add-watch)
10925 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10926 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10928 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10929 Order alphabetically.
10930 <file-notify-rm-watch>: Use default Tramp handler.
10931 <executable-find>: Remove private handler.
10932 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10933 `default-directory'.
10934 (tramp-sh-handle-executable-find)
10935 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10936 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10937 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10938 Do not use `format' in `tramp-message'.
10940 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10941 <file-notify-rm-watch, set-visited-file-modtime>:
10942 <verify-visited-file-modtime>: Add handler.
10943 (tramp-smb-call-winexe): Do not bind `default-directory'.
10945 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10947 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10949 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10951 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10953 (log-view-diff-changeset): Same.
10954 (log-view-diff-common): Call backend command `previous-revision'
10955 to find out the previous revision, in both cases. Swap the
10956 variables `to' and `fr', so that `fr' usually refers to the
10957 earlier revision (Bug#14989).
10959 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10961 * ibuf-ext.el (ibuffer-filter-by-filename):
10962 Make it work with dired buffers too.
10964 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10966 * emacs-lisp/re-builder.el (reb-color-display-p):
10967 * files.el (save-buffers-kill-terminal):
10968 * net/browse-url.el (browse-url):
10969 * server.el (server-save-buffers-kill-terminal):
10970 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10971 Prefer nil to selected-frame for the first arg of frame-parameter.
10973 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10975 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10977 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10979 * minibuffer.el (completion--twq-all): Try and preserve each
10980 completion's case choice (bug#14907).
10982 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10984 * net/network-stream.el (open-network-stream): Mention the new
10985 :nogreeting parameter.
10986 (network-stream-open-starttls): Use the :nogreeting parameter
10989 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10991 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10992 more natural than popping.
10994 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10995 (shr-urlify): Highlight under mouse.
10997 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10999 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11001 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11003 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11006 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11007 point-min==1. Fix search string. Fix parentheses missing.
11009 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11010 assume point-min==1. Fix search string. Fix parentheses missing.
11012 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11014 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11017 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11019 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11020 initial frame is minibuffer-less. (Bug#14841)
11022 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11024 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11027 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11028 (tramp-maybe-open-connection): Use it.
11030 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11032 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11033 minimal set of parameters passed when creating a frame, because
11034 the minibuffer status of a frame cannot be changed later.
11036 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11038 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11039 replace-regexp-in-string and inadvertent omissions in previous change.
11040 (todo-filter-items): Ensure only file names are comma-separated in
11041 name of filtered items buffer.
11043 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11045 * desktop.el: Optionally force offscreen frames back onscreen.
11046 (desktop-restoring-reuses-frames): New option.
11047 (desktop--compute-pos, desktop--move-onscreen): New functions.
11048 (desktop--make-frame): Use desktop--move-onscreen.
11050 2013-07-27 Alan Mackenzie <acm@muc.de>
11052 Fontify a Java generic method as a function.
11053 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11056 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11058 * calendar/todo-mode.el: Add command to rename todo files.
11059 (todo-rename-file): New command.
11060 (todo-key-bindings-t): Add key binding for it. Change the
11061 bindings of todo-filter-regexp-items(-multifile) to use `x'
11062 instead of `r', since the latter is better suited to the new
11065 2013-07-27 Alan Mackenzie <acm@muc.de>
11067 Make Java try-with-resources statement parse properly.
11068 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11069 (c-block-stmt-1-2-key): New language constants/variables.
11070 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11071 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11072 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11073 with c-block-stmt-1-2-key.
11075 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11077 * desktop.el (desktop--make-frame): Apply most frame parameters after
11078 creating the frame to force (partially or totally) offscreen frames to
11079 be restored as such.
11081 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11083 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11086 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11088 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11089 `base' arg of backtrace-frame.
11091 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11093 * simple.el (list-processes): Doc fix.
11095 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11097 * desktop.el (desktop--select-frame):
11098 Try harder to reuse existing frames.
11100 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11102 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11103 (edebug-eval): Use backtrace-eval.
11104 (edebug--display, edebug--recursive-edit): Don't let-bind the
11105 edebug-outer-* vars that keep track of variables we locally let-bind.
11106 (edebug-outside-excursion): Don't restore outside values of locally
11108 (edebug--display): Use user-error.
11109 (cl-lexical-debug, cl-debug-env): Remove.
11111 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11113 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11114 are restored to be sure that they are visible before deleting any
11117 2013-07-26 Matthias Meulien <orontee@gmail.com>
11119 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11120 vc-print-root-log. (Bug#14948)
11122 2013-07-26 Richard Stallman <rms@gnu.org>
11124 Add aliases for encrypting mail.
11125 * epa.el (epa-mail-aliases): New option.
11126 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11127 Bind inhibit-read-only so read-only text doesn't ruin everything.
11128 (epa-mail-default-recipients): New subroutine broken out.
11129 Handle epa-mail-aliases.
11131 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11133 Add support for lexical variables to the debugger's `e' command.
11134 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11135 vars, except for debugger-outer-match-data.
11136 (debugger-frame-number): Move check for "on a function call" from
11137 callers into it. Add `skip-base' argument.
11138 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11139 (debugger-env-macro): Only reset the state stored in non-variables,
11140 i.e. current-buffer and match-data.
11141 (debugger-eval-expression): Rewrite using backtrace-eval.
11142 * subr.el (internal--called-interactively-p--get-frame): Remove.
11143 (called-interactively-p):
11144 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11145 `base' arg of backtrace-frame instead.
11147 2013-07-26 Glenn Morris <rgm@gnu.org>
11149 * align.el (align-regexp): Doc fix. (Bug#14857)
11150 (align-region): Explicit error if subexpression missing/does not match.
11152 * simple.el (global-visual-line-mode):
11153 Do not duplicate the mode lighter. (Bug#14858)
11155 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11157 * window.el (display-buffer): In display-buffer bind
11158 split-window-keep-point to t, bug#14829.
11160 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11162 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11163 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11164 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11165 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11166 Change accordingly.
11167 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11168 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11170 2013-07-25 Glenn Morris <rgm@gnu.org>
11172 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11174 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11176 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11177 parameter to modify-frame-parameters if the value has not changed;
11178 this is a workaround for bug#14949.
11179 (desktop--make-frame): On cl-delete-if call, check parameter name,
11180 not full parameter.
11182 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11184 * vc/vc.el (vc-ignore): New function.
11186 * vc/vc-svn.el (vc-svn-ignore): New function.
11188 * vc/vc-hg.el (vc-hg-ignore): New function.
11190 * vc/vc-git.el (vc-git-ignore): New function.
11192 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11193 (vc-dir-ignore): New function.
11195 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11196 (cvs-append-to-ignore): Move here from pcvs.el.
11198 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11200 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11202 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11204 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11205 (desktop-restore-frames): Warn when deleting an existing frame failed.
11207 2013-07-24 Glenn Morris <rgm@gnu.org>
11209 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11211 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11213 * filenotify.el (file-notify-supported-p):
11214 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11217 * autorevert.el (auto-revert-use-notify)
11218 (auto-revert-notify-add-watch):
11219 * net/tramp.el (tramp-file-name-for-operation):
11220 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11221 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11222 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11223 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11224 Remove `file-notify-supported-p' entry.
11226 2013-07-24 Glenn Morris <rgm@gnu.org>
11228 * printing.el: Replace all uses of deleted ps-windows-system,
11229 ps-lp-system, ps-flatten-list with lpr- versions.
11231 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11233 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11234 checked with memq (bug#14935).
11236 * files.el (revert-buffer-function): Use a non-nil default.
11237 (revert-buffer-preserve-modes): Declare var to
11238 provide access to the `preserve-modes' argument.
11239 (revert-buffer): Let-bind it.
11240 (revert-buffer--default): New function, extracted from revert-buffer.
11242 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * lpr.el: Signal print errors more prominently.
11245 (print-region-function): Don't default to nil.
11246 (lpr-print-region): New function, extracted from print-region-1.
11247 Check lpr's return value and signal an error in case of problem.
11248 (print-region-1): Use it.
11249 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11251 (ps-printer-name): Default to nil.
11252 (ps-printer-name-option): Default to lpr-printer-switch.
11253 (ps-print-region-function): Don't default to nil.
11254 (ps-postscript-code-directory): Simplify default.
11255 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11256 (ps-string-list, ps-eval-switch, ps-flatten-list)
11257 (ps-flatten-list-1): Remove.
11258 (ps-multibyte-buffer): Avoid setq.
11259 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11260 (print-region-function, ps-print-region-function): Don't set them here.
11262 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11264 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11265 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11266 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11267 (ido-decorations): Doc fix.
11269 * ansi-color.el: Fix old URL.
11271 2013-07-23 Michael R. Mauger <michael@mauger.com>
11273 * progmodes/sql.el: Version 3.3
11274 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11275 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11276 (sql-interactive-remove-continuation-prompt): Rewrite, use
11277 functions above. Fix continuation prompt and complete output line
11279 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11280 redirected output buffer.
11281 (sql-mode): Restore deleted code (Bug#13591).
11283 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11285 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11287 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11289 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11291 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11292 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11293 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11295 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11297 * desktop.el (desktop-clear): Simplify; remove useless checks
11298 against invalid buffer names.
11299 (desktop-list*): Use cl-list*.
11300 (desktop-buffer-info, desktop-create-buffer): Simplify.
11302 2013-07-23 Leo Liu <sdl.web@gmail.com>
11304 * bookmark.el (bookmark-make-record): Restore NAME as a default
11307 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11309 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11310 extracted from autoload--insert-text.
11311 (autoload--insert-text): Remove.
11312 (autoload--print-cookie-text): New function, extracted from
11313 autoload--insert-cookie-text.
11314 (autoload--insert-cookie-text): Remove.
11315 (autoload-generate-file-autoloads): Adjust calls accordingly.
11317 * winner.el (winner-hook-installed-p): Remove.
11318 (winner-mode): Simplify accordingly.
11320 * subr.el (add-to-list): Fix compiler-macro when `append' is
11321 not constant. Don't use `cl-member' for the base case.
11323 * progmodes/subword.el: Fix boundary case (bug#13758).
11324 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11326 (subword-backward-regexp): Make it a constant.
11327 (subword-forward-internal): Don't treat a trailing capital as the
11328 beginning of a word.
11330 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11332 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11333 global value of tabulated-list-revert-hook (bug#14930).
11335 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11337 * desktop.el: Require 'cl-lib.
11338 (desktop-before-saving-frames-functions): New hook.
11339 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11340 for frames being saved. Rename from desktop--save-minibuffer-frames.
11341 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11342 Do not save frames with non-nil `desktop-dont-save' parameter.
11343 Filter out deleted frames.
11344 (desktop--find-frame): Use cl-find-if.
11345 (desktop--select-frame): Use cl-(first|second|third) to access values
11347 (desktop--make-frame): Use cl-delete-if.
11348 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11349 (desktop-restore-frames): Use cl-(first|second|third) to access values
11350 of desktop-mini. Look for visible frame at the end, not while
11353 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11354 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11355 Use string-match-p, looking-at-p (bug#14927).
11357 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11359 * desktop.el (desktop-saved-frame-states):
11360 Rename from desktop--saved-states; all users changed.
11361 (desktop-save-frames): Rename from desktop--save-frames.
11362 Do not save state to desktop file.
11363 (desktop-save): Save desktop-saved-frame-states to desktop file
11365 (desktop-restoring-frames-p): New function.
11366 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11367 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11368 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11370 * desktop.el: Correctly restore iconified frames.
11371 (desktop--filter-iconified-position): New function.
11372 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11374 2013-07-20 Glenn Morris <rgm@gnu.org>
11376 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11377 Let `message' do the formatting.
11378 (def-gdb-preempt-display-buffer): Add explicit format.
11380 * image-dired.el (image-dired-track-original-file):
11381 Use with-current-buffer.
11382 (image-dired-track-thumbnail): Use with-current-buffer.
11383 Avoid changing point of wrong window.
11385 * image-dired.el (image-dired-track-original-file):
11386 Avoid changing point of wrong window. (Bug#14909)
11388 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11390 * progmodes/gdb-mi.el (gdb-done-or-error):
11391 Guard against "%" in gdb output. (Bug#14127)
11393 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11395 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11398 * international/mule.el (coding-system-iso-2022-flags): Fix last
11401 2013-07-20 Kenichi Handa <handa@gnu.org>
11403 * international/mule.el (coding-system-iso-2022-flags):
11404 Add `8-bit-level-4'. (Bug#8522)
11406 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11408 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11411 * net/eww.el (eww-process-text-input): Allow inputting when the
11412 point is at the start of the line, as the properties aren't
11415 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11418 2013-07-19 Richard Stallman <rms@gnu.org>
11420 * epa.el (epa-popup-info-window): Doc fix.
11422 * subr.el (split-string): New arg TRIM.
11424 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11426 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11427 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11429 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11431 * filenotify.el (file-notify--library): Rename from
11432 `file-notify-support'. Do not autoload. Adapt all uses.
11433 (file-notify-supported-p): New defun.
11435 * autorevert.el (auto-revert-use-notify):
11436 Use `file-notify-supported-p' instead of `file-notify-support'.
11438 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11440 * net/tramp.el (tramp-file-name-for-operation):
11441 Add `file-notify-supported-p'.
11443 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11445 (tramp-sh-file-name-handler-alist): Add it as handler for
11446 `file-notify-supported-p '.
11448 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11449 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11450 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11451 Add `ignore' as handler for `file-notify-*' functions.
11453 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11455 * simple.el (line-move-partial, line-move): Don't start vscroll or
11456 scroll-up if the current line is not taller than the window.
11459 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11461 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11462 highlight question marks in the method names as strings.
11463 (ruby-block-beg-keywords): Inline.
11464 (ruby-font-lock-keyword-beg-re): Extract from
11465 `ruby-font-lock-keywords'.
11467 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11469 * frame.el (blink-cursor-blinks): New defcustom.
11470 (blink-cursor-blinks-done): New defvar.
11471 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11472 (blink-cursor-timer-function): Check if number of blinks has been
11474 (blink-cursor-suspend, blink-cursor-check): New defuns.
11476 2013-07-15 Glenn Morris <rgm@gnu.org>
11478 * edmacro.el (edmacro-format-keys): Fix previous change.
11480 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11482 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11483 The hack didn't work outside English locales anyway.
11485 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11487 * simple.el (define-alternatives): Rename from alternatives-define,
11488 per RMS' suggestion.
11490 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11492 * desktop.el (desktop-restore-frames): Change default to t.
11493 (desktop-restore-in-current-display): Now offer more options.
11494 (desktop-restoring-reuses-frames): New customization option.
11495 (desktop--saved-states): Doc fix.
11496 (desktop-filter-parameters-alist): New variable, renamed and expanded
11497 from desktop--excluded-frame-parameters.
11498 (desktop--target-display): New variable.
11499 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11500 (desktop--filter-tty*, desktop--filter-*-color)
11501 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11502 (desktop--filter-save-desktop-parm)
11503 (desktop-restore-in-original-display-p): New functions.
11504 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11505 (desktop--save-minibuffer-frames): New function, inspired by a similar
11506 function from Martin Rudalics.
11507 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11508 (desktop--restore-in-this-display-p): Remove.
11509 (desktop--find-frame): Rename from desktop--find-frame-in-display
11510 and add predicate argument.
11511 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11512 (desktop--reuse-list): New variable.
11513 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11515 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11517 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11519 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11521 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11523 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11524 Highlight conversion methods on Kernel.
11526 2013-07-13 Alan Mackenzie <acm@muc.de>
11528 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11529 and comment it out. This out-commenting enables certain C++
11530 declarations to be parsed correctly.
11532 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11534 * international/mule.el (define-coding-system): Doc fix.
11536 * simple.el (default-font-height): Don't call font-info if the
11537 frame's default font didn't change since the frame was created.
11540 2013-07-13 Leo Liu <sdl.web@gmail.com>
11542 * ido.el (ido-read-file-name): Guard against non-symbol value.
11544 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11546 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11549 2013-07-13 Leo Liu <sdl.web@gmail.com>
11551 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11552 ido-set-matches call. (Bug#6852)
11554 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11556 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11557 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11559 (ruby-font-lock-keywords): Distinguish calls to functions with
11560 module-like names from module references. Highlight character
11563 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11565 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11566 (gdb-send): Handle continued commands. (Bug#14847)
11568 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11570 * desktop.el (desktop--v2s): Remove unused local variable.
11571 (desktop-save-buffer): Make defvar-local; adjust docstring.
11572 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11573 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11575 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11577 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11579 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11581 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11584 2013-07-12 Glenn Morris <rgm@gnu.org>
11586 * doc-view.el: Require cl-lib at runtime too.
11587 (doc-view-remove-if): Remove.
11588 (doc-view-search-next-match, doc-view-search-previous-match):
11591 * edmacro.el: Require cl-lib at runtime too.
11592 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11593 (edmacro-mismatch, edmacro-subseq): Remove.
11595 * shadowfile.el: Require cl-lib.
11596 (shadow-remove-if): Remove.
11597 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11600 * wid-edit.el: Require cl-lib.
11601 (widget-choose): Use cl-remove-if.
11602 (widget-remove-if): Remove.
11604 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11605 (ebrowse-delete-if-not): Remove.
11606 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11607 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11608 Use cl-delete-if-not.
11610 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11612 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11613 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11615 2013-07-12 Leo Liu <sdl.web@gmail.com>
11617 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11619 2013-07-11 Glenn Morris <rgm@gnu.org>
11621 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11622 (edebug-gensym-index, edebug-gensym):
11623 Remove reimplementation of cl-gensym.
11624 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11626 * thumbs.el: Require cl-lib at run-time too.
11627 (thumbs-gensym-counter, thumbs-gensym):
11628 Remove reimplementation of cl-gensym.
11629 (thumbs-temp-file): Use cl-gensym.
11631 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11632 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11633 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11634 (ert--union, ert--gensym-counter, ert--gensym-counter)
11635 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11636 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11637 (ert-make-test-unbound, ert--expand-should-1)
11638 (ert--expand-should, ert--should-error-handle-error)
11639 (should-error, ert--explain-equal-rec)
11640 (ert--plist-difference-explanation, ert-select-tests)
11641 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11642 Use cl-lib functions rather than reimplementations.
11644 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11646 * net/tramp.el (tramp-methods): Extend docstring.
11647 (tramp-connection-timeout): New defcustom.
11648 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11649 (with-tramp-progress-reporter): Simplify.
11650 (tramp-process-actions): Improve messages.
11652 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11653 * net/tramp-sh.el (tramp-maybe-open-connection):
11654 Use `tramp-connection-timeout'.
11655 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11658 2013-07-11 Leo Liu <sdl.web@gmail.com>
11660 * ido.el (ido-read-file-name): Conform to the requirements of
11661 read-file-name. (Bug#11861)
11662 (ido-read-directory-name): Conform to the requirements of
11663 read-directory-name.
11665 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11667 * subr.el (delay-warning): New function.
11669 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11671 * simple.el (default-line-height): New function.
11672 (line-move-partial, line-move): Use it instead of computing the
11673 line height inline.
11674 (line-move-partial): Always compute ROWH. If the last line is
11675 partially-visible, but its text is completely visible, allow
11676 cursor to enter such a partially-visible line.
11678 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11680 Improve error messages. (Bug#14808)
11682 * net/tramp.el (tramp-current-connection): New defvar, moved from
11684 (tramp-message-show-progress-reporter-message): Remove, not
11686 (tramp-error-with-buffer): Show message in minibuffer.
11687 Discard input before waiting. Reset connection timestamp.
11688 (with-tramp-progress-reporter): Improve messages.
11689 (tramp-process-actions): Use progress reporter. Delete process in
11690 case of error. Improve messages.
11692 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11693 Call `tramp-error-with-buffer' with vector and buffer.
11694 (tramp-current-connection): Remove.
11695 (tramp-maybe-open-connection): The car of
11696 `tramp-current-connection' are the first 3 slots of the vector.
11698 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11700 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11701 inside continued strings.
11703 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11705 Timestamp fixes for undo (Bug#14824).
11706 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11708 2013-07-10 Leo Liu <sdl.web@gmail.com>
11710 * files.el (require-final-newline): Allow safe local value.
11713 2013-07-09 Leo Liu <sdl.web@gmail.com>
11715 * ido.el (ido-read-directory-name): Handle fallback.
11716 (ido-read-file-name): Update DIR to ido-current-directory.
11718 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11720 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11722 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11723 "autoload". Remove "warn lower camel case" section, previously
11724 commented out. Highlight negation char. Do not highlight the
11725 target in singleton method definitions.
11727 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11729 * faces.el (tty-setup-hook): Declare the hook.
11731 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11732 and detect when a guard/pred depends on local vars (bug#14773).
11733 (pcase--u1): Adjust caller.
11735 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11737 * simple.el (line-move-partial, line-move): Account for
11739 (line-move-partial): Avoid setting vscroll when the last
11740 partially-visible line in window is of default height.
11742 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11744 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11747 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11749 * subr.el (read-quoted-char): Remove unused local variable `char'.
11751 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11753 * vc/ediff.el (ediff-version): Version update.
11754 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11755 (ediff-merge-with-ancestor-command, ediff-directories-command)
11756 (ediff-directories3-command, ediff-merge-directories-command)
11757 (ediff-merge-directories-with-ancestor-command): New functions.
11758 All are command-line interfaces to ediff: to facilitate calling
11759 Emacs with the appropriate ediff functions invoked.
11761 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11763 (viper-save-kill-buffer): Check if buffer is modified.
11765 * emulation/viper.el (viper-version): Version update.
11766 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11768 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11770 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11771 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11772 (viper-intercept-ESC-key): Simplify.
11773 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11775 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11776 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11777 (viper-setup-ESC-to-escape): New functions.
11778 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11779 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11781 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11783 * simple.el (default-font-height, window-screen-lines):
11785 (line-move, line-move-partial): Use them instead of
11786 frame-char-height and window-text-height. This makes scrolling
11787 text smoother when the buffer's default face uses a font that is
11788 different from the frame's default font.
11790 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11792 * files.el (write-file): Do not display confirm dialog for NS,
11793 it does its own dialog, which can't be canceled (Bug#14578).
11795 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11797 * simple.el (line-move-partial): Adjust the row returned by
11798 posn-at-point for the current window-vscroll. (Bug#14567)
11800 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11802 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11803 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11806 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11808 * window.el (window-state-put-stale-windows): New variable.
11809 (window--state-put-2): Save list of windows without matching buffer.
11810 (window-state-put): Remove "bufferless" windows if possible.
11812 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11814 * simple.el (alternatives-define): Remove leftover :group keyword.
11817 2013-07-06 Leo Liu <sdl.web@gmail.com>
11819 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11820 (ido-enable-virtual-buffers): New variable.
11821 (ido-buffer-internal, ido-toggle-virtual-buffers)
11822 (ido-make-buffer-list): Use it.
11823 (ido-exhibit): Support turning on and off virtual buffers
11826 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11828 * simple.el (alternatives-define): New macro.
11830 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11832 * subr.el (read-quoted-char): Use read-key.
11833 (sit-for): Let read-event decode tty input (bug#14782).
11835 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11837 * calendar/todo-mode.el: Add handling of file deletion, both by
11838 mode command and externally. Fix various related bugs.
11839 Clarify Commentary and improve some documentation strings and code.
11840 (todo-delete-file): New command.
11841 (todo-check-file): New function.
11842 (todo-show): Handle external deletion of the file we're trying to
11843 show (bug#14688). Replace called-interactively-p by an optional
11844 prefix argument to avoid problematic interaction with catch form
11845 when byte compiled (bug#14702).
11846 (todo-quit): Handle external deletion of the archive's todo file.
11847 Make sure the buffer that was visiting the archive file is still
11848 live before trying to bury it.
11849 (todo-category-completions): Handle external deletion of any
11850 category completion files.
11851 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11852 of todo files, in case of external deletion.
11853 (todo-add-file): Replace unnecessary setq by let-binding.
11854 (todo-find-archive): Check whether there are any archives.
11855 Replace unnecessary setq by let-binding.
11856 (todo-archive-done-item): Use find-file-noselect to get the
11857 archive buffer whether or not the archive already exists.
11858 Remove superfluous code. Use file size instead of buffer-file-name to
11859 check if the archive is new; if it is, update list of archives.
11860 (todo-default-todo-file): Allow nil to be a valid value for when
11861 there are no todo files.
11862 (todo-reevaluate-default-file-defcustom): Use corrected definition
11863 of todo-default-todo-file.
11864 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11865 (todo-delete-category, todo-show-categories-table)
11866 (todo-category-number): Clarify comment.
11867 (todo-filter-items): Clarify documentation string.
11868 (todo-show-current-file, todo-display-as-todo-file)
11869 (todo-reset-and-enable-done-separator): Tweak documentation string.
11870 (todo-done-separator): Make separator length window-width, since
11871 bug#2749 is now fixed.
11873 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11875 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11876 Support both "gvfs-monitor-dir" and "inotifywait".
11877 (tramp-sh-file-inotifywait-process-filter): Rename from
11878 `tramp-sh-file-notify-process-filter'.
11879 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11880 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11882 2013-07-05 Leo Liu <sdl.web@gmail.com>
11884 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11886 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11888 * frame.el (display-pixel-height, display-pixel-width)
11889 (display-mm-height, display-mm-width): Mention behavior on
11890 multi-monitor setups in docstrings.
11891 (w32-display-monitor-attributes-list): Declare function.
11892 (display-monitor-attributes-list): Use it.
11894 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11896 * filenotify.el: New package.
11898 * autorevert.el (top): Require filenotify.el.
11899 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11901 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11902 (auto-revert-notify-handler): Use `file-notify-*' functions.
11904 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11906 * net/tramp.el (tramp-file-name-for-operation):
11907 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11909 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11910 for `file-notify-add-watch' and `file-notify-rm-watch'.
11911 (tramp-process-sentinel): Improve trace.
11912 (tramp-sh-handle-file-notify-add-watch)
11913 (tramp-sh-file-notify-process-filter)
11914 (tramp-sh-handle-file-notify-rm-watch)
11915 (tramp-get-remote-inotifywait): New defuns.
11917 2013-07-03 Juri Linkov <juri@jurta.org>
11919 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11920 call of `occur-read-primary-args' to interactive spec.
11922 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11923 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11925 2013-07-03 Matthias Meulien <orontee@gmail.com>
11927 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11928 `Buffer-menu-multi-occur'. Add it to the menu.
11929 (Buffer-menu-mode): Document it in docstring.
11930 (Buffer-menu-multi-occur): New command. (Bug#14673)
11932 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11934 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11935 keywords and built-ins.
11937 2013-07-03 Glenn Morris <rgm@gnu.org>
11939 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11941 Make info-xref checks case-sensitive by default
11942 * info.el (Info-find-node, Info-find-in-tag-table)
11943 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11944 Add option for exact case matching of nodes.
11945 * info-xref.el (info-xref): New custom group.
11946 (info-xref-case-fold): New option.
11947 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11949 2013-07-03 Leo Liu <sdl.web@gmail.com>
11951 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11953 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11955 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11956 middle of block statement initially, lower the depth. Remove
11957 FIXME comment, not longer valid. Remove middle of block statement
11958 detection, no need to do that anymore since we've been using
11959 `ruby-parse-region' here.
11961 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11963 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11965 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11967 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11969 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11971 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11972 (desktop-restore-in-current-display): New customization option.
11973 (desktop--excluded-frame-parameters): Add `font'.
11974 (desktop--save-frames): Rename from desktop--save-windows.
11975 (desktop--restore-in-this-display-p): New function.
11976 (desktop--make-full-frame): Remove unwanted width/height from
11977 full(width|height) frames.
11978 (desktop--restore-frames): Rename from desktop--restore-windows.
11979 Obey desktop-restore-current-display. Do not delete old frames or
11980 select a new frame unless we were able to restore at least one frame.
11982 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11984 * files.el (find-file-noselect): Simplify conditional expression.
11986 * textmodes/remember.el (remember-append-to-file):
11987 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11989 Add `remember-notes' function to store random notes across Emacs
11991 * textmodes/remember.el (remember-data-file): Add :set callback to
11992 affect notes buffer (if any).
11993 (remember-notes): New command.
11994 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11995 New defcustoms for the `remember-notes' function.
11996 (remember-notes-save-and-bury-buffer): New command.
11997 (remember-notes-mode-map): New variable.
11998 (remember-mode): New minor mode.
11999 (remember-notes--kill-buffer-query): New function.
12000 * startup.el (initial-buffer-choice): Add notes to custom type.
12002 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12004 * bindings.el (right-char, left-char): Don't call sit-for, this is
12005 no longer needed. Use arithmetic comparison only for numerical
12008 * international/mule-cmds.el (select-safe-coding-system):
12009 Handle the case of FROM being a string correctly. (Bug#14755)
12011 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12013 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12014 progression on degenerate tables.
12015 (shr-rescale-image): ImageMagick animated images currently don't work.
12017 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12019 Some fixes and improvements for desktop frame restoration.
12020 It is still experimental and disabled by default.
12021 * desktop.el (desktop--save-windows): Put the selected frame at
12022 the head of the list.
12023 (desktop--make-full-frame): New function.
12024 (desktop--restore-windows): Try to re-select the frame that was
12025 selected upon saving. Do not abort if some frames fail to restore,
12026 just show an error message and continue. Set up maximized frames
12027 so they have default non-maximized dimensions.
12029 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12031 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12032 Don't start heredoc inside a string or comment.
12034 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12036 * bindings.el (visual-order-cursor-movement): New defcustom.
12037 (right-char, left-char): Provide visual-order cursor motion by
12038 calling move-point-visually. Update the doc strings.
12040 2013-06-28 Kenichi Handa <handa@gnu.org>
12042 * international/mule.el (define-coding-system): New coding system
12043 properties :inhibit-null-byte-detection,
12044 :inhibit-iso-escape-detection, and :prefer-utf-8.
12045 (set-buffer-file-coding-system): If :charset-list property of
12046 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12047 appropriate for setting.
12049 * international/mule-cmds.el (select-safe-coding-system):
12050 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12051 multibyte characters, return utf-8 (or one of its siblings).
12053 * international/mule-conf.el (prefer-utf-8): New coding system.
12054 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12057 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12059 * net/shr.el (shr-render-region): New function.
12061 * net/eww.el: Autoload `eww-browse-url'.
12063 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12065 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12066 Adapt to `package-desc-version' being a list.
12067 Use `package--ac-desc-version' to retrieve version from a package
12070 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12072 New experimental feature to save&restore window and frame setup.
12073 * desktop.el (desktop-save-windows): New defcustom.
12074 (desktop--saved-states): New var.
12075 (desktop--excluded-frame-parameters): New defconst.
12076 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12077 (desktop--restore-windows, desktop--save-windows): New functions.
12078 (desktop-save): Call `desktop--save-windows'.
12079 (desktop-read): Call `desktop--restore-windows'.
12081 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12083 * net/shr.el (add-face-text-property): Remove compat definition.
12085 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12087 * info.el (Info-try-follow-nearest-node): Move search for footnote
12088 above search for node name to prevent missing a footnote (bug#14717).
12090 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12092 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12094 2013-06-27 Leo Liu <sdl.web@gmail.com>
12096 * net/eww.el (eww-read-bookmarks): Check file size.
12098 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12100 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12101 advice--pending if newdef is nil or an autoload (bug#13820).
12102 (advice-mapc): New function.
12104 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12106 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12108 (eww-mode-map): Add a menu bar.
12109 (eww-add-bookmark): New command.
12110 (eww-bookmark-mode): New mode and commands.
12111 (eww-add-bookmark): Remove newlines from the title.
12112 (eww-bookmark-browse): Don't bug out if it's the only window.
12114 2013-06-26 Glenn Morris <rgm@gnu.org>
12116 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12117 (hfy-size): Handle ttys. (Bug#14668)
12119 * info-xref.el: Update for Texinfo 5 change in *note format.
12120 (info-xref-node-re, info-xref-note-re): New constants.
12121 (info-xref-check-buffer): Use info-xref-note-re.
12123 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12125 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12127 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12128 nil terminate the loop (bug#14718).
12130 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12132 * net/eww.el: Rework history traversal. When going forward/back,
12133 put these actions into the history, too, so that they can be
12135 (eww-render): Move the history reset to the correct buffer.
12137 2013-06-25 Juri Linkov <juri@jurta.org>
12139 * files-x.el (modify-dir-local-variable): Change the header comment
12140 in the file with directory local variables. (Bug#14692)
12142 * files-x.el (read-file-local-variable-value): Add `default'.
12145 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12147 * net/eww.el (eww-make-unique-file-name): Create a unique file
12148 name before saving to entering `y' accidentally asynchronously.
12150 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12152 * net/eww.el (eww-download): New command and keystroke.
12154 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12156 * net/eww.el (eww-copy-page-url): Change name of command.
12158 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12159 be more consistent with Info and dired.
12161 * net/eww.el (eww-mode-map): Ditto.
12163 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12165 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12166 packages from archives.
12167 (package-archive-contents): Change format; include obsolete packages.
12168 (package-desc): Use `dir' to mark builtin packages.
12169 (package--from-builtin): Set the `dir' field to `builtin'.
12170 (generated-autoload-file, version-control): Declare.
12171 (package-compute-transaction): Change first arg and return value to be
12172 lists of package-descs. Adjust to new package-archive-contents format.
12173 (package--add-to-archive-contents): Adjust to new
12174 package-archive-contents format.
12175 (package-download-transaction): Arg is now a list of package-descs.
12176 (package-install): If `pkg' is a package name, pass it as
12177 a requirement, so it is subject to the usual (e.g. disabled) checks.
12178 (describe-package): Accept package-desc as well.
12179 (describe-package-1): Describe a specific package-desc. Add links to
12180 other package-descs for the same package name.
12181 (package-menu-describe-package): Pass the actual package-desc.
12182 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12184 (package-desc-status): New function.
12185 (package-menu--refresh): New function, extracted
12186 from package-menu--generate.
12187 (package-menu--generate): Use it.
12188 (package-delete): Update package-alist.
12189 (package-menu-execute): Don't call package-initialize.
12191 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12192 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12193 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12194 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12195 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12196 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12198 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12200 * window.el (window--state-get-1): Workaround for bug#14527.
12201 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12203 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12205 * net/eww.el (eww-back-url): Implement the history by stashing all
12206 the data into a list.
12207 (eww-forward-url): Allow going forward in the history, too.
12209 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12211 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12212 for values and use read--expression for expressions (bug#14710).
12213 (read-file-local-variable): Avoid setq.
12214 (read-file-local-variable-mode): Use minor-mode-list.
12216 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12218 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12221 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12223 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12224 Update imenu-support when dialect changes.
12226 2013-06-25 Leo Liu <sdl.web@gmail.com>
12228 * ido.el (ido-read-internal): Allow forward slash on windows.
12230 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12232 * net/eww.el (eww): Start of strings is \\`, not ^.
12234 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12236 * net/shr.el (shr-browse-url): Fix interactive spec.
12238 * net/eww.el (eww): Add a trailing slash to domain names.
12240 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12242 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12244 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12246 * net/shr.el (shr-browse-url): Use an external browser if given a
12249 * net/eww.el (eww-external-browser): Move to shr.
12251 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12253 * net/eww.el (eww): Work more correctly for file: URLs.
12254 (eww-detect-charset): Allow quoted charsets.
12255 (eww-yank-page-url): New command and keystroke.
12257 2013-06-24 Daiki Ueno <ueno@gnu.org>
12259 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12260 file name of gpg executable.
12261 (epg-context-program): New function.
12262 (epg-context-home-directory): New function.
12263 (epg-context-set-program): New function.
12264 (epg-context-set-home-directory): New function.
12265 (epg--start): Use `epg-context-program' instead of
12267 (epg--list-keys-1): Likewise.
12269 2013-06-24 Leo Liu <sdl.web@gmail.com>
12271 * ido.el (ido-read-internal): Fix bug#14620.
12273 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12275 * faces.el (face-documentation): Simplify.
12276 (read-face-attribute, tty-find-type, x-resolve-font-name):
12277 Use `string-match-p'.
12278 (list-faces-display): Use `string-match-p'. Simplify.
12279 (face-spec-recalc): Check face to avoid face alias loops.
12280 (read-color): Use `string-match-p' and non-capturing parenthesis.
12282 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12284 * net/shr.el (shr-rescale-image): Use the new
12285 :max-width/:max-height functionality.
12287 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12289 * net/eww.el (eww-search-prefix): New variable.
12291 (eww-external-browser): New variable.
12292 (eww-mode-map): New keystroke.
12293 (eww-browse-with-external-browser): New command.
12295 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12297 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12299 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12300 Don't skip aligning the next header field when padding is 0;
12301 otherwise, field width is not respected unless the title is as
12304 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12306 * emacs-lisp/package.el (package-el-version): Remove.
12307 (package-process-define-package): Fix inf-loop.
12308 (package-install): Allow symbols as arguments again.
12310 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12312 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12313 add some more keyword-like methods.
12314 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12316 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12318 * bs.el (bs-buffer-show-mark): Make defvar-local.
12319 (bs-mode): Use setq-local.
12321 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12322 (emacs-lock--try-unlocking): Make defvar-local.
12324 2013-06-22 Glenn Morris <rgm@gnu.org>
12326 * play/cookie1.el (cookie-apropos): Minor simplification.
12328 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12330 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12332 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12333 `regexp-opt', it breaks the build during dumping.
12335 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12337 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12338 Highlight keyword-like methods on Kernel and Module with
12339 font-lock-builtin-face.
12340 (auto-mode-alist): Consolidate different entries into one regexp
12341 and add more *file-s.
12343 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12345 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12347 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12348 (diary-entry): Use it in the action of this button type instead of
12351 * calendar/todo-mode.el: New version.
12352 (todo-add-category): Append new category to end of file and give
12353 it the highest number, instead of putting it at the beginning and
12354 giving it 0. Incorporate noninteractive functionality.
12355 (todo-forward-category): Adapt to 1-based category numbering.
12356 Allow skipping over archived categories.
12357 (todo-backward-category): Derive from todo-forward-category.
12358 (todo-backward-item, todo-forward-item): Make noninteractive and
12359 delegate interactive part to new commands. Make sensitive to done items.
12360 (todo-categories): Make value an alist of category names and
12361 vectors of item counts.
12362 (todo-category-beg): Make a defconst.
12363 (todo-category-number): Use 1 instead of 0 as initial value.
12364 (todo-category-select): Make sensitive to overlays, optional item
12365 highlighting and done items.
12366 (todo-delete-item): Make sensitive to overlays and marked and done items.
12367 (todo-edit-item): Make sensitive to overlays and editing of
12368 date/time header optional. Add format checks.
12369 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12370 no-op if point is not on an item. Advertise using todo-edit-quit.
12371 (todo-edit-mode): Make sensitive to new format, font-locking, and
12372 multiple todo files.
12373 (todo-insert-item, todo-insert-item-here): Derive from
12374 todo-basic-insert-item and extend functionality.
12375 (todo-item-end, todo-item-start): Make sensitive to done items.
12376 (todo-item-string): Don't return text properties. Restore point.
12377 (todo-jump-to-category): Make sensitive to multiple todo files and
12378 todo archives. Use extended category completion.
12379 (todo-lower-item, todo-raise-item): Rename to *-priority and
12380 derive from todo-set-item-priority.
12381 (todo-mode): Derive from special-mode. Make sensitive to new
12382 format, font-locking and multiple todo files. Make read-only.
12383 (todo-mode-map): Don't suppress digit keys, so they can supply
12384 prefix arguments. Add many new key bindings.
12385 (todo-prefix): Insert as an overlay instead of file text.
12386 Change semantics from diary date expression to purely visual mark.
12387 (todo-print): Rename to todo-print-buffer. Make buffer display
12388 features printable. Remove option to restrict number of items
12389 printed. Add option to print to file.
12390 (todo-print-function): Rename to todo-print-buffer-function.
12391 (todo-quit): Extend to handle exiting new todo modes.
12392 (todo-remove-item): Make sensitive to overlays.
12393 (todo-save): Extend to buffers of filtered items.
12394 (todo-show): Make sensitive to done items, multiple todo files and
12395 new todo modes. Offer to convert legacy todo file before creating
12396 first new todo file.
12397 (todo-show-priorities): Rename to todo-top-priorities.
12398 Change semantics of value 0.
12399 (todo-top-priorities): Rename to todo-filter-top-priorities,
12400 derive from todo-filter-items and extend functionality.
12401 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12402 and extend functionality to other types of filtered items.
12403 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12404 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12405 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12406 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12407 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12408 (todo-edit-mode-hook, todo-entry-prefix-function)
12409 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12410 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12411 (todo-initials, todo-insert-threshold, todo-item-string-start)
12412 (todo-line-string, todo-menu, todo-mode-hook)
12413 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12414 (todo-print-priorities, todo-remove-separator)
12415 (todo-save-top-priorities-too, todo-string-count-lines)
12416 (todo-string-multiline-p, todo-time-string-format)
12417 (todo-tmp-buffer-name): Remove.
12418 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12419 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12420 (todo-edit-category-diary-inclusion)
12421 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12422 (todo-edit-file, todo-edit-item-date-day)
12423 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12424 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12425 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12426 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12427 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12428 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12429 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12430 (todo-filter-top-priorities-multifile, todo-find-archive)
12431 (todo-find-filtered-items-file, todo-go-to-source-item)
12432 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12433 (todo-jump-to-archive-category, todo-lower-category)
12434 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12435 (todo-move-category, todo-move-item, todo-next-button)
12436 (todo-next-item, todo-padded-string, todo-powerset)
12437 (todo-previous-button, todo-previous-item)
12438 (todo-print-buffer-to-file, todo-raise-category)
12439 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12440 (todo-set-category-number, todo-set-item-priority)
12441 (todo-set-top-priorities-in-category)
12442 (todo-set-top-priorities-in-file, todo-show-categories-table)
12443 (todo-sort-categories-alphabetically-or-numerically)
12444 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12445 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12446 (todo-toggle-item-header, todo-toggle-item-highlighting)
12447 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12448 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12449 (todo-unarchive-items, todo-unmark-category): New commands.
12450 (todo-absolute-file-name, todo-add-to-buffer-list)
12451 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12452 (todo-basic-insert-item, todo-category-completions)
12453 (todo-category-number, todo-category-string-matcher-1)
12454 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12455 (todo-check-format, todo-clear-matches)
12456 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12457 (todo-current-category, todo-date-string-matcher)
12458 (todo-define-insertion-command, todo-diary-expired-matcher)
12459 (todo-diary-goto-entry, todo-diary-item-p)
12460 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12461 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12462 (todo-done-item-section-p, todo-done-separator)
12463 (todo-done-string-matcher, todo-files, todo-filter-items)
12464 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12465 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12466 (todo-insert-category-line, todo-insert-item-from-calendar)
12467 (todo-insert-sort-button, todo-insert-with-overlays)
12468 (todo-insertion-command-name, todo-insertion-key-bindings)
12469 (todo-label-to-key, todo-longest-category-name-length)
12470 (todo-make-categories-list, todo-mode-external-set)
12471 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12472 (todo-modes-set-3, todo-multiple-filter-files)
12473 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12474 (todo-read-category, todo-read-date, todo-read-dayname)
12475 (todo-read-file-name, todo-read-time)
12476 (todo-reevaluate-category-completions-files-defcustom)
12477 (todo-reevaluate-default-file-defcustom)
12478 (todo-reevaluate-filelist-defcustoms)
12479 (todo-reevaluate-filter-files-defcustom)
12480 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12481 (todo-reset-done-separator, todo-reset-done-separator-string)
12482 (todo-reset-done-string, todo-reset-global-current-todo-file)
12483 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12484 (todo-reset-prefix, todo-set-categories)
12485 (todo-set-date-from-calendar, todo-set-show-current-file)
12486 (todo-set-top-priorities, todo-short-file-name)
12487 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12488 (todo-total-item-counts, todo-update-buffer-list)
12489 (todo-update-categories-display, todo-update-categories-sexp)
12490 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12492 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12494 (todo-categories, todo-display, todo-edit, todo-faces)
12495 (todo-filtered): New defgroups.
12496 (todo-archived-only, todo-button, todo-category-string, todo-date)
12497 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12498 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12499 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12500 (todo-add-item-if-new-category, todo-always-add-time-string)
12501 (todo-categories-align, todo-categories-archived-label)
12502 (todo-categories-category-label, todo-categories-diary-label)
12503 (todo-categories-done-label, todo-categories-number-separator)
12504 (todo-categories-todo-label, todo-categories-totals-label)
12505 (todo-category-completions-files, todo-completion-ignore-case)
12506 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12507 (todo-done-separator-string, todo-done-string)
12508 (todo-files-function, todo-filter-done-items, todo-filter-files)
12509 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12510 (todo-initial-category, todo-initial-file, todo-item-mark)
12511 (todo-legacy-date-time-regexp, todo-mode-line-function)
12512 (todo-nondiary-marker, todo-number-prefix)
12513 (todo-print-buffer-function, todo-show-current-file)
12514 (todo-show-done-only, todo-show-first, todo-show-with-done)
12515 (todo-skip-archived-categories, todo-top-priorities-overrides)
12516 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12517 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12519 (todo-category-done, todo-date-pattern, todo-date-string-start)
12520 (todo-diary-items-buffer, todo-done-string-start)
12521 (todo-filtered-items-buffer, todo-item-start)
12522 (todo-month-abbrev-array, todo-month-name-array)
12523 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12524 (todo-top-priorities-buffer): New defconsts.
12525 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12526 (todo-categories-with-marks, todo-category-string-face)
12527 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12528 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12529 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12530 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12531 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12532 (todo-font-lock-keywords, todo-global-current-todo-file)
12533 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12534 (todo-insertion-commands-args)
12535 (todo-insertion-commands-args-genlist)
12536 (todo-insertion-commands-names, todo-insertion-map)
12537 (todo-key-bindings-t, todo-key-bindings-t+a)
12538 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12539 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12540 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12541 (todo-visited): New variables.
12543 2013-06-21 Glenn Morris <rgm@gnu.org>
12545 * play/cookie1.el (cookie-apropos): Add optional display argument.
12546 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12547 (psychoanalyze-pinhead): Use cookie-doctor.
12549 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12551 * emacs-lisp/package.el (tar-get-file-descriptor)
12552 (tar--extract): Declare.
12554 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12556 Extend flymake's warning predicate to be a function (bug#14217).
12557 * progmodes/flymake.el (flymake-warning-predicate): New.
12558 (flymake-parse-line): Use it.
12559 (flymake-warning-re): Make obsolete alias to
12560 `flymake-warning-predicate'.
12562 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12564 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12565 (package-obsolete-list): Remove.
12566 (package-activate): Remove min-version argument. Add `force' argument.
12567 Adjust to new package-alist format.
12568 (package-mark-obsolete): Remove.
12569 (package-unpack): Force reload of the package's autoloads.
12570 (package-installed-p): Check builtins if the installed package is not
12572 (package-initialize): Don't reset package-obsolete-list.
12573 Don't specify which package version to activate.
12574 (package-process-define-package, describe-package-1)
12575 (package-menu--generate): Adjust to new package-alist format.
12577 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12579 * allout-widgets.el (allout-widgets-mode-off)
12580 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12581 (allout-widgets-post-command-business)
12582 (allout-widgets-after-copy-or-kill-function)
12583 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12584 (allout-decorate-item-and-context)
12585 (allout-graphics-modification-handler): Fix typos in docstrings.
12586 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12588 * cmuscheme.el (scheme-start-file): Doc fix.
12589 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12590 (scheme-input-filter): Use `string-match-p'.
12592 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12594 * dired-x.el: Use Dired consistently in docstrings.
12596 * dired.el: Use Dired consistently in docstrings.
12597 (dired-readin, dired-mode): Use `setq-local'.
12598 (dired-switches-alist): Make defvar-local.
12599 (dired-buffers-for-dir): Use `zerop'.
12600 (dired-safe-switches-p, dired-switches-escape-p)
12601 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12602 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12603 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12604 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12605 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12606 (dired-toggle-marks, dired-mark-files-containing-regexp)
12607 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12608 (dired-flag-auto-save-files, dired-flag-backup-files):
12609 Use `looking-at-p'.
12610 (dired-mark-files-regexp, dired-build-subdir-alist):
12611 Use `string-match-p', `looking-at-p'.
12613 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12614 (direct-print-region-helper): Use `string-match-p'.
12616 2013-06-21 Leo Liu <sdl.web@gmail.com>
12618 * comint.el (comint-redirect-results-list-from-process):
12621 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623 * net/eww.el (eww-update-header-line-format): Quote % characters.
12625 2013-06-21 Glenn Morris <rgm@gnu.org>
12627 * play/cookie1.el (cookie): New custom group.
12628 (cookie-file): New option.
12629 (cookie-check-file): New function.
12630 (cookie): Make it interactive. Make start and end messages optional.
12631 Interactively, display the result. Default to cookie-file.
12632 (cookie-insert): Default to cookie-file.
12633 (cookie-snarf): Make start and end messages optional.
12634 Default to cookie-file. Use with-temp-buffer.
12635 (cookie-read): Rename from read-cookie.
12636 Make start and end messages optional. Default to cookie-file.
12637 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12638 Do not autoload it.
12639 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12640 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12642 2013-06-21 Leo Liu <sdl.web@gmail.com>
12644 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12646 2013-06-21 Glenn Morris <rgm@gnu.org>
12648 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12650 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12651 Daniel Hackney <dan@haxney.org>
12653 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12654 Consolidate the single-file vs tarball code.
12655 (package-desc-suffix): New function.
12656 (package-desc-full-name): Don't bother inlining it.
12657 (package-load-descriptor): Return the new package-desc.
12658 (package-mark-obsolete): Remove unused arg `package'.
12659 (package-unpack): Make it work for single files as well.
12660 Make it update package-alist.
12661 (package--make-autoloads-and-stuff): Rename from
12662 package--make-autoloads-and-compile. Don't compile any more.
12663 (package--compile): New function.
12664 (package-generate-description-file): New function, extracted from
12665 package-unpack-single.
12666 (package-unpack-single): Remove.
12667 (package--with-work-buffer): Add indentation and debugging info.
12668 (package-download-single): Remove.
12669 (package-install-from-archive): Rename from package-download-tar, make
12670 it take a pkg-desc, and make it work for single files as well.
12671 (package-download-transaction): Simplify.
12672 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12673 external tar program.
12674 (package-install-from-buffer): Remove `pkg-desc' argument.
12675 Use package-tar-file-info for tar-mode buffers.
12676 (package-install-file): Simplify accordingly.
12677 (package-archive-base): Change to take a pkg-desc.
12678 * tar-mode.el (tar--check-descriptor): New function, extracted from
12679 tar-get-descriptor.
12680 (tar-get-descriptor): Use it.
12681 (tar-get-file-descriptor): New function.
12682 (tar--extract): New function, extracted from tar-extract.
12683 (tar--extract): Use it.
12684 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12685 case the summary uses non-ascii. Adjust to new calling convention of
12686 package-tar-file-info.
12688 2013-06-21 Leo Liu <sdl.web@gmail.com>
12690 * comint.el (comint-redirect-results-list-from-process):
12691 Fix random delay. (Bug#14681)
12693 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12695 * profiler.el (profiler-format-number): Use log, not log10.
12697 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12699 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12701 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12703 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12704 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12706 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12707 (AUTOGENEL): ... here.
12708 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12709 (cl--defsubst-expand): Use it.
12711 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12713 * subr.el (log10): Move here from C code, and declare as obsolete.
12714 All uses of (log10 X) replaced with (log X 10).
12716 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12718 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12719 Declare with `defvar-local'.
12720 (tabulated-list-use-header-line, tabulated-list-entries)
12721 (tabulated-list-padding, tabulated-list-printer)
12722 (tabulated-list-sort-key): Declare with `defvar-local'.
12723 (tabulated-list-init-header, tabulated-list-print-fake-header):
12726 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12728 * arc-mode.el (archive-mode): Add `archive-write-file' to
12729 `write-contents-functions' also for remote files. (Bug#14652)
12731 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12733 * cus-edit.el (custom-commands): Fix typos.
12734 (custom-display): Fix tooltip text.
12735 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12736 Fix typos in docstrings.
12737 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12738 (custom-unlispify-menu-entry, custom-magic-value-create)
12739 (custom-add-see-also, custom-group-value-create): Use ?\s.
12740 (custom-guess-type, customize-apropos, editable-field)
12741 (custom-face-value-create): Use `string-match-p'.
12742 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12744 * custom.el (custom-load-symbol): Use `string-match-p'.
12746 * ansi-color.el: Convert to lexical binding.
12747 (ansi-colors): Fix URL.
12748 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12749 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12750 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12752 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12754 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12756 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12758 2013-06-19 Tom Tromey <tromey@redhat.com>
12760 * net/eww.el (eww-top-url): Remove.
12761 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12762 (eww-render): Set new variables. Don't set eww-top-url.
12763 (eww-handle-link): Handle "prev", "home", and "contents".
12764 Downcase the rel text.
12765 (eww-top-url): Choose best top URL.
12767 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12769 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12770 relying in widget.el. Using widget.el leads to too many
12771 user interface inconsistencies.
12772 (eww-self-insert): Implement entering commands in text fields.
12773 (eww-process-text-input): New function to make text input field editing
12775 (eww-submit): Rewrite to use the new-style form methods.
12776 (eww-select-display): Display the correct selected item.
12777 (eww-change-select): Implement changing the select value.
12778 (eww-toggle-checkbox): Implement radio/checkboxes.
12779 (eww-update-field): Fix compilation error.
12780 (eww-tag-textarea): Implement <textarea>.
12782 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12783 we don't shadow mode-specific bindings.
12785 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12788 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12790 2013-06-19 Glenn Morris <rgm@gnu.org>
12792 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12794 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12796 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12799 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12801 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12803 * net/browse-url.el (browse-url-browser-function):
12804 `eww-browse-url' has the right calling signature, `eww' does not.
12806 2013-06-19 Glenn Morris <rgm@gnu.org>
12808 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12809 Only eval autoloaded macros.
12810 (byte-compile-autoload): Only give the macro warning for macros.
12812 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12813 (ps-underlined-faces): Declare.
12815 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12816 (speedbar-add-supported-extension): Declare.
12818 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12819 Don't include a date stamp in the header of the generated file;
12820 it leads to needless differences between output files.
12822 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12824 * net/secrets.el (secrets-struct-secret-content-type):
12825 Replace check of introspection data by a test call of "CreateItem".
12826 Some servers do not offer introspection.
12828 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12830 * electric.el (electric-pair-mode): Improve interaction with
12831 electric-layout-mode.
12832 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12833 (electric-pair-syntax): Use text-mode-syntax-table in comments
12835 (electric-pair--insert): New function.
12836 (electric-pair-post-self-insert-function): Use it and
12837 electric--after-char-pos.
12839 2013-06-19 Leo Liu <sdl.web@gmail.com>
12841 * progmodes/octave.el (octave-help): Fix regexp.
12843 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12845 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12846 (shr-table-horizontal-line): Allow nil as a value, and change the
12848 (shr-insert-table-ruler): Respect the nil value.
12850 2013-06-18 Tom Tromey <tromey@barimba>
12852 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12854 (eww-open-file): New defun.
12855 (eww-render): Initialize new variables.
12856 (eww-display-html): Handle "link" and "a".
12857 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12858 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12859 (eww-back-url): Rename from eww-previous-url.
12860 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12863 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12865 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12866 Distinguish ternary operator tokens from slash symbol and slash
12869 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12871 Convert symbol prettification into minor mode and global minor mode.
12873 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12874 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12875 (prettify-symbols--keywords): Rename from
12876 `prog-prettify-symbols-alist' and make a local defvar.
12877 (prettify-symbols--compose-symbol): Rename from
12878 `prog--prettify-font-lock-compose-symbol'.
12879 (prettify-symbols--make-keywords): Rename from
12880 `prog-prettify-font-lock-symbols-keywords' and simplify.
12881 (prog-prettify-install): Remove.
12882 (prettify-symbols-mode): New minor mode, based on
12883 `prog-prettify-install'.
12884 (turn-on-prettify-symbols-mode): New function.
12885 (global-prettify-symbols-mode): New globalized minor mode.
12887 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12888 * progmodes/cfengine.el (cfengine3-mode):
12889 * progmodes/perl-mode.el (perl-mode): Don't call
12890 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12892 2013-06-18 Juri Linkov <juri@jurta.org>
12894 * files-x.el (modify-file-local-variable-message): New function.
12895 (modify-file-local-variable)
12896 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12897 and call `modify-file-local-variable-message' when it's non-nil.
12898 (add-file-local-variable, delete-file-local-variable)
12899 (add-file-local-variable-prop-line)
12900 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12901 and use it. (Bug#9820)
12903 2013-06-18 Juri Linkov <juri@jurta.org>
12905 * emulation/vi.el (vi-shell-op):
12906 * emulation/vip.el (vip-execute-com, ex-command):
12907 * emulation/viper-cmd.el (viper-exec-bang):
12908 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12909 the call of `shell-command-on-region'. (Bug#14637)
12911 * simple.el (shell-command-on-region): Doc fix.
12913 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12915 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12918 2013-06-18 Glenn Morris <rgm@gnu.org>
12920 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12922 * newcomment.el (comment-search-forward, comment-search-backward):
12923 Doc fix. (Bug#14376)
12925 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12927 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12928 (buffer-face-mode-invoke): Doc fix.
12930 2013-06-18 Matthias Meulien <orontee@gmail.com>
12932 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12933 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12935 2013-06-18 Glenn Morris <rgm@gnu.org>
12937 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12938 Replace obsolete function generic-make-keywords with its expansion.
12940 * progmodes/python.el (ffap-alist): Declare.
12942 * textmodes/reftex.el (bibtex-mode-map): Declare.
12944 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12946 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12947 (package-unpack, package-unpack-single): Return the pkg-dir.
12948 (package-download-transaction): Use it to update package-alist.
12950 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12952 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12955 2013-06-17 Juri Linkov <juri@jurta.org>
12957 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12959 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12961 * emacs-lisp/package.el (package-load-descriptor):
12962 Remove `with-syntax-table' call, `read' doesn't need it.
12963 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12965 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12967 * startup.el (command-line): Expand package name returned by
12968 `package--description-file' (bug#14639).
12970 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12972 * emacs-lisp/package.el (package-load-descriptor): Do not call
12973 `emacs-lisp-mode', just use its syntax table.
12975 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12977 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12978 `font-lock-extra-managed-props' if any prettifying keyword is added.
12979 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12980 (prog-mode): Use `setq-local'.
12982 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12984 * international/characters.el (standard-case-table): Set syntax of ?»
12985 and ?« to punctuation.
12987 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12989 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12990 Save relevant match data before calling `syntax-ppss' (bug#14595).
12992 2013-06-15 Juri Linkov <juri@jurta.org>
12994 * files-x.el (modify-file-local-variable-prop-line): Add local
12995 variables to the end of the existing comment on the first line.
12996 Use `file-auto-mode-skip' to skip interpreter magic line,
12997 and also skip XML declaration.
12999 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * startup.el (package--builtin-versions): New var.
13002 (package-subdirectory-regexp): Remove.
13003 (package--description-file): Hard code its value instead.
13005 * emacs-lisp/package.el: Don't activate packages older than builtin.
13006 (package-obsolete-list): Rename from package-obsolete-alist, and make
13007 it into a simple list of package-desc.
13008 (package-strip-version): Remove.
13009 (package-built-in-p): Use package--builtin-versions.
13010 (package-mark-obsolete): Simplify.
13011 (package-process-define-package): Mark it obsolete if older than the
13013 (package-handle-response): Use line-end-position.
13014 (package-read-archive-contents, package--download-one-archive):
13016 (package--add-to-archive-contents): Skip if older than the builtin or
13018 (package-menu-describe-package): Fix last change.
13019 (package-list-unversioned): New var.
13020 (package-menu--generate): Use it.
13022 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13023 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13024 (autoload-builtin-package-versions): New variable.
13025 (autoload-generate-file-autoloads): Use them.
13026 Remove the list of autoloaded functions/macros from the
13027 (autoload...) comments.
13029 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13031 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13033 * simple.el (line-move-partial): Don't jump to the next screen
13034 line as soon as it becomes visible. Instead, continue enlarging
13035 the vscroll until the portion of a tall screen line that's left on
13036 display is about the height of the frame's default font.
13039 2013-06-15 Glenn Morris <rgm@gnu.org>
13041 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13042 compilation-error-regexp-alist void, or local while let-bound.
13044 * progmodes/make-mode.el (makefile-mode-syntax-table):
13045 Treat "=" as punctuation. (Bug#14614)
13047 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13049 * help-fns.el (describe-variable):
13050 Add extra line for permanent-local variables.
13052 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13054 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13055 Add export, import, library. (Bug#9164)
13056 (library): Set indent function.
13058 2013-06-14 Glenn Morris <rgm@gnu.org>
13060 * term/xterm.el (xterm--query):
13061 Stop after first matching handler. (Bug#14615)
13063 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13065 Add support for dired in saveplace.
13066 * dired.el (dired-initial-position-hook): New variable.
13067 (dired-initial-position): Call hook to place cursor position.
13068 * saveplace.el (save-place-to-alist): Add dired position.
13069 (save-place-dired-hook): New function.
13071 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13073 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13074 through a symbol rather than letrec.
13076 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13077 (package-desc): Add `dir' field.
13078 (package-desc-full-name): New function.
13079 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13080 (package-maybe-load-descriptor): Remove.
13081 (package-load-all-descriptors): Just call package-load-descriptor.
13082 (package--disabled-p): New function.
13083 (package-desc-vers, package-desc-doc): Remove aliases.
13084 (package--dir): Remove function.
13085 (package-activate): Check if a package is disabled.
13086 (package-process-define-package): New function, extracted from
13088 (define-package): Turn into a place holder.
13089 (package-unpack-single, package-tar-file-info):
13090 Use package--description-file.
13091 (package-compute-transaction): Use package--disabled-p.
13092 (package-download-transaction): Don't call
13093 package-maybe-load-descriptor since they're all loaded anyway.
13094 (package-install): Change argument to be a pkg-desc.
13095 (package-delete): Use a single pkg-desc argument.
13096 (describe-package-1): Use package-desc-dir instead of package--dir.
13097 Use package-desc property instead of package-symbol.
13098 (package-install-button-action): Adjust accordingly.
13099 (package--push): Rewrite.
13100 (package-menu--print-info): Adjust accordingly. Change the ID format
13102 (package-menu-describe-package, package-menu-get-status)
13103 (package-menu--find-upgrades, package-menu-mark-upgrades)
13104 (package-menu-execute, package-menu--name-predicate):
13105 Adjust accordingly.
13106 * startup.el (package--description-file): New function.
13107 (command-line): Use it.
13108 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13109 Use package-desc-version.
13111 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13112 (byte-compile-preprocess): Use it.
13113 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13114 can't quite recognize.
13115 (byte-compile-add-to-list): Remove.
13116 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13117 (cconv-closure-convert): Add assertion.
13119 * emacs-lisp/map-ynp.el: Use lexical-binding.
13120 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13121 Factor out some repeated code.
13123 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13125 * subr.el (with-eval-after-load): New macro.
13126 (eval-after-load): Allow form to be a function.
13127 take advantage of lexical-binding.
13128 (do-after-load-evaluation): Use dolist and adjust to new format.
13129 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13131 2013-06-13 Juri Linkov <juri@jurta.org>
13133 * replace.el (perform-replace): Display "symbol " and other search
13134 modes from `isearch-message-prefix' in the *Help* buffer.
13136 * isearch.el (isearch-query-replace): Add " symbol" and other
13137 possible search modes from `isearch-message-prefix' to the prompt.
13138 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13139 when reading a regexp to collect.
13141 2013-06-13 Juri Linkov <juri@jurta.org>
13143 * isearch.el (word-search-regexp): Match whitespace if the search
13144 string begins or ends in whitespace. The LAX arg is applied to
13145 both ends of the search string. Use `regexp-quote' and explicit
13146 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13147 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13148 boundaries are replaced with symbol boundaries, and characters
13149 between symbols match non-word non-symbol syntax. (Bug#14602)
13151 2013-06-13 Juri Linkov <juri@jurta.org>
13153 * isearch.el (isearch-del-char): Don't exceed the length of
13154 `isearch-string' by the prefix arg. (Bug#14563)
13156 2013-06-13 Juri Linkov <juri@jurta.org>
13158 * isearch.el (isearch-yank-word, isearch-yank-line)
13159 (isearch-char-by-name, isearch-quote-char)
13160 (isearch-printing-char, isearch-process-search-char):
13161 Add optional count prefix arg. (Bug#14563)
13163 * international/isearch-x.el
13164 (isearch-process-search-multibyte-characters):
13165 Add optional count prefix arg.
13167 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13170 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13173 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13175 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13177 2013-06-13 Glenn Morris <rgm@gnu.org>
13179 * startup.el (tty-handle-args):
13180 Don't just discard "--" and anything after. (Bug#14608)
13182 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13184 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13186 Implement changes in Secret Service API. Make it backward compatible.
13187 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13188 (secrets-create-item): Use it. Prefix properties with interface.
13190 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13192 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13193 (term-emulate-terminal): Respect term-suppress-hard-newline.
13195 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13197 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13198 Only remove a `thumb-file' overlay. (Bug#14548)
13200 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13202 * mail/reporter.el (reporter-submit-bug-report):
13203 Handle missing package-name. (Bug#14600)
13205 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13207 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13208 (reftex-citation-prompt, reftex-default-bibliography)
13209 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13210 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13211 (reftex-bib-sort-author, reftex-bib-sort-year)
13212 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13213 (reftex-extract-bib-entries-from-thebibliography)
13214 (reftex-get-bibkey-default, reftex-get-bib-names)
13215 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13216 (reftex-format-bib-entry, reftex-parse-bibitem)
13217 (reftex-format-bibitem, reftex-do-citation)
13218 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13219 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13220 (reftex-insert-bib-matches, reftex-format-citation)
13221 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13222 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13223 existing comments into docstrings.
13225 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13227 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13229 2013-06-12 Andreas Schwab <schwab@suse.de>
13231 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13232 for auto-save files.
13234 2013-06-12 Glenn Morris <rgm@gnu.org>
13236 * ido.el (ido-delete-ignored-files): Remove.
13237 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13238 Go back to calling ido-ignore-item-p directly.
13240 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13242 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13244 * ido.el (ido-delete-ignored-files): New function,
13245 split from ido-make-file-list-1.
13246 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13247 (ido-make-file-list-1): Use ido-delete-ignored-files.
13249 2013-06-12 Leo Liu <sdl.web@gmail.com>
13251 * progmodes/octave.el (inferior-octave-startup)
13252 (inferior-octave-completion-table)
13253 (inferior-octave-track-window-width-change)
13254 (octave-eldoc-function-signatures, octave-help)
13255 (octave-find-definition): Use single quoted strings.
13256 (inferior-octave-startup-args): Change default value.
13257 (inferior-octave-startup): Do not hard code "-i" and
13258 "--no-line-editing".
13259 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13260 (inferior-octave-directory-tracker): Use it.
13261 (octave-goto-function-definition): Robustify.
13262 (octave-help): Support highlighting operators in 'See also'.
13263 (octave-find-definition): Find subfunctions only in Octave mode.
13265 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13267 * help-fns.el (help-fns--compiler-macro): If the handler function is
13268 named, then put a link to it.
13269 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13270 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13271 (cl-typep): Use it.
13272 (cl-eval-when): Simplify debug spec.
13273 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13274 compiler-macro function instead of setting `compiler-macro-file'.
13276 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13278 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13279 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13281 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13282 Daniel Hackney <dan@haxney.org>
13284 First part of Daniel Hackney's patch to package.el.
13285 * emacs-lisp/package.el: Use defstruct.
13286 (package-desc): New, main struct.
13287 (package--bi-desc, package--ac-desc): New structs, used to describe the
13288 format in external files.
13289 (package-desc-vers): Replace with package-desc-version accessor.
13290 (package-desc-doc): Replace with package-desc-summary accessor.
13291 (package-activate-1): Remove `package' arg since the pkg-vec now
13293 (define-package): Use package-desc-from-define.
13294 (package-unpack-single): Change file-name arg to be a symbol.
13295 (package--add-to-archive-contents): Use package-desc-create and new
13296 accessor functions to package--ac-desc.
13297 (package-buffer-info, package-tar-file-info): Return a package-desc.
13298 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13299 arg to be a package-desc.
13300 (package-install-file): Adjust accordingly. Use \' to match EOS.
13301 (package--from-builtin): New function.
13302 (describe-package-1, package-menu--generate): Use it.
13303 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13304 (package-generate-autoloads): Idem and return the name of the file.
13305 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13306 Change pkg-info arg to be a package-desc.
13307 Use package-make-ac-desc.
13308 (package-upload-file): Use \' to match EOS.
13309 * finder.el (finder-compile-keywords): Use package-make-builtin.
13311 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13313 * vc/vc.el (vc-deduce-fileset): Change error message.
13314 (vc-read-backend): New function.
13315 (vc-next-action): Use it.
13317 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13319 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13320 (prolog-font-lock-keywords): Use regexp-opt instead.
13321 Don't manually highlight strings.
13322 (prolog-mode-variables): Simplify comment-start-skip.
13323 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13325 * emacs-lisp/generic.el (generic--normalise-comments)
13326 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13327 (generic-mode-set-comments): Use them.
13328 (generic-bracket-support): Use setq-local.
13329 (generic-make-keywords-list): Declare obsolete.
13331 2013-06-11 Glenn Morris <rgm@gnu.org>
13333 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13334 Prettify after setting font-lock-defaults. (Bug#14574)
13336 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13338 * replace.el (query-replace, occur-read-regexp-defaults-function)
13340 * subr.el (declare-function, number-sequence, local-set-key)
13341 (substitute-key-definition, locate-user-emacs-file)
13342 (with-silent-modifications, split-string, eval-after-load):
13343 Fix typos, remove unneeded backslashes and reflow some docstrings.
13345 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13347 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13348 default for Elisp files.
13350 2013-06-11 Glenn Morris <rgm@gnu.org>
13352 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13353 although define-derived-mode was doing this anyway. (Bug#14583)
13355 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13357 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13358 Fix make-variable-buffer-local call to refer to the correct variable.
13360 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13362 * eshell/em-term.el (eshell-visual-commands)
13363 (eshell-visual-subcommands, eshell-visual-options):
13364 Add summary line to docstrings. Add cross-references.
13366 2013-06-10 Glenn Morris <rgm@gnu.org>
13368 * epa.el (epa-read-file-name): New function. (Bug#14510)
13369 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13371 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13373 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13374 output redirection to be ignored with visual commands.
13376 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13378 * eshell/em-term.el (eshell-visual-command-p): New function.
13379 (eshell-term-initialize): Move long lambda to separate function
13380 eshell-visual-command-p.
13381 * eshell/em-dirs.el (eshell-dirs-initialize):
13382 * eshell/em-script.el (eshell-script-initialize):
13383 Add missing #' to lambda.
13385 2013-06-08 Leo Liu <sdl.web@gmail.com>
13387 * progmodes/octave.el (octave-add-log-current-defun): New function.
13388 (octave-mode): Set add-log-current-defun-function.
13389 (octave-goto-function-definition): Do not move point if not found.
13390 (octave-find-definition): Enhance to try subfunctions first.
13392 2013-06-08 Glenn Morris <rgm@gnu.org>
13394 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13395 (byte-compile-backward-char, byte-compile-backward-word):
13396 Improve previous change, to handle non-explicit nil.
13398 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13400 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13401 (smie--opener/closer-at-point): New function.
13402 (smie--matching-block-data): Use it. Don't match from right after an
13403 opener or right before a closer. Obey smie-blink-matching-inners.
13404 Don't signal a mismatch for repeated inners like "switch..case..case".
13406 2013-06-07 Leo Liu <sdl.web@gmail.com>
13408 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13410 (octave-function-header-regexp): Fix. (Bug#14570)
13411 (octave-help-mode-finish-hook, octave-help-mode-finish):
13412 Remove. Just use temp-buffer-show-hook.
13414 * newcomment.el (comment-search-backward): Revert last change.
13417 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13419 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13421 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13422 through xargs, to avoid failure due to MS-Windows limitations on
13423 command-line length.
13425 2013-06-06 Glenn Morris <rgm@gnu.org>
13427 * font-lock.el (lisp-font-lock-keywords-2):
13428 Treat user-error like error.
13430 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13431 (byte-compile-backward-char, byte-compile-backward-word):
13432 Handle explicit nil arguments. (Bug#14565)
13434 2013-06-05 Alan Mackenzie <acm@muc.de>
13436 * isearch.el (isearch-allow-prefix): New user option.
13437 (isearch-other-meta-char): Don't exit isearch when a prefix
13438 argument is typed whilst `isearch-allow-prefix' is non-nil.
13441 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13443 * autorevert.el (auto-revert-notify-handler): Use memq.
13444 Hide assertion failure.
13446 * skeleton.el: Use cl-lib.
13447 (skeleton-further-elements): Use defvar-local.
13448 (skeleton-insert): Use cl-progv.
13450 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13452 * progmodes/prog-mode.el (prog-prettify-symbols)
13453 (prog-prettify-install): Update docstrings.
13455 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13457 * simple.el: Move all the prog-mode code to prog-mode.el.
13458 * progmodes/prog-mode.el: New file.
13459 * loadup.el: Add prog-mode.el.
13461 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13463 * simple.el (prog-prettify-symbols): Add version.
13464 (prog-prettify-install): Add convenience function to prettify symbols.
13466 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13467 (perl--augmented-font-lock-keywords-1)
13468 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13469 variables and use it.
13471 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13472 (cfengine3-mode): Remove unneeded variable and use it.
13474 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13475 (lisp--augmented-font-lock-keywords-1)
13476 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13477 Remove unneeded variables and use it.
13479 2013-06-05 João Távora <joaotavora@gmail.com>
13481 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13482 to point when opening the connection. (Bug#14380)
13484 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13486 * subr.el (load-history-regexp, load-history-filename-element)
13487 (eval-after-load, after-load-functions, do-after-load-evaluation)
13488 (eval-next-after-load, display-delayed-warnings)
13489 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13490 definition of save-match-data.
13491 (overriding-local-map): Remove accidental obsolescence declaration.
13493 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13495 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13497 Generalize symbol prettify support to prog-mode and implement it
13498 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13499 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13500 (prog--prettify-font-lock-compose-symbol)
13501 (prog-prettify-font-lock-symbols-keywords): New variables and
13502 functions to support symbol prettification.
13503 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13504 (lisp--augmented-font-lock-keywords-1)
13505 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13506 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13507 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13508 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13509 Implement prettify of -> => :: strings.
13510 * progmodes/perl-mode.el (perl-prettify-symbols)
13511 (perl--font-lock-compose-symbol)
13512 (perl--font-lock-symbols-keywords): Move to prog-mode.
13513 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13514 (perl-font-lock-keywords-1)
13515 (perl-font-lock-keywords-2): Remove explicit prettify support.
13516 (perl--augmented-font-lock-keywords)
13517 (perl--augmented-font-lock-keywords-1)
13518 (perl--augmented-font-lock-keywords-2, perl-mode):
13519 Implement prettify support.
13521 2013-06-05 Leo Liu <sdl.web@gmail.com>
13523 Re-implement SMIE matching block highlight using
13524 show-paren-data-function. (Bug#14395)
13525 * emacs-lisp/smie.el (smie-matching-block-highlight)
13526 (smie--highlight-matching-block-overlay)
13527 (smie--highlight-matching-block-lastpos)
13528 (smie-highlight-matching-block)
13529 (smie-highlight-matching-block-mode): Remove.
13530 (smie--matching-block-data-cache): New variable.
13531 (smie--matching-block-data): New function.
13532 (smie-setup): Use smie--matching-block-data for
13533 show-paren-data-function.
13535 * progmodes/octave.el (octave-mode-menu): Fix.
13536 (octave-find-definition): Skip garbage lines.
13538 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13540 Fix compilation error with simultaneous dynamic+lexical scoping.
13541 Add warning when a defvar appears after the first let-binding.
13542 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13543 (byte-compile-close-variables): Initialize it.
13544 (byte-compile--declare-var): New function.
13545 (byte-compile-file-form-defvar)
13546 (byte-compile-file-form-define-abbrev-table)
13547 (byte-compile-file-form-custom-declare-variable): Use it.
13548 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13549 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13550 (byte-compile-bind): Handle dynamic bindings that shadow
13552 (byte-compile-unbind): Make arg non-optional.
13553 (byte-compile-let): Simplify.
13554 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13555 (cconv--analyse-function, cconv-analyse-form): Populate it.
13556 Protect byte-compile-bound-variables to limit the scope of defvars.
13557 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13558 Remove unneeded rule for `declare'.
13560 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13561 so as to avoid depending on cl-adjoin at run-time.
13562 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13564 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13565 (macroexp--warn-and-return): Use it.
13567 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13569 * subr.el: Convert to lexical binding.
13570 (overriding-local-map): Make obsolete.
13571 (add-to-list): Doc fix. Add compiler macro.
13572 (read-key): Swap values of local maps.
13574 2013-06-05 Leo Liu <sdl.web@gmail.com>
13576 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13578 2013-06-04 Leo Liu <sdl.web@gmail.com>
13580 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13581 (compilation-auto-jump): Suppress the "Mark set" message to give
13582 way to exit message.
13584 2013-06-04 Alan Mackenzie <acm@muc.de>
13586 Remove faulty optimisation from indentation calculation.
13587 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13588 search limit based on 2000 characters back from indent-point.
13590 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13592 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13594 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13596 * emacs-lisp/lisp.el: Use lexical-binding.
13597 (lisp--local-variables-1, lisp--local-variables): New functions.
13598 (lisp--local-variables-completion-table): New var.
13599 (lisp-completion-at-point): Use it complete let-bound vars.
13601 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13602 eagerly (bug#14422).
13604 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13606 * autorevert.el (auto-revert-notify-enabled)
13607 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13608 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13609 (auto-revert-notify-handler): Handle also gfilenotify.
13611 * subr.el (file-notify-handle-event): New defun. Replacing ...
13612 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13615 2013-06-03 Juri Linkov <juri@jurta.org>
13617 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13618 `M-s h .'. (Bug#14427)
13620 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13621 command `hi-lock-face-symbol-at-point'.
13622 (hi-lock-face-symbol-at-point): New command.
13623 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13624 (hi-lock-menu): Add `highlight-symbol-at-point'.
13625 (hi-lock-mode): Doc fix.
13627 * isearch.el (isearch-forward-symbol-at-point): New command.
13628 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13629 (isearch-highlight-regexp): Add a regexp which matches
13630 words/symbols for word/symbol mode.
13632 * subr.el (find-tag-default-bounds): New function with the body
13633 mostly moved from `find-tag-default'.
13634 (find-tag-default): Move most code to `find-tag-default-bounds',
13635 call it and apply `buffer-substring-no-properties' afterwards.
13637 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13639 * eshell/em-term.el (eshell-term-initialize):
13640 Use `cl-intersection' rather than `intersection'.
13642 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13644 * vc/log-view.el: Doc fix.
13645 (log-view-mode-map): Copy keymap from `special-mode-map'.
13647 2013-06-02 Eric Ludlam <zappo@gnu.org>
13649 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13650 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13651 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13652 (eieio-unbound, eieio-default-superclass)
13653 (eieio--define-field-accessors, method-static, method-before)
13654 (method-primary, method-after, method-num-lists)
13655 (method-generic-before, method-generic-primary)
13656 (method-generic-after, method-num-slots)
13657 (eieio-specialized-key-to-generic-key)
13658 (eieio--check-type, class-v, class-p)
13659 (eieio-class-name, define-obsolete-function-alias)
13660 (eieio-class-parents-fast, eieio-class-children-fast)
13661 (same-class-fast-p, class-constructor, generic-p)
13662 (generic-primary-only-p, generic-primary-only-one-p)
13663 (class-option-assoc, class-option, eieio-object-p)
13664 (class-abstract-p, class-method-invocation-order)
13665 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13666 (eieio-class-un-autoload, eieio-defclass)
13667 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13668 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13669 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13670 (eieio-defgeneric-reset-generic-form)
13671 (eieio-defgeneric-form-primary-only)
13672 (eieio-defgeneric-reset-generic-form-primary-only)
13673 (eieio-defgeneric-form-primary-only-one)
13674 (eieio-defgeneric-reset-generic-form-primary-only-one)
13675 (eieio-unbind-method-implementations)
13676 (eieio--defmethod, eieio--typep)
13677 (eieio-perform-slot-validation, eieio-validate-slot-value)
13678 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13679 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13680 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13681 (eieio-slot-name-index, eieio-class-slot-name-index)
13682 (eieio-set-defaults, eieio-initarg-to-attribute)
13683 (eieio-attribute-to-initarg, eieio-c3-candidate)
13684 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13685 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13686 (eieio-class-precedence-list, eieio-generic-call-methodname)
13687 (eieio-generic-call-arglst, eieio-generic-call-key)
13688 (eieio-generic-call-next-method-list)
13689 (eieio-pre-method-execution-functions, eieio-generic-call)
13690 (eieio-generic-call-primary-only, eieiomt-method-list)
13691 (eieiomt-optimizing-obarray, eieiomt-install)
13692 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13693 (eieio-generic-form, eieio-defmethod, make-obsolete)
13694 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13695 (defclass): Remove `eval-and-compile' from macro.
13696 (call-next-method, shared-initialize): Instead of using
13697 `scoped-class' variable, use new eieio--scoped-class, and
13698 eieio--with-scoped-class.
13699 (initialize-instance): Rename local variable 'scoped-class' to
13700 'this-class' to remove ambiguitity from old global.
13702 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13704 (eieio--scoped-class-stack): New variable.
13705 (eieio--scoped-class): New fcn.
13706 (eieio--with-scoped-class): New scoping macro.
13707 (eieio-defclass): Use pushnew instead of add-to-list.
13708 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13709 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13710 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13711 `scoped-class' variable, use new eieio--scoped-class, and
13712 eieio--with-scoped-class.
13714 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13716 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13718 * eshell/esh-ext.el (eshell-external-command): Pass args to
13719 `eshell-find-interpreter'.
13720 (eshell-find-interpreter): Add new second parameter ARGS.
13722 * eshell/em-script.el (eshell-script-initialize): Add second arg
13723 to the function added as MATCH to `eshell-interpreter-alist'.
13725 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13726 the function added as MATCH to `eshell-interpreter-alist'.
13728 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13729 (eshell-visual-options): New defcustom.
13730 (eshell-escape-control-x): Adapt docstring.
13731 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13732 `eshell-visual-options' in addition to `eshell-visual-commands'.
13733 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13735 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13737 * progmodes/python.el (python-indent-block-enders): Add break,
13738 continue and raise keywords.
13740 2013-06-01 Glenn Morris <rgm@gnu.org>
13742 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13744 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13745 * progmodes/cc-cmds.el (delete-forward-p):
13746 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13747 * progmodes/cc-engine.el (buffer-syntactic-context):
13748 * progmodes/cc-fonts.el (face-property-instance):
13749 * progmodes/cc-mode.el (set-keymap-parents):
13750 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13751 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13752 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13753 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13754 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13756 * progmodes/cc-vars.el (other): Emacs has this widget since
13757 at least 21.1, so don't (re)define it.
13759 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13760 Replace the obsolete alias pcomplete-arg-quote-list.
13762 2013-06-01 Leo Liu <sdl.web@gmail.com>
13764 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13765 punctuation syntax.
13766 (inferior-octave-minimal-columns)
13767 (inferior-octave-last-column-width): New variables.
13768 (inferior-octave-track-window-width-change): New function.
13769 (inferior-octave-mode): Adjust column width so that Octave output,
13770 for example from 'ls', can fit into the window nicely.
13772 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13774 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13775 Highlight expansions inside regexp literals.
13777 2013-05-31 Glenn Morris <rgm@gnu.org>
13779 * obsolete/sym-comp.el (symbol-complete):
13780 Replace obsolete completion-annotate-function.
13782 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13784 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13786 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13787 New function, checks if point is inside a literal that allows
13788 expression expansion.
13789 (ruby-syntax-propertize-expansion): Use it.
13790 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13793 2013-05-30 Juri Linkov <juri@jurta.org>
13795 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13797 (isearch-invisible): New variable.
13798 (isearch-forward): Doc fix.
13799 (isearch-mode): Set `isearch-invisible'
13800 to the value of `search-invisible'.
13801 (isearch-toggle-case-fold): Doc fix.
13802 (isearch-toggle-invisible): New command.
13803 (isearch-query-replace): Let-bind `search-invisible'
13804 to the value of `isearch-invisible'.
13805 (isearch-search): Use `isearch-invisible' instead of
13806 `search-invisible'. Let-bind `search-invisible'
13807 to the value of `isearch-invisible'. (Bug#11378)
13809 2013-05-30 Juri Linkov <juri@jurta.org>
13811 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13812 call when `query-flag' is nil and `search-invisible' is non-nil.
13815 2013-05-30 Glenn Morris <rgm@gnu.org>
13817 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13819 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13820 (cc-require): Suppress spurious "noruntime" warnings.
13821 (cc-require-when-compile): Use fboundp, for sake of compiler.
13823 * progmodes/cc-mode.el: Move load of cc-vars before that of
13824 cc-langs (which in turn loads cc-vars), to quieten compiler.
13826 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13828 * paren.el: Simplify the code.
13829 (show-paren-mode): Always start the timer.
13830 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13831 (show-paren--overlay, show-paren--overlay-1): Rename from
13832 show-paren-overlay and show-paren-overlay-1, and initialize to an
13833 overlay rather than to nil.
13834 (show-paren-function): Misc cleanup and simplifications.
13836 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13838 * paren.el (show-paren-data-function): New hook.
13839 (show-paren--default): New function, extracted from show-paren-function.
13840 (show-paren-function): Use show-paren-data-function.
13842 2013-05-30 Glenn Morris <rgm@gnu.org>
13844 * ielm.el (ielm-map, ielm-complete-symbol):
13845 Use completion-at-point rather than obsolete functions.
13846 (inferior-emacs-lisp-mode): Doc fix.
13847 Set completion-at-point-functions, rather than
13848 comint-dynamic-complete-functions.
13850 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13851 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13852 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13854 * image.el (image-animated-p): Tweak definition.
13856 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13857 (rlogin-process-connection-type): Tweak default. Add set-after.
13858 (rlogin-host): Doc fix.
13859 (rlogin): Tweak prompt.
13860 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13862 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13863 * progmodes/tcl.el (inferior-tcl-mode-map):
13864 Use completion-at-point rather than obsolete alias.
13866 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13868 * minibuffer.el (read-file-name-completion-ignore-case):
13869 Move before completion--in-region, for eager macro expansion.
13871 2013-05-29 Juri Linkov <juri@jurta.org>
13873 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13874 for total count of matching lines. Add `global-matches' for total
13875 count of matches. Rename `matches' to `lines' for count of
13876 matching lines. Add `matches' for count of matches.
13877 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13878 to `prev-line' for line number of prev match endpt.
13879 Increment `matches' for every match. Print the number of
13880 matching lines in the header.
13881 (occur-context-lines): Rename `lines' to `curr-line'.
13882 Rename `prev-lines' to `prev-line'. (Bug#14017)
13884 2013-05-29 Juri Linkov <juri@jurta.org>
13886 * replace.el (perform-replace): Add `skip-read-only-count',
13887 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13888 Increment them for corresponding conditions and report the number
13889 of skipped occurrences in the final message. (Bug#11746)
13890 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13891 (replace-string, replace-regexp): Doc fix.
13893 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13897 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13898 prog-mode-map (bug#14504).
13900 2013-05-29 Leo Liu <sdl.web@gmail.com>
13902 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13903 (octave-help): Small simplification.
13905 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13906 off the highlight first.
13908 2013-05-29 Glenn Morris <rgm@gnu.org>
13910 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13911 Handle idlwave-last-system-routine-info-cons-cell being nil.
13913 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13914 (idlwave-write-paths): Simplify via with-temp-buffer.
13916 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13917 * emulation/cua-rect.el: Also load cua-base at run time.
13919 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13920 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13921 (cperl-imenu-on-info): Require imenu.
13923 2013-05-28 Alan Mackenzie <acm@muc.de>
13925 Handle "capitalised keywords" correctly.
13926 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13928 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13930 * eshell/em-unix.el: Add -r option to cp.
13932 2013-05-28 Glenn Morris <rgm@gnu.org>
13934 * vc/vc-arch.el (vc-exec-after): Declare.
13935 (vc-switches): Autoload.
13936 * vc/vc-bzr.el: No need to require vc when compiling.
13937 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13938 (vc-resynch-buffer, vc-dir-refresh): Declare.
13939 (vc-setup-buffer, vc-switches): Autoload.
13940 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13941 (vc-resynch-buffer): Declare.
13942 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13943 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13944 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13945 (grep-read-regexp, grep-read-files, grep-expand-template)
13946 (vc-dir-refresh): Declare.
13947 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13948 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13949 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13950 * vc/vc-mtn.el (vc-exec-after): Declare.
13951 (vc-switches): Autoload.
13952 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13953 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13954 (vc-file-tree-walk): Declare.
13955 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13956 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13957 (vc-tag-precondition, vc-rename-master): Autoload.
13958 * vc/vc-svn.el (vc-exec-after): Declare.
13959 (vc-switches, vc-setup-buffer): Autoload.
13960 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13962 (vc-resynch-buffer): Declare.
13964 * obsolete/fast-lock.el (byte-compile-warnings):
13965 Don't warn about obsolete features in this obsolete file.
13967 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13968 Move definition before use.
13970 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13971 (dun-unix-verbs): Remove dun-zippy.
13972 (dun-zippy): Remove function.
13974 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13976 2013-05-27 Juri Linkov <juri@jurta.org>
13978 * replace.el (replace-search): New function with code moved out
13979 from `perform-replace'.
13980 (replace-highlight, replace-dehighlight): Move function definitions
13981 up closer to `replace-search'. (Bug#11746)
13983 2013-05-27 Juri Linkov <juri@jurta.org>
13985 * replace.el (perform-replace): Ignore invisible matches.
13986 In addition to checking `query-replace-skip-read-only', also
13987 filter out matches by calling `run-hook-with-args-until-failure'
13988 on `isearch-filter-predicates', and also check `search-invisible'
13989 for t or call `isearch-range-invisible'.
13990 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13992 2013-05-27 Juri Linkov <juri@jurta.org>
13994 * isearch.el (isearch-filter-predicates): Rename from
13995 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13996 (isearch-message-prefix): Display text from the property
13997 `isearch-message-prefix' of the currently active filters.
13998 (isearch-search): Don't compare `isearch-filter-predicate' with
13999 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14000 on `isearch-filter-predicates'. Also check `search-invisible' for t
14001 or call `isearch-range-invisible'.
14002 (isearch-filter-visible): Make obsolete.
14003 (isearch-lazy-highlight-search):
14004 Call `run-hook-with-args-until-failure' on
14005 `isearch-filter-predicates' and use `isearch-range-invisible'.
14007 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14008 `isearch-filter-predicates' instead of `funcall'ing
14009 `isearch-filter-predicate'.
14010 (Info-mode): Set `Info-isearch-filter' to
14011 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14013 * dired-aux.el (dired-isearch-filter-predicate-orig):
14015 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14016 (dired-isearch-filenames-end): Add and remove
14017 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14018 instead of changing the value of `isearch-filter-predicate'.
14019 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14020 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14021 Put property `isearch-message-prefix' to "filename " on
14022 `dired-isearch-filter-filenames'.
14024 * wdired.el (wdired-change-to-wdired-mode):
14025 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14026 locally instead of changing `isearch-filter-predicate'.
14027 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14029 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14031 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14032 return the commit hash (Bug#14459). Also set the
14033 `vc-git-detached' property.
14034 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14035 (vc-git-mode-line-string): Use the same help-echo format whether
14036 in detached mode or not, because we know the actual revision now.
14037 When in detached mode, shorten the revision to 7 chars.
14039 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14041 * emacs-lisp/easy-mmode.el (define-minor-mode):
14042 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14043 mode hook and provide a docstring.
14045 2013-05-27 Alan Mackenzie <acm@muc.de>
14047 Remove spurious syntax-table text properties inserted by C-y.
14048 * progmodes/cc-mode.el (c-after-change): Also clear hard
14049 syntax-table property with value nil.
14051 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14053 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14054 when reading the events; the buffer layout shall not be changed.
14056 2013-05-27 Leo Liu <sdl.web@gmail.com>
14058 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14060 (inferior-octave-directory-tracker): Automatically re-sync
14062 (octave-help): Improve handling of 'See also'.
14064 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14066 * doc-view.el: Minor naming convention tweaks.
14067 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14069 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14070 even if there's no `display' property yet (bug#14435).
14072 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14074 * subr.el (unmsys--file-name): Rename from reveal-filename.
14076 * Makefile.in (custom-deps, finder-data, autoloads)
14077 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14078 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14079 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14081 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14083 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14084 error-completion on the first 2 args of condition-case (bug#14446).
14087 2013-05-25 Leo Liu <sdl.web@gmail.com>
14089 * comint.el (comint-previous-matching-input): Do not flood the
14090 *Messages* buffer with trivial messages.
14092 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14094 * progmodes/flymake.el (flymake-nop): Don't return a string.
14095 (flymake-set-at): Fix typo.
14097 * simple.el (read--expression): New function, extracted from
14098 eval-expression. Set completion-at-point-functions (bug#14465).
14099 (eval-expression, eval-minibuffer): Use it.
14101 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14103 * progmodes/flymake.el (flymake-save-buffer-in-file)
14104 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14105 (flymake-selected-frame, flymake-log, flymake-ins-after)
14106 (flymake-set-at, flymake-get-buildfile-from-cache)
14107 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14108 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14109 Refine the doc string.
14110 (flymake-get-file-name-mode-and-masks): Reformat.
14111 (flymake-get-real-file-name-function): Fix a minor bug.
14113 2013-05-24 Juri Linkov <juri@jurta.org>
14115 * progmodes/grep.el (grep-mode-font-lock-keywords):
14116 Support =linenumber= format used by git-grep for lines with
14117 function names. (Bug#13549)
14119 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14121 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14122 0 after a semi-colon; it works better for smie-auto-fill.
14123 (octave--indent-new-comment-line): New function.
14124 (octave-indent-new-comment-line): Use it (indirectly).
14125 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14126 modify comment-line-break-function.
14128 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14129 (smie-setup): Use add-function to set it.
14131 2013-05-24 Sam Steingold <sds@gnu.org>
14133 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14134 argument (before the `interactive' argument).
14136 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14138 * image-mode.el (image-mode-winprops): Add winprops to
14139 image-mode-winprops-alist before running
14140 image-mode-new-window-functions.
14141 * doc-view.el (doc-view-new-window-function): Don't delay
14142 doc-view-goto-page via timers (bug#14435).
14144 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14146 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14147 (doc-view-desktop-save-buffer): New function.
14148 (doc-view-restore-desktop-buffer): New function.
14149 (desktop-buffer-mode-handlers):
14150 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14152 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14153 `desktop-save-buffer' function.
14155 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14157 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14158 (tramp-gvfs-file-name-handler): Raise a user error when
14159 `tramp-gvfs-enabled' is nil.
14160 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14161 Do not raise a user error when loading package. (Bug#14447)
14163 * net/xesam.el: Move to obsolete/.
14165 2013-05-24 Glenn Morris <rgm@gnu.org>
14167 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14169 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14171 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14172 (Info-find-node, Man-getpage-in-background): Declare.
14174 * mail/unrmail.el (unrmail):
14175 Replace obsolete detect-coding-with-priority.
14177 * net/socks.el (socks-split-string): Use this rather than split-string.
14178 (socks-nslookup-host): Update for above change.
14179 (dynamic-choice, s5-dynamic-choice-match)
14180 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14181 Comment out unused code.
14183 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14184 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14185 (gud-tooltip-echo-area): Make obsolete.
14186 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14188 * progmodes/js.el (js--optimize-arglist): Declare.
14190 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14192 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14193 (ediff-window-C): Declare.
14195 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14196 Tweak requires to silence compiler.
14198 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14199 (he-search-string, he-tried-table, he-expand-list)
14200 (he-init-string, he-string-member, he-substitute-string)
14201 (he-reset-string): Declare.
14203 * obsolete/options.el (list-options): Use custom-variable-p,
14204 rather than obsolete alias.
14206 2013-05-23 Sam Steingold <sds@gnu.org>
14208 * simple.el (shell-command-on-region): Pass the `replace' argument
14209 down to `call-process-region' to comply with the doc as reported on
14210 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14212 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14214 * emacs-lisp/smie.el (smie-indent-forward-token)
14215 (smie-indent-backward-token): Handle string tokens (bug#14381).
14217 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14219 * ielm.el (ielm-menu): New menu.
14220 (inferior-emacs-lisp-mode): Set comment-start.
14222 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14224 * textmodes/reftex.el (reftex-ref-style-toggle):
14225 Fix deactivate action.
14227 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14228 Add cleveref macros.
14230 * textmodes/reftex-parse.el
14231 (reftex-locate-bibliography-files): Accept options for
14232 bibliography commands.
14233 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14234 Add addbibresource. Basic Biblatex support.
14236 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14238 * net/tramp-gvfs.el (top):
14239 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14240 when loading package. (Bug#14447)
14242 2013-05-23 Glenn Morris <rgm@gnu.org>
14244 * progmodes/js.el: No need to load comint when compiling.
14245 (ring-insert, comint-send-string, comint-send-input)
14246 (comint-last-input-end, ido-chop): Declare.
14248 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14249 * vc/ediff-mult.el: Adjust requires.
14250 (ediff-directories-internal, ediff-directory-revisions-internal)
14251 (ediff-patch-file-internal): Declare.
14252 * vc/ediff-ptch.el: Adjust requires.
14253 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14254 (ediff-find-file): Autoload.
14255 * vc/ediff-util.el: No need to load ediff when compiling.
14256 (ediff-regions-internal): Declare.
14257 * vc/ediff-wind.el: Adjust requires.
14258 (ediff-compute-toolbar-width): Define when compiling.
14259 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14260 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14261 (dired-get-filename, dired-get-marked-files)
14262 (ediff-last-dir-patch, ediff-patch-default-directory)
14263 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14264 (ediff-patch-buffer-internal): Declare.
14266 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14267 (ispell-process, ispell-buffer-local-words, lm-summary)
14268 (lm-section-start, lm-section-end): Declare.
14269 (checkdoc-ispell-init): Simplify.
14271 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14272 (he-string-member, he-reset-string, he-substitute-string): Declare.
14274 * eshell/em-ls.el: Adjust requires.
14275 (eshell-glob-regexp): Declare.
14276 * eshell/em-tramp.el: Adjust requires.
14277 (eshell-parse-command): Autoload.
14278 * eshell/em-xtra.el: Adjust requires.
14279 (eshell-parse-command): Autoload.
14280 * eshell/esh-ext.el: Adjust requires.
14281 (eshell-parse-command, eshell-close-handles): Autoload.
14282 * eshell/esh-io.el: Adjust requires.
14283 (eshell-output-filter): Autoload.
14284 * eshell/esh-util.el: No need to load tramp when compiling.
14285 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14287 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14288 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14289 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14290 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14291 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14292 * eshell/esh-opt.el, eshell/esh-proc.el:
14293 * eshell/esh-var.el: Adjust requires.
14294 * eshell/eshell.el: Do not require esh-util twice.
14295 (eshell-add-input-to-history): Declare.
14296 (eshell-command): Check history module is active before using it.
14298 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14300 2013-05-22 Leo Liu <sdl.web@gmail.com>
14302 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14304 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14306 * autorevert.el (auto-revert-notify-add-watch)
14307 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14308 it indicates changes in file modification time.
14310 2013-05-22 Glenn Morris <rgm@gnu.org>
14312 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14313 Always delete the autoloaded function from the noruntime and
14314 unresolved functions lists.
14316 * allout.el: No need to load epa, epg, overlay when compiling.
14317 (epg-context-set-passphrase-callback, epg-list-keys)
14318 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14319 (epg-key-user-id-list): Declare.
14321 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14322 (viper-set-parsing-style-toggling-macro)
14323 (viper-set-emacs-state-searchstyle-macros):
14324 Use called-interactively-p on Emacs.
14325 (viper-looking-back): Make it an obsolete alias. Update callers.
14326 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14327 Use looking-back rather than viper-looking-back.
14328 (viper-tmp-insert-at-eob, viper-enlarge-region)
14329 (viper-read-string-with-history, viper-register-to-point)
14330 (viper-append-to-register, viper-change-state-to-vi)
14331 (viper-backward-char-carefully, viper-forward-char-carefully)
14332 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14333 (viper-change-state-to-emacs): Declare.
14334 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14335 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14336 * emulation/viper-mous.el: Do not load viper-cmd.
14337 (viper-backward-char-carefully, viper-forward-char-carefully)
14338 (viper-forward-word, viper-adjust-window): Declare.
14340 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14342 * progmodes/idlw-help.el (idlwave-help-fontify):
14343 Use called-interactively-p.
14345 * term/w32console.el (w32-get-console-codepage)
14346 (w32-get-console-output-codepage): Declare.
14348 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14349 Remove unnecessary declarations.
14350 (dframe-message): Doc fix.
14352 * info.el (dframe-select-attached-frame, dframe-current-frame):
14355 * speedbar.el (speedbar-message): Make it an obsolete alias.
14356 Update all callers.
14357 (speedbar-with-attached-buffer)
14358 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14359 (speedbar-with-writable): Use backquote.
14360 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14361 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14362 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14363 rather than speedbar- aliases.
14364 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14365 (speedbar-make-specialized-keymap, speedbar-insert-button)
14366 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14367 (speedbar-do-function-pointer): Declare.
14368 (rmail-speedbar-button, rmail-speedbar-find-file)
14369 (rmail-speedbar-move-message):
14370 Use dframe-with-attached-buffer rather than speedbar- alias.
14371 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14372 (dframe-message, speedbar-make-specialized-keymap)
14373 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14374 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14375 (speedbar-insert-button, dframe-select-attached-frame)
14376 (dframe-maybee-jump-to-attached-frame)
14377 (speedbar-change-initial-expansion-list)
14378 (speedbar-previously-used-expansion-list-name): Declare.
14379 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14380 Use dframe-message, dframe-with-attached-buffer rather than
14382 (gud-sentinel): Silence compiler.
14383 * progmodes/vhdl-mode.el (speedbar-refresh)
14384 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14385 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14386 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14387 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14388 (speedbar-file-lists, speedbar-make-tag-line)
14389 (speedbar-line-directory, speedbar-goto-this-file)
14390 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14391 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14392 (speedbar-make-button, speedbar-reset-scanners)
14393 (speedbar-files-item-info, speedbar-line-text)
14394 (speedbar-find-file-in-frame, speedbar-set-timer)
14395 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14396 (speedbar-with-writable): Do not (re)define it.
14397 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14398 rather than speedbar- alias.
14400 2013-05-21 Leo Liu <sdl.web@gmail.com>
14402 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14404 (octave-mode): Tweak fill-nobreak-predicate.
14405 (inferior-octave-startup): Check process to avoid infinite loop.
14406 (inferior-octave): Pop to buffer first to show abornmal process
14409 2013-05-21 Glenn Morris <rgm@gnu.org>
14411 * printing.el (pr-menu-bar): Define when compiling.
14413 2013-05-21 Leo Liu <sdl.web@gmail.com>
14415 * progmodes/octave.el (octave-auto-fill): Remove.
14416 (octave-indent-new-comment-line): Improve.
14417 (octave-mode): Use auto fill mode through
14418 comment-line-break-function and fill-nobreak-predicate.
14419 (octave-goto-function-definition): Support DEFUN_DLD.
14420 (octave-beginning-of-defun): Small tweak.
14421 (octave-help): Show parent directory.
14423 2013-05-21 Glenn Morris <rgm@gnu.org>
14425 * files.el (dired-unmark):
14426 * progmodes/gud.el (gdb-input): Update declarations.
14428 * calculator.el (electric, ehelp): No need to load when compiling.
14429 (Electric-command-loop, electric-describe-mode): Declare.
14431 * doc-view.el (doc-view-current-converter-processes): Move before use.
14433 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14434 Move MODE-set-explicitly definition before use.
14436 * international/mule-diag.el (mule-diag):
14437 Don't use obsolete window-system-version.
14439 * mail/feedmail.el (smtpmail): No need to load when compiling.
14440 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14442 * mail/mail-utils.el (rfc822): No need to load when compiling.
14443 (rfc822-addresses): Autoload it.
14444 (mail-strip-quoted-names): Trivial simplification.
14446 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14447 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14449 * net/snmp-mode.el (tempo): Don't duplicate requires.
14451 * progmodes/prolog.el (info): No need to load when compiling.
14452 (comint): Require before shell requires it.
14453 (Info-goto-node): Autoload it.
14454 (Info-follow-nearest-node): Declare.
14455 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14457 * textmodes/artist.el (picture-mode-exit): Declare.
14459 * textmodes/reftex-parse.el (reftex-parse-from-file):
14460 Trivial rewrite so the compiler can parse it better.
14462 2013-05-20 Leo Liu <sdl.web@gmail.com>
14464 * progmodes/octave.el (octave-help-mode-map)
14465 (octave-help-mode-finish-hook): New variables.
14466 (octave-help-mode, octave-help-mode-finish): New functions.
14467 (octave-help): Use octave-help-mode.
14469 2013-05-20 Glenn Morris <rgm@gnu.org>
14471 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14473 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14475 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14476 start at point, so that expansion starting right after opening
14477 slash in a regexp is recognized.
14478 (ruby-syntax-before-regexp-re): New defvar, extracted from
14479 ruby-syntax-propertize-function. Since the value of this regexp
14480 is looked up at runtime now, we should be able to turn
14481 `ruby-syntax-methods-before-regexp' into a defcustom later.
14482 (ruby-syntax-propertize-function): Split regexp matching into two
14483 parts, for opening and closing slashes. That allows us to skip
14484 over string interpolations and support multiline regexps.
14485 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14486 for them, which calls `ruby-syntax-propertize-expansion'.
14487 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14488 call to `ruby-syntax-propertize-function'.
14489 (ruby-syntax-propertize-expansion): Extracted from
14490 `ruby-syntax-propertize-expansions'. Handles one expansion.
14491 (ruby-syntax-propertize-percent-literal): Leave point right after
14492 the percent symbol, so that the expression expansion rule can
14493 propertize the contents.
14494 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14496 (ruby-syntax-propertize-expansions): Remove.
14498 2013-05-18 Juri Linkov <juri@jurta.org>
14500 * man.el (Man-default-man-entry): Remove `-' from the end
14501 of the default value. (Bug#14400)
14503 2013-05-18 Glenn Morris <rgm@gnu.org>
14505 * comint.el (comint-password-prompt-regexp):
14506 Allow "password for XXX" where XXX contains colons (eg https://...).
14508 2013-05-18 Leo Liu <sdl.web@gmail.com>
14510 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14511 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14512 (octave-source-directories): Don't check process.
14513 (octave-source-directories, octave-find-definition): Doc fix.
14515 2013-05-18 Glenn Morris <rgm@gnu.org>
14517 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14518 Remove backspace/delete bindings. (Bug#14392)
14520 * cus-dep.el (custom-make-dependencies): Sort the output.
14521 (custom-versions-load-alist): Convert comment to doc.
14523 2013-05-17 Leo Liu <sdl.web@gmail.com>
14525 * newcomment.el (comment-search-backward): Stricter in finding
14526 comment start. (Bug#14303)
14528 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14529 (octave-comment-start-skip): Properly anchored.
14531 2013-05-17 Leo Liu <sdl.web@gmail.com>
14533 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14534 Clean up when turned off. (Bug#14395)
14535 (smie--highlight-matching-block-overlay): No longer buffer-local.
14536 (smie-highlight-matching-block): Adjust.
14538 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14540 Doc string fix for "nanoseconds" (Bug#14406).
14541 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14542 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14544 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14546 * calc/calc-units.el (math-extract-units): Preserve powers
14549 2013-05-17 Leo Liu <sdl.web@gmail.com>
14551 * subr.el (delete-consecutive-dups): New function.
14552 * ido.el (ido-set-matches-1): Use it.
14553 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14554 * ido.el (ido-remove-consecutive-dups): Remove.
14556 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14558 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14559 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14560 regexp-opt's `words'.
14562 2013-05-16 Leo Liu <sdl.web@gmail.com>
14564 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14565 (smie--highlight-matching-block-overlay)
14566 (smie--highlight-matching-block-lastpos)
14567 (smie--highlight-matching-block-timer): New variables.
14568 (smie-highlight-matching-block): New function.
14569 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14570 (smie-setup): Conditionally enable smie-blink-matching-open.
14572 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14574 Sync with upstream verilog-mode r840.
14575 * progmodes/verilog-mode.el (verilog-mode-version)
14576 (verilog-mode-release-date): Update.
14577 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14578 (verilog-sig-tieoff): Fix string error on
14579 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14580 (verilog-read-decls): Fix parameters confusing
14581 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14583 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14585 * subr.el (reveal-filename): New function.
14587 * loadup.el: Compute Emacs executable versions on MS-Windows,
14588 where executables have the .exe extension. Add a hard link
14589 emacs-XX.YY.ZZ.exe on MS-Windows.
14591 * Makefile.in (XARGS_LIMIT): New variable.
14592 (custom-deps, finder-data, autoloads)
14593 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14594 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14595 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14596 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14598 2013-05-16 Leo Liu <sdl.web@gmail.com>
14600 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14601 (octave-mode-menu, octave-mode-map): Remove its uses.
14603 2013-05-16 Reto Zimmermann <reto@gnu.org>
14605 Sync with upstream vhdl mode v3.34.2.
14606 * progmodes/vhdl-mode.el: Use `push' throughout.
14607 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14608 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14609 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14610 (vhdl-actual-generic-name): New option to derive actual generic name.
14611 (vhdl-port-paste-signals): Replace formal by actual generics.
14612 (vhdl-beautify): New name for old group vhdl-align. Update users.
14613 (vhdl-beautify-options): New option.
14614 (vhdl-last-input-event): New compat alias. Use throughout.
14615 (vhdl-goto-line): Replace user level function `goto-line'.
14616 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14617 vhdl-fix-statement-buffer.
14618 (vhdl-create-mode-menu): Add some entries.
14619 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14620 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14621 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14622 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14623 to force statements on one line.
14624 (vhdl-remove-trailing-spaces-region):
14625 New, split from vhdl-remove-trailing-spaces.
14626 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14627 Respect vhdl-beautify-options.
14628 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14629 (vhdl-update-sensitivity-list): Not add with index if exists without.
14630 Not include array index with signal. Ignore keywords in comments.
14631 (vhdl-get-visible-signals): Regexp tweaks.
14632 (vhdl-template-component-inst): Handle empty library.
14633 (vhdl-template-type): Add template for 'enum' type.
14634 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14635 Use vhdl-replace-string.
14636 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14637 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14638 (vhdl-speedbar-initialize): Update for above name change.
14639 (vhdl-compose-wire-components): Fix in handling of constants.
14640 (vhdl-error-regexp-emacs-alist): New variable.
14641 (vhdl-error-regexp-add-emacs): New function;
14642 adds support for new compile.el (Emacs 22+)
14643 (vhdl-generate-makefile-1): Change target order for single lib. units.
14644 Allow use of absolute file names.
14646 2013-05-16 Leo Liu <sdl.web@gmail.com>
14648 * simple.el (prog-indent-sexp): Indent enclosing defun.
14650 2013-05-15 Glenn Morris <rgm@gnu.org>
14652 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14653 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14654 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14655 (whitespace-highlight): Move to whitespace group.
14657 * comint.el (comint-source):
14658 * pcmpl-linux.el (pcmpl-linux):
14659 * shell.el (shell-faces):
14660 * eshell/esh-opt.el (eshell-opt):
14661 * international/ccl.el (ccl): Remove empty custom groups.
14663 * completion.el (dynamic-completion-mode):
14664 * jit-lock.el (jit-lock-debug-mode):
14665 * minibuffer.el (completion-in-region-mode):
14666 * type-break.el (type-break-mode-line-message-mode)
14667 (type-break-query-mode):
14668 * emulation/tpu-edt.el (tpu-edt-mode):
14669 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14670 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14671 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14673 * term/xterm.el (xterm): Change parent group to terminals.
14675 * master.el (master): Remove empty custom group.
14676 (master-mode): Remove unused :group argument.
14677 * textmodes/refill.el (refill): Remove empty custom group.
14678 (refill-mode): Remove unused :group argument.
14680 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14682 * cus-dep.el: Provide a feature.
14683 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14684 Don't mistakenly ignore files whose basenames match a basename
14685 from preloaded-file-list (eg cedet/ede/simple.el).
14686 Add a fallback method for getting :group.
14688 2013-05-15 Juri Linkov <juri@jurta.org>
14690 * isearch.el (isearch-char-by-name): Rename from
14691 `isearch-insert-char-by-name'. Doc fix.
14692 (isearch-forward): Mention `isearch-char-by-name' in
14693 the docstring. (Bug#13348)
14695 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14696 `exit-minibuffer' instead of
14697 `isearch-nonincremental-exit-minibuffer'.
14698 (isearch-edit-string): Remove mention of
14699 `isearch-nonincremental-exit-minibuffer' from docstring.
14700 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14701 (isearch-forward-exit-minibuffer)
14702 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14704 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14706 * loadup.el: Just use unversioned DOC.
14708 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14709 literals as extending to EOB.
14710 (nxml-last-fontify-end): Remove unused variable.
14711 (nxml-after-change1): Use with-silent-modifications.
14712 (nxml-extend-after-change-region): Simplify.
14713 (nxml-extend-after-change-region1): Remove function.
14714 (nxml-after-change1): Don't adjust for dependent regions.
14715 (nxml-fontify-matcher): Simplify.
14716 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14717 (xmltok-add-dependent): Remove function.
14718 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14719 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14720 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14721 unclosed <[[, <?, comment, and other literals as extending to EOB.
14722 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14723 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14725 (rng-do-some-validation-1): Don't mark dependent regions.
14726 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14727 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14728 (nxml-clear-dependent-regions): Remove functions.
14729 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14730 (nxml-ensure-scan-up-to-date):
14731 Don't clear&mark dependent regions.
14733 2013-05-15 Leo Liu <sdl.web@gmail.com>
14735 * progmodes/octave.el (octave-goto-function-definition):
14736 Improve and fix callers.
14738 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14740 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14741 the setter (bug#14387).
14743 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14744 surrounding group (bug#14402).
14746 2013-05-14 Juri Linkov <juri@jurta.org>
14748 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14751 2013-05-14 Glenn Morris <rgm@gnu.org>
14753 * progmodes/f90.el (f90-imenu-generic-expression):
14754 Fix typo in 2013-05-08 change. (Bug#14402)
14756 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14758 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14759 Remove signals for which replies are never received.
14761 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14763 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14764 (gdb-handler-alist, gdb-handler-number): Remove variables.
14765 (gdb-handler-list): New variable.
14766 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14767 (gdb-pending-handler-p, gdb-handle-reply)
14768 (gdb-remove-all-pending-triggers): New functions.
14769 (gdb-discard-unordered-replies): New defcustom.
14770 (gdb-handler): New defstruct.
14771 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14772 instead of gdb-pending-triggers. Update docstring.
14773 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14774 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14775 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14776 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14777 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14778 (gdb-frame-handler): Pending triggers are now automatically managed.
14779 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14781 (gdb-input): Automatically handles pending triggers. Update docstring.
14782 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14783 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14785 (gdb-done-or-error): Now use gdb-handle-reply.
14787 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14789 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14792 2013-05-14 Glenn Morris <rgm@gnu.org>
14794 * subr.el (user-emacs-directory-warning): New option.
14795 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14797 2013-05-14 Leo Liu <sdl.web@gmail.com>
14799 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14801 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14802 (octave-font-lock-texinfo-comment): Fix invalid search bound
14803 error: wrong side of point.
14805 2013-05-14 Glenn Morris <rgm@gnu.org>
14807 * progmodes/flymake.el (flymake-xml-program): New option.
14808 (flymake-xml-init): Use it.
14810 * term/xterm.el: Provide a feature.
14812 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14814 2013-05-13 Glenn Morris <rgm@gnu.org>
14816 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14817 Add compat aliases as a hack workaround. (Bug#14384)
14819 2013-05-13 Leo Liu <sdl.web@gmail.com>
14821 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14823 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14825 (octave-comment-start-skip): Include %!.
14826 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14828 2013-05-12 Leo Liu <sdl.web@gmail.com>
14830 * progmodes/octave.el (inferior-octave-startup): Store the value
14831 of __octave_srcdir__ for octave-source-directories.
14832 (inferior-octave-check-process): New function refactored out of
14833 inferior-octave-send-list-and-digest.
14834 (octave-source-directories)
14835 (octave-find-definition-filename-function): New variables.
14836 (octave-source-directories)
14837 (octave-find-definition-default-filename): New functions.
14838 (octave-find-definition): Improve to find functions implemented in C++.
14840 2013-05-12 Glenn Morris <rgm@gnu.org>
14842 * calendar/diary-lib.el (diary-outlook-format-1):
14843 Don't include dayname in the output. (Bug#14349)
14845 2013-05-11 Glenn Morris <rgm@gnu.org>
14847 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14849 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14850 Treat cc-provide like provide.
14852 2013-05-11 Kevin Ryde <user42@zip.com.au>
14854 * cus-dep.el (custom-make-dependencies):
14855 Use generated-autoload-load-name for the sake of files such
14856 such cedet/semantic/bovine/c.el, where the base file name
14857 is not in load-path. (Bug#5277)
14859 2013-05-11 Glenn Morris <rgm@gnu.org>
14861 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14864 2013-05-11 Leo Liu <sdl.web@gmail.com>
14866 * progmodes/octave.el (octave-indent-comment): Improve.
14867 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14868 (octave-eldoc-function-signatures, octave-eldoc-function):
14870 (octave-mode, inferior-octave-mode): Add eldoc support.
14872 2013-05-11 Richard Stallman <rms@gnu.org>
14874 * epa.el (epa-decrypt-file): Take output file name as argument
14875 and read it using `interactive'.
14877 2013-05-11 Leo Liu <sdl.web@gmail.com>
14879 * progmodes/octave.el (octave-beginning-of-line)
14880 (octave-end-of-line): Check before using up-list because it jumps
14881 out of more syntactic contructs since moving to smie.
14882 (octave-indent-comment): New function.
14883 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14884 (octave-begin-keywords, octave-end-keywords)
14885 (octave-reserved-words, octave-smie-bnf-table)
14886 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14888 2013-05-11 Glenn Morris <rgm@gnu.org>
14890 * faces.el (internal-face-x-get-resource):
14891 * frame.el (ns-display-monitor-attributes-list):
14892 * calc/calc-aent.el (math-to-radians-2):
14893 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14896 * calc/calc-menu.el: Make it loadable in isolation.
14898 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14899 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14900 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14901 (eudc-bbdb-query-internal): Require 'bbdb.
14903 * lpr.el (lpr-headers-switches):
14904 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14906 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14908 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14910 * term.el (term-set-escape-char): Make it idempotent.
14912 2013-05-10 Leo Liu <sdl.web@gmail.com>
14914 * progmodes/octave.el (inferior-octave-completion-table):
14915 No longer a function and all uses changed. Use cache to speed up
14916 completion due to bug#11906.
14917 (octave-beginning-of-defun): Re-write to be more general.
14919 2013-05-10 Glenn Morris <rgm@gnu.org>
14921 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14923 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14925 * comint.el (comint-redirect-send-command-to-process): Use :around
14926 rather than :override for comint-redirect-filter.
14927 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14928 Call it instead of comint-redirect-original-filter-function (which
14929 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14931 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14933 * frame.el (display-monitor-attributes-list): Add NS case.
14934 (ns-display-monitor-attributes-list): Declare.
14936 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14938 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14940 2013-05-09 Glenn Morris <rgm@gnu.org>
14942 * international/fontset.el (vertical-centering-font-regexp):
14943 Set standard-value.
14945 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14947 * bookmark.el (bookmark-search-delay):
14948 * cus-start.el (vertical-centering-font-regexp):
14949 * ps-mule.el (ps-mule-font-info-database-default):
14950 * ps-print.el (ps-default-fg, ps-default-bg):
14951 * type-break.el (type-break-good-break-interval):
14952 * whitespace.el (whitespace-indentation-regexp)
14953 (whitespace-space-after-tab-regexp):
14954 * emacs-lisp/testcover.el (testcover-1value-functions)
14955 (testcover-noreturn-functions, testcover-progn-functions)
14956 (testcover-prog1-functions):
14957 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14958 * eshell/em-glob.el (eshell-glob-translate-alist):
14959 * play/tetris.el (tetris-tty-colors):
14960 * progmodes/cpp.el (cpp-face-default-list):
14961 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14962 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14963 (idlwave-help-browser-generic-args):
14964 * progmodes/make-mode.el (makefile-special-targets-list):
14965 * progmodes/python.el (python-shell-virtualenv-path):
14966 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14967 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14968 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14969 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14970 * textmodes/reftex-vars.el (reftex-format-label-function):
14971 * textmodes/remember.el (remember-diary-file): Fix custom types.
14973 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14976 2013-05-09 Leo Liu <sdl.web@gmail.com>
14978 * progmodes/octave.el (inferior-octave-completion-at-point):
14979 Restore file completion. (Bug#14300)
14980 (inferior-octave-startup): Fix incorrect highlighting for the
14983 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14985 * progmodes/ruby-mode.el: First cut at SMIE support.
14986 (ruby-use-smie): New var.
14987 (ruby-smie-grammar): New constant.
14988 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14989 (ruby-smie--forward-token, ruby-smie--backward-token)
14990 (ruby-smie-rules): New functions.
14991 (ruby-mode-variables): Setup SMIE if applicable.
14993 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14995 * simple.el (line-move-visual): Signal beginning/end of buffer
14996 only if vertical-motion moved less than it was requested. Avoids
14997 silly incorrect error messages when there are display strings with
14998 multiple newlines at EOL.
15000 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15002 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15003 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15004 (prolog-char-quote-workaround):
15005 * progmodes/cperl-mode.el (cperl-under-as-char):
15006 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15008 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15010 (vhdl-mode-syntax-table-init): Remove.
15012 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15015 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15017 (ld-script-font-lock-keywords):
15018 Change regexps to use things like \_< and \_>.
15020 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15021 Change all regexps to use things like \_< and \_>.
15023 * progmodes/autoconf.el (autoconf-definition-regexp)
15024 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15025 Handle a _ with symbol syntax.
15026 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15028 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15029 Consolidate declaration.
15030 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15032 (ada-create-syntax-table): Remove.
15033 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15034 already has the right syntax nowadays.
15035 (ada-goto-next-word): Don't change the syntax of "_".
15037 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15040 2013-05-08 Sam Steingold <sds@gnu.org>
15042 * thingatpt.el (thing-at-point): Accept optional second argument
15043 NO-PROPERTIES to strip the text properties from the return value.
15044 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15045 to `thing-at-point' instead of stripping the properties ourselves.
15046 Also, when `thing-at-point' fails to find a url, prepend "http://"
15047 to the filename at point on the assumption that the user is
15048 pointing at something like gnu.org/gnu.
15050 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15052 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15053 * faces.el (crm-separator):
15054 Silence byte-compiler.
15056 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15057 (tool-bar-map): Remove unneeded defvars.
15059 2013-05-08 Leo Liu <sdl.web@gmail.com>
15061 Re-work a fix for bug#10994 based on Le Wang's patch.
15062 * ido.el (ido-remove-consecutive-dups): New helper.
15063 (ido-completing-read): Use it.
15064 (ido-chop): Revert fix for bug#10994.
15066 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15068 * cus-edit.el (custom-save-variables):
15069 Pretty-print long values. (Bug#14187)
15071 2013-05-08 Glenn Morris <rgm@gnu.org>
15073 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15074 (m4-mode-syntax-table): Init in the defvar.
15075 (m4-mode-abbrev-table): Let define-derived-mode define it.
15077 2013-05-08 Tom Tromey <tromey@redhat.com>
15079 * progmodes/m4-mode.el (m4-mode-syntax-table):
15080 Do not treat "_" as word constituent. (Bug#14167)
15082 2013-05-07 Glenn Morris <rgm@gnu.org>
15084 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15085 Remove explicit eshell-isearch-cancel-map.
15087 * progmodes/f90.el (f90-smart-end-names): New option.
15088 (f90-smart-end): Doc fix.
15089 (f90-end-block-optional-name): New constant.
15090 (f90-block-match): Respect f90-smart-end-names.
15092 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15094 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15095 about implicit semi-colons (bug#14218).
15097 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15099 * frame.el (display-monitor-attributes-list)
15100 (frame-monitor-attributes): New functions.
15102 2013-05-06 Leo Liu <sdl.web@gmail.com>
15104 * progmodes/octave.el (octave-syntax-propertize-function): Change
15105 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15106 (octave-font-lock-keywords): Use octave-operator-regexp.
15107 (octave-completion-at-point): Rename from
15108 octave-completion-at-point-function.
15109 (inferior-octave-directory-tracker): Robustify.
15110 (octave-text-functions): Remove and fix its uses. No such things
15113 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15115 * emacs-lisp/trace.el (trace--display-buffer): New function.
15116 (trace-make-advice): Use it.
15118 2013-05-06 Juri Linkov <juri@jurta.org>
15120 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15121 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15123 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15124 in the help string. (Bug#12985)
15126 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15128 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15130 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15132 * progmodes/perl-mode.el: Add support for here documents.
15133 (perl-syntax-propertize-function): Match here-doc markers.
15134 (perl-syntax-propertize-special-constructs): Find their end.
15135 (perl-imenu-generic-expression): Use [:alnum:].
15137 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15138 (advice--add-function): Refresh the advice if already present
15141 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15143 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15145 2013-05-06 Glenn Morris <rgm@gnu.org>
15147 * w32-fns.el (w32-charset-info-alist): Declare.
15149 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15150 of its defcustom properties.
15151 (eshell-cmpl-initialize): No need to load pcomplete.
15153 * generic-x.el: No need to require comint when compiling.
15155 * net/eudc-export.el: Make it loadable without bbdb.
15156 (top-level): Use require rather than load-library.
15157 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15158 (eudc-batch-export-records-to-bbdb)
15159 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15162 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15164 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15165 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15166 some tweaks, instead.
15168 2013-05-05 Leo Liu <sdl.web@gmail.com>
15170 * progmodes/octave.el (octave-font-lock-keywords)
15171 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15172 (inferior-octave-send-list-and-digest): Improve error message.
15173 (octave-mode, inferior-octave-mode): Use setq-local.
15174 (octave-help): Set info-lookup-mode.
15176 2013-05-05 Richard Stallman <rms@gnu.org>
15178 * vc/compare-w.el (compare-windows-whitespace):
15179 Treat no-break space as whitespace.
15181 * mail/rmailsum.el (rmail-summary-rmail-update):
15182 Detect empty summary and don't change selected message.
15183 (rmail-summary-goto-msg): Likewise.
15185 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15186 Doc fixes, rename args.
15188 2013-05-05 Alan Mackenzie <acm@muc.de>
15190 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15192 2013-05-05 Juri Linkov <juri@jurta.org>
15194 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15195 to not add the length of the summary segment to the return value.
15198 2013-05-05 Leo Liu <sdl.web@gmail.com>
15200 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15201 (inferior-octave-output-filter): Remove.
15202 (octave-send-region, inferior-octave-startup): Fix callers.
15203 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15204 (octave-binary-file-extensions): New user variable.
15205 (octave-find-definition): Confirm if opening binary files.
15206 (octave-help-file): Use octave-find-definition to get the binary
15208 (octave-help): Adjust for octave-help-file change.
15210 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15212 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15213 Merge the two entries that handle function definitions.
15214 (pascal--syntax-propertize): New const.
15215 (pascal-mode): Use it. Use setq-local.
15217 2013-05-04 Glenn Morris <rgm@gnu.org>
15219 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15220 (diary-from-outlook): Respect diary-from-outlook-function.
15222 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15224 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15225 Move the declaration from C.
15226 (read-minibuffer, eval-minibuffer): Move from C.
15227 (completion-setup-function): Avoid minibuffer-completion-contents.
15229 2013-05-03 Leo Liu <sdl.web@gmail.com>
15231 * progmodes/octave.el (octave-font-lock-keywords): Do not
15232 dehighlight 'end' in comments or strings.
15233 (octave-completing-read, octave-goto-function-definition):
15235 (octave-help-buffer): New user variable.
15236 (octave-help-file, octave-help-function): New button types.
15237 (octave-help): New command and bind it to C-h ;.
15238 (octave-find-definition): New command and bind it to M-.
15239 (user-error): Alias to error if not defined.
15241 2013-05-02 Leo Liu <sdl.web@gmail.com>
15243 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15245 (octave-font-lock-keywords): Include [ and {.
15247 2013-05-02 Leo Liu <sdl.web@gmail.com>
15249 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15250 (inferior-octave): Remove calling comint-mode and return the buffer.
15251 (inferior-octave-startup): Cosmetic changes.
15253 2013-05-02 Leo Liu <sdl.web@gmail.com>
15255 * progmodes/octave.el (octave-syntax-propertize-function):
15256 Include the case when ' is at line beginning. (Bug#14336)
15258 2013-05-02 Glenn Morris <rgm@gnu.org>
15260 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15261 * desktop.el (vc-dir-mode): Just autoload it here.
15263 2013-05-02 Alan Mackenzie <acm@muc.de>
15265 Eliminate variable c-standard-font-lock-fontify-region-function.
15266 * progmodes/cc-mode.el
15267 (c-standard-font-lock-fontify-region-function): Remove.
15268 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15270 2013-05-01 Leo Liu <sdl.web@gmail.com>
15272 * progmodes/octave.el: Compatible with older emacs-24 releases.
15273 (inferior-octave-has-built-in-variables): Remove. Built-in
15274 variables were removed from Octave in 2007.
15275 (inferior-octave-startup): Fix uses.
15276 (comint-line-beginning-position): Remove compatibility code for
15279 2013-05-01 Juri Linkov <juri@jurta.org>
15281 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15283 2013-05-01 Juri Linkov <juri@jurta.org>
15285 * comint.el (comint-previous-matching-input): Don't print message
15286 "History item: %d" when `isearch-mode' is active.
15287 (comint-history-isearch-message): Print message "History item: %d"
15288 when `comint-input-ring-index' is not empty and this function is
15289 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15291 2013-05-01 Leo Liu <sdl.web@gmail.com>
15293 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15294 definitions. Use completion-at-point to insert keywords.
15295 (octave-abbrev-start): Remove.
15296 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15298 2013-04-30 Leo Liu <sdl.web@gmail.com>
15300 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15303 2013-04-30 Alan Mackenzie <acm@muc.de>
15305 Handle arbitrarily long C++ member initialisation lists.
15306 * progmodes/cc-engine.el (c-back-over-member-initializers):
15308 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15309 (most) member init lists.
15311 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15313 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15316 2013-04-30 Leo Liu <sdl.web@gmail.com>
15318 * progmodes/octave.el (octave-variables): Remove. No builtin
15319 variables any more. All converted to functions.
15320 (octave-font-lock-keywords, octave-completion-at-point-function):
15322 (octave-font-lock-texinfo-comment): New user variable.
15323 (octave-texinfo-font-lock-keywords): New variable for texinfo
15325 (octave-function-comment-block): New face.
15326 (octave-font-lock-texinfo-comment): New function.
15327 (octave-mode): Font lock texinfo comment block.
15329 2013-04-29 Leo Liu <sdl.web@gmail.com>
15331 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15332 indexing expression.
15333 (octave-continuation-string): Do not use \.
15334 (inferior-octave-complete-impossible): Remove.
15335 (inferior-octave-completion-table)
15336 (inferior-octave-completion-at-point): Remove its uses.
15337 (inferior-octave-startup): completion_matches was introduced to
15338 Octave in 1996 so safe to assume it.
15339 (octave-function-file-comment): Improve to follow how Octave does it.
15340 (octave-update-function-file-comment): Tweak.
15342 2013-04-29 Leo Liu <sdl.web@gmail.com>
15344 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15345 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15346 (octave-function-file-comment): Fix typo.
15347 (octave-sync-function-file-names): Use read-char-choice.
15349 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15351 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15352 to t for the less important warnings.
15354 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15356 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15358 2013-04-27 Glenn Morris <rgm@gnu.org>
15360 * vc/log-view.el (log-view-current-entry):
15361 Treat "---" separator lines as part of the following rev. (Bug#14169)
15363 2013-04-27 Juri Linkov <juri@jurta.org>
15365 * subr.el (read-number): Doc fix about using it by interactive
15366 code letter `n'. (Bug#14254)
15368 2013-04-27 Juri Linkov <juri@jurta.org>
15370 * desktop.el (desktop-auto-save-timeout): New option.
15371 (desktop-file-checksum): New variable.
15372 (desktop-save): Add optional arg `auto-save' and don't auto-save
15373 if nothing changed.
15374 (desktop-auto-save-timer): New variable.
15375 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15376 (after-init-hook): Call `desktop-auto-save-set-timer'.
15377 Suggested by Reuben Thomas <rrt@sc3d.org> in
15378 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15380 2013-04-27 Leo Liu <sdl.web@gmail.com>
15382 * progmodes/octave.el (octave-function-file-p)
15383 (octave-skip-comment-forward, octave-function-file-comment)
15384 (octave-update-function-file-comment): New functions.
15385 (octave-mode-map): Bind C-c ; to
15386 octave-update-function-file-comment.
15387 (octave-mode-menu): Add octave-update-function-file-comment.
15388 (octave-mode, inferior-octave-mode): Fix doc-string.
15389 (octave-insert-defun): Conform to Octave's coding convention.
15392 * files.el (basic-save-buffer): Don't let errors in
15393 before-save-hook prevent saving buffer.
15395 2013-04-20 Roland Winkler <winkler@gnu.org>
15397 * faces.el (read-face-name): Use completing-read if arg multiple
15400 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15402 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15403 displayed, move point to after the totals line.
15404 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15407 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15409 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15410 Add current dir to the load-path.
15411 (package-generate-autoloads): Don't rely on
15412 autoload-ensure-default-file.
15414 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15416 * textmodes/remember.el (remember-store-in-files): Document that
15417 the file name format is passed to `format-time-string'.
15419 2013-04-26 Leo Liu <sdl.web@gmail.com>
15421 * progmodes/octave.el (octave-sync-function-file-names): New function.
15422 (octave-mode): Use it in before-save-hook.
15424 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15426 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15429 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15430 \n and comment, even if it's not an implicit ; (bug#14218).
15432 2013-04-26 Glenn Morris <rgm@gnu.org>
15434 * subr.el (read-number): Once more use `read' rather than
15435 `string-to-number', to trap non-numeric input. (Bug#14254)
15437 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15439 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15440 Use `syntax-multiline' text property consistently instead of
15441 `font-lock-multiline'. (Bug#14237)
15443 2013-04-26 Glenn Morris <rgm@gnu.org>
15445 * emacs-lisp/shadow.el (list-load-path-shadows):
15446 No longer necessary to check for duplicate simple.el, since
15447 2012-07-07 change to init_lread to not include installation lisp
15448 directories in load-path when running uninstalled. (Bug#14270)
15450 2013-04-26 Leo Liu <sdl.web@gmail.com>
15452 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15453 (octave-mode, inferior-octave-mode): Use setq-local.
15454 (octave-not-in-string-or-comment-p): Rename to
15455 octave-in-string-or-comment-p.
15456 (octave-in-comment-p, octave-in-string-p)
15457 (octave-in-string-or-comment-p): Replace defsubst with defun.
15459 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15461 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15463 2013-04-25 Bastien Guerry <bzg@gnu.org>
15465 * textmodes/remember.el (remember-data-directory)
15466 (remember-directory-file-name-format): Fix custom types.
15468 2013-04-25 Leo Liu <sdl.web@gmail.com>
15470 * progmodes/octave.el (octave-completion-at-point-function):
15471 Make use of inferior octave process.
15472 (octave-initialize-completions): Remove.
15473 (inferior-octave-completion-table): New function.
15474 (inferior-octave-completion-at-point): Use it.
15475 (octave-completion-alist): Remove.
15477 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15479 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15480 (opascal-mode-syntax-table): New var.
15481 (opascal-literal-kind, opascal-is-literal-end)
15482 (opascal-literal-token-at): Rewrite.
15483 (opascal--literal-start-re, opascal-font-lock-keywords)
15484 (opascal--syntax-propertize): New constants.
15485 (opascal-font-lock-defaults): Adjust.
15486 (opascal-mode): Use them. Set comment-<foo> variables as well.
15487 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15488 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15489 (delphi-other-face, opascal-other-face): Remove face variables.
15490 (opascal-save-state): Remove macro.
15491 (opascal-fontifying-progress-step): Remove constant.
15492 (opascal--ignore-changes): Remove var.
15493 (opascal-set-token-property, opascal-parse-next-literal)
15494 (opascal-is-stable-literal, opascal-complete-literal)
15495 (opascal-is-literal-start, opascal-face-of)
15496 (opascal-parse-region, opascal-parse-region-until-stable)
15497 (opascal-fontify-region, opascal-after-change)
15498 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15499 (opascal-debug-parse-region, opascal-debug-parse-window)
15500 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15501 (opascal-debug-fontify-buffer): Remove.
15502 (opascal-debug-mode-map): Adjust accordingly.
15504 2013-04-25 Leo Liu <sdl.web@gmail.com>
15506 Merge octave-mod.el and octave-inf.el into octave.el with some
15508 * progmodes/octave.el: New file renamed from octave-mod.el.
15509 * progmodes/octave-inf.el: Merged into octave.el.
15510 * progmodes/octave-mod.el: Renamed to octave.el.
15512 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15514 * textmodes/reftex-vars.el
15515 (reftex-label-ignored-macros-and-environments): New defcustom.
15517 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15519 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15521 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15522 (smie-indent-keyword): Improve the check to ensure that the next
15523 comment is really on the same line.
15524 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15526 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15527 semi-colons if the line is not otherwise empty (bug#14218).
15529 2013-04-25 Glenn Morris <rgm@gnu.org>
15531 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15533 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15535 * progmodes/opascal.el (opascal-set-token-property): Rename from
15536 opascal-set-text-properties and only set `token' (bug#14134).
15537 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15538 (opascal-literal-text-properties): Remove.
15539 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15542 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15544 * textmodes/remember.el (remember-handler-functions): Add an
15545 option for a new handler `remember-store-in-files'.
15546 (remember-data-directory, remember-directory-file-name-format):
15548 (remember-store-in-files): New function to store remember notes
15549 as separate files within a directory.
15551 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15553 * progmodes/compile.el (compilation-next-error-function):
15554 Pass "formats" to compilation-find-file (bug#11777).
15556 2013-04-24 Glenn Morris <rgm@gnu.org>
15558 * vc/vc-bzr.el (vc-bzr-print-log):
15559 * vc/vc-hg.el (vc-hg-print-log):
15560 * vc/vc-svn.el (vc-svn-print-log):
15561 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15563 * vc/vc-bzr.el (vc-bzr-print-log):
15564 * vc/vc-cvs.el (vc-cvs-print-log):
15565 * vc/vc-git.el (vc-git-print-log):
15566 * vc/vc-hg.el (vc-hg-print-log):
15567 * vc/vc-mtn.el (vc-mtn-print-log):
15568 * vc/vc-rcs.el (vc-rcs-print-log):
15569 * vc/vc-sccs.el (vc-sccs-print-log):
15570 * vc/vc-svn.el (vc-svn-print-log):
15571 * vc/vc.el (vc-print-log-internal): Doc fixes.
15573 2013-04-23 Glenn Morris <rgm@gnu.org>
15575 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15576 Remove venerable code attempting to avoid substitute-command-keys.
15578 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15580 * textmodes/reftex-vars.el (reftex-label-regexps):
15581 Call `reftex-compile-variables' after changes to this variable.
15583 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15585 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15586 Use lexical-binding.
15587 (jit-lock-force-redisplay): Use markers, check buffer's continued
15588 existence and beware narrowed buffers.
15589 (jit-lock-fontify-now): Adjust call accordingly.
15591 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15593 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15594 to avoid misleading the user.
15596 2013-04-22 Leo Liu <sdl.web@gmail.com>
15598 * info-look.el: Prefer latex2e.info. (Bug#14240)
15600 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15602 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15604 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15605 * net/tramp.el (tramp-call-process): ... here.
15606 (tramp-set-completion-function, tramp-parse-putty):
15607 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15608 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15609 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15610 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15611 (tramp-call-local-coding-command): Use `tramp-call-process'
15612 instead of `tramp-compat-call-process'.
15614 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15615 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15616 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15617 (tramp-find-inline-compress): Improve traces.
15618 (tramp-maybe-send-script): Check for Perl binary.
15619 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15621 2013-04-22 Daiki Ueno <ueno@gnu.org>
15623 * epg.el (epg-context-pinentry-mode): New function.
15624 (epg-context-set-pinentry-mode): New function.
15625 (epg--start): Pass --pinentry-mode option to gpg command.
15627 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15629 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15630 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15631 `completion-at-point'. (Bug#13774)
15633 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15634 default key binding for `describe-distribution' has been moved to
15635 `C-h C-o'. (Bug#13970)
15637 2013-04-21 Glenn Morris <rgm@gnu.org>
15639 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15641 (vc-print-log): Clarify interactive prompt.
15643 2013-04-20 Glenn Morris <rgm@gnu.org>
15645 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15646 No longer include timestamp etc information.
15648 2013-04-20 Roland Winkler <winkler@gnu.org>
15650 * faces.el (read-face-name): Bug fix, return just one face if arg
15651 multiple is nil. (Bug#14209)
15653 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15655 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15656 (remove-function): Autoload.
15658 * comint.el (comint-redirect-original-filter-function): Remove.
15659 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15660 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15661 (vc-cvs-annotate-command):
15662 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15663 * progmodes/prolog.el (prolog-consult-compile):
15664 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15665 Use add/remove-function instead.
15666 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15667 (gud-tooltip-process-output, gud-tooltip-tips):
15668 Use add/remove-function instead.
15669 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15670 (scheme-interaction-mode, exit-scheme-interaction-mode):
15671 Use add/remove-function instead.
15673 * vc/vc-dispatcher.el: Use lexical-binding.
15674 (vc--process-sentinel): Rename from vc-process-sentinel.
15675 Change last arg to be the code to run. Don't use vc-previous-sentinel
15676 and vc-sentinel-commands any more.
15677 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15678 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15680 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15682 * progmodes/sh-script.el (sh-imenu-generic-expression):
15683 Handle function names with a single character. (Bug#14111)
15685 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15687 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15688 for subroutines defined in an eval (bug#14182).
15690 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15692 * bookmark.el (bookmark-completing-read): Improve handling of empty
15693 string (bug#14176).
15695 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15697 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15699 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15701 New faster Imenu implementation (bug#14058).
15702 * progmodes/python.el:
15703 (python-imenu-prev-index-position):
15704 (python-imenu-format-item-label-function)
15705 (python-imenu-format-parent-item-label-function)
15706 (python-imenu-format-parent-item-jump-label-function):
15708 (python-imenu-format-item-label)
15709 (python-imenu-format-parent-item-label)
15710 (python-imenu-format-parent-item-jump-label)
15711 (python-imenu--put-parent, python-imenu--build-tree)
15712 (python-imenu-create-index, python-imenu-create-flat-index)
15713 (python-util-popn): New functions.
15714 (python-mode): Set imenu-create-index-function to
15715 python-imenu-create-index.
15717 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15719 * winner.el (winner-active-region): Use region-active-p, activate-mark
15720 and deactivate-mark (bug#14225).
15722 * simple.el (deactivate-mark): Don't inline it.
15724 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15726 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15728 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15730 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15731 file extensions from the archive-mode entry in order to prefer
15732 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15734 2013-04-18 Leo Liu <sdl.web@gmail.com>
15736 * bindings.el (help-event-list): Add ?\?.
15738 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15740 * subr.el (with-wrapper-hook): Declare obsolete.
15741 * simple.el (filter-buffer-substring-function): New hook.
15742 (filter-buffer-substring): Use it.
15743 (filter-buffer-substring-functions): Mark obsolete.
15744 * minibuffer.el (completion-in-region-function): New hook.
15745 (completion-in-region): Use it.
15746 (completion-in-region-functions): Mark obsolete.
15747 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15748 * abbrev.el (abbrev-expand-function): New hook.
15749 (expand-abbrev): Use it.
15750 (abbrev-expand-functions): Mark obsolete.
15751 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15752 and :filter-return.
15754 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15756 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15757 and do not care about match data.
15759 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15761 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15762 completion tables when completing error conditions and
15763 `declare' arguments.
15764 (lisp-complete-symbol, field-complete): Mark as obsolete.
15765 (check-parens): Unmatched parens are user errors.
15766 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15768 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15770 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15771 command changed buffer (ie. `flyspell-pre-buffer' is not current
15772 buffer), which prevents making decisions based on invalid value of
15773 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15774 cause an error when `flyspell-pre-point' was nil after switching
15776 (flyspell-post-command-hook): No longer needs to change buffers when
15777 checking pre-word. While at it remove unnecessary progn.
15779 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15781 * textmodes/ispell.el (ispell-add-per-file-word-list):
15782 Fix `flyspell-correct-word-before-point' error when accepting
15783 words and `coment-padding' is an integer by using
15784 `comment-normalize-vars' (Bug #14214).
15786 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15788 New defun movement commands.
15789 * progmodes/python.el (python-nav--syntactically)
15790 (python-nav--forward-defun, python-nav-backward-defun)
15791 (python-nav-forward-defun): New functions.
15793 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15795 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15796 (python-syntax-context): Use named compiler-macro for backwards
15797 compatibility with Emacs 24.x.
15799 2013-04-17 Leo Liu <sdl.web@gmail.com>
15801 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15802 octave-hide-process-buffer.
15804 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15806 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15809 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15811 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15812 Fix adjustment of offset when receiving incomplete responses from GDB
15815 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15817 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15818 python-mode-abbrev-table.
15819 (python-skeleton-define): Adjust accordingly.
15820 (python-mode-abbrev-table): New table that inherits from it so that
15821 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15823 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15824 (abbrev-symbol): Use it.
15825 (abbrev--before-point): Use it since we already handle inheritance.
15827 2013-04-16 Leo Liu <sdl.web@gmail.com>
15829 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15830 binding to info-lookup-symbol.
15832 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15834 * minibuffer.el (completion--twq-all):
15835 * term/ns-win.el (ns-initialize-window-system):
15836 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15838 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15840 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15843 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15845 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15847 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15848 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15850 (ruby-end-of-defun): Remove the unused arg, change the docstring
15851 to reflect that this function is only used as the value of
15852 `end-of-defun-function'.
15853 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15854 to reflect an earlier change that beginning/end-of-defun functions
15855 jump between methods in a class definition, as well as top-level
15858 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15860 * minibuffer.el (minibuffer-complete): Don't just scroll
15861 a *Completions* that's been iconified.
15862 (minibuffer-force-complete): Make sure repetitions do cycle when going
15863 through completion-in-region -> minibuffer-complete.
15865 2013-04-15 Alan Mackenzie <acm@muc.de>
15867 Correct the placement of c-cpp-delimiters when there're #s not at
15870 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15871 place a submatch around the #.
15872 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15873 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15876 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15878 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15879 (advice--member-p): New arg `name'.
15880 (advice--add-function, advice-member-p): Use it (bug#14202).
15882 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15884 Reformulate java imenu-generic-expression.
15885 The old expression contained ill formed regexps.
15887 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15888 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15889 (cc-imenu-java-method-arg-regexp): New defconsts.
15890 (cc-imenu-java-build-type-args-regex): New defun.
15891 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15892 handling of spaces in the regexp.
15894 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15896 * textmodes/ispell.el (ispell-command-loop): Remove
15897 flyspell highlight of a word when ispell accepts it (bug #14178).
15899 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15901 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15902 uses code from the previous `ange-ftp-run-real-handler'.
15903 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15904 only in case that function exist. This is needed for proper
15905 unloading of Tramp.
15907 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15909 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15911 * textmodes/reftex.el (reftex-compile-variables): Use it.
15913 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15915 * files.el (normal-mode): Only use default major-mode if no other mode
15918 * emacs-lisp/trace.el (trace-values): New function.
15920 * files.el: Allow : in local variables (bug#14089).
15921 (hack-local-variable-regexp): New var.
15922 (hack-local-variables-prop-line, hack-local-variables): Use it.
15924 2013-04-13 Roland Winkler <winkler@gnu.org>
15926 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15927 data before it gets modified by bibtex-beginning-of-entry.
15929 2013-04-13 Roland Winkler <winkler@gnu.org>
15931 * textmodes/bibtex.el (bibtex-url): Doc fix.
15933 2013-04-13 Roland Winkler <winkler@gnu.org>
15935 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15936 does not visit a BibTeX file, exclude it from the list of buffers
15937 returned by bibtex-initialize.
15939 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15941 * window.el (split-window): Remove interactive form, since as a
15942 command this function is a special case of split-window-below.
15943 Correct doc string.
15945 2013-04-12 Roland Winkler <winkler@gnu.org>
15947 * faces.el (read-face-name): Do not override value of arg default.
15948 Allow single faces and strings as default values. Remove those
15949 elements from return value that are not faces.
15950 (describe-face): Simplify.
15951 (face-at-point): New optional args thing and multiple so that this
15952 function can provide the same functionality previously provided by
15954 (make-face-bold, make-face-unbold, make-face-italic)
15955 (make-face-unitalic, make-face-bold-italic, invert-face)
15956 (modify-face, read-face-and-attribute): Use face-at-point.
15958 * cus-edit.el (customize-face, customize-face-other-window)
15959 * cus-theme.el (custom-theme-add-face)
15960 * face-remap.el (buffer-face-set)
15961 * facemenu.el (facemenu-set-face): Use face-at-point.
15963 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15965 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15967 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15969 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15970 off leading { and trailing } from field values.
15972 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15974 * emacs-lisp/timer.el (timer--check): New function.
15975 (timer--time, timer-set-function, timer-event-handler): Use it.
15976 (timer-set-idle-time): Simplify.
15977 (timer--activate): CSE.
15978 (timer-event-handler): Give more info in error message.
15979 (internal-timer-start-idle): New function, moved from C.
15981 * mpc.el (mpc-proc): Add `restart' argument.
15982 (mpc-proc-cmd): Use it.
15983 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15984 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15987 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15989 * progmodes/sh-script.el: Implement `sh-mode' own
15990 `add-log-current-defun-function' (bug#14112).
15991 (sh-current-defun-name): New function.
15992 (sh-mode): Use the function.
15994 2013-04-09 Bastien Guerry <bzg@gnu.org>
15996 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15998 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16000 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16002 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16005 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16007 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16010 2013-04-07 Leo Liu <sdl.web@gmail.com>
16012 * pcmpl-x.el: New file.
16014 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16016 Do not set x-display-name until X connection is established.
16017 This is needed to prevent from weird situation described at
16018 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16019 * frame.el (make-frame): Set x-display-name after call to
16020 window system initialization function, not before.
16021 * term/x-win.el (x-initialize-window-system): Add optional
16022 display argument and use it.
16023 * term/w32-win.el (w32-initialize-window-system):
16024 * term/ns-win.el (ns-initialize-window-system):
16025 * term/pc-win.el (msdos-initialize-window-system):
16026 Add compatible optional display argument.
16028 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16030 * files.el (normal-backup-enable-predicate): On MS-Windows and
16031 MS-DOS compare truenames of temporary-file-directory and of the
16032 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16033 don't fail comparison by compare-strings. Also, compare file
16034 names case-insensitively on MS-Windows and MS-DOS.
16036 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16038 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16039 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16041 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16043 * whitespace.el (whitespace-color-on, whitespace-color-off):
16044 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16046 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16048 * ispell.el (ispell-set-spellchecker-params):
16049 Really set `ispell-args' for all equivs.
16051 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16053 * ido.el (ido-completions): Use extra elements of ido-decorations
16055 (ido-decorations): Update docstring.
16057 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16059 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16060 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16061 nil during initialization, in order not to miss changes since the
16062 file was opened. (Bug#14140)
16064 2013-04-05 Leo Liu <sdl.web@gmail.com>
16066 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16068 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16070 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16072 2013-04-04 Glenn Morris <rgm@gnu.org>
16074 * electric.el (electric-pair-inhibit-predicate): Add :version.
16076 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16079 when a package is required several times (bug#14082).
16081 2013-04-04 Roland Winkler <winkler@gnu.org>
16083 * faces.el (read-face-name): Behave as promised by the docstring.
16084 Assume that arg default is a list of faces.
16085 (describe-face): Call read-face-name with list of default faces.
16087 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16089 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16090 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16091 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16093 (bookmark-exit-hook-internal): Save even if list is empty.
16095 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16097 * emacs-lisp/package.el (package-pinned-packages): New var.
16098 (package--add-to-archive-contents): Obey it (bug#14118).
16100 2013-04-03 Alan Mackenzie <acm@muc.de>
16102 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16103 Also adapt to the new values of element 7 of a parse state.
16105 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16106 parameter `not-in-delimiter'. Handle being inside comment opener.
16107 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16108 character in case we're typing a '*' after a '/'.
16109 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16110 instead by passing the parameter to c-state-pp-to-literal.
16112 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16113 for elt. 7 of a parse state.
16115 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16117 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16118 * international/latin1-disp.el, international/mule-util.el:
16119 * language/cyril-util.el, language/european.el, language/ind-util.el:
16120 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16121 * language/tibetan.el, language/viet-util.el:
16122 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16124 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16126 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16127 (electric-pair-post-self-insert-function): Use it.
16128 (electric-pair-default-inhibit): New function, extracted from
16129 electric-pair-post-self-insert-function.
16131 2013-03-31 Roland Winkler <winkler@gnu.org>
16133 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16135 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16137 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16139 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16141 Un-indent after "pass" and "return" statements (Bug#13888)
16142 * progmodes/python.el (python-indent-block-enders): New var.
16143 (python-indent-calculate-indentation): Use it.
16145 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16147 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16148 defun. Defining it as defalias could introduce too eager
16149 byte-compiler optimization. (Bug#14030)
16151 2013-03-30 Chong Yidong <cyd@gnu.org>
16153 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16155 2013-03-30 Leo Liu <sdl.web@gmail.com>
16157 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16158 (kmacro-execute-from-register): Pass the keyboard macro to
16159 kmacro-call-macro or repeating won't work correctly.
16161 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16163 * progmodes/subword.el: Back to using `forward-symbol'.
16165 * subr.el (forward-whitespace, forward-symbol)
16166 (forward-same-syntax): Move from thingatpt.el.
16168 2013-03-29 Leo Liu <sdl.web@gmail.com>
16170 * kmacro.el (kmacro-to-register): New command.
16171 (kmacro-execute-from-register): New function.
16172 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16174 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16176 * mpc.el: Use defvar-local and setq-local.
16177 (mpc--proc-connect): Connection failures are not bugs.
16178 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16179 (mpc-volume-map): Bind to the up-events.
16181 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16183 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16184 instead of `forward-symbol'.
16186 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16188 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16189 (edebug--recursive-edit): Use it.
16190 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16191 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16193 2013-03-28 Leo Liu <sdl.web@gmail.com>
16195 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16197 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16199 * facemenu.el (list-colors-callback): New defvar.
16200 (list-colors-redisplay): New function.
16201 (list-colors-display): Install list-colors-redisplay as the
16202 revert-buffer-function. (Bug#14063)
16204 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16206 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16207 and suffixes don't overlap (bug#14061).
16209 * case-table.el: Use lexical-binding.
16210 (case-table-get-table): New function.
16211 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16213 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16215 * progmodes/subword.el: Add `superword-mode' to do word motion
16216 over symbol_words (parallels and leverages `subword-mode' which
16217 does word motion inside MixedCaseWords).
16219 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16221 * eshell/em-unix.el: Move su and sudo to...
16222 * eshell/em-tramp.el: ...Eshell tramp module.
16224 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16226 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16227 Change return value to be a sexp. Delay `get-buffer' to after
16228 restoring the desktop (bug#13951).
16230 2013-03-26 Leo Liu <sdl.web@gmail.com>
16232 * register.el: Move semantic tag handling back to
16233 cedet/semantic/senator.el. (Bug#14052)
16235 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16237 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16238 into the prompt either (bug#13963).
16240 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16242 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16243 part of "(error-foo)".
16245 2013-03-24 Juri Linkov <juri@jurta.org>
16247 * replace.el (list-matching-lines-prefix-face): New defcustom.
16248 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16249 `occur-engine' if `face-differs-from-default-p' returns t.
16250 (occur-engine): Add `,' inside backquote construct to evaluate
16251 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16252 Pass `prefix-face' to the functions `occur-context-lines' and
16253 `occur-engine-add-prefix'.
16254 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16255 `prefix-face' and propertize the prefix with `prefix-face'.
16258 2013-03-24 Leo Liu <sdl.web@gmail.com>
16260 * nxml/rng-valid.el (rng-validate-while-idle)
16261 (rng-validate-quick-while-idle): Guard against deleted buffer.
16264 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16265 is the last entry in kill-buffer-hook.
16267 * files.el (kill-buffer-hook): Doc fix.
16269 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16271 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16272 Make it safe-local.
16274 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16276 2013-03-23 Leo Liu <sdl.web@gmail.com>
16278 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16281 * nxml/rng-valid.el (rng-validate-mode)
16282 (rng-after-change-function, rng-do-some-validation):
16283 * nxml/rng-maint.el (rng-validate-buffer):
16284 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16285 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16286 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16287 (nxml-extend-after-change-region): Use with-silent-modifications.
16289 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16292 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16293 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16294 timer-idle-list. (Bug#13999)
16296 2013-03-23 Juri Linkov <juri@jurta.org>
16298 * info.el (info-index-match): New face.
16299 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16300 main pattern and add text properties with the new face to matches
16301 in index entries relative to the beginning of the index entry.
16304 2013-03-21 Eric Ludlam <zappo@gnu.org>
16306 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16307 Inhibit read only while inserting objects.
16309 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16311 * progmodes/cfengine.el: Update docs to mention
16312 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16313 symbol motion. Remove "_" from the word syntax.
16315 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16317 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16318 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16320 2013-03-20 Juri Linkov <juri@jurta.org>
16322 * info.el (Info-next-reference-or-link)
16323 (Info-prev-reference-or-link): New functions.
16324 (Info-next-reference, Info-prev-reference): Use them.
16325 (Info-try-follow-nearest-node): Handle footnote navigation.
16326 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16328 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16330 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16331 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16333 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16335 Suppress unnecessary non-ASCII chatter during build process.
16336 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16337 (batch-skkdic-convert): Suppress most of the chatter.
16338 It's not needed so much now that machines are faster,
16339 and its non-ASCII component was confusing; see Dmitry Gutov in
16340 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16342 2013-03-20 Leo Liu <sdl.web@gmail.com>
16344 * ido.el (ido-chop): Fix bug#10994.
16346 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16348 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16350 (whitespace-color-on, whitespace-color-off):
16351 Use `font-lock-fontify-buffer' (Bug#13817).
16353 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16355 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16356 remapping in mode-line.
16357 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16359 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16361 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16362 value for `whitespace-line' face (Bug#13875).
16363 (whitespace-font-lock-keywords): Change description.
16364 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16365 the constructed keywords instead.
16366 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16368 2013-03-19 Leo Liu <sdl.web@gmail.com>
16370 * progmodes/compile.el (compilation-display-error): New command.
16371 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16374 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16376 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16378 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16380 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16382 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16384 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16386 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16387 * net/tramp-gvfs.el (top):
16388 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16389 (tramp-handle-shell-command): Use it.
16390 (tramp-dissect-file-name): Raise an error when hostname is a
16391 method name, and neither method nor user is specified.
16393 * net/trampver.el: Update release number.
16395 2013-03-18 Leo Liu <sdl.web@gmail.com>
16397 Make sure eldoc can be turned off properly.
16398 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16400 (eldoc-display-message-p): Revert last change.
16401 (eldoc-display-message-no-interference-p)
16402 (eldoc-print-current-symbol-info): Tweak.
16404 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16406 * doc-view.el (doc-view-new-window-function): Check the new window
16407 overlay's display property instead the char property of the
16408 buffer's first char. Use `with-selected-window' instead of
16409 `save-window-excursion' with `select-window'.
16410 (doc-view-document->bitmap): Check the current doc-view overlay's
16411 display property instead the char property of the buffer's first char.
16413 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16415 Automate the build of ja-dic.el (Bug#13984).
16416 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16417 from the input, rather than assume that it's been done for us by the
16418 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16419 the current date into a ja-dic.el comment, as that complicates
16420 regression testing.
16422 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16424 * whitespace.el: Fix double evaluation.
16425 (whitespace-space, whitespace-hspace, whitespace-tab)
16426 (whitespace-newline, whitespace-trailing, whitespace-line)
16427 (whitespace-space-before-tab, whitespace-indentation)
16428 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16430 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16431 (whitespace-color-on): Use a single font-lock-add-keywords call.
16432 Fix double-evaluation of face variables.
16434 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16436 * net/tramp-adb.el (tramp-adb-parse-device-names):
16437 Use `start-process' instead of `call-process'. Otherwise, the
16438 function might be blocked under MS Windows. (Bug#13299)
16440 2013-03-17 Leo Liu <sdl.web@gmail.com>
16442 Extend eldoc to display info in the mode-line. (Bug#13978)
16443 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16444 (eldoc-mode-line-string): New variable.
16445 (eldoc-minibuffer-message): New function.
16446 (eldoc-message-function): New variable.
16447 (eldoc-message): Use it.
16448 (eldoc-display-message-p)
16449 (eldoc-display-message-no-interference-p):
16450 Support eldoc-post-insert-mode.
16452 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16453 (eval-expression): Run it.
16455 2013-03-17 Roland Winkler <winkler@gnu.org>
16457 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16458 strings in the list of return values.
16460 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16462 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16463 radix before checking for HMS forms.
16465 2013-03-16 Leo Liu <sdl.web@gmail.com>
16467 * progmodes/scheme.el: Add indentation and font-locking for λ.
16470 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16472 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16473 token before point (bug#13942).
16475 2013-03-16 Leo Liu <sdl.web@gmail.com>
16477 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16479 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16481 * startup.el (command-line-normalize-file-name): Fix handling of
16482 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16483 <xfq.free@gmail.com> in
16484 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16486 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16488 Sync with Tramp 2.2.7.
16490 * net/trampver.el: Update release number.
16492 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16494 * doc-view.el: Fix bug#13887.
16495 (doc-view-insert-image): Don't modify overlay associated to
16496 non-live windows, and implement horizontal centering of image in
16497 case it's smaller than the window.
16498 (doc-view-new-window-function): Force redisplay of new windows on
16501 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16503 * saveplace.el (save-place-alist-to-file): Don't sort
16504 `save-place-alist', just pretty-print it (bug#13882).
16506 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16508 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16509 Check whether `default-file-name-coding-system' is bound.
16510 It isn't in XEmacs.
16512 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16514 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16515 backquotes for `obsolete' (bug#13929).
16517 * international/mule.el (find-auto-coding): Include file name in
16518 obsolescence warning (bug#13922).
16520 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16522 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16523 for CFEngine 3-specific indentation.
16524 (cfengine3-indent-line): Use it. Fix up category regex.
16525 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16527 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16529 * type-break.el (type-break-file-name):
16530 * textmodes/remember.el (remember-data-file):
16531 * strokes.el (strokes-file):
16532 * shadowfile.el (shadow-initialize):
16533 * saveplace.el (save-place-file):
16534 * ps-bdf.el (bdf-cache-file):
16535 * progmodes/idlwave.el (idlwave-config-directory):
16536 * net/quickurl.el (quickurl-url-file):
16537 * international/kkc.el (kkc-init-file-name):
16538 * ido.el (ido-save-directory-list-file):
16539 * emulation/viper.el (viper-custom-file-name):
16540 * emulation/vip.el (vip-startup-file):
16541 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16542 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16544 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16546 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16547 * language/thai-word.el: Switch to UTF-8.
16549 See ChangeLog.16 for earlier changes.
16551 ;; Local Variables:
16555 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16557 This file is part of GNU Emacs.
16559 GNU Emacs is free software: you can redistribute it and/or modify
16560 it under the terms of the GNU General Public License as published by
16561 the Free Software Foundation, either version 3 of the License, or
16562 (at your option) any later version.
16564 GNU Emacs is distributed in the hope that it will be useful,
16565 but WITHOUT ANY WARRANTY; without even the implied warranty of
16566 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16567 GNU General Public License for more details.
16569 You should have received a copy of the GNU General Public License
16570 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.