1 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
5 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
6 from 2014-03-07, it decreases performance unnecessarily. Let-bind
7 `remote-file-name-inhibit-cache' to nil in the second pass.
8 (tramp-find-executable): Do not call "which" on SunOS.
9 (tramp-send-command-and-check): Fix docstring.
11 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
13 * simple.el (primitive-undo): Only process marker adjustments
14 validated against their corresponding (TEXT . POS). Issue warning
15 for lone marker adjustments in undo history. (Bug#16818)
16 (undo-make-selective-list): Add marker adjustments to selective
17 undo list based on whether their corresponding (TEXT . POS) is in
18 the region. Remove variable adjusted-markers, which was unused
19 and only non nil during undo-make-selective-list.
20 (undo-elt-in-region): Return nil when passed a marker adjustment
21 and explain in function doc.
23 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
25 * emacs-lisp/package.el (package--add-to-archive-contents):
26 Include already installed and built-in packages in
27 `package-archive-contents'.
28 (package-install): Don't include already installed packages in the
29 options during interactive invocation. (Bug#16762)
31 2014-03-24 Daniel Colascione <dancol@dancol.org>
33 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
34 instead of cl-loop search function.
36 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
38 * frameset.el (frameset--initial-params): Fix typo in parameter name.
40 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
42 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
44 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
46 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
47 Match special global variables without curlies, too.
48 (ruby-font-lock-keywords): Simplify the matcher for special global
49 variables. Don't require a non-word character after the variable.
52 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
54 * simple.el (redisplay-highlight-region-function): Increase priority of
55 overlay to make sure boundaries are visible (bug#15899).
57 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
59 * frameset.el (frameset-restore): Compare display strings with equal.
61 * frame.el (make-frame): Don't quote display name in error message,
62 it is already a string.
64 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
66 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
69 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
71 * emacs-lisp/package.el (package-show-package-list): If the buffer
72 is already displayed in another window, switch to that window.
74 2014-03-21 Daniel Colascione <dancol@dancol.org>
76 * mail/emacsbug.el (report-emacs-bug): Include memory usage
77 information in bug reports.
79 2014-03-23 Daniel Colascione <dancol@dancol.org>
81 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
82 list to look for keyword arguments instead of `memq', fixing
83 (Bug#3647) --- unfortunately, only for freshly-compiled code.
84 Please make bootstrap.
86 2014-03-23 Richard Stallman <rms@gnu.org>
88 * battery.el (battery-linux-sysfs): Search for each field
89 from the beginning of the buffer.
91 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
93 * emacs-lisp/package.el (package-desc): Use the contents of the
94 quoted form, not its cdr. (Bug#16873)
96 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
98 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
99 benefit of doc.c; change parameter profile to match the X function.
101 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
103 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
104 and `tramp-copy-env'.
106 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
107 (tramp-maybe-open-connection): Handle `tramp-login-env'.
109 2014-03-21 Glenn Morris <rgm@gnu.org>
111 * electric.el (electric-indent-post-self-insert-function): Add doc.
113 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
115 * emacs-lisp/package.el (package-compute-transaction):
116 Use `version-list-<=' to compare the requirement version against
117 the version of package already to be installed. Update the error
120 * progmodes/ruby-mode.el (ruby-smie-rules):
121 Add indentation rule for ` @ '. (Bug#17050)
123 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
125 * align.el (align-regexp): Remove superfluous backslash.
127 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
128 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
129 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
131 (ffap-next): Use C-u in docstring.
132 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
133 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
134 Remove superfluous backslashes.
135 (ffap-string-at-point): Reflow docstring.
137 * server.el (server-host): Reflow docstring.
138 (server-unload-function): Fix docstring typo.
139 (server-eval-at): Remove superfluous backslash.
141 * skeleton.el (skeleton-insert): Remove superfluous backslash.
142 (skeleton-insert): Doc fix.
143 (skeleton-insert): Reflow docstring.
145 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
146 (tty-color-approximate, tty-color-by-index, tty-color-values)
147 (tty-color-desc): Remove superfluous backslashes.
149 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
151 * electric.el (electric-newline-and-maybe-indent): New command.
152 Bind it globally to C-j.
153 (electric-indent-mode): Don't mess with the global map any more.
154 Don't drop the post-self-insert-hook is some buffer is still using it
156 * bindings.el (global-map): Remove C-j binding.
158 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
159 the docstring of functions advised before dumping (bug#16993).
161 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
163 * ps-print.el (ps-generate-postscript-with-faces):
164 Explicitly deactivate the mark (bug#16866).
165 * simple.el (deactivate-mark): Update region highlight.
167 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
169 * emacs-lisp/package.el (describe-package-1):
170 Decode commentary (bug#16733).
172 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
174 * custom.el (defcustom): Doc fix: recommend avoiding destructive
175 modification of the value argument of :set (bug#16755).
177 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
179 * simple.el (newline-and-indent): Do autofill (bug#17031).
181 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
183 * newcomment.el (comment-normalize-vars): Only add escaping check
184 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
185 (comment-beginning): Use `narrow-to-region' instead of moving back
187 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
188 (comment-start-skip): Update the docstring.
190 2014-03-18 Richard Stallman <rms@gnu.org>
192 * dired.el (dired-display-file): Force use of other window.
194 2014-03-18 Daniel Colascione <dancol@dancol.org>
196 * startup.el (tty-handle-args): Remove debug message from 2007.
198 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
200 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
201 (advice--make-interactive-form): Use it to avoid (auto)loading function.
202 (advice--make-1, advice-add, advice-remove):
203 Remove braindead :advice-pending hack.
205 2014-03-17 Glenn Morris <rgm@gnu.org>
207 * calendar/calendar.el (calendar-generate-month): Apply weekend
208 face to the right days; fixes 2013-08-06 change. (Bug#17028)
210 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
212 * net/tramp.el (tramp-action-out-of-band): Read pending output.
213 (tramp-call-process): Trace also DESTINATION.
215 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
216 Quote file names when they are local. Remove superfluous trace.
218 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
220 * newcomment.el (comment-beginning): If `comment-start-skip'
221 doesn't match, move back one char and try again. (Bug#16971)
223 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
224 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
225 Set `comment-start-skip' to a simpler value that doesn't try to
226 check if the semicolon is escaped (this is handled by
227 `syntax-ppss' now). (Bug#16971)
229 * progmodes/scheme.el (scheme-mode-variables): Same.
231 2014-03-16 Martin Rudalics <rudalics@gmx.at>
233 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
234 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
235 current (Bug#16816, Bug#17007).
236 (with-current-buffer-window): New macro doing the same as
237 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
238 * help.el (help-print-return-message): Warn in doc-string to not
239 use this in `with-help-window'.
240 (describe-bindings-internal): Call `describe-buffer-bindings'
241 from within help buffer. See Juanma's scenario in (Bug#16816).
242 (with-help-window): Update doc-string.
243 * dired.el (dired-mark-pop-up):
244 * files.el (save-buffers-kill-emacs):
245 * register.el (register-preview): Use `with-current-buffer-window'
246 instead of `with-temp-buffer-window'.
248 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
250 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
251 Implement inserting into current buffer, documented in their docstrings.
252 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
253 (rst-section-tree-point, rst-forward-section, rst-indent)
254 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
255 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
256 (rst-font-lock-handle-adornment-pre-match-form)
257 (rst-repeat-last-character): Reflow docstrings.
258 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
259 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
260 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
261 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
263 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
264 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
265 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
267 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
269 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
270 for compatibility with other ports.
271 (ns-initialize-window-system): Use it. It is set in term/common-win.el
272 from the -xrm command line argument, but in the Nextstep port its value
273 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
275 * progmodes/python.el (defconst, python-syntax-count-quotes)
276 (python-indent-region, python-indent-shift-right)
277 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
278 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
279 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
280 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
281 (inferior-python-mode, python-shell-make-comint, run-python-internal)
282 (python-shell-buffer-substring, python-shell-send-buffer)
283 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
284 (python-completion-complete-at-point, python-fill-docstring-style)
285 (python-eldoc-function, python-imenu-format-item-label)
286 (python-imenu-format-parent-item-label)
287 (python-imenu-format-parent-item-jump-label)
288 (python-imenu--build-tree, python-imenu-create-index)
289 (python-imenu-create-flat-index): Fix docstring typos.
290 (python-indent-context, python-shell-prompt-regexp, run-python):
291 Remove superfluous backslashes.
292 (python-indent-line, python-nav-beginning-of-defun)
293 (python-shell-get-buffer, python-shell-get-process)
294 (python-info-current-defun, python-info-current-line-comment-p)
295 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
296 (python-indent-post-self-insert-function, python-shell-send-file)
297 (python-shell-completion-get-completions)
298 (python-shell-completion-complete-or-indent)
299 (python-eldoc--get-doc-at-point): Reflow docstrings.
301 2014-03-14 Glenn Morris <rgm@gnu.org>
303 * emacs-lisp/package.el (package-menu-mode-map):
304 Replace use of obsolete function alias. Tweak menu item text.
306 * info.el (Info-finder-find-node):
307 Ignore the `emacs' metapackage. (Bug#10813)
309 * finder.el (finder-list-matches): Include unversioned packages
310 in the result of a keyword search.
312 * finder.el (finder--builtins-descriptions): New constant.
313 (finder-compile-keywords): Use finder--builtins-descriptions.
315 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
317 * simple.el (blink-matching-paren): Describe the new value,
318 `jump', enabling the old behavior.
319 (blink-matching-open): Use that value. (Bug#17008)
321 2014-03-14 Glenn Morris <rgm@gnu.org>
323 * finder.el (finder-no-scan-regexp): Add leim-list.
324 (finder-compile-keywords):
325 Don't skip files with same basename. (Bug#14010)
326 * Makefile.in (setwins_finder): New, excluding leim.
327 (finder-data): Use setwins_finder.
329 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
330 (help-function-arglist, help-make-usage): Move from here...
331 * help.el (help-split-fundoc, help-add-fundoc-usage)
332 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
333 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
335 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
337 * net/socks.el (socks, socks-override-functions)
338 (socks-find-services-entry):
339 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
340 (hif-find-ifdef-block):
341 * progmodes/modula2.el (m2-indent): Fix docstring typos.
343 * net/tls.el (tls-program): Reflow docstring.
345 * progmodes/pascal.el (pascal-mode-abbrev-table)
346 (pascal-imenu-generic-expression, pascal-auto-endcomments)
347 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
348 (pascal-outline-mode): Fix docstring typos.
349 (pascal-mode): Let define-derived-mode document mode hook.
350 (pascal-uncomment-area): Reflow.
351 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
353 * progmodes/opascal.el (opascal-compound-block-indent)
354 (opascal-case-label-indent): Fix docstring typos.
355 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
357 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
359 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
360 Fontify multiple adjacent negation chars. (Bug#17004)
362 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
364 * emacs-lisp/package.el (package--prepare-dependencies):
365 Accept requirements without explicit version (bug#14941).
367 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
369 * register.el (register-separator, copy-to-register): Doc fixes.
370 (register-preview-default): Remove unnecessary call to concat.
372 * frameset.el (frameset-restore): When checking for a visible frame,
373 use the action map instead of calling visible-frame-list.
375 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
377 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
379 2014-03-12 Martin Rudalics <rudalics@gmx.at>
381 * window.el (fit-frame-to-buffer): Get maximum width from
382 display's width instead of height.
384 2014-03-12 Glenn Morris <rgm@gnu.org>
386 * desktop.el (desktop-restore-frames)
387 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
388 (desktop-restore-reuses-frames): Doc tweaks.
390 * electric.el (electric-indent-mode): Doc fix.
392 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
394 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
395 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
396 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
397 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
398 (cvs-dired-use-hook): Fix docstring typos.
399 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
402 * vc/pcvs-defs.el (cvs-auto-remove-handled)
403 (cvs-auto-remove-directories, cvs-default-ignore-marks)
404 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
405 (cvs-execute-single-dir): Fix docstring typos.
407 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
408 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
410 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
412 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
415 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
417 * frameset.el (frameset--jump-to-register): Add autoload; it could be
418 called from jump-to-register after unloading the frameset package.
420 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
422 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
423 (bug#16975). Deactivate the mark before setting it to nil.
424 (activate-mark): Do nothing if region is already active.
426 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
428 * frameset.el (frameset--target-display): Remove definition; declare.
429 (frameset-save, frameset-restore): Let-bind frameset--target-display.
431 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
433 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
434 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
435 when the advice is pending.
436 (advice-remove): Remove this marker when not needed any more.
438 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
440 * frameset.el: Separate options for reusing frames and cleaning up.
441 (frameset--reuse-list): Remove definition; declare.
442 (frameset--action-map): Declare.
443 (frameset--find-frame-if): Doc fix.
444 (frameset--restore-frame): Cache frame action.
445 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
446 how to clean up the frame list after restoring. Remove cleaning
447 options from REUSE-FRAMES. Change all keyword values to symbols.
448 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
450 * desktop.el (desktop-restore-forces-onscreen)
451 (desktop-restore-reuses-frames): Use non-keyword values.
452 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
454 2014-03-10 Glenn Morris <rgm@gnu.org>
456 * files.el (find-file): Doc fix: update info node name.
458 * emacs-lisp/advice.el (ad-add-advice, defadvice):
459 Doc fix: remove references to deleted info nodes.
461 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
463 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
464 Do not add `nil' to the environment, when there's no remote `locale'.
465 (tramp-find-inline-encoding): Check, that the remote host has
466 installed perl, before sending scripts.
468 2014-03-10 Leo Liu <sdl.web@gmail.com>
470 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
471 Clear eldoc-last-message. (Bug#16920)
473 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
475 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
478 2014-03-09 Juri Linkov <juri@jurta.org>
480 * ansi-color.el (ansi-color-names-vector): Copy default colors
481 from `xterm-standard-colors' that look well on the default white
482 background (and also on the black background) to avoid illegible
483 color combinations like yellow-on-white and white-on-white.
484 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
486 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
488 * frameset.el (frameset-restore): When no frame is visible, do not
489 generate a list of frames, just make visible the selected one.
491 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
493 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
494 it only contains the repository root. (Bug#16897)
496 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
498 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
499 only when `remote-file-name-inhibit-cache' is nil.
500 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
502 2014-03-06 Martin Rudalics <rudalics@gmx.at>
504 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
506 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
507 fit-frame-to-buffer variable. Fix doc-string.
508 (fit-window-to-buffer): Set ONLY argument in call of
509 fit-frame-to-buffer. Fix doc-string.
511 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
513 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
514 (tramp-action-password): Clear password cache if needed.
515 (tramp-read-passwd): Do not clear password cache.
517 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
518 cache unless it is the first password request.
520 2014-03-06 Glenn Morris <rgm@gnu.org>
522 * simple.el (newline): Doc tweak.
524 * emacs-lisp/shadow.el (load-path-shadows-find):
525 Ignore dir-locals. (Bug#12357)
527 2014-03-05 Glenn Morris <rgm@gnu.org>
529 * files.el (interpreter-mode-alist):
530 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
532 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
534 * frameset.el (frameset--initial-params): Filter out null entries.
536 2014-03-05 Martin Rudalics <rudalics@gmx.at>
538 * window.el (window-min-height, window-min-width):
540 (window-body-size): Add PIXELWISE argument to make it consistent
543 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
545 * finder.el (finder-mode-map, finder-mode-syntax-table):
546 Revert part of 2014-02-28 change.
548 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
550 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
551 (eww-setup-buffer): Clear next/prev/etc more reliably.
552 (eww-textarea-map): [tab] doesn't work on tty.
553 Reported by Mario Lang.
555 * net/shr.el (shr-map): Ditto.
557 2014-03-04 Glenn Morris <rgm@gnu.org>
559 * minibuffer.el (completion-hilit-commonality):
560 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
562 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
564 * hilit-chg.el (hilit-chg-unload-function): New function.
565 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
566 (hilit-chg-map-changes): Prefer cardinal number to digit.
567 (hilit-chg-display-changes): Reflow docstring.
568 (highlight-changes-rotate-faces): Remove superfluous backslash.
570 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
572 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
573 `tramp-send-command-and-check'.
575 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
577 * hexl.el (hexl-address-region, hexl-ascii-region)
578 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
579 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
580 (hexl-forward-word, hexl-previous-line, hexl-next-line):
581 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
582 (hexl-mode): Doc fix.
583 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
584 (hexl-mode-ruler): Fix typos in docstrings.
586 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
587 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
588 Remove superfluous backslashes.
589 (strokes-last-stroke, strokes-global-map, strokes-mode):
591 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
592 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
593 (strokes-distance-squared, strokes-global-set-stroke)
594 (strokes-global-set-stroke-string): Doc fixes.
595 (strokes-help): Fix typos; reflow docstring.
597 2014-03-04 Martin Rudalics <rudalics@gmx.at>
599 * window.el (window-in-direction): Fix doc-string.
601 2014-03-04 Glenn Morris <rgm@gnu.org>
603 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
604 Explicit error if no grammar.
605 (smie-config-save): Doc fix. Fix quote typo.
607 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
609 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
610 electric-indent-mode-hook if we obey electric-indent-mode.
611 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
612 decide whether we obey electric-indent-mode.
613 (c-change-set-fl-decl-start, c-extend-after-change-region):
615 (c-electric-indent-mode-hook): Assume we do want to obey
616 electric-indent-mode.
618 * electric.el (electric-indent-mode-has-been-called): Remove.
619 (electric-indent-mode): Fix accordingly.
621 * files.el (hack-local-variables): Mention file name in warning.
623 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
625 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
627 * binding.el: Add comment describing why C-d binds to `delete-char'.
628 * simple.el (delete-forward-char): Mark as interactive-only.
630 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
632 * icomplete.el (icomplete-completions):
633 Follow-up to 2014-03-01 change.
635 * icomplete.el: Miscellaneous doc fixes.
636 Use Icomplete everywhere instead of icomplete for consistency.
637 (icomplete-max-delay-chars): Fix typo.
638 (icomplete-mode): Use \[].
639 (icomplete-tidy, icomplete-exhibit): Reflow.
640 (icomplete-minibuffer-setup-hook, icomplete-completions):
641 Remove superfluous backlashes.
643 * ido.el: Miscellaneous doc fixes.
644 Use Ido everywhere instead of ido or `ido' for consistency.
645 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
646 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
647 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
648 (ido-separator): Extract obsolescence info from docstring and declare
649 with make-obsolete-variable.
650 (ido-minibuffer-setup-hook): Simplify example.
651 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
652 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
653 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
654 (ido-everywhere): Reflow docstring.
655 (ido-toggle-vc): Doc fix.
656 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
657 of long list of keybindings.
659 2014-03-03 Glenn Morris <rgm@gnu.org>
661 * frame.el (display-pixel-height, display-pixel-width)
662 (display-mm-dimensions-alist, display-mm-height)
663 (display-mm-width): Doc tweaks.
665 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
667 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
668 case of undo in region.
670 2014-03-02 Martin Rudalics <rudalics@gmx.at>
672 * window.el (fit-window-to-buffer): Fix argument in window-size
673 call when window is horizontally combined.
675 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
677 * icomplete.el (icomplete-completions): Use string-width.
678 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
680 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
682 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
683 Highlight regexp options. (Bug#16914)
685 2014-03-01 Martin Rudalics <rudalics@gmx.at>
687 * window.el (window--max-delta-1): Round down when calculating
688 how many lines/columns we can get from a window.
690 2014-03-01 Glenn Morris <rgm@gnu.org>
692 * isearch.el (search-invisible): Doc fix.
694 * minibuffer.el (completion-hilit-commonality):
695 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
696 * comint.el (comint-dynamic-list-completions): Doc fix.
697 * comint.el (comint-dynamic-list-completions):
698 * filecache.el (file-cache-minibuffer-complete):
699 * tempo.el (tempo-display-completions):
700 * eshell/em-hist.el (eshell-list-history):
701 Replace use of obsolete argument of display-completion-list.
703 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
705 * icomplete.el (icomplete-completions):
706 Revert back to using "..." when ?… cannot be displayed.
708 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
710 * finder.el (finder-unload-function): New function.
712 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
714 * dframe.el (dframe-detach):
715 * find-dired.el (find-dired, find-name-dired):
716 * finder.el (finder-mode-map, finder-mode-syntax-table)
717 (finder-headmark, finder-select, finder-mouse-select):
720 2014-02-28 Martin Rudalics <rudalics@gmx.at>
722 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
723 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
724 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
725 Fix doc-string based on a suggestion by Nicolas Richard
726 <theonewiththeevillook@yahoo.fr>.
727 * help.el (with-help-window): Fix doc-string.
729 2014-02-28 Ivan Kanis <ivan@kanis.fr>
731 * net/shr.el (shr-image-animate): New option.
732 (shr-put-image): Respect shr-image-animate.
734 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
736 * net/tramp-adb.el (tramp-adb-parse-device-names):
737 Use `accept-process-output'.
738 (tramp-adb-handle-file-truename): Cache the localname only.
739 (tramp-adb-handle-make-directory)
740 (tramp-adb-handle-delete-directory): Flush file properties correctly.
741 (tramp-adb-handle-set-file-modes): Do not raise an error when file
742 modes cannot be changed.
744 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
745 file properties of symlinks.
747 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
749 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
750 required/optional fields to match development biblatex. (Bug#16781)
752 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
754 * saveplace.el (toggle-save-place):
755 Fix argument handling. (Bug#16673)
757 2014-02-28 Glenn Morris <rgm@gnu.org>
759 * minibuffer.el (completions-first-difference)
760 (completions-common-part, completion-hilit-commonality): Doc fixes.
762 2014-02-28 Karl Berry <karl@gnu.org>
764 * info.el (Info-mode-map): Add H for describe-mode,
765 to synchronize with standalone Info.
767 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
769 * progmodes/sql.el (sql-interactive-mode):
770 Avoid setting global comint-input-ring-separator. (Bug#16814)
772 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
774 * net/dbus.el (dbus--init-bus): Declare function.
775 (dbus-path-local, dbus-interface-local): New defconst.
776 (dbus-init-bus): Use them.
777 (dbus-return-values-table): Extend doc.
778 (dbus-handle-bus-disconnect): Extend error message.
780 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
782 * subr.el (y-or-n-p): Fix double space issue in message.
784 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
786 * net/tramp.el (tramp-call-process): Improve trace message.
787 (tramp-handle-insert-file-contents): Trace error case.
789 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
790 <insert-directory>: Use `tramp-handle-insert-directory'.
791 (tramp-adb-handle-insert-directory): Remove function.
792 (tramp-adb-send-command-and-check): New defun, replacing
793 `tramp-adb-command-exit-status'. Change all callees.
794 (tramp-adb-handle-file-attributes)
795 (tramp-adb-handle-directory-files-and-attributes): Use it.
796 (tramp-adb-ls-output-name-less-p):
797 Use `directory-listing-before-filename-regexp'.
798 (tramp-adb-handle-delete-directory): Flush also file properties of
799 the truename of directory.
800 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
801 (tramp-adb-handle-file-local-copy): Make the local copy readable.
802 (tramp-adb-handle-write-region): Implement APPEND.
803 (tramp-adb-handle-rename-file): Make it more robust. Flush file
804 properties correctly.
805 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
806 variables. Check for connected devices only when needed.
808 2014-02-27 Glenn Morris <rgm@gnu.org>
810 * minibuffer.el (completion-table-dynamic)
811 (completion-table-with-cache): Doc fixes.
813 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
814 (completing-read-multiple): Doc fixes.
816 2014-02-27 Daniel Colascione <dancol@dancol.org>
818 * minibuffer.el (completion--nth-completion): Fix indentation.
820 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
821 explicit tramp path is empty.
823 2014-02-27 Glenn Morris <rgm@gnu.org>
825 * emacs-lisp/crm.el (completing-read-multiple):
826 Empower help-enable-auto-load.
828 2014-02-26 Glenn Morris <rgm@gnu.org>
830 * startup.el (command-line): Don't init the tty in daemon mode.
832 Avoid calling tty-setup-hook twice, eg if a term file
833 explicitly calls tty-run-terminal-initialization. (Bug#16859)
834 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
835 (tty-create-frame-with-faces): Use it.
836 * startup.el (command-line): Pass run-hook argument
837 to tty-run-terminal-initialization.
839 * dired.el (dired-restore-desktop-buffer): Demote errors;
840 eg in case a glob match fails. (Bug#16884)
842 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
844 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
845 error from `read-from-string'. (Bug#16850)
847 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
848 result of `completing-read' in the interactive form. (Bug#16854)
850 2014-02-25 Glenn Morris <rgm@gnu.org>
852 * image.el (image-animate, image-animate-timeout):
853 Stop animating images in dead buffers. (Bug#16878)
855 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
857 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
859 * startup.el (term-setup-hook): Doc fix. Make obsolete.
860 * term/sun.el (sun-raw-prefix-hooks):
861 Use tty-setup-hook instead of term-setup-hook.
862 (terminal-init-sun): Construct message from bytecomp plist.
863 * term/wyse50.el (enable-arrow-keys): Doc fix.
865 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
867 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
870 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
872 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
874 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
876 * minibuffer.el (completion--try-word-completion):
877 Fix error when completing M-x commands (bug#16808).
879 2014-02-24 Leo Liu <sdl.web@gmail.com>
881 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
883 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
885 * apropos.el (apropos-print): Avoid formatting error when
886 apropos-do-all and apropos-compact-layout are both t.
888 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
890 * apropos.el (apropos-property, apropos-all-words-regexp)
891 (apropos-true-hit, apropos-variable, apropos-print):
892 Fix docstring typos, and remove obsolete comment.
894 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
896 * net/tramp-sh.el (tramp-sh-handle-file-truename):
897 Preserve trailing "/". (Bug#16851)
899 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
901 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
902 after `=>' (bug#16811).
903 (ruby-smie-rules): Handle the inconsistent second element of the
904 list returned by `smie-indent--parent'.
905 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
908 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
910 * elec-pair.el (electric-pair-text-syntax-table)
911 (electric-pair-syntax-info, electric-pair--syntax-ppss)
912 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
913 (electric-pair--looking-at-unterminated-string-p): Doc fix.
914 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
916 2014-02-22 Glenn Morris <rgm@gnu.org>
918 * imenu.el (imenu--generic-function): Doc fix.
920 * register.el (frame-configuration-to-register): Make obsolete.
922 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
924 * desktop.el (desktop-save-buffer-p): Do not fail when
925 desktop-files-not-to-save is nil. Return t for true result
928 2014-02-22 Daniel Colascione <dancol@dancol.org>
930 * net/secrets.el (secrets-create-item, secrets-search-items):
931 Check that attribute values are strings, avoiding the construction
932 of invalid dbus messages.
934 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
936 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
937 defun-declarations-alist.
939 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
941 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
944 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
946 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
947 (whitespace-newline, whitespace-trailing, whitespace-line)
948 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
949 (whitespace-space-after-tab): Fix typo in docstrings.
951 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
953 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
955 * electric.el (electric-indent-functions-without-reindent):
956 Add `yaml-indent-line'.
958 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
960 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
961 It has done nothing for years; should be removed after the release.
963 * simple.el (choose-completion): Fix docstring typo.
964 (read-quoted-char-radix): Remove unneeded * in docstring.
965 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
966 Don't escape parentheses unnecessarily in docstrings.
968 2014-02-21 Martin Rudalics <rudalics@gmx.at>
970 Fix handling of window-min-height/-width (Bug#16738).
971 * window.el (window--dump-window, window--dump-frame):
973 (window--min-size-1): Account for window dividers.
974 When window-resize-pixelwise is nil, delay rounding till after the
975 sum of the window components has been calculated.
976 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
977 nil make sure at least one text line and two text columns remain
979 (window-resize): Signal an error when window-resize-apply fails.
980 (window--resize-child-windows): Fix calculation of by how many
981 pixels a window can still be shrunk via window-new-normal.
982 (adjust-window-trailing-edge): Call window--resizable with
983 correct TRAIL argument.
985 (with-temp-buffer-window): Don't evaluate BODY within
986 with-current-buffer (Bug#16816).
988 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
990 * net/tramp.el (tramp-check-cached-permissions):
991 Call `file-attributes' with `suffix' being a symbol but a string.
993 2014-02-21 Daniel Colascione <dancol@dancol.org>
995 * net/dbus.el (dbus-init-bus-1): Declare new subr.
996 (dbus-init-bus): New function: call into dbus-init-bus-1
997 and installs a handler for the disconnect signal.
998 (dbus-call-method): Rewrite to look for result in cons.
999 (dbus-call-method-handler): Store result in cons.
1000 (dbus-check-event): Recognize events with nil sender as valid.
1001 (dbus-handle-bus-disconnect): New function. React to bus
1002 disconnection signal by synthesizing dbus error for each
1003 pending synchronous or asynchronous call.
1004 (dbus-notice-synchronous-call-errors): New function.
1005 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1006 is true, not all the time.
1008 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1010 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1011 Remove obsolescence declarations, these variables do not exist anymore.
1013 * savehist.el (savehist-save-minibuffer-history)
1014 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1015 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1016 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1017 mostly, refer to "Savehist mode" when talking about the mode,
1018 and not the function.
1020 * saveplace.el (save-place): Remove redundant info in docstring.
1021 (save-place-forget-unreadable-files, toggle-save-place)
1022 (save-place-forget-unreadable-files, save-place-dired-hook):
1023 Fix typos and remove unneeded backslashes.
1025 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1027 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1028 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1030 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1031 <insert-directory>: Use `tramp-handle-insert-directory'.
1032 (tramp-gvfs-handle-insert-directory): Remove function.
1034 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1035 Call `tramp-handle-insert-directory'.
1037 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1039 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1040 before the start of buffer/region (bug#16799).
1042 2014-02-20 Glenn Morris <rgm@gnu.org>
1044 * isearch.el (search-invisible): Doc fix.
1046 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1048 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1051 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1053 * frameset.el (frameset-restore): Delay removing an old frame's
1054 duplicate id until the new frame has been correctly created.
1056 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1058 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1059 (tramp-check-cached-permissions): Call `file-attributes' if the
1062 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1063 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1065 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1066 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1067 (tramp-gvfs-maybe-open-connection): Set always connection
1068 properties, even if target is mounted already.
1070 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1071 Set tramp-autoload cookie.
1072 (tramp-get-remote-touch): New defun.
1073 (tramp-sh-handle-set-file-times): Use it.
1074 (tramp-sh-handle-directory-files-and-attributes):
1075 Use `tramp-handle-directory-files-and-attributes' if neither stat
1076 nor perl are available on the remote host.
1078 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1079 "/". Write long listing only when "l" belongs to the switches.
1081 * net/trampver.el: Update release number.
1083 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1085 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1087 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1089 * window.el (window-state-put): Allow WINDOW to refer to an
1090 internal window (Bug#16793).
1092 2014-02-19 Glenn Morris <rgm@gnu.org>
1094 * textmodes/remember.el: Move provide statement to end.
1095 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1096 (remember-notes): Doc fixes.
1098 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1100 * delsel.el (delete-char): Restore incorrectly erased property
1103 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1105 * frameset.el (frameset--restore-frame): When a frame is being reused
1106 and its root window is not alive, delete all the frame's windows before
1107 restoring the window state. This works around the issue in bug#16793.
1109 2014-02-18 Glenn Morris <rgm@gnu.org>
1111 * textmodes/remember.el (remember-data-directory)
1112 (remember-directory-file-name-format, remember-store-in-files)
1113 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1114 (remember-notes-save-and-bury-buffer)
1115 (remember-notes--kill-buffer-query): Doc fixes.
1117 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1119 2014-02-17 Alan Mackenzie <acm@muc.de>
1121 Connect electric-indent-mode up with CC Mode. Bug #15478.
1122 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1123 to electric-indent-{,local-}-mode.
1124 (c-basic-common-init): Set electric-indent-inhibit.
1125 Initialise c-electric-flag from electric-indent-mode.
1126 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1127 New hook functions which propagate electric-indent-mode to CC mode.
1129 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1130 hit, toggle electric-indent-local-mode.
1132 * electric.el (electric-indent-mode-has-been-called):
1135 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1137 * frameset.el (frameset-cfg-id): New function.
1138 (frameset--reuse-frame, frameset-restore): Use it.
1139 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1141 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * ido.el (ido-file-internal): Remove unused var `d'.
1144 Use \` for to match BoS. Fit within 80n columns.
1146 2014-02-17 Daniel Colascione <dancol@dancol.org>
1148 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1149 dbus-call-method check for completion using a busy-wait loop with
1152 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1154 Sync with Tramp 2.2.9.
1156 * net/trampver.el: Update release number.
1158 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1160 * ido.el (ido-file-internal): Don't add the name of an existing
1161 directory twice. (Bug#16747)
1163 2014-02-16 Glenn Morris <rgm@gnu.org>
1165 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1166 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1168 2014-02-15 Michael R. Mauger <michael@mauger.com>
1170 * progmodes/sql.el: Version 3.4
1171 (sql-oracle-options): New default value ("-L").
1172 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1173 (sql-placeholders-filter): Correct placeholder pattern.
1174 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1175 (sql-login-delay): New variable.
1176 (sql-product-interactive): Use it.
1178 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1180 * frameset.el (frameset--jump-to-register): Check that buffer is live
1183 2014-02-15 Glenn Morris <rgm@gnu.org>
1185 * info.el (info-initialize): Revert 2014-01-10 change.
1187 2014-02-14 Glenn Morris <rgm@gnu.org>
1189 * replace.el (map-query-replace-regexp)
1190 (read-regexp-defaults-function, read-regexp): Doc fixes.
1192 * dired.el (dired-read-regexp):
1193 * faces.el (list-faces-display):
1194 * misearch.el (multi-isearch-read-matching-buffers)
1195 (multi-isearch-read-matching-files):
1196 * play/cookie1.el (cookie-apropos):
1197 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1199 * textmodes/remember.el (remember): Use frameset-to-register
1200 rather than frame-configuration-to-register.
1202 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1204 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1205 incorrect keybinding.
1207 2014-02-13 Daniel Colascione <dancol@dancol.org>
1209 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1210 when adding overlays so that line numbers from compiler match line
1213 2014-02-13 Glenn Morris <rgm@gnu.org>
1215 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1217 * jit-lock.el (jit-lock-mode): Doc fix.
1219 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1221 * apropos.el (apropos-read-pattern): When the user passes an empty
1222 string, give a more helpful error message than "Wrong type
1223 argument: stringp, nil".
1225 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1227 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1229 2014-02-13 Glenn Morris <rgm@gnu.org>
1231 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1233 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1235 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1236 shift-select commands.
1238 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1240 * progmodes/js.el (js-indent-line): Don't widen.
1241 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1243 2014-02-12 Glenn Morris <rgm@gnu.org>
1245 * icomplete.el (icomplete): Add info-link to defgroup.
1246 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1247 (icomplete-minibuffer-map, icomplete-mode)
1248 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1250 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1251 (package-menu-filter): Rename from package-menu-filter-interactive.
1254 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1256 * frameset.el (frameset--jump-to-register): Select the required
1257 window and buffer before restoring position (bug#16696).
1259 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1261 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1263 2014-02-10 Glenn Morris <rgm@gnu.org>
1265 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1267 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1269 * w32-common-fns.el (x-get-selection): Doc fix.
1270 * select.el (x-get-selection): Doc fix. (Bug#15109)
1272 * face-remap.el (face-remap-add-relative)
1273 (face-remap-remove-relative, face-remap-reset-base)
1274 (face-remap-set-base): Call force-mode-line-update to redisplay
1275 the current buffer due to potential change in faces. (Bug#16709)
1277 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1279 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1280 script more robustly.
1282 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1284 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1286 * simple.el (choose-completion): Doc fix (bug#14160).
1288 * subr.el (event-start): Say what a nil EVENT value means.
1290 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1293 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1295 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1297 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1299 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1300 predicate function (bug#15455).
1302 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1304 * ielm.el (inferior-emacs-lisp-mode): Instead of
1305 `comment-use-global-state', set `comment-use-syntax'.
1307 2014-02-10 Glenn Morris <rgm@gnu.org>
1309 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1311 2014-02-09 Alan Mackenzie <acm@muc.de>
1313 Fix c-invalidate-state-cache on narrowed buffers.
1314 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1315 Widen when setting and clearing the CPP delimiter properties.
1317 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1319 * help.el (describe-bindings): Doc fix (bug#9888).
1321 * files.el (save-buffer): Use ARG as the parameter name for
1322 consistency (bug#10346).
1323 (save-buffer): Clarify the 0 argument (bug#10346).
1325 * cus-edit.el (customize-apropos): Fix error string.
1326 (custom-buffer-create): Doc fix (bug#11122).
1327 (custom-sort-items): Doc fix (bug#11121).
1329 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1331 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1332 (icomplete-simple-completing-p): Mention the previous variable.
1334 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1335 meaning of the parameter (bug#12282).
1337 * files.el (find-file-noselect): Clarify prompt when changing
1338 readedness (bug#13261).
1339 (locate-file): Suffixes aren't returned, so don't say that they
1341 (backup-inhibited): Doc clarification (bug#12525).
1343 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1344 before we actually start to delete things (bug#16331).
1346 * subr.el (event-start): Doc fix (bug#14228).
1349 2014-02-09 Glenn Morris <rgm@gnu.org>
1351 * emacs-lisp/warnings.el (lwarn):
1352 Empower help-enable-auto-load. (Bug#15940)
1354 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1356 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1359 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1361 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1362 Insert output at end of buffer. (Bug#16120)
1364 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1366 * simple.el (choose-completion-string-functions): Document new
1367 calling convention (bug#14153).
1368 (execute-extended-command): Clarify doc string (bug#13373).
1370 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1372 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1373 (find-grep-dired): Doc fix (bug#14288).
1375 2014-02-08 Juri Linkov <juri@jurta.org>
1377 * isearch.el (isearch-quote-char): Check character validity
1378 like in `quoted-insert' (bug#16677).
1380 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1382 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1384 * isearch.el (isearch-hide-immediately): Doc clarification
1387 * simple.el (line-move): Document utility function used many
1388 places in the Emacs sources (bug#14843).
1390 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1391 (dired-prev-marked-file): Doc fix (bug#14855).
1392 (dired-up-directory): Doc fix (bug#14848).
1394 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1396 * files.el (file-relative-name): Doc fix (bug#15159).
1398 * fringe.el (fringe-styles): Doc fix (bug#15239).
1400 * isearch.el (isearch-filter-predicate): Documentation typo fix
1403 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1405 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1407 * replace.el (replace-match-maybe-edit): Doc clarification
1410 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1412 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1414 2014-02-08 Glenn Morris <rgm@gnu.org>
1416 * help-fns.el (describe-variable):
1417 Check {file,dir}-local-variables-alist, and buffer-file-name,
1418 in the correct buffer.
1420 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1422 * help-fns.el (describe-variable): Fix the case where
1423 a value is directory-local with no dir-locals file. (Bug#16635)
1425 2014-02-08 Glenn Morris <rgm@gnu.org>
1427 * abbrev.el (edit-abbrevs-mode):
1428 Derive from fundamental-mode. (Bug#16682)
1430 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1432 * simple.el (quoted-insert): Check character validity (bug#16677).
1434 2014-02-07 Juri Linkov <juri@jurta.org>
1436 * desktop.el (desktop-read): Claim the lock when the owner is not
1437 the current process. (Bug#16157)
1439 2014-02-07 Juri Linkov <juri@jurta.org>
1441 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1442 to "\\` ". (Bug#16651)
1444 2014-02-07 Juri Linkov <juri@jurta.org>
1446 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1447 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1448 (desktop-auto-save-cancel-timer): New function with some code from
1449 `desktop-auto-save-set-timer'.
1450 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1451 Instead of setting `desktop-save-mode' to nil, call
1452 `desktop-save-mode' with arg 0. (Bug#16630)
1454 2014-02-07 Glenn Morris <rgm@gnu.org>
1456 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1457 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1458 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1460 * obsolete/iswitchb.el: Move to obsolete/.
1461 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1462 since obsolete/ is not scanned for autoloads.
1463 * emacs-lisp/authors.el (authors-valid-file-names):
1466 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1467 Disable now non-functional find-file-hook.
1469 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1471 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1472 instead of ";" in order to avoid additional prompts. Let heredoc
1473 scripts read from tty. (Bug#16582)
1474 (tramp-send-command): No special handling of heredocs, it isn't
1477 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1480 with a space (bug#16664). Limit the symbols considered to the ones
1481 that are bound or fbound (bug#16646).
1483 2014-02-06 Glenn Morris <rgm@gnu.org>
1485 * epa.el (epa-mail-aliases): Doc fix.
1487 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1489 * emacs-lisp/lisp.el (lisp-completion-at-point):
1490 Use `completion-table-merge' instead of `completion-table-in-turn'
1493 * minibuffer.el (completion-table-merge): New function.
1495 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1497 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1498 (tramp-sh-handle-set-file-acl)
1499 (tramp-sh-handle-start-file-process)
1500 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1501 (tramp-find-executable, tramp-send-command): Use it.
1503 2014-02-05 Glenn Morris <rgm@gnu.org>
1505 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1507 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1509 * progmodes/python.el (python-shell-send-string)
1510 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1512 2014-02-04 Anders Lindgren <andlind@gmail.com>
1514 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1515 the names (bug#16620).
1517 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1519 * faces.el (window-divider): New default value. Rewrite doc-string.
1520 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1522 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1524 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1525 `protected' and `public' can also be called without arguments.
1527 2014-02-03 Glenn Morris <rgm@gnu.org>
1529 * register.el (window-configuration-to-register)
1530 (frame-configuration-to-register): Unadvertise unused argument.
1531 * frameset.el (frameset-to-register): Remove unused argument.
1533 * frameset.el (frameset-to-register):
1534 * kmacro.el (kmacro-to-register):
1535 * register.el (increment-register):
1536 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1537 (calc-append-to-register, calc-prepend-to-register):
1538 * play/gametree.el (gametree-layout-to-register)
1539 (gametree-apply-register-layout):
1540 * textmodes/picture.el (picture-clear-rectangle-to-register)
1541 (picture-yank-rectangle-from-register):
1542 * vc/emerge.el (emerge-combine-versions-register):
1543 Use register-read-with-preview to read registers.
1545 2014-02-03 João Távora <joaotavora@gmail.com>
1547 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1548 when at beginning of (possibly narrowed) buffer.
1550 2014-02-02 Daniel Colascione <dancol@dancol.org>
1552 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1553 Also try to display local help from just before point.
1555 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1557 c-parse-state. Don't "append-lower-brace-pair" in certain
1558 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1559 recognised as a comment.
1561 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1562 as well as normal comment starter.
1563 (c-parse-state-get-strategy): Extra return possibility
1565 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1566 return value list to indicate replacement of a brace-pair cons
1568 (c-parse-state-1): With 'back-and-forward, only call
1569 c-append-lower-brace-pair-to state-cache when cons-separated.
1571 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1573 * term/ns-win.el (ns-suspend-error): New function.
1574 (ns-initialize-window-system): Add ns-suspend-error to
1575 suspend-hook (Bug#16612).
1577 2014-02-02 Daniel Colascione <dancol@dancol.org>
1579 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1580 Make loading cc-mode silent.
1582 2014-02-02 Daniel Colascione <dancol@dancol.org>
1584 * comint.el (comint-prompt-read-only): Change doc to suggest
1587 2014-02-02 Glenn Morris <rgm@gnu.org>
1589 * register.el (register-read-with-preview, point-to-register)
1590 (window-configuration-to-register, frame-configuration-to-register)
1591 (jump-to-register, number-to-register, view-register, insert-register)
1592 (copy-to-register, append-to-register, prepend-to-register)
1593 (copy-rectangle-to-register): Doc fixes.
1595 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1598 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1599 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1600 * help-fns.el (describe-function-1): Use it.
1602 2014-02-02 Glenn Morris <rgm@gnu.org>
1604 * register.el (register-preview-default): New function,
1605 split from register-preview.
1606 (register-preview-function): Rename from register-preview-functions,
1608 (register-preview): Use register-preview-function.
1609 (register-read-with-preview): Error on non-character event. (Bug#16595)
1611 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1613 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1614 `:' before binary operators (bug#16609). Don't check for `:'
1615 before `[' and `(', or their syntax status. A percent literal
1616 can't end with either.
1617 (ruby-font-lock-keywords): For built-ins that require arguments,
1618 check that they're followed by something that looks like argument
1621 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1623 * subr.el (butlast): Document what an omitted N means (bug#13437).
1626 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1628 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1629 depth shallower (bug#16587).
1630 (shr-tag-svg): Respect `shr-inhibit-images'.
1631 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1633 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1635 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1636 (ruby-smie-grammar): Make "." right-associative. Make its priority
1637 lower than the ternary and all binary operators.
1638 (ruby-smie-rules): Indent "(" relative to the first non-"."
1639 parent, or the first "." parent at indentation.
1640 Use `ruby-align-chained-calls' for indentation of "." tokens.
1643 2014-01-31 Juri Linkov <juri@jurta.org>
1645 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1646 from `make-hash-table'.
1648 * textmodes/ispell.el (ispell-init-process): Change message format
1649 to be consistent with other messages.
1651 2014-01-31 Glenn Morris <rgm@gnu.org>
1653 * delsel.el (delete-selection-mode): Doc fix.
1655 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1656 (trace-function-background): Doc fixes.
1658 * ido.el (ido-use-virtual-buffers): Doc fix.
1659 Reset :version, since the default value has not changed.
1661 * register.el (register-preview-delay, register-read-with-preview):
1664 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1665 do not mess with mail-buffer position (fixes 2009-11-03 change).
1666 * progmodes/cc-mode.el (c-submit-bug-report):
1667 Check auto-fill-mode is bound. (Bug#16592)
1669 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1671 * startup.el (fancy-splash-image-file): New function,
1672 split from fancy-splash-head.
1673 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1674 so that we are both using the same image. (Bug#16574)
1676 2014-01-30 Glenn Morris <rgm@gnu.org>
1678 * simple.el (eval-expression): Doc fix.
1680 * hexl.el (hexl-mode-hook):
1681 * ielm.el (ielm-mode-hook):
1682 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1683 (lisp-interaction-mode-hook):
1684 * progmodes/cfengine.e (cfengine3-documentation-function):
1685 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1687 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1690 is a symbol (bug#16584).
1692 2014-01-30 Glenn Morris <rgm@gnu.org>
1694 * help.el (help-for-help-internal): Add "P" to text.
1696 2014-01-29 Glenn Morris <rgm@gnu.org>
1698 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1700 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1702 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1705 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1707 * progmodes/hideif.el: Extend to full CPP expression syntax.
1708 (hif-token-alist): Add missing tokens.
1709 (hif-token-regexp): Add support for float/octal/hex immediates.
1710 (hif-string-literal-regexp): New const.
1711 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1712 (hif-exprlist): New function.
1713 (hif-parse-if-exp): Use it.
1714 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1715 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1716 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1717 (hif-logxor, hif-comma): New functions.
1719 2014-01-28 Glenn Morris <rgm@gnu.org>
1721 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1723 * indent.el (tab-stop-list): Doc fix. Add :version.
1725 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1726 (cvs-append-to-ignore): Add compatibility alias.
1728 2014-01-27 Glenn Morris <rgm@gnu.org>
1730 * dired.el (dired-hide-details-mode): Don't autoload it,
1731 since it cannot be used outside Dired buffers anyway.
1733 * emulation/cua-base.el (cua-mode): Doc fix.
1735 * dired.el (dired-hide-details-hide-symlink-targets)
1736 (dired-hide-details-hide-information-lines)
1737 (dired-hide-details-mode): Doc fixes.
1739 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1740 * strokes.el (strokes-file): Doc fix. Bump :version.
1741 (strokes-help): Doc fix.
1742 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1743 * emulation/viper.el (viper): Doc fix for custom group.
1744 (top-level): Remove oh-so-no-longer-relevant text about vip.
1745 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1747 * ido.el (ido-save-directory-list-file):
1748 * saveplace.el (save-place-file):
1749 * calendar/timeclock.el (timeclock-file):
1750 * net/quickurl.el (quickurl-url-file):
1751 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1752 * progmodes/idlwave.el (idlwave-config-directory):
1753 * textmodes/remember.el (remember-data-file):
1756 2014-01-26 Glenn Morris <rgm@gnu.org>
1758 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1759 Doc fix. Make obsolete.
1760 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1762 * sort.el (delete-duplicate-lines): Doc fix.
1764 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1766 * progmodes/ada-mode.el (ada):
1767 * woman.el (woman): Link to info manual and Commentary section.
1769 * progmodes/flymake.el (flymake):
1770 * nxml/nxml-mode.el (nxml):
1772 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1773 * htmlfontify.el (htmlfontify):
1776 * ido.el (ido): Link to info manual.
1778 2014-01-25 Leo Liu <sdl.web@gmail.com>
1780 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1782 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1784 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1787 >>>>>>> MERGE-SOURCE
1788 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1790 * net/eww.el (eww-download-callback):
1791 Fix reference to eww-download-directory.
1793 * emacs-lisp/bytecomp.el (byte-compile-file):
1794 Remove unused local variable `file-name'.
1796 2014-01-24 Glenn Morris <rgm@gnu.org>
1798 * woman.el (woman-default-faces, woman-monochrome-faces):
1799 Fix obsolescence specification.
1801 * subr.el (with-demoted-errors): Doc fix.
1803 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1805 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1806 (cl--macroexp-fboundp): New function.
1807 (cl--make-type-test): Use it.
1809 2014-01-23 Glenn Morris <rgm@gnu.org>
1811 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1812 * simple.el (eval-expression): Doc fixes.
1814 2014-01-22 Glenn Morris <rgm@gnu.org>
1816 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1818 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * emacs-lisp/package.el: Write files silently.
1821 (package-autoload-ensure-default-file, package--write-file-no-coding)
1822 (package-generate-description-file, package--download-one-archive)
1823 (package-install-from-archive): Tell `write-region' to stay quiet.
1824 (package-menu-mode, package-menu--print-info): Omit the Archive column
1825 if there's only one archive.
1826 (package-all-keywords, package--has-keyword-p): Remove dead code.
1828 2014-01-22 Glenn Morris <rgm@gnu.org>
1830 * version.el (emacs-bzr-version-bzr): Fix typo.
1832 * version.el (emacs-repository-get-version):
1833 Check either .bzr or .git, but not both.
1834 Make the git case actually use the DIR argument, and return nil
1835 rather than the empty string.
1836 Avoid error if .git exists but the git executable is not found.
1838 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1840 Fixes in window size functions around Bug#16430 and Bug#16470.
1841 * window.el (window-total-size, window-size): New argument ROUND.
1842 (window--min-delta-1, window-min-delta, window--max-delta-1):
1843 Be more conservative when calculating the numbers of lines or
1844 columns a window can shrink (Bug#16430).
1845 (fit-window-to-buffer): Simplify code.
1846 * term.el (term-window-width): Call window-body-width again.
1848 2014-01-22 Glenn Morris <rgm@gnu.org>
1850 * image.el (image-format-suffixes): Doc fix.
1852 * international/quail.el (quail-define-package): Doc fix.
1854 * emacs-lisp/authors.el (authors-valid-file-names)
1855 (authors-renamed-files-alist): Additions.
1857 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1858 reverts 2014-01-09 change. (Bug#16422)
1860 * calc/calc-embed.el (thing-at-point-looking-at):
1861 * emacs-lisp/map-ynp.el (x-popup-dialog):
1862 * obsolete/lmenu.el (x-popup-dialog):
1863 * emacs-lisp/package.el (url-recreate-url):
1864 * mail/mailclient.el (clipboard-kill-ring-save):
1865 * subr.el (x-popup-dialog): Update declaration.
1866 * mail/rmail.el (rmail-mime-message-p):
1867 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1869 2014-01-21 Daniel Colascione <dancol@dancol.org>
1871 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1872 Correctly detect when we're inside an arithmetic expansion form
1873 containing nested parenthesis.
1874 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1875 to detect cases where we shouldn't expand "<<" to a heredoc
1878 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1881 (eldoc--message-command-p): New function.
1882 (eldoc-display-message-p): Use it.
1883 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1884 message is not automatically erased for us.
1885 (eldoc-print-current-symbol-info): Erase previous message, if any.
1887 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1889 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1890 specify it's an interactive function.
1892 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1893 Fix regex used for scanning for citation keys which failed for
1894 citations with optional arguments.
1896 2014-01-21 Leo Liu <sdl.web@gmail.com>
1898 * simple.el (read--expression): Don't enable eldoc-mode.
1900 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * simple.el (move-beginning-of-line): Make sure we don't move forward
1905 2014-01-20 Juri Linkov <juri@jurta.org>
1907 * saveplace.el (toggle-save-place, save-place-to-alist)
1908 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1909 'dired-mode) before checking for dired-directory. (Bug#16477)
1911 2014-01-20 Juri Linkov <juri@jurta.org>
1913 * indent.el (indent-line-to): Use backward-to-indentation
1914 instead of back-to-indentation. (Bug#16461)
1916 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1918 Revert some of the CANNOT_DUMP fix (Bug#16494).
1919 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1920 but fixing this can wait until after the next release.
1921 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1923 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1925 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1926 Use `password-word-equivalents'.
1927 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1928 to t. (Bug#5664, Bug#13124)
1930 2014-01-19 Alan Mackenzie <acm@muc.de>
1932 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1934 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1935 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1936 * progmodes/cc-mode.el (c-before-change, c-after-change)
1937 (c-font-lock-fontify-region): Bind it here.
1939 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1941 * term.el (term-window-width): Call window-text-width instead of
1942 window-width (Bug#16470).
1944 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1946 * simple.el (password-word-equivalents): Remove duplicates.
1947 Sort, to make this easier next time.
1948 Downcase. Omit ": " after "jelszó".
1950 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1952 * term/common-win.el (saved-region-selection): Defvar it.
1953 (x-select-text): Set saved-region-selection (Bug#16382).
1955 2014-01-18 Glenn Morris <rgm@gnu.org>
1957 * emacs-lisp/authors.el (authors-aliases)
1958 (authors-renamed-files-alist): Add some entries.
1960 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1962 * net/tramp.el (tramp-password-prompt-regexp):
1963 Use `password-word-equivalents' if available.
1964 (tramp-action-password, tramp-process-one-action)
1965 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1967 2014-01-17 Chong Yidong <cyd@gnu.org>
1969 * simple.el (password-word-equivalents): New defcustom.
1970 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1972 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1975 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1977 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1978 (ruby-align-to-stmt-keywords): Change the default value.
1979 Use `ruby-alignable-keywords' to generate the possible customization
1981 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1982 keywords, check against the value of `ruby-alignable-keywords'
1983 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1985 2014-01-17 Glenn Morris <rgm@gnu.org>
1987 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1989 Make M-x authors return zero *Authors Errors* from current logs.
1990 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1991 (authors-ignored-files): Add some entries, remove others.
1992 (authors-ambiguous-files, authors-valid-file-names):
1994 (authors-renamed-files-alist): Add, remove, and adjust entries.
1995 (authors-renamed-files-regexps): Add some entries.
1996 Remove some very broad ones. Make some entries `lax'.
1997 (authors-lax-changelogs): New constant.
1998 (authors-disambiguate-file-name): Treat top-level specially.
1999 (authors-lax-changelog-p): New function.
2000 (authors-canonical-file-name): Check file as written against
2001 authors-valid-file-names. Do not special-case etc/.
2002 Handle `lax' logs and authors-renamed-files-regexps elements.
2004 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2006 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2007 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2010 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2012 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2013 Assume we're already in the proper buffer.
2014 Inspired by Anders Lindgren <andlind@gmail.com>.
2015 (follow-post-command-hook): Call it from the right buffer.
2016 (follow-comint-scroll-to-bottom): Adjust call.
2017 (follow-all-followers): Use get-buffer-window-list.
2019 2014-01-15 Daniel Colascione <dancol@dancol.org>
2021 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2022 `buffer-file-name' in interactive-form so that we don't leave
2023 pathless file names in `file-name-history'.
2025 2014-01-15 Juri Linkov <juri@jurta.org>
2027 * indent.el (indent-rigidly): Set deactivate-mark to nil
2028 in transient indentation mode. (Bug#16438)
2030 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2032 * emacs-lisp/package.el (package-desc-keywords): New function
2034 (describe-package-1, package-all-keywords)
2035 (package--has-keyword-p): Use it.
2037 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2039 * simple.el (define-alternatives): When creating the
2040 COMMAND-alternatives variable, assign COMMAND as its definition
2041 name so that `describe-variable' can relocate it.
2043 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2045 * font-lock.el (font-lock-keywords): Fix typo in docstring
2048 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2050 * ispell.el (ispell-region): Reset `in-comment' for new line
2051 instead of wrongly reset `add-coment' (bug#13577).
2053 2014-01-14 Daiki Ueno <ueno@gnu.org>
2055 * epa-file.el (epa-file-write-region): Encode the region according
2056 to `buffer-file-format'. Problem reported at:
2057 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2059 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2061 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2062 so it applies in the right buffer (bug#16410).
2064 2014-01-13 Daniel Colascione <dancol@dancol.org>
2066 * textmodes/rst.el (rst-define-key): Provide deprecated
2067 keybindings through named functions instead of anonymous ones so
2068 that "??" doesn't appear in describe-mode output.
2070 2014-01-13 Bastien Guerry <bzg@gnu.org>
2072 * simple.el (define-alternatives): Call the selected command
2073 interactively. When setting `COMMAND--implementation' for the
2074 first time, tell the user how to chose another implementation.
2075 Enhance the docstring.
2077 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2080 (log-edit--match-first-line): New function.
2081 (log-edit-font-lock-keywords): Use it.
2082 (log-edit-mode): Make jit-lock-defer-multiline work.
2084 2014-01-13 Bastien Guerry <bzg@gnu.org>
2086 * rect.el (rectangle-mark-mode): When the region is not active,
2087 display a message saying that the mark as been set and that
2088 rectangle mode is in use.
2089 (rectangle--highlight-for-redisplay): Only put an overlay with a
2090 visible vertical bar when (display-graphic-p) is non-nil.
2091 This partially fixes Bug#16403.
2093 2014-01-13 Juri Linkov <juri@jurta.org>
2095 * info.el (Info-find-file): Go to DIR before displaying the error
2096 about a nonexistent file if no previous Info file is visited.
2097 Use `user-error' instead of `error' for "Info file %s does not exist".
2098 (Info-find-node-2): In case of a nonexistent node in unwind forms
2099 go to the Top node if there is no previous node to revert to.
2102 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2104 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2105 * window.el (fit-frame-to-buffer): Fix doc-string.
2106 Respect window-min-height/-width. Fit pixelwise when
2107 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2108 when avoiding that frame goes partially off-screen.
2109 (fit-window-to-buffer): Respect window-min-height/-width
2112 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2114 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2115 after an empty line.
2117 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2119 * net/shr.el (shr-render-region): Autoload.
2121 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2123 * net/eww.el (eww-download-directory): Rename from
2124 `eww-download-path' (Bug#16419).
2126 2014-01-12 Leo Liu <sdl.web@gmail.com>
2128 * dired-x.el (dired-mode-map): Fix last change.
2130 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2132 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2135 * emacs-lisp/generic.el (generic--normalize-comments):
2136 Rename from generic--normalise-comments. All uses changed.
2137 * play/bubbles.el (bubbles--neighborhood-score)
2138 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2139 (bubbles--neighborhood-available)
2140 (bubbles--update-neighborhood-score):
2141 Rename from names with 'neighbourhood'. All uses changed.
2143 2014-01-12 Leo Liu <sdl.web@gmail.com>
2145 Re-implement the feature of showing eldoc info after editing.
2146 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2147 (eldoc-edit-message-commands): New function.
2148 (eldoc-print-after-edit): New variable.
2149 (eldoc-pre-command-refresh-echo-area): Emit message only by
2150 eldoc-message-commands.
2151 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2152 if eldoc-print-after-edit is set. (Bug#16346)
2153 * simple.el (read--expression): Enable eldoc-mode.
2154 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2156 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2157 Eric S. Raymond <esr@thyrsus.com>
2159 * version.el (emacs-repository-get-version): Enhance so the
2160 function works correctly in either a Bazaar or Git repo.
2162 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2164 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2165 Goes with removal of the joke manpages from /etc.
2167 2014-01-10 Kenichi Handa <handa@gnu.org>
2169 * mail/rmail.el (rmail-get-coding-system):
2170 Check rmail-get-coding-function before "funcall"ing it.
2172 2014-01-10 Glenn Morris <rgm@gnu.org>
2174 * emacs-lisp/authors.el (authors-fixed-entries):
2175 Update for files that no longer exist.
2177 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2179 * version.el (emacs-bzr-get-version): Restore compatibilty with
2182 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2184 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2187 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2189 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2191 2014-01-10 Chong Yidong <cyd@gnu.org>
2193 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2195 2014-01-10 Anders Lindgren <andlind@gmail.com>
2197 * follow.el (follow-cache-command-list): Include right-char and
2200 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2203 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2204 * woman.el (woman-mark-horizontal-position):
2205 Rename from woman-mark-horizonal-position. Use changed.
2207 2014-01-10 Glenn Morris <rgm@gnu.org>
2209 * info.el (info-initialize): If running uninstalled, ensure our
2210 own info files are always found first, even if INFOPATH is set.
2212 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2214 2014-01-09 David Engster <deng@randomsample.de>
2216 * emacs-lisp/eieio-custom.el:
2217 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2218 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2219 * emacs-lisp/eieio.el: Regenerate autoloads.
2221 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2223 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2224 following renames. (Bug#8756)
2226 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2230 (activate-mark): Add `no-tmm' argument.
2231 (set-mark, push-mark-command): Use it instead of running
2232 activate-mark-hook by hand.
2234 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2236 In preparation for the move to git, sanitize out some
2237 Bazaar-specific names.
2239 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2241 * version.el (emacs-bzr-version): Name changed to
2242 emacs-repository-version. Obsolete-variable alias made.
2243 * loadup.el: Follow through on this name change.
2244 * mail/emacsbug.el (report-emacs-bug): Factor out any
2245 assumption about the version control system in use.
2247 2014-01-08 David Engster <deng@randomsample.de>
2249 * help-fns.el (help-fns-describe-function-functions):
2250 New variable to call functions for augmenting help buffers.
2251 (describe-function-1): Remove explicit calls to
2252 `help-fns--compiler-macro', `help-fns--parent-mode' and
2253 `help-fns--obsolete'. Put them in above new variable instead, and
2254 call them through `run-hook-with-args'.
2255 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2256 `eieio-describe-class'. Not meant for interactive use anymore,
2257 but to augment existing help buffers. Remove optional second
2258 argument. Create proper button for file location.
2259 Rewrite function to use `insert' instead of `princ' and `prin1' where
2261 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2262 (eieio-method-def, eieio-class-def): Move further up.
2263 (describe-method, describe-generic, eieio-describe-method):
2265 (eieio-help-constructor, eieio-help-generic): Rename from
2266 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2267 Rewrite to use `insert' in the current buffer and use proper help
2269 (eieio-help-find-method-definition)
2270 (eieio-help-find-class-definition): Also accept symbols as
2272 (eieio-help-mode-augmentation-maybee): Remove.
2273 (eieio-describe-class-sb): Use `describe-function'.
2274 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2275 Add `eieio-help-generic' and `eieio-help-constructor'.
2277 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2280 * language/china-util.el (hz-ascii-designation):
2281 Rename from hz-ascii-designnation.
2282 (hz-ascii-designation): Rename from hz-ascii-designnation.
2285 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2287 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2290 2014-01-08 Bastien Guerry <bzg@gnu.org>
2292 * emacs-lisp/package.el (package-delete):
2293 Correctly delete the package from package-alist.
2295 2014-01-08 Daiki Ueno <ueno@gnu.org>
2297 * emacs-lisp/package.el (url-recreate-url): Declare.
2298 (url-http-target-url): Declare.
2299 (package-handle-response): Include requested URL in the error message.
2300 (package--check-signature): Don't re-signal errors from
2301 package--with-work-buffer. Suggested by Stefan Monnier.
2303 2014-01-07 Bastien Guerry <bzg@gnu.org>
2305 * minibuffer.el (completion--try-word-completion): When both a
2306 hyphen and a space are possible candidates for the character
2307 following a word, display both candidates. (Bug#15980)
2309 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2311 * window.el (balance-windows-2): While rounding don't give a
2312 window more than the remainder. Bug#16351, bug#16383.
2314 2014-01-07 Glenn Morris <rgm@gnu.org>
2316 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2317 (menu-bar-help-menu): Use view-external-packages instead.
2319 2014-01-07 Bastien Guerry <bzg@gnu.org>
2321 * emacs-lisp/package.el (package-delete): Also delete the package
2322 name from `package-alist', not its description only.
2324 2014-01-07 Glenn Morris <rgm@gnu.org>
2326 * help.el (view-external-packages):
2327 * menu-bar.el (menu-bar-help-extra-packages):
2328 Visit efaq.info rather than etc/MORE.STUFF.
2330 2014-01-07 Juri Linkov <juri@jurta.org>
2332 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2333 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2335 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2336 that shadows RET. (Bug#16342)
2338 2014-01-07 Chong Yidong <cyd@gnu.org>
2340 * isearch.el (isearch-yank-char, isearch-yank-word)
2341 (isearch-yank-line): Doc fix.
2343 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2345 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2346 * emacs-lisp/elint.el (elint-find-builtins):
2347 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2348 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2349 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2350 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2351 * apropos.el (apropos-safe-documentation):
2352 * subr.el (symbol-file): Remove redundant fboundp.
2353 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2355 2014-01-06 Bastien Guerry <bzg@gnu.org>
2357 * hl-line.el (global-hl-line-overlay): Make a local variable.
2358 (global-hl-line-overlays): New variable to store all overlays.
2359 (global-hl-line-mode): Don't delete overlays from the current
2360 buffer when `global-hl-line-sticky-flag' is non-nil.
2361 (global-hl-line-highlight): Add new overlays to
2362 `global-hl-line-overlays'.
2363 (global-hl-line-unhighlight-all): New function to delete all
2364 overlays when turning off `global-hl-line-mode'.
2365 This fixes Bug#16183.
2367 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * subr.el (set-transient-map): Fix nested case and docstring.
2371 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2373 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2376 2014-01-06 Daniel Colascione <dancol@dancol.org>
2378 Fix defun navigation in vc log view.
2380 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2381 like `beginning-of-defun'.
2382 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2383 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2384 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2385 (log-view-extract-comment): Call `log-view-current-entry' directly
2386 instead of relying on broken `log-view-beginning-of-defun' behavior.
2388 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2391 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2392 * emacs-lisp/debug.el (cancel-debug-on-entry):
2393 * epg.el (epg-error-to-string):
2394 * files.el (recover-file):
2395 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2396 * mail/emacsbug.el (report-emacs-bug-hook):
2397 * mail/sendmail.el (mail-recover):
2398 * ses.el (ses-yank-resize):
2399 * term/ns-win.el (ns-print-buffer):
2400 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2401 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2403 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2405 2014-01-06 Leo Liu <sdl.web@gmail.com>
2407 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2408 to avoid shadowing global key. (Bug#16354)
2410 2014-01-06 Daniel Colascione <dancol@dancol.org>
2412 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2415 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2417 * window.el (balance-windows): Add mising t to fix Bug#16351.
2419 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2421 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2423 (shr-insert): If we have a word that's longer than `shr-width',
2424 break after it anyway. Otherwise we'll do no breaking once we get
2427 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2429 * net/eww.el (eww): Support single/double quote for search.
2430 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2431 (eww-history-quit): Delete and use quit-window.
2432 (eww-history-kill): Delete, because it doesn't work well and
2434 (eww-history-mode-map): Delete some keys and add easy-menu.
2436 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2438 Fix misspelling of 'chinese' in rx (Bug#16237).
2439 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2442 Change subword regexps back to vars (Bug#16296).
2443 * progmodes/subword.el (subword-forward-regexp)
2444 (subword-backward-regexp): Change these back to variables.
2446 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2449 syntax-begin-function (bug#16247).
2451 2014-01-03 Chong Yidong <cyd@gnu.org>
2453 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2454 (advice--docstring): Delete variable.
2455 (advice--make-1): Leave the docstring empty.
2456 (advice-add): Use function-documentation for advised docstring.
2458 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2459 Ignore function-documentation property when getting documentation.
2460 (ad-activate-advised-definition): Use function-documentation
2461 generate the docstring.
2462 (ad-make-advised-definition): Don't call
2463 ad-make-advised-definition-docstring.
2464 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2467 * progmodes/sql.el (sql-help): Use function-documentation instead
2468 of dynamic-docstring-function property. No need to autoload now.
2469 (sql--help-docstring): New variable.
2470 (sql--make-help-docstring): Use it.
2472 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2474 * ielm.el (ielm-tab): Retarget.
2475 (ielm-map): Use ielm-tab for tab.
2476 (ielm-complete-filename): Use comint-filename-completion.
2477 (ielm-complete-symbol): Remove.
2478 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2479 remove ielm-tab from completion-at-point-functions (bug#16224).
2481 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2482 Beware signals raised by predicates (bug#16201).
2484 2014-01-02 Richard Stallman <rms@gnu.org>
2486 * dired-aux.el (dired-do-print): Handle printer-name.
2488 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2489 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2490 (rmail-epa-decrypt): Turn off mime processing.
2492 * mail/rmail.el (rmail-make-in-reply-to-field):
2493 Add parens in message-id.
2495 * mail/rmail.el (rmail-get-coding-function): Variable.
2496 (rmail-get-coding-system): Use it.
2498 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2500 * international/mule-conf.el: Unify the charset indian-is13194.
2501 (indian-is13194): Specify unify-map.
2503 2013-12-31 Leo Liu <sdl.web@gmail.com>
2505 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2507 2013-12-30 Daniel Colascione <dancol@dancol.org>
2509 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2510 of printing a useless when we resume from sleep.
2512 * progmodes/sh-script.el
2513 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2514 in indentation code. (Bug#16233)
2516 2013-12-28 João Távora <joaotavora@gmail.com>
2518 * elec-pair.el (electric-pair-post-self-insert-function):
2519 Don't open extra newlines at beginning of buffer. (Bug#16272)
2521 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2523 * frame.el (window-system-for-display): Don't allow to create a
2524 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2526 2013-12-28 Glenn Morris <rgm@gnu.org>
2528 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2531 * apropos.el (apropos-match-face):
2532 * calculator.el (calculator-displayer):
2533 * dabbrev.el (dabbrev-search-these-buffers-only):
2534 * face-remap.el (buffer-face-mode-face):
2535 * simple.el (yank-handled-properties):
2536 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2537 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2538 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2539 (hashcash-double-spend-database):
2540 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2541 (ruby-deep-indent-paren-style):
2542 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2543 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2544 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2545 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2546 Specify custom types.
2548 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2549 * bookmark.el (bookmark-bmenu-use-header-line):
2550 * doc-view.el (doc-view-scale-internally):
2551 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2552 * register.el (register-preview-delay):
2553 * net/shr.el (shr-bullet):
2554 * progmodes/cfengine.el (cfengine-cf-promises)
2555 (cfengine-parameters-indent):
2556 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2557 * textmodes/reftex-vars.el (reftex-label-regexps):
2558 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2560 * net/tls.el (tls-certtool-program): Fix default value.
2562 * desktop.el (desktop-restore-in-current-display):
2563 * newcomment.el (comment-empty-lines):
2564 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2565 (idlwave-pad-keyword):
2566 * progmodes/tcl.el (tcl-tab-always-indent):
2567 * textmodes/reftex-vars.el (reftex-index-default-tag):
2568 * elec-pair.el (electric-pair-skip-whitespace):
2569 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2571 * emacs-lisp/authors.el (authors-ignored-files)
2572 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2574 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2576 * shell.el (shell-dynamic-complete-command): Doc fix.
2577 (shell--command-completion-data): Shell completion now matches
2578 executable filenames from the current buffer's directory, on
2579 systems in which this behavior is the default (windows-nt, ms-dos).
2581 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2583 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2585 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2590 * electric.el: Move all electric-pair-* to elec-pair.el.
2591 * elec-pair.el: New file, split from electric.el.
2593 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2595 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2596 indentation level is larger than the width, because that will
2598 (shr-insert): Fill repeatedly long texts, so that Japanese is
2599 formatted correctly (bug#16263).
2600 (shr-find-fill-point): Off by one error in comparison with the
2603 2013-12-26 João Távora <joaotavora@gmail.com>
2605 * electric.el (electric-pair-mode): More flexible engine for skip-
2606 and inhibit predicates, new options for pairing-related functionality.
2607 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2608 if that keeps or improves their balance in buffers.
2609 (electric-pair-delete-adjacent-pairs): Delete the pair when
2610 backspacing over adjacent matched delimiters.
2611 (electric-pair-open-extra-newline): Open extra newline when
2612 inserting newlines between adjacent matched delimiters.
2613 (electric--sort-post-self-insertion-hook):
2614 Sort post-self-insert-hook according to priority values when
2615 minor-modes are activated.
2616 * simple.el (newline-and-indent): Call newline with interactive
2618 (blink-paren-post-self-insert-function): Set priority to 100.
2619 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2620 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2621 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2622 electric-pair-open-newline-between-pairs to nil.
2624 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2626 * progmodes/python.el: Use lexical-binding.
2627 (python-nav-beginning-of-defun): Stop searching ASAP.
2629 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2631 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2632 Fix interactive spec. Doc fix. (Bug#15754)
2634 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2636 * emacs-lisp/byte-run.el (eval-when-compile):
2637 * progmodes/cc-defs.el (cc-eval-when-compile):
2638 Fix edebug spec (bug#16184).
2640 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2642 * net/shr.el (shr-visit-file): Remove debugging function.
2643 (shr-insert): Don't infloop if we can't find a good place to break
2644 the line (bug#16256).
2646 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2648 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2649 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2650 python-nav-lisp-forward-sexp-safe.
2651 (python-nav--forward-sexp): New argument SAFE allows switching
2652 forward sexp movement behavior for parens.
2653 (python-nav-forward-sexp): Throw errors on unterminated parens
2655 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2656 (python-nav-backward-sexp-safe): New functions.
2657 (python-shell-buffer-substring):
2658 Use `python-nav-forward-sexp-safe'.
2660 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2662 * net/shr.el (shr-find-fill-point): Don't break lines before a
2664 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2665 (shr-find-fill-point): Remove the special checks for the quotation
2666 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2668 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2670 * net/eww.el (eww-form-textarea): Use a different face for
2671 textareas than text input since they have different keymaps
2674 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2676 * progmodes/python.el (python-nav-beginning-of-statement):
2677 Speed up (Bug#15295).
2679 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2681 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2682 the window configuration.
2684 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2686 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2687 we run on MS-Windows or MS-DOS.
2689 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2691 * window.el (balance-windows-area): Call window-size instead of
2692 window-height and window-width. Bug#16241.
2694 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2696 * net/eww.el (eww-bookmark-quit): Remove.
2697 (eww-bookmark-browse): Restore the window configuration when you
2698 choose a bookmark (bug#16144).
2700 2013-12-24 Daniel Colascione <dancol@dancol.org>
2702 * icomplete.el: Remove redundant :group arguments to `defcustom'
2704 (icomplete-show-matches-on-no-input): New customizable variable.
2705 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2706 we have something to show.
2707 (icomplete-exhibit): Compute completions even if we have no user input.
2709 2013-12-23 Daniel Colascione <dancol@dancol.org>
2711 * icomplete.el: Move `provide' to end of file.
2713 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2715 * net/gnutls.el (gnutls-verify-error): Add version tag.
2717 2013-12-23 Chong Yidong <cyd@gnu.org>
2719 * subr.el (set-transient-map): Rename from
2720 set-temporary-overlay-map. Doc fix.
2722 * face-remap.el (text-scale-adjust):
2723 * indent.el (indent-rigidly):
2724 * kmacro.el (kmacro-call-macro):
2725 * minibuffer.el (minibuffer-force-complete):
2726 * repeat.el (repeat):
2727 * simple.el (universal-argument--mode):
2728 * calendar/todo-mode.el (todo-insert-item--next-param):
2729 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2731 * indent.el (indent-rigidly): Use substitute-command-keys.
2733 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2735 * net/eww.el (eww-tag-select): Add text-property to jump to next
2737 (eww): Add non-supported ftp error.
2739 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2741 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2742 comments. Handle electric indent after typing `?' and `!'.
2744 2013-12-22 Chong Yidong <cyd@gnu.org>
2746 * faces.el (face-spec-recalc): If the theme specs are not
2747 applicable to a frame, fall back on the defface spec.
2748 This prevents themes from obliterating faces on low-color terminals.
2750 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2752 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2753 after `{'. We need it after block openers, and it doesn't seem
2754 to hurt after hash openers.
2756 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2758 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2759 extracted from `ruby-smie-rules'.
2760 (ruby--electric-indent-chars): New variable.
2761 (ruby--electric-indent-p): New function.
2762 (ruby-mode): Use `electric-indent-functions' instead of
2763 `electric-indent-chars'.
2765 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2767 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2769 (ruby-smie-rules): Indent plus one level after `=>'.
2771 2013-12-21 Richard Stallman <rms@gnu.org>
2773 * simple.el (newline): Doc fix.
2775 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2777 * net/eww.el (eww-list-histories, eww-list-histories)
2778 (eww-history-browse, eww-history-quit, eww-history-kill)
2779 (eww-history-mode-map, eww-history-mode): New command and
2780 functions to list browser histories.
2781 (eww-form-text): Support text form with disabled
2782 and readonly attributes.
2783 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2785 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2787 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2788 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2789 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2790 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2792 (eww-bookmark-mode-map): Add menu.
2793 (eww-render, eww-mode): Use `setq-local'.
2794 (eww-tool-bar-map): New variable.
2795 (eww-mode): Set `tool-bar-map'.
2796 (eww-view-source): Check for `html-mode' with `fboundp'.
2798 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2800 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2801 elements with text inside. Also remove debugging.
2803 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2805 * cus-start.el (all): Add ns-use-srgb-colorspace.
2807 2013-12-21 Chong Yidong <cyd@gnu.org>
2809 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2810 undefined. Thus, theme settings for undefined faces do not take
2811 effect until the faces are defined with defface, the same as with
2814 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2815 (face-spec-reset-face): Don't assign extra properties in temacs.
2816 (face-spec-recalc): Apply X resources too.
2818 2013-12-21 Chong Yidong <cyd@gnu.org>
2820 * faces.el (face-spec-set):
2821 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2822 * custom.el (defface): Doc fixes (Bug#16203).
2824 * indent.el (indent-rigidly-map): Add docstring, and move commands
2825 into named functions.
2826 (indent-rigidly-left, indent-rigidly-right)
2827 (indent-rigidly-left-to-tab-stop)
2828 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2829 indentation direction based on bidi direction, and accumulate
2830 sequential commands in a single undo boundary.
2831 (indent-rigidly--pop-undo): New utility function.
2833 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2835 * faces.el (read-face-name): Require crm.el when using crm-separator.
2837 2013-12-20 Daniel Colascione <dancol@dancol.org>
2839 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2840 so that we don't reflow comments into the shebang line.
2842 2013-12-20 Juri Linkov <juri@jurta.org>
2844 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2845 a position when `dired-directory' is non-nil. Check integer
2846 positions with `integerp'.
2847 (toggle-save-place, save-places-to-alist): Add check for
2849 (save-place-find-file-hook): Check integer positions with
2851 (save-place-dired-hook): Use `dired-goto-file' when
2852 `dired-filename' is found in the assoc list. Check integer
2853 positions with `integerp'.
2854 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2856 * dired.el (dired-initial-position-hook): Rename back from
2857 `dired-initial-point-hook'.
2858 (dired-initial-position): Rename `dired-initial-point-hook' to
2859 `dired-initial-position-hook'.
2860 (dired-file-name-at-point): Doc fix. (Bug#15329)
2862 2013-12-20 Juri Linkov <juri@jurta.org>
2864 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2865 (read-regexp-suggestions): New function.
2866 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2867 Use `read-regexp-suggestions'. Add non-empty default to history
2869 (occur-read-regexp-defaults-function): Remove function.
2870 (occur-read-primary-args): Use `regexp-history-last' instead of
2871 `occur-read-regexp-defaults-function'.
2873 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2874 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2875 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2876 `hi-lock-read-regexp-defaults-function'. Doc fix.
2877 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2878 with `find-tag-default-as-symbol-regexp'. Doc fix.
2879 (hi-lock-read-regexp-defaults): Remove function.
2880 (hi-lock-regexp-okay): Add check for null.
2882 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2883 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2885 * subr.el (find-tag-default-as-symbol-regexp): New function.
2886 (find-tag-default-as-regexp): Move symbol regexp formatting to
2887 `find-tag-default-as-symbol-regexp'.
2889 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2891 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2894 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2896 * calendar/todo-mode.el: New implementation of item insertion
2897 commands and key bindings.
2898 (todo-key-prompt): New face.
2899 (todo-insert-item): New command.
2900 (todo-insert-item--parameters): New defconst, replacing defvar
2901 todo-insertion-commands-args-genlist.
2902 (todo-insert-item--param-key-alist): New defconst, replacing
2903 defvar todo-insertion-commands-arg-key-list.
2904 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2905 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2906 (todo-insert-item--next-param): New functions.
2907 (todo-insert-item--args, todo-insert-item--argleft)
2908 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2910 (todo-key-bindings-t): Change binding of "i" from
2911 todo-insertion-map to todo-insert-item.
2912 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2913 (todo-insertion-command-name, todo-insertion-commands-names)
2914 (todo-define-insertion-command, todo-insertion-commands)
2915 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2917 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2919 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2920 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2922 (todo-move-category): Allow choosing a non-existing todo file to
2923 move the category to, and create that file.
2924 (todo-default-priority): New user option.
2925 (todo-set-item-priority): Use it.
2926 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2927 (desktop-restore-file-buffer): Declare.
2928 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2929 (todo-modes-set-2): Locally set desktop-save-buffer to
2930 todo-desktop-save-buffer.
2931 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2932 (auto-mode-alist): Add autoload cookie.
2934 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2936 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2937 helpers.el was a poor choice of name.
2938 (string-remove-prefix): New function.
2939 (string-remove-suffix): New function.
2941 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2943 Fix assignment for new window total sizes.
2944 * window.el (window--pixel-to-size): Remove function.
2945 (window--pixel-to-total-1, window--pixel-to-total):
2946 Fix calculation of new total sizes.
2948 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2950 * comint.el (comint-output-filter): Fix rear-nonsticky property
2951 placement (Bug#16010).
2953 2013-12-20 Chong Yidong <cyd@gnu.org>
2955 * faces.el (read-color): Minor fix for completion function.
2957 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2959 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2960 New option. (Bug#16182)
2961 (ruby-smie--indent-to-stmt-p): Use it.
2962 (ruby-smie-rules): Revert the logic in the handling of `when'.
2963 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2964 (ruby-deep-arglist, ruby-deep-indent-paren)
2965 (ruby-deep-indent-paren-style): Update docstrings to note that the
2966 vars don't have any effect with SMIE.
2968 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2970 * calc/calc.el (calc-enter, calc-pop): Use the variable
2971 `calc-context-sensitive-enter'.
2973 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2975 * net/shr.el (shr-insert): Protect against infloops in degenerate
2978 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2980 * progmodes/octave.el (octave): Add link to manual and octave
2982 (octave-mode-menu): Link to octave-mode manual.
2984 2013-12-20 Leo Liu <sdl.web@gmail.com>
2986 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2987 insertion using skeleton-end-newline. (Bug#16138)
2989 2013-12-20 Juri Linkov <juri@jurta.org>
2991 * replace.el (occur-engine): Use `add-face-text-property'
2992 to add the face property to matches and titles. (Bug#14645)
2994 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2995 the palette of other hi-lock colors.
2996 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2998 2013-12-19 Juri Linkov <juri@jurta.org>
3000 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3001 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3002 (minibuffer-history-symbol): Move variable declaration closer to
3005 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3008 2013-12-19 Juri Linkov <juri@jurta.org>
3010 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3012 (log-edit-hook): Add it to :options. (Bug#16170)
3014 2013-12-19 Juri Linkov <juri@jurta.org>
3016 * simple.el (eval-expression-print-format): Don't check for
3017 command names and the last command. Always display additional
3018 formats of the integer result in the echo area, and insert them
3019 to the current buffer only with a zero prefix arg.
3020 Display character when char-displayable-p is non-nil.
3021 (eval-expression): With a zero prefix arg, set `print-length' and
3022 `print-level' to nil, and insert the integer values from
3023 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3025 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3026 `eval-last-sexp-arg-internal'. Doc fix.
3027 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3028 `eval-last-sexp-print-value'. Doc fix.
3029 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3030 Set `print-length' and `print-level' to nil when arg is zero.
3031 (eval-last-sexp): Doc fix.
3032 (eval-defun-2): Print the integer values from
3033 `eval-expression-print-format' at the end.
3035 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3036 values from `eval-expression-print-format' at the end.
3038 * ielm.el (ielm-eval-input): Print the integer
3039 values from `eval-expression-print-format' at the end.
3041 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3043 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3044 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3046 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3048 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3049 (hl-line-highlight, global-hl-line-highlight): Use it.
3050 (hl-line-overlay): Use defvar-local.
3052 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3054 * term/ns-win.el: Require dnd.
3055 (global-map): Remove drag items.
3056 (ns-insert-text, ns-set-foreground-at-mouse)
3057 (ns-set-background-at-mouse):
3058 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3059 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3062 2013-12-19 Glenn Morris <rgm@gnu.org>
3064 * emacs-lisp/ert.el (ert-select-tests):
3065 Fix string/symbol mixup. (Bug#16121)
3067 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3069 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3070 keywords to their parent.
3072 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3074 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3075 first arg to be a string (fixed dead code), or an operator symbol.
3076 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3078 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3079 did nothing. Don't respond to `(:after ".")', it will be called
3080 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3081 change anything. Only return indentation for binary operators
3082 when they are hanging. De-dent opening paren when its parent is
3083 `.', otherwise it looks bad when the dot is not at bol or eol
3086 2013-12-19 Juri Linkov <juri@jurta.org>
3088 * replace.el (query-replace-read-args): Split a non-negative arg
3089 and a negative arg into separate elements.
3090 (query-replace, query-replace-regexp, replace-string)
3091 (replace-regexp): Add arg `backward'. Doc fix.
3092 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3093 move point to the beginning of the match.
3094 (replace-search, replace-highlight): Use new arg `backward'
3095 to set the value of `isearch-forward'.
3096 (perform-replace): Add arg `backward' and use it to perform
3097 replacement backward. (Bug#14979)
3099 * isearch.el (isearch-query-replace): Use a negative prefix arg
3100 to call `perform-replace' with a non-nil arg `backward'.
3102 2013-12-18 Juri Linkov <juri@jurta.org>
3104 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3105 to the default list. Move `log-edit-show-files' to the end.
3106 Add more available functions to options.
3107 (log-edit): Move default specific settings to
3108 `log-edit-insert-message-template'. Don't move point.
3109 (log-edit-insert-message-template): New function.
3110 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3113 2013-12-18 Juri Linkov <juri@jurta.org>
3115 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3116 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3118 2013-12-18 Leo Liu <sdl.web@gmail.com>
3120 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3123 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3125 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3126 formats for displaying file sizes when the -s switch is given.
3127 Instead, compute a separate format for displaying the size in
3128 blocks, which is displayed in addition to the "regular" size.
3129 When -h is given in addition to -s, produce size in blocks in
3130 human-readable form as well. (Bug#16179)
3132 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3134 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3135 Reference tables with ~\ref{...} instead of only \ref{...}.
3137 2013-12-18 Chong Yidong <cyd@gnu.org>
3139 * cus-edit.el (custom-magic-alist): Fix "themed" description
3142 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3143 is non-nil, do not create a new entry in the symbol's theme-value
3144 or theme-face property; update theme-settings only (Bug#14664).
3145 (custom-available-themes): Doc fix.
3147 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3150 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3152 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3154 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3157 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3159 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3161 2013-12-18 Glenn Morris <rgm@gnu.org>
3163 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3164 * cus-start.el (load-prefer-newer): New option.
3166 2013-12-18 Le Wang <l26wang@gmail.com>
3168 * comint.el (comint-previous-matching-input-from-input):
3169 Retain point (Bug#13404).
3171 2013-12-18 Chong Yidong <cyd@gnu.org>
3173 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3175 2013-12-18 Glenn Morris <rgm@gnu.org>
3177 * mail/emacsbug.el (report-emacs-bug):
3178 Only mention enable-multibyte-characters if non-standard.
3180 2013-12-17 Juri Linkov <juri@jurta.org>
3182 * arc-mode.el (archive-extract-by-file): Check if directory exists
3183 before deletion to not show irrelevant errors if it doesn't exist.
3185 2013-12-17 Juri Linkov <juri@jurta.org>
3187 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3190 * net/eww.el (browse-web): Add alias to `eww'.
3191 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3192 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3194 * net/browse-url.el (browse-url-browser-function): Move `eww'
3195 closer to similar functions.
3197 * startup.el (fancy-startup-screen, fancy-about-screen):
3198 Set browse-url-browser-function to eww-browse-url locally.
3201 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3203 * window.el (window--pixel-to-total): Remove unused `mini' var.
3204 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3205 (split-window): Remove unused `new' var.
3206 (window--display-buffer): Remove unused `frame' and `delta' vars.
3207 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3210 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3212 * dired.el (dired-mark-pop-up):
3213 * register.el (register-preview): Don't bind
3214 split-height-threshold here since it's now done in
3215 display-buffer-below-selected.
3217 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3219 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3220 xterm-rgb-convert-to-16bit.
3221 (rxvt-register-default-colors): Standardize with
3222 xterm-register-default-colors (Bug#14078).
3224 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3226 * simple.el (kill-region): Pass mark first, then point, so that
3227 kill-append works right (Bug#12819).
3228 (copy-region-as-kill, kill-ring-save): Likewise.
3230 2013-12-17 Leo Liu <sdl.web@gmail.com>
3232 * net/rcirc.el (rcirc-add-face):
3233 * eshell/em-prompt.el (eshell-emit-prompt):
3234 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3237 2013-12-17 Chong Yidong <cyd@gnu.org>
3239 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3240 Suggested by Xue Fuqiao.
3242 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3244 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3246 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3248 * net/shr.el (shr-insert-document): Remove unused var
3249 `shr-preliminary-table-render'.
3250 (shr-rescale-image): Remove unused arg `force'.
3251 (shr-put-image): Update calls accordingly.
3252 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3254 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3256 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3257 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3258 :close-all, to see which indentation method to use (Bug#16116).
3259 (smie-rules-function): Document the method :close-all.
3261 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3263 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3265 * net/eww.el (eww-display-html): If we can't find the anchor we're
3266 looking for, then go to point-min.
3268 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3270 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3271 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3272 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3273 Expand dir too, in case it's relative.
3275 2013-12-16 Juri Linkov <juri@jurta.org>
3277 * desktop.el (desktop-auto-save-timeout): Change default to
3278 `auto-save-timeout'. Doc fix.
3279 (desktop-save): Skip the timestamp in desktop-saved-frameset
3280 when checking for auto-save changes.
3281 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3282 `desktop-auto-save' is called repeatedly by the idle timer.
3283 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3284 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3287 2013-12-16 Juri Linkov <juri@jurta.org>
3289 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3291 (isearch-pre-command-hook): Check `this-command' for symbolp.
3293 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3295 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3297 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3299 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3300 (cfengine3--current-function): Bring in the current-function
3301 functionality from `cfengine3--current-word'.
3302 (cfengine3-completion-function): Bring in the
3303 bounds-of-current-word functionality from
3304 `cfengine3--current-word'.
3306 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3308 * window.el (display-buffer-below-selected):
3309 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3311 2013-12-16 Leo Liu <sdl.web@gmail.com>
3313 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3314 Remove NOMSG arg and all uses changed.
3316 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3319 (cua--deactivate-rectangle): Don't deactivate the mark.
3320 (cua-set-rectangle-mark): Don't set mark-active since
3321 cua--activate-rectangle already does it for us.
3322 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3323 non-rectangular region.
3325 * emulation/cua-base.el (cua-repeat-replace-region):
3326 Use with-current-buffer.
3328 * net/gnutls.el: Use cl-lib.
3329 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3331 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3333 * emacs-lisp/package.el (package-built-in-p): Support both
3334 built-in and the package.el converted package descriptions.
3335 (package-show-package-list): Allow keywords.
3336 (package-keyword-button-action): Use it instead of
3337 `finder-list-matches'.
3338 (package-menu-filter-interactive): Interactive filtering (by
3340 (package-menu--generate): Support keywords and change keymappings
3341 and headers when they are given.
3342 (package--has-keyword-p): Helper function.
3343 (package-menu--refresh): Use it.
3344 (package--mapc): Helper function.
3345 (package-all-keywords): Use it.
3346 (package-menu-mode-map): Set up menu items and keybindings to
3347 provide a filtering UI.
3349 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3351 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3352 the behavior when a certificate fails validation. Defaults to
3353 old behavior: never abort, just warn.
3354 (gnutls-negotiate): Use it.
3356 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3358 * window.el (display-buffer-below-selected): Never split window
3359 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3361 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3363 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3364 (package-buffer-info): Use it (bug#15108).
3366 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * icomplete.el (icomplete-completions): Make sure the prefix is already
3369 displayed elsewhere before hiding it (bug#16219).
3371 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3373 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3374 open-paren tokens when preceded by a open-paren, too.
3375 (ruby-smie-rules): Handle virtual indentation after open-paren
3376 tokens specially. If there is code between it and eol, return the
3377 column where is starts (Bug#16118).
3379 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3381 * progmodes/cfengine.el: Fix `add-hook' doc.
3382 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3383 (cfengine3--current-word): Fix parameters.
3384 (cfengine3-make-syntax-cache): Simplify further.
3385 (cfengine3-completion-function, cfengine3--current-function):
3386 Use `assq' for symbols.
3387 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3389 2013-12-13 Glenn Morris <rgm@gnu.org>
3391 * loadup.el (load-path): Warn if site-load or site-init changes it.
3392 No more need to reset it when bootstrapping.
3394 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3396 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3397 locations for cf-promises.
3398 (cfengine-mode-syntax-functions-regex): New caching variable.
3399 (cfengine3-fallback-syntax): Fallback syntax for cases where
3400 cf-promises doesn't run.
3401 (cfengine3--current-word): Reimplement using
3402 `cfengine-mode-syntax-functions-regex'.
3403 (cfengine3-completion-function, cfengine3--current-function):
3404 Use `cfengine3-make-syntax-cache' directly.
3405 (cfengine3-clear-syntax-cache): New function.
3406 (cfengine3-make-syntax-cache): Simplify and create
3407 `cfengine-mode-syntax-functions-regex' on demand.
3408 (cfengine3-format-function-docstring): Don't call
3409 `cfengine3-make-syntax-cache' explicitly.
3411 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3413 Fix windmove-find-other-window broken after pixelwise resizing
3415 * windmove.el (windmove-other-window-loc): Revert change from
3417 (windmove-find-other-window): Call window-in-direction.
3418 * window.el (window-in-direction): New arguments SIGN, WRAP and
3419 MINI to emulate original windmove-find-other-window behavior.
3421 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3423 * simple.el (blink-matching--overlay): New variable.
3424 (blink-matching-open): Instead of moving point, highlight the
3425 matching paren with an overlay
3426 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3428 * faces.el (paren-showing-faces, show-paren-match)
3429 (show-paren-mismatch): Move from paren.el.
3431 2013-12-13 Leo Liu <sdl.web@gmail.com>
3433 * indent.el (indent-region): Disable progress reporter in
3434 minibuffer. (Bug#16108)
3436 * bindings.el (visual-order-cursor-movement): Fix version.
3438 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3440 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3441 Also match after beginning of line.
3442 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3443 files. Thanks to Russell Sim. (Bug#15378)
3445 2013-12-13 Juri Linkov <juri@jurta.org>
3447 * simple.el <Keypad support>: Remove key bindings duplicated
3448 with bindings.el. (Bug#14397)
3450 2013-12-13 Juri Linkov <juri@jurta.org>
3452 * comint.el (comint-mode-map): Replace `delete-char' with
3453 `delete-forward-char'. (Bug#16109)
3455 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3457 * progmodes/python.el (python-indent-calculate-indentation):
3458 Fix de-denters cornercase. (Bug#15731)
3460 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3462 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3463 (advice--make): Pay attention to `depth'.
3464 (advice--make-1): Don't autoload commands eagerly.
3465 * emacs-lisp/elp.el (elp-instrument-function):
3466 * emacs-lisp/trace.el (trace-function-internal):
3467 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3469 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3471 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3473 * term/w32-win.el (w32-handle-dropped-file):
3474 * startup.el (normal-top-level):
3475 * net/browse-url.el (browse-url-file-url):
3476 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3477 decode file names using 'utf-8' rather than
3478 file-name-coding-system.
3480 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3482 * progmodes/python.el (python-indent-context)
3483 (python-indent-calculate-indentation): Fix auto-identation
3484 behavior for comment blocks. (Bug#15916)
3486 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3488 * progmodes/python.el (python-indent-calculate-indentation):
3489 When determining indentation, don't treat "return", "pass", etc., as
3490 operators when they are just string constituents. (Bug#15812)
3492 2013-12-12 Juri Linkov <juri@jurta.org>
3494 * uniquify.el (uniquify-buffer-name-style): Change default to
3495 `post-forward-angle-brackets'.
3497 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3498 `uniquify'. Change default to `post-forward-angle-brackets'.
3500 2013-12-11 Glenn Morris <rgm@gnu.org>
3502 * emacs-lisp/package.el (finder-list-matches):
3503 Autoload rather than falsely declaring.
3505 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3507 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3508 (eww-mode-map): Use them.
3510 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3512 * window.el (display-buffer-in-side-window): Fix doc-string
3515 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3517 * vc/vc-git.el: Silence byte-compiler warnings.
3518 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3519 (log-edit-set-header): Declare.
3521 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3523 * Makefile.in (custom-deps, finder-data): Run output file names
3524 through unmsys--file-name. (Bug#16099)
3526 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3529 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3531 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3532 instead of deleting the selection "by hand" (bug#16098).
3533 Rely on insert-for-yank to yank rectangles.
3534 (cua-highlight-region-shift-only): Mark obsolete.
3535 (cua-mode): Don't enable/disable transient-mark-mode,
3536 shift-select-mode (cua-mode works both with and without them), and
3537 pc-selection-mode (obsolete).
3538 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3539 (cua--deactivate-rectangle): Deactivate it.
3541 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3542 (delete-selection-helper): Make sure yank starts at the top of the
3544 (minibuffer-keyboard-quit): Use region-active-p.
3546 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3548 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3549 to `delete' (bug#16109).
3551 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3553 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3554 info manual and show keybindings and set `:group' keyword.
3556 2013-12-11 Juri Linkov <juri@jurta.org>
3558 * delsel.el (delete-active-region): Let-bind `this-command'
3559 to prevent `kill-region' from changing its original value.
3560 (delete-selection-helper): Handle `overwrite-mode' for the type
3561 `kill' exactly the same way as for the type `t'.
3562 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3563 Support more commands. (Bug#13312)
3565 2013-12-11 Juri Linkov <juri@jurta.org>
3567 * bindings.el: Map kp keys to non-kp keys systematically
3568 with basic modifiers control, meta and shift. (Bug#14397)
3570 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3572 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3573 "Close browser" menu items. Fix wrong function of "List
3576 2013-12-11 Juri Linkov <juri@jurta.org>
3578 * misearch.el (multi-isearch-buffers): Set the value of
3579 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3580 arg of isearch-forward to t.
3581 (multi-isearch-buffers-regexp): Set the value of
3582 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3583 arg of isearch-forward-regexp to t.
3584 (multi-isearch-files): Set the value of
3585 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3586 arg of isearch-forward to t.
3587 (multi-isearch-files-regexp): Set the value of
3588 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3589 arg of isearch-forward-regexp to t. (Bug#16035)
3591 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3592 arg of isearch-forward to t.
3593 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3594 arg of isearch-forward-regexp to t.
3595 (dired-isearch-filter-filenames): Remove unnecessary check for
3596 `dired-isearch-filenames'.
3598 * comint.el (comint-history-isearch-backward):
3599 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3600 (comint-history-isearch-backward-regexp):
3601 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3603 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3605 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3606 unmsys--file-name. (Bug#16099)
3608 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3610 * emacs-lisp/package.el (package-keyword-button-action):
3611 Remove finder.el require dependency.
3613 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3615 * emacs-lisp/package.el: Require finder.el.
3616 (describe-package-1): Add keyword buttons.
3617 (package-make-button): New convenience function.
3618 (package-keyword-button-action): Keyword button action using
3619 `finder-list-matches'.
3621 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3623 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3626 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3628 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3631 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3633 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3634 after the end of a percent literal.
3636 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3638 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3639 Handle caret-delimited strings (Bug#16079).
3641 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3643 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3644 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3645 `ruby-parse-partial' (Bug#16078).
3647 2013-12-09 Leo Liu <sdl.web@gmail.com>
3649 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3651 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3653 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3654 (js-switch-indent-offset): New option.
3655 (js--proper-indentation): Use it. And handle the case when
3656 "default" is actually a key in an object literal.
3657 (js--same-line): New function.
3658 (js--multi-line-declaration-indentation): Use it.
3659 (js--indent-in-array-comp, js--array-comp-indentation):
3661 (js--proper-indentation): Use them, to handle array comprehension
3664 2013-12-08 Leo Liu <sdl.web@gmail.com>
3666 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3667 (flymake-make-overlay): Remove arg MOUSE-FACE.
3668 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3670 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3672 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3674 (redisplay-highlight-region-function): Use it.
3676 * emulation/cua-base.el (cua--explicit-region-start)
3677 (cua--last-region-shifted): Remove.
3678 (cua--deactivate): Use deactivate-mark.
3679 (cua--pre-command-handler-1): Don't handle shift-selection.
3680 (cua--post-command-handler-1): Don't change transient-mark-mode.
3681 (cua--select-keymaps): Use region-active-p rather than
3682 cua--explicit-region-start or cua--last-region-shifted.
3683 (cua-mode): Enable shift-select-mode.
3685 2013-12-08 Leo Liu <sdl.web@gmail.com>
3687 * progmodes/flymake.el (flymake-popup-current-error-menu):
3688 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3689 (flymake-posn-at-point-as-event, flymake-popup-menu)
3690 (flymake-make-emacs-menu): Remove. (Bug#16077)
3692 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * rect.el (rectangle-mark-mode): Activate mark even if
3695 transient-mark-mode is off (bug#16066).
3696 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3697 is > mark and at bolp.
3699 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3700 (region-extract-function): Use it.
3701 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3702 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3704 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3705 kill-ring-save, kill-region, delete-char, delete-forward-char.
3706 Ignore self-insert-iso.
3708 * emulation/cua-gmrk.el (cua--init-global-mark):
3709 Ignore `self-insert-iso'.
3711 * emulation/cua-base.el (cua--prefix-copy-handler)
3712 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3713 checking cua--rectangle.
3714 (cua-delete-region): Use region-extract-function.
3715 (cua-replace-region): Delete function.
3716 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3717 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3718 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3719 (cua--init-keymaps): Don't remap delete-selection commands.
3720 (cua-mode): Use delete-selection-mode instead of rolling our own
3723 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3724 Obey region-extract-function.
3726 Make registers and delete-selection-mode work on rectangles.
3727 * register.el (describe-register-1): Don't modify the register's value.
3728 (copy-to-register): Obey region-extract-function.
3729 * delsel.el (delete-active-region): Obey region-extract-function.
3731 2013-12-08 Leo Liu <sdl.web@gmail.com>
3733 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3734 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3735 (flymake-compilation-prevents-syntax-check)
3736 (flymake-start-syntax-check-on-newline)
3737 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3738 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3739 (flymake-xml-program, flymake-master-file-dirs)
3740 (flymake-master-file-count-limit)
3741 (flymake-allowed-file-name-masks): Relocate.
3742 (flymake-makehash, flymake-float-time)
3743 (flymake-replace-regexp-in-string, flymake-split-string)
3744 (flymake-get-temp-dir): Remove.
3745 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3746 (flymake-current-row, flymake-selected-frame)
3747 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3748 related functions. (Bug#16077)
3750 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3752 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3754 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3756 * help-fns.el (describe-function-1): Use new advice-* functions
3757 rather than old ad-* functions. Fix function type description and
3758 source links for advised functions and subrs.
3760 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3762 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3764 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3766 * progmodes/compile.el (compilation-start):
3767 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3769 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3770 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3772 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3774 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3775 Touch up the last change.
3777 2013-12-06 Leo Liu <sdl.web@gmail.com>
3779 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3780 (inferior-octave-startup): Always use "octave> " for prompt.
3781 (octave-goto-function-definition)
3782 (octave-sync-function-file-names)
3783 (octave-find-definition-default-filename): Remove redundant backquotes.
3785 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3787 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3789 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3790 where appropriate already.
3791 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3792 end of method names (Bug#15874).
3794 2013-12-06 Juri Linkov <juri@jurta.org>
3796 * isearch.el (isearch--saved-overriding-local-map):
3797 New internal variable.
3798 (isearch-mode): Set it to the initial value of
3799 `overriding-terminal-local-map'.
3800 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3801 with `isearch--saved-overriding-local-map'. (Bug#16035)
3803 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3805 * progmodes/octave.el (inferior-octave-completion-table):
3806 Turn back into function, use `completion-table-with-cache'
3807 (Bug#11906). Update all references.
3809 * minibuffer.el (completion-table-with-cache): New function.
3811 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3813 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3815 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3817 * net/eww.el (eww-current-source): New variable to store page
3819 (eww-display-html, eww-mode, eww-save-history)
3820 (eww-restore-history): Use it.
3821 (eww-view-source): New command to view page source.
3822 Opportunistically uses `html-mode' to highlight the buffer.
3823 (eww-mode-map): Install it.
3825 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3827 * net/dbus.el (dbus-unregister-service)
3828 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3830 (dbus-unregister-service): Skip :serial entries in
3831 `dbus-registered-objects-table'.
3832 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3834 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3836 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3837 around keywords with extra `split-string' argument.
3839 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3841 * windmove.el (windmove-other-window-loc): Handle navigation
3842 between windows (excluding the minibuffer window - Bug#16017).
3844 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3846 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3847 in D-Bus type syntax.
3848 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3849 preserve unibyte strings. (Bug#16048)
3851 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3853 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3854 Call force-mode-line-update is the proper buffer (bug#16042).
3856 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3858 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3859 `log-edit-remember-comment', make argument optional. Adjust all
3861 (log-edit-mode): Add `log-edit-remember-comment' to
3862 `kill-buffer-hook' locally.
3863 (log-edit-kill-buffer): Don't remember comment explicitly since
3864 the buffer is killed anyway.
3866 2013-12-04 Juri Linkov <juri@jurta.org>
3868 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3869 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3871 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3873 * notifications.el (notifications-close-notification): Call the
3874 D-Bus method with ID being a `:uint32'. (Bug#16030)
3876 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3878 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3880 2013-12-03 Juri Linkov <juri@jurta.org>
3882 * progmodes/compile.el (compilation-start): Rename window alist
3883 entry `no-display-ok' to `allow-no-window'.
3885 * simple.el (shell-command): Add window alist entry
3886 `allow-no-window' to `display-buffer'.
3887 (async-shell-command): Doc fix.
3889 * window.el (display-buffer-no-window): New action function.
3890 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3892 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3894 * vc/log-edit.el (log-edit-set-header): Extract from
3895 `log-edit-toggle-header'.
3896 (log-edit-extract-headers): Separate the summary, when extracted
3897 from header, from the rest of the message with an empty line.
3899 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3900 line, if present, to the Summary header.
3902 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3904 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3905 in current-buffer (bug#16029).
3907 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3909 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3910 (debugger-mode-map): Bind it.
3911 (debugger--backtrace-base): New function.
3912 (debugger-eval-expression): Use it.
3913 (debugger-frame-number): Skip local vars when present.
3914 (debugger--locals-visible-p, debugger--insert-locals)
3915 (debugger--show-locals, debugger--hide-locals): New functions.
3917 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3919 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3921 (tramp-get-remote-locale): New defun.
3922 (tramp-open-connection-setup-interactive-shell): Use it.
3924 2013-12-02 Leo Liu <sdl.web@gmail.com>
3926 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3928 * progmodes/sh-script.el (sh-shell-process):
3929 * progmodes/octave.el (inferior-octave-process-live-p):
3930 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3931 (gdb-inferior-io-sentinel):
3932 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3934 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3936 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3937 `save-selected-window' to `log-edit-hide-buf'. This makes
3938 `log-edit-show-files' idempotent.
3939 (log-edit-show-files): Mark the new window as dedicated.
3941 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3943 * vc/log-edit.el (log-edit-mode-map): Add binding for
3944 `log-edit-kill-biffer'.
3945 (log-edit-hide-buf): Add a FIXME comment.
3946 (log-edit-add-new-comment): New function, extracted from
3948 (log-edit-done, log-edit-add-to-changelog): Use it.
3949 (log-edit-kill-buffer): New command.
3951 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3953 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3954 instead of killing the buffer.
3956 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3960 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3962 * net/eww.el (eww-form-checkbox-selected-symbol)
3963 (eww-form-checkbox-symbol): New customizable variable.
3964 (eww-form-checkbox, eww-toggle-checkbox):
3965 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3967 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3968 (shr--get-media-pref, shr--extract-best-source): New function.
3969 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3970 no :src tag was specified.
3972 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3973 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3974 Use \\` to match beginning of string instead of ^.
3975 (eww-browse-with-external-browser): Provide optional URL parameter.
3976 (eww-render): Set `eww-current-title' back to "".
3978 * net/shr.el (shr-tag-video): Display content for video if no
3979 poster is available.
3980 (shr-tag-audio): Add support for <audio> tag.
3982 * net/eww.el (eww-text-input-types): New const.
3983 (eww-process-text-input): Treat input types in
3984 `eww-text-input-types' as text.
3986 * net/shr.el (shr-tag-table): Fix comment typo.
3988 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3990 * net/eww.el (eww-follow-link): New command to avoid reloading
3991 pages when we follow #target links (bug#15243).
3992 (eww-quit): Special mode buffers shouldn't query before exiting.
3994 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3996 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3999 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4001 * net/eww.el (eww-restore-history): Update the window title after
4002 moving in the history.
4003 (eww-current-dom): New variable used to save the current DOM.
4005 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4007 * vc/log-edit.el (log-edit-mode-map): Add binding for
4008 `log-edit-beginning-of-line'.
4009 (log-edit-setup-add-author): New user option.
4010 (log-edit-beginning-of-line): New command.
4011 (log-edit): Move major mode call above the contents setup so that
4012 the local variable values are already applied.
4013 (log-edit): Only insert "Author: " when
4014 `log-edit-setup-add-author' is non-nil.
4015 (log-edit): When SETUP is non-nil, position point after ": "
4016 instead of point-min.
4018 2013-12-01 Glenn Morris <rgm@gnu.org>
4020 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4022 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4024 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4025 redisplay to make sure the initial frame gets a chance to become
4026 visible. (Bug#16014)
4028 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4030 Support resizing frames and windows pixelwise.
4031 * cus-start.el (frame-resize-pixelwise)
4032 (window-resize-pixelwise): New entries.
4033 * emacs-lisp/debug.el (debug): Use window-total-height instead
4034 of window-total-size.
4035 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4036 * help.el (describe-bindings-internal): Use help-buffer as
4037 argument for with-help-window.
4038 (temp-buffer-max-width): New option.
4039 (resize-temp-buffer-window, help-window-setup)
4040 (with-help-window): Rewrite.
4041 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4043 * window.el (frame-char-size, window-min-pixel-height)
4044 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4045 (window-min-pixel-width, window-safe-min-pixel-size)
4046 (window-combination-p, window-safe-min-size)
4047 (window-resizable-p, window--size-to-pixel)
4048 (window--pixel-to-size, window--resize-apply-p): New functions.
4049 (window-safe-min-height): Fix doc-string.
4050 (window-size, window-min-size, window--min-size-1)
4051 (window-sizable, window-sizable-p, window--min-delta-1)
4052 (window-min-delta, window--max-delta-1, window-max-delta)
4053 (window--resizable, window--resizable-p, window-resizable)
4054 (window-full-height-p, window-full-width-p, window-at-side-p)
4055 (window--in-direction-2, window-in-direction)
4056 (window--resize-reset-1, window--resize-mini-window)
4057 (window-resize, window-resize-no-error)
4058 (window--resize-child-windows-normal)
4059 (window--resize-child-windows, window--resize-siblings)
4060 (window--resize-this-window, window--resize-root-window)
4061 (window--resize-root-window-vertically)
4062 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4063 (maximize-window, minimize-window, delete-window)
4064 (quit-restore-window, window-split-min-size, split-window)
4065 (balance-windows-2, balance-windows)
4066 (balance-windows-area-adjust, balance-windows-area)
4067 (window--state-get-1, window-state-get, window--state-put-1)
4068 (window--state-put-2, window-state-put)
4069 (display-buffer-record-window, window--display-buffer):
4070 Make functions handle pixelwise sizing of windows.
4071 (display-buffer--action-function-custom-type)
4072 (display-buffer-fallback-action):
4073 Add display-buffer-in-previous-window.
4074 (display-buffer-use-some-window): Resize window to height it had
4076 (fit-window-to-buffer-horizontally): New option.
4077 (fit-frame-to-buffer): Describe new values.
4078 (fit-frame-to-buffer-bottom-margin): Replace with
4079 fit-frame-to-buffer-margins.
4080 (window--sanitize-margin): New function.
4081 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4082 using window-text-pixel-size.
4084 2013-11-30 Glenn Morris <rgm@gnu.org>
4086 * emacs-lisp/bytecomp.el (byte-compile-form):
4087 Make the `interactive-only' warning like the `obsolete' one.
4088 * comint.el (comint-run):
4089 * files.el (insert-file-literally, insert-file):
4090 * replace.el (replace-string, replace-regexp):
4091 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4092 (goto-line, insert-buffer, next-line, previous-line):
4093 Tweak `interactive-only' spec.
4095 Stop keeping (most) generated cedet grammar files in the repository.
4096 * Makefile.in (semantic): New.
4097 (compile-main): Depend on semantic.
4099 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4102 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4104 * uniquify.el (uniquify-buffer-name-style): Change default.
4106 * loadup.el: Preload "uniquify".
4108 * time.el (display-time-update): Update all mode lines (bug#15999).
4110 * electric.el (electric-indent-mode): Enable by default.
4111 * loadup.el: Preload "electric".
4113 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4115 * emacs-lisp/helpers.el (string-empty-p): New function.
4116 (string-blank-p): New function.
4118 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4120 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4123 2013-11-29 Andreas Politz <politza@fh-trier.de>
4124 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4125 allow non-lambda lists as functions.
4126 (imenu--in-alist): Don't recurse into non-subalists.
4127 (imenu): Don't pass function itself as an argument (Bug#14029).
4129 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * progmodes/python.el (python-mode-map): Remove binding for ":".
4132 (python-indent-electric-colon): Remove command.
4133 (python-indent-post-self-insert-function): Integrate the previous code
4134 of python-indent-electric-colon. Make it conditional on
4135 electric-indent-mode.
4136 (python-mode): Add ?: to electric-indent-chars.
4137 Move python-indent-post-self-insert-function to the end of
4138 post-self-insert-hook.
4140 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4142 * doc-view.el (doc-view-goto-page): Update mode-line.
4144 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4146 2013-11-27 Glenn Morris <rgm@gnu.org>
4148 * international/charprop.el, international/uni-bidi.el:
4149 * international/uni-category.el, international/uni-combining.el:
4150 * international/uni-comment.el, international/uni-decimal.el:
4151 * international/uni-decomposition.el, international/uni-digit.el:
4152 * international/uni-lowercase.el, international/uni-mirrored.el:
4153 * international/uni-name.el, international/uni-numeric.el:
4154 * international/uni-old-name.el, international/uni-titlecase.el:
4155 * international/uni-uppercase.el:
4156 Remove generated files from VCS repository.
4158 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4160 * filenotify.el (file-notify-add-watch): Don't special-case
4161 w32notify when computing the directory to watch.
4163 2013-11-27 Glenn Morris <rgm@gnu.org>
4165 Make bootstrap without generated uni-*.el files possible again.
4166 * loadup.el: Update command-line-args checking for unidata-gen.
4167 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4168 * composite.el, international/characters.el:
4169 Handle unicode tables being undefined.
4171 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4172 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4173 (compile-main): Depend on leim rule.
4175 * loadup.el: Move leim-list.el to leim/ subdirectory.
4176 * startup.el (normal-top-level): No more leim directory.
4177 * international/ja-dic-cnv.el (skkdic-convert):
4178 Disable version-control and autoloads in output files.
4179 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4180 Disable version-control and autoloads in output files.
4181 * leim/quail: Move here from ../leim.
4182 * leim/quail/hangul.el (hangul-input-method-activate):
4183 Add autoload cookie.
4184 (generated-autoload-load-name): Set file-local value.
4185 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4186 (generated-autoload-load-name): Set file-local value.
4188 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4190 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4191 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4192 (eww-quit): Ask confirmation before quitting eww.
4194 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4196 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4197 reading output from Diff on MS-Windows and MS-DOS.
4199 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4201 * emacs-lisp/helpers.el (string-reverse): New function.
4203 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4205 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4206 names on MS Windows, like "/[::1]:".
4208 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4211 2013-11-26 Glenn Morris <rgm@gnu.org>
4213 * progmodes/python.el (python-indent-guess-indent-offset):
4214 Avoid corner-case error. (Bug#15975)
4216 Preload leim-list.el. (Bug#4789)
4217 * loadup.el: Load leim-list.el when found.
4218 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4220 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4222 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4224 * emacs-lisp/helpers.el (string-join): New function.
4226 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4228 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4229 Mark as obsolete and replace it with a symbol property.
4230 (byte-compile-form): Use new 'interactive-only property.
4231 * comint.el, files.el, replace.el, simple.el:
4232 Apply new 'interactive-only properly.
4234 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4236 * window.el (display-buffer-at-bottom): Make sure that
4237 split-window-sensibly creates the new window on bottom
4240 2013-11-23 David Kastrup <dak@gnu.org>
4242 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4243 on the conflict markers when available.
4244 (smerge--get-marker): New function.
4245 (smerge-end-re, smerge-base-re): Add subgroup.
4247 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4249 * frame.el (handle-focus-in, handle-focus-out): Add missing
4252 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4254 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4255 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4257 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4260 (gomoku--last-pos): New var.
4261 (gomoku--intangible-chars): New const.
4262 (gomoku--intangible): New function.
4263 (gomoku-mode): Use it. Derive from special-mode.
4264 (gomoku-move-up): Adjust line count.
4265 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4266 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4267 Simplify accordingly.
4269 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4270 Remove blink-cursor code.
4271 (blink-cursor-timer-function, blink-cursor-suspend):
4272 Don't special-case GUIs.
4273 (blink-cursor-mode): Use focus-in/out-hook.
4275 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4277 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4278 work when annotation is invisible (Bug#13886).
4280 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4282 * json.el (json-alist-p): Only return non-nil if the alist has
4283 simple keys (Bug#13518).
4285 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4287 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4288 when control-statement is the first statement in a buffer (Bug#15956).
4290 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4292 * imenu.el (imenu-generic-skip-comments-and-strings):
4293 New option (Bug#15560).
4294 (imenu--generic-function): Use it.
4296 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4298 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4301 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4303 * emacs-lisp/helpers.el: Add some string helpers.
4304 (string-trim-left): Removes leading whitespace.
4305 (string-trim-right): Removes trailing whitespace.
4306 (string-trim): Removes leading and trailing whitespace.
4308 * subr.el (string-suffix-p): New function.
4310 2013-11-23 Glenn Morris <rgm@gnu.org>
4312 * progmodes/python.el (python-shell-send-file):
4313 Add option to delete file when done. (Bug#15647)
4314 (python-shell-send-string, python-shell-send-region): Use it.
4316 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4318 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4319 to set buffer-read-only to t, never to nil. (Bug#15938)
4321 * textmodes/tex-mode.el (latex-noindent-environments):
4322 Add safe-local-variable property. (Bug#15936)
4324 2013-11-23 Glenn Morris <rgm@gnu.org>
4326 * textmodes/enriched.el (enriched-mode): Doc fix.
4327 * emacs-lisp/authors.el (authors-renamed-files-alist):
4328 Add enriched.doc -> enriched.txt.
4330 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4332 2013-11-22 Leo Liu <sdl.web@gmail.com>
4334 * progmodes/octave.el (inferior-octave-startup): Spit out error
4337 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4339 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4342 (ruby-encoding-magic-comment-style): Add :version.
4344 2013-11-22 Leo Liu <sdl.web@gmail.com>
4346 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4348 (octave-help-mode): Adapt to change to help-mode-finish to use
4349 derived-mode-p on 2013-09-17.
4350 (inferior-octave-prompt): Also match octave-gui.
4351 (octave-kill-process): Don't ask twice. (Bug#10564)
4353 2013-11-22 Leo Liu <sdl.web@gmail.com>
4355 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4356 (inferior-octave-startup, inferior-octave-check-process)
4357 (inferior-octave-track-window-width-change)
4358 (octave-completion-at-point, octave-eldoc-function): Use it.
4359 (octave-kill-process): Provide confirmation. (Bug#10564)
4361 2013-11-21 Leo Liu <sdl.web@gmail.com>
4363 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4364 Fix obsolete variable comment-use-global-state.
4366 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4368 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4369 Add `octave-source-file'.
4370 (octave-source-file): New function. (Bug#15935)
4372 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4374 * net/eww.el (eww-local-regex): New variable.
4375 (eww): Use it to detect localhost and similar.
4377 2013-11-21 Leo Liu <sdl.web@gmail.com>
4379 Add completion for command `ag'.
4380 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4381 (pcomplete/ag): New function.
4382 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4384 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4386 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4388 (make-obsolete): Remove interactive spec.
4390 2013-11-21 Glenn Morris <rgm@gnu.org>
4392 * startup.el (command-line-1): Use path-separator with -L.
4394 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4396 * emacs-lisp/package.el (describe-package-1): Add package archive
4399 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4401 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4402 Change default to "# encoding: %s" to differentiate it from the
4403 default Ruby encoding comment template.
4405 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4407 * ses.el (ses-mode): Doc fix. (Bug#14748)
4409 2013-11-20 Leo Liu <sdl.web@gmail.com>
4411 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4413 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4415 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4416 when rebase or bisect are in progress.
4418 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4420 * filenotify.el (file-notify-add-watch): Doc fix.
4422 2013-11-19 Leo Liu <sdl.web@gmail.com>
4424 * obsolete/rcompile.el: Mark obsolete.
4426 * progmodes/compile.el (compilation-start)
4427 (compilation-goto-locus, compilation-find-file):
4428 Pass no-display-ok and handle nil value from display-buffer.
4431 * window.el (display-buffer-alist, display-buffer): Document the
4432 new parameter no-display-ok. Return either a window or nil
4433 but never a non-window value.
4435 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4437 * electric.el (electric-indent-mode-map): Remove.
4438 (electric-indent-mode): Change the global-map instead (bug#15915).
4440 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4443 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4445 * emacs-lisp/nadvice.el (remove-function): Align with
4446 add-function's behavior.
4448 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4449 (gdb--string-regexp): New constant.
4450 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4451 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4452 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4454 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4455 Adjust use accordingly.
4456 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4458 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4460 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4461 interpolation curlies (Bug#15914).
4463 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4465 * calc/calc.el (calc-context-sensitive-enter): New variable.
4466 (calc-enter): Use `calc-context-sensitive-enter'.
4468 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4470 * progmodes/cfengine.el: Version bump.
4471 (cfengine-cf-promises): New defcustom to locate cf-promises.
4472 (cfengine3-vartypes): Add new "data" type.
4473 (cfengine3--current-word): New function to get current name-like
4475 (cfengine3--current-function): New function to look up a CFEngine
4476 function's definition.
4477 (cfengine3-format-function-docstring): New function.
4478 (cfengine3-make-syntax-cache): New function.
4479 (cfengine3-documentation-function): New function: ElDoc glue.
4480 (cfengine3-completion-function): New function: completion glue.
4481 (cfengine3-mode): Set `compile-command',
4482 `eldoc-documentation-function', and add to
4483 `completion-at-point-functions'.
4485 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4487 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4488 `tramp-current-connection'.
4490 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4492 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4493 nil/self/true/false with "end of symbol".
4495 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4497 * subr.el (version-regexp-alist): Fix a typo.
4499 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4501 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4502 "en_US.utf8" and "LC_CTYPE" to "".
4503 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4504 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4506 2013-11-15 Leo Liu <sdl.web@gmail.com>
4508 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4510 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * progmodes/gud.el (ctl-x-map):
4513 Remove C-x SPC binding. (Bug#12342)
4514 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4516 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4518 * subr.el (version-regexp-alist):
4519 Recognize hg, svn and darcs versions as snapshot versions.
4521 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4522 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4523 (ruby--encoding-comment-required-p): Extract from
4524 `ruby-mode-set-encoding'.
4525 (ruby-mode-set-encoding): Add the ability to always insert an
4526 utf-8 encoding comment. Fix and simplify coding comment update
4529 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4531 * net/tramp-gvfs.el (top): Run init code only when
4532 `tramp-gvfs-enabled' is not nil.
4533 (tramp-gvfs-enabled): Check also :system bus.
4535 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4537 Sync with upstream verilog-mode revision 78e66ba.
4538 * progmodes/verilog-mode.el (verilog-end-of-defun)
4539 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4540 (verilog-get-end-of-defun): Remove unused argument.
4541 (verilog-comment-depth): Remove unused local `e'.
4542 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4543 Don't pass arg to verilog-get-end-of-defun.
4545 2013-11-14 Glenn Morris <rgm@gnu.org>
4547 * obsolete/assoc.el (aget): Prefix dynamic variable.
4549 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4551 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4553 * widget.el, hfy-cmap.el: Remove bogus package version number.
4555 2013-11-13 Glenn Morris <rgm@gnu.org>
4557 * replace.el (replace-eval-replacement):
4558 Try to give more helpful error message. (Bug#15836)
4560 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4561 (archive-7z-update): Avoid custom type mismatches.
4563 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4565 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4567 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4568 address can be empty.
4570 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4571 Accept nil SWITCHES.
4572 (tramp-gvfs-handle-write-region): Implement APPEND.
4574 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4576 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4577 binary "|" operator and closing block args delimiter.
4578 Remove FIXME comment referring to Ruby 1.8-only syntax.
4579 (ruby-smie--implicit-semi-p): Not after "|" operator.
4580 (ruby-smie--closing-pipe-p): New function.
4581 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4582 (ruby-smie-rules): Indent after "|".
4584 2013-11-12 Glenn Morris <rgm@gnu.org>
4586 * ps-print.el (ps-face-attribute-list):
4587 Handle anonymous faces. (Bug#15827)
4589 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4591 * window.el (display-buffer-other-frame): Fix doc-string.
4594 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4598 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4600 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4601 (tramp-sh-handle-file-local-copy): Don't write a message when
4602 saving temporary files.
4604 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4605 both directories are remote.
4606 (tramp-smb-handle-directory-files): Do not return double entries.
4607 Do not expand full file names.
4608 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4609 (tramp-smb-handle-write-region): Implement APPEND.
4610 (tramp-smb-get-stat-capability): Fix a stupid bug.
4612 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4616 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4618 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4619 throwing error over malformed let/let* (bug#15814).
4621 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4623 * iswitchb.el (iswitchb-mode): Mark obsolete.
4625 2013-11-11 Glenn Morris <rgm@gnu.org>
4627 * international/uni-bidi.el, international/uni-category.el:
4628 * international/uni-name.el, international/uni-numeric.el:
4629 Regenerate for Unicode 6.3.0.
4631 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4633 * net/tramp.el (tramp-methods):
4634 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4635 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4637 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4639 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4640 Force highlighting text after Summary keyword in doc face for rpm.
4642 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4644 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4645 available and the word has no wildcards, append one to the grep pattern.
4646 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4647 (ispell-complete-word): Call `ispell-lookup-words' with the value
4648 independent of `ispell-look-p'.
4650 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4652 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4654 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4657 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4659 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4660 (ruby-font-lock-keywords): Use backquote.
4662 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4664 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4665 (ruby-smie--backward-token): Only consider full-string matches.
4667 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4669 * faces.el (describe-face): Add distant-foreground.
4671 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4673 * progmodes/ruby-mode.el: Improve encoding comment handling.
4674 (ruby-encoding-magic-comment-style): New option.
4675 (ruby-custom-encoding-magic-comment-template): New option.
4676 (ruby--insert-coding-comment, ruby--detect-encoding):
4677 New functions extracted from `ruby-mode-set-encoding'.
4678 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4679 to control the style of the auto-inserted encoding comment.
4681 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4683 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4684 Use `smie-backward-sexp' with token argument.
4686 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4688 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4689 Remove instrumentation code.
4691 2013-11-08 Glenn Morris <rgm@gnu.org>
4693 * progmodes/autoconf.el (autoconf-mode):
4694 Tweak comment-start-skip. (Bug#15822)
4696 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4699 at bobp (bug#15826).
4700 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4702 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4704 * man.el (Man-start-calling): New macro, extracted from
4705 Man-getpage-in-background.
4706 (Man-getpage-in-background): Use it.
4707 (Man-update-manpage): New command.
4708 (Man-mode-map): Bind it.
4710 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4712 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4713 of "and", "or", "&&" and "||".
4714 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4715 argument. Prohibit opening curly brace because it could only be a
4716 block opener in that position.
4717 (ruby-smie--forward-token, ruby-smie--backward-token):
4718 Separate "|" from "&" or "*" going after it. That can happen in block
4720 (ruby-smie--indent-to-stmt): New function, seeks the end of
4721 previous statement or beginning of buffer.
4722 (ruby-smie-rules): Use it.
4723 (ruby-smie-rules): Check if there's a ":" before a curly block
4724 opener candidate; if there is, it's a hash.
4726 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4729 (cl--block-wrapper): Fix last accidental change.
4731 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4733 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4734 Instrument, in order to hunt failure on hydra.
4736 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4738 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4739 malformed bindings form (bug#15814).
4741 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4743 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4744 "." compared to " @ ". This incidentally fixes some indentation
4746 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4747 (ruby-smie-grammar): New tokens: "and" and "or".
4748 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4749 Exclude "and" and "or". Remove "do" in order to work around token
4751 (ruby-smie-rules): Add all infix tokens. Handle the case of
4752 beginning-of-buffer.
4754 2013-11-06 Glenn Morris <rgm@gnu.org>
4756 * Makefile.in (setwins_almost, setwins_for_subdirs):
4757 Avoid accidental matches.
4759 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * menu-bar.el (popup-menu): Use key-binding.
4763 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4765 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4766 menus, support also the menus produced by minor modes.
4769 2013-11-06 Leo Liu <sdl.web@gmail.com>
4771 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4772 DISTANCE to bound the search. All uses changed. (Bug#15808)
4774 2013-11-06 Glenn Morris <rgm@gnu.org>
4776 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4777 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4778 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4780 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * electric.el (electric-indent-just-newline): New command.
4783 (electric-indent-mode-map): New keymap.
4784 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4785 Re-add :group which weren't redundant.
4787 * electric.el (electric-indent-local-mode): New minor mode.
4788 (electric-indent-functions-without-reindent): New var.
4789 (electric-indent-post-self-insert-function): Use it.
4790 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4792 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4794 * international/quail.el (quail-help): Be more explicit about the
4795 meaning of the labels shown on the keys. (Bug#15800)
4797 * startup.el (normal-top-level): Load the subdirs.el files before
4798 setting the locale environment. (Bug#15805)
4800 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4803 via arguments so as to get the right ones (bug#15418).
4805 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4807 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4809 Fix problems found while writing a test suite.
4811 * net/tramp-compat.el (tramp-compat-load): New defun.
4812 * net/tramp.el (tramp-handle-load): Use it.
4814 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4815 "(numberp ok-if-already-exists)" correctly.
4817 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4819 * international/characters.el (glyphless-char-display-control):
4822 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4824 * progmodes/python.el (python-mode):
4825 * progmodes/scheme.el (scheme-mode):
4826 * progmodes/prolog.el (prolog-mode):
4827 * progmodes/ruby-mode.el (ruby-mode):
4828 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4829 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4831 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * rect.el (rectangle--highlight-for-redisplay):
4834 * emacs-lisp/smie.el (smie--next-indent-change):
4835 Use buffer-chars-modified-tick.
4837 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4839 * electric.el (electric-indent-post-self-insert-function):
4840 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4842 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4844 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4846 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4848 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4851 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4853 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4855 * progmodes/python.el: Fix up last change.
4856 (python-shell--save-temp-file): New function.
4857 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4858 `string' comes from the current buffer.
4859 (python-shell-send-string-no-output): Remove `msg' arg.
4860 (python--use-fake-loc): New var.
4861 (python-shell-buffer-substring): Obey it. Try to compensate for the
4862 extra coding line added by python-shell--save-temp-file.
4863 (python-shell-send-region): Use python-shell--save-temp-file and
4864 python-shell-send-file directly. Add `nomain' argument.
4865 (python-shell-send-buffer): Use python-shell-send-region.
4866 (python-electric-pair-string-delimiter): New function.
4867 (python-mode): Use it.
4869 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4871 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4872 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4873 environment and decoding all of the default-directory's to here
4875 (command-line): Decode also argv[0].
4877 * loadup.el: Error out if default-directory is a multibyte string
4878 when we are dumping.
4880 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4882 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4884 * emacs-lisp/package.el (package-menu-mode)
4885 (package-menu--print-info, package-menu--archive-predicate):
4886 Add Archive column to package list.
4888 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4890 Fix problems found while writing a test suite.
4892 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4893 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4894 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4895 to nil when running original file name handler. Otherwise,
4896 there are problems with constructs like "$$FOO".
4898 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4901 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4903 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4905 * subr.el (version<, version<=, version=):
4906 Update docstrings with information for snapshot versions.
4908 * helpers.el: New library for misc helper functions.
4909 (hash-table-keys): New function returning a list of hash keys.
4910 (hash-table-values): New function returning a list of hash values.
4912 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4914 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4915 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4917 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4919 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4920 checking whether point is after a 1-letter word.
4922 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4924 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4925 Don't infloop when expanding region over `multiline' syntax-type that
4926 begins a line (bug#15778).
4928 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4930 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4931 Make it into a proper minor mode.
4932 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4933 (rectangle-mark-mode-map): New keymap.
4934 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4936 2013-11-04 Glenn Morris <rgm@gnu.org>
4938 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4940 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4943 (ruby-smie-rules): Use smie-rule-parent instead.
4945 * emacs-lisp/smie.el (smie-rule-parent): Always call
4946 smie-indent-virtual rather than only for hanging tokens.
4947 (smie--next-indent-change): New helper command.
4949 2013-11-03 Glenn Morris <rgm@gnu.org>
4951 * Makefile.in (abs_srcdir): Remove.
4952 (emacs): Unset EMACSLOADPATH.
4954 2013-11-02 Glenn Morris <rgm@gnu.org>
4956 * Makefile.in (EMACS): Use a relative filename.
4957 (abs_top_builddir): Remove.
4958 (custom-deps, finder-data, autoloads): Use --chdir.
4960 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4962 Use relative filenames in TAGS files.
4963 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4964 (lisptagsfiles4, TAGS): Use relative file names.
4965 (TAGS-LISP): Remove.
4966 (maintainer-clean): No more TAGS-LISP file.
4968 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4969 (lisptagsfiles4): Use absolute filenames again.
4970 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4971 Remove all *loaddefs files, not just the first. Remove esh-groups.
4972 (maintainer-clean): Delete TAGS, TAGS-LISP.
4974 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4976 * emacs-lisp/package.el (package-version-join):
4977 Recognize snapshot versions.
4979 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4981 * subr.el (version-regexp-alist): Add support for snapshot versions.
4983 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4985 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4986 New function, replacement for `smie-rule-parent' for when we want to
4987 skip over our direct parent if it's an assignment token..
4988 (ruby-smie-rules): Use it.
4990 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4992 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4993 unconditionally. Remove now unnecessary forward declarations.
4994 Remove XEmacs-specific setup.
4995 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4996 (ruby-font-lock-syntactic-keywords)
4997 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4998 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4999 (ruby-here-doc-end-syntax): Remove.
5000 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5001 defined as function.
5003 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5005 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5007 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5009 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5010 table and abbrev table, `define-derived-mode' does that for us
5013 2013-11-01 Glenn Morris <rgm@gnu.org>
5015 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5016 files is atomic for some time, so no parallel compilation issues).
5018 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5020 * faces.el (face-x-resources): Add :distant-foreground.
5021 (region): Use :distant-foreground for gtk and ns.
5023 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5025 Allow multiple bibliographies when BibLaTeX is used rather than
5027 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5028 (reftex-locate-bibliography-files): Us it.
5030 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5032 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5033 allow comments in pbm files.
5035 * term/w32-win.el (dynamic-library-alist): Support newer versions
5036 of libjpeg starting with v7: look only for the DLL from the
5037 version against which Emacs was built.
5038 Support versions of libpng beyond 1.4.x.
5039 Support libtiff v4.x.
5041 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5043 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5044 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5046 (ruby-deep-arglist): Add property :type.
5048 2013-10-31 Glenn Morris <rgm@gnu.org>
5050 * Makefile.in (custom-deps, finder-data): No need to setq the target
5051 variables, we are in the right directory and the defaults work fine.
5053 2013-10-30 Glenn Morris <rgm@gnu.org>
5055 * Makefile.in (autoloads): Do not use abs_lisp.
5057 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5058 `newline' does not respect `standard-output', so use `princ'.
5060 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5062 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5063 * buff-menu.el (Buffer-menu--unmark): New function.
5064 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5066 2013-10-30 Glenn Morris <rgm@gnu.org>
5068 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5070 * emacs-lisp/package.el (lm-homepage): Declare.
5072 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5075 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5077 * Makefile.in (finder-data, autoloads, update-subdirs)
5078 (compile-main, compile-clean, compile-always, bootstrap-clean):
5079 Check return value of cd.
5080 (compile-calc): Remove.
5082 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5084 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5086 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5087 (byte-compile-and-folded): New function.
5088 (=, <, >, <=, >=): Use it.
5090 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5091 (path-separator, null-device, buffer-file-coding-system)
5092 (lpr-headers-switches): Check system-type before modifying them.
5093 (find-buffer-file-type-coding-system): Mark obsolete.
5094 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5095 find-file-not-found-set-buffer-file-coding-system.
5096 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5097 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5098 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5099 (w32-direct-print-region-helper, w32-direct-print-region-function)
5100 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5101 * startup.el (normal-top-level-add-subdirs-to-load-path):
5102 * ps-print.el (ps-print-region-function):
5103 * lpr.el (print-region-function): Use new name.
5105 * subr.el (custom-declare-variable-early): Remove function.
5106 (custom-declare-variable-list): Remove var.
5107 (error, user-error): Remove `while' loop.
5108 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5109 (user-emacs-directory-warning, locate-user-emacs-file):
5111 * simple.el (read-quoted-char-radix, read-quoted-char):
5112 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5114 * custom.el (custom-declare-variable-list): Don't process
5115 custom-declare-variable-list.
5117 * progmodes/python.el (python-shell-get-buffer): New function.
5118 (python-shell-get-process): Use it.
5119 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5120 Python which encoding was used. Don't split-string since we only care
5121 about the first line. Return the temp-file, if applicable.
5122 (python-shell-send-region): Tell compile.el how to turn locations in
5123 the temp-file into locations in the source buffer.
5125 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5127 * subr.el (undefined): Add missing behavior from the C code for
5130 * rect.el: Use lexical-binding. Add new rectangular region support.
5131 (rectangle-mark): New command.
5132 (rectangle--region): New var.
5133 (deactivate-mark-hook): Reset rectangle--region.
5134 (rectangle--extract-region, rectangle--insert-for-yank)
5135 (rectangle--highlight-for-redisplay)
5136 (rectangle--unhighlight-for-redisplay): New functions.
5137 (region-extract-function, redisplay-unhighlight-region-function)
5138 (redisplay-highlight-region-function): Use them to handle
5140 * simple.el (region-extract-function): New var.
5141 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5142 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5143 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5144 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5145 (redisplay-unhighlight-region-function)
5146 (redisplay-highlight-region-function): New vars.
5147 (redisplay--update-region-highlight): New function.
5148 (pre-redisplay-function): Use it.
5149 (exchange-point-and-mark): Don't deactivate the mark before
5150 reactivate-it anyway.
5151 * comint.el (comint-kill-region): Remove yank-handler argument.
5152 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5153 (delete-char): Remove property, since it's now part of their
5155 (self-insert-iso): Remove property since this command doesn't exist.
5157 * emacs-lisp/package.el (package--download-one-archive)
5158 (describe-package-1): Don't query the user about final newline.
5160 2013-10-29 Daniel Colascione <dancol@dancol.org>
5162 * net/tramp.el (tramp-methods): Document new functionality.
5163 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5164 tramp-hostname-checker if method provides one instead of scanning
5165 argument list for "%h" to decide hostname acceptability.
5167 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5169 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5170 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5171 Handle COPY-CONTENTS. (Bug#15737)
5173 2013-10-28 Daiki Ueno <ueno@gnu.org>
5176 (epa-file-cache-passphrase-for-symmetric-encryption):
5177 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5179 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5181 * image.el (defimage, image-load-path): Doc fixes.
5183 2013-10-27 Alan Mackenzie <acm@muc.de>
5185 Indent statements in macros following "##" correctly.
5186 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5187 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5189 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5191 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5193 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5195 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5196 after `=' is probably a new expression.
5198 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5200 * man.el (man-imenu-title): New option.
5201 (Man-mode-map): Add menu. (Bug#15722)
5202 (Man-mode): Add imenu to menu.
5204 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5206 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5207 specific in what the first arg can be: a non-keyword word,
5208 string/regexp/percent literal opener, opening paren, or unary
5209 operator followed directly by word.
5211 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5213 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5214 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5215 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5216 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5217 Remove vars, they do not apply any more.
5218 (prolog-mode-abbrev-table): Remove redundant declaration.
5219 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5220 (prolog-use-smie): Remove.
5221 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5222 supported by prolog-electric-if-then-else-flag.
5223 (prolog-mode-variables, prolog-menu): Use setq-local.
5224 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5225 Remove binding to `Backspace' since this key doesn't exist anyway.
5226 Remove bindings for electric self-inserting keys.
5227 (prog-mode): Assume it's defined.
5228 (prolog-post-self-insert): New function.
5229 (prolog-mode): Use it.
5230 (prolog-indent-line, prolog-indent-level)
5231 (prolog-find-indent-of-matching-paren)
5232 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5233 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5234 (prolog-goto-next-paren, prolog-in-string-or-comment)
5235 (prolog-tokenize, prolog-inside-mline-comment)
5236 (prolog-find-start-of-mline-comment): Remove functions.
5237 (prolog-find-unmatched-paren, prolog-clause-end)
5238 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5239 (prolog-electric--if-then-else): Rename from
5240 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5241 (prolog-tokenize-searchkey): Remove const.
5242 (prolog-clause-info): Use forward-sexp.
5243 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5244 (prolog-electric-if-then-else): Remove commands.
5245 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5246 for use in post-self-insert-hook.
5247 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5248 for use in post-self-insert-hook.
5249 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5250 for use in post-self-insert-hook.
5251 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5252 adapt it for use in post-self-insert-hook.
5254 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5256 * emacs-lisp/ert.el (ert-run-tests-interactively):
5257 Use `completing-read'. (Bug#9756)
5259 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5261 * simple.el (line-move): Call line-move-1 instead of
5262 line-move-visual when the current window hscroll is zero, but
5263 temporary-goal-column indicates we will need to hscroll as result
5264 of the movement. (Bug#15712)
5266 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5268 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5269 capitalization. Use :visible instead of :active.
5270 Fix `ruby-indent-exp' reference. Add menu items for the generic
5271 commands that are used with SMIE.
5272 (ruby-do-end-to-brace): Insert space after `{'.
5274 2013-10-25 John Anthony <john@jo.hnanthony.com>
5276 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5278 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5280 2013-10-25 Glenn Morris <rgm@gnu.org>
5282 * vc/vc.el (vc-print-log): Don't use a working revision unless
5283 one was explicitly specified. (Bug#15322)
5285 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5287 * subr.el (add-to-list): Preserve return value in compiler-macro
5290 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5292 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5293 result. Ask user to retry using '-all' flag. (Bug#15701)
5295 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5297 * emacs-lisp/smie.el: New smie-config system.
5298 (smie-config): New defcustom.
5299 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5300 (smie-config-guess, smie-config-save): New commands.
5301 (smie-config--mode-local, smie-config--buffer-local)
5302 (smie-config--trace, smie-config--modefuns): New vars.
5303 (smie-config--advice, smie-config--mode-hook)
5304 (smie-config--setter, smie-config-local, smie-config--get-trace)
5305 (smie-config--guess-value, smie-config--guess): New functions.
5306 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5307 text properties. Treat "string fence" syntax like string syntax.
5309 * progmodes/sh-script.el (sh-use-smie): Change default.
5310 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5311 (sh-var-value): Simplify by CSE.
5312 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5313 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5315 (sh-guess-basic-offset): Use cl-incf.
5316 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5318 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5320 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5323 2013-10-24 Glenn Morris <rgm@gnu.org>
5325 * Makefile.in (abs_top_srcdir): Remove.
5326 (update-subdirs): Use relative path to update-subdirs.
5328 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5330 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5331 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5332 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5333 Call unmsys--file-name before expand-file-name, not after it.
5335 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5337 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5338 (ert-test-skipped): New error.
5339 (ert-skip, ert-stats-skipped): New defuns.
5340 (ert--skip-unless): New macro.
5341 (ert-test-skipped): New struct.
5342 (ert--run-test-debugger, ert-test-result-type-p)
5343 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5344 (ert--stats-set-test-and-result, ert-char-for-test-result)
5345 (ert-string-for-test-result, ert-run-tests-batch)
5346 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5347 Handle skipped tests. (Bug#9803)
5349 2013-10-24 Glenn Morris <rgm@gnu.org>
5351 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5353 * Makefile.in (abs_top_srcdir): New, set by configure.
5354 (update-subdirs): Correct build-aux location.
5356 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5358 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5359 value, whether we could auto-deduce `backend', or not.
5361 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5362 with parameters" example. Simplify the "is it block or is it
5363 hash" check, but also make it more thorough.
5365 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5367 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5369 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5374 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5377 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5379 * progmodes/compile.el (compilation-directory-matcher)
5380 (compilation-page-delimiter):
5381 Support GNU Make-4.0 directory quoting. (Bug#15678)
5383 2013-10-23 Leo Liu <sdl.web@gmail.com>
5385 * ido.el (ido-tidy): Handle read-only text.
5387 2013-10-23 Glenn Morris <rgm@gnu.org>
5389 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5390 (emacs, compile, compile-always):
5391 Quote entities that might contain whitespace.
5392 (custom-deps, finder-data, autoloads): Use abs_lisp.
5393 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5394 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5395 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5397 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5399 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5400 Use `following-char'.
5402 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5404 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5405 * progmodes/ruby-mode.el (ruby-smie-rules):
5406 Remove corresponding workaround. Fix indentation rule of ";" so it
5407 also applies when ";" is the parent.
5409 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5411 * frame.el (display-screens, display-pixel-height)
5412 (display-pixel-width, display-mm-width, display-backing-store)
5413 (display-save-under, display-planes, display-color-cells)
5414 (display-visual-class, display-monitor-attributes-list):
5415 Mention the optional ‘display’ argument in doc strings.
5417 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5419 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5420 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5422 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5424 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5425 TODO. Add "." after " @ ".
5426 (ruby-smie--at-dot-call): New function. Checks if point at method
5427 call with explicit target.
5428 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5429 to the method name tokens when it precedes them.
5430 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5431 (ruby-smie-rules): Add rule for indentation before and after "."
5434 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5436 * textmodes/remember.el (remember-diary-extract-entries):
5439 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5442 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5444 * progmodes/ruby-mode.el (ruby-smie-grammar):
5445 Add (almost) all infix operators.
5446 (ruby-smie--implicit-semi-p): Add new operator chars.
5448 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5450 (ruby-smie--args-separator-p): Check that there's no newline
5451 between method call and its arguments.
5453 2013-10-20 Alan Mackenzie <acm@muc.de>
5455 Allow comma separated lists after Java "implements".
5457 * progmodes/cc-engine.el (c-backward-over-enum-header):
5459 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5460 from a "disallowed" list in enum fontification.
5462 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5464 * startup.el (default-frame-background-mode): Remove unused defvar.
5466 * progmodes/verilog-mode.el (verilog-mode): Don't set
5467 comment-indent-function globally.
5469 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5471 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5472 Move Info menu item creation to ns-win.el.
5474 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5477 * menu-bar.el: Move GNUstep specific menus...
5479 * term/ns-win.el (ns-initialize-window-system): ... to here.
5481 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * simple.el (newline): Only run post-self-insert-hook when
5484 called interactively.
5486 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5488 * icomplete.el (icomplete-with-completion-tables): Add :version.
5490 2013-10-19 Alan Mackenzie <acm@muc.de>
5492 Fix fontification bugs with constructors and const.
5494 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5495 CASE 2) Remove the check for the absence of a suffix construct
5496 after a function declaration with only types (no identifiers) in
5497 the parentheses. Also, accept a function declaration with just a
5498 type inside the parentheses, if this type can be positively
5499 recognised as such, or if a prefix keyword like "explicit" nails
5500 down the construct as a declaration.
5502 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5504 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5505 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5506 the problem whereby selecting a menu item that leads to a
5507 minibuffer prompt moves the cursor out of the minibuffer window,
5508 making it hard to type at the prompt. Suggested by Stefan Monnier
5509 <monnier@iro.umontreal.ca>.
5511 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5513 * menu-bar.el: Don't make Services menu.
5515 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5517 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5518 (ffap-alist): Use ffap-c++-mode for c++-mode.
5519 (ffap-c++-path): New variable.
5520 (ffap-c++-mode): New function.
5522 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5524 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5526 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5528 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5529 introduced on 2013-09-08, which results in an infinite loop
5530 requesting a password.
5532 2013-10-18 Glenn Morris <rgm@gnu.org>
5534 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5536 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5538 Sync with upstream verilog-mode revision 1a6ecec7.
5539 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5540 (verilog-mode-release-date): Remove.
5541 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5542 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5543 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5544 (verilog-auto-tieoff-ignore-regexp)
5545 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5546 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5547 (verilog-signals-with, verilog-dir-cache-preserving)
5548 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5550 (verilog-case-fold): New option, to control case folding in
5551 regexp searches, bug597.
5552 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5553 (verilog-string-match-fold, verilog-in-paren-count)
5554 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5555 (verilog-at-close-struct-p): New functions.
5556 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5557 (verilog-forward-sexp, verilog-set-auto-endcomments)
5558 (verilog-leap-to-case-head): Handle "unique0" case.
5559 (verilog-in-constraint-re): New constant.
5560 (verilog-keywords, verilog-type-font-keywords):
5561 Add some SystemVerilog 1800-2012 keywords.
5562 (verilog-label-be): Remove unimplemented argument, bug669.
5563 (verilog-batch-execute-func): When batch expanding clear
5564 create-lockfiles to prevent spurious user locks when a file ends
5566 (verilog-calculate-indent, verilog-calc-1)
5567 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5568 (verilog-do-indent): Fix indentation of nested constraints
5570 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5571 (verilog-auto-inst-param): Use verilog-string-match-fold.
5572 (verilog-read-inst-module-matcher):
5573 Fix AUTOINST on gate primitives with #1.
5574 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5575 Reads all user-defined typed variables.
5576 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5577 (verilog-signals-matching-regexp)
5578 (verilog-signals-not-matching-regexp, verilog-auto):
5579 Respect verilog-case-fold.
5580 (verilog-diff-report): Fix line count.
5581 (verilog-auto-assign-modport): Remove unused local `modi'.
5582 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5583 better handle multidimensional arrays.
5584 Fix packed array ports misadding bit index in AUTOINST, bug637.
5585 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5586 to not double-declare existing outputs and inputs, respectively.
5587 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5588 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5589 (verilog-sk-uvm-component): New skeleton.
5590 (verilog-submit-bug-report): Add verilog-case-fold,
5591 remove verilog-mode-release-date.
5593 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5595 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5598 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5600 * textmodes/remember.el (remember): Set buffer-offer-save in
5601 remember buffers (bug#13566).
5603 2013-10-18 Daniel Colascione <dancol@dancol.org>
5605 When evaluating forms in ielm, direct standard output to ielm
5606 buffer. Add new ielm-return-for-effect command. Remove trailing
5607 whitespace throughout.
5609 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5610 (ielm-return-for-effect): New command.
5611 (ielm-send-input): Accept optional `for-effect' parameter.
5612 (ielm-eval-input): Accept optional `for-effect' parameter.
5613 Bind `standard-output' to stream we create using
5614 `ielm-standard-output-impl'. Suppress printing result when
5616 (ielm-standard-output-impl): New function.
5617 (inferior-emacs-lisp-mode): Explain new features in documentation.
5619 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5623 * net/tramp.el (tramp-debug-message): Do not check for connection
5625 (tramp-message): Use "vector" connection property.
5627 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5628 (tramp-equal-remote, tramp-eshell-directory-change)
5629 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5630 (tramp-adb-handle-rename-file)
5631 * net/tramp-cmds.el (tramp-list-remote-buffers)
5632 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5633 * net/tramp-compat.el (tramp-compat-process-running-p)
5634 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5635 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5636 (tramp-gvfs-handle-rename-file)
5637 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5638 (tramp-set-file-uid-gid)
5639 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5640 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5643 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5644 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5645 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5646 (tramp-gw-open-network-stream): Suppress unrelated traces.
5648 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5649 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5650 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5651 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5652 connection property.
5654 * net/tramp-cache.el (top): Suppress traces when reading
5657 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5658 Refactor common code. Improve debug message.
5659 (tramp-maybe-open-connection)
5660 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5661 connection buffer too early.
5663 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5664 from `tramp-smb-actions-with-acl'.
5665 (tramp-smb-actions-set-acl): New defconst.
5666 (tramp-smb-handle-copy-directory)
5667 (tramp-smb-action-get-acl): New defun, renamed from
5668 `tramp-smb-action-with-acl'.
5669 (tramp-smb-action-set-acl): New defun.
5670 (tramp-smb-handle-set-file-acl): Rewrite.
5672 2013-10-17 Glenn Morris <rgm@gnu.org>
5674 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5676 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5678 * skeleton.el (skeleton-newline): Remove.
5679 (skeleton-internal-1): Use (insert "\n") instead.
5681 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5684 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5685 forward-sexp-function while we redo its job (bug#15613).
5687 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5689 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5690 represented by lists.
5692 2013-10-16 Glenn Morris <rgm@gnu.org>
5694 * tmm.el (tmm--history): New dynamic variable.
5695 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5697 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5699 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5700 (tramp-smb-errors): Add error messages.
5701 (tramp-smb-actions-with-acl): New defconst.
5702 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5703 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5704 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5705 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5706 (tramp-smb-get-stat-capability): Fix tests.
5708 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5710 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5713 2013-10-16 Glenn Morris <rgm@gnu.org>
5715 * ansi-color.el (ansi-color-drop-regexp):
5716 Add 1J, 1K, 2K. (Bug#15617)
5718 * files.el (hack-local-variables--warned-lexical): New.
5719 (hack-local-variables):
5720 Warn about misplaced lexical-binding. (Bug#15616)
5722 * net/eww.el (eww-render): Always set eww-current-url,
5723 and update header line. (Bug#15622)
5724 (eww-display-html): ... Rather than just doing it here.
5726 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5728 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5729 menu navigations commands.
5731 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5733 * progmodes/subword.el (subword-capitalize): Be careful when
5734 the search for [[:alpha:]] fails (bug#15580).
5736 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5738 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5739 to commands that scroll the menu.
5741 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5743 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5744 Handle methods ending with `?' and `!'.
5746 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5748 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5749 `japanese-cp932' to `cp932' to fix the problem where saving a
5750 source file written in Shift_JIS twice would end up having
5751 `coding: japanese-cp932' which Ruby could not recognize.
5752 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5753 in `ruby-encoding-map'.
5754 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5755 doesn't need to be explicitly declared in magic comment.
5756 (ruby-encoding-map): Add type declaration for better customize UI.
5758 2013-10-13 Glenn Morris <rgm@gnu.org>
5760 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5761 Occur buffers are read-only. http://bugs.debian.org/720775
5763 * emacs-lisp/authors.el (authors-fixed-entries):
5764 Comment out old alpha stuff.
5766 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5768 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5769 to `after-save-hook' instead of `before-save-hook'.
5770 (ruby-mode-set-encoding): Use the value of coding system used to
5771 write the file. Call `basic-save-buffer-1' after modifying the
5774 2013-10-13 Alan Mackenzie <acm@muc.de>
5776 Fix indentation/fontification of Java enum with
5777 "implements"/generic.
5779 * progmodes/cc-engine.el (c-backward-over-enum-header):
5780 Extracted from the three other places and enhanced to handle generics.
5781 (c-inside-bracelist-p): Uses new function above.
5782 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5784 (c-font-lock-enum-tail): Uses new function above.
5786 2013-10-13 Kenichi Handa <handa@gnu.org>
5788 * international/mule-cmds.el (select-safe-coding-system): Remove a
5789 superfluous condition in chekcing whether a coding system is safe
5792 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5794 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5796 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5798 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5800 2013-10-13 Glenn Morris <rgm@gnu.org>
5802 * menu-bar.el (menu-bar-update-buffers):
5803 Unify Buffers menu prompt string. (Bug#15576)
5805 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5807 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5809 (authors-fixed-entries): Use accented form of name.
5811 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5814 method calls (bug#15594).
5815 (ruby-smie--args-separator-p): New function.
5816 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5817 recognize paren-free method calls.
5819 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5820 internals of universal-argument.
5822 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5824 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5825 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5826 dropped menu on second mouse click on the menu bar.
5828 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5830 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5831 (explicit-shell-file-name): Declare.
5832 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5833 (sh-completion-at-point-function): New function.
5835 (sh-smie--keyword-p): Remove unused argument.
5836 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5838 (sh-set-shell): Always setup SMIE, even if we use the
5839 old indentation code.
5841 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5843 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5845 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5846 predicate would return nil are almost non-existent.
5847 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5849 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5850 cache also after commands that modify the buffer but don't move
5853 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * env.el (substitute-env-in-file-name): New function.
5856 (substitute-env-vars): Extend the meaning of the optional arg.
5858 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5860 * term/w32-win.el (dynamic-library-alist): Define separate lists
5861 of GIF DLLs for versions before and after 5.0.0 of giflib.
5864 2013-10-10 João Távora <joaotavora@gmail.com>
5866 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5867 not locked, use last revision and current source as
5868 defaults. (Bug#15569)
5870 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5872 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5875 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5877 * window.el (pop-to-buffer-same-window): Fix doc-string.
5880 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5882 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5884 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5886 * calendar/icalendar.el (icalendar-import-file):
5887 Fix interactive spec. (Bug#15482)
5889 2013-10-10 Glenn Morris <rgm@gnu.org>
5891 * desktop.el (desktop-save): Default to saving in .emacs.d,
5892 since PWD is no longer in desktop-path by default. (Bug#15319)
5894 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5895 now that text mode has a menu with the same entry.
5896 (menu-bar-text-mode-auto-fill): Remove now unused func.
5897 * textmodes/text-mode.el (text-mode-map):
5898 Use auto-fill help text from menu-bar.el.
5900 2013-10-10 John Anthony <john@jo.hnanthony.com>
5902 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5904 2013-10-09 Juri Linkov <juri@jurta.org>
5906 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5907 instead of this-command-keys. Add universal-argument-more and
5908 universal-argument-minus to the list of prefix commands. (Bug#15568)
5910 2013-10-09 Glenn Morris <rgm@gnu.org>
5912 * vc/vc-svn.el (vc-svn-create-repo):
5913 Expand paths in file://... url. (Bug#15446)
5915 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5917 (authors): Remove unused local variables.
5919 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * profiler.el: Create a more coherent calltree from partial backtraces.
5922 (profiler-format): Hide the tail with `invisible' so that C-s can still
5923 find the hidden elements.
5924 (profiler-calltree-depth): Don't recurse so enthusiastically.
5925 (profiler-function-equal): New hash-table-test.
5926 (profiler-calltree-build-unified): New function.
5927 (profiler-calltree-build): Use it.
5928 (profiler-report-make-name-part): Indent the calltree less.
5929 (profiler-report-mode): Add visibility specs for profiler-format.
5930 (profiler-report-expand-entry, profiler-report-toggle-entry):
5931 Expand the whole subtree when provided with a prefix arg.
5933 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5935 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5937 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5938 hanging iuwu-mod token.
5939 (ruby-smie--forward-token): Do not include a dot after a token in
5941 (ruby-smie--backward-token): Likewise.
5943 2013-10-08 Juri Linkov <juri@jurta.org>
5945 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5946 to isearch-other-control-char.
5947 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5948 and isearch-post-command-hook to post-command-hook.
5949 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5950 and isearch-post-command-hook from post-command-hook.
5951 (isearch-unread-key-sequence)
5952 (isearch-reread-key-sequence-naturally)
5953 (isearch-lookup-scroll-key, isearch-other-control-char)
5954 (isearch-other-meta-char): Remove functions.
5955 (isearch-pre-command-hook, isearch-post-command-hook):
5956 New functions based on isearch-other-meta-char rewritten
5957 relying on the new behavior of overriding-terminal-local-map
5958 that does not replace the local keymaps any more. (Bug#15200)
5960 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5962 Support menus on text-mode terminals.
5963 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5966 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5968 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5969 Move here from mouse.el.
5970 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5972 (tty-menu-navigation-map): New map for TTY menu navigation.
5974 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5976 * frame.el (display-mouse-p): Report text-mode mouse as available
5978 (display-popup-menus-p): Report availability if mouse is
5979 available; don't condition on window-system.
5981 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5982 (tty-menu-selected-face): New faces.
5984 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5986 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5987 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5988 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5989 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5991 (lisp-mode-variables): New `elisp' argument.
5992 (emacs-lisp-mode): Use it.
5993 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5994 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5996 * indent.el: Use lexical-binding.
5997 (indent-region): Add progress reporter.
5998 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6000 (indent--next-tab-stop): New function to implement this behavior.
6001 (tab-to-tab-stop, move-to-tab-stop): Use it.
6003 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6005 * indent.el (indent-rigidly--current-indentation): New function.
6006 (indent-rigidly-map): New var.
6007 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6009 2013-10-08 Bastien Guerry <bzg@gnu.org>
6011 * register.el (insert-register): Fix 2013-10-07 change.
6013 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6015 * progmodes/perl-mode.el: Use lexical-binding.
6016 Remove redundant :group args.
6017 (perl-nochange): Change default to be closer to other major modes's
6019 (perl-indent-line): Don't consider text on current line as a
6020 valid beginning of function from which to indent.
6022 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6023 with more than one argument (bug#15538).
6025 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6027 * vc/pcvs.el: Use lexical-binding.
6028 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6029 environment of `eval'.
6030 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6031 than a list of expressions. Adjust callers.
6032 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6034 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6036 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6037 case of the dot in a chained method call being on the following line.
6039 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * electric.el (electric-indent-inhibit): New var.
6042 (electric-indent-post-self-insert-function): Use it.
6043 * progmodes/python.el (python-mode): Set it.
6045 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6048 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6050 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6051 (css-mode): Use electric-indent-chars.
6053 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6054 (font-lock-beg, font-lock-end): Move before first use.
6055 (nxml-mode): Use syntax-propertize-function.
6056 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6057 (nxml-extend-after-change-region): Remove.
6058 * nxml/xmltok.el: Use lexical-binding.
6059 (xmltok-save): Use `declare'.
6060 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6061 * nxml/nxml-util.el: Use lexical-binding.
6062 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6064 * nxml/nxml-ns.el: Use lexical-binding.
6065 (nxml-ns-save): Use `declare'.
6066 (nxml-ns-prefixes-for): Avoid add-to-list.
6067 * nxml/rng-match.el: Use lexical-binding.
6068 (rng--ipattern): Use cl-defstruct.
6069 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6070 (rng-cons-group-after, rng-subst-group-after)
6071 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6072 Use closures instead of `(lambda...).
6074 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6076 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6079 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6080 Use `tramp-handle-insert-file-contents'.
6081 (tramp-gvfs-handle-insert-file-contents): Remove function.
6083 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6084 Use `save-restriction' in order to keep markers.
6086 * net/trampver.el: Update release number.
6088 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6090 * progmodes/compile.el (compilation-parse-errors):
6091 Use compilation--put-prop.
6092 (compilation--ensure-parse): Check compilation-multiline.
6094 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6096 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6099 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6101 * progmodes/ruby-mode.el: Fix recently added tests.
6102 (ruby-smie-grammar): Add - and +.
6103 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6104 (ruby-smie--backward-id): New functions.
6105 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6106 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6109 2013-10-07 Leo Liu <sdl.web@gmail.com>
6111 * register.el (register-preview-delay)
6112 (register-preview-functions): New variables.
6113 (register-read-with-preview, register-preview)
6114 (register-describe-oneline): New functions.
6115 (point-to-register, window-configuration-to-register)
6116 (frame-configuration-to-register, jump-to-register)
6117 (number-to-register, view-register, insert-register)
6118 (copy-to-register, append-to-register, prepend-to-register)
6119 (copy-rectangle-to-register): Use register-read-with-preview to
6120 read register. (Bug#15525)
6122 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6124 * net/network-stream.el (network-stream-open-starttls): Don't add
6125 --insecure if it's already present, because that gnutls-cli
6126 rejects getting that parameter twice.
6128 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6130 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6133 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6135 * newcomment.el (comment-use-global-state): Change default value
6136 to t, mark obsolete (Bug#15251).
6137 (comment-beginning): In addition to `comment-to-syntax', check the
6138 value of `comment-use-global-state'.
6140 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6142 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6143 (ruby-comment-column): Follow the global default, by default.
6144 (ruby-smie-grammar): Add assignment syntax.
6145 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6146 open-paren, a comma, or a \.
6147 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6148 and line continuations.
6149 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6150 followed by implicit semi-colons. Add rule for string concatenation
6151 and for indentation at BOB.
6152 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6154 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6155 calling next-sexp, since next-token may have skipped chars which
6156 next-sexp doesn't know should be skipped!
6158 2013-10-05 Leo Liu <sdl.web@gmail.com>
6160 * progmodes/octave.el (octave-send-region):
6161 Call compilation-forget-errors.
6163 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6165 * vc/vc-svn.el (vc-svn-find-admin-dir):
6166 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6167 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6168 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6169 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6171 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6175 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6177 * subr.el (read-passwd): Hide chars even when called within a context
6178 where after-change-functions is disabled (bug#15501).
6179 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6180 until we removed ourself from overriding-terminal-local-map.
6182 2013-10-04 Leo Liu <sdl.web@gmail.com>
6184 * progmodes/octave.el (inferior-octave-mode):
6185 Call compilation-forget-errors.
6187 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6189 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6191 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6193 * net/secrets.el (secrets-create-collection): Add optional
6194 argument ALIAS. Use proper Label keyword. Append ALIAS as
6195 dbus-call-method argument. (Bug#15516)
6197 2013-10-04 Leo Liu <sdl.web@gmail.com>
6199 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6200 (inferior-octave-compilation-font-lock-keywords): New variables.
6201 (compilation-error-regexp-alist)
6202 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6203 (inferior-octave-mode): Use compilation-shell-minor-mode.
6205 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6207 * minibuffer.el (completion--replace): Be careful that `end' might be
6210 2013-10-03 Daiki Ueno <ueno@gnu.org>
6212 Add support for package signature checking.
6213 * emacs-lisp/package.el (url-http-file-exists-p)
6214 (epg-make-context, epg-context-set-home-directory)
6215 (epg-verify-string, epg-context-result-for)
6216 (epg-signature-status, epg-signature-to-string)
6217 (epg-check-configuration, epg-configuration)
6218 (epg-import-keys-from-file): Declare.
6219 (package-check-signature): New user option.
6220 (package-unsigned-archives): New user option.
6221 (package-desc): Add `signed' field.
6222 (package-load-descriptor): Set `signed' field if .signed file exists.
6223 (package--archive-file-exists-p): New function.
6224 (package--check-signature): New function.
6225 (package-install-from-archive): Check package signature.
6226 (package--download-one-archive): Check archive signature.
6227 (package-delete): Remove .signed file.
6228 (package-import-keyring): New command.
6229 (package-refresh-contents): Import default keyring.
6230 (package-desc-status): Add "unsigned" status.
6231 (describe-package-1, package-menu--print-info)
6232 (package-menu-mark-delete, package-menu--find-upgrades)
6233 (package-menu--status-predicate): Support "unsigned" status.
6235 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6238 the new compilation scheme using the new byte-codes.
6240 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6241 (byte-pophandler): New byte codes.
6242 (byte-goto-ops): Adjust accordingly.
6243 (byte-compile--use-old-handlers): New var.
6244 (byte-compile-catch): Use new byte codes depending on
6245 byte-compile--use-old-handlers.
6246 (byte-compile-condition-case--old): Rename from
6247 byte-compile-condition-case.
6248 (byte-compile-condition-case--new): New function.
6249 (byte-compile-condition-case): New function that dispatches depending
6250 on byte-compile--use-old-handlers.
6251 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6254 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6255 Optimize under `condition-case' and `catch' if
6256 byte-compile--use-old-handlers is nil.
6257 (disassemble-offset): Handle new bytecodes.
6259 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * subr.el (error): Use `declare'.
6262 (decode-char, encode-char): Use advertised-calling-convention instead
6263 of the docstring to discourage use of the `restriction' arg.
6265 2013-10-03 Daiki Ueno <ueno@gnu.org>
6267 * epg.el (epg-verify-file): Add a comment saying that it does not
6268 notify verification error as a return value nor a signal.
6269 (epg-verify-string): Ditto.
6271 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6273 * progmodes/compile.el (compilation-start): Try globbing the arg to
6276 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6278 Sync with Tramp 2.2.8.
6280 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6281 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6282 * net/trampver.el: Update release number.
6284 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6286 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6287 and default-process-coding-system for darwin only.
6289 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6291 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6293 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6295 * vc/vc-git.el (vc-git-grep): Disable pager.
6297 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6299 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6300 Use :url instead of :homepage, as per
6301 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6303 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6304 non-nil, use `syntax-ppss' (Bug#15251).
6306 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6308 * progmodes/octave.el (inferior-octave-startup-file):
6309 Prefer ~/.emacs.d/init_octave.m.
6311 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6313 * emacs-lisp/package.el (package-desc-from-define):
6314 Accept additional arguments as plist, convert them to an alist and store
6315 them in the `extras' slot.
6316 (package-generate-description-file): Convert extras alist back to
6317 plist and append to the `define-package' form arguments.
6318 (package--alist-to-plist): New function.
6319 (package--ac-desc): Add `extras' slot.
6320 (package--add-to-archive-contents): Check if the archive-contents
6321 vector is long enough, and if it is, pass its `extras' slot value
6322 to `package-desc-create'.
6323 (package-buffer-info): Call `lm-homepage', pass the returned value
6324 to `package-desc-from-define'.
6325 (describe-package-1): Render the homepage button (Bug#13291).
6327 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6328 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6330 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6332 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6333 and default-process-coding-system to utf-8-unix (Bug#15402).
6335 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6337 * subr.el (looking-back): Do not recommend using looking-back.
6339 2013-09-28 Alan Mackenzie <acm@muc.de>
6341 Fix indentation/fontification of Java enum with "implements".
6343 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6344 regexp which matches "implements", etc., in Java.
6345 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6346 specifier clauses coming after "enum".
6347 * progmodes/cc-fonts.el (c-font-lock-declarations)
6348 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6351 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6353 * faces.el (region): Change ns_selection_color to
6354 ns_selection_fg_color, add ns_selection_bg_color.
6356 2013-09-28 Leo Liu <sdl.web@gmail.com>
6358 * progmodes/octave.el (inferior-octave-completion-table)
6359 (inferior-octave-completion-at-point): Minor tweaks.
6361 * textmodes/ispell.el (ispell-lookup-words): Rename from
6362 lookup-words. (Bug#15460)
6363 (lookup-words): Obsolete.
6364 (ispell-complete-word, ispell-command-loop): All uses changed.
6366 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6368 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6369 (octave-mode-menu): Add octave-send-buffer.
6370 (octave-send-buffer): New function.
6372 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6374 * progmodes/octave.el (octave-mode-map): Add key binding for
6376 (octave-mode-menu): Add octave-lookfor.
6377 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6379 (octave-lookfor): New function.
6381 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6383 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6384 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6386 (cl--loop-set-iterator-function): New function.
6387 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6388 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6389 Bind `it' with `let' instead of substituting it with `cl-subst'.
6390 (cl--unused-var-p): New function.
6391 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6392 Eliminate some unused variable warnings (bug#15326).
6394 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6396 * doc-view.el (doc-view-scale-reset): Rename from
6397 `doc-view-reset-zoom-level'.
6398 (doc-view-scale-adjust): New command.
6399 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6400 `doc-view-scale-adjust'.
6402 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6404 * doc-view.el (doc-view-reset-zoom-level): New command.
6405 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6406 zoom commands (bug#15466).
6408 2013-09-26 Kenichi Handa <handa@gnu.org>
6410 * international/quail.el (quail-help): Make it not a command.
6412 2013-09-26 Leo Liu <sdl.web@gmail.com>
6414 * minibuffer.el (completion-all-sorted-completions): Make args
6415 optional as they are.
6417 2013-09-25 Daniel Colascione <dancol@dancol.org>
6419 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6420 specs are and that they're not evaluated.
6422 2013-09-24 Sam Steingold <sds@gnu.org>
6424 * midnight.el (clean-buffer-list-kill-regexps)
6425 (clean-buffer-list-kill-buffer-names): Update for the new Man
6426 buffer naming which includes the object name.
6428 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6430 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6431 (eshell-parse-command, eshell-parse-pipeline): Use it since
6432 eshell-separate-commands requires a dynamic scoped var.
6433 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6435 2013-09-23 Leo Liu <sdl.web@gmail.com>
6437 * autoinsert.el (auto-insert-alist): Make the value of
6438 lexical-binding match its file setting.
6440 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6442 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6444 * autoarg.el (autoarg-kp-digit-argument):
6445 * electric.el (Electric-command-loop):
6446 * kmacro.el (kmacro-step-edit-insert):
6447 Do not set universal-argument-num-events.
6449 2013-09-22 Leo Liu <sdl.web@gmail.com>
6451 * files.el (interpreter-mode-alist): Add octave.
6453 2013-09-21 Alan Mackenzie <acm@muc.de>
6455 C++: fontify identifier in declaration following "public:" correctly.
6456 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6457 to match "public", etc.
6458 (c-decl-prefix-re): Add ":" into the C++ value.
6459 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6460 bit. Add a check for a ":" preceded by "public", etc.
6462 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6464 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6465 recognized by GDB 7.5 and later.
6467 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6469 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6471 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6473 * subr.el (internal--call-interactively): New const.
6474 (called-interactively-p): Use it (bug#3984).
6476 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6478 * vc/pcvs.el (cvs-mode-ignore):
6479 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6480 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6482 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6484 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6485 (eshell-ls-orig-insert-directory): Remove.
6486 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6487 (eshell-ls-use-in-dired): Use advice-add/remove.
6488 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6489 Add `orig-fun' arg for use in :around advice.
6490 Make it check (redundantly) eshell-ls-use-in-dired.
6492 2013-09-19 Glenn Morris <rgm@gnu.org>
6494 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6496 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6498 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6500 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6502 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6503 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6504 (tramp-get-remote-python): New defuns.
6505 (tramp-get-remote-uid-with-perl)
6506 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6507 contributed by yary <not.com@gmail.com> (tiny change).
6508 (tramp-get-remote-uid-with-python)
6509 (tramp-get-remote-gid-with-python): New defuns. Python code
6510 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6511 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6513 2013-09-19 Glenn Morris <rgm@gnu.org>
6515 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6517 * eshell/em-unix.el (eshell-remove-entries):
6518 Rename argument to avoid name-clash with global `top-level'.
6520 * eshell/esh-proc.el (eshell-kill-process-function):
6521 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6522 (eshell-reset-after-proc): Remove unused arg `proc'.
6524 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6525 (directory-files-and-attributes): Mark unused arg.
6527 * eshell/em-unix.el (eshell-remove-entries):
6528 Remove unused arg `path'. Update callers.
6530 * eshell/em-hist.el (eshell-hist-parse-arguments):
6531 Remove unused arg `silent'. Update callers.
6533 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6534 Fix (f)boundp mix-up.
6536 * eshell/em-smart.el (eshell-smart-scroll-window)
6537 (eshell-disable-after-change):
6538 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6540 2013-09-18 Alan Mackenzie <acm@muc.de>
6542 Fix fontification of type when followed by "const".
6543 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6544 "known" types from fontification.
6546 2013-09-18 Glenn Morris <rgm@gnu.org>
6548 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6549 (chart-face-list): Drop Emacsen without display-color-p.
6551 * net/eww.el (libxml-parse-html-region): Declare.
6552 (eww-display-html): Explicit error if no libxml2 support.
6554 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6556 * image.el (image-type-from-buffer, image-multi-frame-p):
6557 Remove --without-x warning/error.
6559 * mouse.el (mouse-yank-primary):
6560 * term.el (term-mouse-paste):
6561 Reorder to silence --without-x compilation.
6563 * mpc.el (doc-view-mode): Silence --without-x compilation.
6565 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6566 Silence --without-x compilation.
6568 * progmodes/gud.el (gud-find-file, gud-mode):
6569 Silence --without-x compilation.
6570 (tooltip-mode): Declare.
6572 * wdired.el (dired-backup-overwrite): Remove declaration.
6573 (wdired-mode-map): Add doc string.
6575 * custom.el (x-get-resource): Declare.
6577 * eshell/em-glob.el (ange-cache):
6578 * eshell/em-unix.el (ange-cache): Declare.
6580 * faces.el (x-display-list, x-open-connection, x-get-resource):
6583 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6584 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6587 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6589 * net/gnutls.el (gnutls-log-level): Declare.
6591 * net/shr.el (image-size, image-animate): Declare.
6593 * simple.el (font-info): Declare.
6595 * subr.el (x-popup-dialog): Declare.
6597 * term/common-win.el (x-select-enable-primary)
6598 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6601 * term/ns-win.el (x-handle-args): Declare.
6603 * term/x-win.el (x-select-enable-clipboard): Declare.
6605 * term/w32-win.el (create-default-fontset): Declare.
6607 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6610 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6611 (fit-frame-to-buffer): Explicit error if --without-x.
6612 (mouse-autoselect-window-select): Silence compiler.
6614 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6616 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6617 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6618 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6619 * eshell/esh-util.el (eshell-sublist):
6620 Remove unused local variables.
6622 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6624 * textmodes/two-column.el: Make 2C-split work for --without-x.
6625 (scroll-bar-columns): Autoload.
6626 (top-level): Require fringe when compiling.
6628 2013-09-18 Leo Liu <sdl.web@gmail.com>
6630 * subr.el (add-hook): Robustify to handle closure as well.
6632 2013-09-17 Glenn Morris <rgm@gnu.org>
6634 * simple.el (messages-buffer-mode-map): Unbind "g".
6636 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6638 * help-mode.el (help-mode-finish): Use derived-mode-p.
6639 Remove obsolete highlighting.
6641 * play/life.el (life-mode): Use define-derived-mode. Derive from
6643 (life): Let-bind inhibit-read-only.
6644 (life-setup): Avoid `setq'. Use `life-mode'.
6646 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6647 which should not be needed any more.
6648 (package-menu-refresh, package-menu-describe-package): Use user-error.
6650 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6651 (eshell-post-rewrite-command-hook): Make obsolete.
6652 (eshell-parse-command): Simplify.
6653 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6654 (eshell--cmd): Declare.
6655 (eshell-parse-pipeline): Remove unused var `final-p'.
6656 Pass a dynvar to eshell-post-rewrite-command-hook.
6657 Implement the new eshell-post-rewrite-command-function.
6658 (eshell-invoke-directly): Remove unused arg `input'.
6659 * eshell/esh-io.el (eshell-io-initialize):
6660 Use eshell-post-rewrite-command-function (bug#15399).
6661 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6662 adjust to new calling convention.
6663 (eshell-create-handles): Rename args to avoid clashing with dynvar
6666 2013-09-17 Glenn Morris <rgm@gnu.org>
6668 * simple.el (messages-buffer-mode): New major mode.
6669 (messages-buffer): New function.
6670 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6671 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6672 (ert-run-test): Use `messages-buffer' function.
6673 (ert--force-message-log-buffer-truncation): Ignore read-only.
6674 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6675 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6677 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6679 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6681 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6683 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * icomplete.el (icomplete-in-buffer): New var.
6686 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6687 vars and replace them with functions.
6688 (icomplete-minibuffer-setup): Adjust accordingly.
6689 (icomplete--completion-table, icomplete--completion-predicate)
6690 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6692 (icomplete-forward-completions, icomplete-backward-completions)
6693 (icomplete-simple-completing-p, icomplete-exhibit)
6694 (icomplete-completions): Use them.
6695 (icomplete--in-region-buffer): New var.
6696 (icomplete--in-region-setup): New function.
6697 (icomplete-mode): Use it.
6699 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6701 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6702 return args and options.
6703 (eshell-eval-using-options): Use the new return value of
6704 eshell--do-opts to set the options's vars in their scope.
6705 (eshell--set-option): Rename from eshell-set-option.
6707 (eshell--process-option): Rename from eshell-process-option.
6709 (eshell--process-args): Use an `opt-vals' alist to store the options's
6710 values during their processing and return them additionally to the
6713 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6715 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6716 continuation character an operator, as far as indentation is
6717 concerned (Bug#15369).
6719 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6721 * window.el (window--state-put-2): Don't process buffer state
6722 when buffer doesn't exist any more (Bug#15382).
6724 2013-09-15 Glenn Morris <rgm@gnu.org>
6726 * eshell/em-unix.el (eshell/rm):
6727 Make -f ignore missing files. (Bug#15373)
6729 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6730 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6731 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6733 2013-09-14 Glenn Morris <rgm@gnu.org>
6735 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6737 2013-09-13 Glenn Morris <rgm@gnu.org>
6739 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6740 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6742 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6744 * frame.el (x-focus-frame): Mark as declared in frame.c.
6746 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6748 * ls-lisp.el: Use advice-add.
6749 (original-insert-directory): Remove.
6750 (ls-lisp--insert-directory): Rename from insert-directory; add
6751 `orig-fun' argument.
6752 (insert-directory): Advise.
6754 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6756 * term.el (term-emulate-terminal): Decode the command string
6757 before passing it to term-command-hook. (Bug#15337)
6759 2013-09-13 Glenn Morris <rgm@gnu.org>
6761 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6763 * eshell/esh-ext.el (eshell-search-path): Declare.
6765 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6766 Otherwise an error occurs if eshell-dirs module not loaded.
6768 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6770 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6772 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6773 `tramp-check-proper-host'. Check for a valid method name.
6775 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6776 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6777 * net/tramp-sh.el (tramp-maybe-open-connection):
6778 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6780 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6781 also for hash values.
6783 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * term/ns-win.el (parameters): Don't declare as dynamic.
6786 (before-make-frame-hook): Don't add ineffective function.
6788 * eshell/*.el: Use lexical-binding (bug#15231).
6790 2013-09-12 Kenichi Handa <handa@gnu.org>
6792 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6794 2013-09-12 Glenn Morris <rgm@gnu.org>
6796 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6797 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6799 * subr.el (do-after-load-evaluation): Also give compiler warnings
6800 when obsolete files are used (except by obsolete files).
6802 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6803 in the status output, assume `filename' is the first. (Bug#15322)
6805 * vc/vc.el (vc-deduce-fileset): Doc fix.
6807 * calc/calc-help.el (Info-goto-node):
6808 * progmodes/cperl-mode.el (Info-find-node):
6809 * vc/ediff.el (Info-goto-node): Update declarations.
6811 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6813 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6814 (vc-bzr-pull): Require vc-dispatcher.
6815 * vc/vc-git.el (vc-compilation-mode): Declare.
6816 (vc-git-pull): Require vc-dispatcher.
6818 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6820 * progmodes/octave.el (help-button-action): Declare.
6822 * shell.el (shell-directory-tracker): Output error as a message
6823 rather than just returning it as a string.
6824 (shell-process-pushd): Remove useless use of message.
6826 * dframe.el (dframe-timer-fn):
6827 * files.el (dir-locals-read-from-file):
6828 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6830 * reveal.el (reveal-post-command):
6831 * saveplace.el (load-save-place-alist-from-file):
6832 * shell.el (shell-resync-dirs):
6833 * w32-common-fns.el (x-get-selection-value):
6834 * emacs-lisp/copyright.el (copyright-find-copyright):
6835 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6836 * emulation/tpu-edt.el (tpu-copy-keyfile):
6837 * play/bubbles.el (bubbles--mark-neighbourhood):
6838 * progmodes/executable.el
6839 (executable-make-buffer-file-executable-if-script-p):
6840 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6842 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6844 Cleanup Eshell to rely less on dynamic scoping.
6845 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6846 last-value, and ext-command here. Bind `args' closer to `body'.
6847 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6848 (eshell--args): Declare new dynamic var.
6849 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6850 last-value, and ext-command. Pass `args' to `body'.
6851 (eshell-process-args): Bind eshell--args.
6852 (eshell-set-option): Use eshell--args.
6853 * eshell/eshell.el (eshell): Use derived-mode-p.
6854 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6855 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6856 (eshell-glob-function): Declare.
6857 * eshell/esh-util.el: Require cl-lib.
6858 (eshell-read-hosts-file): Avoid add-to-list.
6859 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6861 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6863 (eshell/diff): Remove unused var `err'.
6864 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6866 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6867 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6869 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6870 Move declaration before first use.
6871 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6872 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6875 2013-09-12 Glenn Morris <rgm@gnu.org>
6877 * term/ns-win.el (global-map): Remove binding for ispell-next,
6878 deleted 1999-05-29. (Bug#15357)
6880 2013-09-11 Glenn Morris <rgm@gnu.org>
6882 * echistory.el (electric-command-history): Remove call to deleted func.
6884 * play/landmark.el (landmark-mode): Fix typos.
6886 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6887 Check cvs-sort-ignore-file is bound.
6889 * savehist.el: No need for cl when compiling on Emacs.
6891 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6893 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6895 (eshell-self-insert-command, eshell-send-invisible):
6896 Remove unused argument.
6897 (eshell-handle-control-codes): Remove unused var `orig'.
6898 Avoid delete-backward-char.
6900 * files.el (set-auto-mode): Simplify a bit further.
6902 2013-09-11 Glenn Morris <rgm@gnu.org>
6904 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6905 (set-auto-mode): Don't regexp-quote elements.
6906 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6907 * progmodes/cc-mode.el (interpreter-mode-alist):
6908 * progmodes/ruby-mode.el (interpreter-mode-alist):
6909 Revert previous change.
6911 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6913 * play/snake.el (snake-mode):
6914 * play/mpuz.el (mpuz-mode):
6915 * play/landmark.el (lm-mode):
6916 * play/blackbox.el (blackbox-mode):
6917 * play/5x5.el (5x5-mode):
6918 * obsolete/options.el (Edit-options-mode):
6919 * net/quickurl.el (quickurl-list-mode):
6920 * net/newst-treeview.el (newsticker-treeview-mode):
6921 * mail/rmailsum.el (rmail-summary-mode):
6922 * mail/mspools.el (mspools-mode):
6923 * locate.el (locate-mode):
6924 * ibuffer.el (ibuffer-mode):
6925 * emulation/ws-mode.el (wordstar-mode):
6926 * emacs-lisp/debug.el (debugger-mode):
6927 * array.el (array-mode):
6928 * net/eudc.el (eudc-mode): Use define-derived-mode.
6929 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6930 Move initialization into declaration.
6931 (mairix-searches-mode): Use define-derived-mode.
6932 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6933 (eudc-edit-hotlist): Use dolist.
6934 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6935 (Man-mode): Use define-derived-mode.
6936 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6937 (Info-edit-mode): Use define-derived-mode.
6938 (Info-cease-edit): Use Info-mode.
6939 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6941 (eshell-mode): Use define-derived-mode.
6942 * chistory.el (command-history-mode-map): Rename from
6943 command-history-map.
6944 (command-history-mode): Use define-derived-mode.
6945 (Command-history-setup): Remove function.
6946 * calc/calc.el (calc-trail-mode-map): New var.
6947 (calc-trail-mode): Use define-derived-mode.
6948 (calc-trail-buffer): Set calc-main-buffer manually.
6949 * bookmark.el (bookmark-insert-annotation): New function.
6950 (bookmark-edit-annotation): Use it.
6951 (bookmark-edit-annotation-mode): Make it a proper major mode.
6952 (bookmark-send-edited-annotation): Use derived-mode-p.
6953 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6954 closer to its ideal place. Use \' to match EOS.
6956 * profiler.el (profiler-calltree-find): Use function-equal.
6958 2013-09-10 Glenn Morris <rgm@gnu.org>
6960 * files.el (interpreter-mode-alist): Convert to regexps.
6961 (set-auto-mode): Adapt for this. (Bug#15306)
6962 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6963 Comment out unused variable.
6964 * progmodes/cc-mode.el (interpreter-mode-alist):
6965 * progmodes/python.el (interpreter-mode-alist):
6966 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6967 * progmodes/sh-script.el (sh-set-shell):
6968 No longer use interpreter-mode-alist to get list of shells.
6970 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6972 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6974 * simple.el: Use set-temporary-overlay-map for universal-argument.
6975 (universal-argument-map): Don't use default-bindings (bug#15317).
6976 Bind switch-frame explicitly. Replace universal-argument-minus with
6977 a conditional binding.
6978 (universal-argument-num-events, saved-overriding-map): Remove.
6979 (restore-overriding-map): Remove.
6980 (universal-argument--mode): Rename from save&set-overriding-map,
6982 (universal-argument, universal-argument-more, negative-argument)
6983 (digit-argument): Adjust accordingly.
6984 (universal-argument-minus): Remove.
6985 (universal-argument-other-key): Remove.
6987 * subr.el (with-demoted-errors): Add `format' argument.
6989 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6991 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6992 `tramp-cleanup-connection'.
6994 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6995 parameters KEEP-DEBUG and KEEP-PASSWORD.
6997 * net/tramp.el (tramp-file-name-handler):
6998 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6999 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7000 (tramp-maybe-open-connection):
7001 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7002 Use `tramp-cleanup-connection'.
7004 * net/tramp-sh.el (tramp-maybe-open-connection):
7005 Catch 'uname-changed inside the progress reporter.
7007 2013-09-10 Glenn Morris <rgm@gnu.org>
7009 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7011 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7012 returns "alternate access method" in mode (eg "-rw-r--r--.").
7014 2013-09-08 Glenn Morris <rgm@gnu.org>
7016 * saveplace.el (load-save-place-alist-from-file):
7017 Demote errors. (Bug#15305)
7019 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7021 Improve compatibility with older Emacsen, and XEmacs.
7023 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7024 only if it is bound. It isn't for XEmacs.
7025 (with-tramp-progress-reporter): Do not let-bind `result'.
7026 This yields to scoping errors in XEmacs.
7027 (tramp-handle-make-auto-save-file-name): New function, moved from
7030 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7031 for `make-auto-save-file-name'.
7032 (tramp-adb--gnu-switches-to-ash):
7033 Use `tramp-compat-replace-regexp-in-string'.
7035 * net/tramp-cache.el (tramp-cache-print): Call
7036 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7038 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7039 bound. It isn't for XEmacs.
7041 * net/tramp-compat.el (tramp-compat-copy-file):
7042 Catch `wrong-number-of-arguments' error.
7043 (tramp-compat-replace-regexp-in-string): New defun.
7045 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7046 for `make-auto-save-file-name'.
7047 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7049 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7050 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7051 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7053 * net/tramp-gw.el (tramp-gw-open-network-stream):
7054 Use `tramp-compat-replace-regexp-in-string'.
7056 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7057 Call `tramp-handle-make-auto-save-file-name'.
7058 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7059 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7060 (tramp-sh-file-inotifywait-process-filter):
7061 Use `tramp-compat-replace-regexp-in-string'.
7062 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7064 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7065 for `make-auto-save-file-name'.
7066 (tramp-smb-handle-copy-directory):
7067 Call `tramp-compat-replace-regexp-in-string'.
7068 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7069 (tramp-smb-handle-copy-file): Improve error message.
7070 (tramp-smb-handle-rename-file): Rename directly only in case
7071 `newname' does not exist yet. This is a restriction of smbclient.
7072 (tramp-smb-maybe-open-connection): Rerun the function only when
7073 `auth-sources' is non-nil.
7075 2013-09-08 Kenichi Handa <handa@gnu.org>
7077 * international/characters.el: Set category "^" (Combining) for
7080 2013-09-07 Alan Mackenzie <acm@muc.de>
7082 Correctly fontify Java class constructors.
7083 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7085 (c-recognize-typeless-decls): Set the Java value to t.
7086 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7087 While handling a "(", add a check for, effectively, Java, and handle a
7088 "typeless" declaration there.
7090 2013-09-07 Roland Winkler <winkler@gnu.org>
7092 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7093 field subtitle for entry type book.
7095 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * minibuffer.el: Make minibuffer-complete call completion-in-region
7098 rather than other way around.
7099 (completion--some, completion-pcm--find-all-completions):
7100 Don't delay signals when debugging.
7101 (minibuffer-completion-contents): Beware fields within the
7102 minibuffer contents.
7103 (completion-all-sorted-completions): Use defvar-local.
7104 (completion--do-completion, completion--cache-all-sorted-completions)
7105 (completion-all-sorted-completions, minibuffer-force-complete):
7106 Add args `beg' and `end'.
7107 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7108 (minibuffer-complete): Use completion-in-region.
7109 (completion-complete-and-exit): New fun, extracted from
7110 minibuffer-complete-and-exit.
7111 (minibuffer-complete-and-exit): Use it.
7112 (completion--complete-and-exit): Rename from
7113 minibuffer--complete-and-exit.
7114 (completion-in-region--single-word): New function, extracted from
7115 minibuffer-complete-word.
7116 (minibuffer-complete-word): Use it.
7117 (display-completion-list): Make `common-substring' argument obsolete.
7118 (completion--in-region): Call completion--in-region-1 instead of
7119 minibuffer-complete.
7120 (completion-help-at-point): Pass boundaries to
7121 minibuffer-completion-help as args rather than via an overlay.
7122 (completion-pcm--string->pattern): Use `any-delim'.
7123 (completion-pcm--optimize-pattern): New function.
7124 (completion-pcm--pattern->regex): Handle `any-delim'.
7125 * icomplete.el (icomplete-forward-completions)
7126 (icomplete-backward-completions, icomplete-completions):
7127 Adjust calls to completion-all-sorted-completions and
7128 completion--cache-all-sorted-completions.
7129 (icomplete-with-completion-tables): Default to t.
7130 * emacs-lisp/crm.el (crm--current-element): Rename from
7131 crm--select-current-element. Don't put an overlay but return the
7133 (crm--completion-command): Take two new args to bind to the boundaries.
7134 (crm-completion-help): Adjust accordingly.
7135 (crm-complete): Use completion-in-region.
7136 (crm-complete-word): Use completion-in-region--single-word.
7137 (crm-complete-and-exit): Use completion-complete-and-exit.
7139 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7144 2013-09-06 Juri Linkov <juri@jurta.org>
7146 * info.el (Info-display-images-node): When image file doesn't exist
7147 display text version of the image if it's provided in the Info file.
7148 Otherwise, display the location of missing image from SRC attribute.
7149 Add help-echo text property from ALT attribute. (Bug#15279)
7151 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7153 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7154 (edit-abbrevs-mode): Use define-derived-mode.
7156 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7157 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7159 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7160 Use define-derived-mode.
7162 * epg.el (epg-start-encrypt): Minor CSE simplification.
7164 2013-09-06 William Xu <william.xwl@gmail.com>
7166 * arc-mode.el: Add support for 7za (bug#15264).
7167 (archive-7z-program): New var.
7168 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7169 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7170 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7172 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7176 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7177 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7178 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7179 (tramp-postfix-host-format, tramp-file-name-regexp)
7180 (tramp-completion-file-name-regexp)
7181 (tramp-completion-dissect-file-name)
7182 (tramp-handle-substitute-in-file-name): Remove 'url case.
7183 (tramp-file-name-regexp-url)
7184 (tramp-completion-file-name-regexp-url): Remove constants.
7186 2013-09-06 Glenn Morris <rgm@gnu.org>
7188 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7190 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7192 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7193 keywords" below "here-doc beginnings" (Bug#15270).
7195 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7197 * subr.el (pop): Use `car-safe'.
7198 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7199 to detect unused `pop' return value.
7201 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7203 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7204 (python-fill-string): Remove unused var `marker'.
7205 (python-skeleton-add-menu-items): Remove unused var `items'.
7207 * international/mule-cmds.el: Require CL.
7208 (find-coding-systems-for-charsets): Avoid add-to-list.
7209 (sanitize-coding-system-list): New function, extracted from
7210 select-safe-coding-system-interactively.
7211 (select-safe-coding-system-interactively): Use it.
7212 (read-input-method-name): Accept symbols for `default'.
7214 * emacs-lisp/advice.el (defadvice): Add indent rule.
7216 2013-09-05 Daniel Hackney <dan@haxney.org>
7220 * net/browse-url.el:
7223 * net/eudcb-ldap.el:
7236 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7237 byte compiler. Remove some unused let-bound variables.
7239 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7242 a "ref-cell", since it gets better optimized (bug#14883).
7244 2013-09-05 Glenn Morris <rgm@gnu.org>
7246 * progmodes/cc-awk.el (c-forward-sws): Declare.
7248 2013-09-04 Glenn Morris <rgm@gnu.org>
7250 * generic-x.el [rul-generic-mode]: Require cc-mode.
7251 (c++-mode-syntax-table): Declare.
7252 (rul-generic-mode-syntax-table): Init in the defvar.
7254 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7257 (vc-do-command, vc-set-async-update):
7258 * vc/vc-mtn.el (vc-mtn-dir-status):
7259 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7260 (vc-hg-pull, vc-hg-merge-branch):
7261 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7262 (vc-git-merge-branch):
7263 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7264 (vc-cvs-dir-status-files):
7265 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7266 (vc-bzr-dir-status-files):
7267 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7268 * vc/vc-annotate.el: Use lexical-binding.
7269 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7270 (vc-sentinel-movepoint): Declare.
7271 (vc-annotate): Don't use `goto-line'.
7272 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7273 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7274 (vc-sentinel-movepoint): Declare.
7275 * vc/vc-svn.el: Use lexical-binding.
7276 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7278 * vc/vc-rcs.el: Use lexical-binding.
7280 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7281 `deleted'. Don't drop errors silently.
7283 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7285 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7287 * vc/vc.el (vc-ignore): Rewrite.
7288 (vc-default-ignore): New function.
7289 (vc-default-ignore-completion-table): Use find-ignore-file.
7291 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7292 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7293 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7294 Remove. Most code moved to vc.el.
7296 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7298 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7299 * net/tramp-smb.el (tramp-smb-get-file-entries):
7300 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7301 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7303 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7305 (eww-change-select): Remove unused var `properties'.
7306 (eww-make-unique-file-name): Remove unused var `base'.
7308 * finder.el (finder-compile-keywords): Don't mess with windows.
7310 * calculator.el (calculator-funcall): Fix typo in last change.
7312 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7314 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7315 <pkg>-autoloads.el file stop us.
7317 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7318 warnings, and factor out common code.
7320 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7322 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7323 two-character operators and whether the character preceding them
7324 changes their meaning (Bug#15208).
7326 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7328 Format code sent to Python shell for robustness.
7329 * progmodes/python.el (python-shell-buffer-substring):
7331 (python-shell-send-region, python-shell-send-buffer): Use it.
7333 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7335 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7336 * net/tramp.el (tramp-user-error): ... here.
7337 (tramp-find-method, tramp-check-proper-host)
7338 (tramp-dissect-file-name, tramp-debug-message)
7339 (tramp-handle-shell-command):
7340 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7341 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7343 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7345 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7347 * avoid.el (mouse-avoidance-point-position)
7348 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7351 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7353 * progmodes/python.el (python-shell-completion-get-completions):
7354 Drop use of deleted `comint-last-prompt-overlay'.
7355 (python-nav-if-name-main): New command.
7357 2013-09-01 Glenn Morris <rgm@gnu.org>
7359 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7360 Avoid leading space in $wins. Otherwise the sed command used by
7361 eg compile-main ends up containing "/*.el". (Bug#15170)
7363 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7365 2013-08-30 Glenn Morris <rgm@gnu.org>
7367 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7368 Fix is-this-a-directory logic. (Bug#15220)
7370 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * textmodes/css-mode.el: Use SMIE.
7373 (css-smie-grammar): New var.
7374 (css-smie--forward-token, css-smie--backward-token)
7375 (css-smie-rules): New functions.
7376 (css-mode): Use them.
7377 (css-navigation-syntax-table): Remove var.
7378 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7379 (css-indent-calculate, css-indent-line): Remove functions.
7381 Misc changes to reduce use of `(lambda...); and other cleanups.
7382 * cus-edit.el: Use lexical-binding.
7383 (customize-push-and-save, customize-apropos)
7384 (custom-buffer-create-internal): Use closures.
7385 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7386 * progmodes/ada-xref.el: Use setq.
7387 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7388 * dframe.el: Use lexical-binding.
7389 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7390 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7391 * descr-text.el: Use lexical-binding.
7392 (describe-text-widget, describe-text-sexp, describe-property-list):
7394 * comint.el (comint-history-isearch-push-state): Use a closure.
7395 * calculator.el: Use lexical-binding.
7396 (calculator-number-to-string): Make it work with lexical-binding.
7397 (calculator-funcall): Same and use cl-letf.
7399 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7400 (lisp--company-doc-string, lisp--company-location): New functions.
7401 (lisp-completion-at-point): Use them to improve Company support.
7403 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7404 params of lambda expressions.
7405 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7406 (ruby-smie--opening-pipe-p): New function.
7407 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7408 symbols and matched |...| for formal params.
7409 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7410 from being treated as hanging. Handle "rescue".
7412 2013-08-29 Glenn Morris <rgm@gnu.org>
7414 * progmodes/cc-engine.el (c-pull-open-brace):
7415 Move definition before use.
7417 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7419 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7420 are immutable. Don't use `unsafe' any more.
7421 (cl--defsubst-expand): Don't substitute at the same time as keeping
7422 a residual unused let-binding. Don't use `unsafe' any more.
7424 2013-08-29 Glenn Morris <rgm@gnu.org>
7426 * calendar/cal-china.el (calendar-chinese-year-cache):
7429 * nxml/nxml-util.el (nxml-debug-clear-inside):
7430 Use cl-loop rather than loop.
7432 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7434 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7436 2013-08-28 Glenn Morris <rgm@gnu.org>
7438 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7440 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7442 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7444 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7446 * simple.el (repeat-complex-command--called-interactively-skip):
7448 (repeat-complex-command): Use it (bug#14136).
7450 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7451 (c-define-abbrev-table): Add `doc' argument.
7452 (c-mode-abbrev-table, c++-mode-abbrev-table)
7453 (objc-mode-abbrev-table, java-mode-abbrev-table)
7454 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7455 (awk-mode-abbrev-table): Use it.
7456 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7457 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7458 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7459 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7460 Move initialization into the declaration; and remove any
7463 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7464 and dynamic let binding.
7466 * vc/smerge-mode.el: Remove redundant :group args.
7468 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7471 2013-08-28 Juri Linkov <juri@jurta.org>
7473 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7474 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7475 (isearch-other-meta-char): Handle an undefined shifted printing
7476 character by downshifting it. (Bug#15200)
7478 2013-08-28 Juri Linkov <juri@jurta.org>
7480 * isearch.el (isearch-search): Change regexp error message for
7481 non-regexp searches. (Bug#15166)
7483 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7485 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7486 for portability to hosts where /bin/sh has problems.
7488 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7490 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7492 2013-08-27 Juri Linkov <juri@jurta.org>
7494 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7495 in the keyboard macro. (Bug#15126)
7497 2013-08-27 Juri Linkov <juri@jurta.org>
7499 * isearch.el (isearch-quote-char): Comment out converting unibyte
7500 to multibyte, thus syncing with its `quoted-insert' counterpart.
7503 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7505 * window.el (display-buffer-use-some-window): Add missing
7506 argument in call of get-largest-window (Bug#15185).
7507 Reported by Stephen Leake.
7509 2013-08-27 Glenn Morris <rgm@gnu.org>
7511 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7513 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7515 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7516 from a matcher-function unless there's no more matches (bug#15161).
7518 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7520 * minibuffer.el: Revert change from 2013-08-20.
7522 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7523 with text property `tramp-default', if appropriate.
7524 (tramp-check-proper-host): New defun.
7525 (tramp-dissect-file-name): Do not check hostname. Revert change
7527 (tramp-backtrace): Make VEC-OR-PROC optional.
7529 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7530 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7531 * net/tramp-sh.el (tramp-maybe-open-connection):
7532 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7533 Apply `tramp-check-proper-host'.
7535 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7537 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7538 lambda expression in order to have `describe-variable' display it.
7540 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7542 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7543 BUF can be optional. (Bug#15186)
7545 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7547 * progmodes/flymake.el (flymake-get-real-file-name-function):
7548 Fix broken customization. (Bug#15184)
7550 2013-08-25 Alan Mackenzie <acm@muc.de>
7552 Improve indentation of bracelists defined by macros (without "=").
7554 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7555 expansion begins with "{", regard it as bracelist when it doesn't
7558 Parse C++ inher-intro when there's a template split over 2 lines.
7560 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7561 rigorously the search for "class" etc. followed by ":".
7563 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7564 random languages a regexp which never matches rather than nil.
7566 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7568 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7569 (c-awk-regexp-one-line-possibly-open-char-list-re)
7570 (c-awk-one-line-possibly-open-regexp-re)
7571 (c-awk-one-line-non-syn-ws*-re): Remove.
7572 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7573 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7574 (c-awk-space*-unclosed-regexp-/-re): New constants.
7575 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7576 aren't regexp delimiters.
7578 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7579 handling for a rare situation in AWK Mode involving unterminated
7582 2013-08-23 Glenn Morris <rgm@gnu.org>
7584 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7586 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7588 * files.el (create-file-buffer): If the result would begin with
7589 spaces, prepend a "|" instead of removing them. (Bug#15162)
7591 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7593 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7594 text-properties (bug#15155).
7596 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7598 (calc-keypad-redraw): Remove unused var `pad'.
7599 (calc-keypad-press): Remove unused var `menu'.
7601 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7603 * window.el (display-buffer-pop-up-frame):
7604 Call pop-up-frame-function with BUFFER current so `make-frame' will
7605 use it as the new frame's buffer (Bug#15133).
7607 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7609 * calendar/timeclock.el: Minor cleanups.
7610 (timeclock-ask-before-exiting, timeclock-use-display-time):
7612 (timeclock-modeline-display): Define as alias before the
7614 (timeclock-mode-line-display): Use define-minor-mode.
7615 (timeclock-day-list-template): Make it a function, add an argument.
7616 (timeclock-day-list-required, timeclock-day-list-length)
7617 (timeclock-day-list-debt, timeclock-day-list-span)
7618 (timeclock-day-list-break): Adjust calls accordingly.
7620 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7622 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7623 Use read--expression so that completion works again.
7625 2013-08-21 Sam Steingold <sds@gnu.org>
7627 Add rudimentary inferior shell interaction
7628 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7629 (sh-set-shell): Reset it.
7630 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7631 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7633 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * align.el: Use lexical-binding.
7636 (align-region): Simplify accordingly.
7638 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7640 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7642 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7645 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7649 * net/tramp-cmds.el:
7651 * net/tramp-gvfs.el:
7653 * net/tramp-sh.el: Don't wrap external variable declarations by
7654 `eval-when-compile'.
7656 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7658 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7659 now that Emacs supports ImageMagick animations.
7661 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7663 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7664 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7666 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7668 * window.el (mouse-autoselect-window-select): Do autoselect when
7669 mouse pointer is on margin.
7671 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7673 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7675 2013-08-16 Glenn Morris <rgm@gnu.org>
7677 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7678 Handle "Remote Directory" response of some clients. (Bug#15058)
7680 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7681 Tweak warning. (Bug#14926)
7683 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7684 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7686 * image-mode.el (image-mode-map): Add menu items to reverse,
7687 increase, decrease, reset animation speed.
7688 (image--set-speed, image-increase-speed, image-decrease-speed)
7689 (image-reverse-speed, image-reset-speed): New functions.
7690 (image-mode-map): Add bindings for speed commands.
7692 * image.el (image-animate-get-speed, image-animate-set-speed):
7694 (image-animate-timeout): Respect image :speed property.
7696 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7699 previous line (bug#15101).
7700 (debugger-eval-expression, debugger-record-expression):
7701 Use read--expression (bug#15102).
7703 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7705 Remove byte compiler warnings, visible when compiling with
7706 `byte-compile-force-lexical-warnings' set to t.
7708 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7709 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7710 (tramp-handle-unhandled-file-name-directory)
7711 (tramp-handle-file-notify-add-watch, tramp-action-login)
7712 (tramp-action-succeed, tramp-action-permission-denied)
7713 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7716 * net/tramp-adb.el (tramp-adb-parse-device-names)
7717 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7718 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7719 (tramp-adb-handle-file-truename): Remove unused arguments.
7721 * net/tramp-cache.el (tramp-flush-directory-property)
7722 (tramp-flush-connection-property, tramp-list-connections)
7723 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7725 * net/tramp-compat.el (tramp-compat-make-temp-file):
7726 Rename FILENAME to F.
7728 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7729 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7730 (tramp-zeroconf-parse-workstation-device-names)
7731 (tramp-zeroconf-parse-webdav-device-names)
7732 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7734 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7735 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7737 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7739 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7740 (tramp-sh-handle-insert-file-contents-literally)
7741 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7743 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7744 Remove unused variables.
7746 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7747 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7748 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7750 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7751 Make them a defconst.
7752 (tramp-uuencode-region): Remove unused variable.
7754 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7756 * frameset.el (frameset--prop-setter): New function.
7757 (frameset-prop): Add gv-setter declaration.
7758 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7759 parameter was already set in FILTERED. Doc fix.
7760 (frameset--record-minibuffer-relationships): Allow saving a
7761 minibufferless frame without its corresponding minibuffer frame.
7762 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7763 frame, if the frame id matches.
7764 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7765 frames before orphaned ones.
7766 (frameset-restore): Warn about orphaned windows, instead of error out.
7768 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7770 * window.el (window-make-atom): Don't overwrite parameter
7772 (display-buffer-in-atom-window): Handle special case where we
7773 split an already atomic window.
7774 (window--major-non-side-window, display-buffer-in-side-window)
7775 (window--side-check): Ignore minibuffer window when walking
7777 (window-deletable-p): Return 'frame only if no other frame uses
7778 our minibuffer window.
7779 (record-window-buffer): Run buffer-list-update-hook.
7780 (split-window): Make sure window--check-frame won't destroy an
7781 existing atomic window in case the new window gets nested
7783 (display-buffer-at-bottom): Ignore minibuffer window when
7784 walking window tree. Don't split a side window.
7785 (pop-to-buffer): Don't set-buffer here, the select-window call
7787 (mouse-autoselect-window-select): Autoselect only if we are in the
7788 text portion of the window.
7790 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7792 * net/shr.el (shr-parse-image-data): New function to grab both the
7793 data itself and the Content-Type.
7794 (shr-put-image): Use it.
7796 * net/eww.el (eww-display-image): Ditto.
7798 * image.el (image-content-type-suffixes): New variable.
7800 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7802 * progmodes/python.el (python-imenu--build-tree)
7803 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7805 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7807 * simple.el (backward-word): Mention the optional argument.
7809 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * frameset.el (frameset--make): Rename constructor from make-frameset.
7812 (frameset-p, frameset-valid-p): Don't autoload.
7813 (frameset-valid-p): Use normal accessors.
7815 2013-08-13 Glenn Morris <rgm@gnu.org>
7817 * progmodes/compile.el (compile-command): Tweak example in doc.
7818 * obsolete/scribe.el (scribe-mode):
7819 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7821 * mail/feedmail.el (feedmail-confirm-outgoing)
7822 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7824 * cus-start.el (truncate-partial-width-windows): Fix type.
7826 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7828 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7830 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7832 * emacs-lisp/timer.el (timer--time-setter): New function.
7833 (timer--time): Use it as gv-setter.
7835 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7836 setter is not a symbol.
7838 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7840 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7841 if sending fails. This makes debugging easier.
7843 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7845 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7846 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7847 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7849 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7851 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7853 2013-08-12 Glenn Morris <rgm@gnu.org>
7855 * format.el (format-annotate-function):
7856 Handle read-only text properties in the source. (Bug#14887)
7858 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7860 * net/eww.el (eww-display-html): Ignore coding system errors.
7861 One web site uses "utf-8lias" as the coding system.
7863 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7865 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7867 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7869 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7870 (tutorial--detailed-help): Remove unused local variables.
7871 (tutorial--save-tutorial-to): Use ignore-errors.
7872 (help-with-tutorial): Use looking-at-p.
7874 * view.el (view-buffer-other-window, view-buffer-other-frame):
7875 Mark unused arguments.
7877 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7878 (woman-select-symbol-fonts, woman, woman-find-file)
7879 (woman-insert-file-contents, woman-non-underline-faces):
7881 (woman1-unquote): Move declaration.
7883 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7884 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7885 argument. Remove unused local variable.
7886 (xml-parse-elem-type): Use string-match-p.
7887 (xml-substitute-numeric-entities): Use ignore-errors.
7889 * calculator.el (calculator): Mark unused argument.
7890 (calculator-paste, calculator-quit, calculator-integer-p):
7892 (calculator-string-to-number, calculator-decimal, calculator-exp)
7893 (calculator-op-or-exp): Use string-match-p.
7895 * dired.el (dired-buffer-more-recently-used-p): Declare.
7896 (dired-insert-set-properties, dired-insert-old-subdirs):
7899 * dired-aux.el (dired-compress): Use ignore-errors.
7900 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7901 (dired-do-async-shell-command, dired-do-shell-command)
7902 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7903 (dired-insert-subdir-validate): Use string-match-p.
7904 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7905 (dired-add-entry): Use string-match-p, looking-at-p.
7906 (dired-insert-subdir-newpos): Remove unused local variable.
7908 * filenotify.el (file-notify-callback): Remove unused local variable.
7910 * filesets.el (filesets-error): Mark unused argument.
7911 (filesets-which-command-p, filesets-filter-dir-names)
7912 (filesets-directory-files, filesets-get-external-viewer)
7913 (filesets-ingroup-get-data): Use string-match-p.
7915 * find-file.el (ff-other-file-name, ff-other-file-name)
7916 (ff-find-the-other-file, ff-cc-hh-converter):
7917 Remove unused local variables.
7918 (ff-get-file-name): Use string-match-p.
7919 (ff-all-dirs-under): Use ignore-errors.
7921 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7922 (follow-select-if-visible): Remove unused local variable.
7924 * forms.el (read-file-filter): Move declaration.
7925 (forms--make-format, forms--make-parser, forms-insert-record):
7926 Quote function with #'.
7927 (forms--update): Use string-match-p. Quote function with #'.
7929 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7930 (help-make-xrefs): Use looking-at-p.
7931 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7933 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7934 (ibuffer-confirm-operation-on): Use string-match-p.
7936 * msb.el (msb-item-handler, msb-dired-item-handler):
7937 Mark unused arguments.
7939 * ses.el (ses-decode-cell-symbol)
7940 (ses-kill-override): Remove unused local variable.
7941 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7942 (ses-load): Use ignore-errors, looking-at-p.
7943 (ses-jump-safe): Use ignore-errors.
7944 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7946 * tabify.el (untabify, tabify): Mark unused arguments.
7948 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7949 Mark unused argument.
7950 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7951 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7953 * emacs-lisp/timer.el (timer--time): Define setter with
7954 gv-define-setter to avoid deprecation warning.
7956 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7957 (*record-cmpl-statistics-p*): Remove (was commented out).
7958 (cmpl-statistics-block): Remove (body was commented out).
7959 All callers changed.
7960 (add-completions-from-buffer, load-completions-from-file):
7961 Remove unused variables.
7963 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7965 * filecache.el (file-cache-delete-file-list):
7966 Print message only when told so.
7967 (file-cache-files-matching): Use #' in mapconcat argument.
7969 * ffap.el (ffap-url-at-point): Fix reference to variable
7970 thing-at-point-default-mail-uri-scheme.
7972 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7974 * subr.el (define-error): New function.
7975 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7976 error-file-not-found and define with define-error.
7977 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7978 and define with define-error.
7979 * userlock.el (file-locked, file-supersession):
7980 * simple.el (mark-inactive):
7981 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7982 * progmodes/ada-mode.el (ada-mode-errors):
7983 * play/life.el (life-extinct):
7984 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7985 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7986 * nxml/rng-util.el (rng-error):
7987 * nxml/rng-uri.el (rng-uri-error):
7988 * nxml/rng-match.el (rng-compile-error):
7989 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7990 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7991 * nxml/nxml-rap.el (nxml-scan-error):
7992 * nxml/nxml-outln.el (nxml-outline-error):
7993 * net/soap-client.el (soap-error):
7994 * net/gnutls.el (gnutls-error):
7995 * net/ange-ftp.el (ftp-error):
7996 * mpc.el (mpc-proc-error):
7997 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7998 (json-number-format, json-string-escape, json-string-format)
7999 (json-key-format, json-object-format):
8000 * jka-compr.el (compression-error):
8001 * international/quail.el (quail-error):
8002 * international/kkc.el (kkc-error):
8003 * emacs-lisp/ert.el (ert-test-failed):
8004 * calc/calc.el (calc-error, inexact-result, math-overflow)
8006 * bookmark.el (bookmark-error-no-filename):
8007 * epg.el (epg-error): Define with define-error.
8009 * time.el (display-time-event-handler)
8010 (display-time-next-load-average): Don't call sit-for since it seems
8011 unnecessary (bug#15045).
8013 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8014 Use #' instead of ' to quote functions.
8015 (checkdoc-output-mode): Use setq-local.
8016 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8017 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8018 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8019 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8020 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8021 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8022 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8023 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8025 * ido.el (ido-completion-help): Fix up compiler warning.
8027 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8029 * frameset.el (frameset-p): Add autoload cookie.
8030 (frameset--jump-to-register): New function, based on code moved from
8032 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8034 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8035 (frameset-restore, frameset-save, frameset-session-filter-alist):
8036 Remove declarations.
8037 (register-alist): Doc fix.
8038 (frameset-to-register): Move to frameset.el.
8039 (jump-to-register, describe-register-1): Remove frameset-specific code.
8041 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8043 * allout-widgets.el (allout-widgets-pre-command-business)
8044 (allout-widgets-post-command-business)
8045 (allout-widgets-after-change-handler)
8046 (allout-decorate-item-and-context, allout-set-boundary-marker)
8047 (allout-body-modification-handler)
8048 (allout-graphics-modification-handler): Mark ignored arguments.
8049 (allout-widgets-post-command-business)
8050 (allout-widgets-exposure-change-processor)
8051 (allout-widgets-exposure-undo-processor)
8052 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8053 (allout-parse-item-at-point, allout-decorate-item-guides)
8054 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8055 * allout.el (epa-passphrase-callback-function): Declare.
8056 (allout-overlay-insert-in-front-handler)
8057 (allout-overlay-interior-modification-handler)
8058 (allout-isearch-end-handler, allout-chart-siblings)
8059 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8060 (allout-yank-processing, allout-process-exposed)
8061 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8062 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8063 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8064 (lisp-indent-defform): Mark ignored arguments.
8065 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8066 (calculate-lisp-indent): Remove unused variables.
8067 * international/characters.el (indian-2-column, arabic-2-column)
8068 (tibetan): Mark ignored arguments.
8069 (use-cjk-char-width-table): Mark ignored arguments.
8070 Remove unused variables.
8071 * international/fontset.el (build-default-fontset-data)
8072 (x-compose-font-name, create-fontset-from-fontset-spec):
8073 Mark ignored arguments.
8074 (fontset-plain-name): Remove unused variables.
8075 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8076 (keyboard-coding-system): Mark ignored arguments.
8077 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8078 * help.el (resize-temp-buffer-window):
8079 * window.el (display-buffer-in-major-side-window)
8080 (display-buffer-in-side-window, display-buffer-in-previous-window):
8081 Remove unused variables.
8082 * isearch.el (isearch-forward-symbol):
8083 * version.el (emacs-bzr-version-bzr):
8084 * international/mule-cmds.el (current-language-environment):
8085 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8087 * term/pc-win.el (x-list-fonts, x-display-planes)
8088 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8089 (x-server-version, x-display-screens, x-display-mm-height)
8090 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8091 (x-selection-owner-p, x-own-selection-internal)
8092 (x-disown-selection-internal, x-get-selection-internal)
8093 (msdos-initialize-window-system):
8094 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8095 * term/x-win.el (x-handle-no-bitmap-icon):
8096 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8097 (vc-default-find-file-hook, vc-default-extra-menu):
8098 Mark ignored arguments.
8100 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8102 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8103 break-condition in the context of the debugged code (bug#12685).
8105 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8108 Do not use an overlay to highlight the last prompt. (Bug#14744)
8109 (comint-mode): Make comint-last-prompt buffer local.
8110 (comint-last-prompt): New variable.
8111 (comint-last-prompt-overlay): Remove. Superseded by
8113 (comint-snapshot-last-prompt, comint-output-filter):
8114 Use comint-last-prompt.
8116 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8118 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8119 (frameset-save): Check validity of the resulting frameset.
8121 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8123 * ido.el (ido-record-command): Add doc string.
8125 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8127 * frameset.el (frameset): Do not disable creation of the default
8128 frameset-p predicate. Doc fix.
8129 (frameset-valid-p): New function, copied from the old predicate-p.
8130 Add additional checks.
8131 (frameset-restore): Check with frameset-valid-p.
8132 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8133 (frameset-name, frameset-description, frameset-properties)
8134 (frameset-states): Add docstring.
8135 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8136 (frameset-filter-alist): Doc fixes.
8138 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8140 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8142 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8144 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8145 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8146 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8147 (byte-compile-normal-call): Remove obsolescence check.
8149 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8151 * frameset.el (frameset-restore): Doc fix.
8153 * register.el (frameset-frame-id, frameset-frame-with-id)
8154 (frameset-p, frameset-restore, frameset-save): Declare.
8155 (register-alist): Document framesets.
8156 (frameset-session-filter-alist): Declare.
8157 (frameset-to-register): New function.
8158 (jump-to-register): Implement jumping to framesets. Doc fix.
8159 (describe-register-1): Describe framesets.
8161 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8163 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8165 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8166 Use lexical-binding.
8168 * frameset.el (frameset): Use type vector, not list (incompatible
8169 change). Do not declare a new constructor, use the default one.
8170 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8171 `name' and `description', respectively, and add read-only slot
8172 `timestamp'. Doc fixes.
8173 (frameset-copy, frameset-persistent-filter-alist)
8174 (frameset-filter-alist, frameset-switch-to-gui-p)
8175 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8176 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8177 (frameset-filter-iconified, frameset-keep-original-display-p):
8179 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8180 Rename from frameset-filter-(save|restore)-param. All callers changed.
8182 (frameset-p): Adapt to change to vector and be more thorough.
8183 Change arg name to OBJECT. Doc fix.
8184 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8185 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8186 All callers changed.
8187 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8188 All callers changed.
8189 (frameset--record-minibuffer-relationships): Rename from
8190 frameset--process-minibuffer-frames. All callers changed.
8191 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8192 Use new default constructor (again). Doc fix.
8193 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8194 All callers changed.
8195 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8196 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8198 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8199 PARAMETERS and WINDOW-STATE, respectively.
8200 (frameset-restore): Add new keyword argument PREDICATE.
8201 Reset frameset--target-display to nil. Doc fix.
8203 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8207 (bat-mode-syntax-table): Mark \n as end-of-comment.
8208 (bat-font-lock-keywords): Remove comment rule.
8210 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8211 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8213 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8214 (byte-compile-callargs-warn): Use `push'.
8215 (byte-compile-arglist-warn): Ignore higher-order "calls".
8216 (byte-compile-file-form-autoload): Use `pcase'.
8217 (byte-compile-function-form): If quoting a symbol, check that it exists.
8219 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8221 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8222 and add a few popular commands found in batch files.
8223 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8224 (dos-mode): Doc fixes.
8226 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8228 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8229 (dos-mode): Use setq-local. Add space after "rem".
8230 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8231 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8233 2013-08-07 Arni Magnusson <arnima@hafro.is>
8235 * progmodes/dos.el: New file.
8236 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8239 2013-08-06 Glenn Morris <rgm@gnu.org>
8241 * calendar/calendar.el: Add new faces, and day-header-array.
8242 (calendar-weekday-header, calendar-weekend-header)
8243 (calendar-month-header): New faces.
8244 (calendar-day-header-construct): New function.
8245 (calendar-day-header-width): Also :set calendar-day-header-array.
8246 (calendar-american-month-header, calendar-european-month-header)
8247 (calendar-iso-month-header): Use calendar- faces.
8248 (calendar-generate-month):
8249 Use calendar-day-header-array for day headers; apply faces to them.
8250 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8251 (calendar-abbrev-construct): Add optional maxlen argument.
8252 (calendar-day-name-array): Doc fix.
8253 (calendar-day-name-array, calendar-abbrev-length)
8254 (calendar-day-abbrev-array):
8255 Also :set calendar-day-header-array, and maybe redraw.
8256 (calendar-day-header-array): New option. (Bug#15007)
8257 (calendar-font-lock-keywords): Set to nil and make obsolete.
8258 (calendar-day-name): Add option to use header array.
8260 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8262 * net/shr.el (shr-render-td): Remove debugging.
8263 (shr-render-td): Make width computation consistent by defaulting
8264 all zero-width columns to 10 characters. This may not be optimal,
8265 but it's at least consistent.
8266 (shr-make-table-1): Redo last change to fix the real problem in
8269 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8271 * files.el (cache-long-line-scans):
8272 Make obsolete alias to `cache-long-scans'.
8274 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8276 * frameset.el (frameset, frameset-filter-alist)
8277 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8278 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8279 (frameset-compute-pos): Rename from frameset--compute-pos,
8281 (frameset-move-onscreen): Use frameset-compute-pos.
8282 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8284 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8285 Fix typos in docstrings.
8287 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8289 * frame.el (get-other-frame): Tiny cleanup.
8291 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8293 * vc/vc.el (vc-default-ignore-completion-table):
8294 Silence byte-compiler warning.
8296 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8297 slot, which can indeed be nil.
8298 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8299 Move entry for `left' from persistent to live filter alist.
8300 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8302 (frameset-filter-params): When restoring a frame, copy items added to
8303 `filtered', to avoid unwittingly modifying the original parameters.
8304 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8305 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8307 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8308 to use looking-at-p instead of looking-at. (Bug#15028)
8310 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8312 Revert introduction of isearch-filter-predicates (bug#14714).
8313 Rely on add-function instead.
8314 * isearch.el (isearch-filter-predicates): Rename it back to
8315 isearch-filter-predicate.
8316 (isearch-message-prefix): Use advice-function-mapc and advice
8317 properties to get the isearch-message-prefix.
8318 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8319 instead of run-hook-with-args-until-failure.
8320 (isearch-filter-visible): Not obsolete any more.
8321 * loadup.el: Preload nadvice.
8322 * replace.el (perform-replace): Revert to funcall
8323 instead of run-hook-with-args-until-failure.
8324 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8325 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8326 dired-isearch-filenames-toggle; make it into a proper minor mode.
8327 Use add/remove-function.
8328 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8329 Call the minor-mode rather than add/remove-hook.
8330 (dired-isearch-filter-filenames):
8331 Remove isearch-message-prefix property.
8332 * info.el (Info--search-loop): New function, extracted from Info-search.
8333 Funcall isearch-filter-predicate instead of
8334 run-hook-with-args-until-failure isearch-filter-predicates.
8335 (Info-search): Use it.
8336 (Info-mode): Use isearch-filter-predicate instead of
8337 isearch-filter-predicates.
8339 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8341 Do not call to `selected-window' where it is assumed by default.
8342 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8343 `window-hscroll', `window-width', `window-height', `window-buffer',
8344 `window-frame', `window-start', `window-point', `next-window'
8345 and `window-display-table'.
8346 * abbrev.el (abbrev--default-expand):
8347 * bs.el (bs--show-with-configuration):
8348 * buff-menu.el (Buffer-menu-mouse-select):
8349 * calc/calc.el (calc):
8350 * calendar/calendar.el (calendar-generate-window):
8351 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8353 * comint.el (send-invisible, comint-dynamic-complete-filename)
8354 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8355 * completion.el (complete):
8356 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8357 * disp-table.el (describe-current-display-table):
8358 * doc-view.el (doc-view-insert-image):
8359 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8360 * ehelp.el (with-electric-help):
8361 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8362 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8363 * emacs-lisp/helper.el (Helper-help-scroller):
8364 * emulation/cua-base.el (cua--post-command-handler-1):
8365 * eshell/esh-mode.el (eshell-output-filter):
8366 * ffap.el (ffap-gnus-wrapper):
8367 * help-macro.el (make-help-screen):
8368 * hilit-chg.el (highlight-compare-buffers):
8369 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8370 * hl-line.el (global-hl-line-highlight):
8371 * icomplete.el (icomplete-simple-completing-p):
8372 * isearch.el (isearch-done):
8373 * jit-lock.el (jit-lock-stealth-fontify):
8374 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8375 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8376 * mpc.el (mpc-tagbrowser, mpc):
8377 * net/rcirc.el (rcirc-any-buffer):
8378 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8379 * play/landmark.el (landmark-max-width, landmark-max-height):
8380 * play/zone.el (zone):
8381 * progmodes/compile.el (compilation-goto-locus):
8382 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8383 * progmodes/etags.el (find-tag-other-window):
8384 * progmodes/fortran.el (fortran-column-ruler):
8385 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8386 * progmodes/verilog-mode.el (verilog-point-text):
8387 * reposition.el (reposition-window):
8388 * rot13.el (toggle-rot13-mode):
8389 * server.el (server-switch-buffer):
8390 * shell.el (shell-dynamic-complete-command)
8391 (shell-dynamic-complete-environment-variable):
8392 * simple.el (insert-buffer, set-selective-display)
8393 (delete-completion-window):
8394 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8395 (speedbar-recenter):
8396 * startup.el (fancy-splash-head):
8397 * textmodes/ispell.el (ispell-command-loop):
8398 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8399 * tutorial.el (help-with-tutorial):
8400 * vc/add-log.el (add-change-log-entry):
8401 * vc/compare-w.el (compare-windows):
8402 * vc/ediff-help.el (ediff-indent-help-message):
8403 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8404 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8405 (ediff-setup-control-frame):
8406 * vc/emerge.el (emerge-position-region):
8407 * vc/pcvs-util.el (cvs-bury-buffer):
8408 * window.el (walk-windows, mouse-autoselect-window-select):
8409 * winner.el (winner-set-conf, winner-undo): Related users changed.
8411 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8413 * frameset.el (frameset--set-id): Doc fix.
8414 (frameset-frame-id, frameset-frame-id-equal-p)
8415 (frameset-locate-frame-id): New functions.
8416 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8417 (frameset-restore): Use them.
8419 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8421 Do not call to `selected-frame' where it is assumed by default.
8422 Affected functions are `raise-frame', `redraw-frame',
8423 `frame-first-window', `frame-terminal' and `delete-frame'.
8424 * calendar/appt.el (appt-disp-window):
8425 * epg.el (epg-wait-for-completion):
8426 * follow.el (follow-delete-other-windows-and-split)
8427 (follow-avoid-tail-recenter):
8428 * international/mule.el (set-terminal-coding-system):
8429 * mail/rmail.el (rmail-mail-return):
8430 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8431 * progmodes/f90.el (f90-add-imenu-menu):
8432 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8433 * server.el (server-switch-buffer):
8434 * simple.el (delete-completion-window):
8436 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8437 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8438 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8439 * vc/ediff.el (ediff-documentation): Related users changed.
8440 * frame.el (selected-terminal): Remove the leftover.
8442 2013-08-05 Glenn Morris <rgm@gnu.org>
8444 * calendar/calendar.el (calendar-generate-month):
8445 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8446 (calendar-generate-month, calendar-font-lock-keywords):
8447 Fix for calendar-day-header-width > length of any day name.
8449 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8451 * desktop.el (desktop-clear): Use new name of sort predicate.
8453 * frameset.el (frameset): Add docstring. Move :version property to its
8455 (frameset-copy): Rename from copy-frameset.
8456 (frameset-p): Check more thoroughly.
8457 (frameset-prop): Do not check for :version, which is no longer a prop.
8458 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8459 Use new :never value instead of t.
8460 (frameset-filter-alist): Expand and clarify docstring.
8461 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8462 (frameset-filter-minibuffer, frameset-filter-save-param)
8463 (frameset-filter-restore-param, frameset-filter-iconified):
8464 Add pointer to docstring of frameset-filter-alist.
8465 (frameset-filter-params): Rename filter values to be more meaningful:
8466 :never instead of t, and reverse the meanings of :save and :restore.
8467 (frameset--process-minibuffer-frames): Clarify error message.
8468 (frameset-save): Avoid unnecessary and confusing call to framep.
8469 Use new BOA constructor for framesets.
8470 (frameset--reuse-list): Doc fix.
8471 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8472 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8473 (frameset-minibufferless-first-p): Doc fix.
8474 Rename from frameset-sort-frames-for-deletion.
8475 (frameset-restore): Doc fixes. Use new function names.
8476 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8478 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8480 * desktop.el (desktop-restore-forces-onscreen)
8481 (desktop-restore-reuses-frames): Document :keyword constant values.
8482 (desktop-filter-parameters-alist): Remove, now identical to
8483 frameset-filter-alist.
8484 (desktop--filter-tty*): Remove, moved to frameset.el.
8485 (desktop-save-frameset, desktop-restore-frameset):
8486 Do not pass :filters argument.
8488 * frameset.el (frameset-live-filter-alist)
8489 (frameset-persistent-filter-alist): New variables.
8490 (frameset-filter-alist): Use them. Add autoload cookie.
8491 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8492 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8493 `frameset--id' (it's supposed to be internal to frameset.el).
8494 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8495 (frameset--initial-params): New function.
8496 (frameset--get-frame): Use it. Doc fix.
8497 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8498 Accept :all, not 'all.
8499 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8500 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8501 with fbound symbols. Fix frame id matching, and remove matching ids if
8502 the frame being restored is deleted. Obey :delete.
8504 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8506 * subr.el (macrop): New function.
8507 (text-clone--maintaining): New var.
8508 (text-clone--maintain): Rename from text-clone-maintain. Use it
8509 instead of inhibit-modification-hooks.
8511 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8512 a proxy, so as handle autoloads and redefinitions of the target.
8513 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8515 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8516 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8517 (pcase--mutually-exclusive-p): New function.
8518 (pcase--split-consp): Use it.
8519 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8520 mutually exclusive with the current predicate.
8522 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8523 (edebug-macrop): Remove. Use `macrop' instead.
8524 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8526 * eshell/esh-cmd.el (eshell-macrop):
8527 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8529 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8531 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8532 (advice-mapc): New function, using it.
8533 (advice-function-member-p): New function.
8534 (advice--normalize): Store the cdr in advice--saved-rewrite since
8535 that's the part that will be changed.
8536 (advice--symbol-function): New function.
8537 (advice-remove): Handle removal before the function is defined.
8538 Adjust to new advice--saved-rewrite.
8539 (advice-member-p): Use advice-function-member-p and
8540 advice--symbol-function.
8542 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8544 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8545 (frameset-filter-minibuffer): Doc fix.
8546 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8547 (frameset--set-id, frameset--process-minibuffer-frames)
8548 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8549 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8551 * desktop.el (desktop-clear): Only delete frames when called
8552 interactively and desktop-restore-frames is non-nil. Doc fix.
8553 (desktop-read): Set desktop-saved-frameset to nil.
8555 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8557 * vc/vc.el (vc-ignore): Rewrite.
8558 (vc-default-ignore-completion-table, vc--read-lines)
8559 (vc--add-line, vc--remove-regexp): New functions.
8561 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8562 (vc-svn-ignore-completion-table): New function.
8564 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8565 (vc-hg-ignore-completion-table)
8566 (vc-hg-find-ignore-file): New functions.
8568 * vc/vc-git.el (vc-git-ignore): Rewrite.
8569 (vc-git-ignore-completion-table)
8570 (vc-git-find-ignore-file): New functions.
8572 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8574 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8575 (vc-bzr-ignore-completion-table)
8576 (vc-bzr-find-ignore-file): New functions.
8578 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8580 * frameset.el (frameset-prop): New function and setter.
8581 (frameset-save): Do not modify frame list passed by the caller.
8583 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8587 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8589 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8590 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8592 * custom.el (custom-initialize-default, custom-initialize-set)
8593 (custom-initialize-reset, custom-initialize-changed): Affect the
8594 toplevel-default-value (bug#6275, bug#14586).
8595 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8598 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8600 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8601 Add cl-def* expressions.
8603 * frameset.el (frameset-filter-params): Fix order of arguments.
8605 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8607 Move code related to saving frames to frameset.el.
8608 * desktop.el: Require frameset.
8609 (desktop-restore-frames): Doc fix.
8610 (desktop-restore-reuses-frames): Rename from
8611 desktop-restoring-reuses-frames.
8612 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8613 (desktop-clear): Clear frames too.
8614 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8615 (desktop--filter-tty*, desktop-save, desktop-read):
8616 Use frameset functions.
8617 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8618 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8619 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8620 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8621 (desktop--process-minibuffer-frames, desktop-save-frames)
8622 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8623 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8624 (desktop--sort-states, desktop-restoring-frames-p)
8625 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8626 (desktop-restoring-frameset-p, desktop-restore-frameset)
8627 (desktop--check-dont-save, desktop-save-frameset): New functions.
8628 (desktop--app-id): New constant.
8629 (desktop-first-buffer, desktop-buffer-ok-count)
8630 (desktop-buffer-fail-count): Move before first use.
8631 * frameset.el: New file.
8633 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8635 * files.el: Use lexical-binding.
8636 (dir-locals-read-from-file): Remove unused `err' variable.
8637 (hack-dir-local-variables--warned-coding): New var.
8638 (hack-dir-local-variables): Use it to avoid repeated warnings.
8639 (make-backup-file-name--default-function): New function.
8640 (make-backup-file-name-function): Use it as default.
8641 (buffer-stale--default-function): New function.
8642 (buffer-stale-function): Use it as default.
8643 (revert-buffer-insert-file-contents--default-function): New function.
8644 (revert-buffer-insert-file-contents-function): Use it as default.
8645 (insert-directory): Avoid add-to-list.
8647 * autorevert.el (auto-revert-handler): Simplify.
8648 Use buffer-stale--default-function.
8650 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8652 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8654 * whitespace.el (whitespace-ensure-local-variables): New function.
8655 (whitespace-cleanup-region): Call it.
8656 (whitespace-turn-on): Call it.
8658 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8660 Complete file name handlers.
8662 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8663 (tramp-handle-verify-visited-file-modtime)
8664 (tramp-handle-file-notify-rm-watch): New functions.
8665 (tramp-call-process): Do not bind `default-directory'.
8667 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8668 Order alphabetically.
8669 <access-file, add-name-to-file, dired-call-process>:
8670 <dired-compress-file, file-acl, file-notify-rm-watch>:
8671 <file-ownership-preserved-p, file-selinux-context>:
8672 <make-directory-internal, make-symbolic-link, set-file-acl>:
8673 <set-file-selinux-context, set-visited-file-modtime>:
8674 <verify-visited-file-modtime>: Add handler.
8675 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8678 <file-notify-add-watch, file-notify-rm-watch>:
8679 <set-file-times, set-visited-file-modtime>:
8680 <verify-visited-file-modtime>: Add handler.
8681 (with-tramp-gvfs-error-message)
8682 (tramp-gvfs-handle-set-visited-file-modtime)
8683 (tramp-gvfs-fuse-file-name): Remove.
8684 (tramp-gvfs-handle-file-notify-add-watch)
8685 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8686 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8688 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8689 Order alphabetically.
8690 <file-notify-rm-watch>: Use default Tramp handler.
8691 <executable-find>: Remove private handler.
8692 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8693 `default-directory'.
8694 (tramp-sh-handle-executable-find)
8695 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8696 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8697 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8698 Do not use `format' in `tramp-message'.
8700 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8701 <file-notify-rm-watch, set-visited-file-modtime>:
8702 <verify-visited-file-modtime>: Add handler.
8703 (tramp-smb-call-winexe): Do not bind `default-directory'.
8705 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8707 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8709 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8711 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8713 (log-view-diff-changeset): Same.
8714 (log-view-diff-common): Call backend command `previous-revision'
8715 to find out the previous revision, in both cases. Swap the
8716 variables `to' and `fr', so that `fr' usually refers to the
8717 earlier revision (Bug#14989).
8719 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8721 * ibuf-ext.el (ibuffer-filter-by-filename):
8722 Make it work with dired buffers too.
8724 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8726 * emacs-lisp/re-builder.el (reb-color-display-p):
8727 * files.el (save-buffers-kill-terminal):
8728 * net/browse-url.el (browse-url):
8729 * server.el (server-save-buffers-kill-terminal):
8730 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8731 Prefer nil to selected-frame for the first arg of frame-parameter.
8733 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8735 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8737 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8739 * minibuffer.el (completion--twq-all): Try and preserve each
8740 completion's case choice (bug#14907).
8742 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8744 * net/network-stream.el (open-network-stream): Mention the new
8745 :nogreeting parameter.
8746 (network-stream-open-starttls): Use the :nogreeting parameter
8749 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8751 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8752 more natural than popping.
8754 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8755 (shr-urlify): Highlight under mouse.
8757 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8759 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8761 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8763 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8766 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8767 point-min==1. Fix search string. Fix parentheses missing.
8769 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8770 assume point-min==1. Fix search string. Fix parentheses missing.
8772 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8774 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8777 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8779 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8780 initial frame is minibuffer-less. (Bug#14841)
8782 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8784 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8787 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8788 (tramp-maybe-open-connection): Use it.
8790 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8792 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8793 minimal set of parameters passed when creating a frame, because
8794 the minibuffer status of a frame cannot be changed later.
8796 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8798 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8799 replace-regexp-in-string and inadvertent omissions in previous change.
8800 (todo-filter-items): Ensure only file names are comma-separated in
8801 name of filtered items buffer.
8803 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8805 * desktop.el: Optionally force offscreen frames back onscreen.
8806 (desktop-restoring-reuses-frames): New option.
8807 (desktop--compute-pos, desktop--move-onscreen): New functions.
8808 (desktop--make-frame): Use desktop--move-onscreen.
8810 2013-07-27 Alan Mackenzie <acm@muc.de>
8812 Fontify a Java generic method as a function.
8813 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8816 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8818 * calendar/todo-mode.el: Add command to rename todo files.
8819 (todo-rename-file): New command.
8820 (todo-key-bindings-t): Add key binding for it. Change the
8821 bindings of todo-filter-regexp-items(-multifile) to use `x'
8822 instead of `r', since the latter is better suited to the new
8825 2013-07-27 Alan Mackenzie <acm@muc.de>
8827 Make Java try-with-resources statement parse properly.
8828 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8829 (c-block-stmt-1-2-key): New language constants/variables.
8830 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8831 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8832 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8833 with c-block-stmt-1-2-key.
8835 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8837 * desktop.el (desktop--make-frame): Apply most frame parameters after
8838 creating the frame to force (partially or totally) offscreen frames to
8839 be restored as such.
8841 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8843 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8846 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8849 `base' arg of backtrace-frame.
8851 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8853 * simple.el (list-processes): Doc fix.
8855 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8857 * desktop.el (desktop--select-frame):
8858 Try harder to reuse existing frames.
8860 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8862 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8863 (edebug-eval): Use backtrace-eval.
8864 (edebug--display, edebug--recursive-edit): Don't let-bind the
8865 edebug-outer-* vars that keep track of variables we locally let-bind.
8866 (edebug-outside-excursion): Don't restore outside values of locally
8868 (edebug--display): Use user-error.
8869 (cl-lexical-debug, cl-debug-env): Remove.
8871 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8873 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8874 are restored to be sure that they are visible before deleting any
8877 2013-07-26 Matthias Meulien <orontee@gmail.com>
8879 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8880 vc-print-root-log. (Bug#14948)
8882 2013-07-26 Richard Stallman <rms@gnu.org>
8884 Add aliases for encrypting mail.
8885 * epa.el (epa-mail-aliases): New option.
8886 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8887 Bind inhibit-read-only so read-only text doesn't ruin everything.
8888 (epa-mail-default-recipients): New subroutine broken out.
8889 Handle epa-mail-aliases.
8891 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8893 Add support for lexical variables to the debugger's `e' command.
8894 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8895 vars, except for debugger-outer-match-data.
8896 (debugger-frame-number): Move check for "on a function call" from
8897 callers into it. Add `skip-base' argument.
8898 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8899 (debugger-env-macro): Only reset the state stored in non-variables,
8900 i.e. current-buffer and match-data.
8901 (debugger-eval-expression): Rewrite using backtrace-eval.
8902 * subr.el (internal--called-interactively-p--get-frame): Remove.
8903 (called-interactively-p):
8904 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8905 `base' arg of backtrace-frame instead.
8907 2013-07-26 Glenn Morris <rgm@gnu.org>
8909 * align.el (align-regexp): Doc fix. (Bug#14857)
8910 (align-region): Explicit error if subexpression missing/does not match.
8912 * simple.el (global-visual-line-mode):
8913 Do not duplicate the mode lighter. (Bug#14858)
8915 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8917 * window.el (display-buffer): In display-buffer bind
8918 split-window-keep-point to t, bug#14829.
8920 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8922 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8923 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8924 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8925 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8927 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8928 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8930 2013-07-25 Glenn Morris <rgm@gnu.org>
8932 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8934 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8936 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8937 parameter to modify-frame-parameters if the value has not changed;
8938 this is a workaround for bug#14949.
8939 (desktop--make-frame): On cl-delete-if call, check parameter name,
8942 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8944 * vc/vc.el (vc-ignore): New function.
8946 * vc/vc-svn.el (vc-svn-ignore): New function.
8948 * vc/vc-hg.el (vc-hg-ignore): New function.
8950 * vc/vc-git.el (vc-git-ignore): New function.
8952 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8953 (vc-dir-ignore): New function.
8955 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8956 (cvs-append-to-ignore): Move here from pcvs.el.
8958 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8960 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8962 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8964 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8965 (desktop-restore-frames): Warn when deleting an existing frame failed.
8967 2013-07-24 Glenn Morris <rgm@gnu.org>
8969 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8971 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8973 * filenotify.el (file-notify-supported-p):
8974 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8977 * autorevert.el (auto-revert-use-notify)
8978 (auto-revert-notify-add-watch):
8979 * net/tramp.el (tramp-file-name-for-operation):
8980 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8981 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8982 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8983 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8984 Remove `file-notify-supported-p' entry.
8986 2013-07-24 Glenn Morris <rgm@gnu.org>
8988 * printing.el: Replace all uses of deleted ps-windows-system,
8989 ps-lp-system, ps-flatten-list with lpr- versions.
8991 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8993 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8994 checked with memq (bug#14935).
8996 * files.el (revert-buffer-function): Use a non-nil default.
8997 (revert-buffer-preserve-modes): Declare var to
8998 provide access to the `preserve-modes' argument.
8999 (revert-buffer): Let-bind it.
9000 (revert-buffer--default): New function, extracted from revert-buffer.
9002 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9004 * lpr.el: Signal print errors more prominently.
9005 (print-region-function): Don't default to nil.
9006 (lpr-print-region): New function, extracted from print-region-1.
9007 Check lpr's return value and signal an error in case of problem.
9008 (print-region-1): Use it.
9009 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9011 (ps-printer-name): Default to nil.
9012 (ps-printer-name-option): Default to lpr-printer-switch.
9013 (ps-print-region-function): Don't default to nil.
9014 (ps-postscript-code-directory): Simplify default.
9015 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9016 (ps-string-list, ps-eval-switch, ps-flatten-list)
9017 (ps-flatten-list-1): Remove.
9018 (ps-multibyte-buffer): Avoid setq.
9019 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9020 (print-region-function, ps-print-region-function): Don't set them here.
9022 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9024 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9025 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9026 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9027 (ido-decorations): Doc fix.
9029 * ansi-color.el: Fix old URL.
9031 2013-07-23 Michael R. Mauger <michael@mauger.com>
9033 * progmodes/sql.el: Version 3.3
9034 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9035 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9036 (sql-interactive-remove-continuation-prompt): Rewrite, use
9037 functions above. Fix continuation prompt and complete output line
9039 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9040 redirected output buffer.
9041 (sql-mode): Restore deleted code (Bug#13591).
9043 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9045 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9047 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9049 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9051 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9053 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9055 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9057 * desktop.el (desktop-clear): Simplify; remove useless checks
9058 against invalid buffer names.
9059 (desktop-list*): Use cl-list*.
9060 (desktop-buffer-info, desktop-create-buffer): Simplify.
9062 2013-07-23 Leo Liu <sdl.web@gmail.com>
9064 * bookmark.el (bookmark-make-record): Restore NAME as a default
9067 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9070 extracted from autoload--insert-text.
9071 (autoload--insert-text): Remove.
9072 (autoload--print-cookie-text): New function, extracted from
9073 autoload--insert-cookie-text.
9074 (autoload--insert-cookie-text): Remove.
9075 (autoload-generate-file-autoloads): Adjust calls accordingly.
9077 * winner.el (winner-hook-installed-p): Remove.
9078 (winner-mode): Simplify accordingly.
9080 * subr.el (add-to-list): Fix compiler-macro when `append' is
9081 not constant. Don't use `cl-member' for the base case.
9083 * progmodes/subword.el: Fix boundary case (bug#13758).
9084 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9086 (subword-backward-regexp): Make it a constant.
9087 (subword-forward-internal): Don't treat a trailing capital as the
9088 beginning of a word.
9090 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9092 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9093 global value of tabulated-list-revert-hook (bug#14930).
9095 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9097 * desktop.el: Require 'cl-lib.
9098 (desktop-before-saving-frames-functions): New hook.
9099 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9100 for frames being saved. Rename from desktop--save-minibuffer-frames.
9101 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9102 Do not save frames with non-nil `desktop-dont-save' parameter.
9103 Filter out deleted frames.
9104 (desktop--find-frame): Use cl-find-if.
9105 (desktop--select-frame): Use cl-(first|second|third) to access values
9107 (desktop--make-frame): Use cl-delete-if.
9108 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9109 (desktop-restore-frames): Use cl-(first|second|third) to access values
9110 of desktop-mini. Look for visible frame at the end, not while
9113 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9114 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9115 Use string-match-p, looking-at-p (bug#14927).
9117 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9119 * desktop.el (desktop-saved-frame-states):
9120 Rename from desktop--saved-states; all users changed.
9121 (desktop-save-frames): Rename from desktop--save-frames.
9122 Do not save state to desktop file.
9123 (desktop-save): Save desktop-saved-frame-states to desktop file
9125 (desktop-restoring-frames-p): New function.
9126 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9127 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9128 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9130 * desktop.el: Correctly restore iconified frames.
9131 (desktop--filter-iconified-position): New function.
9132 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9134 2013-07-20 Glenn Morris <rgm@gnu.org>
9136 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9137 Let `message' do the formatting.
9138 (def-gdb-preempt-display-buffer): Add explicit format.
9140 * image-dired.el (image-dired-track-original-file):
9141 Use with-current-buffer.
9142 (image-dired-track-thumbnail): Use with-current-buffer.
9143 Avoid changing point of wrong window.
9145 * image-dired.el (image-dired-track-original-file):
9146 Avoid changing point of wrong window. (Bug#14909)
9148 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9150 * progmodes/gdb-mi.el (gdb-done-or-error):
9151 Guard against "%" in gdb output. (Bug#14127)
9153 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9155 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9158 * international/mule.el (coding-system-iso-2022-flags): Fix last
9161 2013-07-20 Kenichi Handa <handa@gnu.org>
9163 * international/mule.el (coding-system-iso-2022-flags):
9164 Add `8-bit-level-4'. (Bug#8522)
9166 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9168 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9171 * net/eww.el (eww-process-text-input): Allow inputting when the
9172 point is at the start of the line, as the properties aren't
9175 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9178 2013-07-19 Richard Stallman <rms@gnu.org>
9180 * epa.el (epa-popup-info-window): Doc fix.
9182 * subr.el (split-string): New arg TRIM.
9184 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9186 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9187 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9189 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9191 * filenotify.el (file-notify--library): Rename from
9192 `file-notify-support'. Do not autoload. Adapt all uses.
9193 (file-notify-supported-p): New defun.
9195 * autorevert.el (auto-revert-use-notify):
9196 Use `file-notify-supported-p' instead of `file-notify-support'.
9198 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9200 * net/tramp.el (tramp-file-name-for-operation):
9201 Add `file-notify-supported-p'.
9203 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9205 (tramp-sh-file-name-handler-alist): Add it as handler for
9206 `file-notify-supported-p '.
9208 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9209 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9210 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9211 Add `ignore' as handler for `file-notify-*' functions.
9213 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9215 * simple.el (line-move-partial, line-move): Don't start vscroll or
9216 scroll-up if the current line is not taller than the window.
9219 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9221 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9222 highlight question marks in the method names as strings.
9223 (ruby-block-beg-keywords): Inline.
9224 (ruby-font-lock-keyword-beg-re): Extract from
9225 `ruby-font-lock-keywords'.
9227 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9229 * frame.el (blink-cursor-blinks): New defcustom.
9230 (blink-cursor-blinks-done): New defvar.
9231 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9232 (blink-cursor-timer-function): Check if number of blinks has been
9234 (blink-cursor-suspend, blink-cursor-check): New defuns.
9236 2013-07-15 Glenn Morris <rgm@gnu.org>
9238 * edmacro.el (edmacro-format-keys): Fix previous change.
9240 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9242 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9243 The hack didn't work outside English locales anyway.
9245 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9247 * simple.el (define-alternatives): Rename from alternatives-define,
9248 per RMS' suggestion.
9250 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9252 * desktop.el (desktop-restore-frames): Change default to t.
9253 (desktop-restore-in-current-display): Now offer more options.
9254 (desktop-restoring-reuses-frames): New customization option.
9255 (desktop--saved-states): Doc fix.
9256 (desktop-filter-parameters-alist): New variable, renamed and expanded
9257 from desktop--excluded-frame-parameters.
9258 (desktop--target-display): New variable.
9259 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9260 (desktop--filter-tty*, desktop--filter-*-color)
9261 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9262 (desktop--filter-save-desktop-parm)
9263 (desktop-restore-in-original-display-p): New functions.
9264 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9265 (desktop--save-minibuffer-frames): New function, inspired by a similar
9266 function from Martin Rudalics.
9267 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9268 (desktop--restore-in-this-display-p): Remove.
9269 (desktop--find-frame): Rename from desktop--find-frame-in-display
9270 and add predicate argument.
9271 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9272 (desktop--reuse-list): New variable.
9273 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9275 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9277 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9279 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9281 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9283 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9284 Highlight conversion methods on Kernel.
9286 2013-07-13 Alan Mackenzie <acm@muc.de>
9288 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9289 and comment it out. This out-commenting enables certain C++
9290 declarations to be parsed correctly.
9292 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9294 * international/mule.el (define-coding-system): Doc fix.
9296 * simple.el (default-font-height): Don't call font-info if the
9297 frame's default font didn't change since the frame was created.
9300 2013-07-13 Leo Liu <sdl.web@gmail.com>
9302 * ido.el (ido-read-file-name): Guard against non-symbol value.
9304 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9306 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9309 2013-07-13 Leo Liu <sdl.web@gmail.com>
9311 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9312 ido-set-matches call. (Bug#6852)
9314 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9316 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9317 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9319 (ruby-font-lock-keywords): Distinguish calls to functions with
9320 module-like names from module references. Highlight character
9323 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9325 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9326 (gdb-send): Handle continued commands. (Bug#14847)
9328 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9330 * desktop.el (desktop--v2s): Remove unused local variable.
9331 (desktop-save-buffer): Make defvar-local; adjust docstring.
9332 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9333 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9335 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9337 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9339 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9341 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9344 2013-07-12 Glenn Morris <rgm@gnu.org>
9346 * doc-view.el: Require cl-lib at runtime too.
9347 (doc-view-remove-if): Remove.
9348 (doc-view-search-next-match, doc-view-search-previous-match):
9351 * edmacro.el: Require cl-lib at runtime too.
9352 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9353 (edmacro-mismatch, edmacro-subseq): Remove.
9355 * shadowfile.el: Require cl-lib.
9356 (shadow-remove-if): Remove.
9357 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9360 * wid-edit.el: Require cl-lib.
9361 (widget-choose): Use cl-remove-if.
9362 (widget-remove-if): Remove.
9364 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9365 (ebrowse-delete-if-not): Remove.
9366 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9367 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9368 Use cl-delete-if-not.
9370 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9372 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9373 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9375 2013-07-12 Leo Liu <sdl.web@gmail.com>
9377 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9379 2013-07-11 Glenn Morris <rgm@gnu.org>
9381 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9382 (edebug-gensym-index, edebug-gensym):
9383 Remove reimplementation of cl-gensym.
9384 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9386 * thumbs.el: Require cl-lib at run-time too.
9387 (thumbs-gensym-counter, thumbs-gensym):
9388 Remove reimplementation of cl-gensym.
9389 (thumbs-temp-file): Use cl-gensym.
9391 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9392 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9393 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9394 (ert--union, ert--gensym-counter, ert--gensym-counter)
9395 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9396 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9397 (ert-make-test-unbound, ert--expand-should-1)
9398 (ert--expand-should, ert--should-error-handle-error)
9399 (should-error, ert--explain-equal-rec)
9400 (ert--plist-difference-explanation, ert-select-tests)
9401 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9402 Use cl-lib functions rather than reimplementations.
9404 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9406 * net/tramp.el (tramp-methods): Extend docstring.
9407 (tramp-connection-timeout): New defcustom.
9408 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9409 (with-tramp-progress-reporter): Simplify.
9410 (tramp-process-actions): Improve messages.
9412 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9413 * net/tramp-sh.el (tramp-maybe-open-connection):
9414 Use `tramp-connection-timeout'.
9415 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9418 2013-07-11 Leo Liu <sdl.web@gmail.com>
9420 * ido.el (ido-read-file-name): Conform to the requirements of
9421 read-file-name. (Bug#11861)
9422 (ido-read-directory-name): Conform to the requirements of
9423 read-directory-name.
9425 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9427 * subr.el (delay-warning): New function.
9429 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9431 * simple.el (default-line-height): New function.
9432 (line-move-partial, line-move): Use it instead of computing the
9434 (line-move-partial): Always compute ROWH. If the last line is
9435 partially-visible, but its text is completely visible, allow
9436 cursor to enter such a partially-visible line.
9438 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9440 Improve error messages. (Bug#14808)
9442 * net/tramp.el (tramp-current-connection): New defvar, moved from
9444 (tramp-message-show-progress-reporter-message): Remove, not
9446 (tramp-error-with-buffer): Show message in minibuffer.
9447 Discard input before waiting. Reset connection timestamp.
9448 (with-tramp-progress-reporter): Improve messages.
9449 (tramp-process-actions): Use progress reporter. Delete process in
9450 case of error. Improve messages.
9452 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9453 Call `tramp-error-with-buffer' with vector and buffer.
9454 (tramp-current-connection): Remove.
9455 (tramp-maybe-open-connection): The car of
9456 `tramp-current-connection' are the first 3 slots of the vector.
9458 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9460 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9461 inside continued strings.
9463 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9465 Timestamp fixes for undo (Bug#14824).
9466 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9468 2013-07-10 Leo Liu <sdl.web@gmail.com>
9470 * files.el (require-final-newline): Allow safe local value.
9473 2013-07-09 Leo Liu <sdl.web@gmail.com>
9475 * ido.el (ido-read-directory-name): Handle fallback.
9476 (ido-read-file-name): Update DIR to ido-current-directory.
9478 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9480 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9482 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9483 "autoload". Remove "warn lower camel case" section, previously
9484 commented out. Highlight negation char. Do not highlight the
9485 target in singleton method definitions.
9487 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9489 * faces.el (tty-setup-hook): Declare the hook.
9491 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9492 and detect when a guard/pred depends on local vars (bug#14773).
9493 (pcase--u1): Adjust caller.
9495 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9497 * simple.el (line-move-partial, line-move): Account for
9499 (line-move-partial): Avoid setting vscroll when the last
9500 partially-visible line in window is of default height.
9502 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9507 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9509 * subr.el (read-quoted-char): Remove unused local variable `char'.
9511 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9513 * ediff.el (ediff-version): Version update.
9514 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9515 (ediff-merge-with-ancestor-command, ediff-directories-command)
9516 (ediff-directories3-command, ediff-merge-directories-command)
9517 (ediff-merge-directories-with-ancestor-command): New functions.
9518 All are command-line interfaces to ediff: to facilitate calling
9519 Emacs with the appropriate ediff functions invoked.
9521 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9522 (viper-save-kill-buffer): Check if buffer is modified.
9524 * viper.el (viper-version): Version update.
9525 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9527 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9529 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9530 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9531 (viper-intercept-ESC-key): Simplify.
9532 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9533 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9534 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9535 (viper-setup-ESC-to-escape): New functions.
9536 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9537 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9539 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9541 * simple.el (default-font-height, window-screen-lines):
9543 (line-move, line-move-partial): Use them instead of
9544 frame-char-height and window-text-height. This makes scrolling
9545 text smoother when the buffer's default face uses a font that is
9546 different from the frame's default font.
9548 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9550 * files.el (write-file): Do not display confirm dialog for NS,
9551 it does its own dialog, which can't be canceled (Bug#14578).
9553 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9555 * simple.el (line-move-partial): Adjust the row returned by
9556 posn-at-point for the current window-vscroll. (Bug#14567)
9558 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9560 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9561 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9564 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9566 * window.el (window-state-put-stale-windows): New variable.
9567 (window--state-put-2): Save list of windows without matching buffer.
9568 (window-state-put): Remove "bufferless" windows if possible.
9570 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9572 * simple.el (alternatives-define): Remove leftover :group keyword.
9575 2013-07-06 Leo Liu <sdl.web@gmail.com>
9577 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9578 (ido-enable-virtual-buffers): New variable.
9579 (ido-buffer-internal, ido-toggle-virtual-buffers)
9580 (ido-make-buffer-list): Use it.
9581 (ido-exhibit): Support turning on and off virtual buffers
9584 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9586 * simple.el (alternatives-define): New macro.
9588 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9590 * subr.el (read-quoted-char): Use read-key.
9591 (sit-for): Let read-event decode tty input (bug#14782).
9593 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9595 * calendar/todo-mode.el: Add handling of file deletion, both by
9596 mode command and externally. Fix various related bugs.
9597 Clarify Commentary and improve some documentation strings and code.
9598 (todo-delete-file): New command.
9599 (todo-check-file): New function.
9600 (todo-show): Handle external deletion of the file we're trying to
9601 show (bug#14688). Replace called-interactively-p by an optional
9602 prefix argument to avoid problematic interaction with catch form
9603 when byte compiled (bug#14702).
9604 (todo-quit): Handle external deletion of the archive's todo file.
9605 Make sure the buffer that was visiting the archive file is still
9606 live before trying to bury it.
9607 (todo-category-completions): Handle external deletion of any
9608 category completion files.
9609 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9610 of todo files, in case of external deletion.
9611 (todo-add-file): Replace unnecessary setq by let-binding.
9612 (todo-find-archive): Check whether there are any archives.
9613 Replace unnecessary setq by let-binding.
9614 (todo-archive-done-item): Use find-file-noselect to get the
9615 archive buffer whether or not the archive already exists.
9616 Remove superfluous code. Use file size instead of buffer-file-name to
9617 check if the archive is new; if it is, update list of archives.
9618 (todo-default-todo-file): Allow nil to be a valid value for when
9619 there are no todo files.
9620 (todo-reevaluate-default-file-defcustom): Use corrected definition
9621 of todo-default-todo-file.
9622 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9623 (todo-delete-category, todo-show-categories-table)
9624 (todo-category-number): Clarify comment.
9625 (todo-filter-items): Clarify documentation string.
9626 (todo-show-current-file, todo-display-as-todo-file)
9627 (todo-reset-and-enable-done-separator): Tweak documentation string.
9628 (todo-done-separator): Make separator length window-width, since
9629 bug#2749 is now fixed.
9631 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9633 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9634 Support both "gvfs-monitor-dir" and "inotifywait".
9635 (tramp-sh-file-inotifywait-process-filter): Rename from
9636 `tramp-sh-file-notify-process-filter'.
9637 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9638 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9640 2013-07-05 Leo Liu <sdl.web@gmail.com>
9642 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9644 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9646 * frame.el (display-pixel-height, display-pixel-width)
9647 (display-mm-height, display-mm-width): Mention behavior on
9648 multi-monitor setups in docstrings.
9649 (w32-display-monitor-attributes-list): Declare function.
9650 (display-monitor-attributes-list): Use it.
9652 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9654 * filenotify.el: New package.
9656 * autorevert.el (top): Require filenotify.el.
9657 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9659 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9660 (auto-revert-notify-handler): Use `file-notify-*' functions.
9662 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9664 * net/tramp.el (tramp-file-name-for-operation):
9665 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9667 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9668 for `file-notify-add-watch' and `file-notify-rm-watch'.
9669 (tramp-process-sentinel): Improve trace.
9670 (tramp-sh-handle-file-notify-add-watch)
9671 (tramp-sh-file-notify-process-filter)
9672 (tramp-sh-handle-file-notify-rm-watch)
9673 (tramp-get-remote-inotifywait): New defuns.
9675 2013-07-03 Juri Linkov <juri@jurta.org>
9677 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9678 call of `occur-read-primary-args' to interactive spec.
9680 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9681 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9683 2013-07-03 Matthias Meulien <orontee@gmail.com>
9685 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9686 `Buffer-menu-multi-occur'. Add it to the menu.
9687 (Buffer-menu-mode): Document it in docstring.
9688 (Buffer-menu-multi-occur): New command. (Bug#14673)
9690 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9692 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9693 keywords and built-ins.
9695 2013-07-03 Glenn Morris <rgm@gnu.org>
9697 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9699 Make info-xref checks case-sensitive by default
9700 * info.el (Info-find-node, Info-find-in-tag-table)
9701 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9702 Add option for exact case matching of nodes.
9703 * info-xref.el (info-xref): New custom group.
9704 (info-xref-case-fold): New option.
9705 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9707 2013-07-03 Leo Liu <sdl.web@gmail.com>
9709 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9711 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9713 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9714 middle of block statement initially, lower the depth. Remove
9715 FIXME comment, not longer valid. Remove middle of block statement
9716 detection, no need to do that anymore since we've been using
9717 `ruby-parse-region' here.
9719 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9721 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9723 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9725 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9727 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9729 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9730 (desktop-restore-in-current-display): New customization option.
9731 (desktop--excluded-frame-parameters): Add `font'.
9732 (desktop--save-frames): Rename from desktop--save-windows.
9733 (desktop--restore-in-this-display-p): New function.
9734 (desktop--make-full-frame): Remove unwanted width/height from
9735 full(width|height) frames.
9736 (desktop--restore-frames): Rename from desktop--restore-windows.
9737 Obey desktop-restore-current-display. Do not delete old frames or
9738 select a new frame unless we were able to restore at least one frame.
9740 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9742 * files.el (find-file-noselect): Simplify conditional expression.
9744 * textmodes/remember.el (remember-append-to-file):
9745 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9747 Add `remember-notes' function to store random notes across Emacs
9749 * textmodes/remember.el (remember-data-file): Add :set callback to
9750 affect notes buffer (if any).
9751 (remember-notes): New command.
9752 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9753 New defcustoms for the `remember-notes' function.
9754 (remember-notes-save-and-bury-buffer): New command.
9755 (remember-notes-mode-map): New variable.
9756 (remember-mode): New minor mode.
9757 (remember-notes--kill-buffer-query): New function.
9758 * startup.el (initial-buffer-choice): Add notes to custom type.
9760 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9762 * bindings.el (right-char, left-char): Don't call sit-for, this is
9763 no longer needed. Use arithmetic comparison only for numerical
9766 * international/mule-cmds.el (select-safe-coding-system):
9767 Handle the case of FROM being a string correctly. (Bug#14755)
9769 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9771 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9772 progression on degenerate tables.
9773 (shr-rescale-image): ImageMagick animated images currently don't work.
9775 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9777 Some fixes and improvements for desktop frame restoration.
9778 It is still experimental and disabled by default.
9779 * desktop.el (desktop--save-windows): Put the selected frame at
9780 the head of the list.
9781 (desktop--make-full-frame): New function.
9782 (desktop--restore-windows): Try to re-select the frame that was
9783 selected upon saving. Do not abort if some frames fail to restore,
9784 just show an error message and continue. Set up maximized frames
9785 so they have default non-maximized dimensions.
9787 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9789 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9790 Don't start heredoc inside a string or comment.
9792 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9794 * bindings.el (visual-order-cursor-movement): New defcustom.
9795 (right-char, left-char): Provide visual-order cursor motion by
9796 calling move-point-visually. Update the doc strings.
9798 2013-06-28 Kenichi Handa <handa@gnu.org>
9800 * international/mule.el (define-coding-system): New coding system
9801 properties :inhibit-null-byte-detection,
9802 :inhibit-iso-escape-detection, and :prefer-utf-8.
9803 (set-buffer-file-coding-system): If :charset-list property of
9804 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9805 appropriate for setting.
9807 * international/mule-cmds.el (select-safe-coding-system):
9808 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9809 multibyte characters, return utf-8 (or one of its siblings).
9811 * international/mule-conf.el (prefer-utf-8): New coding system.
9812 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9815 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9817 * net/shr.el (shr-render-region): New function.
9819 * net/eww.el: Autoload `eww-browse-url'.
9821 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9823 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9824 Adapt to `package-desc-version' being a list.
9825 Use `package--ac-desc-version' to retrieve version from a package
9828 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9830 New experimental feature to save&restore window and frame setup.
9831 * desktop.el (desktop-save-windows): New defcustom.
9832 (desktop--saved-states): New var.
9833 (desktop--excluded-frame-parameters): New defconst.
9834 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9835 (desktop--restore-windows, desktop--save-windows): New functions.
9836 (desktop-save): Call `desktop--save-windows'.
9837 (desktop-read): Call `desktop--restore-windows'.
9839 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9841 * net/shr.el (add-face-text-property): Remove compat definition.
9843 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9845 * info.el (Info-try-follow-nearest-node): Move search for footnote
9846 above search for node name to prevent missing a footnote (bug#14717).
9848 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9850 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9852 2013-06-27 Leo Liu <sdl.web@gmail.com>
9854 * net/eww.el (eww-read-bookmarks): Check file size.
9856 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9858 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9859 advice--pending if newdef is nil or an autoload (bug#13820).
9860 (advice-mapc): New function.
9862 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9864 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9866 (eww-mode-map): Add a menu bar.
9867 (eww-add-bookmark): New command.
9868 (eww-bookmark-mode): New mode and commands.
9869 (eww-add-bookmark): Remove newlines from the title.
9870 (eww-bookmark-browse): Don't bug out if it's the only window.
9872 2013-06-26 Glenn Morris <rgm@gnu.org>
9874 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9875 (hfy-size): Handle ttys. (Bug#14668)
9877 * info-xref.el: Update for Texinfo 5 change in *note format.
9878 (info-xref-node-re, info-xref-note-re): New constants.
9879 (info-xref-check-buffer): Use info-xref-note-re.
9881 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9883 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9885 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9886 nil terminate the loop (bug#14718).
9888 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9890 * net/eww.el: Rework history traversal. When going forward/back,
9891 put these actions into the history, too, so that they can be
9893 (eww-render): Move the history reset to the correct buffer.
9895 2013-06-25 Juri Linkov <juri@jurta.org>
9897 * files-x.el (modify-dir-local-variable): Change the header comment
9898 in the file with directory local variables. (Bug#14692)
9900 * files-x.el (read-file-local-variable-value): Add `default'.
9903 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9905 * net/eww.el (eww-make-unique-file-name): Create a unique file
9906 name before saving to entering `y' accidentally asynchronously.
9908 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9910 * net/eww.el (eww-download): New command and keystroke.
9912 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9914 * net/eww.el (eww-copy-page-url): Change name of command.
9916 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9917 be more consistent with Info and dired.
9919 * net/eww.el (eww-mode-map): Ditto.
9921 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9923 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9924 packages from archives.
9925 (package-archive-contents): Change format; include obsolete packages.
9926 (package-desc): Use `dir' to mark builtin packages.
9927 (package--from-builtin): Set the `dir' field to `builtin'.
9928 (generated-autoload-file, version-control): Declare.
9929 (package-compute-transaction): Change first arg and return value to be
9930 lists of package-descs. Adjust to new package-archive-contents format.
9931 (package--add-to-archive-contents): Adjust to new
9932 package-archive-contents format.
9933 (package-download-transaction): Arg is now a list of package-descs.
9934 (package-install): If `pkg' is a package name, pass it as
9935 a requirement, so it is subject to the usual (e.g. disabled) checks.
9936 (describe-package): Accept package-desc as well.
9937 (describe-package-1): Describe a specific package-desc. Add links to
9938 other package-descs for the same package name.
9939 (package-menu-describe-package): Pass the actual package-desc.
9940 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9942 (package-desc-status): New function.
9943 (package-menu--refresh): New function, extracted
9944 from package-menu--generate.
9945 (package-menu--generate): Use it.
9946 (package-delete): Update package-alist.
9947 (package-menu-execute): Don't call package-initialize.
9949 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9950 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9951 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9952 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9953 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9954 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9956 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9958 * window.el (window--state-get-1): Workaround for bug#14527.
9959 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9961 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9963 * net/eww.el (eww-back-url): Implement the history by stashing all
9964 the data into a list.
9965 (eww-forward-url): Allow going forward in the history, too.
9967 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9969 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9970 for values and use read--expression for expressions (bug#14710).
9971 (read-file-local-variable): Avoid setq.
9972 (read-file-local-variable-mode): Use minor-mode-list.
9974 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9976 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9979 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9981 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9982 Update imenu-support when dialect changes.
9984 2013-06-25 Leo Liu <sdl.web@gmail.com>
9986 * ido.el (ido-read-internal): Allow forward slash on windows.
9988 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9990 * net/eww.el (eww): Start of strings is \\`, not ^.
9992 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9994 * net/shr.el (shr-browse-url): Fix interactive spec.
9996 * net/eww.el (eww): Add a trailing slash to domain names.
9998 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10000 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10002 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10004 * net/shr.el (shr-browse-url): Use an external browser if given a
10007 * net/eww.el (eww-external-browser): Move to shr.
10009 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10011 * net/eww.el (eww): Work more correctly for file: URLs.
10012 (eww-detect-charset): Allow quoted charsets.
10013 (eww-yank-page-url): New command and keystroke.
10015 2013-06-24 Daiki Ueno <ueno@gnu.org>
10017 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10018 file name of gpg executable.
10019 (epg-context-program): New function.
10020 (epg-context-home-directory): New function.
10021 (epg-context-set-program): New function.
10022 (epg-context-set-home-directory): New function.
10023 (epg--start): Use `epg-context-program' instead of
10025 (epg--list-keys-1): Likewise.
10027 2013-06-24 Leo Liu <sdl.web@gmail.com>
10029 * ido.el (ido-read-internal): Fix bug#14620.
10031 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10033 * faces.el (face-documentation): Simplify.
10034 (read-face-attribute, tty-find-type, x-resolve-font-name):
10035 Use `string-match-p'.
10036 (list-faces-display): Use `string-match-p'. Simplify.
10037 (face-spec-recalc): Check face to avoid face alias loops.
10038 (read-color): Use `string-match-p' and non-capturing parenthesis.
10040 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10042 * net/shr.el (shr-rescale-image): Use the new
10043 :max-width/:max-height functionality.
10045 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10047 * net/eww.el (eww-search-prefix): New variable.
10049 (eww-external-browser): New variable.
10050 (eww-mode-map): New keystroke.
10051 (eww-browse-with-external-browser): New command.
10053 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10055 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10057 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10058 Don't skip aligning the next header field when padding is 0;
10059 otherwise, field width is not respected unless the title is as
10062 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10064 * emacs-lisp/package.el (package-el-version): Remove.
10065 (package-process-define-package): Fix inf-loop.
10066 (package-install): Allow symbols as arguments again.
10068 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10070 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10071 add some more keyword-like methods.
10072 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10074 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10076 * bs.el (bs-buffer-show-mark): Make defvar-local.
10077 (bs-mode): Use setq-local.
10079 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10080 (emacs-lock--try-unlocking): Make defvar-local.
10082 2013-06-22 Glenn Morris <rgm@gnu.org>
10084 * play/cookie1.el (cookie-apropos): Minor simplification.
10086 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10088 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10090 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10091 `regexp-opt', it breaks the build during dumping.
10093 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10095 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10096 Highlight keyword-like methods on Kernel and Module with
10097 font-lock-builtin-face.
10098 (auto-mode-alist): Consolidate different entries into one regexp
10099 and add more *file-s.
10101 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10103 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10105 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10106 (diary-entry): Use it in the action of this button type instead of
10109 * calendar/todo-mode.el: New version.
10110 (todo-add-category): Append new category to end of file and give
10111 it the highest number, instead of putting it at the beginning and
10112 giving it 0. Incorporate noninteractive functionality.
10113 (todo-forward-category): Adapt to 1-based category numbering.
10114 Allow skipping over archived categories.
10115 (todo-backward-category): Derive from todo-forward-category.
10116 (todo-backward-item, todo-forward-item): Make noninteractive and
10117 delegate interactive part to new commands. Make sensitive to done items.
10118 (todo-categories): Make value an alist of category names and
10119 vectors of item counts.
10120 (todo-category-beg): Make a defconst.
10121 (todo-category-number): Use 1 instead of 0 as initial value.
10122 (todo-category-select): Make sensitive to overlays, optional item
10123 highlighting and done items.
10124 (todo-delete-item): Make sensitive to overlays and marked and done items.
10125 (todo-edit-item): Make sensitive to overlays and editing of
10126 date/time header optional. Add format checks.
10127 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10128 no-op if point is not on an item. Advertise using todo-edit-quit.
10129 (todo-edit-mode): Make sensitive to new format, font-locking, and
10130 multiple todo files.
10131 (todo-insert-item, todo-insert-item-here): Derive from
10132 todo-basic-insert-item and extend functionality.
10133 (todo-item-end, todo-item-start): Make sensitive to done items.
10134 (todo-item-string): Don't return text properties. Restore point.
10135 (todo-jump-to-category): Make sensitive to multiple todo files and
10136 todo archives. Use extended category completion.
10137 (todo-lower-item, todo-raise-item): Rename to *-priority and
10138 derive from todo-set-item-priority.
10139 (todo-mode): Derive from special-mode. Make sensitive to new
10140 format, font-locking and multiple todo files. Make read-only.
10141 (todo-mode-map): Don't suppress digit keys, so they can supply
10142 prefix arguments. Add many new key bindings.
10143 (todo-prefix): Insert as an overlay instead of file text.
10144 Change semantics from diary date expression to purely visual mark.
10145 (todo-print): Rename to todo-print-buffer. Make buffer display
10146 features printable. Remove option to restrict number of items
10147 printed. Add option to print to file.
10148 (todo-print-function): Rename to todo-print-buffer-function.
10149 (todo-quit): Extend to handle exiting new todo modes.
10150 (todo-remove-item): Make sensitive to overlays.
10151 (todo-save): Extend to buffers of filtered items.
10152 (todo-show): Make sensitive to done items, multiple todo files and
10153 new todo modes. Offer to convert legacy todo file before creating
10154 first new todo file.
10155 (todo-show-priorities): Rename to todo-top-priorities.
10156 Change semantics of value 0.
10157 (todo-top-priorities): Rename to todo-filter-top-priorities,
10158 derive from todo-filter-items and extend functionality.
10159 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10160 and extend functionality to other types of filtered items.
10161 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10162 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10163 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10164 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10165 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10166 (todo-edit-mode-hook, todo-entry-prefix-function)
10167 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10168 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10169 (todo-initials, todo-insert-threshold, todo-item-string-start)
10170 (todo-line-string, todo-menu, todo-mode-hook)
10171 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10172 (todo-print-priorities, todo-remove-separator)
10173 (todo-save-top-priorities-too, todo-string-count-lines)
10174 (todo-string-multiline-p, todo-time-string-format)
10175 (todo-tmp-buffer-name): Remove.
10176 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10177 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10178 (todo-edit-category-diary-inclusion)
10179 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10180 (todo-edit-file, todo-edit-item-date-day)
10181 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10182 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10183 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10184 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10185 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10186 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10187 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10188 (todo-filter-top-priorities-multifile, todo-find-archive)
10189 (todo-find-filtered-items-file, todo-go-to-source-item)
10190 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10191 (todo-jump-to-archive-category, todo-lower-category)
10192 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10193 (todo-move-category, todo-move-item, todo-next-button)
10194 (todo-next-item, todo-padded-string, todo-powerset)
10195 (todo-previous-button, todo-previous-item)
10196 (todo-print-buffer-to-file, todo-raise-category)
10197 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10198 (todo-set-category-number, todo-set-item-priority)
10199 (todo-set-top-priorities-in-category)
10200 (todo-set-top-priorities-in-file, todo-show-categories-table)
10201 (todo-sort-categories-alphabetically-or-numerically)
10202 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10203 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10204 (todo-toggle-item-header, todo-toggle-item-highlighting)
10205 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10206 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10207 (todo-unarchive-items, todo-unmark-category): New commands.
10208 (todo-absolute-file-name, todo-add-to-buffer-list)
10209 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10210 (todo-basic-insert-item, todo-category-completions)
10211 (todo-category-number, todo-category-string-matcher-1)
10212 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10213 (todo-check-format, todo-clear-matches)
10214 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10215 (todo-current-category, todo-date-string-matcher)
10216 (todo-define-insertion-command, todo-diary-expired-matcher)
10217 (todo-diary-goto-entry, todo-diary-item-p)
10218 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10219 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10220 (todo-done-item-section-p, todo-done-separator)
10221 (todo-done-string-matcher, todo-files, todo-filter-items)
10222 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10223 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10224 (todo-insert-category-line, todo-insert-item-from-calendar)
10225 (todo-insert-sort-button, todo-insert-with-overlays)
10226 (todo-insertion-command-name, todo-insertion-key-bindings)
10227 (todo-label-to-key, todo-longest-category-name-length)
10228 (todo-make-categories-list, todo-mode-external-set)
10229 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10230 (todo-modes-set-3, todo-multiple-filter-files)
10231 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10232 (todo-read-category, todo-read-date, todo-read-dayname)
10233 (todo-read-file-name, todo-read-time)
10234 (todo-reevaluate-category-completions-files-defcustom)
10235 (todo-reevaluate-default-file-defcustom)
10236 (todo-reevaluate-filelist-defcustoms)
10237 (todo-reevaluate-filter-files-defcustom)
10238 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10239 (todo-reset-done-separator, todo-reset-done-separator-string)
10240 (todo-reset-done-string, todo-reset-global-current-todo-file)
10241 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10242 (todo-reset-prefix, todo-set-categories)
10243 (todo-set-date-from-calendar, todo-set-show-current-file)
10244 (todo-set-top-priorities, todo-short-file-name)
10245 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10246 (todo-total-item-counts, todo-update-buffer-list)
10247 (todo-update-categories-display, todo-update-categories-sexp)
10248 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10250 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10252 (todo-categories, todo-display, todo-edit, todo-faces)
10253 (todo-filtered): New defgroups.
10254 (todo-archived-only, todo-button, todo-category-string, todo-date)
10255 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10256 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10257 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10258 (todo-add-item-if-new-category, todo-always-add-time-string)
10259 (todo-categories-align, todo-categories-archived-label)
10260 (todo-categories-category-label, todo-categories-diary-label)
10261 (todo-categories-done-label, todo-categories-number-separator)
10262 (todo-categories-todo-label, todo-categories-totals-label)
10263 (todo-category-completions-files, todo-completion-ignore-case)
10264 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10265 (todo-done-separator-string, todo-done-string)
10266 (todo-files-function, todo-filter-done-items, todo-filter-files)
10267 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10268 (todo-initial-category, todo-initial-file, todo-item-mark)
10269 (todo-legacy-date-time-regexp, todo-mode-line-function)
10270 (todo-nondiary-marker, todo-number-prefix)
10271 (todo-print-buffer-function, todo-show-current-file)
10272 (todo-show-done-only, todo-show-first, todo-show-with-done)
10273 (todo-skip-archived-categories, todo-top-priorities-overrides)
10274 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10275 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10277 (todo-category-done, todo-date-pattern, todo-date-string-start)
10278 (todo-diary-items-buffer, todo-done-string-start)
10279 (todo-filtered-items-buffer, todo-item-start)
10280 (todo-month-abbrev-array, todo-month-name-array)
10281 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10282 (todo-top-priorities-buffer): New defconsts.
10283 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10284 (todo-categories-with-marks, todo-category-string-face)
10285 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10286 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10287 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10288 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10289 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10290 (todo-font-lock-keywords, todo-global-current-todo-file)
10291 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10292 (todo-insertion-commands-args)
10293 (todo-insertion-commands-args-genlist)
10294 (todo-insertion-commands-names, todo-insertion-map)
10295 (todo-key-bindings-t, todo-key-bindings-t+a)
10296 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10297 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10298 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10299 (todo-visited): New variables.
10301 2013-06-21 Glenn Morris <rgm@gnu.org>
10303 * play/cookie1.el (cookie-apropos): Add optional display argument.
10304 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10305 (psychoanalyze-pinhead): Use cookie-doctor.
10307 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10309 * emacs-lisp/package.el (tar-get-file-descriptor)
10310 (tar--extract): Declare.
10312 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10314 Extend flymake's warning predicate to be a function (bug#14217).
10315 * progmodes/flymake.el (flymake-warning-predicate): New.
10316 (flymake-parse-line): Use it.
10317 (flymake-warning-re): Make obsolete alias to
10318 `flymake-warning-predicate'.
10320 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10322 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10323 (package-obsolete-list): Remove.
10324 (package-activate): Remove min-version argument. Add `force' argument.
10325 Adjust to new package-alist format.
10326 (package-mark-obsolete): Remove.
10327 (package-unpack): Force reload of the package's autoloads.
10328 (package-installed-p): Check builtins if the installed package is not
10330 (package-initialize): Don't reset package-obsolete-list.
10331 Don't specify which package version to activate.
10332 (package-process-define-package, describe-package-1)
10333 (package-menu--generate): Adjust to new package-alist format.
10335 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10337 * allout-widgets.el (allout-widgets-mode-off)
10338 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10339 (allout-widgets-post-command-business)
10340 (allout-widgets-after-copy-or-kill-function)
10341 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10342 (allout-decorate-item-and-context)
10343 (allout-graphics-modification-handler): Fix typos in docstrings.
10344 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10346 * cmuscheme.el (scheme-start-file): Doc fix.
10347 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10348 (scheme-input-filter): Use `string-match-p'.
10350 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10352 * dired-x.el: Use Dired consistently in docstrings.
10354 * dired.el: Use Dired consistently in docstrings.
10355 (dired-readin, dired-mode): Use `setq-local'.
10356 (dired-switches-alist): Make defvar-local.
10357 (dired-buffers-for-dir): Use `zerop'.
10358 (dired-safe-switches-p, dired-switches-escape-p)
10359 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10360 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10361 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10362 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10363 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10364 (dired-toggle-marks, dired-mark-files-containing-regexp)
10365 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10366 (dired-flag-auto-save-files, dired-flag-backup-files):
10367 Use `looking-at-p'.
10368 (dired-mark-files-regexp, dired-build-subdir-alist):
10369 Use `string-match-p', `looking-at-p'.
10371 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10372 (direct-print-region-helper): Use `string-match-p'.
10374 2013-06-21 Leo Liu <sdl.web@gmail.com>
10376 * comint.el (comint-redirect-results-list-from-process):
10379 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10381 * net/eww.el (eww-update-header-line-format): Quote % characters.
10383 2013-06-21 Glenn Morris <rgm@gnu.org>
10385 * play/cookie1.el (cookie): New custom group.
10386 (cookie-file): New option.
10387 (cookie-check-file): New function.
10388 (cookie): Make it interactive. Make start and end messages optional.
10389 Interactively, display the result. Default to cookie-file.
10390 (cookie-insert): Default to cookie-file.
10391 (cookie-snarf): Make start and end messages optional.
10392 Default to cookie-file. Use with-temp-buffer.
10393 (cookie-read): Rename from read-cookie.
10394 Make start and end messages optional. Default to cookie-file.
10395 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10396 Do not autoload it.
10397 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10398 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10400 2013-06-21 Leo Liu <sdl.web@gmail.com>
10402 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10404 2013-06-21 Glenn Morris <rgm@gnu.org>
10406 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10408 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10409 Daniel Hackney <dan@haxney.org>
10411 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10412 Consolidate the single-file vs tarball code.
10413 (package-desc-suffix): New function.
10414 (package-desc-full-name): Don't bother inlining it.
10415 (package-load-descriptor): Return the new package-desc.
10416 (package-mark-obsolete): Remove unused arg `package'.
10417 (package-unpack): Make it work for single files as well.
10418 Make it update package-alist.
10419 (package--make-autoloads-and-stuff): Rename from
10420 package--make-autoloads-and-compile. Don't compile any more.
10421 (package--compile): New function.
10422 (package-generate-description-file): New function, extracted from
10423 package-unpack-single.
10424 (package-unpack-single): Remove.
10425 (package--with-work-buffer): Add indentation and debugging info.
10426 (package-download-single): Remove.
10427 (package-install-from-archive): Rename from package-download-tar, make
10428 it take a pkg-desc, and make it work for single files as well.
10429 (package-download-transaction): Simplify.
10430 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10431 external tar program.
10432 (package-install-from-buffer): Remove `pkg-desc' argument.
10433 Use package-tar-file-info for tar-mode buffers.
10434 (package-install-file): Simplify accordingly.
10435 (package-archive-base): Change to take a pkg-desc.
10436 * tar-mode.el (tar--check-descriptor): New function, extracted from
10437 tar-get-descriptor.
10438 (tar-get-descriptor): Use it.
10439 (tar-get-file-descriptor): New function.
10440 (tar--extract): New function, extracted from tar-extract.
10441 (tar--extract): Use it.
10442 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10443 case the summary uses non-ascii. Adjust to new calling convention of
10444 package-tar-file-info.
10446 2013-06-21 Leo Liu <sdl.web@gmail.com>
10448 * comint.el (comint-redirect-results-list-from-process):
10449 Fix random delay. (Bug#14681)
10451 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10453 * profiler.el (profiler-format-number): Use log, not log10.
10455 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10457 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10459 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10461 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10462 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10464 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10465 (AUTOGENEL): ... here.
10466 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10467 (cl--defsubst-expand): Use it.
10469 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10471 * subr.el (log10): Move here from C code, and declare as obsolete.
10472 All uses of (log10 X) replaced with (log X 10).
10474 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10476 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10477 Declare with `defvar-local'.
10478 (tabulated-list-use-header-line, tabulated-list-entries)
10479 (tabulated-list-padding, tabulated-list-printer)
10480 (tabulated-list-sort-key): Declare with `defvar-local'.
10481 (tabulated-list-init-header, tabulated-list-print-fake-header):
10484 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10486 * arc-mode.el (archive-mode): Add `archive-write-file' to
10487 `write-contents-functions' also for remote files. (Bug#14652)
10489 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10491 * cus-edit.el (custom-commands): Fix typos.
10492 (custom-display): Fix tooltip text.
10493 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10494 Fix typos in docstrings.
10495 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10496 (custom-unlispify-menu-entry, custom-magic-value-create)
10497 (custom-add-see-also, custom-group-value-create): Use ?\s.
10498 (custom-guess-type, customize-apropos, editable-field)
10499 (custom-face-value-create): Use `string-match-p'.
10500 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10502 * custom.el (custom-load-symbol): Use `string-match-p'.
10504 * ansi-color.el: Convert to lexical binding.
10505 (ansi-colors): Fix URL.
10506 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10507 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10508 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10510 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10512 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10514 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10516 2013-06-19 Tom Tromey <tromey@redhat.com>
10518 * net/eww.el (eww-top-url): Remove.
10519 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10520 (eww-render): Set new variables. Don't set eww-top-url.
10521 (eww-handle-link): Handle "prev", "home", and "contents".
10522 Downcase the rel text.
10523 (eww-top-url): Choose best top URL.
10525 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10527 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10528 relying in widget.el. Using widget.el leads to too many
10529 user interface inconsistencies.
10530 (eww-self-insert): Implement entering commands in text fields.
10531 (eww-process-text-input): New function to make text input field editing
10533 (eww-submit): Rewrite to use the new-style form methods.
10534 (eww-select-display): Display the correct selected item.
10535 (eww-change-select): Implement changing the select value.
10536 (eww-toggle-checkbox): Implement radio/checkboxes.
10537 (eww-update-field): Fix compilation error.
10538 (eww-tag-textarea): Implement <textarea>.
10540 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10541 we don't shadow mode-specific bindings.
10543 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10546 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10548 2013-06-19 Glenn Morris <rgm@gnu.org>
10550 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10552 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10554 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10557 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10559 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10561 * net/browse-url.el (browse-url-browser-function):
10562 `eww-browse-url' has the right calling signature, `eww' does not.
10564 2013-06-19 Glenn Morris <rgm@gnu.org>
10566 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10567 Only eval autoloaded macros.
10568 (byte-compile-autoload): Only give the macro warning for macros.
10570 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10571 (ps-underlined-faces): Declare.
10573 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10574 (speedbar-add-supported-extension): Declare.
10576 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10577 Don't include a date stamp in the header of the generated file;
10578 it leads to needless differences between output files.
10580 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10582 * net/secrets.el (secrets-struct-secret-content-type):
10583 Replace check of introspection data by a test call of "CreateItem".
10584 Some servers do not offer introspection.
10586 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10588 * electric.el (electric-pair-mode): Improve interaction with
10589 electric-layout-mode.
10590 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10591 (electric-pair-syntax): Use text-mode-syntax-table in comments
10593 (electric-pair--insert): New function.
10594 (electric-pair-post-self-insert-function): Use it and
10595 electric--after-char-pos.
10597 2013-06-19 Leo Liu <sdl.web@gmail.com>
10599 * progmodes/octave.el (octave-help): Fix regexp.
10601 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10603 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10604 (shr-table-horizontal-line): Allow nil as a value, and change the
10606 (shr-insert-table-ruler): Respect the nil value.
10608 2013-06-18 Tom Tromey <tromey@barimba>
10610 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10612 (eww-open-file): New defun.
10613 (eww-render): Initialize new variables.
10614 (eww-display-html): Handle "link" and "a".
10615 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10616 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10617 (eww-back-url): Rename from eww-previous-url.
10618 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10621 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10623 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10624 Distinguish ternary operator tokens from slash symbol and slash
10627 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10629 Convert symbol prettification into minor mode and global minor mode.
10631 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10632 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10633 (prettify-symbols--keywords): Rename from
10634 `prog-prettify-symbols-alist' and make a local defvar.
10635 (prettify-symbols--compose-symbol): Rename from
10636 `prog--prettify-font-lock-compose-symbol'.
10637 (prettify-symbols--make-keywords): Rename from
10638 `prog-prettify-font-lock-symbols-keywords' and simplify.
10639 (prog-prettify-install): Remove.
10640 (prettify-symbols-mode): New minor mode, based on
10641 `prog-prettify-install'.
10642 (turn-on-prettify-symbols-mode): New function.
10643 (global-prettify-symbols-mode): New globalized minor mode.
10645 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10646 * progmodes/cfengine.el (cfengine3-mode):
10647 * progmodes/perl-mode.el (perl-mode): Don't call
10648 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10650 2013-06-18 Juri Linkov <juri@jurta.org>
10652 * files-x.el (modify-file-local-variable-message): New function.
10653 (modify-file-local-variable)
10654 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10655 and call `modify-file-local-variable-message' when it's non-nil.
10656 (add-file-local-variable, delete-file-local-variable)
10657 (add-file-local-variable-prop-line)
10658 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10659 and use it. (Bug#9820)
10661 2013-06-18 Juri Linkov <juri@jurta.org>
10663 * emulation/vi.el (vi-shell-op):
10664 * emulation/vip.el (vip-execute-com, ex-command):
10665 * emulation/viper-cmd.el (viper-exec-bang):
10666 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10667 the call of `shell-command-on-region'. (Bug#14637)
10669 * simple.el (shell-command-on-region): Doc fix.
10671 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10673 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10676 2013-06-18 Glenn Morris <rgm@gnu.org>
10678 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10680 * newcomment.el (comment-search-forward, comment-search-backward):
10681 Doc fix. (Bug#14376)
10683 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10685 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10686 (buffer-face-mode-invoke): Doc fix.
10688 2013-06-18 Matthias Meulien <orontee@gmail.com>
10690 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10691 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10693 2013-06-18 Glenn Morris <rgm@gnu.org>
10695 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10696 Replace obsolete function generic-make-keywords with its expansion.
10698 * progmodes/python.el (ffap-alist): Declare.
10700 * textmodes/reftex.el (bibtex-mode-map): Declare.
10702 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10705 (package-unpack, package-unpack-single): Return the pkg-dir.
10706 (package-download-transaction): Use it to update package-alist.
10708 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10710 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10713 2013-06-17 Juri Linkov <juri@jurta.org>
10715 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10717 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10719 * emacs-lisp/package.el (package-load-descriptor):
10720 Remove `with-syntax-table' call, `read' doesn't need it.
10721 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10723 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10725 * startup.el (command-line): Expand package name returned by
10726 `package--description-file' (bug#14639).
10728 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10730 * emacs-lisp/package.el (package-load-descriptor): Do not call
10731 `emacs-lisp-mode', just use its syntax table.
10733 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10735 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10736 `font-lock-extra-managed-props' if any prettifying keyword is added.
10737 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10738 (prog-mode): Use `setq-local'.
10740 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10742 * international/characters.el (standard-case-table): Set syntax of ?»
10743 and ?« to punctuation.
10745 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10747 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10748 Save relevant match data before calling `syntax-ppss' (bug#14595).
10750 2013-06-15 Juri Linkov <juri@jurta.org>
10752 * files-x.el (modify-file-local-variable-prop-line): Add local
10753 variables to the end of the existing comment on the first line.
10754 Use `file-auto-mode-skip' to skip interpreter magic line,
10755 and also skip XML declaration.
10757 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * startup.el (package--builtin-versions): New var.
10760 (package-subdirectory-regexp): Remove.
10761 (package--description-file): Hard code its value instead.
10763 * emacs-lisp/package.el: Don't activate packages older than builtin.
10764 (package-obsolete-list): Rename from package-obsolete-alist, and make
10765 it into a simple list of package-desc.
10766 (package-strip-version): Remove.
10767 (package-built-in-p): Use package--builtin-versions.
10768 (package-mark-obsolete): Simplify.
10769 (package-process-define-package): Mark it obsolete if older than the
10771 (package-handle-response): Use line-end-position.
10772 (package-read-archive-contents, package--download-one-archive):
10774 (package--add-to-archive-contents): Skip if older than the builtin or
10776 (package-menu-describe-package): Fix last change.
10777 (package-list-unversioned): New var.
10778 (package-menu--generate): Use it.
10780 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10781 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10782 (autoload-builtin-package-versions): New variable.
10783 (autoload-generate-file-autoloads): Use them.
10784 Remove the list of autoloaded functions/macros from the
10785 (autoload...) comments.
10787 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10789 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10791 * simple.el (line-move-partial): Don't jump to the next screen
10792 line as soon as it becomes visible. Instead, continue enlarging
10793 the vscroll until the portion of a tall screen line that's left on
10794 display is about the height of the frame's default font.
10797 2013-06-15 Glenn Morris <rgm@gnu.org>
10799 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10800 compilation-error-regexp-alist void, or local while let-bound.
10802 * progmodes/make-mode.el (makefile-mode-syntax-table):
10803 Treat "=" as punctuation. (Bug#14614)
10805 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10807 * help-fns.el (describe-variable):
10808 Add extra line for permanent-local variables.
10810 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10812 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10813 Add export, import, library. (Bug#9164)
10814 (library): Set indent function.
10816 2013-06-14 Glenn Morris <rgm@gnu.org>
10818 * term/xterm.el (xterm--query):
10819 Stop after first matching handler. (Bug#14615)
10821 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10823 Add support for dired in saveplace.
10824 * dired.el (dired-initial-position-hook): New variable.
10825 (dired-initial-position): Call hook to place cursor position.
10826 * saveplace.el (save-place-to-alist): Add dired position.
10827 (save-place-dired-hook): New function.
10829 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10831 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10832 through a symbol rather than letrec.
10834 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10835 (package-desc): Add `dir' field.
10836 (package-desc-full-name): New function.
10837 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10838 (package-maybe-load-descriptor): Remove.
10839 (package-load-all-descriptors): Just call package-load-descriptor.
10840 (package--disabled-p): New function.
10841 (package-desc-vers, package-desc-doc): Remove aliases.
10842 (package--dir): Remove function.
10843 (package-activate): Check if a package is disabled.
10844 (package-process-define-package): New function, extracted from
10846 (define-package): Turn into a place holder.
10847 (package-unpack-single, package-tar-file-info):
10848 Use package--description-file.
10849 (package-compute-transaction): Use package--disabled-p.
10850 (package-download-transaction): Don't call
10851 package-maybe-load-descriptor since they're all loaded anyway.
10852 (package-install): Change argument to be a pkg-desc.
10853 (package-delete): Use a single pkg-desc argument.
10854 (describe-package-1): Use package-desc-dir instead of package--dir.
10855 Use package-desc property instead of package-symbol.
10856 (package-install-button-action): Adjust accordingly.
10857 (package--push): Rewrite.
10858 (package-menu--print-info): Adjust accordingly. Change the ID format
10860 (package-menu-describe-package, package-menu-get-status)
10861 (package-menu--find-upgrades, package-menu-mark-upgrades)
10862 (package-menu-execute, package-menu--name-predicate):
10863 Adjust accordingly.
10864 * startup.el (package--description-file): New function.
10865 (command-line): Use it.
10866 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10867 Use package-desc-version.
10869 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10870 (byte-compile-preprocess): Use it.
10871 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10872 can't quite recognize.
10873 (byte-compile-add-to-list): Remove.
10874 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10875 (cconv-closure-convert): Add assertion.
10877 * emacs-lisp/map-ynp.el: Use lexical-binding.
10878 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10879 Factor out some repeated code.
10881 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10883 * subr.el (with-eval-after-load): New macro.
10884 (eval-after-load): Allow form to be a function.
10885 take advantage of lexical-binding.
10886 (do-after-load-evaluation): Use dolist and adjust to new format.
10887 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10889 2013-06-13 Juri Linkov <juri@jurta.org>
10891 * replace.el (perform-replace): Display "symbol " and other search
10892 modes from `isearch-message-prefix' in the *Help* buffer.
10894 * isearch.el (isearch-query-replace): Add " symbol" and other
10895 possible search modes from `isearch-message-prefix' to the prompt.
10896 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10897 when reading a regexp to collect.
10899 2013-06-13 Juri Linkov <juri@jurta.org>
10901 * isearch.el (word-search-regexp): Match whitespace if the search
10902 string begins or ends in whitespace. The LAX arg is applied to
10903 both ends of the search string. Use `regexp-quote' and explicit
10904 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10905 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10906 boundaries are replaced with symbol boundaries, and characters
10907 between symbols match non-word non-symbol syntax. (Bug#14602)
10909 2013-06-13 Juri Linkov <juri@jurta.org>
10911 * isearch.el (isearch-del-char): Don't exceed the length of
10912 `isearch-string' by the prefix arg. (Bug#14563)
10914 2013-06-13 Juri Linkov <juri@jurta.org>
10916 * isearch.el (isearch-yank-word, isearch-yank-line)
10917 (isearch-char-by-name, isearch-quote-char)
10918 (isearch-printing-char, isearch-process-search-char):
10919 Add optional count prefix arg. (Bug#14563)
10921 * international/isearch-x.el
10922 (isearch-process-search-multibyte-characters):
10923 Add optional count prefix arg.
10925 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10927 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10928 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10931 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10933 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10935 2013-06-13 Glenn Morris <rgm@gnu.org>
10937 * startup.el (tty-handle-args):
10938 Don't just discard "--" and anything after. (Bug#14608)
10940 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10942 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10944 Implement changes in Secret Service API. Make it backward compatible.
10945 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10946 (secrets-create-item): Use it. Prefix properties with interface.
10948 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10950 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10951 (term-emulate-terminal): Respect term-suppress-hard-newline.
10953 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10955 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10956 Only remove a `thumb-file' overlay. (Bug#14548)
10958 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10960 * mail/reporter.el (reporter-submit-bug-report):
10961 Handle missing package-name. (Bug#14600)
10963 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10965 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10966 (reftex-citation-prompt, reftex-default-bibliography)
10967 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10968 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10969 (reftex-bib-sort-author, reftex-bib-sort-year)
10970 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10971 (reftex-extract-bib-entries-from-thebibliography)
10972 (reftex-get-bibkey-default, reftex-get-bib-names)
10973 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10974 (reftex-format-bib-entry, reftex-parse-bibitem)
10975 (reftex-format-bibitem, reftex-do-citation)
10976 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10977 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10978 (reftex-insert-bib-matches, reftex-format-citation)
10979 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10980 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10981 existing comments into docstrings.
10983 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10985 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10987 2013-06-12 Andreas Schwab <schwab@suse.de>
10989 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10990 for auto-save files.
10992 2013-06-12 Glenn Morris <rgm@gnu.org>
10994 * ido.el (ido-delete-ignored-files): Remove.
10995 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10996 Go back to calling ido-ignore-item-p directly.
10998 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11000 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11002 * ido.el (ido-delete-ignored-files): New function,
11003 split from ido-make-file-list-1.
11004 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11005 (ido-make-file-list-1): Use ido-delete-ignored-files.
11007 2013-06-12 Leo Liu <sdl.web@gmail.com>
11009 * progmodes/octave.el (inferior-octave-startup)
11010 (inferior-octave-completion-table)
11011 (inferior-octave-track-window-width-change)
11012 (octave-eldoc-function-signatures, octave-help)
11013 (octave-find-definition): Use single quoted strings.
11014 (inferior-octave-startup-args): Change default value.
11015 (inferior-octave-startup): Do not hard code "-i" and
11016 "--no-line-editing".
11017 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11018 (inferior-octave-directory-tracker): Use it.
11019 (octave-goto-function-definition): Robustify.
11020 (octave-help): Support highlighting operators in 'See also'.
11021 (octave-find-definition): Find subfunctions only in Octave mode.
11023 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11025 * help-fns.el (help-fns--compiler-macro): If the handler function is
11026 named, then put a link to it.
11027 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11028 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11029 (cl-typep): Use it.
11030 (cl-eval-when): Simplify debug spec.
11031 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11032 compiler-macro function instead of setting `compiler-macro-file'.
11034 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11036 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11037 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11039 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11040 Daniel Hackney <dan@haxney.org>
11042 First part of Daniel Hackney's patch to package.el.
11043 * emacs-lisp/package.el: Use defstruct.
11044 (package-desc): New, main struct.
11045 (package--bi-desc, package--ac-desc): New structs, used to describe the
11046 format in external files.
11047 (package-desc-vers): Replace with package-desc-version accessor.
11048 (package-desc-doc): Replace with package-desc-summary accessor.
11049 (package-activate-1): Remove `package' arg since the pkg-vec now
11051 (define-package): Use package-desc-from-define.
11052 (package-unpack-single): Change file-name arg to be a symbol.
11053 (package--add-to-archive-contents): Use package-desc-create and new
11054 accessor functions to package--ac-desc.
11055 (package-buffer-info, package-tar-file-info): Return a package-desc.
11056 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11057 arg to be a package-desc.
11058 (package-install-file): Adjust accordingly. Use \' to match EOS.
11059 (package--from-builtin): New function.
11060 (describe-package-1, package-menu--generate): Use it.
11061 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11062 (package-generate-autoloads): Idem and return the name of the file.
11063 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11064 Change pkg-info arg to be a package-desc.
11065 Use package-make-ac-desc.
11066 (package-upload-file): Use \' to match EOS.
11067 * finder.el (finder-compile-keywords): Use package-make-builtin.
11069 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11071 * vc/vc.el (vc-deduce-fileset): Change error message.
11072 (vc-read-backend): New function.
11073 (vc-next-action): Use it.
11075 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11077 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11078 (prolog-font-lock-keywords): Use regexp-opt instead.
11079 Don't manually highlight strings.
11080 (prolog-mode-variables): Simplify comment-start-skip.
11081 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11083 * emacs-lisp/generic.el (generic--normalise-comments)
11084 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11085 (generic-mode-set-comments): Use them.
11086 (generic-bracket-support): Use setq-local.
11087 (generic-make-keywords-list): Declare obsolete.
11089 2013-06-11 Glenn Morris <rgm@gnu.org>
11091 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11092 Prettify after setting font-lock-defaults. (Bug#14574)
11094 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11096 * replace.el (query-replace, occur-read-regexp-defaults-function)
11098 * subr.el (declare-function, number-sequence, local-set-key)
11099 (substitute-key-definition, locate-user-emacs-file)
11100 (with-silent-modifications, split-string, eval-after-load):
11101 Fix typos, remove unneeded backslashes and reflow some docstrings.
11103 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11105 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11106 default for Elisp files.
11108 2013-06-11 Glenn Morris <rgm@gnu.org>
11110 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11111 although define-derived-mode was doing this anyway. (Bug#14583)
11113 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11115 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11116 Fix make-variable-buffer-local call to refer to the correct variable.
11118 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11120 * eshell/em-term.el (eshell-visual-commands)
11121 (eshell-visual-subcommands, eshell-visual-options):
11122 Add summary line to docstrings. Add cross-references.
11124 2013-06-10 Glenn Morris <rgm@gnu.org>
11126 * epa.el (epa-read-file-name): New function. (Bug#14510)
11127 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11129 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11131 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11132 output redirection to be ignored with visual commands.
11134 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11136 * eshell/em-term.el (eshell-visual-command-p): New function.
11137 (eshell-term-initialize): Move long lambda to separate function
11138 eshell-visual-command-p.
11139 * eshell/em-dirs.el (eshell-dirs-initialize):
11140 * eshell/em-script.el (eshell-script-initialize):
11141 Add missing #' to lambda.
11143 2013-06-08 Leo Liu <sdl.web@gmail.com>
11145 * progmodes/octave.el (octave-add-log-current-defun): New function.
11146 (octave-mode): Set add-log-current-defun-function.
11147 (octave-goto-function-definition): Do not move point if not found.
11148 (octave-find-definition): Enhance to try subfunctions first.
11150 2013-06-08 Glenn Morris <rgm@gnu.org>
11152 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11153 (byte-compile-backward-char, byte-compile-backward-word):
11154 Improve previous change, to handle non-explicit nil.
11156 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11158 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11159 (smie--opener/closer-at-point): New function.
11160 (smie--matching-block-data): Use it. Don't match from right after an
11161 opener or right before a closer. Obey smie-blink-matching-inners.
11162 Don't signal a mismatch for repeated inners like "switch..case..case".
11164 2013-06-07 Leo Liu <sdl.web@gmail.com>
11166 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11168 (octave-function-header-regexp): Fix. (Bug#14570)
11169 (octave-help-mode-finish-hook, octave-help-mode-finish):
11170 Remove. Just use temp-buffer-show-hook.
11172 * newcomment.el (comment-search-backward): Revert last change.
11175 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11177 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11179 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11180 through xargs, to avoid failure due to MS-Windows limitations on
11181 command-line length.
11183 2013-06-06 Glenn Morris <rgm@gnu.org>
11185 * font-lock.el (lisp-font-lock-keywords-2):
11186 Treat user-error like error.
11188 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11189 (byte-compile-backward-char, byte-compile-backward-word):
11190 Handle explicit nil arguments. (Bug#14565)
11192 2013-06-05 Alan Mackenzie <acm@muc.de>
11194 * isearch.el (isearch-allow-prefix): New user option.
11195 (isearch-other-meta-char): Don't exit isearch when a prefix
11196 argument is typed whilst `isearch-allow-prefix' is non-nil.
11199 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11201 * autorevert.el (auto-revert-notify-handler): Use memq.
11202 Hide assertion failure.
11204 * skeleton.el: Use cl-lib.
11205 (skeleton-further-elements): Use defvar-local.
11206 (skeleton-insert): Use cl-progv.
11208 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11210 * progmodes/prog-mode.el (prog-prettify-symbols)
11211 (prog-prettify-install): Update docstrings.
11213 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11215 * simple.el: Move all the prog-mode code to prog-mode.el.
11216 * progmodes/prog-mode.el: New file.
11217 * loadup.el: Add prog-mode.el.
11219 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11221 * simple.el (prog-prettify-symbols): Add version.
11222 (prog-prettify-install): Add convenience function to prettify symbols.
11224 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11225 (perl--augmented-font-lock-keywords-1)
11226 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11227 variables and use it.
11229 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11230 (cfengine3-mode): Remove unneeded variable and use it.
11232 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11233 (lisp--augmented-font-lock-keywords-1)
11234 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11235 Remove unneeded variables and use it.
11237 2013-06-05 João Távora <joaotavora@gmail.com>
11239 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11240 to point when opening the connection. (Bug#14380)
11242 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * subr.el (load-history-regexp, load-history-filename-element)
11245 (eval-after-load, after-load-functions, do-after-load-evaluation)
11246 (eval-next-after-load, display-delayed-warnings)
11247 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11248 definition of save-match-data.
11249 (overriding-local-map): Remove accidental obsolescence declaration.
11251 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11253 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11255 Generalize symbol prettify support to prog-mode and implement it
11256 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11257 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11258 (prog--prettify-font-lock-compose-symbol)
11259 (prog-prettify-font-lock-symbols-keywords): New variables and
11260 functions to support symbol prettification.
11261 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11262 (lisp--augmented-font-lock-keywords-1)
11263 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11264 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11265 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11266 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11267 Implement prettify of -> => :: strings.
11268 * progmodes/perl-mode.el (perl-prettify-symbols)
11269 (perl--font-lock-compose-symbol)
11270 (perl--font-lock-symbols-keywords): Move to prog-mode.
11271 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11272 (perl-font-lock-keywords-1)
11273 (perl-font-lock-keywords-2): Remove explicit prettify support.
11274 (perl--augmented-font-lock-keywords)
11275 (perl--augmented-font-lock-keywords-1)
11276 (perl--augmented-font-lock-keywords-2, perl-mode):
11277 Implement prettify support.
11279 2013-06-05 Leo Liu <sdl.web@gmail.com>
11281 Re-implement SMIE matching block highlight using
11282 show-paren-data-function. (Bug#14395)
11283 * emacs-lisp/smie.el (smie-matching-block-highlight)
11284 (smie--highlight-matching-block-overlay)
11285 (smie--highlight-matching-block-lastpos)
11286 (smie-highlight-matching-block)
11287 (smie-highlight-matching-block-mode): Remove.
11288 (smie--matching-block-data-cache): New variable.
11289 (smie--matching-block-data): New function.
11290 (smie-setup): Use smie--matching-block-data for
11291 show-paren-data-function.
11293 * progmodes/octave.el (octave-mode-menu): Fix.
11294 (octave-find-definition): Skip garbage lines.
11296 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11298 Fix compilation error with simultaneous dynamic+lexical scoping.
11299 Add warning when a defvar appears after the first let-binding.
11300 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11301 (byte-compile-close-variables): Initialize it.
11302 (byte-compile--declare-var): New function.
11303 (byte-compile-file-form-defvar)
11304 (byte-compile-file-form-define-abbrev-table)
11305 (byte-compile-file-form-custom-declare-variable): Use it.
11306 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11307 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11308 (byte-compile-bind): Handle dynamic bindings that shadow
11310 (byte-compile-unbind): Make arg non-optional.
11311 (byte-compile-let): Simplify.
11312 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11313 (cconv--analyse-function, cconv-analyse-form): Populate it.
11314 Protect byte-compile-bound-variables to limit the scope of defvars.
11315 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11316 Remove unneeded rule for `declare'.
11318 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11319 so as to avoid depending on cl-adjoin at run-time.
11320 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11322 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11323 (macroexp--warn-and-return): Use it.
11325 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11327 * subr.el: Convert to lexical binding.
11328 (overriding-local-map): Make obsolete.
11329 (add-to-list): Doc fix. Add compiler macro.
11330 (read-key): Swap values of local maps.
11332 2013-06-05 Leo Liu <sdl.web@gmail.com>
11334 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11336 2013-06-04 Leo Liu <sdl.web@gmail.com>
11338 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11339 (compilation-auto-jump): Suppress the "Mark set" message to give
11340 way to exit message.
11342 2013-06-04 Alan Mackenzie <acm@muc.de>
11344 Remove faulty optimisation from indentation calculation.
11345 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11346 search limit based on 2000 characters back from indent-point.
11348 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11350 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11352 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11354 * emacs-lisp/lisp.el: Use lexical-binding.
11355 (lisp--local-variables-1, lisp--local-variables): New functions.
11356 (lisp--local-variables-completion-table): New var.
11357 (lisp-completion-at-point): Use it complete let-bound vars.
11359 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11360 eagerly (bug#14422).
11362 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11364 * autorevert.el (auto-revert-notify-enabled)
11365 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11366 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11367 (auto-revert-notify-handler): Handle also gfilenotify.
11369 * subr.el (file-notify-handle-event): New defun. Replacing ...
11370 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11373 2013-06-03 Juri Linkov <juri@jurta.org>
11375 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11376 `M-s h .'. (Bug#14427)
11378 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11379 command `hi-lock-face-symbol-at-point'.
11380 (hi-lock-face-symbol-at-point): New command.
11381 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11382 (hi-lock-menu): Add `highlight-symbol-at-point'.
11383 (hi-lock-mode): Doc fix.
11385 * isearch.el (isearch-forward-symbol-at-point): New command.
11386 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11387 (isearch-highlight-regexp): Add a regexp which matches
11388 words/symbols for word/symbol mode.
11390 * subr.el (find-tag-default-bounds): New function with the body
11391 mostly moved from `find-tag-default'.
11392 (find-tag-default): Move most code to `find-tag-default-bounds',
11393 call it and apply `buffer-substring-no-properties' afterwards.
11395 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11397 * eshell/em-term.el (eshell-term-initialize):
11398 Use `cl-intersection' rather than `intersection'.
11400 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11402 * vc/log-view.el: Doc fix.
11403 (log-view-mode-map): Copy keymap from `special-mode-map'.
11405 2013-06-02 Eric Ludlam <zappo@gnu.org>
11407 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11408 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11409 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11410 (eieio-unbound, eieio-default-superclass)
11411 (eieio--define-field-accessors, method-static, method-before)
11412 (method-primary, method-after, method-num-lists)
11413 (method-generic-before, method-generic-primary)
11414 (method-generic-after, method-num-slots)
11415 (eieio-specialized-key-to-generic-key)
11416 (eieio--check-type, class-v, class-p)
11417 (eieio-class-name, define-obsolete-function-alias)
11418 (eieio-class-parents-fast, eieio-class-children-fast)
11419 (same-class-fast-p, class-constructor, generic-p)
11420 (generic-primary-only-p, generic-primary-only-one-p)
11421 (class-option-assoc, class-option, eieio-object-p)
11422 (class-abstract-p, class-method-invocation-order)
11423 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11424 (eieio-class-un-autoload, eieio-defclass)
11425 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11426 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11427 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11428 (eieio-defgeneric-reset-generic-form)
11429 (eieio-defgeneric-form-primary-only)
11430 (eieio-defgeneric-reset-generic-form-primary-only)
11431 (eieio-defgeneric-form-primary-only-one)
11432 (eieio-defgeneric-reset-generic-form-primary-only-one)
11433 (eieio-unbind-method-implementations)
11434 (eieio--defmethod, eieio--typep)
11435 (eieio-perform-slot-validation, eieio-validate-slot-value)
11436 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11437 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11438 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11439 (eieio-slot-name-index, eieio-class-slot-name-index)
11440 (eieio-set-defaults, eieio-initarg-to-attribute)
11441 (eieio-attribute-to-initarg, eieio-c3-candidate)
11442 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11443 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11444 (eieio-class-precedence-list, eieio-generic-call-methodname)
11445 (eieio-generic-call-arglst, eieio-generic-call-key)
11446 (eieio-generic-call-next-method-list)
11447 (eieio-pre-method-execution-functions, eieio-generic-call)
11448 (eieio-generic-call-primary-only, eieiomt-method-list)
11449 (eieiomt-optimizing-obarray, eieiomt-install)
11450 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11451 (eieio-generic-form, eieio-defmethod, make-obsolete)
11452 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11453 (defclass): Remove `eval-and-compile' from macro.
11454 (call-next-method, shared-initialize): Instead of using
11455 `scoped-class' variable, use new eieio--scoped-class, and
11456 eieio--with-scoped-class.
11457 (initialize-instance): Rename local variable 'scoped-class' to
11458 'this-class' to remove ambiguitity from old global.
11460 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11462 (eieio--scoped-class-stack): New variable.
11463 (eieio--scoped-class): New fcn.
11464 (eieio--with-scoped-class): New scoping macro.
11465 (eieio-defclass): Use pushnew instead of add-to-list.
11466 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11467 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11468 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11469 `scoped-class' variable, use new eieio--scoped-class, and
11470 eieio--with-scoped-class.
11472 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11474 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11476 * eshell/esh-ext.el (eshell-external-command): Pass args to
11477 `eshell-find-interpreter'.
11478 (eshell-find-interpreter): Add new second parameter ARGS.
11480 * eshell/em-script.el (eshell-script-initialize): Add second arg
11481 to the function added as MATCH to `eshell-interpreter-alist'.
11483 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11484 the function added as MATCH to `eshell-interpreter-alist'.
11486 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11487 (eshell-visual-options): New defcustom.
11488 (eshell-escape-control-x): Adapt docstring.
11489 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11490 `eshell-visual-options' in addition to `eshell-visual-commands'.
11491 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11493 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11495 * progmodes/python.el (python-indent-block-enders): Add break,
11496 continue and raise keywords.
11498 2013-06-01 Glenn Morris <rgm@gnu.org>
11500 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11502 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11503 * progmodes/cc-cmds.el (delete-forward-p):
11504 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11505 * progmodes/cc-engine.el (buffer-syntactic-context):
11506 * progmodes/cc-fonts.el (face-property-instance):
11507 * progmodes/cc-mode.el (set-keymap-parents):
11508 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11509 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11510 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11511 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11512 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11514 * progmodes/cc-vars.el (other): Emacs has this widget since
11515 at least 21.1, so don't (re)define it.
11517 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11518 Replace the obsolete alias pcomplete-arg-quote-list.
11520 2013-06-01 Leo Liu <sdl.web@gmail.com>
11522 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11523 punctuation syntax.
11524 (inferior-octave-minimal-columns)
11525 (inferior-octave-last-column-width): New variables.
11526 (inferior-octave-track-window-width-change): New function.
11527 (inferior-octave-mode): Adjust column width so that Octave output,
11528 for example from 'ls', can fit into the window nicely.
11530 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11532 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11533 Highlight expansions inside regexp literals.
11535 2013-05-31 Glenn Morris <rgm@gnu.org>
11537 * obsolete/sym-comp.el (symbol-complete):
11538 Replace obsolete completion-annotate-function.
11540 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11542 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11544 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11545 New function, checks if point is inside a literal that allows
11546 expression expansion.
11547 (ruby-syntax-propertize-expansion): Use it.
11548 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11551 2013-05-30 Juri Linkov <juri@jurta.org>
11553 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11555 (isearch-invisible): New variable.
11556 (isearch-forward): Doc fix.
11557 (isearch-mode): Set `isearch-invisible'
11558 to the value of `search-invisible'.
11559 (isearch-toggle-case-fold): Doc fix.
11560 (isearch-toggle-invisible): New command.
11561 (isearch-query-replace): Let-bind `search-invisible'
11562 to the value of `isearch-invisible'.
11563 (isearch-search): Use `isearch-invisible' instead of
11564 `search-invisible'. Let-bind `search-invisible'
11565 to the value of `isearch-invisible'. (Bug#11378)
11567 2013-05-30 Juri Linkov <juri@jurta.org>
11569 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11570 call when `query-flag' is nil and `search-invisible' is non-nil.
11573 2013-05-30 Glenn Morris <rgm@gnu.org>
11575 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11577 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11578 (cc-require): Suppress spurious "noruntime" warnings.
11579 (cc-require-when-compile): Use fboundp, for sake of compiler.
11581 * progmodes/cc-mode.el: Move load of cc-vars before that of
11582 cc-langs (which in turn loads cc-vars), to quieten compiler.
11584 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11586 * paren.el: Simplify the code.
11587 (show-paren-mode): Always start the timer.
11588 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11589 (show-paren--overlay, show-paren--overlay-1): Rename from
11590 show-paren-overlay and show-paren-overlay-1, and initialize to an
11591 overlay rather than to nil.
11592 (show-paren-function): Misc cleanup and simplifications.
11594 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11596 * paren.el (show-paren-data-function): New hook.
11597 (show-paren--default): New function, extracted from show-paren-function.
11598 (show-paren-function): Use show-paren-data-function.
11600 2013-05-30 Glenn Morris <rgm@gnu.org>
11602 * ielm.el (ielm-map, ielm-complete-symbol):
11603 Use completion-at-point rather than obsolete functions.
11604 (inferior-emacs-lisp-mode): Doc fix.
11605 Set completion-at-point-functions, rather than
11606 comint-dynamic-complete-functions.
11608 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11609 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11610 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11612 * image.el (image-animated-p): Tweak definition.
11614 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11615 (rlogin-process-connection-type): Tweak default. Add set-after.
11616 (rlogin-host): Doc fix.
11617 (rlogin): Tweak prompt.
11618 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11620 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11621 * progmodes/tcl.el (inferior-tcl-mode-map):
11622 Use completion-at-point rather than obsolete alias.
11624 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11626 * minibuffer.el (read-file-name-completion-ignore-case):
11627 Move before completion--in-region, for eager macro expansion.
11629 2013-05-29 Juri Linkov <juri@jurta.org>
11631 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11632 for total count of matching lines. Add `global-matches' for total
11633 count of matches. Rename `matches' to `lines' for count of
11634 matching lines. Add `matches' for count of matches.
11635 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11636 to `prev-line' for line number of prev match endpt.
11637 Increment `matches' for every match. Print the number of
11638 matching lines in the header.
11639 (occur-context-lines): Rename `lines' to `curr-line'.
11640 Rename `prev-lines' to `prev-line'. (Bug#14017)
11642 2013-05-29 Juri Linkov <juri@jurta.org>
11644 * replace.el (perform-replace): Add `skip-read-only-count',
11645 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11646 Increment them for corresponding conditions and report the number
11647 of skipped occurrences in the final message. (Bug#11746)
11648 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11649 (replace-string, replace-regexp): Doc fix.
11651 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11653 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11655 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11656 prog-mode-map (bug#14504).
11658 2013-05-29 Leo Liu <sdl.web@gmail.com>
11660 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11661 (octave-help): Small simplification.
11663 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11664 off the highlight first.
11666 2013-05-29 Glenn Morris <rgm@gnu.org>
11668 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11669 Handle idlwave-last-system-routine-info-cons-cell being nil.
11671 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11672 (idlwave-write-paths): Simplify via with-temp-buffer.
11674 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11675 * emulation/cua-rect.el: Also load cua-base at run time.
11677 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11678 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11679 (cperl-imenu-on-info): Require imenu.
11681 2013-05-28 Alan Mackenzie <acm@muc.de>
11683 Handle "capitalised keywords" correctly.
11684 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11686 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11688 * eshell/em-unix.el: Add -r option to cp.
11690 2013-05-28 Glenn Morris <rgm@gnu.org>
11692 * vc/vc-arch.el (vc-exec-after): Declare.
11693 (vc-switches): Autoload.
11694 * vc/vc-bzr.el: No need to require vc when compiling.
11695 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11696 (vc-resynch-buffer, vc-dir-refresh): Declare.
11697 (vc-setup-buffer, vc-switches): Autoload.
11698 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11699 (vc-resynch-buffer): Declare.
11700 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11701 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11702 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11703 (grep-read-regexp, grep-read-files, grep-expand-template)
11704 (vc-dir-refresh): Declare.
11705 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11706 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11707 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11708 * vc/vc-mtn.el (vc-exec-after): Declare.
11709 (vc-switches): Autoload.
11710 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11711 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11712 (vc-file-tree-walk): Declare.
11713 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11714 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11715 (vc-tag-precondition, vc-rename-master): Autoload.
11716 * vc/vc-svn.el (vc-exec-after): Declare.
11717 (vc-switches, vc-setup-buffer): Autoload.
11718 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11720 (vc-resynch-buffer): Declare.
11722 * obsolete/fast-lock.el (byte-compile-warnings):
11723 Don't warn about obsolete features in this obsolete file.
11725 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11726 Move definition before use.
11728 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11729 (dun-unix-verbs): Remove dun-zippy.
11730 (dun-zippy): Remove function.
11732 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11734 2013-05-27 Juri Linkov <juri@jurta.org>
11736 * replace.el (replace-search): New function with code moved out
11737 from `perform-replace'.
11738 (replace-highlight, replace-dehighlight): Move function definitions
11739 up closer to `replace-search'. (Bug#11746)
11741 2013-05-27 Juri Linkov <juri@jurta.org>
11743 * replace.el (perform-replace): Ignore invisible matches.
11744 In addition to checking `query-replace-skip-read-only', also
11745 filter out matches by calling `run-hook-with-args-until-failure'
11746 on `isearch-filter-predicates', and also check `search-invisible'
11747 for t or call `isearch-range-invisible'.
11748 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11750 2013-05-27 Juri Linkov <juri@jurta.org>
11752 * isearch.el (isearch-filter-predicates): Rename from
11753 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11754 (isearch-message-prefix): Display text from the property
11755 `isearch-message-prefix' of the currently active filters.
11756 (isearch-search): Don't compare `isearch-filter-predicate' with
11757 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11758 on `isearch-filter-predicates'. Also check `search-invisible' for t
11759 or call `isearch-range-invisible'.
11760 (isearch-filter-visible): Make obsolete.
11761 (isearch-lazy-highlight-search):
11762 Call `run-hook-with-args-until-failure' on
11763 `isearch-filter-predicates' and use `isearch-range-invisible'.
11765 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11766 `isearch-filter-predicates' instead of `funcall'ing
11767 `isearch-filter-predicate'.
11768 (Info-mode): Set `Info-isearch-filter' to
11769 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11771 * dired-aux.el (dired-isearch-filter-predicate-orig):
11773 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11774 (dired-isearch-filenames-end): Add and remove
11775 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11776 instead of changing the value of `isearch-filter-predicate'.
11777 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11778 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11779 Put property `isearch-message-prefix' to "filename " on
11780 `dired-isearch-filter-filenames'.
11782 * wdired.el (wdired-change-to-wdired-mode):
11783 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11784 locally instead of changing `isearch-filter-predicate'.
11785 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11787 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11789 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11790 return the commit hash (Bug#14459). Also set the
11791 `vc-git-detached' property.
11792 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11793 (vc-git-mode-line-string): Use the same help-echo format whether
11794 in detached mode or not, because we know the actual revision now.
11795 When in detached mode, shorten the revision to 7 chars.
11797 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11799 * emacs-lisp/easy-mmode.el (define-minor-mode):
11800 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11801 mode hook and provide a docstring.
11803 2013-05-27 Alan Mackenzie <acm@muc.de>
11805 Remove spurious syntax-table text properties inserted by C-y.
11806 * progmodes/cc-mode.el (c-after-change): Also clear hard
11807 syntax-table property with value nil.
11809 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11811 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11812 when reading the events; the buffer layout shall not be changed.
11814 2013-05-27 Leo Liu <sdl.web@gmail.com>
11816 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11818 (inferior-octave-directory-tracker): Automatically re-sync
11820 (octave-help): Improve handling of 'See also'.
11822 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11824 * doc-view.el: Minor naming convention tweaks.
11825 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11827 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11828 even if there's no `display' property yet (bug#14435).
11830 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11832 * subr.el (unmsys--file-name): Rename from reveal-filename.
11834 * Makefile.in (custom-deps, finder-data, autoloads)
11835 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11836 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11837 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11839 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11842 error-completion on the first 2 args of condition-case (bug#14446).
11845 2013-05-25 Leo Liu <sdl.web@gmail.com>
11847 * comint.el (comint-previous-matching-input): Do not flood the
11848 *Messages* buffer with trivial messages.
11850 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11852 * progmodes/flymake.el (flymake-nop): Don't return a string.
11853 (flymake-set-at): Fix typo.
11855 * simple.el (read--expression): New function, extracted from
11856 eval-expression. Set completion-at-point-functions (bug#14465).
11857 (eval-expression, eval-minibuffer): Use it.
11859 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11861 * progmodes/flymake.el (flymake-save-buffer-in-file)
11862 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11863 (flymake-selected-frame, flymake-log, flymake-ins-after)
11864 (flymake-set-at, flymake-get-buildfile-from-cache)
11865 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11866 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11867 Refine the doc string.
11868 (flymake-get-file-name-mode-and-masks): Reformat.
11869 (flymake-get-real-file-name-function): Fix a minor bug.
11871 2013-05-24 Juri Linkov <juri@jurta.org>
11873 * progmodes/grep.el (grep-mode-font-lock-keywords):
11874 Support =linenumber= format used by git-grep for lines with
11875 function names. (Bug#13549)
11877 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11879 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11880 0 after a semi-colon; it works better for smie-auto-fill.
11881 (octave--indent-new-comment-line): New function.
11882 (octave-indent-new-comment-line): Use it (indirectly).
11883 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11884 modify comment-line-break-function.
11886 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11887 (smie-setup): Use add-function to set it.
11889 2013-05-24 Sam Steingold <sds@gnu.org>
11891 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11892 argument (before the `interactive' argument).
11894 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11896 * image-mode.el (image-mode-winprops): Add winprops to
11897 image-mode-winprops-alist before running
11898 image-mode-new-window-functions.
11899 * doc-view.el (doc-view-new-window-function): Don't delay
11900 doc-view-goto-page via timers (bug#14435).
11902 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11904 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11905 (doc-view-desktop-save-buffer): New function.
11906 (doc-view-restore-desktop-buffer): New function.
11907 (desktop-buffer-mode-handlers):
11908 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11910 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11911 `desktop-save-buffer' function.
11913 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11915 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11916 (tramp-gvfs-file-name-handler): Raise a user error when
11917 `tramp-gvfs-enabled' is nil.
11918 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11919 Do not raise a user error when loading package. (Bug#14447)
11921 * net/xesam.el: Move to obsolete/.
11923 2013-05-24 Glenn Morris <rgm@gnu.org>
11925 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11927 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11929 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11930 (Info-find-node, Man-getpage-in-background): Declare.
11932 * mail/unrmail.el (unrmail):
11933 Replace obsolete detect-coding-with-priority.
11935 * net/socks.el (socks-split-string): Use this rather than split-string.
11936 (socks-nslookup-host): Update for above change.
11937 (dynamic-choice, s5-dynamic-choice-match)
11938 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11939 Comment out unused code.
11941 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11942 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11943 (gud-tooltip-echo-area): Make obsolete.
11944 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11946 * progmodes/js.el (js--optimize-arglist): Declare.
11948 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11950 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11951 (ediff-window-C): Declare.
11953 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11954 Tweak requires to silence compiler.
11956 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11957 (he-search-string, he-tried-table, he-expand-list)
11958 (he-init-string, he-string-member, he-substitute-string)
11959 (he-reset-string): Declare.
11961 * obsolete/options.el (list-options): Use custom-variable-p,
11962 rather than obsolete alias.
11964 2013-05-23 Sam Steingold <sds@gnu.org>
11966 * simple.el (shell-command-on-region): Pass the `replace' argument
11967 down to `call-process-region' to comply with the doc as reported on
11968 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11970 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11972 * emacs-lisp/smie.el (smie-indent-forward-token)
11973 (smie-indent-backward-token): Handle string tokens (bug#14381).
11975 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11977 * ielm.el (ielm-menu): New menu.
11978 (inferior-emacs-lisp-mode): Set comment-start.
11980 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11982 * textmodes/reftex.el (reftex-ref-style-toggle):
11983 Fix deactivate action.
11985 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11986 Add cleveref macros.
11988 * textmodes/reftex-parse.el
11989 (reftex-locate-bibliography-files): Accept options for
11990 bibliography commands.
11991 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11992 Add addbibresource. Basic Biblatex support.
11994 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11996 * net/tramp-gvfs.el (top):
11997 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11998 when loading package. (Bug#14447)
12000 2013-05-23 Glenn Morris <rgm@gnu.org>
12002 * progmodes/js.el: No need to load comint when compiling.
12003 (ring-insert, comint-send-string, comint-send-input)
12004 (comint-last-input-end, ido-chop): Declare.
12006 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12007 * vc/ediff-mult.el: Adjust requires.
12008 (ediff-directories-internal, ediff-directory-revisions-internal)
12009 (ediff-patch-file-internal): Declare.
12010 * vc/ediff-ptch.el: Adjust requires.
12011 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12012 (ediff-find-file): Autoload.
12013 * vc/ediff-util.el: No need to load ediff when compiling.
12014 (ediff-regions-internal): Declare.
12015 * vc/ediff-wind.el: Adjust requires.
12016 (ediff-compute-toolbar-width): Define when compiling.
12017 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12018 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12019 (dired-get-filename, dired-get-marked-files)
12020 (ediff-last-dir-patch, ediff-patch-default-directory)
12021 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12022 (ediff-patch-buffer-internal): Declare.
12024 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12025 (ispell-process, ispell-buffer-local-words, lm-summary)
12026 (lm-section-start, lm-section-end): Declare.
12027 (checkdoc-ispell-init): Simplify.
12029 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12030 (he-string-member, he-reset-string, he-substitute-string): Declare.
12032 * eshell/em-ls.el: Adjust requires.
12033 (eshell-glob-regexp): Declare.
12034 * eshell/em-tramp.el: Adjust requires.
12035 (eshell-parse-command): Autoload.
12036 * eshell/em-xtra.el: Adjust requires.
12037 (eshell-parse-command): Autoload.
12038 * eshell/esh-ext.el: Adjust requires.
12039 (eshell-parse-command, eshell-close-handles): Autoload.
12040 * eshell/esh-io.el: Adjust requires.
12041 (eshell-output-filter): Autoload.
12042 * eshell/esh-util.el: No need to load tramp when compiling.
12043 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12045 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12046 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12047 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12048 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12049 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12050 * eshell/esh-opt.el, eshell/esh-proc.el:
12051 * eshell/esh-var.el: Adjust requires.
12052 * eshell/eshell.el: Do not require esh-util twice.
12053 (eshell-add-input-to-history): Declare.
12054 (eshell-command): Check history module is active before using it.
12056 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12058 2013-05-22 Leo Liu <sdl.web@gmail.com>
12060 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12062 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12064 * autorevert.el (auto-revert-notify-add-watch)
12065 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12066 it indicates changes in file modification time.
12068 2013-05-22 Glenn Morris <rgm@gnu.org>
12070 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12071 Always delete the autoloaded function from the noruntime and
12072 unresolved functions lists.
12074 * allout.el: No need to load epa, epg, overlay when compiling.
12075 (epg-context-set-passphrase-callback, epg-list-keys)
12076 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12077 (epg-key-user-id-list): Declare.
12079 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12080 (viper-set-parsing-style-toggling-macro)
12081 (viper-set-emacs-state-searchstyle-macros):
12082 Use called-interactively-p on Emacs.
12083 (viper-looking-back): Make it an obsolete alias. Update callers.
12084 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12085 Use looking-back rather than viper-looking-back.
12086 (viper-tmp-insert-at-eob, viper-enlarge-region)
12087 (viper-read-string-with-history, viper-register-to-point)
12088 (viper-append-to-register, viper-change-state-to-vi)
12089 (viper-backward-char-carefully, viper-forward-char-carefully)
12090 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12091 (viper-change-state-to-emacs): Declare.
12092 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12093 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12094 * emulation/viper-mous.el: Do not load viper-cmd.
12095 (viper-backward-char-carefully, viper-forward-char-carefully)
12096 (viper-forward-word, viper-adjust-window): Declare.
12098 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12100 * progmodes/idlw-help.el (idlwave-help-fontify):
12101 Use called-interactively-p.
12103 * term/w32console.el (w32-get-console-codepage)
12104 (w32-get-console-output-codepage): Declare.
12106 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12107 Remove unnecessary declarations.
12108 (dframe-message): Doc fix.
12110 * info.el (dframe-select-attached-frame, dframe-current-frame):
12113 * speedbar.el (speedbar-message): Make it an obsolete alias.
12114 Update all callers.
12115 (speedbar-with-attached-buffer)
12116 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12117 (speedbar-with-writable): Use backquote.
12118 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12119 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12120 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12121 rather than speedbar- aliases.
12122 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12123 (speedbar-make-specialized-keymap, speedbar-insert-button)
12124 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12125 (speedbar-do-function-pointer): Declare.
12126 (rmail-speedbar-button, rmail-speedbar-find-file)
12127 (rmail-speedbar-move-message):
12128 Use dframe-with-attached-buffer rather than speedbar- alias.
12129 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12130 (dframe-message, speedbar-make-specialized-keymap)
12131 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12132 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12133 (speedbar-insert-button, dframe-select-attached-frame)
12134 (dframe-maybee-jump-to-attached-frame)
12135 (speedbar-change-initial-expansion-list)
12136 (speedbar-previously-used-expansion-list-name): Declare.
12137 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12138 Use dframe-message, dframe-with-attached-buffer rather than
12140 (gud-sentinel): Silence compiler.
12141 * progmodes/vhdl-mode.el (speedbar-refresh)
12142 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12143 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12144 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12145 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12146 (speedbar-file-lists, speedbar-make-tag-line)
12147 (speedbar-line-directory, speedbar-goto-this-file)
12148 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12149 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12150 (speedbar-make-button, speedbar-reset-scanners)
12151 (speedbar-files-item-info, speedbar-line-text)
12152 (speedbar-find-file-in-frame, speedbar-set-timer)
12153 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12154 (speedbar-with-writable): Do not (re)define it.
12155 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12156 rather than speedbar- alias.
12158 2013-05-21 Leo Liu <sdl.web@gmail.com>
12160 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12162 (octave-mode): Tweak fill-nobreak-predicate.
12163 (inferior-octave-startup): Check process to avoid infinite loop.
12164 (inferior-octave): Pop to buffer first to show abornmal process
12167 2013-05-21 Glenn Morris <rgm@gnu.org>
12169 * printing.el (pr-menu-bar): Define when compiling.
12171 2013-05-21 Leo Liu <sdl.web@gmail.com>
12173 * progmodes/octave.el (octave-auto-fill): Remove.
12174 (octave-indent-new-comment-line): Improve.
12175 (octave-mode): Use auto fill mode through
12176 comment-line-break-function and fill-nobreak-predicate.
12177 (octave-goto-function-definition): Support DEFUN_DLD.
12178 (octave-beginning-of-defun): Small tweak.
12179 (octave-help): Show parent directory.
12181 2013-05-21 Glenn Morris <rgm@gnu.org>
12183 * files.el (dired-unmark):
12184 * progmodes/gud.el (gdb-input): Update declarations.
12186 * calculator.el (electric, ehelp): No need to load when compiling.
12187 (Electric-command-loop, electric-describe-mode): Declare.
12189 * doc-view.el (doc-view-current-converter-processes): Move before use.
12191 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12192 Move MODE-set-explicitly definition before use.
12194 * international/mule-diag.el (mule-diag):
12195 Don't use obsolete window-system-version.
12197 * mail/feedmail.el (smtpmail): No need to load when compiling.
12198 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12200 * mail/mail-utils.el (rfc822): No need to load when compiling.
12201 (rfc822-addresses): Autoload it.
12202 (mail-strip-quoted-names): Trivial simplification.
12204 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12205 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12207 * net/snmp-mode.el (tempo): Don't duplicate requires.
12209 * progmodes/prolog.el (info): No need to load when compiling.
12210 (comint): Require before shell requires it.
12211 (Info-goto-node): Autoload it.
12212 (Info-follow-nearest-node): Declare.
12213 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12215 * textmodes/artist.el (picture-mode-exit): Declare.
12217 * textmodes/reftex-parse.el (reftex-parse-from-file):
12218 Trivial rewrite so the compiler can parse it better.
12220 2013-05-20 Leo Liu <sdl.web@gmail.com>
12222 * progmodes/octave.el (octave-help-mode-map)
12223 (octave-help-mode-finish-hook): New variables.
12224 (octave-help-mode, octave-help-mode-finish): New functions.
12225 (octave-help): Use octave-help-mode.
12227 2013-05-20 Glenn Morris <rgm@gnu.org>
12229 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12231 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12233 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12234 start at point, so that expansion starting right after opening
12235 slash in a regexp is recognized.
12236 (ruby-syntax-before-regexp-re): New defvar, extracted from
12237 ruby-syntax-propertize-function. Since the value of this regexp
12238 is looked up at runtime now, we should be able to turn
12239 `ruby-syntax-methods-before-regexp' into a defcustom later.
12240 (ruby-syntax-propertize-function): Split regexp matching into two
12241 parts, for opening and closing slashes. That allows us to skip
12242 over string interpolations and support multiline regexps.
12243 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12244 for them, which calls `ruby-syntax-propertize-expansion'.
12245 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12246 call to `ruby-syntax-propertize-function'.
12247 (ruby-syntax-propertize-expansion): Extracted from
12248 `ruby-syntax-propertize-expansions'. Handles one expansion.
12249 (ruby-syntax-propertize-percent-literal): Leave point right after
12250 the percent symbol, so that the expression expansion rule can
12251 propertize the contents.
12252 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12254 (ruby-syntax-propertize-expansions): Remove.
12256 2013-05-18 Juri Linkov <juri@jurta.org>
12258 * man.el (Man-default-man-entry): Remove `-' from the end
12259 of the default value. (Bug#14400)
12261 2013-05-18 Glenn Morris <rgm@gnu.org>
12263 * comint.el (comint-password-prompt-regexp):
12264 Allow "password for XXX" where XXX contains colons (eg https://...).
12266 2013-05-18 Leo Liu <sdl.web@gmail.com>
12268 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12269 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12270 (octave-source-directories): Don't check process.
12271 (octave-source-directories, octave-find-definition): Doc fix.
12273 2013-05-18 Glenn Morris <rgm@gnu.org>
12275 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12276 Remove backspace/delete bindings. (Bug#14392)
12278 * cus-dep.el (custom-make-dependencies): Sort the output.
12279 (custom-versions-load-alist): Convert comment to doc.
12281 2013-05-17 Leo Liu <sdl.web@gmail.com>
12283 * newcomment.el (comment-search-backward): Stricter in finding
12284 comment start. (Bug#14303)
12286 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12287 (octave-comment-start-skip): Properly anchored.
12289 2013-05-17 Leo Liu <sdl.web@gmail.com>
12291 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12292 Clean up when turned off. (Bug#14395)
12293 (smie--highlight-matching-block-overlay): No longer buffer-local.
12294 (smie-highlight-matching-block): Adjust.
12296 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12298 Doc string fix for "nanoseconds" (Bug#14406).
12299 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12300 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12302 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12304 * calc/calc-units.el (math-extract-units): Preserve powers
12307 2013-05-17 Leo Liu <sdl.web@gmail.com>
12309 * subr.el (delete-consecutive-dups): New function.
12310 * ido.el (ido-set-matches-1): Use it.
12311 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12312 * ido.el (ido-remove-consecutive-dups): Remove.
12314 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12316 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12317 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12318 regexp-opt's `words'.
12320 2013-05-16 Leo Liu <sdl.web@gmail.com>
12322 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12323 (smie--highlight-matching-block-overlay)
12324 (smie--highlight-matching-block-lastpos)
12325 (smie--highlight-matching-block-timer): New variables.
12326 (smie-highlight-matching-block): New function.
12327 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12328 (smie-setup): Conditionally enable smie-blink-matching-open.
12330 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12332 Sync with upstream verilog-mode r840.
12333 * progmodes/verilog-mode.el (verilog-mode-version)
12334 (verilog-mode-release-date): Update.
12335 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12336 (verilog-sig-tieoff): Fix string error on
12337 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12338 (verilog-read-decls): Fix parameters confusing
12339 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12341 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12343 * subr.el (reveal-filename): New function.
12345 * loadup.el: Compute Emacs executable versions on MS-Windows,
12346 where executables have the .exe extension. Add a hard link
12347 emacs-XX.YY.ZZ.exe on MS-Windows.
12349 * Makefile.in (XARGS_LIMIT): New variable.
12350 (custom-deps, finder-data, autoloads)
12351 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12352 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12353 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12354 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12356 2013-05-16 Leo Liu <sdl.web@gmail.com>
12358 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12359 (octave-mode-menu, octave-mode-map): Remove its uses.
12361 2013-05-16 Reto Zimmermann <reto@gnu.org>
12363 Sync with upstream vhdl mode v3.34.2.
12364 * progmodes/vhdl-mode.el: Use `push' throughout.
12365 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12366 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12367 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12368 (vhdl-actual-generic-name): New option to derive actual generic name.
12369 (vhdl-port-paste-signals): Replace formal by actual generics.
12370 (vhdl-beautify): New name for old group vhdl-align. Update users.
12371 (vhdl-beautify-options): New option.
12372 (vhdl-last-input-event): New compat alias. Use throughout.
12373 (vhdl-goto-line): Replace user level function `goto-line'.
12374 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12375 vhdl-fix-statement-buffer.
12376 (vhdl-create-mode-menu): Add some entries.
12377 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12378 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12379 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12380 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12381 to force statements on one line.
12382 (vhdl-remove-trailing-spaces-region):
12383 New, split from vhdl-remove-trailing-spaces.
12384 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12385 Respect vhdl-beautify-options.
12386 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12387 (vhdl-update-sensitivity-list): Not add with index if exists without.
12388 Not include array index with signal. Ignore keywords in comments.
12389 (vhdl-get-visible-signals): Regexp tweaks.
12390 (vhdl-template-component-inst): Handle empty library.
12391 (vhdl-template-type): Add template for 'enum' type.
12392 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12393 Use vhdl-replace-string.
12394 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12395 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12396 (vhdl-speedbar-initialize): Update for above name change.
12397 (vhdl-compose-wire-components): Fix in handling of constants.
12398 (vhdl-error-regexp-emacs-alist): New variable.
12399 (vhdl-error-regexp-add-emacs): New function;
12400 adds support for new compile.el (Emacs 22+)
12401 (vhdl-generate-makefile-1): Change target order for single lib. units.
12402 Allow use of absolute file names.
12404 2013-05-16 Leo Liu <sdl.web@gmail.com>
12406 * simple.el (prog-indent-sexp): Indent enclosing defun.
12408 2013-05-15 Glenn Morris <rgm@gnu.org>
12410 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12411 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12412 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12413 (whitespace-highlight): Move to whitespace group.
12415 * comint.el (comint-source):
12416 * pcmpl-linux.el (pcmpl-linux):
12417 * shell.el (shell-faces):
12418 * eshell/esh-opt.el (eshell-opt):
12419 * international/ccl.el (ccl): Remove empty custom groups.
12421 * completion.el (dynamic-completion-mode):
12422 * jit-lock.el (jit-lock-debug-mode):
12423 * minibuffer.el (completion-in-region-mode):
12424 * type-break.el (type-break-mode-line-message-mode)
12425 (type-break-query-mode):
12426 * emulation/tpu-edt.el (tpu-edt-mode):
12427 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12428 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12429 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12431 * term/xterm.el (xterm): Change parent group to terminals.
12433 * master.el (master): Remove empty custom group.
12434 (master-mode): Remove unused :group argument.
12435 * textmodes/refill.el (refill): Remove empty custom group.
12436 (refill-mode): Remove unused :group argument.
12438 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12440 * cus-dep.el: Provide a feature.
12441 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12442 Don't mistakenly ignore files whose basenames match a basename
12443 from preloaded-file-list (eg cedet/ede/simple.el).
12444 Add a fallback method for getting :group.
12446 2013-05-15 Juri Linkov <juri@jurta.org>
12448 * isearch.el (isearch-char-by-name): Rename from
12449 `isearch-insert-char-by-name'. Doc fix.
12450 (isearch-forward): Mention `isearch-char-by-name' in
12451 the docstring. (Bug#13348)
12453 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12454 `exit-minibuffer' instead of
12455 `isearch-nonincremental-exit-minibuffer'.
12456 (isearch-edit-string): Remove mention of
12457 `isearch-nonincremental-exit-minibuffer' from docstring.
12458 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12459 (isearch-forward-exit-minibuffer)
12460 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12462 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12464 * loadup.el: Just use unversioned DOC.
12466 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12467 literals as extending to EOB.
12468 (nxml-last-fontify-end): Remove unused variable.
12469 (nxml-after-change1): Use with-silent-modifications.
12470 (nxml-extend-after-change-region): Simplify.
12471 (nxml-extend-after-change-region1): Remove function.
12472 (nxml-after-change1): Don't adjust for dependent regions.
12473 (nxml-fontify-matcher): Simplify.
12474 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12475 (xmltok-add-dependent): Remove function.
12476 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12477 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12478 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12479 unclosed <[[, <?, comment, and other literals as extending to EOB.
12480 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12481 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12483 (rng-do-some-validation-1): Don't mark dependent regions.
12484 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12485 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12486 (nxml-clear-dependent-regions): Remove functions.
12487 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12488 (nxml-ensure-scan-up-to-date):
12489 Don't clear&mark dependent regions.
12491 2013-05-15 Leo Liu <sdl.web@gmail.com>
12493 * progmodes/octave.el (octave-goto-function-definition):
12494 Improve and fix callers.
12496 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12498 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12499 the setter (bug#14387).
12501 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12502 surrounding group (bug#14402).
12504 2013-05-14 Juri Linkov <juri@jurta.org>
12506 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12509 2013-05-14 Glenn Morris <rgm@gnu.org>
12511 * progmodes/f90.el (f90-imenu-generic-expression):
12512 Fix typo in 2013-05-08 change. (Bug#14402)
12514 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12516 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12517 Remove signals for which replies are never received.
12519 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12521 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12522 (gdb-handler-alist, gdb-handler-number): Remove variables.
12523 (gdb-handler-list): New variable.
12524 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12525 (gdb-pending-handler-p, gdb-handle-reply)
12526 (gdb-remove-all-pending-triggers): New functions.
12527 (gdb-discard-unordered-replies): New defcustom.
12528 (gdb-handler): New defstruct.
12529 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12530 instead of gdb-pending-triggers. Update docstring.
12531 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12532 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12533 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12534 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12535 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12536 (gdb-frame-handler): Pending triggers are now automatically managed.
12537 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12539 (gdb-input): Automatically handles pending triggers. Update docstring.
12540 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12541 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12543 (gdb-done-or-error): Now use gdb-handle-reply.
12545 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12547 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12550 2013-05-14 Glenn Morris <rgm@gnu.org>
12552 * subr.el (user-emacs-directory-warning): New option.
12553 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12555 2013-05-14 Leo Liu <sdl.web@gmail.com>
12557 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12559 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12560 (octave-font-lock-texinfo-comment): Fix invalid search bound
12561 error: wrong side of point.
12563 2013-05-14 Glenn Morris <rgm@gnu.org>
12565 * progmodes/flymake.el (flymake-xml-program): New option.
12566 (flymake-xml-init): Use it.
12568 * term/xterm.el: Provide a feature.
12570 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12572 2013-05-13 Glenn Morris <rgm@gnu.org>
12574 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12575 Add compat aliases as a hack workaround. (Bug#14384)
12577 2013-05-13 Leo Liu <sdl.web@gmail.com>
12579 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12581 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12583 (octave-comment-start-skip): Include %!.
12584 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12586 2013-05-12 Leo Liu <sdl.web@gmail.com>
12588 * progmodes/octave.el (inferior-octave-startup): Store the value
12589 of __octave_srcdir__ for octave-source-directories.
12590 (inferior-octave-check-process): New function refactored out of
12591 inferior-octave-send-list-and-digest.
12592 (octave-source-directories)
12593 (octave-find-definition-filename-function): New variables.
12594 (octave-source-directories)
12595 (octave-find-definition-default-filename): New functions.
12596 (octave-find-definition): Improve to find functions implemented in C++.
12598 2013-05-12 Glenn Morris <rgm@gnu.org>
12600 * calendar/diary-lib.el (diary-outlook-format-1):
12601 Don't include dayname in the output. (Bug#14349)
12603 2013-05-11 Glenn Morris <rgm@gnu.org>
12605 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12607 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12608 Treat cc-provide like provide.
12610 2013-05-11 Kevin Ryde <user42@zip.com.au>
12612 * cus-dep.el (custom-make-dependencies):
12613 Use generated-autoload-load-name for the sake of files such
12614 such cedet/semantic/bovine/c.el, where the base file name
12615 is not in load-path. (Bug#5277)
12617 2013-05-11 Glenn Morris <rgm@gnu.org>
12619 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12622 2013-05-11 Leo Liu <sdl.web@gmail.com>
12624 * progmodes/octave.el (octave-indent-comment): Improve.
12625 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12626 (octave-eldoc-function-signatures, octave-eldoc-function):
12628 (octave-mode, inferior-octave-mode): Add eldoc support.
12630 2013-05-11 Richard Stallman <rms@gnu.org>
12632 * epa.el (epa-decrypt-file): Take output file name as argument
12633 and read it using `interactive'.
12635 2013-05-11 Leo Liu <sdl.web@gmail.com>
12637 * progmodes/octave.el (octave-beginning-of-line)
12638 (octave-end-of-line): Check before using up-list because it jumps
12639 out of more syntactic contructs since moving to smie.
12640 (octave-indent-comment): New function.
12641 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12642 (octave-begin-keywords, octave-end-keywords)
12643 (octave-reserved-words, octave-smie-bnf-table)
12644 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12646 2013-05-11 Glenn Morris <rgm@gnu.org>
12648 * faces.el (internal-face-x-get-resource):
12649 * frame.el (ns-display-monitor-attributes-list):
12650 * calc/calc-aent.el (math-to-radians-2):
12651 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12654 * calc/calc-menu.el: Make it loadable in isolation.
12656 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12657 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12658 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12659 (eudc-bbdb-query-internal): Require 'bbdb.
12661 * lpr.el (lpr-headers-switches):
12662 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12664 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12666 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12668 * term.el (term-set-escape-char): Make it idempotent.
12670 2013-05-10 Leo Liu <sdl.web@gmail.com>
12672 * progmodes/octave.el (inferior-octave-completion-table):
12673 No longer a function and all uses changed. Use cache to speed up
12674 completion due to bug#11906.
12675 (octave-beginning-of-defun): Re-write to be more general.
12677 2013-05-10 Glenn Morris <rgm@gnu.org>
12679 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12681 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12683 * comint.el (comint-redirect-send-command-to-process): Use :around
12684 rather than :override for comint-redirect-filter.
12685 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12686 Call it instead of comint-redirect-original-filter-function (which
12687 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12689 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12691 * frame.el (display-monitor-attributes-list): Add NS case.
12692 (ns-display-monitor-attributes-list): Declare.
12694 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12696 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12698 2013-05-09 Glenn Morris <rgm@gnu.org>
12700 * international/fontset.el (vertical-centering-font-regexp):
12701 Set standard-value.
12703 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12705 * bookmark.el (bookmark-search-delay):
12706 * cus-start.el (vertical-centering-font-regexp):
12707 * ps-mule.el (ps-mule-font-info-database-default):
12708 * ps-print.el (ps-default-fg, ps-default-bg):
12709 * type-break.el (type-break-good-break-interval):
12710 * whitespace.el (whitespace-indentation-regexp)
12711 (whitespace-space-after-tab-regexp):
12712 * emacs-lisp/testcover.el (testcover-1value-functions)
12713 (testcover-noreturn-functions, testcover-progn-functions)
12714 (testcover-prog1-functions):
12715 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12716 * eshell/em-glob.el (eshell-glob-translate-alist):
12717 * play/tetris.el (tetris-tty-colors):
12718 * progmodes/cpp.el (cpp-face-default-list):
12719 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12720 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12721 (idlwave-help-browser-generic-args):
12722 * progmodes/make-mode.el (makefile-special-targets-list):
12723 * progmodes/python.el (python-shell-virtualenv-path):
12724 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12725 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12726 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12727 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12728 * textmodes/reftex-vars.el (reftex-format-label-function):
12729 * textmodes/remember.el (remember-diary-file): Fix custom types.
12731 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12734 2013-05-09 Leo Liu <sdl.web@gmail.com>
12736 * progmodes/octave.el (inferior-octave-completion-at-point):
12737 Restore file completion. (Bug#14300)
12738 (inferior-octave-startup): Fix incorrect highlighting for the
12741 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12743 * progmodes/ruby-mode.el: First cut at SMIE support.
12744 (ruby-use-smie): New var.
12745 (ruby-smie-grammar): New constant.
12746 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12747 (ruby-smie--forward-token, ruby-smie--backward-token)
12748 (ruby-smie-rules): New functions.
12749 (ruby-mode-variables): Setup SMIE if applicable.
12751 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12753 * simple.el (line-move-visual): Signal beginning/end of buffer
12754 only if vertical-motion moved less than it was requested. Avoids
12755 silly incorrect error messages when there are display strings with
12756 multiple newlines at EOL.
12758 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12760 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12761 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12762 (prolog-char-quote-workaround):
12763 * progmodes/cperl-mode.el (cperl-under-as-char):
12764 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12766 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12768 (vhdl-mode-syntax-table-init): Remove.
12770 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12773 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12775 (ld-script-font-lock-keywords):
12776 Change regexps to use things like \_< and \_>.
12778 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12779 Change all regexps to use things like \_< and \_>.
12781 * progmodes/autoconf.el (autoconf-definition-regexp)
12782 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12783 Handle a _ with symbol syntax.
12784 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12786 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12787 Consolidate declaration.
12788 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12790 (ada-create-syntax-table): Remove.
12791 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12792 already has the right syntax nowadays.
12793 (ada-goto-next-word): Don't change the syntax of "_".
12795 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12798 2013-05-08 Sam Steingold <sds@gnu.org>
12800 * thingatpt.el (thing-at-point): Accept optional second argument
12801 NO-PROPERTIES to strip the text properties from the return value.
12802 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12803 to `thing-at-point' instead of stripping the properties ourselves.
12804 Also, when `thing-at-point' fails to find a url, prepend "http://"
12805 to the filename at point on the assumption that the user is
12806 pointing at something like gnu.org/gnu.
12808 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12810 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12811 * faces.el (crm-separator):
12812 Silence byte-compiler.
12814 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12815 (tool-bar-map): Remove unneeded defvars.
12817 2013-05-08 Leo Liu <sdl.web@gmail.com>
12819 Re-work a fix for bug#10994 based on Le Wang's patch.
12820 * ido.el (ido-remove-consecutive-dups): New helper.
12821 (ido-completing-read): Use it.
12822 (ido-chop): Revert fix for bug#10994.
12824 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12826 * cus-edit.el (custom-save-variables):
12827 Pretty-print long values. (Bug#14187)
12829 2013-05-08 Glenn Morris <rgm@gnu.org>
12831 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12832 (m4-mode-syntax-table): Init in the defvar.
12833 (m4-mode-abbrev-table): Let define-derived-mode define it.
12835 2013-05-08 Tom Tromey <tromey@redhat.com>
12837 * progmodes/m4-mode.el (m4-mode-syntax-table):
12838 Do not treat "_" as word constituent. (Bug#14167)
12840 2013-05-07 Glenn Morris <rgm@gnu.org>
12842 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12843 Remove explicit eshell-isearch-cancel-map.
12845 * progmodes/f90.el (f90-smart-end-names): New option.
12846 (f90-smart-end): Doc fix.
12847 (f90-end-block-optional-name): New constant.
12848 (f90-block-match): Respect f90-smart-end-names.
12850 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12853 about implicit semi-colons (bug#14218).
12855 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12857 * frame.el (display-monitor-attributes-list)
12858 (frame-monitor-attributes): New functions.
12860 2013-05-06 Leo Liu <sdl.web@gmail.com>
12862 * progmodes/octave.el (octave-syntax-propertize-function): Change
12863 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12864 (octave-font-lock-keywords): Use octave-operator-regexp.
12865 (octave-completion-at-point): Rename from
12866 octave-completion-at-point-function.
12867 (inferior-octave-directory-tracker): Robustify.
12868 (octave-text-functions): Remove and fix its uses. No such things
12871 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12873 * emacs-lisp/trace.el (trace--display-buffer): New function.
12874 (trace-make-advice): Use it.
12876 2013-05-06 Juri Linkov <juri@jurta.org>
12878 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12879 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12881 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12882 in the help string. (Bug#12985)
12884 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12886 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12888 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12890 * progmodes/perl-mode.el: Add support for here documents.
12891 (perl-syntax-propertize-function): Match here-doc markers.
12892 (perl-syntax-propertize-special-constructs): Find their end.
12893 (perl-imenu-generic-expression): Use [:alnum:].
12895 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12896 (advice--add-function): Refresh the advice if already present
12899 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12901 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12903 2013-05-06 Glenn Morris <rgm@gnu.org>
12905 * w32-fns.el (w32-charset-info-alist): Declare.
12907 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12908 of its defcustom properties.
12909 (eshell-cmpl-initialize): No need to load pcomplete.
12911 * generic-x.el: No need to require comint when compiling.
12913 * net/eudc-export.el: Make it loadable without bbdb.
12914 (top-level): Use require rather than load-library.
12915 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12916 (eudc-batch-export-records-to-bbdb)
12917 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12920 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12922 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12923 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12924 some tweaks, instead.
12926 2013-05-05 Leo Liu <sdl.web@gmail.com>
12928 * progmodes/octave.el (octave-font-lock-keywords)
12929 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12930 (inferior-octave-send-list-and-digest): Improve error message.
12931 (octave-mode, inferior-octave-mode): Use setq-local.
12932 (octave-help): Set info-lookup-mode.
12934 2013-05-05 Richard Stallman <rms@gnu.org>
12936 * vc/compare-w.el (compare-windows-whitespace):
12937 Treat no-break space as whitespace.
12939 * mail/rmailsum.el (rmail-summary-rmail-update):
12940 Detect empty summary and don't change selected message.
12941 (rmail-summary-goto-msg): Likewise.
12943 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12944 Doc fixes, rename args.
12946 2013-05-05 Alan Mackenzie <acm@muc.de>
12948 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12950 2013-05-05 Juri Linkov <juri@jurta.org>
12952 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12953 to not add the length of the summary segment to the return value.
12956 2013-05-05 Leo Liu <sdl.web@gmail.com>
12958 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12959 (inferior-octave-output-filter): Remove.
12960 (octave-send-region, inferior-octave-startup): Fix callers.
12961 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12962 (octave-binary-file-extensions): New user variable.
12963 (octave-find-definition): Confirm if opening binary files.
12964 (octave-help-file): Use octave-find-definition to get the binary
12966 (octave-help): Adjust for octave-help-file change.
12968 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12970 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12971 Merge the two entries that handle function definitions.
12972 (pascal--syntax-propertize): New const.
12973 (pascal-mode): Use it. Use setq-local.
12975 2013-05-04 Glenn Morris <rgm@gnu.org>
12977 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12978 (diary-from-outlook): Respect diary-from-outlook-function.
12980 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12982 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12983 Move the declaration from C.
12984 (read-minibuffer, eval-minibuffer): Move from C.
12985 (completion-setup-function): Avoid minibuffer-completion-contents.
12987 2013-05-03 Leo Liu <sdl.web@gmail.com>
12989 * progmodes/octave.el (octave-font-lock-keywords): Do not
12990 dehighlight 'end' in comments or strings.
12991 (octave-completing-read, octave-goto-function-definition):
12993 (octave-help-buffer): New user variable.
12994 (octave-help-file, octave-help-function): New button types.
12995 (octave-help): New command and bind it to C-h ;.
12996 (octave-find-definition): New command and bind it to M-.
12997 (user-error): Alias to error if not defined.
12999 2013-05-02 Leo Liu <sdl.web@gmail.com>
13001 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13003 (octave-font-lock-keywords): Include [ and {.
13005 2013-05-02 Leo Liu <sdl.web@gmail.com>
13007 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13008 (inferior-octave): Remove calling comint-mode and return the buffer.
13009 (inferior-octave-startup): Cosmetic changes.
13011 2013-05-02 Leo Liu <sdl.web@gmail.com>
13013 * progmodes/octave.el (octave-syntax-propertize-function):
13014 Include the case when ' is at line beginning. (Bug#14336)
13016 2013-05-02 Glenn Morris <rgm@gnu.org>
13018 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13019 * desktop.el (vc-dir-mode): Just autoload it here.
13021 2013-05-02 Alan Mackenzie <acm@muc.de>
13023 Eliminate variable c-standard-font-lock-fontify-region-function.
13024 * progmodes/cc-mode.el
13025 (c-standard-font-lock-fontify-region-function): Remove.
13026 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13028 2013-05-01 Leo Liu <sdl.web@gmail.com>
13030 * progmodes/octave.el: Compatible with older emacs-24 releases.
13031 (inferior-octave-has-built-in-variables): Remove. Built-in
13032 variables were removed from Octave in 2007.
13033 (inferior-octave-startup): Fix uses.
13034 (comint-line-beginning-position): Remove compatibility code for
13037 2013-05-01 Juri Linkov <juri@jurta.org>
13039 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13041 2013-05-01 Juri Linkov <juri@jurta.org>
13043 * comint.el (comint-previous-matching-input): Don't print message
13044 "History item: %d" when `isearch-mode' is active.
13045 (comint-history-isearch-message): Print message "History item: %d"
13046 when `comint-input-ring-index' is not empty and this function is
13047 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13049 2013-05-01 Leo Liu <sdl.web@gmail.com>
13051 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13052 definitions. Use completion-at-point to insert keywords.
13053 (octave-abbrev-start): Remove.
13054 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13056 2013-04-30 Leo Liu <sdl.web@gmail.com>
13058 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13061 2013-04-30 Alan Mackenzie <acm@muc.de>
13063 Handle arbitrarily long C++ member initialisation lists.
13064 * progmodes/cc-engine.el (c-back-over-member-initializers):
13066 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13067 (most) member init lists.
13069 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13071 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13074 2013-04-30 Leo Liu <sdl.web@gmail.com>
13076 * progmodes/octave.el (octave-variables): Remove. No builtin
13077 variables any more. All converted to functions.
13078 (octave-font-lock-keywords, octave-completion-at-point-function):
13080 (octave-font-lock-texinfo-comment): New user variable.
13081 (octave-texinfo-font-lock-keywords): New variable for texinfo
13083 (octave-function-comment-block): New face.
13084 (octave-font-lock-texinfo-comment): New function.
13085 (octave-mode): Font lock texinfo comment block.
13087 2013-04-29 Leo Liu <sdl.web@gmail.com>
13089 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13090 indexing expression.
13091 (octave-continuation-string): Do not use \.
13092 (inferior-octave-complete-impossible): Remove.
13093 (inferior-octave-completion-table)
13094 (inferior-octave-completion-at-point): Remove its uses.
13095 (inferior-octave-startup): completion_matches was introduced to
13096 Octave in 1996 so safe to assume it.
13097 (octave-function-file-comment): Improve to follow how Octave does it.
13098 (octave-update-function-file-comment): Tweak.
13100 2013-04-29 Leo Liu <sdl.web@gmail.com>
13102 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13103 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13104 (octave-function-file-comment): Fix typo.
13105 (octave-sync-function-file-names): Use read-char-choice.
13107 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13109 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13110 to t for the less important warnings.
13112 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13114 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13116 2013-04-27 Glenn Morris <rgm@gnu.org>
13118 * vc/log-view.el (log-view-current-entry):
13119 Treat "---" separator lines as part of the following rev. (Bug#14169)
13121 2013-04-27 Juri Linkov <juri@jurta.org>
13123 * subr.el (read-number): Doc fix about using it by interactive
13124 code letter `n'. (Bug#14254)
13126 2013-04-27 Juri Linkov <juri@jurta.org>
13128 * desktop.el (desktop-auto-save-timeout): New option.
13129 (desktop-file-checksum): New variable.
13130 (desktop-save): Add optional arg `auto-save' and don't auto-save
13131 if nothing changed.
13132 (desktop-auto-save-timer): New variable.
13133 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13134 (after-init-hook): Call `desktop-auto-save-set-timer'.
13135 Suggested by Reuben Thomas <rrt@sc3d.org> in
13136 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13138 2013-04-27 Leo Liu <sdl.web@gmail.com>
13140 * progmodes/octave.el (octave-function-file-p)
13141 (octave-skip-comment-forward, octave-function-file-comment)
13142 (octave-update-function-file-comment): New functions.
13143 (octave-mode-map): Bind C-c ; to
13144 octave-update-function-file-comment.
13145 (octave-mode-menu): Add octave-update-function-file-comment.
13146 (octave-mode, inferior-octave-mode): Fix doc-string.
13147 (octave-insert-defun): Conform to Octave's coding convention.
13150 * files.el (basic-save-buffer): Don't let errors in
13151 before-save-hook prevent saving buffer.
13153 2013-04-20 Roland Winkler <winkler@gnu.org>
13155 * faces.el (read-face-name): Use completing-read if arg multiple
13158 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13160 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13161 displayed, move point to after the totals line.
13162 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13165 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13167 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13168 Add current dir to the load-path.
13169 (package-generate-autoloads): Don't rely on
13170 autoload-ensure-default-file.
13172 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13174 * textmodes/remember.el (remember-store-in-files): Document that
13175 the file name format is passed to `format-time-string'.
13177 2013-04-26 Leo Liu <sdl.web@gmail.com>
13179 * progmodes/octave.el (octave-sync-function-file-names): New function.
13180 (octave-mode): Use it in before-save-hook.
13182 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13184 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13187 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13188 \n and comment, even if it's not an implicit ; (bug#14218).
13190 2013-04-26 Glenn Morris <rgm@gnu.org>
13192 * subr.el (read-number): Once more use `read' rather than
13193 `string-to-number', to trap non-numeric input. (Bug#14254)
13195 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13197 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13198 Use `syntax-multiline' text property consistently instead of
13199 `font-lock-multiline'. (Bug#14237)
13201 2013-04-26 Glenn Morris <rgm@gnu.org>
13203 * emacs-lisp/shadow.el (list-load-path-shadows):
13204 No longer necessary to check for duplicate simple.el, since
13205 2012-07-07 change to init_lread to not include installation lisp
13206 directories in load-path when running uninstalled. (Bug#14270)
13208 2013-04-26 Leo Liu <sdl.web@gmail.com>
13210 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13211 (octave-mode, inferior-octave-mode): Use setq-local.
13212 (octave-not-in-string-or-comment-p): Rename to
13213 octave-in-string-or-comment-p.
13214 (octave-in-comment-p, octave-in-string-p)
13215 (octave-in-string-or-comment-p): Replace defsubst with defun.
13217 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13219 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13221 2013-04-25 Bastien Guerry <bzg@gnu.org>
13223 * textmodes/remember.el (remember-data-directory)
13224 (remember-directory-file-name-format): Fix custom types.
13226 2013-04-25 Leo Liu <sdl.web@gmail.com>
13228 * progmodes/octave.el (octave-completion-at-point-function):
13229 Make use of inferior octave process.
13230 (octave-initialize-completions): Remove.
13231 (inferior-octave-completion-table): New function.
13232 (inferior-octave-completion-at-point): Use it.
13233 (octave-completion-alist): Remove.
13235 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13237 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13238 (opascal-mode-syntax-table): New var.
13239 (opascal-literal-kind, opascal-is-literal-end)
13240 (opascal-literal-token-at): Rewrite.
13241 (opascal--literal-start-re, opascal-font-lock-keywords)
13242 (opascal--syntax-propertize): New constants.
13243 (opascal-font-lock-defaults): Adjust.
13244 (opascal-mode): Use them. Set comment-<foo> variables as well.
13245 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13246 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13247 (delphi-other-face, opascal-other-face): Remove face variables.
13248 (opascal-save-state): Remove macro.
13249 (opascal-fontifying-progress-step): Remove constant.
13250 (opascal--ignore-changes): Remove var.
13251 (opascal-set-token-property, opascal-parse-next-literal)
13252 (opascal-is-stable-literal, opascal-complete-literal)
13253 (opascal-is-literal-start, opascal-face-of)
13254 (opascal-parse-region, opascal-parse-region-until-stable)
13255 (opascal-fontify-region, opascal-after-change)
13256 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13257 (opascal-debug-parse-region, opascal-debug-parse-window)
13258 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13259 (opascal-debug-fontify-buffer): Remove.
13260 (opascal-debug-mode-map): Adjust accordingly.
13262 2013-04-25 Leo Liu <sdl.web@gmail.com>
13264 Merge octave-mod.el and octave-inf.el into octave.el with some
13266 * progmodes/octave.el: New file renamed from octave-mod.el.
13267 * progmodes/octave-inf.el: Merged into octave.el.
13268 * progmodes/octave-mod.el: Renamed to octave.el.
13270 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13272 * textmodes/reftex-vars.el
13273 (reftex-label-ignored-macros-and-environments): New defcustom.
13275 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13277 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13279 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13280 (smie-indent-keyword): Improve the check to ensure that the next
13281 comment is really on the same line.
13282 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13284 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13285 semi-colons if the line is not otherwise empty (bug#14218).
13287 2013-04-25 Glenn Morris <rgm@gnu.org>
13289 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13291 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13293 * progmodes/opascal.el (opascal-set-token-property): Rename from
13294 opascal-set-text-properties and only set `token' (bug#14134).
13295 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13296 (opascal-literal-text-properties): Remove.
13297 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13300 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13302 * textmodes/remember.el (remember-handler-functions): Add an
13303 option for a new handler `remember-store-in-files'.
13304 (remember-data-directory, remember-directory-file-name-format):
13306 (remember-store-in-files): New function to store remember notes
13307 as separate files within a directory.
13309 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13311 * progmodes/compile.el (compilation-next-error-function):
13312 Pass "formats" to compilation-find-file (bug#11777).
13314 2013-04-24 Glenn Morris <rgm@gnu.org>
13316 * vc/vc-bzr.el (vc-bzr-print-log):
13317 * vc/vc-hg.el (vc-hg-print-log):
13318 * vc/vc-svn.el (vc-svn-print-log):
13319 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13321 * vc/vc-bzr.el (vc-bzr-print-log):
13322 * vc/vc-cvs.el (vc-cvs-print-log):
13323 * vc/vc-git.el (vc-git-print-log):
13324 * vc/vc-hg.el (vc-hg-print-log):
13325 * vc/vc-mtn.el (vc-mtn-print-log):
13326 * vc/vc-rcs.el (vc-rcs-print-log):
13327 * vc/vc-sccs.el (vc-sccs-print-log):
13328 * vc/vc-svn.el (vc-svn-print-log):
13329 * vc/vc.el (vc-print-log-internal): Doc fixes.
13331 2013-04-23 Glenn Morris <rgm@gnu.org>
13333 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13334 Remove venerable code attempting to avoid substitute-command-keys.
13336 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13338 * textmodes/reftex-vars.el (reftex-label-regexps):
13339 Call `reftex-compile-variables' after changes to this variable.
13341 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13343 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13344 Use lexical-binding.
13345 (jit-lock-force-redisplay): Use markers, check buffer's continued
13346 existence and beware narrowed buffers.
13347 (jit-lock-fontify-now): Adjust call accordingly.
13349 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13351 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13352 to avoid misleading the user.
13354 2013-04-22 Leo Liu <sdl.web@gmail.com>
13356 * info-look.el: Prefer latex2e.info. (Bug#14240)
13358 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13360 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13362 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13363 * net/tramp.el (tramp-call-process): ... here.
13364 (tramp-set-completion-function, tramp-parse-putty):
13365 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13366 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13367 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13368 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13369 (tramp-call-local-coding-command): Use `tramp-call-process'
13370 instead of `tramp-compat-call-process'.
13372 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13373 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13374 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13375 (tramp-find-inline-compress): Improve traces.
13376 (tramp-maybe-send-script): Check for Perl binary.
13377 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13379 2013-04-22 Daiki Ueno <ueno@gnu.org>
13381 * epg.el (epg-context-pinentry-mode): New function.
13382 (epg-context-set-pinentry-mode): New function.
13383 (epg--start): Pass --pinentry-mode option to gpg command.
13385 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13387 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13388 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13389 `completion-at-point'. (Bug#13774)
13391 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13392 default key binding for `describe-distribution' has been moved to
13393 `C-h C-o'. (Bug#13970)
13395 2013-04-21 Glenn Morris <rgm@gnu.org>
13397 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13399 (vc-print-log): Clarify interactive prompt.
13401 2013-04-20 Glenn Morris <rgm@gnu.org>
13403 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13404 No longer include timestamp etc information.
13406 2013-04-20 Roland Winkler <winkler@gnu.org>
13408 * faces.el (read-face-name): Bug fix, return just one face if arg
13409 multiple is nil. (Bug#14209)
13411 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13413 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13414 (remove-function): Autoload.
13416 * comint.el (comint-redirect-original-filter-function): Remove.
13417 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13418 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13419 (vc-cvs-annotate-command):
13420 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13421 * progmodes/prolog.el (prolog-consult-compile):
13422 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13423 Use add/remove-function instead.
13424 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13425 (gud-tooltip-process-output, gud-tooltip-tips):
13426 Use add/remove-function instead.
13427 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13428 (scheme-interaction-mode, exit-scheme-interaction-mode):
13429 Use add/remove-function instead.
13431 * vc/vc-dispatcher.el: Use lexical-binding.
13432 (vc--process-sentinel): Rename from vc-process-sentinel.
13433 Change last arg to be the code to run. Don't use vc-previous-sentinel
13434 and vc-sentinel-commands any more.
13435 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13436 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13438 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13440 * progmodes/sh-script.el (sh-imenu-generic-expression):
13441 Handle function names with a single character. (Bug#14111)
13443 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13445 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13446 for subroutines defined in an eval (bug#14182).
13448 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13450 * bookmark.el (bookmark-completing-read): Improve handling of empty
13451 string (bug#14176).
13453 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13455 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13457 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13459 New faster Imenu implementation (bug#14058).
13460 * progmodes/python.el:
13461 (python-imenu-prev-index-position):
13462 (python-imenu-format-item-label-function)
13463 (python-imenu-format-parent-item-label-function)
13464 (python-imenu-format-parent-item-jump-label-function):
13466 (python-imenu-format-item-label)
13467 (python-imenu-format-parent-item-label)
13468 (python-imenu-format-parent-item-jump-label)
13469 (python-imenu--put-parent, python-imenu--build-tree)
13470 (python-imenu-create-index, python-imenu-create-flat-index)
13471 (python-util-popn): New functions.
13472 (python-mode): Set imenu-create-index-function to
13473 python-imenu-create-index.
13475 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13477 * winner.el (winner-active-region): Use region-active-p, activate-mark
13478 and deactivate-mark (bug#14225).
13480 * simple.el (deactivate-mark): Don't inline it.
13482 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13484 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13486 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13488 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13489 file extensions from the archive-mode entry in order to prefer
13490 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13492 2013-04-18 Leo Liu <sdl.web@gmail.com>
13494 * bindings.el (help-event-list): Add ?\?.
13496 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13498 * subr.el (with-wrapper-hook): Declare obsolete.
13499 * simple.el (filter-buffer-substring-function): New hook.
13500 (filter-buffer-substring): Use it.
13501 (filter-buffer-substring-functions): Mark obsolete.
13502 * minibuffer.el (completion-in-region-function): New hook.
13503 (completion-in-region): Use it.
13504 (completion-in-region-functions): Mark obsolete.
13505 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13506 * abbrev.el (abbrev-expand-function): New hook.
13507 (expand-abbrev): Use it.
13508 (abbrev-expand-functions): Mark obsolete.
13509 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13510 and :filter-return.
13512 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13514 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13515 and do not care about match data.
13517 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13519 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13520 completion tables when completing error conditions and
13521 `declare' arguments.
13522 (lisp-complete-symbol, field-complete): Mark as obsolete.
13523 (check-parens): Unmatched parens are user errors.
13524 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13526 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13528 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13529 command changed buffer (ie. `flyspell-pre-buffer' is not current
13530 buffer), which prevents making decisions based on invalid value of
13531 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13532 cause an error when `flyspell-pre-point' was nil after switching
13534 (flyspell-post-command-hook): No longer needs to change buffers when
13535 checking pre-word. While at it remove unnecessary progn.
13537 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13539 * textmodes/ispell.el (ispell-add-per-file-word-list):
13540 Fix `flyspell-correct-word-before-point' error when accepting
13541 words and `coment-padding' is an integer by using
13542 `comment-normalize-vars' (Bug #14214).
13544 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13546 New defun movement commands.
13547 * progmodes/python.el (python-nav--syntactically)
13548 (python-nav--forward-defun, python-nav-backward-defun)
13549 (python-nav-forward-defun): New functions.
13551 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13553 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13554 (python-syntax-context): Use named compiler-macro for backwards
13555 compatibility with Emacs 24.x.
13557 2013-04-17 Leo Liu <sdl.web@gmail.com>
13559 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13560 octave-hide-process-buffer.
13562 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13564 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13567 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13569 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13570 Fix adjustment of offset when receiving incomplete responses from GDB
13573 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13575 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13576 python-mode-abbrev-table.
13577 (python-skeleton-define): Adjust accordingly.
13578 (python-mode-abbrev-table): New table that inherits from it so that
13579 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13581 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13582 (abbrev-symbol): Use it.
13583 (abbrev--before-point): Use it since we already handle inheritance.
13585 2013-04-16 Leo Liu <sdl.web@gmail.com>
13587 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13588 binding to info-lookup-symbol.
13590 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13592 * minibuffer.el (completion--twq-all):
13593 * term/ns-win.el (ns-initialize-window-system):
13594 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13596 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13598 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13601 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13603 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13605 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13606 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13608 (ruby-end-of-defun): Remove the unused arg, change the docstring
13609 to reflect that this function is only used as the value of
13610 `end-of-defun-function'.
13611 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13612 to reflect an earlier change that beginning/end-of-defun functions
13613 jump between methods in a class definition, as well as top-level
13616 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13618 * minibuffer.el (minibuffer-complete): Don't just scroll
13619 a *Completions* that's been iconified.
13620 (minibuffer-force-complete): Make sure repetitions do cycle when going
13621 through completion-in-region -> minibuffer-complete.
13623 2013-04-15 Alan Mackenzie <acm@muc.de>
13625 Correct the placement of c-cpp-delimiters when there're #s not at
13628 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13629 place a submatch around the #.
13630 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13631 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13634 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13636 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13637 (advice--member-p): New arg `name'.
13638 (advice--add-function, advice-member-p): Use it (bug#14202).
13640 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13642 Reformulate java imenu-generic-expression.
13643 The old expression contained ill formed regexps.
13645 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13646 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13647 (cc-imenu-java-method-arg-regexp): New defconsts.
13648 (cc-imenu-java-build-type-args-regex): New defun.
13649 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13650 handling of spaces in the regexp.
13652 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13654 * textmodes/ispell.el (ispell-command-loop): Remove
13655 flyspell highlight of a word when ispell accepts it (bug #14178).
13657 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13659 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13660 uses code from the previous `ange-ftp-run-real-handler'.
13661 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13662 only in case that function exist. This is needed for proper
13663 unloading of Tramp.
13665 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13667 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13669 * textmodes/reftex.el (reftex-compile-variables): Use it.
13671 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13673 * files.el (normal-mode): Only use default major-mode if no other mode
13676 * emacs-lisp/trace.el (trace-values): New function.
13678 * files.el: Allow : in local variables (bug#14089).
13679 (hack-local-variable-regexp): New var.
13680 (hack-local-variables-prop-line, hack-local-variables): Use it.
13682 2013-04-13 Roland Winkler <winkler@gnu.org>
13684 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13685 data before it gets modified by bibtex-beginning-of-entry.
13687 2013-04-13 Roland Winkler <winkler@gnu.org>
13689 * textmodes/bibtex.el (bibtex-url): Doc fix.
13691 2013-04-13 Roland Winkler <winkler@gnu.org>
13693 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13694 does not visit a BibTeX file, exclude it from the list of buffers
13695 returned by bibtex-initialize.
13697 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13699 * window.el (split-window): Remove interactive form, since as a
13700 command this function is a special case of split-window-below.
13701 Correct doc string.
13703 2013-04-12 Roland Winkler <winkler@gnu.org>
13705 * faces.el (read-face-name): Do not override value of arg default.
13706 Allow single faces and strings as default values. Remove those
13707 elements from return value that are not faces.
13708 (describe-face): Simplify.
13709 (face-at-point): New optional args thing and multiple so that this
13710 function can provide the same functionality previously provided by
13712 (make-face-bold, make-face-unbold, make-face-italic)
13713 (make-face-unitalic, make-face-bold-italic, invert-face)
13714 (modify-face, read-face-and-attribute): Use face-at-point.
13716 * cus-edit.el (customize-face, customize-face-other-window)
13717 * cus-theme.el (custom-theme-add-face)
13718 * face-remap.el (buffer-face-set)
13719 * facemenu.el (facemenu-set-face): Use face-at-point.
13721 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13723 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13725 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13727 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13728 off leading { and trailing } from field values.
13730 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13732 * emacs-lisp/timer.el (timer--check): New function.
13733 (timer--time, timer-set-function, timer-event-handler): Use it.
13734 (timer-set-idle-time): Simplify.
13735 (timer--activate): CSE.
13736 (timer-event-handler): Give more info in error message.
13737 (internal-timer-start-idle): New function, moved from C.
13739 * mpc.el (mpc-proc): Add `restart' argument.
13740 (mpc-proc-cmd): Use it.
13741 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13742 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13745 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13747 * progmodes/sh-script.el: Implement `sh-mode' own
13748 `add-log-current-defun-function' (bug#14112).
13749 (sh-current-defun-name): New function.
13750 (sh-mode): Use the function.
13752 2013-04-09 Bastien Guerry <bzg@gnu.org>
13754 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13756 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13758 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13760 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13763 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13765 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13768 2013-04-07 Leo Liu <sdl.web@gmail.com>
13770 * pcmpl-x.el: New file.
13772 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13774 Do not set x-display-name until X connection is established.
13775 This is needed to prevent from weird situation described at
13776 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13777 * frame.el (make-frame): Set x-display-name after call to
13778 window system initialization function, not before.
13779 * term/x-win.el (x-initialize-window-system): Add optional
13780 display argument and use it.
13781 * term/w32-win.el (w32-initialize-window-system):
13782 * term/ns-win.el (ns-initialize-window-system):
13783 * term/pc-win.el (msdos-initialize-window-system):
13784 Add compatible optional display argument.
13786 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13788 * files.el (normal-backup-enable-predicate): On MS-Windows and
13789 MS-DOS compare truenames of temporary-file-directory and of the
13790 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13791 don't fail comparison by compare-strings. Also, compare file
13792 names case-insensitively on MS-Windows and MS-DOS.
13794 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13796 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13797 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13799 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13801 * whitespace.el (whitespace-color-on, whitespace-color-off):
13802 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13804 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13806 * ispell.el (ispell-set-spellchecker-params):
13807 Really set `ispell-args' for all equivs.
13809 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13811 * ido.el (ido-completions): Use extra elements of ido-decorations
13813 (ido-decorations): Update docstring.
13815 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13817 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13818 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13819 nil during initialization, in order not to miss changes since the
13820 file was opened. (Bug#14140)
13822 2013-04-05 Leo Liu <sdl.web@gmail.com>
13824 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13826 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13828 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13830 2013-04-04 Glenn Morris <rgm@gnu.org>
13832 * electric.el (electric-pair-inhibit-predicate): Add :version.
13834 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13836 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13837 when a package is required several times (bug#14082).
13839 2013-04-04 Roland Winkler <winkler@gnu.org>
13841 * faces.el (read-face-name): Behave as promised by the docstring.
13842 Assume that arg default is a list of faces.
13843 (describe-face): Call read-face-name with list of default faces.
13845 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13847 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13848 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13849 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13851 (bookmark-exit-hook-internal): Save even if list is empty.
13853 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13855 * emacs-lisp/package.el (package-pinned-packages): New var.
13856 (package--add-to-archive-contents): Obey it (bug#14118).
13858 2013-04-03 Alan Mackenzie <acm@muc.de>
13860 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13861 Also adapt to the new values of element 7 of a parse state.
13863 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13864 parameter `not-in-delimiter'. Handle being inside comment opener.
13865 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13866 character in case we're typing a '*' after a '/'.
13867 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13868 instead by passing the parameter to c-state-pp-to-literal.
13870 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13871 for elt. 7 of a parse state.
13873 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13875 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13876 * international/latin1-disp.el, international/mule-util.el:
13877 * language/cyril-util.el, language/european.el, language/ind-util.el:
13878 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13879 * language/tibetan.el, language/viet-util.el:
13880 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13882 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13884 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13885 (electric-pair-post-self-insert-function): Use it.
13886 (electric-pair-default-inhibit): New function, extracted from
13887 electric-pair-post-self-insert-function.
13889 2013-03-31 Roland Winkler <winkler@gnu.org>
13891 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13893 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13895 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13897 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13899 Un-indent after "pass" and "return" statements (Bug#13888)
13900 * progmodes/python.el (python-indent-block-enders): New var.
13901 (python-indent-calculate-indentation): Use it.
13903 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13905 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13906 defun. Defining it as defalias could introduce too eager
13907 byte-compiler optimization. (Bug#14030)
13909 2013-03-30 Chong Yidong <cyd@gnu.org>
13911 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13913 2013-03-30 Leo Liu <sdl.web@gmail.com>
13915 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13916 (kmacro-execute-from-register): Pass the keyboard macro to
13917 kmacro-call-macro or repeating won't work correctly.
13919 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13921 * progmodes/subword.el: Back to using `forward-symbol'.
13923 * subr.el (forward-whitespace, forward-symbol)
13924 (forward-same-syntax): Move from thingatpt.el.
13926 2013-03-29 Leo Liu <sdl.web@gmail.com>
13928 * kmacro.el (kmacro-to-register): New command.
13929 (kmacro-execute-from-register): New function.
13930 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13932 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13934 * mpc.el: Use defvar-local and setq-local.
13935 (mpc--proc-connect): Connection failures are not bugs.
13936 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13937 (mpc-volume-map): Bind to the up-events.
13939 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13941 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13942 instead of `forward-symbol'.
13944 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13946 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13947 (edebug--recursive-edit): Use it.
13948 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13949 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13951 2013-03-28 Leo Liu <sdl.web@gmail.com>
13953 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13955 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13957 * facemenu.el (list-colors-callback): New defvar.
13958 (list-colors-redisplay): New function.
13959 (list-colors-display): Install list-colors-redisplay as the
13960 revert-buffer-function. (Bug#14063)
13962 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13964 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13965 and suffixes don't overlap (bug#14061).
13967 * case-table.el: Use lexical-binding.
13968 (case-table-get-table): New function.
13969 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13971 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13973 * progmodes/subword.el: Add `superword-mode' to do word motion
13974 over symbol_words (parallels and leverages `subword-mode' which
13975 does word motion inside MixedCaseWords).
13977 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13979 * eshell/em-unix.el: Move su and sudo to...
13980 * eshell/em-tramp.el: ...Eshell tramp module.
13982 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13984 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13985 Change return value to be a sexp. Delay `get-buffer' to after
13986 restoring the desktop (bug#13951).
13988 2013-03-26 Leo Liu <sdl.web@gmail.com>
13990 * register.el: Move semantic tag handling back to
13991 cedet/semantic/senator.el. (Bug#14052)
13993 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13995 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13996 into the prompt either (bug#13963).
13998 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14000 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14001 part of "(error-foo)".
14003 2013-03-24 Juri Linkov <juri@jurta.org>
14005 * replace.el (list-matching-lines-prefix-face): New defcustom.
14006 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14007 `occur-engine' if `face-differs-from-default-p' returns t.
14008 (occur-engine): Add `,' inside backquote construct to evaluate
14009 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14010 Pass `prefix-face' to the functions `occur-context-lines' and
14011 `occur-engine-add-prefix'.
14012 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14013 `prefix-face' and propertize the prefix with `prefix-face'.
14016 2013-03-24 Leo Liu <sdl.web@gmail.com>
14018 * nxml/rng-valid.el (rng-validate-while-idle)
14019 (rng-validate-quick-while-idle): Guard against deleted buffer.
14022 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14023 is the last entry in kill-buffer-hook.
14025 * files.el (kill-buffer-hook): Doc fix.
14027 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14029 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14030 Make it safe-local.
14032 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14034 2013-03-23 Leo Liu <sdl.web@gmail.com>
14036 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14039 * nxml/rng-valid.el (rng-validate-mode)
14040 (rng-after-change-function, rng-do-some-validation):
14041 * nxml/rng-maint.el (rng-validate-buffer):
14042 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14043 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14044 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14045 (nxml-extend-after-change-region): Use with-silent-modifications.
14047 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14050 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14051 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14052 timer-idle-list. (Bug#13999)
14054 2013-03-23 Juri Linkov <juri@jurta.org>
14056 * info.el (info-index-match): New face.
14057 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14058 main pattern and add text properties with the new face to matches
14059 in index entries relative to the beginning of the index entry.
14062 2013-03-21 Eric Ludlam <zappo@gnu.org>
14064 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14065 Inhibit read only while inserting objects.
14067 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14069 * progmodes/cfengine.el: Update docs to mention
14070 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14071 symbol motion. Remove "_" from the word syntax.
14073 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14075 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14076 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14078 2013-03-20 Juri Linkov <juri@jurta.org>
14080 * info.el (Info-next-reference-or-link)
14081 (Info-prev-reference-or-link): New functions.
14082 (Info-next-reference, Info-prev-reference): Use them.
14083 (Info-try-follow-nearest-node): Handle footnote navigation.
14084 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14086 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14088 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14089 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14091 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14093 Suppress unnecessary non-ASCII chatter during build process.
14094 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14095 (batch-skkdic-convert): Suppress most of the chatter.
14096 It's not needed so much now that machines are faster,
14097 and its non-ASCII component was confusing; see Dmitry Gutov in
14098 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14100 2013-03-20 Leo Liu <sdl.web@gmail.com>
14102 * ido.el (ido-chop): Fix bug#10994.
14104 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14106 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14108 (whitespace-color-on, whitespace-color-off):
14109 Use `font-lock-fontify-buffer' (Bug#13817).
14111 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14113 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14114 remapping in mode-line.
14115 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14117 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14119 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14120 value for `whitespace-line' face (Bug#13875).
14121 (whitespace-font-lock-keywords): Change description.
14122 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14123 the constructed keywords instead.
14124 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14126 2013-03-19 Leo Liu <sdl.web@gmail.com>
14128 * progmodes/compile.el (compilation-display-error): New command.
14129 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14132 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14134 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14136 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14138 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14140 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14142 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14144 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14145 * net/tramp-gvfs.el (top):
14146 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14147 (tramp-handle-shell-command): Use it.
14148 (tramp-dissect-file-name): Raise an error when hostname is a
14149 method name, and neither method nor user is specified.
14151 * net/trampver.el: Update release number.
14153 2013-03-18 Leo Liu <sdl.web@gmail.com>
14155 Make sure eldoc can be turned off properly.
14156 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14158 (eldoc-display-message-p): Revert last change.
14159 (eldoc-display-message-no-interference-p)
14160 (eldoc-print-current-symbol-info): Tweak.
14162 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14164 * doc-view.el (doc-view-new-window-function): Check the new window
14165 overlay's display property instead the char property of the
14166 buffer's first char. Use `with-selected-window' instead of
14167 `save-window-excursion' with `select-window'.
14168 (doc-view-document->bitmap): Check the current doc-view overlay's
14169 display property instead the char property of the buffer's first char.
14171 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14173 Automate the build of ja-dic.el (Bug#13984).
14174 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14175 from the input, rather than assume that it's been done for us by the
14176 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14177 the current date into a ja-dic.el comment, as that complicates
14178 regression testing.
14180 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14182 * whitespace.el: Fix double evaluation.
14183 (whitespace-space, whitespace-hspace, whitespace-tab)
14184 (whitespace-newline, whitespace-trailing, whitespace-line)
14185 (whitespace-space-before-tab, whitespace-indentation)
14186 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14188 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14189 (whitespace-color-on): Use a single font-lock-add-keywords call.
14190 Fix double-evaluation of face variables.
14192 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14194 * net/tramp-adb.el (tramp-adb-parse-device-names):
14195 Use `start-process' instead of `call-process'. Otherwise, the
14196 function might be blocked under MS Windows. (Bug#13299)
14198 2013-03-17 Leo Liu <sdl.web@gmail.com>
14200 Extend eldoc to display info in the mode-line. (Bug#13978)
14201 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14202 (eldoc-mode-line-string): New variable.
14203 (eldoc-minibuffer-message): New function.
14204 (eldoc-message-function): New variable.
14205 (eldoc-message): Use it.
14206 (eldoc-display-message-p)
14207 (eldoc-display-message-no-interference-p):
14208 Support eldoc-post-insert-mode.
14210 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14211 (eval-expression): Run it.
14213 2013-03-17 Roland Winkler <winkler@gnu.org>
14215 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14216 strings in the list of return values.
14218 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14220 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14221 radix before checking for HMS forms.
14223 2013-03-16 Leo Liu <sdl.web@gmail.com>
14225 * progmodes/scheme.el: Add indentation and font-locking for λ.
14228 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14230 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14231 token before point (bug#13942).
14233 2013-03-16 Leo Liu <sdl.web@gmail.com>
14235 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14237 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14239 * startup.el (command-line-normalize-file-name): Fix handling of
14240 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14241 <xfq.free@gmail.com> in
14242 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14244 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14246 Sync with Tramp 2.2.7.
14248 * net/trampver.el: Update release number.
14250 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14252 * doc-view.el: Fix bug#13887.
14253 (doc-view-insert-image): Don't modify overlay associated to
14254 non-live windows, and implement horizontal centering of image in
14255 case it's smaller than the window.
14256 (doc-view-new-window-function): Force redisplay of new windows on
14259 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14261 * saveplace.el (save-place-alist-to-file): Don't sort
14262 `save-place-alist', just pretty-print it (bug#13882).
14264 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14266 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14267 Check whether `default-file-name-coding-system' is bound.
14268 It isn't in XEmacs.
14270 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14272 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14273 backquotes for `obsolete' (bug#13929).
14275 * international/mule.el (find-auto-coding): Include file name in
14276 obsolescence warning (bug#13922).
14278 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14280 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14281 for CFEngine 3-specific indentation.
14282 (cfengine3-indent-line): Use it. Fix up category regex.
14283 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14285 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14287 * type-break.el (type-break-file-name):
14288 * textmodes/remember.el (remember-data-file):
14289 * strokes.el (strokes-file):
14290 * shadowfile.el (shadow-initialize):
14291 * saveplace.el (save-place-file):
14292 * ps-bdf.el (bdf-cache-file):
14293 * progmodes/idlwave.el (idlwave-config-directory):
14294 * net/quickurl.el (quickurl-url-file):
14295 * international/kkc.el (kkc-init-file-name):
14296 * ido.el (ido-save-directory-list-file):
14297 * emulation/viper.el (viper-custom-file-name):
14298 * emulation/vip.el (vip-startup-file):
14299 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14300 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14302 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14304 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14305 * language/thai-word.el: Switch to UTF-8.
14307 See ChangeLog.16 for earlier changes.
14309 ;; Local Variables:
14313 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14315 This file is part of GNU Emacs.
14317 GNU Emacs is free software: you can redistribute it and/or modify
14318 it under the terms of the GNU General Public License as published by
14319 the Free Software Foundation, either version 3 of the License, or
14320 (at your option) any later version.
14322 GNU Emacs is distributed in the hope that it will be useful,
14323 but WITHOUT ANY WARRANTY; without even the implied warranty of
14324 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14325 GNU General Public License for more details.
14327 You should have received a copy of the GNU General Public License
14328 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.