1 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
3 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4 Don't propertize `?' or `!' as symbol constituent when after
7 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
9 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
10 which is no longer needed and causes trouble in GTK builds (bug#17046).
12 * emacs-lisp/package-x.el (package--archive-contents-from-url):
13 Use url-insert-file-contents; package-handle-response no longer exists.
15 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
17 * emacs-lisp/package.el: Fix bug#16733 (again).
18 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
19 (url-http-target-url): Remove unused declarations.
20 (package-handle-response): Remove.
21 (package--with-work-buffer): Use url-insert-file-contents and simplify.
22 (package--download-one-archive): Use current-buffer instead of
23 dynamic binding of `buffer'.
24 (describe-package-1): Do not decode readme-string.
26 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
28 * simple.el (primitive-undo): Correction to 2014-03-24 change.
30 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
32 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
34 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
35 from 2014-03-07, it decreases performance unnecessarily. Let-bind
36 `remote-file-name-inhibit-cache' to nil in the second pass.
37 (tramp-find-executable): Do not call "which" on SunOS.
38 (tramp-send-command-and-check): Fix docstring.
39 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
40 check whether source directory has set the sticky bit.
42 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
44 * simple.el (primitive-undo): Only process marker adjustments
45 validated against their corresponding (TEXT . POS). Issue warning
46 for lone marker adjustments in undo history. (Bug#16818)
47 (undo-make-selective-list): Add marker adjustments to selective
48 undo list based on whether their corresponding (TEXT . POS) is in
49 the region. Remove variable adjusted-markers, which was unused
50 and only non nil during undo-make-selective-list.
51 (undo-elt-in-region): Return nil when passed a marker adjustment
52 and explain in function doc.
54 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
56 * emacs-lisp/package.el (package--add-to-archive-contents):
57 Include already installed and built-in packages in
58 `package-archive-contents'.
59 (package-install): Don't include already installed packages in the
60 options during interactive invocation. (Bug#16762)
62 2014-03-24 Daniel Colascione <dancol@dancol.org>
64 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
65 instead of cl-loop search function.
67 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
69 * frameset.el (frameset--initial-params): Fix typo in parameter name.
71 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
73 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
75 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
77 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
78 Match special global variables without curlies, too.
79 (ruby-font-lock-keywords): Simplify the matcher for special global
80 variables. Don't require a non-word character after the variable.
83 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
85 * simple.el (redisplay-highlight-region-function): Increase priority of
86 overlay to make sure boundaries are visible (bug#15899).
88 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
90 * frameset.el (frameset-restore): Compare display strings with equal.
92 * frame.el (make-frame): Don't quote display name in error message,
93 it is already a string.
95 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
97 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
100 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
102 * emacs-lisp/package.el (package-show-package-list): If the buffer
103 is already displayed in another window, switch to that window.
105 2014-03-21 Daniel Colascione <dancol@dancol.org>
107 * mail/emacsbug.el (report-emacs-bug): Include memory usage
108 information in bug reports.
110 2014-03-23 Daniel Colascione <dancol@dancol.org>
112 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
113 list to look for keyword arguments instead of `memq', fixing
114 (Bug#3647) --- unfortunately, only for freshly-compiled code.
115 Please make bootstrap.
117 2014-03-23 Richard Stallman <rms@gnu.org>
119 * battery.el (battery-linux-sysfs): Search for each field
120 from the beginning of the buffer.
122 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
124 * emacs-lisp/package.el (package-desc): Use the contents of the
125 quoted form, not its cdr. (Bug#16873)
127 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
129 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
130 benefit of doc.c; change parameter profile to match the X function.
132 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
134 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
135 and `tramp-copy-env'.
137 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
138 (tramp-maybe-open-connection): Handle `tramp-login-env'.
140 2014-03-21 Glenn Morris <rgm@gnu.org>
142 * electric.el (electric-indent-post-self-insert-function): Add doc.
144 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
146 * emacs-lisp/package.el (package-compute-transaction):
147 Use `version-list-<=' to compare the requirement version against
148 the version of package already to be installed. Update the error
151 * progmodes/ruby-mode.el (ruby-smie-rules):
152 Add indentation rule for ` @ '. (Bug#17050)
154 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
156 * align.el (align-regexp): Remove superfluous backslash.
158 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
159 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
160 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
162 (ffap-next): Use C-u in docstring.
163 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
164 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
165 Remove superfluous backslashes.
166 (ffap-string-at-point): Reflow docstring.
168 * server.el (server-host): Reflow docstring.
169 (server-unload-function): Fix docstring typo.
170 (server-eval-at): Remove superfluous backslash.
172 * skeleton.el (skeleton-insert): Remove superfluous backslash.
173 (skeleton-insert): Doc fix.
174 (skeleton-insert): Reflow docstring.
176 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
177 (tty-color-approximate, tty-color-by-index, tty-color-values)
178 (tty-color-desc): Remove superfluous backslashes.
180 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
182 * electric.el (electric-newline-and-maybe-indent): New command.
183 Bind it globally to C-j.
184 (electric-indent-mode): Don't mess with the global map any more.
185 Don't drop the post-self-insert-hook is some buffer is still using it
187 * bindings.el (global-map): Remove C-j binding.
189 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
190 the docstring of functions advised before dumping (bug#16993).
192 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
194 * ps-print.el (ps-generate-postscript-with-faces):
195 Explicitly deactivate the mark (bug#16866).
196 * simple.el (deactivate-mark): Update region highlight.
198 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
200 * emacs-lisp/package.el (describe-package-1):
201 Decode commentary (bug#16733).
203 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
205 * custom.el (defcustom): Doc fix: recommend avoiding destructive
206 modification of the value argument of :set (bug#16755).
208 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
210 * simple.el (newline-and-indent): Do autofill (bug#17031).
212 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
214 * newcomment.el (comment-normalize-vars): Only add escaping check
215 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
216 (comment-beginning): Use `narrow-to-region' instead of moving back
218 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
219 (comment-start-skip): Update the docstring.
221 2014-03-18 Richard Stallman <rms@gnu.org>
223 * dired.el (dired-display-file): Force use of other window.
225 2014-03-18 Daniel Colascione <dancol@dancol.org>
227 * startup.el (tty-handle-args): Remove debug message from 2007.
229 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
231 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
232 (advice--make-interactive-form): Use it to avoid (auto)loading function.
233 (advice--make-1, advice-add, advice-remove):
234 Remove braindead :advice-pending hack.
236 2014-03-17 Glenn Morris <rgm@gnu.org>
238 * calendar/calendar.el (calendar-generate-month): Apply weekend
239 face to the right days; fixes 2013-08-06 change. (Bug#17028)
241 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
243 * net/tramp.el (tramp-action-out-of-band): Read pending output.
244 (tramp-call-process): Trace also DESTINATION.
246 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
247 Quote file names when they are local. Remove superfluous trace.
249 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
251 * newcomment.el (comment-beginning): If `comment-start-skip'
252 doesn't match, move back one char and try again. (Bug#16971)
254 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
255 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
256 Set `comment-start-skip' to a simpler value that doesn't try to
257 check if the semicolon is escaped (this is handled by
258 `syntax-ppss' now). (Bug#16971)
260 * progmodes/scheme.el (scheme-mode-variables): Same.
262 2014-03-16 Martin Rudalics <rudalics@gmx.at>
264 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
265 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
266 current (Bug#16816, Bug#17007).
267 (with-current-buffer-window): New macro doing the same as
268 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
269 * help.el (help-print-return-message): Warn in doc-string to not
270 use this in `with-help-window'.
271 (describe-bindings-internal): Call `describe-buffer-bindings'
272 from within help buffer. See Juanma's scenario in (Bug#16816).
273 (with-help-window): Update doc-string.
274 * dired.el (dired-mark-pop-up):
275 * files.el (save-buffers-kill-emacs):
276 * register.el (register-preview): Use `with-current-buffer-window'
277 instead of `with-temp-buffer-window'.
279 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
281 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
282 Implement inserting into current buffer, documented in their docstrings.
283 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
284 (rst-section-tree-point, rst-forward-section, rst-indent)
285 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
286 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
287 (rst-font-lock-handle-adornment-pre-match-form)
288 (rst-repeat-last-character): Reflow docstrings.
289 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
290 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
291 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
292 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
294 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
295 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
296 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
298 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
300 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
301 for compatibility with other ports.
302 (ns-initialize-window-system): Use it. It is set in term/common-win.el
303 from the -xrm command line argument, but in the Nextstep port its value
304 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
306 * progmodes/python.el (defconst, python-syntax-count-quotes)
307 (python-indent-region, python-indent-shift-right)
308 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
309 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
310 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
311 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
312 (inferior-python-mode, python-shell-make-comint, run-python-internal)
313 (python-shell-buffer-substring, python-shell-send-buffer)
314 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
315 (python-completion-complete-at-point, python-fill-docstring-style)
316 (python-eldoc-function, python-imenu-format-item-label)
317 (python-imenu-format-parent-item-label)
318 (python-imenu-format-parent-item-jump-label)
319 (python-imenu--build-tree, python-imenu-create-index)
320 (python-imenu-create-flat-index): Fix docstring typos.
321 (python-indent-context, python-shell-prompt-regexp, run-python):
322 Remove superfluous backslashes.
323 (python-indent-line, python-nav-beginning-of-defun)
324 (python-shell-get-buffer, python-shell-get-process)
325 (python-info-current-defun, python-info-current-line-comment-p)
326 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
327 (python-indent-post-self-insert-function, python-shell-send-file)
328 (python-shell-completion-get-completions)
329 (python-shell-completion-complete-or-indent)
330 (python-eldoc--get-doc-at-point): Reflow docstrings.
332 2014-03-14 Glenn Morris <rgm@gnu.org>
334 * emacs-lisp/package.el (package-menu-mode-map):
335 Replace use of obsolete function alias. Tweak menu item text.
337 * info.el (Info-finder-find-node):
338 Ignore the `emacs' metapackage. (Bug#10813)
340 * finder.el (finder-list-matches): Include unversioned packages
341 in the result of a keyword search.
343 * finder.el (finder--builtins-descriptions): New constant.
344 (finder-compile-keywords): Use finder--builtins-descriptions.
346 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
348 * simple.el (blink-matching-paren): Describe the new value,
349 `jump', enabling the old behavior.
350 (blink-matching-open): Use that value. (Bug#17008)
352 2014-03-14 Glenn Morris <rgm@gnu.org>
354 * finder.el (finder-no-scan-regexp): Add leim-list.
355 (finder-compile-keywords):
356 Don't skip files with same basename. (Bug#14010)
357 * Makefile.in (setwins_finder): New, excluding leim.
358 (finder-data): Use setwins_finder.
360 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
361 (help-function-arglist, help-make-usage): Move from here...
362 * help.el (help-split-fundoc, help-add-fundoc-usage)
363 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
364 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
366 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
368 * net/socks.el (socks, socks-override-functions)
369 (socks-find-services-entry):
370 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
371 (hif-find-ifdef-block):
372 * progmodes/modula2.el (m2-indent): Fix docstring typos.
374 * net/tls.el (tls-program): Reflow docstring.
376 * progmodes/pascal.el (pascal-mode-abbrev-table)
377 (pascal-imenu-generic-expression, pascal-auto-endcomments)
378 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
379 (pascal-outline-mode): Fix docstring typos.
380 (pascal-mode): Let define-derived-mode document mode hook.
381 (pascal-uncomment-area): Reflow.
382 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
384 * progmodes/opascal.el (opascal-compound-block-indent)
385 (opascal-case-label-indent): Fix docstring typos.
386 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
388 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
390 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
391 Fontify multiple adjacent negation chars. (Bug#17004)
393 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
395 * emacs-lisp/package.el (package--prepare-dependencies):
396 Accept requirements without explicit version (bug#14941).
398 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
400 * register.el (register-separator, copy-to-register): Doc fixes.
401 (register-preview-default): Remove unnecessary call to concat.
403 * frameset.el (frameset-restore): When checking for a visible frame,
404 use the action map instead of calling visible-frame-list.
406 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
408 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
410 2014-03-12 Martin Rudalics <rudalics@gmx.at>
412 * window.el (fit-frame-to-buffer): Get maximum width from
413 display's width instead of height.
415 2014-03-12 Glenn Morris <rgm@gnu.org>
417 * desktop.el (desktop-restore-frames)
418 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
419 (desktop-restore-reuses-frames): Doc tweaks.
421 * electric.el (electric-indent-mode): Doc fix.
423 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
425 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
426 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
427 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
428 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
429 (cvs-dired-use-hook): Fix docstring typos.
430 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
433 * vc/pcvs-defs.el (cvs-auto-remove-handled)
434 (cvs-auto-remove-directories, cvs-default-ignore-marks)
435 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
436 (cvs-execute-single-dir): Fix docstring typos.
438 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
439 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
441 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
443 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
446 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
448 * frameset.el (frameset--jump-to-register): Add autoload; it could be
449 called from jump-to-register after unloading the frameset package.
451 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
453 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
454 (bug#16975). Deactivate the mark before setting it to nil.
455 (activate-mark): Do nothing if region is already active.
457 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
459 * frameset.el (frameset--target-display): Remove definition; declare.
460 (frameset-save, frameset-restore): Let-bind frameset--target-display.
462 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
464 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
465 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
466 when the advice is pending.
467 (advice-remove): Remove this marker when not needed any more.
469 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
471 * frameset.el: Separate options for reusing frames and cleaning up.
472 (frameset--reuse-list): Remove definition; declare.
473 (frameset--action-map): Declare.
474 (frameset--find-frame-if): Doc fix.
475 (frameset--restore-frame): Cache frame action.
476 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
477 how to clean up the frame list after restoring. Remove cleaning
478 options from REUSE-FRAMES. Change all keyword values to symbols.
479 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
481 * desktop.el (desktop-restore-forces-onscreen)
482 (desktop-restore-reuses-frames): Use non-keyword values.
483 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
485 2014-03-10 Glenn Morris <rgm@gnu.org>
487 * files.el (find-file): Doc fix: update info node name.
489 * emacs-lisp/advice.el (ad-add-advice, defadvice):
490 Doc fix: remove references to deleted info nodes.
492 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
494 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
495 Do not add `nil' to the environment, when there's no remote `locale'.
496 (tramp-find-inline-encoding): Check, that the remote host has
497 installed perl, before sending scripts.
499 2014-03-10 Leo Liu <sdl.web@gmail.com>
501 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
502 Clear eldoc-last-message. (Bug#16920)
504 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
506 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
509 2014-03-09 Juri Linkov <juri@jurta.org>
511 * ansi-color.el (ansi-color-names-vector): Copy default colors
512 from `xterm-standard-colors' that look well on the default white
513 background (and also on the black background) to avoid illegible
514 color combinations like yellow-on-white and white-on-white.
515 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
517 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
519 * frameset.el (frameset-restore): When no frame is visible, do not
520 generate a list of frames, just make visible the selected one.
522 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
524 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
525 it only contains the repository root. (Bug#16897)
527 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
529 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
530 only when `remote-file-name-inhibit-cache' is nil.
531 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
533 2014-03-06 Martin Rudalics <rudalics@gmx.at>
535 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
537 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
538 fit-frame-to-buffer variable. Fix doc-string.
539 (fit-window-to-buffer): Set ONLY argument in call of
540 fit-frame-to-buffer. Fix doc-string.
542 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
544 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
545 (tramp-action-password): Clear password cache if needed.
546 (tramp-read-passwd): Do not clear password cache.
548 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
549 cache unless it is the first password request.
551 2014-03-06 Glenn Morris <rgm@gnu.org>
553 * simple.el (newline): Doc tweak.
555 * emacs-lisp/shadow.el (load-path-shadows-find):
556 Ignore dir-locals. (Bug#12357)
558 2014-03-05 Glenn Morris <rgm@gnu.org>
560 * files.el (interpreter-mode-alist):
561 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
563 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
565 * frameset.el (frameset--initial-params): Filter out null entries.
567 2014-03-05 Martin Rudalics <rudalics@gmx.at>
569 * window.el (window-min-height, window-min-width):
571 (window-body-size): Add PIXELWISE argument to make it consistent
574 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
576 * finder.el (finder-mode-map, finder-mode-syntax-table):
577 Revert part of 2014-02-28 change.
579 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
581 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
582 (eww-setup-buffer): Clear next/prev/etc more reliably.
583 (eww-textarea-map): [tab] doesn't work on tty.
584 Reported by Mario Lang.
586 * net/shr.el (shr-map): Ditto.
588 2014-03-04 Glenn Morris <rgm@gnu.org>
590 * minibuffer.el (completion-hilit-commonality):
591 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
593 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
595 * hilit-chg.el (hilit-chg-unload-function): New function.
596 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
597 (hilit-chg-map-changes): Prefer cardinal number to digit.
598 (hilit-chg-display-changes): Reflow docstring.
599 (highlight-changes-rotate-faces): Remove superfluous backslash.
601 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
603 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
604 `tramp-send-command-and-check'.
606 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
608 * hexl.el (hexl-address-region, hexl-ascii-region)
609 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
610 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
611 (hexl-forward-word, hexl-previous-line, hexl-next-line):
612 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
613 (hexl-mode): Doc fix.
614 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
615 (hexl-mode-ruler): Fix typos in docstrings.
617 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
618 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
619 Remove superfluous backslashes.
620 (strokes-last-stroke, strokes-global-map, strokes-mode):
622 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
623 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
624 (strokes-distance-squared, strokes-global-set-stroke)
625 (strokes-global-set-stroke-string): Doc fixes.
626 (strokes-help): Fix typos; reflow docstring.
628 2014-03-04 Martin Rudalics <rudalics@gmx.at>
630 * window.el (window-in-direction): Fix doc-string.
632 2014-03-04 Glenn Morris <rgm@gnu.org>
634 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
635 Explicit error if no grammar.
636 (smie-config-save): Doc fix. Fix quote typo.
638 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
640 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
641 electric-indent-mode-hook if we obey electric-indent-mode.
642 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
643 decide whether we obey electric-indent-mode.
644 (c-change-set-fl-decl-start, c-extend-after-change-region):
646 (c-electric-indent-mode-hook): Assume we do want to obey
647 electric-indent-mode.
649 * electric.el (electric-indent-mode-has-been-called): Remove.
650 (electric-indent-mode): Fix accordingly.
652 * files.el (hack-local-variables): Mention file name in warning.
654 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
656 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
658 * binding.el: Add comment describing why C-d binds to `delete-char'.
659 * simple.el (delete-forward-char): Mark as interactive-only.
661 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
663 * icomplete.el (icomplete-completions):
664 Follow-up to 2014-03-01 change.
666 * icomplete.el: Miscellaneous doc fixes.
667 Use Icomplete everywhere instead of icomplete for consistency.
668 (icomplete-max-delay-chars): Fix typo.
669 (icomplete-mode): Use \[].
670 (icomplete-tidy, icomplete-exhibit): Reflow.
671 (icomplete-minibuffer-setup-hook, icomplete-completions):
672 Remove superfluous backlashes.
674 * ido.el: Miscellaneous doc fixes.
675 Use Ido everywhere instead of ido or `ido' for consistency.
676 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
677 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
678 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
679 (ido-separator): Extract obsolescence info from docstring and declare
680 with make-obsolete-variable.
681 (ido-minibuffer-setup-hook): Simplify example.
682 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
683 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
684 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
685 (ido-everywhere): Reflow docstring.
686 (ido-toggle-vc): Doc fix.
687 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
688 of long list of keybindings.
690 2014-03-03 Glenn Morris <rgm@gnu.org>
692 * frame.el (display-pixel-height, display-pixel-width)
693 (display-mm-dimensions-alist, display-mm-height)
694 (display-mm-width): Doc tweaks.
696 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
698 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
699 case of undo in region.
701 2014-03-02 Martin Rudalics <rudalics@gmx.at>
703 * window.el (fit-window-to-buffer): Fix argument in window-size
704 call when window is horizontally combined.
706 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
708 * icomplete.el (icomplete-completions): Use string-width.
709 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
711 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
713 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
714 Highlight regexp options. (Bug#16914)
716 2014-03-01 Martin Rudalics <rudalics@gmx.at>
718 * window.el (window--max-delta-1): Round down when calculating
719 how many lines/columns we can get from a window.
721 2014-03-01 Glenn Morris <rgm@gnu.org>
723 * isearch.el (search-invisible): Doc fix.
725 * minibuffer.el (completion-hilit-commonality):
726 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
727 * comint.el (comint-dynamic-list-completions): Doc fix.
728 * comint.el (comint-dynamic-list-completions):
729 * filecache.el (file-cache-minibuffer-complete):
730 * tempo.el (tempo-display-completions):
731 * eshell/em-hist.el (eshell-list-history):
732 Replace use of obsolete argument of display-completion-list.
734 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
736 * icomplete.el (icomplete-completions):
737 Revert back to using "..." when ?… cannot be displayed.
739 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
741 * finder.el (finder-unload-function): New function.
743 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
745 * dframe.el (dframe-detach):
746 * find-dired.el (find-dired, find-name-dired):
747 * finder.el (finder-mode-map, finder-mode-syntax-table)
748 (finder-headmark, finder-select, finder-mouse-select):
751 2014-02-28 Martin Rudalics <rudalics@gmx.at>
753 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
754 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
755 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
756 Fix doc-string based on a suggestion by Nicolas Richard
757 <theonewiththeevillook@yahoo.fr>.
758 * help.el (with-help-window): Fix doc-string.
760 2014-02-28 Ivan Kanis <ivan@kanis.fr>
762 * net/shr.el (shr-image-animate): New option.
763 (shr-put-image): Respect shr-image-animate.
765 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
767 * net/tramp-adb.el (tramp-adb-parse-device-names):
768 Use `accept-process-output'.
769 (tramp-adb-handle-file-truename): Cache the localname only.
770 (tramp-adb-handle-make-directory)
771 (tramp-adb-handle-delete-directory): Flush file properties correctly.
772 (tramp-adb-handle-set-file-modes): Do not raise an error when file
773 modes cannot be changed.
775 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
776 file properties of symlinks.
778 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
780 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
781 required/optional fields to match development biblatex. (Bug#16781)
783 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
785 * saveplace.el (toggle-save-place):
786 Fix argument handling. (Bug#16673)
788 2014-02-28 Glenn Morris <rgm@gnu.org>
790 * minibuffer.el (completions-first-difference)
791 (completions-common-part, completion-hilit-commonality): Doc fixes.
793 2014-02-28 Karl Berry <karl@gnu.org>
795 * info.el (Info-mode-map): Add H for describe-mode,
796 to synchronize with standalone Info.
798 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
800 * progmodes/sql.el (sql-interactive-mode):
801 Avoid setting global comint-input-ring-separator. (Bug#16814)
803 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
805 * net/dbus.el (dbus--init-bus): Declare function.
806 (dbus-path-local, dbus-interface-local): New defconst.
807 (dbus-init-bus): Use them.
808 (dbus-return-values-table): Extend doc.
809 (dbus-handle-bus-disconnect): Extend error message.
811 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
813 * subr.el (y-or-n-p): Fix double space issue in message.
815 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
817 * net/tramp.el (tramp-call-process): Improve trace message.
818 (tramp-handle-insert-file-contents): Trace error case.
820 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
821 <insert-directory>: Use `tramp-handle-insert-directory'.
822 (tramp-adb-handle-insert-directory): Remove function.
823 (tramp-adb-send-command-and-check): New defun, replacing
824 `tramp-adb-command-exit-status'. Change all callees.
825 (tramp-adb-handle-file-attributes)
826 (tramp-adb-handle-directory-files-and-attributes): Use it.
827 (tramp-adb-ls-output-name-less-p):
828 Use `directory-listing-before-filename-regexp'.
829 (tramp-adb-handle-delete-directory): Flush also file properties of
830 the truename of directory.
831 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
832 (tramp-adb-handle-file-local-copy): Make the local copy readable.
833 (tramp-adb-handle-write-region): Implement APPEND.
834 (tramp-adb-handle-rename-file): Make it more robust. Flush file
835 properties correctly.
836 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
837 variables. Check for connected devices only when needed.
839 2014-02-27 Glenn Morris <rgm@gnu.org>
841 * minibuffer.el (completion-table-dynamic)
842 (completion-table-with-cache): Doc fixes.
844 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
845 (completing-read-multiple): Doc fixes.
847 2014-02-27 Daniel Colascione <dancol@dancol.org>
849 * minibuffer.el (completion--nth-completion): Fix indentation.
851 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
852 explicit tramp path is empty.
854 2014-02-27 Glenn Morris <rgm@gnu.org>
856 * emacs-lisp/crm.el (completing-read-multiple):
857 Empower help-enable-auto-load.
859 2014-02-26 Glenn Morris <rgm@gnu.org>
861 * startup.el (command-line): Don't init the tty in daemon mode.
863 Avoid calling tty-setup-hook twice, eg if a term file
864 explicitly calls tty-run-terminal-initialization. (Bug#16859)
865 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
866 (tty-create-frame-with-faces): Use it.
867 * startup.el (command-line): Pass run-hook argument
868 to tty-run-terminal-initialization.
870 * dired.el (dired-restore-desktop-buffer): Demote errors;
871 eg in case a glob match fails. (Bug#16884)
873 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
875 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
876 error from `read-from-string'. (Bug#16850)
878 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
879 result of `completing-read' in the interactive form. (Bug#16854)
881 2014-02-25 Glenn Morris <rgm@gnu.org>
883 * image.el (image-animate, image-animate-timeout):
884 Stop animating images in dead buffers. (Bug#16878)
886 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
888 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
890 * startup.el (term-setup-hook): Doc fix. Make obsolete.
891 * term/sun.el (sun-raw-prefix-hooks):
892 Use tty-setup-hook instead of term-setup-hook.
893 (terminal-init-sun): Construct message from bytecomp plist.
894 * term/wyse50.el (enable-arrow-keys): Doc fix.
896 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
898 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
901 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
903 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
905 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
907 * minibuffer.el (completion--try-word-completion):
908 Fix error when completing M-x commands (bug#16808).
910 2014-02-24 Leo Liu <sdl.web@gmail.com>
912 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
914 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
916 * apropos.el (apropos-print): Avoid formatting error when
917 apropos-do-all and apropos-compact-layout are both t.
919 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
921 * apropos.el (apropos-property, apropos-all-words-regexp)
922 (apropos-true-hit, apropos-variable, apropos-print):
923 Fix docstring typos, and remove obsolete comment.
925 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
927 * net/tramp-sh.el (tramp-sh-handle-file-truename):
928 Preserve trailing "/". (Bug#16851)
930 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
932 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
933 after `=>' (bug#16811).
934 (ruby-smie-rules): Handle the inconsistent second element of the
935 list returned by `smie-indent--parent'.
936 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
939 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
941 * elec-pair.el (electric-pair-text-syntax-table)
942 (electric-pair-syntax-info, electric-pair--syntax-ppss)
943 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
944 (electric-pair--looking-at-unterminated-string-p): Doc fix.
945 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
947 2014-02-22 Glenn Morris <rgm@gnu.org>
949 * imenu.el (imenu--generic-function): Doc fix.
951 * register.el (frame-configuration-to-register): Make obsolete.
953 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
955 * desktop.el (desktop-save-buffer-p): Do not fail when
956 desktop-files-not-to-save is nil. Return t for true result
959 2014-02-22 Daniel Colascione <dancol@dancol.org>
961 * net/secrets.el (secrets-create-item, secrets-search-items):
962 Check that attribute values are strings, avoiding the construction
963 of invalid dbus messages.
965 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
967 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
968 defun-declarations-alist.
970 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
972 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
975 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
977 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
978 (whitespace-newline, whitespace-trailing, whitespace-line)
979 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
980 (whitespace-space-after-tab): Fix typo in docstrings.
982 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
984 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
986 * electric.el (electric-indent-functions-without-reindent):
987 Add `yaml-indent-line'.
989 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
991 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
992 It has done nothing for years; should be removed after the release.
994 * simple.el (choose-completion): Fix docstring typo.
995 (read-quoted-char-radix): Remove unneeded * in docstring.
996 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
997 Don't escape parentheses unnecessarily in docstrings.
999 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1001 Fix handling of window-min-height/-width (Bug#16738).
1002 * window.el (window--dump-window, window--dump-frame):
1004 (window--min-size-1): Account for window dividers.
1005 When window-resize-pixelwise is nil, delay rounding till after the
1006 sum of the window components has been calculated.
1007 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1008 nil make sure at least one text line and two text columns remain
1010 (window-resize): Signal an error when window-resize-apply fails.
1011 (window--resize-child-windows): Fix calculation of by how many
1012 pixels a window can still be shrunk via window-new-normal.
1013 (adjust-window-trailing-edge): Call window--resizable with
1014 correct TRAIL argument.
1016 (with-temp-buffer-window): Don't evaluate BODY within
1017 with-current-buffer (Bug#16816).
1019 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1021 * net/tramp.el (tramp-check-cached-permissions):
1022 Call `file-attributes' with `suffix' being a symbol but a string.
1024 2014-02-21 Daniel Colascione <dancol@dancol.org>
1026 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1027 (dbus-init-bus): New function: call into dbus-init-bus-1
1028 and installs a handler for the disconnect signal.
1029 (dbus-call-method): Rewrite to look for result in cons.
1030 (dbus-call-method-handler): Store result in cons.
1031 (dbus-check-event): Recognize events with nil sender as valid.
1032 (dbus-handle-bus-disconnect): New function. React to bus
1033 disconnection signal by synthesizing dbus error for each
1034 pending synchronous or asynchronous call.
1035 (dbus-notice-synchronous-call-errors): New function.
1036 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1037 is true, not all the time.
1039 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1041 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1042 Remove obsolescence declarations, these variables do not exist anymore.
1044 * savehist.el (savehist-save-minibuffer-history)
1045 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1046 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1047 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1048 mostly, refer to "Savehist mode" when talking about the mode,
1049 and not the function.
1051 * saveplace.el (save-place): Remove redundant info in docstring.
1052 (save-place-forget-unreadable-files, toggle-save-place)
1053 (save-place-forget-unreadable-files, save-place-dired-hook):
1054 Fix typos and remove unneeded backslashes.
1056 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1058 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1059 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1061 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1062 <insert-directory>: Use `tramp-handle-insert-directory'.
1063 (tramp-gvfs-handle-insert-directory): Remove function.
1065 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1066 Call `tramp-handle-insert-directory'.
1068 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1070 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1071 before the start of buffer/region (bug#16799).
1073 2014-02-20 Glenn Morris <rgm@gnu.org>
1075 * isearch.el (search-invisible): Doc fix.
1077 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1079 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1082 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1084 * frameset.el (frameset-restore): Delay removing an old frame's
1085 duplicate id until the new frame has been correctly created.
1087 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1089 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1090 (tramp-check-cached-permissions): Call `file-attributes' if the
1093 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1094 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1096 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1097 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1098 (tramp-gvfs-maybe-open-connection): Set always connection
1099 properties, even if target is mounted already.
1101 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1102 Set tramp-autoload cookie.
1103 (tramp-get-remote-touch): New defun.
1104 (tramp-sh-handle-set-file-times): Use it.
1105 (tramp-sh-handle-directory-files-and-attributes):
1106 Use `tramp-handle-directory-files-and-attributes' if neither stat
1107 nor perl are available on the remote host.
1109 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1110 "/". Write long listing only when "l" belongs to the switches.
1112 * net/trampver.el: Update release number.
1114 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1116 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1118 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1120 * window.el (window-state-put): Allow WINDOW to refer to an
1121 internal window (Bug#16793).
1123 2014-02-19 Glenn Morris <rgm@gnu.org>
1125 * textmodes/remember.el: Move provide statement to end.
1126 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1127 (remember-notes): Doc fixes.
1129 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * delsel.el (delete-char): Restore incorrectly erased property
1134 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1136 * frameset.el (frameset--restore-frame): When a frame is being reused
1137 and its root window is not alive, delete all the frame's windows before
1138 restoring the window state. This works around the issue in bug#16793.
1140 2014-02-18 Glenn Morris <rgm@gnu.org>
1142 * textmodes/remember.el (remember-data-directory)
1143 (remember-directory-file-name-format, remember-store-in-files)
1144 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1145 (remember-notes-save-and-bury-buffer)
1146 (remember-notes--kill-buffer-query): Doc fixes.
1148 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1150 2014-02-17 Alan Mackenzie <acm@muc.de>
1152 Connect electric-indent-mode up with CC Mode. Bug #15478.
1153 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1154 to electric-indent-{,local-}-mode.
1155 (c-basic-common-init): Set electric-indent-inhibit.
1156 Initialise c-electric-flag from electric-indent-mode.
1157 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1158 New hook functions which propagate electric-indent-mode to CC mode.
1160 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1161 hit, toggle electric-indent-local-mode.
1163 * electric.el (electric-indent-mode-has-been-called):
1166 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1168 * frameset.el (frameset-cfg-id): New function.
1169 (frameset--reuse-frame, frameset-restore): Use it.
1170 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1172 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * ido.el (ido-file-internal): Remove unused var `d'.
1175 Use \` for to match BoS. Fit within 80n columns.
1177 2014-02-17 Daniel Colascione <dancol@dancol.org>
1179 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1180 dbus-call-method check for completion using a busy-wait loop with
1183 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1185 Sync with Tramp 2.2.9.
1187 * net/trampver.el: Update release number.
1189 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1191 * ido.el (ido-file-internal): Don't add the name of an existing
1192 directory twice. (Bug#16747)
1194 2014-02-16 Glenn Morris <rgm@gnu.org>
1196 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1197 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1199 2014-02-15 Michael R. Mauger <michael@mauger.com>
1201 * progmodes/sql.el: Version 3.4
1202 (sql-oracle-options): New default value ("-L").
1203 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1204 (sql-placeholders-filter): Correct placeholder pattern.
1205 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1206 (sql-login-delay): New variable.
1207 (sql-product-interactive): Use it.
1209 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1211 * frameset.el (frameset--jump-to-register): Check that buffer is live
1214 2014-02-15 Glenn Morris <rgm@gnu.org>
1216 * info.el (info-initialize): Revert 2014-01-10 change.
1218 2014-02-14 Glenn Morris <rgm@gnu.org>
1220 * replace.el (map-query-replace-regexp)
1221 (read-regexp-defaults-function, read-regexp): Doc fixes.
1223 * dired.el (dired-read-regexp):
1224 * faces.el (list-faces-display):
1225 * misearch.el (multi-isearch-read-matching-buffers)
1226 (multi-isearch-read-matching-files):
1227 * play/cookie1.el (cookie-apropos):
1228 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1230 * textmodes/remember.el (remember): Use frameset-to-register
1231 rather than frame-configuration-to-register.
1233 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1235 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1236 incorrect keybinding.
1238 2014-02-13 Daniel Colascione <dancol@dancol.org>
1240 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1241 when adding overlays so that line numbers from compiler match line
1244 2014-02-13 Glenn Morris <rgm@gnu.org>
1246 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1248 * jit-lock.el (jit-lock-mode): Doc fix.
1250 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1252 * apropos.el (apropos-read-pattern): When the user passes an empty
1253 string, give a more helpful error message than "Wrong type
1254 argument: stringp, nil".
1256 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1260 2014-02-13 Glenn Morris <rgm@gnu.org>
1262 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1264 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1267 shift-select commands.
1269 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1271 * progmodes/js.el (js-indent-line): Don't widen.
1272 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1274 2014-02-12 Glenn Morris <rgm@gnu.org>
1276 * icomplete.el (icomplete): Add info-link to defgroup.
1277 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1278 (icomplete-minibuffer-map, icomplete-mode)
1279 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1281 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1282 (package-menu-filter): Rename from package-menu-filter-interactive.
1285 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1287 * frameset.el (frameset--jump-to-register): Select the required
1288 window and buffer before restoring position (bug#16696).
1290 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1292 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1294 2014-02-10 Glenn Morris <rgm@gnu.org>
1296 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1298 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1300 * w32-common-fns.el (x-get-selection): Doc fix.
1301 * select.el (x-get-selection): Doc fix. (Bug#15109)
1303 * face-remap.el (face-remap-add-relative)
1304 (face-remap-remove-relative, face-remap-reset-base)
1305 (face-remap-set-base): Call force-mode-line-update to redisplay
1306 the current buffer due to potential change in faces. (Bug#16709)
1308 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1310 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1311 script more robustly.
1313 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1315 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1317 * simple.el (choose-completion): Doc fix (bug#14160).
1319 * subr.el (event-start): Say what a nil EVENT value means.
1321 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1324 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1326 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1328 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1330 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1331 predicate function (bug#15455).
1333 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1335 * ielm.el (inferior-emacs-lisp-mode): Instead of
1336 `comment-use-global-state', set `comment-use-syntax'.
1338 2014-02-10 Glenn Morris <rgm@gnu.org>
1340 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1342 2014-02-09 Alan Mackenzie <acm@muc.de>
1344 Fix c-invalidate-state-cache on narrowed buffers.
1345 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1346 Widen when setting and clearing the CPP delimiter properties.
1348 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1350 * help.el (describe-bindings): Doc fix (bug#9888).
1352 * files.el (save-buffer): Use ARG as the parameter name for
1353 consistency (bug#10346).
1354 (save-buffer): Clarify the 0 argument (bug#10346).
1356 * cus-edit.el (customize-apropos): Fix error string.
1357 (custom-buffer-create): Doc fix (bug#11122).
1358 (custom-sort-items): Doc fix (bug#11121).
1360 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1362 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1363 (icomplete-simple-completing-p): Mention the previous variable.
1365 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1366 meaning of the parameter (bug#12282).
1368 * files.el (find-file-noselect): Clarify prompt when changing
1369 readedness (bug#13261).
1370 (locate-file): Suffixes aren't returned, so don't say that they
1372 (backup-inhibited): Doc clarification (bug#12525).
1374 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1375 before we actually start to delete things (bug#16331).
1377 * subr.el (event-start): Doc fix (bug#14228).
1380 2014-02-09 Glenn Morris <rgm@gnu.org>
1382 * emacs-lisp/warnings.el (lwarn):
1383 Empower help-enable-auto-load. (Bug#15940)
1385 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1387 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1390 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1392 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1393 Insert output at end of buffer. (Bug#16120)
1395 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1397 * simple.el (choose-completion-string-functions): Document new
1398 calling convention (bug#14153).
1399 (execute-extended-command): Clarify doc string (bug#13373).
1401 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1403 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1404 (find-grep-dired): Doc fix (bug#14288).
1406 2014-02-08 Juri Linkov <juri@jurta.org>
1408 * isearch.el (isearch-quote-char): Check character validity
1409 like in `quoted-insert' (bug#16677).
1411 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1413 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1415 * isearch.el (isearch-hide-immediately): Doc clarification
1418 * simple.el (line-move): Document utility function used many
1419 places in the Emacs sources (bug#14843).
1421 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1422 (dired-prev-marked-file): Doc fix (bug#14855).
1423 (dired-up-directory): Doc fix (bug#14848).
1425 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1427 * files.el (file-relative-name): Doc fix (bug#15159).
1429 * fringe.el (fringe-styles): Doc fix (bug#15239).
1431 * isearch.el (isearch-filter-predicate): Documentation typo fix
1434 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1436 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1438 * replace.el (replace-match-maybe-edit): Doc clarification
1441 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1443 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1445 2014-02-08 Glenn Morris <rgm@gnu.org>
1447 * help-fns.el (describe-variable):
1448 Check {file,dir}-local-variables-alist, and buffer-file-name,
1449 in the correct buffer.
1451 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1453 * help-fns.el (describe-variable): Fix the case where
1454 a value is directory-local with no dir-locals file. (Bug#16635)
1456 2014-02-08 Glenn Morris <rgm@gnu.org>
1458 * abbrev.el (edit-abbrevs-mode):
1459 Derive from fundamental-mode. (Bug#16682)
1461 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1463 * simple.el (quoted-insert): Check character validity (bug#16677).
1465 2014-02-07 Juri Linkov <juri@jurta.org>
1467 * desktop.el (desktop-read): Claim the lock when the owner is not
1468 the current process. (Bug#16157)
1470 2014-02-07 Juri Linkov <juri@jurta.org>
1472 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1473 to "\\` ". (Bug#16651)
1475 2014-02-07 Juri Linkov <juri@jurta.org>
1477 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1478 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1479 (desktop-auto-save-cancel-timer): New function with some code from
1480 `desktop-auto-save-set-timer'.
1481 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1482 Instead of setting `desktop-save-mode' to nil, call
1483 `desktop-save-mode' with arg 0. (Bug#16630)
1485 2014-02-07 Glenn Morris <rgm@gnu.org>
1487 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1488 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1489 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1491 * obsolete/iswitchb.el: Move to obsolete/.
1492 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1493 since obsolete/ is not scanned for autoloads.
1494 * emacs-lisp/authors.el (authors-valid-file-names):
1497 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1498 Disable now non-functional find-file-hook.
1500 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1502 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1503 instead of ";" in order to avoid additional prompts. Let heredoc
1504 scripts read from tty. (Bug#16582)
1505 (tramp-send-command): No special handling of heredocs, it isn't
1508 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1510 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1511 with a space (bug#16664). Limit the symbols considered to the ones
1512 that are bound or fbound (bug#16646).
1514 2014-02-06 Glenn Morris <rgm@gnu.org>
1516 * epa.el (epa-mail-aliases): Doc fix.
1518 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1520 * emacs-lisp/lisp.el (lisp-completion-at-point):
1521 Use `completion-table-merge' instead of `completion-table-in-turn'
1524 * minibuffer.el (completion-table-merge): New function.
1526 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1528 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1529 (tramp-sh-handle-set-file-acl)
1530 (tramp-sh-handle-start-file-process)
1531 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1532 (tramp-find-executable, tramp-send-command): Use it.
1534 2014-02-05 Glenn Morris <rgm@gnu.org>
1536 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1538 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1540 * progmodes/python.el (python-shell-send-string)
1541 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1543 2014-02-04 Anders Lindgren <andlind@gmail.com>
1545 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1546 the names (bug#16620).
1548 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1550 * faces.el (window-divider): New default value. Rewrite doc-string.
1551 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1553 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1555 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1556 `protected' and `public' can also be called without arguments.
1558 2014-02-03 Glenn Morris <rgm@gnu.org>
1560 * register.el (window-configuration-to-register)
1561 (frame-configuration-to-register): Unadvertise unused argument.
1562 * frameset.el (frameset-to-register): Remove unused argument.
1564 * frameset.el (frameset-to-register):
1565 * kmacro.el (kmacro-to-register):
1566 * register.el (increment-register):
1567 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1568 (calc-append-to-register, calc-prepend-to-register):
1569 * play/gametree.el (gametree-layout-to-register)
1570 (gametree-apply-register-layout):
1571 * textmodes/picture.el (picture-clear-rectangle-to-register)
1572 (picture-yank-rectangle-from-register):
1573 * vc/emerge.el (emerge-combine-versions-register):
1574 Use register-read-with-preview to read registers.
1576 2014-02-03 João Távora <joaotavora@gmail.com>
1578 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1579 when at beginning of (possibly narrowed) buffer.
1581 2014-02-02 Daniel Colascione <dancol@dancol.org>
1583 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1584 Also try to display local help from just before point.
1586 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1588 c-parse-state. Don't "append-lower-brace-pair" in certain
1589 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1590 recognised as a comment.
1592 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1593 as well as normal comment starter.
1594 (c-parse-state-get-strategy): Extra return possibility
1596 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1597 return value list to indicate replacement of a brace-pair cons
1599 (c-parse-state-1): With 'back-and-forward, only call
1600 c-append-lower-brace-pair-to state-cache when cons-separated.
1602 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1604 * term/ns-win.el (ns-suspend-error): New function.
1605 (ns-initialize-window-system): Add ns-suspend-error to
1606 suspend-hook (Bug#16612).
1608 2014-02-02 Daniel Colascione <dancol@dancol.org>
1610 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1611 Make loading cc-mode silent.
1613 2014-02-02 Daniel Colascione <dancol@dancol.org>
1615 * comint.el (comint-prompt-read-only): Change doc to suggest
1618 2014-02-02 Glenn Morris <rgm@gnu.org>
1620 * register.el (register-read-with-preview, point-to-register)
1621 (window-configuration-to-register, frame-configuration-to-register)
1622 (jump-to-register, number-to-register, view-register, insert-register)
1623 (copy-to-register, append-to-register, prepend-to-register)
1624 (copy-rectangle-to-register): Doc fixes.
1626 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1629 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1630 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1631 * help-fns.el (describe-function-1): Use it.
1633 2014-02-02 Glenn Morris <rgm@gnu.org>
1635 * register.el (register-preview-default): New function,
1636 split from register-preview.
1637 (register-preview-function): Rename from register-preview-functions,
1639 (register-preview): Use register-preview-function.
1640 (register-read-with-preview): Error on non-character event. (Bug#16595)
1642 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1644 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1645 `:' before binary operators (bug#16609). Don't check for `:'
1646 before `[' and `(', or their syntax status. A percent literal
1647 can't end with either.
1648 (ruby-font-lock-keywords): For built-ins that require arguments,
1649 check that they're followed by something that looks like argument
1652 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1654 * subr.el (butlast): Document what an omitted N means (bug#13437).
1657 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1659 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1660 depth shallower (bug#16587).
1661 (shr-tag-svg): Respect `shr-inhibit-images'.
1662 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1664 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1666 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1667 (ruby-smie-grammar): Make "." right-associative. Make its priority
1668 lower than the ternary and all binary operators.
1669 (ruby-smie-rules): Indent "(" relative to the first non-"."
1670 parent, or the first "." parent at indentation.
1671 Use `ruby-align-chained-calls' for indentation of "." tokens.
1674 2014-01-31 Juri Linkov <juri@jurta.org>
1676 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1677 from `make-hash-table'.
1679 * textmodes/ispell.el (ispell-init-process): Change message format
1680 to be consistent with other messages.
1682 2014-01-31 Glenn Morris <rgm@gnu.org>
1684 * delsel.el (delete-selection-mode): Doc fix.
1686 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1687 (trace-function-background): Doc fixes.
1689 * ido.el (ido-use-virtual-buffers): Doc fix.
1690 Reset :version, since the default value has not changed.
1692 * register.el (register-preview-delay, register-read-with-preview):
1695 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1696 do not mess with mail-buffer position (fixes 2009-11-03 change).
1697 * progmodes/cc-mode.el (c-submit-bug-report):
1698 Check auto-fill-mode is bound. (Bug#16592)
1700 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1702 * startup.el (fancy-splash-image-file): New function,
1703 split from fancy-splash-head.
1704 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1705 so that we are both using the same image. (Bug#16574)
1707 2014-01-30 Glenn Morris <rgm@gnu.org>
1709 * simple.el (eval-expression): Doc fix.
1711 * hexl.el (hexl-mode-hook):
1712 * ielm.el (ielm-mode-hook):
1713 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1714 (lisp-interaction-mode-hook):
1715 * progmodes/cfengine.e (cfengine3-documentation-function):
1716 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1718 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1720 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1721 is a symbol (bug#16584).
1723 2014-01-30 Glenn Morris <rgm@gnu.org>
1725 * help.el (help-for-help-internal): Add "P" to text.
1727 2014-01-29 Glenn Morris <rgm@gnu.org>
1729 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1731 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1733 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1736 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1738 * progmodes/hideif.el: Extend to full CPP expression syntax.
1739 (hif-token-alist): Add missing tokens.
1740 (hif-token-regexp): Add support for float/octal/hex immediates.
1741 (hif-string-literal-regexp): New const.
1742 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1743 (hif-exprlist): New function.
1744 (hif-parse-if-exp): Use it.
1745 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1746 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1747 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1748 (hif-logxor, hif-comma): New functions.
1750 2014-01-28 Glenn Morris <rgm@gnu.org>
1752 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1754 * indent.el (tab-stop-list): Doc fix. Add :version.
1756 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1757 (cvs-append-to-ignore): Add compatibility alias.
1759 2014-01-27 Glenn Morris <rgm@gnu.org>
1761 * dired.el (dired-hide-details-mode): Don't autoload it,
1762 since it cannot be used outside Dired buffers anyway.
1764 * emulation/cua-base.el (cua-mode): Doc fix.
1766 * dired.el (dired-hide-details-hide-symlink-targets)
1767 (dired-hide-details-hide-information-lines)
1768 (dired-hide-details-mode): Doc fixes.
1770 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1771 * strokes.el (strokes-file): Doc fix. Bump :version.
1772 (strokes-help): Doc fix.
1773 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1774 * emulation/viper.el (viper): Doc fix for custom group.
1775 (top-level): Remove oh-so-no-longer-relevant text about vip.
1776 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1778 * ido.el (ido-save-directory-list-file):
1779 * saveplace.el (save-place-file):
1780 * calendar/timeclock.el (timeclock-file):
1781 * net/quickurl.el (quickurl-url-file):
1782 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1783 * progmodes/idlwave.el (idlwave-config-directory):
1784 * textmodes/remember.el (remember-data-file):
1787 2014-01-26 Glenn Morris <rgm@gnu.org>
1789 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1790 Doc fix. Make obsolete.
1791 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1793 * sort.el (delete-duplicate-lines): Doc fix.
1795 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1797 * progmodes/ada-mode.el (ada):
1798 * woman.el (woman): Link to info manual and Commentary section.
1800 * progmodes/flymake.el (flymake):
1801 * nxml/nxml-mode.el (nxml):
1803 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1804 * htmlfontify.el (htmlfontify):
1807 * ido.el (ido): Link to info manual.
1809 2014-01-25 Leo Liu <sdl.web@gmail.com>
1811 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1813 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1815 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1818 >>>>>>> MERGE-SOURCE
1819 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1821 * net/eww.el (eww-download-callback):
1822 Fix reference to eww-download-directory.
1824 * emacs-lisp/bytecomp.el (byte-compile-file):
1825 Remove unused local variable `file-name'.
1827 2014-01-24 Glenn Morris <rgm@gnu.org>
1829 * woman.el (woman-default-faces, woman-monochrome-faces):
1830 Fix obsolescence specification.
1832 * subr.el (with-demoted-errors): Doc fix.
1834 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1836 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1837 (cl--macroexp-fboundp): New function.
1838 (cl--make-type-test): Use it.
1840 2014-01-23 Glenn Morris <rgm@gnu.org>
1842 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1843 * simple.el (eval-expression): Doc fixes.
1845 2014-01-22 Glenn Morris <rgm@gnu.org>
1847 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1849 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * emacs-lisp/package.el: Write files silently.
1852 (package-autoload-ensure-default-file, package--write-file-no-coding)
1853 (package-generate-description-file, package--download-one-archive)
1854 (package-install-from-archive): Tell `write-region' to stay quiet.
1855 (package-menu-mode, package-menu--print-info): Omit the Archive column
1856 if there's only one archive.
1857 (package-all-keywords, package--has-keyword-p): Remove dead code.
1859 2014-01-22 Glenn Morris <rgm@gnu.org>
1861 * version.el (emacs-bzr-version-bzr): Fix typo.
1863 * version.el (emacs-repository-get-version):
1864 Check either .bzr or .git, but not both.
1865 Make the git case actually use the DIR argument, and return nil
1866 rather than the empty string.
1867 Avoid error if .git exists but the git executable is not found.
1869 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1871 Fixes in window size functions around Bug#16430 and Bug#16470.
1872 * window.el (window-total-size, window-size): New argument ROUND.
1873 (window--min-delta-1, window-min-delta, window--max-delta-1):
1874 Be more conservative when calculating the numbers of lines or
1875 columns a window can shrink (Bug#16430).
1876 (fit-window-to-buffer): Simplify code.
1877 * term.el (term-window-width): Call window-body-width again.
1879 2014-01-22 Glenn Morris <rgm@gnu.org>
1881 * image.el (image-format-suffixes): Doc fix.
1883 * international/quail.el (quail-define-package): Doc fix.
1885 * emacs-lisp/authors.el (authors-valid-file-names)
1886 (authors-renamed-files-alist): Additions.
1888 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1889 reverts 2014-01-09 change. (Bug#16422)
1891 * calc/calc-embed.el (thing-at-point-looking-at):
1892 * emacs-lisp/map-ynp.el (x-popup-dialog):
1893 * obsolete/lmenu.el (x-popup-dialog):
1894 * emacs-lisp/package.el (url-recreate-url):
1895 * mail/mailclient.el (clipboard-kill-ring-save):
1896 * subr.el (x-popup-dialog): Update declaration.
1897 * mail/rmail.el (rmail-mime-message-p):
1898 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1900 2014-01-21 Daniel Colascione <dancol@dancol.org>
1902 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1903 Correctly detect when we're inside an arithmetic expansion form
1904 containing nested parenthesis.
1905 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1906 to detect cases where we shouldn't expand "<<" to a heredoc
1909 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1911 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1912 (eldoc--message-command-p): New function.
1913 (eldoc-display-message-p): Use it.
1914 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1915 message is not automatically erased for us.
1916 (eldoc-print-current-symbol-info): Erase previous message, if any.
1918 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1920 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1921 specify it's an interactive function.
1923 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1924 Fix regex used for scanning for citation keys which failed for
1925 citations with optional arguments.
1927 2014-01-21 Leo Liu <sdl.web@gmail.com>
1929 * simple.el (read--expression): Don't enable eldoc-mode.
1931 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1933 * simple.el (move-beginning-of-line): Make sure we don't move forward
1936 2014-01-20 Juri Linkov <juri@jurta.org>
1938 * saveplace.el (toggle-save-place, save-place-to-alist)
1939 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1940 'dired-mode) before checking for dired-directory. (Bug#16477)
1942 2014-01-20 Juri Linkov <juri@jurta.org>
1944 * indent.el (indent-line-to): Use backward-to-indentation
1945 instead of back-to-indentation. (Bug#16461)
1947 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1949 Revert some of the CANNOT_DUMP fix (Bug#16494).
1950 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1951 but fixing this can wait until after the next release.
1952 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1954 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1956 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1957 Use `password-word-equivalents'.
1958 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1959 to t. (Bug#5664, Bug#13124)
1961 2014-01-19 Alan Mackenzie <acm@muc.de>
1963 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1965 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1966 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1967 * progmodes/cc-mode.el (c-before-change, c-after-change)
1968 (c-font-lock-fontify-region): Bind it here.
1970 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1972 * term.el (term-window-width): Call window-text-width instead of
1973 window-width (Bug#16470).
1975 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1977 * simple.el (password-word-equivalents): Remove duplicates.
1978 Sort, to make this easier next time.
1979 Downcase. Omit ": " after "jelszó".
1981 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1983 * term/common-win.el (saved-region-selection): Defvar it.
1984 (x-select-text): Set saved-region-selection (Bug#16382).
1986 2014-01-18 Glenn Morris <rgm@gnu.org>
1988 * emacs-lisp/authors.el (authors-aliases)
1989 (authors-renamed-files-alist): Add some entries.
1991 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1993 * net/tramp.el (tramp-password-prompt-regexp):
1994 Use `password-word-equivalents' if available.
1995 (tramp-action-password, tramp-process-one-action)
1996 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1998 2014-01-17 Chong Yidong <cyd@gnu.org>
2000 * simple.el (password-word-equivalents): New defcustom.
2001 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2003 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2006 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2008 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2009 (ruby-align-to-stmt-keywords): Change the default value.
2010 Use `ruby-alignable-keywords' to generate the possible customization
2012 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2013 keywords, check against the value of `ruby-alignable-keywords'
2014 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2016 2014-01-17 Glenn Morris <rgm@gnu.org>
2018 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2020 Make M-x authors return zero *Authors Errors* from current logs.
2021 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2022 (authors-ignored-files): Add some entries, remove others.
2023 (authors-ambiguous-files, authors-valid-file-names):
2025 (authors-renamed-files-alist): Add, remove, and adjust entries.
2026 (authors-renamed-files-regexps): Add some entries.
2027 Remove some very broad ones. Make some entries `lax'.
2028 (authors-lax-changelogs): New constant.
2029 (authors-disambiguate-file-name): Treat top-level specially.
2030 (authors-lax-changelog-p): New function.
2031 (authors-canonical-file-name): Check file as written against
2032 authors-valid-file-names. Do not special-case etc/.
2033 Handle `lax' logs and authors-renamed-files-regexps elements.
2035 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2037 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2038 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2041 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2043 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2044 Assume we're already in the proper buffer.
2045 Inspired by Anders Lindgren <andlind@gmail.com>.
2046 (follow-post-command-hook): Call it from the right buffer.
2047 (follow-comint-scroll-to-bottom): Adjust call.
2048 (follow-all-followers): Use get-buffer-window-list.
2050 2014-01-15 Daniel Colascione <dancol@dancol.org>
2052 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2053 `buffer-file-name' in interactive-form so that we don't leave
2054 pathless file names in `file-name-history'.
2056 2014-01-15 Juri Linkov <juri@jurta.org>
2058 * indent.el (indent-rigidly): Set deactivate-mark to nil
2059 in transient indentation mode. (Bug#16438)
2061 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2063 * emacs-lisp/package.el (package-desc-keywords): New function
2065 (describe-package-1, package-all-keywords)
2066 (package--has-keyword-p): Use it.
2068 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2070 * simple.el (define-alternatives): When creating the
2071 COMMAND-alternatives variable, assign COMMAND as its definition
2072 name so that `describe-variable' can relocate it.
2074 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2076 * font-lock.el (font-lock-keywords): Fix typo in docstring
2079 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2081 * ispell.el (ispell-region): Reset `in-comment' for new line
2082 instead of wrongly reset `add-coment' (bug#13577).
2084 2014-01-14 Daiki Ueno <ueno@gnu.org>
2086 * epa-file.el (epa-file-write-region): Encode the region according
2087 to `buffer-file-format'. Problem reported at:
2088 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2090 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2093 so it applies in the right buffer (bug#16410).
2095 2014-01-13 Daniel Colascione <dancol@dancol.org>
2097 * textmodes/rst.el (rst-define-key): Provide deprecated
2098 keybindings through named functions instead of anonymous ones so
2099 that "??" doesn't appear in describe-mode output.
2101 2014-01-13 Bastien Guerry <bzg@gnu.org>
2103 * simple.el (define-alternatives): Call the selected command
2104 interactively. When setting `COMMAND--implementation' for the
2105 first time, tell the user how to chose another implementation.
2106 Enhance the docstring.
2108 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2110 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2111 (log-edit--match-first-line): New function.
2112 (log-edit-font-lock-keywords): Use it.
2113 (log-edit-mode): Make jit-lock-defer-multiline work.
2115 2014-01-13 Bastien Guerry <bzg@gnu.org>
2117 * rect.el (rectangle-mark-mode): When the region is not active,
2118 display a message saying that the mark as been set and that
2119 rectangle mode is in use.
2120 (rectangle--highlight-for-redisplay): Only put an overlay with a
2121 visible vertical bar when (display-graphic-p) is non-nil.
2122 This partially fixes Bug#16403.
2124 2014-01-13 Juri Linkov <juri@jurta.org>
2126 * info.el (Info-find-file): Go to DIR before displaying the error
2127 about a nonexistent file if no previous Info file is visited.
2128 Use `user-error' instead of `error' for "Info file %s does not exist".
2129 (Info-find-node-2): In case of a nonexistent node in unwind forms
2130 go to the Top node if there is no previous node to revert to.
2133 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2135 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2136 * window.el (fit-frame-to-buffer): Fix doc-string.
2137 Respect window-min-height/-width. Fit pixelwise when
2138 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2139 when avoiding that frame goes partially off-screen.
2140 (fit-window-to-buffer): Respect window-min-height/-width
2143 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2146 after an empty line.
2148 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * net/shr.el (shr-render-region): Autoload.
2152 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2154 * net/eww.el (eww-download-directory): Rename from
2155 `eww-download-path' (Bug#16419).
2157 2014-01-12 Leo Liu <sdl.web@gmail.com>
2159 * dired-x.el (dired-mode-map): Fix last change.
2161 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2163 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2166 * emacs-lisp/generic.el (generic--normalize-comments):
2167 Rename from generic--normalise-comments. All uses changed.
2168 * play/bubbles.el (bubbles--neighborhood-score)
2169 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2170 (bubbles--neighborhood-available)
2171 (bubbles--update-neighborhood-score):
2172 Rename from names with 'neighbourhood'. All uses changed.
2174 2014-01-12 Leo Liu <sdl.web@gmail.com>
2176 Re-implement the feature of showing eldoc info after editing.
2177 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2178 (eldoc-edit-message-commands): New function.
2179 (eldoc-print-after-edit): New variable.
2180 (eldoc-pre-command-refresh-echo-area): Emit message only by
2181 eldoc-message-commands.
2182 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2183 if eldoc-print-after-edit is set. (Bug#16346)
2184 * simple.el (read--expression): Enable eldoc-mode.
2185 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2187 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2188 Eric S. Raymond <esr@thyrsus.com>
2190 * version.el (emacs-repository-get-version): Enhance so the
2191 function works correctly in either a Bazaar or Git repo.
2193 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2195 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2196 Goes with removal of the joke manpages from /etc.
2198 2014-01-10 Kenichi Handa <handa@gnu.org>
2200 * mail/rmail.el (rmail-get-coding-system):
2201 Check rmail-get-coding-function before "funcall"ing it.
2203 2014-01-10 Glenn Morris <rgm@gnu.org>
2205 * emacs-lisp/authors.el (authors-fixed-entries):
2206 Update for files that no longer exist.
2208 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2210 * version.el (emacs-bzr-get-version): Restore compatibilty with
2213 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2215 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2218 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2220 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2222 2014-01-10 Chong Yidong <cyd@gnu.org>
2224 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2226 2014-01-10 Anders Lindgren <andlind@gmail.com>
2228 * follow.el (follow-cache-command-list): Include right-char and
2231 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2234 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2235 * woman.el (woman-mark-horizontal-position):
2236 Rename from woman-mark-horizonal-position. Use changed.
2238 2014-01-10 Glenn Morris <rgm@gnu.org>
2240 * info.el (info-initialize): If running uninstalled, ensure our
2241 own info files are always found first, even if INFOPATH is set.
2243 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2245 2014-01-09 David Engster <deng@randomsample.de>
2247 * emacs-lisp/eieio-custom.el:
2248 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2249 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2250 * emacs-lisp/eieio.el: Regenerate autoloads.
2252 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2254 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2255 following renames. (Bug#8756)
2257 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2259 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2261 (activate-mark): Add `no-tmm' argument.
2262 (set-mark, push-mark-command): Use it instead of running
2263 activate-mark-hook by hand.
2265 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2267 In preparation for the move to git, sanitize out some
2268 Bazaar-specific names.
2270 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2272 * version.el (emacs-bzr-version): Name changed to
2273 emacs-repository-version. Obsolete-variable alias made.
2274 * loadup.el: Follow through on this name change.
2275 * mail/emacsbug.el (report-emacs-bug): Factor out any
2276 assumption about the version control system in use.
2278 2014-01-08 David Engster <deng@randomsample.de>
2280 * help-fns.el (help-fns-describe-function-functions):
2281 New variable to call functions for augmenting help buffers.
2282 (describe-function-1): Remove explicit calls to
2283 `help-fns--compiler-macro', `help-fns--parent-mode' and
2284 `help-fns--obsolete'. Put them in above new variable instead, and
2285 call them through `run-hook-with-args'.
2286 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2287 `eieio-describe-class'. Not meant for interactive use anymore,
2288 but to augment existing help buffers. Remove optional second
2289 argument. Create proper button for file location.
2290 Rewrite function to use `insert' instead of `princ' and `prin1' where
2292 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2293 (eieio-method-def, eieio-class-def): Move further up.
2294 (describe-method, describe-generic, eieio-describe-method):
2296 (eieio-help-constructor, eieio-help-generic): Rename from
2297 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2298 Rewrite to use `insert' in the current buffer and use proper help
2300 (eieio-help-find-method-definition)
2301 (eieio-help-find-class-definition): Also accept symbols as
2303 (eieio-help-mode-augmentation-maybee): Remove.
2304 (eieio-describe-class-sb): Use `describe-function'.
2305 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2306 Add `eieio-help-generic' and `eieio-help-constructor'.
2308 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2311 * language/china-util.el (hz-ascii-designation):
2312 Rename from hz-ascii-designnation.
2313 (hz-ascii-designation): Rename from hz-ascii-designnation.
2316 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2318 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2321 2014-01-08 Bastien Guerry <bzg@gnu.org>
2323 * emacs-lisp/package.el (package-delete):
2324 Correctly delete the package from package-alist.
2326 2014-01-08 Daiki Ueno <ueno@gnu.org>
2328 * emacs-lisp/package.el (url-recreate-url): Declare.
2329 (url-http-target-url): Declare.
2330 (package-handle-response): Include requested URL in the error message.
2331 (package--check-signature): Don't re-signal errors from
2332 package--with-work-buffer. Suggested by Stefan Monnier.
2334 2014-01-07 Bastien Guerry <bzg@gnu.org>
2336 * minibuffer.el (completion--try-word-completion): When both a
2337 hyphen and a space are possible candidates for the character
2338 following a word, display both candidates. (Bug#15980)
2340 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2342 * window.el (balance-windows-2): While rounding don't give a
2343 window more than the remainder. Bug#16351, bug#16383.
2345 2014-01-07 Glenn Morris <rgm@gnu.org>
2347 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2348 (menu-bar-help-menu): Use view-external-packages instead.
2350 2014-01-07 Bastien Guerry <bzg@gnu.org>
2352 * emacs-lisp/package.el (package-delete): Also delete the package
2353 name from `package-alist', not its description only.
2355 2014-01-07 Glenn Morris <rgm@gnu.org>
2357 * help.el (view-external-packages):
2358 * menu-bar.el (menu-bar-help-extra-packages):
2359 Visit efaq.info rather than etc/MORE.STUFF.
2361 2014-01-07 Juri Linkov <juri@jurta.org>
2363 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2364 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2366 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2367 that shadows RET. (Bug#16342)
2369 2014-01-07 Chong Yidong <cyd@gnu.org>
2371 * isearch.el (isearch-yank-char, isearch-yank-word)
2372 (isearch-yank-line): Doc fix.
2374 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2376 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2377 * emacs-lisp/elint.el (elint-find-builtins):
2378 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2379 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2380 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2381 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2382 * apropos.el (apropos-safe-documentation):
2383 * subr.el (symbol-file): Remove redundant fboundp.
2384 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2386 2014-01-06 Bastien Guerry <bzg@gnu.org>
2388 * hl-line.el (global-hl-line-overlay): Make a local variable.
2389 (global-hl-line-overlays): New variable to store all overlays.
2390 (global-hl-line-mode): Don't delete overlays from the current
2391 buffer when `global-hl-line-sticky-flag' is non-nil.
2392 (global-hl-line-highlight): Add new overlays to
2393 `global-hl-line-overlays'.
2394 (global-hl-line-unhighlight-all): New function to delete all
2395 overlays when turning off `global-hl-line-mode'.
2396 This fixes Bug#16183.
2398 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * subr.el (set-transient-map): Fix nested case and docstring.
2402 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2404 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2407 2014-01-06 Daniel Colascione <dancol@dancol.org>
2409 Fix defun navigation in vc log view.
2411 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2412 like `beginning-of-defun'.
2413 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2414 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2415 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2416 (log-view-extract-comment): Call `log-view-current-entry' directly
2417 instead of relying on broken `log-view-beginning-of-defun' behavior.
2419 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2422 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2423 * emacs-lisp/debug.el (cancel-debug-on-entry):
2424 * epg.el (epg-error-to-string):
2425 * files.el (recover-file):
2426 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2427 * mail/emacsbug.el (report-emacs-bug-hook):
2428 * mail/sendmail.el (mail-recover):
2429 * ses.el (ses-yank-resize):
2430 * term/ns-win.el (ns-print-buffer):
2431 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2432 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2434 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2436 2014-01-06 Leo Liu <sdl.web@gmail.com>
2438 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2439 to avoid shadowing global key. (Bug#16354)
2441 2014-01-06 Daniel Colascione <dancol@dancol.org>
2443 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2446 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2448 * window.el (balance-windows): Add mising t to fix Bug#16351.
2450 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2452 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2454 (shr-insert): If we have a word that's longer than `shr-width',
2455 break after it anyway. Otherwise we'll do no breaking once we get
2458 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2460 * net/eww.el (eww): Support single/double quote for search.
2461 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2462 (eww-history-quit): Delete and use quit-window.
2463 (eww-history-kill): Delete, because it doesn't work well and
2465 (eww-history-mode-map): Delete some keys and add easy-menu.
2467 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2469 Fix misspelling of 'chinese' in rx (Bug#16237).
2470 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2473 Change subword regexps back to vars (Bug#16296).
2474 * progmodes/subword.el (subword-forward-regexp)
2475 (subword-backward-regexp): Change these back to variables.
2477 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2479 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2480 syntax-begin-function (bug#16247).
2482 2014-01-03 Chong Yidong <cyd@gnu.org>
2484 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2485 (advice--docstring): Delete variable.
2486 (advice--make-1): Leave the docstring empty.
2487 (advice-add): Use function-documentation for advised docstring.
2489 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2490 Ignore function-documentation property when getting documentation.
2491 (ad-activate-advised-definition): Use function-documentation
2492 generate the docstring.
2493 (ad-make-advised-definition): Don't call
2494 ad-make-advised-definition-docstring.
2495 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2498 * progmodes/sql.el (sql-help): Use function-documentation instead
2499 of dynamic-docstring-function property. No need to autoload now.
2500 (sql--help-docstring): New variable.
2501 (sql--make-help-docstring): Use it.
2503 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2505 * ielm.el (ielm-tab): Retarget.
2506 (ielm-map): Use ielm-tab for tab.
2507 (ielm-complete-filename): Use comint-filename-completion.
2508 (ielm-complete-symbol): Remove.
2509 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2510 remove ielm-tab from completion-at-point-functions (bug#16224).
2512 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2513 Beware signals raised by predicates (bug#16201).
2515 2014-01-02 Richard Stallman <rms@gnu.org>
2517 * dired-aux.el (dired-do-print): Handle printer-name.
2519 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2520 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2521 (rmail-epa-decrypt): Turn off mime processing.
2523 * mail/rmail.el (rmail-make-in-reply-to-field):
2524 Add parens in message-id.
2526 * mail/rmail.el (rmail-get-coding-function): Variable.
2527 (rmail-get-coding-system): Use it.
2529 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2531 * international/mule-conf.el: Unify the charset indian-is13194.
2532 (indian-is13194): Specify unify-map.
2534 2013-12-31 Leo Liu <sdl.web@gmail.com>
2536 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2538 2013-12-30 Daniel Colascione <dancol@dancol.org>
2540 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2541 of printing a useless when we resume from sleep.
2543 * progmodes/sh-script.el
2544 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2545 in indentation code. (Bug#16233)
2547 2013-12-28 João Távora <joaotavora@gmail.com>
2549 * elec-pair.el (electric-pair-post-self-insert-function):
2550 Don't open extra newlines at beginning of buffer. (Bug#16272)
2552 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2554 * frame.el (window-system-for-display): Don't allow to create a
2555 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2557 2013-12-28 Glenn Morris <rgm@gnu.org>
2559 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2562 * apropos.el (apropos-match-face):
2563 * calculator.el (calculator-displayer):
2564 * dabbrev.el (dabbrev-search-these-buffers-only):
2565 * face-remap.el (buffer-face-mode-face):
2566 * simple.el (yank-handled-properties):
2567 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2568 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2569 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2570 (hashcash-double-spend-database):
2571 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2572 (ruby-deep-indent-paren-style):
2573 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2574 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2575 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2576 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2577 Specify custom types.
2579 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2580 * bookmark.el (bookmark-bmenu-use-header-line):
2581 * doc-view.el (doc-view-scale-internally):
2582 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2583 * register.el (register-preview-delay):
2584 * net/shr.el (shr-bullet):
2585 * progmodes/cfengine.el (cfengine-cf-promises)
2586 (cfengine-parameters-indent):
2587 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2588 * textmodes/reftex-vars.el (reftex-label-regexps):
2589 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2591 * net/tls.el (tls-certtool-program): Fix default value.
2593 * desktop.el (desktop-restore-in-current-display):
2594 * newcomment.el (comment-empty-lines):
2595 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2596 (idlwave-pad-keyword):
2597 * progmodes/tcl.el (tcl-tab-always-indent):
2598 * textmodes/reftex-vars.el (reftex-index-default-tag):
2599 * elec-pair.el (electric-pair-skip-whitespace):
2600 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2602 * emacs-lisp/authors.el (authors-ignored-files)
2603 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2605 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2607 * shell.el (shell-dynamic-complete-command): Doc fix.
2608 (shell--command-completion-data): Shell completion now matches
2609 executable filenames from the current buffer's directory, on
2610 systems in which this behavior is the default (windows-nt, ms-dos).
2612 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2614 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2616 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2618 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2621 * electric.el: Move all electric-pair-* to elec-pair.el.
2622 * elec-pair.el: New file, split from electric.el.
2624 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2626 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2627 indentation level is larger than the width, because that will
2629 (shr-insert): Fill repeatedly long texts, so that Japanese is
2630 formatted correctly (bug#16263).
2631 (shr-find-fill-point): Off by one error in comparison with the
2634 2013-12-26 João Távora <joaotavora@gmail.com>
2636 * electric.el (electric-pair-mode): More flexible engine for skip-
2637 and inhibit predicates, new options for pairing-related functionality.
2638 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2639 if that keeps or improves their balance in buffers.
2640 (electric-pair-delete-adjacent-pairs): Delete the pair when
2641 backspacing over adjacent matched delimiters.
2642 (electric-pair-open-extra-newline): Open extra newline when
2643 inserting newlines between adjacent matched delimiters.
2644 (electric--sort-post-self-insertion-hook):
2645 Sort post-self-insert-hook according to priority values when
2646 minor-modes are activated.
2647 * simple.el (newline-and-indent): Call newline with interactive
2649 (blink-paren-post-self-insert-function): Set priority to 100.
2650 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2651 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2652 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2653 electric-pair-open-newline-between-pairs to nil.
2655 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2657 * progmodes/python.el: Use lexical-binding.
2658 (python-nav-beginning-of-defun): Stop searching ASAP.
2660 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2662 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2663 Fix interactive spec. Doc fix. (Bug#15754)
2665 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2667 * emacs-lisp/byte-run.el (eval-when-compile):
2668 * progmodes/cc-defs.el (cc-eval-when-compile):
2669 Fix edebug spec (bug#16184).
2671 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2673 * net/shr.el (shr-visit-file): Remove debugging function.
2674 (shr-insert): Don't infloop if we can't find a good place to break
2675 the line (bug#16256).
2677 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2679 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2680 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2681 python-nav-lisp-forward-sexp-safe.
2682 (python-nav--forward-sexp): New argument SAFE allows switching
2683 forward sexp movement behavior for parens.
2684 (python-nav-forward-sexp): Throw errors on unterminated parens
2686 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2687 (python-nav-backward-sexp-safe): New functions.
2688 (python-shell-buffer-substring):
2689 Use `python-nav-forward-sexp-safe'.
2691 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2693 * net/shr.el (shr-find-fill-point): Don't break lines before a
2695 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2696 (shr-find-fill-point): Remove the special checks for the quotation
2697 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2699 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2701 * net/eww.el (eww-form-textarea): Use a different face for
2702 textareas than text input since they have different keymaps
2705 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2707 * progmodes/python.el (python-nav-beginning-of-statement):
2708 Speed up (Bug#15295).
2710 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2712 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2713 the window configuration.
2715 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2717 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2718 we run on MS-Windows or MS-DOS.
2720 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2722 * window.el (balance-windows-area): Call window-size instead of
2723 window-height and window-width. Bug#16241.
2725 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2727 * net/eww.el (eww-bookmark-quit): Remove.
2728 (eww-bookmark-browse): Restore the window configuration when you
2729 choose a bookmark (bug#16144).
2731 2013-12-24 Daniel Colascione <dancol@dancol.org>
2733 * icomplete.el: Remove redundant :group arguments to `defcustom'
2735 (icomplete-show-matches-on-no-input): New customizable variable.
2736 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2737 we have something to show.
2738 (icomplete-exhibit): Compute completions even if we have no user input.
2740 2013-12-23 Daniel Colascione <dancol@dancol.org>
2742 * icomplete.el: Move `provide' to end of file.
2744 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2746 * net/gnutls.el (gnutls-verify-error): Add version tag.
2748 2013-12-23 Chong Yidong <cyd@gnu.org>
2750 * subr.el (set-transient-map): Rename from
2751 set-temporary-overlay-map. Doc fix.
2753 * face-remap.el (text-scale-adjust):
2754 * indent.el (indent-rigidly):
2755 * kmacro.el (kmacro-call-macro):
2756 * minibuffer.el (minibuffer-force-complete):
2757 * repeat.el (repeat):
2758 * simple.el (universal-argument--mode):
2759 * calendar/todo-mode.el (todo-insert-item--next-param):
2760 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2762 * indent.el (indent-rigidly): Use substitute-command-keys.
2764 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2766 * net/eww.el (eww-tag-select): Add text-property to jump to next
2768 (eww): Add non-supported ftp error.
2770 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2772 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2773 comments. Handle electric indent after typing `?' and `!'.
2775 2013-12-22 Chong Yidong <cyd@gnu.org>
2777 * faces.el (face-spec-recalc): If the theme specs are not
2778 applicable to a frame, fall back on the defface spec.
2779 This prevents themes from obliterating faces on low-color terminals.
2781 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2783 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2784 after `{'. We need it after block openers, and it doesn't seem
2785 to hurt after hash openers.
2787 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2789 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2790 extracted from `ruby-smie-rules'.
2791 (ruby--electric-indent-chars): New variable.
2792 (ruby--electric-indent-p): New function.
2793 (ruby-mode): Use `electric-indent-functions' instead of
2794 `electric-indent-chars'.
2796 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2800 (ruby-smie-rules): Indent plus one level after `=>'.
2802 2013-12-21 Richard Stallman <rms@gnu.org>
2804 * simple.el (newline): Doc fix.
2806 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2808 * net/eww.el (eww-list-histories, eww-list-histories)
2809 (eww-history-browse, eww-history-quit, eww-history-kill)
2810 (eww-history-mode-map, eww-history-mode): New command and
2811 functions to list browser histories.
2812 (eww-form-text): Support text form with disabled
2813 and readonly attributes.
2814 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2816 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2818 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2819 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2820 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2821 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2823 (eww-bookmark-mode-map): Add menu.
2824 (eww-render, eww-mode): Use `setq-local'.
2825 (eww-tool-bar-map): New variable.
2826 (eww-mode): Set `tool-bar-map'.
2827 (eww-view-source): Check for `html-mode' with `fboundp'.
2829 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2831 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2832 elements with text inside. Also remove debugging.
2834 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2836 * cus-start.el (all): Add ns-use-srgb-colorspace.
2838 2013-12-21 Chong Yidong <cyd@gnu.org>
2840 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2841 undefined. Thus, theme settings for undefined faces do not take
2842 effect until the faces are defined with defface, the same as with
2845 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2846 (face-spec-reset-face): Don't assign extra properties in temacs.
2847 (face-spec-recalc): Apply X resources too.
2849 2013-12-21 Chong Yidong <cyd@gnu.org>
2851 * faces.el (face-spec-set):
2852 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2853 * custom.el (defface): Doc fixes (Bug#16203).
2855 * indent.el (indent-rigidly-map): Add docstring, and move commands
2856 into named functions.
2857 (indent-rigidly-left, indent-rigidly-right)
2858 (indent-rigidly-left-to-tab-stop)
2859 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2860 indentation direction based on bidi direction, and accumulate
2861 sequential commands in a single undo boundary.
2862 (indent-rigidly--pop-undo): New utility function.
2864 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2866 * faces.el (read-face-name): Require crm.el when using crm-separator.
2868 2013-12-20 Daniel Colascione <dancol@dancol.org>
2870 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2871 so that we don't reflow comments into the shebang line.
2873 2013-12-20 Juri Linkov <juri@jurta.org>
2875 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2876 a position when `dired-directory' is non-nil. Check integer
2877 positions with `integerp'.
2878 (toggle-save-place, save-places-to-alist): Add check for
2880 (save-place-find-file-hook): Check integer positions with
2882 (save-place-dired-hook): Use `dired-goto-file' when
2883 `dired-filename' is found in the assoc list. Check integer
2884 positions with `integerp'.
2885 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2887 * dired.el (dired-initial-position-hook): Rename back from
2888 `dired-initial-point-hook'.
2889 (dired-initial-position): Rename `dired-initial-point-hook' to
2890 `dired-initial-position-hook'.
2891 (dired-file-name-at-point): Doc fix. (Bug#15329)
2893 2013-12-20 Juri Linkov <juri@jurta.org>
2895 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2896 (read-regexp-suggestions): New function.
2897 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2898 Use `read-regexp-suggestions'. Add non-empty default to history
2900 (occur-read-regexp-defaults-function): Remove function.
2901 (occur-read-primary-args): Use `regexp-history-last' instead of
2902 `occur-read-regexp-defaults-function'.
2904 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2905 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2906 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2907 `hi-lock-read-regexp-defaults-function'. Doc fix.
2908 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2909 with `find-tag-default-as-symbol-regexp'. Doc fix.
2910 (hi-lock-read-regexp-defaults): Remove function.
2911 (hi-lock-regexp-okay): Add check for null.
2913 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2914 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2916 * subr.el (find-tag-default-as-symbol-regexp): New function.
2917 (find-tag-default-as-regexp): Move symbol regexp formatting to
2918 `find-tag-default-as-symbol-regexp'.
2920 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2922 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2925 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2927 * calendar/todo-mode.el: New implementation of item insertion
2928 commands and key bindings.
2929 (todo-key-prompt): New face.
2930 (todo-insert-item): New command.
2931 (todo-insert-item--parameters): New defconst, replacing defvar
2932 todo-insertion-commands-args-genlist.
2933 (todo-insert-item--param-key-alist): New defconst, replacing
2934 defvar todo-insertion-commands-arg-key-list.
2935 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2936 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2937 (todo-insert-item--next-param): New functions.
2938 (todo-insert-item--args, todo-insert-item--argleft)
2939 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2941 (todo-key-bindings-t): Change binding of "i" from
2942 todo-insertion-map to todo-insert-item.
2943 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2944 (todo-insertion-command-name, todo-insertion-commands-names)
2945 (todo-define-insertion-command, todo-insertion-commands)
2946 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2948 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2950 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2951 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2953 (todo-move-category): Allow choosing a non-existing todo file to
2954 move the category to, and create that file.
2955 (todo-default-priority): New user option.
2956 (todo-set-item-priority): Use it.
2957 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2958 (desktop-restore-file-buffer): Declare.
2959 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2960 (todo-modes-set-2): Locally set desktop-save-buffer to
2961 todo-desktop-save-buffer.
2962 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2963 (auto-mode-alist): Add autoload cookie.
2965 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2967 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2968 helpers.el was a poor choice of name.
2969 (string-remove-prefix): New function.
2970 (string-remove-suffix): New function.
2972 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2974 Fix assignment for new window total sizes.
2975 * window.el (window--pixel-to-size): Remove function.
2976 (window--pixel-to-total-1, window--pixel-to-total):
2977 Fix calculation of new total sizes.
2979 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2981 * comint.el (comint-output-filter): Fix rear-nonsticky property
2982 placement (Bug#16010).
2984 2013-12-20 Chong Yidong <cyd@gnu.org>
2986 * faces.el (read-color): Minor fix for completion function.
2988 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2990 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2991 New option. (Bug#16182)
2992 (ruby-smie--indent-to-stmt-p): Use it.
2993 (ruby-smie-rules): Revert the logic in the handling of `when'.
2994 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2995 (ruby-deep-arglist, ruby-deep-indent-paren)
2996 (ruby-deep-indent-paren-style): Update docstrings to note that the
2997 vars don't have any effect with SMIE.
2999 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3001 * calc/calc.el (calc-enter, calc-pop): Use the variable
3002 `calc-context-sensitive-enter'.
3004 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3006 * net/shr.el (shr-insert): Protect against infloops in degenerate
3009 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3011 * progmodes/octave.el (octave): Add link to manual and octave
3013 (octave-mode-menu): Link to octave-mode manual.
3015 2013-12-20 Leo Liu <sdl.web@gmail.com>
3017 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3018 insertion using skeleton-end-newline. (Bug#16138)
3020 2013-12-20 Juri Linkov <juri@jurta.org>
3022 * replace.el (occur-engine): Use `add-face-text-property'
3023 to add the face property to matches and titles. (Bug#14645)
3025 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3026 the palette of other hi-lock colors.
3027 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3029 2013-12-19 Juri Linkov <juri@jurta.org>
3031 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3032 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3033 (minibuffer-history-symbol): Move variable declaration closer to
3036 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3039 2013-12-19 Juri Linkov <juri@jurta.org>
3041 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3043 (log-edit-hook): Add it to :options. (Bug#16170)
3045 2013-12-19 Juri Linkov <juri@jurta.org>
3047 * simple.el (eval-expression-print-format): Don't check for
3048 command names and the last command. Always display additional
3049 formats of the integer result in the echo area, and insert them
3050 to the current buffer only with a zero prefix arg.
3051 Display character when char-displayable-p is non-nil.
3052 (eval-expression): With a zero prefix arg, set `print-length' and
3053 `print-level' to nil, and insert the integer values from
3054 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3056 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3057 `eval-last-sexp-arg-internal'. Doc fix.
3058 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3059 `eval-last-sexp-print-value'. Doc fix.
3060 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3061 Set `print-length' and `print-level' to nil when arg is zero.
3062 (eval-last-sexp): Doc fix.
3063 (eval-defun-2): Print the integer values from
3064 `eval-expression-print-format' at the end.
3066 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3067 values from `eval-expression-print-format' at the end.
3069 * ielm.el (ielm-eval-input): Print the integer
3070 values from `eval-expression-print-format' at the end.
3072 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3074 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3075 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3077 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3080 (hl-line-highlight, global-hl-line-highlight): Use it.
3081 (hl-line-overlay): Use defvar-local.
3083 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3085 * term/ns-win.el: Require dnd.
3086 (global-map): Remove drag items.
3087 (ns-insert-text, ns-set-foreground-at-mouse)
3088 (ns-set-background-at-mouse):
3089 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3090 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3093 2013-12-19 Glenn Morris <rgm@gnu.org>
3095 * emacs-lisp/ert.el (ert-select-tests):
3096 Fix string/symbol mixup. (Bug#16121)
3098 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3100 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3101 keywords to their parent.
3103 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3105 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3106 first arg to be a string (fixed dead code), or an operator symbol.
3107 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3109 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3110 did nothing. Don't respond to `(:after ".")', it will be called
3111 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3112 change anything. Only return indentation for binary operators
3113 when they are hanging. De-dent opening paren when its parent is
3114 `.', otherwise it looks bad when the dot is not at bol or eol
3117 2013-12-19 Juri Linkov <juri@jurta.org>
3119 * replace.el (query-replace-read-args): Split a non-negative arg
3120 and a negative arg into separate elements.
3121 (query-replace, query-replace-regexp, replace-string)
3122 (replace-regexp): Add arg `backward'. Doc fix.
3123 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3124 move point to the beginning of the match.
3125 (replace-search, replace-highlight): Use new arg `backward'
3126 to set the value of `isearch-forward'.
3127 (perform-replace): Add arg `backward' and use it to perform
3128 replacement backward. (Bug#14979)
3130 * isearch.el (isearch-query-replace): Use a negative prefix arg
3131 to call `perform-replace' with a non-nil arg `backward'.
3133 2013-12-18 Juri Linkov <juri@jurta.org>
3135 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3136 to the default list. Move `log-edit-show-files' to the end.
3137 Add more available functions to options.
3138 (log-edit): Move default specific settings to
3139 `log-edit-insert-message-template'. Don't move point.
3140 (log-edit-insert-message-template): New function.
3141 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3144 2013-12-18 Juri Linkov <juri@jurta.org>
3146 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3147 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3149 2013-12-18 Leo Liu <sdl.web@gmail.com>
3151 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3154 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3156 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3157 formats for displaying file sizes when the -s switch is given.
3158 Instead, compute a separate format for displaying the size in
3159 blocks, which is displayed in addition to the "regular" size.
3160 When -h is given in addition to -s, produce size in blocks in
3161 human-readable form as well. (Bug#16179)
3163 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3165 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3166 Reference tables with ~\ref{...} instead of only \ref{...}.
3168 2013-12-18 Chong Yidong <cyd@gnu.org>
3170 * cus-edit.el (custom-magic-alist): Fix "themed" description
3173 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3174 is non-nil, do not create a new entry in the symbol's theme-value
3175 or theme-face property; update theme-settings only (Bug#14664).
3176 (custom-available-themes): Doc fix.
3178 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3181 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3183 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3185 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3188 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3190 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3192 2013-12-18 Glenn Morris <rgm@gnu.org>
3194 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3195 * cus-start.el (load-prefer-newer): New option.
3197 2013-12-18 Le Wang <l26wang@gmail.com>
3199 * comint.el (comint-previous-matching-input-from-input):
3200 Retain point (Bug#13404).
3202 2013-12-18 Chong Yidong <cyd@gnu.org>
3204 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3206 2013-12-18 Glenn Morris <rgm@gnu.org>
3208 * mail/emacsbug.el (report-emacs-bug):
3209 Only mention enable-multibyte-characters if non-standard.
3211 2013-12-17 Juri Linkov <juri@jurta.org>
3213 * arc-mode.el (archive-extract-by-file): Check if directory exists
3214 before deletion to not show irrelevant errors if it doesn't exist.
3216 2013-12-17 Juri Linkov <juri@jurta.org>
3218 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3221 * net/eww.el (browse-web): Add alias to `eww'.
3222 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3223 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3225 * net/browse-url.el (browse-url-browser-function): Move `eww'
3226 closer to similar functions.
3228 * startup.el (fancy-startup-screen, fancy-about-screen):
3229 Set browse-url-browser-function to eww-browse-url locally.
3232 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3234 * window.el (window--pixel-to-total): Remove unused `mini' var.
3235 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3236 (split-window): Remove unused `new' var.
3237 (window--display-buffer): Remove unused `frame' and `delta' vars.
3238 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3241 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3243 * dired.el (dired-mark-pop-up):
3244 * register.el (register-preview): Don't bind
3245 split-height-threshold here since it's now done in
3246 display-buffer-below-selected.
3248 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3250 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3251 xterm-rgb-convert-to-16bit.
3252 (rxvt-register-default-colors): Standardize with
3253 xterm-register-default-colors (Bug#14078).
3255 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3257 * simple.el (kill-region): Pass mark first, then point, so that
3258 kill-append works right (Bug#12819).
3259 (copy-region-as-kill, kill-ring-save): Likewise.
3261 2013-12-17 Leo Liu <sdl.web@gmail.com>
3263 * net/rcirc.el (rcirc-add-face):
3264 * eshell/em-prompt.el (eshell-emit-prompt):
3265 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3268 2013-12-17 Chong Yidong <cyd@gnu.org>
3270 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3271 Suggested by Xue Fuqiao.
3273 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3275 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3277 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3279 * net/shr.el (shr-insert-document): Remove unused var
3280 `shr-preliminary-table-render'.
3281 (shr-rescale-image): Remove unused arg `force'.
3282 (shr-put-image): Update calls accordingly.
3283 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3285 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3287 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3288 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3289 :close-all, to see which indentation method to use (Bug#16116).
3290 (smie-rules-function): Document the method :close-all.
3292 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3294 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3296 * net/eww.el (eww-display-html): If we can't find the anchor we're
3297 looking for, then go to point-min.
3299 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3301 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3302 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3303 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3304 Expand dir too, in case it's relative.
3306 2013-12-16 Juri Linkov <juri@jurta.org>
3308 * desktop.el (desktop-auto-save-timeout): Change default to
3309 `auto-save-timeout'. Doc fix.
3310 (desktop-save): Skip the timestamp in desktop-saved-frameset
3311 when checking for auto-save changes.
3312 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3313 `desktop-auto-save' is called repeatedly by the idle timer.
3314 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3315 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3318 2013-12-16 Juri Linkov <juri@jurta.org>
3320 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3322 (isearch-pre-command-hook): Check `this-command' for symbolp.
3324 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3326 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3328 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3330 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3331 (cfengine3--current-function): Bring in the current-function
3332 functionality from `cfengine3--current-word'.
3333 (cfengine3-completion-function): Bring in the
3334 bounds-of-current-word functionality from
3335 `cfengine3--current-word'.
3337 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3339 * window.el (display-buffer-below-selected):
3340 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3342 2013-12-16 Leo Liu <sdl.web@gmail.com>
3344 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3345 Remove NOMSG arg and all uses changed.
3347 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3350 (cua--deactivate-rectangle): Don't deactivate the mark.
3351 (cua-set-rectangle-mark): Don't set mark-active since
3352 cua--activate-rectangle already does it for us.
3353 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3354 non-rectangular region.
3356 * emulation/cua-base.el (cua-repeat-replace-region):
3357 Use with-current-buffer.
3359 * net/gnutls.el: Use cl-lib.
3360 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3362 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3364 * emacs-lisp/package.el (package-built-in-p): Support both
3365 built-in and the package.el converted package descriptions.
3366 (package-show-package-list): Allow keywords.
3367 (package-keyword-button-action): Use it instead of
3368 `finder-list-matches'.
3369 (package-menu-filter-interactive): Interactive filtering (by
3371 (package-menu--generate): Support keywords and change keymappings
3372 and headers when they are given.
3373 (package--has-keyword-p): Helper function.
3374 (package-menu--refresh): Use it.
3375 (package--mapc): Helper function.
3376 (package-all-keywords): Use it.
3377 (package-menu-mode-map): Set up menu items and keybindings to
3378 provide a filtering UI.
3380 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3382 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3383 the behavior when a certificate fails validation. Defaults to
3384 old behavior: never abort, just warn.
3385 (gnutls-negotiate): Use it.
3387 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3389 * window.el (display-buffer-below-selected): Never split window
3390 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3392 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3394 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3395 (package-buffer-info): Use it (bug#15108).
3397 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3399 * icomplete.el (icomplete-completions): Make sure the prefix is already
3400 displayed elsewhere before hiding it (bug#16219).
3402 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3404 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3405 open-paren tokens when preceded by a open-paren, too.
3406 (ruby-smie-rules): Handle virtual indentation after open-paren
3407 tokens specially. If there is code between it and eol, return the
3408 column where is starts (Bug#16118).
3410 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3412 * progmodes/cfengine.el: Fix `add-hook' doc.
3413 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3414 (cfengine3--current-word): Fix parameters.
3415 (cfengine3-make-syntax-cache): Simplify further.
3416 (cfengine3-completion-function, cfengine3--current-function):
3417 Use `assq' for symbols.
3418 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3420 2013-12-13 Glenn Morris <rgm@gnu.org>
3422 * loadup.el (load-path): Warn if site-load or site-init changes it.
3423 No more need to reset it when bootstrapping.
3425 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3427 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3428 locations for cf-promises.
3429 (cfengine-mode-syntax-functions-regex): New caching variable.
3430 (cfengine3-fallback-syntax): Fallback syntax for cases where
3431 cf-promises doesn't run.
3432 (cfengine3--current-word): Reimplement using
3433 `cfengine-mode-syntax-functions-regex'.
3434 (cfengine3-completion-function, cfengine3--current-function):
3435 Use `cfengine3-make-syntax-cache' directly.
3436 (cfengine3-clear-syntax-cache): New function.
3437 (cfengine3-make-syntax-cache): Simplify and create
3438 `cfengine-mode-syntax-functions-regex' on demand.
3439 (cfengine3-format-function-docstring): Don't call
3440 `cfengine3-make-syntax-cache' explicitly.
3442 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3444 Fix windmove-find-other-window broken after pixelwise resizing
3446 * windmove.el (windmove-other-window-loc): Revert change from
3448 (windmove-find-other-window): Call window-in-direction.
3449 * window.el (window-in-direction): New arguments SIGN, WRAP and
3450 MINI to emulate original windmove-find-other-window behavior.
3452 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3454 * simple.el (blink-matching--overlay): New variable.
3455 (blink-matching-open): Instead of moving point, highlight the
3456 matching paren with an overlay
3457 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3459 * faces.el (paren-showing-faces, show-paren-match)
3460 (show-paren-mismatch): Move from paren.el.
3462 2013-12-13 Leo Liu <sdl.web@gmail.com>
3464 * indent.el (indent-region): Disable progress reporter in
3465 minibuffer. (Bug#16108)
3467 * bindings.el (visual-order-cursor-movement): Fix version.
3469 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3471 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3472 Also match after beginning of line.
3473 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3474 files. Thanks to Russell Sim. (Bug#15378)
3476 2013-12-13 Juri Linkov <juri@jurta.org>
3478 * simple.el <Keypad support>: Remove key bindings duplicated
3479 with bindings.el. (Bug#14397)
3481 2013-12-13 Juri Linkov <juri@jurta.org>
3483 * comint.el (comint-mode-map): Replace `delete-char' with
3484 `delete-forward-char'. (Bug#16109)
3486 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3488 * progmodes/python.el (python-indent-calculate-indentation):
3489 Fix de-denters cornercase. (Bug#15731)
3491 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3493 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3494 (advice--make): Pay attention to `depth'.
3495 (advice--make-1): Don't autoload commands eagerly.
3496 * emacs-lisp/elp.el (elp-instrument-function):
3497 * emacs-lisp/trace.el (trace-function-internal):
3498 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3500 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3502 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3504 * term/w32-win.el (w32-handle-dropped-file):
3505 * startup.el (normal-top-level):
3506 * net/browse-url.el (browse-url-file-url):
3507 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3508 decode file names using 'utf-8' rather than
3509 file-name-coding-system.
3511 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3513 * progmodes/python.el (python-indent-context)
3514 (python-indent-calculate-indentation): Fix auto-identation
3515 behavior for comment blocks. (Bug#15916)
3517 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3519 * progmodes/python.el (python-indent-calculate-indentation):
3520 When determining indentation, don't treat "return", "pass", etc., as
3521 operators when they are just string constituents. (Bug#15812)
3523 2013-12-12 Juri Linkov <juri@jurta.org>
3525 * uniquify.el (uniquify-buffer-name-style): Change default to
3526 `post-forward-angle-brackets'.
3528 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3529 `uniquify'. Change default to `post-forward-angle-brackets'.
3531 2013-12-11 Glenn Morris <rgm@gnu.org>
3533 * emacs-lisp/package.el (finder-list-matches):
3534 Autoload rather than falsely declaring.
3536 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3538 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3539 (eww-mode-map): Use them.
3541 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3543 * window.el (display-buffer-in-side-window): Fix doc-string
3546 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3548 * vc/vc-git.el: Silence byte-compiler warnings.
3549 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3550 (log-edit-set-header): Declare.
3552 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3554 * Makefile.in (custom-deps, finder-data): Run output file names
3555 through unmsys--file-name. (Bug#16099)
3557 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3559 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3560 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3562 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3563 instead of deleting the selection "by hand" (bug#16098).
3564 Rely on insert-for-yank to yank rectangles.
3565 (cua-highlight-region-shift-only): Mark obsolete.
3566 (cua-mode): Don't enable/disable transient-mark-mode,
3567 shift-select-mode (cua-mode works both with and without them), and
3568 pc-selection-mode (obsolete).
3569 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3570 (cua--deactivate-rectangle): Deactivate it.
3572 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3573 (delete-selection-helper): Make sure yank starts at the top of the
3575 (minibuffer-keyboard-quit): Use region-active-p.
3577 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3579 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3580 to `delete' (bug#16109).
3582 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3584 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3585 info manual and show keybindings and set `:group' keyword.
3587 2013-12-11 Juri Linkov <juri@jurta.org>
3589 * delsel.el (delete-active-region): Let-bind `this-command'
3590 to prevent `kill-region' from changing its original value.
3591 (delete-selection-helper): Handle `overwrite-mode' for the type
3592 `kill' exactly the same way as for the type `t'.
3593 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3594 Support more commands. (Bug#13312)
3596 2013-12-11 Juri Linkov <juri@jurta.org>
3598 * bindings.el: Map kp keys to non-kp keys systematically
3599 with basic modifiers control, meta and shift. (Bug#14397)
3601 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3603 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3604 "Close browser" menu items. Fix wrong function of "List
3607 2013-12-11 Juri Linkov <juri@jurta.org>
3609 * misearch.el (multi-isearch-buffers): Set the value of
3610 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3611 arg of isearch-forward to t.
3612 (multi-isearch-buffers-regexp): Set the value of
3613 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3614 arg of isearch-forward-regexp to t.
3615 (multi-isearch-files): Set the value of
3616 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3617 arg of isearch-forward to t.
3618 (multi-isearch-files-regexp): Set the value of
3619 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3620 arg of isearch-forward-regexp to t. (Bug#16035)
3622 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3623 arg of isearch-forward to t.
3624 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3625 arg of isearch-forward-regexp to t.
3626 (dired-isearch-filter-filenames): Remove unnecessary check for
3627 `dired-isearch-filenames'.
3629 * comint.el (comint-history-isearch-backward):
3630 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3631 (comint-history-isearch-backward-regexp):
3632 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3634 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3636 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3637 unmsys--file-name. (Bug#16099)
3639 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3641 * emacs-lisp/package.el (package-keyword-button-action):
3642 Remove finder.el require dependency.
3644 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3646 * emacs-lisp/package.el: Require finder.el.
3647 (describe-package-1): Add keyword buttons.
3648 (package-make-button): New convenience function.
3649 (package-keyword-button-action): Keyword button action using
3650 `finder-list-matches'.
3652 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3654 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3657 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3659 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3662 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3664 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3665 after the end of a percent literal.
3667 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3669 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3670 Handle caret-delimited strings (Bug#16079).
3672 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3674 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3675 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3676 `ruby-parse-partial' (Bug#16078).
3678 2013-12-09 Leo Liu <sdl.web@gmail.com>
3680 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3682 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3684 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3685 (js-switch-indent-offset): New option.
3686 (js--proper-indentation): Use it. And handle the case when
3687 "default" is actually a key in an object literal.
3688 (js--same-line): New function.
3689 (js--multi-line-declaration-indentation): Use it.
3690 (js--indent-in-array-comp, js--array-comp-indentation):
3692 (js--proper-indentation): Use them, to handle array comprehension
3695 2013-12-08 Leo Liu <sdl.web@gmail.com>
3697 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3698 (flymake-make-overlay): Remove arg MOUSE-FACE.
3699 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3701 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3703 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3705 (redisplay-highlight-region-function): Use it.
3707 * emulation/cua-base.el (cua--explicit-region-start)
3708 (cua--last-region-shifted): Remove.
3709 (cua--deactivate): Use deactivate-mark.
3710 (cua--pre-command-handler-1): Don't handle shift-selection.
3711 (cua--post-command-handler-1): Don't change transient-mark-mode.
3712 (cua--select-keymaps): Use region-active-p rather than
3713 cua--explicit-region-start or cua--last-region-shifted.
3714 (cua-mode): Enable shift-select-mode.
3716 2013-12-08 Leo Liu <sdl.web@gmail.com>
3718 * progmodes/flymake.el (flymake-popup-current-error-menu):
3719 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3720 (flymake-posn-at-point-as-event, flymake-popup-menu)
3721 (flymake-make-emacs-menu): Remove. (Bug#16077)
3723 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3725 * rect.el (rectangle-mark-mode): Activate mark even if
3726 transient-mark-mode is off (bug#16066).
3727 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3728 is > mark and at bolp.
3730 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3731 (region-extract-function): Use it.
3732 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3733 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3735 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3736 kill-ring-save, kill-region, delete-char, delete-forward-char.
3737 Ignore self-insert-iso.
3739 * emulation/cua-gmrk.el (cua--init-global-mark):
3740 Ignore `self-insert-iso'.
3742 * emulation/cua-base.el (cua--prefix-copy-handler)
3743 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3744 checking cua--rectangle.
3745 (cua-delete-region): Use region-extract-function.
3746 (cua-replace-region): Delete function.
3747 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3748 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3749 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3750 (cua--init-keymaps): Don't remap delete-selection commands.
3751 (cua-mode): Use delete-selection-mode instead of rolling our own
3754 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3755 Obey region-extract-function.
3757 Make registers and delete-selection-mode work on rectangles.
3758 * register.el (describe-register-1): Don't modify the register's value.
3759 (copy-to-register): Obey region-extract-function.
3760 * delsel.el (delete-active-region): Obey region-extract-function.
3762 2013-12-08 Leo Liu <sdl.web@gmail.com>
3764 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3765 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3766 (flymake-compilation-prevents-syntax-check)
3767 (flymake-start-syntax-check-on-newline)
3768 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3769 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3770 (flymake-xml-program, flymake-master-file-dirs)
3771 (flymake-master-file-count-limit)
3772 (flymake-allowed-file-name-masks): Relocate.
3773 (flymake-makehash, flymake-float-time)
3774 (flymake-replace-regexp-in-string, flymake-split-string)
3775 (flymake-get-temp-dir): Remove.
3776 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3777 (flymake-current-row, flymake-selected-frame)
3778 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3779 related functions. (Bug#16077)
3781 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3783 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3785 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3787 * help-fns.el (describe-function-1): Use new advice-* functions
3788 rather than old ad-* functions. Fix function type description and
3789 source links for advised functions and subrs.
3791 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3793 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3795 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3797 * progmodes/compile.el (compilation-start):
3798 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3800 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3801 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3803 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3805 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3806 Touch up the last change.
3808 2013-12-06 Leo Liu <sdl.web@gmail.com>
3810 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3811 (inferior-octave-startup): Always use "octave> " for prompt.
3812 (octave-goto-function-definition)
3813 (octave-sync-function-file-names)
3814 (octave-find-definition-default-filename): Remove redundant backquotes.
3816 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3818 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3820 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3821 where appropriate already.
3822 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3823 end of method names (Bug#15874).
3825 2013-12-06 Juri Linkov <juri@jurta.org>
3827 * isearch.el (isearch--saved-overriding-local-map):
3828 New internal variable.
3829 (isearch-mode): Set it to the initial value of
3830 `overriding-terminal-local-map'.
3831 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3832 with `isearch--saved-overriding-local-map'. (Bug#16035)
3834 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3836 * progmodes/octave.el (inferior-octave-completion-table):
3837 Turn back into function, use `completion-table-with-cache'
3838 (Bug#11906). Update all references.
3840 * minibuffer.el (completion-table-with-cache): New function.
3842 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3844 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3846 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3848 * net/eww.el (eww-current-source): New variable to store page
3850 (eww-display-html, eww-mode, eww-save-history)
3851 (eww-restore-history): Use it.
3852 (eww-view-source): New command to view page source.
3853 Opportunistically uses `html-mode' to highlight the buffer.
3854 (eww-mode-map): Install it.
3856 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3858 * net/dbus.el (dbus-unregister-service)
3859 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3861 (dbus-unregister-service): Skip :serial entries in
3862 `dbus-registered-objects-table'.
3863 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3865 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3867 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3868 around keywords with extra `split-string' argument.
3870 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3872 * windmove.el (windmove-other-window-loc): Handle navigation
3873 between windows (excluding the minibuffer window - Bug#16017).
3875 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3877 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3878 in D-Bus type syntax.
3879 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3880 preserve unibyte strings. (Bug#16048)
3882 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3885 Call force-mode-line-update is the proper buffer (bug#16042).
3887 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3889 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3890 `log-edit-remember-comment', make argument optional. Adjust all
3892 (log-edit-mode): Add `log-edit-remember-comment' to
3893 `kill-buffer-hook' locally.
3894 (log-edit-kill-buffer): Don't remember comment explicitly since
3895 the buffer is killed anyway.
3897 2013-12-04 Juri Linkov <juri@jurta.org>
3899 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3900 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3902 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3904 * notifications.el (notifications-close-notification): Call the
3905 D-Bus method with ID being a `:uint32'. (Bug#16030)
3907 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3909 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3911 2013-12-03 Juri Linkov <juri@jurta.org>
3913 * progmodes/compile.el (compilation-start): Rename window alist
3914 entry `no-display-ok' to `allow-no-window'.
3916 * simple.el (shell-command): Add window alist entry
3917 `allow-no-window' to `display-buffer'.
3918 (async-shell-command): Doc fix.
3920 * window.el (display-buffer-no-window): New action function.
3921 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3923 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3925 * vc/log-edit.el (log-edit-set-header): Extract from
3926 `log-edit-toggle-header'.
3927 (log-edit-extract-headers): Separate the summary, when extracted
3928 from header, from the rest of the message with an empty line.
3930 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3931 line, if present, to the Summary header.
3933 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3936 in current-buffer (bug#16029).
3938 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3940 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3941 (debugger-mode-map): Bind it.
3942 (debugger--backtrace-base): New function.
3943 (debugger-eval-expression): Use it.
3944 (debugger-frame-number): Skip local vars when present.
3945 (debugger--locals-visible-p, debugger--insert-locals)
3946 (debugger--show-locals, debugger--hide-locals): New functions.
3948 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3950 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3952 (tramp-get-remote-locale): New defun.
3953 (tramp-open-connection-setup-interactive-shell): Use it.
3955 2013-12-02 Leo Liu <sdl.web@gmail.com>
3957 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3959 * progmodes/sh-script.el (sh-shell-process):
3960 * progmodes/octave.el (inferior-octave-process-live-p):
3961 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3962 (gdb-inferior-io-sentinel):
3963 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3965 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3967 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3968 `save-selected-window' to `log-edit-hide-buf'. This makes
3969 `log-edit-show-files' idempotent.
3970 (log-edit-show-files): Mark the new window as dedicated.
3972 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3974 * vc/log-edit.el (log-edit-mode-map): Add binding for
3975 `log-edit-kill-biffer'.
3976 (log-edit-hide-buf): Add a FIXME comment.
3977 (log-edit-add-new-comment): New function, extracted from
3979 (log-edit-done, log-edit-add-to-changelog): Use it.
3980 (log-edit-kill-buffer): New command.
3982 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3984 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3985 instead of killing the buffer.
3987 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3991 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3993 * net/eww.el (eww-form-checkbox-selected-symbol)
3994 (eww-form-checkbox-symbol): New customizable variable.
3995 (eww-form-checkbox, eww-toggle-checkbox):
3996 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3998 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3999 (shr--get-media-pref, shr--extract-best-source): New function.
4000 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4001 no :src tag was specified.
4003 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4004 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4005 Use \\` to match beginning of string instead of ^.
4006 (eww-browse-with-external-browser): Provide optional URL parameter.
4007 (eww-render): Set `eww-current-title' back to "".
4009 * net/shr.el (shr-tag-video): Display content for video if no
4010 poster is available.
4011 (shr-tag-audio): Add support for <audio> tag.
4013 * net/eww.el (eww-text-input-types): New const.
4014 (eww-process-text-input): Treat input types in
4015 `eww-text-input-types' as text.
4017 * net/shr.el (shr-tag-table): Fix comment typo.
4019 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4021 * net/eww.el (eww-follow-link): New command to avoid reloading
4022 pages when we follow #target links (bug#15243).
4023 (eww-quit): Special mode buffers shouldn't query before exiting.
4025 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4027 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4030 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4032 * net/eww.el (eww-restore-history): Update the window title after
4033 moving in the history.
4034 (eww-current-dom): New variable used to save the current DOM.
4036 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4038 * vc/log-edit.el (log-edit-mode-map): Add binding for
4039 `log-edit-beginning-of-line'.
4040 (log-edit-setup-add-author): New user option.
4041 (log-edit-beginning-of-line): New command.
4042 (log-edit): Move major mode call above the contents setup so that
4043 the local variable values are already applied.
4044 (log-edit): Only insert "Author: " when
4045 `log-edit-setup-add-author' is non-nil.
4046 (log-edit): When SETUP is non-nil, position point after ": "
4047 instead of point-min.
4049 2013-12-01 Glenn Morris <rgm@gnu.org>
4051 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4053 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4055 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4056 redisplay to make sure the initial frame gets a chance to become
4057 visible. (Bug#16014)
4059 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4061 Support resizing frames and windows pixelwise.
4062 * cus-start.el (frame-resize-pixelwise)
4063 (window-resize-pixelwise): New entries.
4064 * emacs-lisp/debug.el (debug): Use window-total-height instead
4065 of window-total-size.
4066 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4067 * help.el (describe-bindings-internal): Use help-buffer as
4068 argument for with-help-window.
4069 (temp-buffer-max-width): New option.
4070 (resize-temp-buffer-window, help-window-setup)
4071 (with-help-window): Rewrite.
4072 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4074 * window.el (frame-char-size, window-min-pixel-height)
4075 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4076 (window-min-pixel-width, window-safe-min-pixel-size)
4077 (window-combination-p, window-safe-min-size)
4078 (window-resizable-p, window--size-to-pixel)
4079 (window--pixel-to-size, window--resize-apply-p): New functions.
4080 (window-safe-min-height): Fix doc-string.
4081 (window-size, window-min-size, window--min-size-1)
4082 (window-sizable, window-sizable-p, window--min-delta-1)
4083 (window-min-delta, window--max-delta-1, window-max-delta)
4084 (window--resizable, window--resizable-p, window-resizable)
4085 (window-full-height-p, window-full-width-p, window-at-side-p)
4086 (window--in-direction-2, window-in-direction)
4087 (window--resize-reset-1, window--resize-mini-window)
4088 (window-resize, window-resize-no-error)
4089 (window--resize-child-windows-normal)
4090 (window--resize-child-windows, window--resize-siblings)
4091 (window--resize-this-window, window--resize-root-window)
4092 (window--resize-root-window-vertically)
4093 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4094 (maximize-window, minimize-window, delete-window)
4095 (quit-restore-window, window-split-min-size, split-window)
4096 (balance-windows-2, balance-windows)
4097 (balance-windows-area-adjust, balance-windows-area)
4098 (window--state-get-1, window-state-get, window--state-put-1)
4099 (window--state-put-2, window-state-put)
4100 (display-buffer-record-window, window--display-buffer):
4101 Make functions handle pixelwise sizing of windows.
4102 (display-buffer--action-function-custom-type)
4103 (display-buffer-fallback-action):
4104 Add display-buffer-in-previous-window.
4105 (display-buffer-use-some-window): Resize window to height it had
4107 (fit-window-to-buffer-horizontally): New option.
4108 (fit-frame-to-buffer): Describe new values.
4109 (fit-frame-to-buffer-bottom-margin): Replace with
4110 fit-frame-to-buffer-margins.
4111 (window--sanitize-margin): New function.
4112 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4113 using window-text-pixel-size.
4115 2013-11-30 Glenn Morris <rgm@gnu.org>
4117 * emacs-lisp/bytecomp.el (byte-compile-form):
4118 Make the `interactive-only' warning like the `obsolete' one.
4119 * comint.el (comint-run):
4120 * files.el (insert-file-literally, insert-file):
4121 * replace.el (replace-string, replace-regexp):
4122 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4123 (goto-line, insert-buffer, next-line, previous-line):
4124 Tweak `interactive-only' spec.
4126 Stop keeping (most) generated cedet grammar files in the repository.
4127 * Makefile.in (semantic): New.
4128 (compile-main): Depend on semantic.
4130 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4132 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4133 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4135 * uniquify.el (uniquify-buffer-name-style): Change default.
4137 * loadup.el: Preload "uniquify".
4139 * time.el (display-time-update): Update all mode lines (bug#15999).
4141 * electric.el (electric-indent-mode): Enable by default.
4142 * loadup.el: Preload "electric".
4144 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4146 * emacs-lisp/helpers.el (string-empty-p): New function.
4147 (string-blank-p): New function.
4149 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4151 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4154 2013-11-29 Andreas Politz <politza@fh-trier.de>
4155 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4156 allow non-lambda lists as functions.
4157 (imenu--in-alist): Don't recurse into non-subalists.
4158 (imenu): Don't pass function itself as an argument (Bug#14029).
4160 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * progmodes/python.el (python-mode-map): Remove binding for ":".
4163 (python-indent-electric-colon): Remove command.
4164 (python-indent-post-self-insert-function): Integrate the previous code
4165 of python-indent-electric-colon. Make it conditional on
4166 electric-indent-mode.
4167 (python-mode): Add ?: to electric-indent-chars.
4168 Move python-indent-post-self-insert-function to the end of
4169 post-self-insert-hook.
4171 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * doc-view.el (doc-view-goto-page): Update mode-line.
4175 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4177 2013-11-27 Glenn Morris <rgm@gnu.org>
4179 * international/charprop.el, international/uni-bidi.el:
4180 * international/uni-category.el, international/uni-combining.el:
4181 * international/uni-comment.el, international/uni-decimal.el:
4182 * international/uni-decomposition.el, international/uni-digit.el:
4183 * international/uni-lowercase.el, international/uni-mirrored.el:
4184 * international/uni-name.el, international/uni-numeric.el:
4185 * international/uni-old-name.el, international/uni-titlecase.el:
4186 * international/uni-uppercase.el:
4187 Remove generated files from VCS repository.
4189 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4191 * filenotify.el (file-notify-add-watch): Don't special-case
4192 w32notify when computing the directory to watch.
4194 2013-11-27 Glenn Morris <rgm@gnu.org>
4196 Make bootstrap without generated uni-*.el files possible again.
4197 * loadup.el: Update command-line-args checking for unidata-gen.
4198 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4199 * composite.el, international/characters.el:
4200 Handle unicode tables being undefined.
4202 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4203 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4204 (compile-main): Depend on leim rule.
4206 * loadup.el: Move leim-list.el to leim/ subdirectory.
4207 * startup.el (normal-top-level): No more leim directory.
4208 * international/ja-dic-cnv.el (skkdic-convert):
4209 Disable version-control and autoloads in output files.
4210 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4211 Disable version-control and autoloads in output files.
4212 * leim/quail: Move here from ../leim.
4213 * leim/quail/hangul.el (hangul-input-method-activate):
4214 Add autoload cookie.
4215 (generated-autoload-load-name): Set file-local value.
4216 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4217 (generated-autoload-load-name): Set file-local value.
4219 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4221 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4222 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4223 (eww-quit): Ask confirmation before quitting eww.
4225 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4227 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4228 reading output from Diff on MS-Windows and MS-DOS.
4230 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4232 * emacs-lisp/helpers.el (string-reverse): New function.
4234 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4236 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4237 names on MS Windows, like "/[::1]:".
4239 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4242 2013-11-26 Glenn Morris <rgm@gnu.org>
4244 * progmodes/python.el (python-indent-guess-indent-offset):
4245 Avoid corner-case error. (Bug#15975)
4247 Preload leim-list.el. (Bug#4789)
4248 * loadup.el: Load leim-list.el when found.
4249 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4251 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4253 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4255 * emacs-lisp/helpers.el (string-join): New function.
4257 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4259 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4260 Mark as obsolete and replace it with a symbol property.
4261 (byte-compile-form): Use new 'interactive-only property.
4262 * comint.el, files.el, replace.el, simple.el:
4263 Apply new 'interactive-only properly.
4265 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4267 * window.el (display-buffer-at-bottom): Make sure that
4268 split-window-sensibly creates the new window on bottom
4271 2013-11-23 David Kastrup <dak@gnu.org>
4273 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4274 on the conflict markers when available.
4275 (smerge--get-marker): New function.
4276 (smerge-end-re, smerge-base-re): Add subgroup.
4278 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4280 * frame.el (handle-focus-in, handle-focus-out): Add missing
4283 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4285 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4286 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4288 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4291 (gomoku--last-pos): New var.
4292 (gomoku--intangible-chars): New const.
4293 (gomoku--intangible): New function.
4294 (gomoku-mode): Use it. Derive from special-mode.
4295 (gomoku-move-up): Adjust line count.
4296 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4297 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4298 Simplify accordingly.
4300 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4301 Remove blink-cursor code.
4302 (blink-cursor-timer-function, blink-cursor-suspend):
4303 Don't special-case GUIs.
4304 (blink-cursor-mode): Use focus-in/out-hook.
4306 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4308 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4309 work when annotation is invisible (Bug#13886).
4311 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4313 * json.el (json-alist-p): Only return non-nil if the alist has
4314 simple keys (Bug#13518).
4316 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4318 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4319 when control-statement is the first statement in a buffer (Bug#15956).
4321 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4323 * imenu.el (imenu-generic-skip-comments-and-strings):
4324 New option (Bug#15560).
4325 (imenu--generic-function): Use it.
4327 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4329 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4332 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4334 * emacs-lisp/helpers.el: Add some string helpers.
4335 (string-trim-left): Removes leading whitespace.
4336 (string-trim-right): Removes trailing whitespace.
4337 (string-trim): Removes leading and trailing whitespace.
4339 * subr.el (string-suffix-p): New function.
4341 2013-11-23 Glenn Morris <rgm@gnu.org>
4343 * progmodes/python.el (python-shell-send-file):
4344 Add option to delete file when done. (Bug#15647)
4345 (python-shell-send-string, python-shell-send-region): Use it.
4347 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4349 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4350 to set buffer-read-only to t, never to nil. (Bug#15938)
4352 * textmodes/tex-mode.el (latex-noindent-environments):
4353 Add safe-local-variable property. (Bug#15936)
4355 2013-11-23 Glenn Morris <rgm@gnu.org>
4357 * textmodes/enriched.el (enriched-mode): Doc fix.
4358 * emacs-lisp/authors.el (authors-renamed-files-alist):
4359 Add enriched.doc -> enriched.txt.
4361 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4363 2013-11-22 Leo Liu <sdl.web@gmail.com>
4365 * progmodes/octave.el (inferior-octave-startup): Spit out error
4368 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4370 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4373 (ruby-encoding-magic-comment-style): Add :version.
4375 2013-11-22 Leo Liu <sdl.web@gmail.com>
4377 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4379 (octave-help-mode): Adapt to change to help-mode-finish to use
4380 derived-mode-p on 2013-09-17.
4381 (inferior-octave-prompt): Also match octave-gui.
4382 (octave-kill-process): Don't ask twice. (Bug#10564)
4384 2013-11-22 Leo Liu <sdl.web@gmail.com>
4386 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4387 (inferior-octave-startup, inferior-octave-check-process)
4388 (inferior-octave-track-window-width-change)
4389 (octave-completion-at-point, octave-eldoc-function): Use it.
4390 (octave-kill-process): Provide confirmation. (Bug#10564)
4392 2013-11-21 Leo Liu <sdl.web@gmail.com>
4394 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4395 Fix obsolete variable comment-use-global-state.
4397 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4399 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4400 Add `octave-source-file'.
4401 (octave-source-file): New function. (Bug#15935)
4403 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4405 * net/eww.el (eww-local-regex): New variable.
4406 (eww): Use it to detect localhost and similar.
4408 2013-11-21 Leo Liu <sdl.web@gmail.com>
4410 Add completion for command `ag'.
4411 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4412 (pcomplete/ag): New function.
4413 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4415 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4419 (make-obsolete): Remove interactive spec.
4421 2013-11-21 Glenn Morris <rgm@gnu.org>
4423 * startup.el (command-line-1): Use path-separator with -L.
4425 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4427 * emacs-lisp/package.el (describe-package-1): Add package archive
4430 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4432 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4433 Change default to "# encoding: %s" to differentiate it from the
4434 default Ruby encoding comment template.
4436 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4438 * ses.el (ses-mode): Doc fix. (Bug#14748)
4440 2013-11-20 Leo Liu <sdl.web@gmail.com>
4442 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4444 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4446 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4447 when rebase or bisect are in progress.
4449 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4451 * filenotify.el (file-notify-add-watch): Doc fix.
4453 2013-11-19 Leo Liu <sdl.web@gmail.com>
4455 * obsolete/rcompile.el: Mark obsolete.
4457 * progmodes/compile.el (compilation-start)
4458 (compilation-goto-locus, compilation-find-file):
4459 Pass no-display-ok and handle nil value from display-buffer.
4462 * window.el (display-buffer-alist, display-buffer): Document the
4463 new parameter no-display-ok. Return either a window or nil
4464 but never a non-window value.
4466 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * electric.el (electric-indent-mode-map): Remove.
4469 (electric-indent-mode): Change the global-map instead (bug#15915).
4471 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4474 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * emacs-lisp/nadvice.el (remove-function): Align with
4477 add-function's behavior.
4479 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4480 (gdb--string-regexp): New constant.
4481 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4482 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4483 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4485 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4486 Adjust use accordingly.
4487 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4489 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4491 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4492 interpolation curlies (Bug#15914).
4494 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4496 * calc/calc.el (calc-context-sensitive-enter): New variable.
4497 (calc-enter): Use `calc-context-sensitive-enter'.
4499 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4501 * progmodes/cfengine.el: Version bump.
4502 (cfengine-cf-promises): New defcustom to locate cf-promises.
4503 (cfengine3-vartypes): Add new "data" type.
4504 (cfengine3--current-word): New function to get current name-like
4506 (cfengine3--current-function): New function to look up a CFEngine
4507 function's definition.
4508 (cfengine3-format-function-docstring): New function.
4509 (cfengine3-make-syntax-cache): New function.
4510 (cfengine3-documentation-function): New function: ElDoc glue.
4511 (cfengine3-completion-function): New function: completion glue.
4512 (cfengine3-mode): Set `compile-command',
4513 `eldoc-documentation-function', and add to
4514 `completion-at-point-functions'.
4516 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4518 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4519 `tramp-current-connection'.
4521 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4523 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4524 nil/self/true/false with "end of symbol".
4526 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4528 * subr.el (version-regexp-alist): Fix a typo.
4530 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4532 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4533 "en_US.utf8" and "LC_CTYPE" to "".
4534 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4535 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4537 2013-11-15 Leo Liu <sdl.web@gmail.com>
4539 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4541 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4543 * progmodes/gud.el (ctl-x-map):
4544 Remove C-x SPC binding. (Bug#12342)
4545 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4547 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4549 * subr.el (version-regexp-alist):
4550 Recognize hg, svn and darcs versions as snapshot versions.
4552 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4553 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4554 (ruby--encoding-comment-required-p): Extract from
4555 `ruby-mode-set-encoding'.
4556 (ruby-mode-set-encoding): Add the ability to always insert an
4557 utf-8 encoding comment. Fix and simplify coding comment update
4560 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4562 * net/tramp-gvfs.el (top): Run init code only when
4563 `tramp-gvfs-enabled' is not nil.
4564 (tramp-gvfs-enabled): Check also :system bus.
4566 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4568 Sync with upstream verilog-mode revision 78e66ba.
4569 * progmodes/verilog-mode.el (verilog-end-of-defun)
4570 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4571 (verilog-get-end-of-defun): Remove unused argument.
4572 (verilog-comment-depth): Remove unused local `e'.
4573 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4574 Don't pass arg to verilog-get-end-of-defun.
4576 2013-11-14 Glenn Morris <rgm@gnu.org>
4578 * obsolete/assoc.el (aget): Prefix dynamic variable.
4580 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4582 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * widget.el, hfy-cmap.el: Remove bogus package version number.
4586 2013-11-13 Glenn Morris <rgm@gnu.org>
4588 * replace.el (replace-eval-replacement):
4589 Try to give more helpful error message. (Bug#15836)
4591 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4592 (archive-7z-update): Avoid custom type mismatches.
4594 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4596 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4598 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4599 address can be empty.
4601 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4602 Accept nil SWITCHES.
4603 (tramp-gvfs-handle-write-region): Implement APPEND.
4605 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4607 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4608 binary "|" operator and closing block args delimiter.
4609 Remove FIXME comment referring to Ruby 1.8-only syntax.
4610 (ruby-smie--implicit-semi-p): Not after "|" operator.
4611 (ruby-smie--closing-pipe-p): New function.
4612 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4613 (ruby-smie-rules): Indent after "|".
4615 2013-11-12 Glenn Morris <rgm@gnu.org>
4617 * ps-print.el (ps-face-attribute-list):
4618 Handle anonymous faces. (Bug#15827)
4620 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4622 * window.el (display-buffer-other-frame): Fix doc-string.
4625 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4627 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4629 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4631 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4632 (tramp-sh-handle-file-local-copy): Don't write a message when
4633 saving temporary files.
4635 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4636 both directories are remote.
4637 (tramp-smb-handle-directory-files): Do not return double entries.
4638 Do not expand full file names.
4639 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4640 (tramp-smb-handle-write-region): Implement APPEND.
4641 (tramp-smb-get-stat-capability): Fix a stupid bug.
4643 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4645 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4647 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4649 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4650 throwing error over malformed let/let* (bug#15814).
4652 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4654 * iswitchb.el (iswitchb-mode): Mark obsolete.
4656 2013-11-11 Glenn Morris <rgm@gnu.org>
4658 * international/uni-bidi.el, international/uni-category.el:
4659 * international/uni-name.el, international/uni-numeric.el:
4660 Regenerate for Unicode 6.3.0.
4662 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4664 * net/tramp.el (tramp-methods):
4665 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4666 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4668 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4670 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4671 Force highlighting text after Summary keyword in doc face for rpm.
4673 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4675 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4676 available and the word has no wildcards, append one to the grep pattern.
4677 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4678 (ispell-complete-word): Call `ispell-lookup-words' with the value
4679 independent of `ispell-look-p'.
4681 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4683 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4685 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4688 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4691 (ruby-font-lock-keywords): Use backquote.
4693 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4695 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4696 (ruby-smie--backward-token): Only consider full-string matches.
4698 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4700 * faces.el (describe-face): Add distant-foreground.
4702 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4704 * progmodes/ruby-mode.el: Improve encoding comment handling.
4705 (ruby-encoding-magic-comment-style): New option.
4706 (ruby-custom-encoding-magic-comment-template): New option.
4707 (ruby--insert-coding-comment, ruby--detect-encoding):
4708 New functions extracted from `ruby-mode-set-encoding'.
4709 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4710 to control the style of the auto-inserted encoding comment.
4712 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4714 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4715 Use `smie-backward-sexp' with token argument.
4717 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4719 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4720 Remove instrumentation code.
4722 2013-11-08 Glenn Morris <rgm@gnu.org>
4724 * progmodes/autoconf.el (autoconf-mode):
4725 Tweak comment-start-skip. (Bug#15822)
4727 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4729 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4730 at bobp (bug#15826).
4731 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4733 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4735 * man.el (Man-start-calling): New macro, extracted from
4736 Man-getpage-in-background.
4737 (Man-getpage-in-background): Use it.
4738 (Man-update-manpage): New command.
4739 (Man-mode-map): Bind it.
4741 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4743 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4744 of "and", "or", "&&" and "||".
4745 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4746 argument. Prohibit opening curly brace because it could only be a
4747 block opener in that position.
4748 (ruby-smie--forward-token, ruby-smie--backward-token):
4749 Separate "|" from "&" or "*" going after it. That can happen in block
4751 (ruby-smie--indent-to-stmt): New function, seeks the end of
4752 previous statement or beginning of buffer.
4753 (ruby-smie-rules): Use it.
4754 (ruby-smie-rules): Check if there's a ":" before a curly block
4755 opener candidate; if there is, it's a hash.
4757 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4759 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4760 (cl--block-wrapper): Fix last accidental change.
4762 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4764 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4765 Instrument, in order to hunt failure on hydra.
4767 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4769 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4770 malformed bindings form (bug#15814).
4772 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4774 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4775 "." compared to " @ ". This incidentally fixes some indentation
4777 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4778 (ruby-smie-grammar): New tokens: "and" and "or".
4779 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4780 Exclude "and" and "or". Remove "do" in order to work around token
4782 (ruby-smie-rules): Add all infix tokens. Handle the case of
4783 beginning-of-buffer.
4785 2013-11-06 Glenn Morris <rgm@gnu.org>
4787 * Makefile.in (setwins_almost, setwins_for_subdirs):
4788 Avoid accidental matches.
4790 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * menu-bar.el (popup-menu): Use key-binding.
4794 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4796 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4797 menus, support also the menus produced by minor modes.
4800 2013-11-06 Leo Liu <sdl.web@gmail.com>
4802 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4803 DISTANCE to bound the search. All uses changed. (Bug#15808)
4805 2013-11-06 Glenn Morris <rgm@gnu.org>
4807 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4808 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4809 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4811 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * electric.el (electric-indent-just-newline): New command.
4814 (electric-indent-mode-map): New keymap.
4815 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4816 Re-add :group which weren't redundant.
4818 * electric.el (electric-indent-local-mode): New minor mode.
4819 (electric-indent-functions-without-reindent): New var.
4820 (electric-indent-post-self-insert-function): Use it.
4821 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4823 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4825 * international/quail.el (quail-help): Be more explicit about the
4826 meaning of the labels shown on the keys. (Bug#15800)
4828 * startup.el (normal-top-level): Load the subdirs.el files before
4829 setting the locale environment. (Bug#15805)
4831 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4833 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4834 via arguments so as to get the right ones (bug#15418).
4836 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4838 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4840 Fix problems found while writing a test suite.
4842 * net/tramp-compat.el (tramp-compat-load): New defun.
4843 * net/tramp.el (tramp-handle-load): Use it.
4845 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4846 "(numberp ok-if-already-exists)" correctly.
4848 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4850 * international/characters.el (glyphless-char-display-control):
4853 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4855 * progmodes/python.el (python-mode):
4856 * progmodes/scheme.el (scheme-mode):
4857 * progmodes/prolog.el (prolog-mode):
4858 * progmodes/ruby-mode.el (ruby-mode):
4859 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4860 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4862 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4864 * rect.el (rectangle--highlight-for-redisplay):
4865 * emacs-lisp/smie.el (smie--next-indent-change):
4866 Use buffer-chars-modified-tick.
4868 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4870 * electric.el (electric-indent-post-self-insert-function):
4871 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4873 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4875 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4877 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4879 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4882 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4886 * progmodes/python.el: Fix up last change.
4887 (python-shell--save-temp-file): New function.
4888 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4889 `string' comes from the current buffer.
4890 (python-shell-send-string-no-output): Remove `msg' arg.
4891 (python--use-fake-loc): New var.
4892 (python-shell-buffer-substring): Obey it. Try to compensate for the
4893 extra coding line added by python-shell--save-temp-file.
4894 (python-shell-send-region): Use python-shell--save-temp-file and
4895 python-shell-send-file directly. Add `nomain' argument.
4896 (python-shell-send-buffer): Use python-shell-send-region.
4897 (python-electric-pair-string-delimiter): New function.
4898 (python-mode): Use it.
4900 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4902 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4903 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4904 environment and decoding all of the default-directory's to here
4906 (command-line): Decode also argv[0].
4908 * loadup.el: Error out if default-directory is a multibyte string
4909 when we are dumping.
4911 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4913 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4915 * emacs-lisp/package.el (package-menu-mode)
4916 (package-menu--print-info, package-menu--archive-predicate):
4917 Add Archive column to package list.
4919 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4921 Fix problems found while writing a test suite.
4923 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4924 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4925 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4926 to nil when running original file name handler. Otherwise,
4927 there are problems with constructs like "$$FOO".
4929 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4932 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4934 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4936 * subr.el (version<, version<=, version=):
4937 Update docstrings with information for snapshot versions.
4939 * helpers.el: New library for misc helper functions.
4940 (hash-table-keys): New function returning a list of hash keys.
4941 (hash-table-values): New function returning a list of hash values.
4943 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4945 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4946 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4948 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4950 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4951 checking whether point is after a 1-letter word.
4953 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4955 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4956 Don't infloop when expanding region over `multiline' syntax-type that
4957 begins a line (bug#15778).
4959 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4961 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4962 Make it into a proper minor mode.
4963 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4964 (rectangle-mark-mode-map): New keymap.
4965 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4967 2013-11-04 Glenn Morris <rgm@gnu.org>
4969 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4971 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4973 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4974 (ruby-smie-rules): Use smie-rule-parent instead.
4976 * emacs-lisp/smie.el (smie-rule-parent): Always call
4977 smie-indent-virtual rather than only for hanging tokens.
4978 (smie--next-indent-change): New helper command.
4980 2013-11-03 Glenn Morris <rgm@gnu.org>
4982 * Makefile.in (abs_srcdir): Remove.
4983 (emacs): Unset EMACSLOADPATH.
4985 2013-11-02 Glenn Morris <rgm@gnu.org>
4987 * Makefile.in (EMACS): Use a relative filename.
4988 (abs_top_builddir): Remove.
4989 (custom-deps, finder-data, autoloads): Use --chdir.
4991 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4993 Use relative filenames in TAGS files.
4994 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4995 (lisptagsfiles4, TAGS): Use relative file names.
4996 (TAGS-LISP): Remove.
4997 (maintainer-clean): No more TAGS-LISP file.
4999 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5000 (lisptagsfiles4): Use absolute filenames again.
5001 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5002 Remove all *loaddefs files, not just the first. Remove esh-groups.
5003 (maintainer-clean): Delete TAGS, TAGS-LISP.
5005 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5007 * emacs-lisp/package.el (package-version-join):
5008 Recognize snapshot versions.
5010 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5012 * subr.el (version-regexp-alist): Add support for snapshot versions.
5014 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5016 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5017 New function, replacement for `smie-rule-parent' for when we want to
5018 skip over our direct parent if it's an assignment token..
5019 (ruby-smie-rules): Use it.
5021 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5023 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5024 unconditionally. Remove now unnecessary forward declarations.
5025 Remove XEmacs-specific setup.
5026 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5027 (ruby-font-lock-syntactic-keywords)
5028 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5029 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5030 (ruby-here-doc-end-syntax): Remove.
5031 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5032 defined as function.
5034 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5036 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5038 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5040 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5041 table and abbrev table, `define-derived-mode' does that for us
5044 2013-11-01 Glenn Morris <rgm@gnu.org>
5046 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5047 files is atomic for some time, so no parallel compilation issues).
5049 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5051 * faces.el (face-x-resources): Add :distant-foreground.
5052 (region): Use :distant-foreground for gtk and ns.
5054 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5056 Allow multiple bibliographies when BibLaTeX is used rather than
5058 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5059 (reftex-locate-bibliography-files): Us it.
5061 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5063 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5064 allow comments in pbm files.
5066 * term/w32-win.el (dynamic-library-alist): Support newer versions
5067 of libjpeg starting with v7: look only for the DLL from the
5068 version against which Emacs was built.
5069 Support versions of libpng beyond 1.4.x.
5070 Support libtiff v4.x.
5072 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5074 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5075 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5077 (ruby-deep-arglist): Add property :type.
5079 2013-10-31 Glenn Morris <rgm@gnu.org>
5081 * Makefile.in (custom-deps, finder-data): No need to setq the target
5082 variables, we are in the right directory and the defaults work fine.
5084 2013-10-30 Glenn Morris <rgm@gnu.org>
5086 * Makefile.in (autoloads): Do not use abs_lisp.
5088 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5089 `newline' does not respect `standard-output', so use `princ'.
5091 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5093 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5094 * buff-menu.el (Buffer-menu--unmark): New function.
5095 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5097 2013-10-30 Glenn Morris <rgm@gnu.org>
5099 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5101 * emacs-lisp/package.el (lm-homepage): Declare.
5103 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5106 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5108 * Makefile.in (finder-data, autoloads, update-subdirs)
5109 (compile-main, compile-clean, compile-always, bootstrap-clean):
5110 Check return value of cd.
5111 (compile-calc): Remove.
5113 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5117 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5118 (byte-compile-and-folded): New function.
5119 (=, <, >, <=, >=): Use it.
5121 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5122 (path-separator, null-device, buffer-file-coding-system)
5123 (lpr-headers-switches): Check system-type before modifying them.
5124 (find-buffer-file-type-coding-system): Mark obsolete.
5125 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5126 find-file-not-found-set-buffer-file-coding-system.
5127 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5128 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5129 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5130 (w32-direct-print-region-helper, w32-direct-print-region-function)
5131 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5132 * startup.el (normal-top-level-add-subdirs-to-load-path):
5133 * ps-print.el (ps-print-region-function):
5134 * lpr.el (print-region-function): Use new name.
5136 * subr.el (custom-declare-variable-early): Remove function.
5137 (custom-declare-variable-list): Remove var.
5138 (error, user-error): Remove `while' loop.
5139 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5140 (user-emacs-directory-warning, locate-user-emacs-file):
5142 * simple.el (read-quoted-char-radix, read-quoted-char):
5143 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5145 * custom.el (custom-declare-variable-list): Don't process
5146 custom-declare-variable-list.
5148 * progmodes/python.el (python-shell-get-buffer): New function.
5149 (python-shell-get-process): Use it.
5150 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5151 Python which encoding was used. Don't split-string since we only care
5152 about the first line. Return the temp-file, if applicable.
5153 (python-shell-send-region): Tell compile.el how to turn locations in
5154 the temp-file into locations in the source buffer.
5156 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5158 * subr.el (undefined): Add missing behavior from the C code for
5161 * rect.el: Use lexical-binding. Add new rectangular region support.
5162 (rectangle-mark): New command.
5163 (rectangle--region): New var.
5164 (deactivate-mark-hook): Reset rectangle--region.
5165 (rectangle--extract-region, rectangle--insert-for-yank)
5166 (rectangle--highlight-for-redisplay)
5167 (rectangle--unhighlight-for-redisplay): New functions.
5168 (region-extract-function, redisplay-unhighlight-region-function)
5169 (redisplay-highlight-region-function): Use them to handle
5171 * simple.el (region-extract-function): New var.
5172 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5173 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5174 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5175 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5176 (redisplay-unhighlight-region-function)
5177 (redisplay-highlight-region-function): New vars.
5178 (redisplay--update-region-highlight): New function.
5179 (pre-redisplay-function): Use it.
5180 (exchange-point-and-mark): Don't deactivate the mark before
5181 reactivate-it anyway.
5182 * comint.el (comint-kill-region): Remove yank-handler argument.
5183 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5184 (delete-char): Remove property, since it's now part of their
5186 (self-insert-iso): Remove property since this command doesn't exist.
5188 * emacs-lisp/package.el (package--download-one-archive)
5189 (describe-package-1): Don't query the user about final newline.
5191 2013-10-29 Daniel Colascione <dancol@dancol.org>
5193 * net/tramp.el (tramp-methods): Document new functionality.
5194 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5195 tramp-hostname-checker if method provides one instead of scanning
5196 argument list for "%h" to decide hostname acceptability.
5198 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5200 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5201 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5202 Handle COPY-CONTENTS. (Bug#15737)
5204 2013-10-28 Daiki Ueno <ueno@gnu.org>
5207 (epa-file-cache-passphrase-for-symmetric-encryption):
5208 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5210 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5212 * image.el (defimage, image-load-path): Doc fixes.
5214 2013-10-27 Alan Mackenzie <acm@muc.de>
5216 Indent statements in macros following "##" correctly.
5217 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5218 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5220 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5222 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5224 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5226 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5227 after `=' is probably a new expression.
5229 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5231 * man.el (man-imenu-title): New option.
5232 (Man-mode-map): Add menu. (Bug#15722)
5233 (Man-mode): Add imenu to menu.
5235 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5237 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5238 specific in what the first arg can be: a non-keyword word,
5239 string/regexp/percent literal opener, opening paren, or unary
5240 operator followed directly by word.
5242 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5244 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5245 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5246 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5247 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5248 Remove vars, they do not apply any more.
5249 (prolog-mode-abbrev-table): Remove redundant declaration.
5250 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5251 (prolog-use-smie): Remove.
5252 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5253 supported by prolog-electric-if-then-else-flag.
5254 (prolog-mode-variables, prolog-menu): Use setq-local.
5255 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5256 Remove binding to `Backspace' since this key doesn't exist anyway.
5257 Remove bindings for electric self-inserting keys.
5258 (prog-mode): Assume it's defined.
5259 (prolog-post-self-insert): New function.
5260 (prolog-mode): Use it.
5261 (prolog-indent-line, prolog-indent-level)
5262 (prolog-find-indent-of-matching-paren)
5263 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5264 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5265 (prolog-goto-next-paren, prolog-in-string-or-comment)
5266 (prolog-tokenize, prolog-inside-mline-comment)
5267 (prolog-find-start-of-mline-comment): Remove functions.
5268 (prolog-find-unmatched-paren, prolog-clause-end)
5269 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5270 (prolog-electric--if-then-else): Rename from
5271 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5272 (prolog-tokenize-searchkey): Remove const.
5273 (prolog-clause-info): Use forward-sexp.
5274 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5275 (prolog-electric-if-then-else): Remove commands.
5276 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5277 for use in post-self-insert-hook.
5278 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5279 for use in post-self-insert-hook.
5280 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5281 for use in post-self-insert-hook.
5282 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5283 adapt it for use in post-self-insert-hook.
5285 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5287 * emacs-lisp/ert.el (ert-run-tests-interactively):
5288 Use `completing-read'. (Bug#9756)
5290 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5292 * simple.el (line-move): Call line-move-1 instead of
5293 line-move-visual when the current window hscroll is zero, but
5294 temporary-goal-column indicates we will need to hscroll as result
5295 of the movement. (Bug#15712)
5297 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5299 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5300 capitalization. Use :visible instead of :active.
5301 Fix `ruby-indent-exp' reference. Add menu items for the generic
5302 commands that are used with SMIE.
5303 (ruby-do-end-to-brace): Insert space after `{'.
5305 2013-10-25 John Anthony <john@jo.hnanthony.com>
5307 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5309 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5311 2013-10-25 Glenn Morris <rgm@gnu.org>
5313 * vc/vc.el (vc-print-log): Don't use a working revision unless
5314 one was explicitly specified. (Bug#15322)
5316 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * subr.el (add-to-list): Preserve return value in compiler-macro
5321 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5323 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5324 result. Ask user to retry using '-all' flag. (Bug#15701)
5326 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * emacs-lisp/smie.el: New smie-config system.
5329 (smie-config): New defcustom.
5330 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5331 (smie-config-guess, smie-config-save): New commands.
5332 (smie-config--mode-local, smie-config--buffer-local)
5333 (smie-config--trace, smie-config--modefuns): New vars.
5334 (smie-config--advice, smie-config--mode-hook)
5335 (smie-config--setter, smie-config-local, smie-config--get-trace)
5336 (smie-config--guess-value, smie-config--guess): New functions.
5337 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5338 text properties. Treat "string fence" syntax like string syntax.
5340 * progmodes/sh-script.el (sh-use-smie): Change default.
5341 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5342 (sh-var-value): Simplify by CSE.
5343 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5344 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5346 (sh-guess-basic-offset): Use cl-incf.
5347 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5349 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5351 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5354 2013-10-24 Glenn Morris <rgm@gnu.org>
5356 * Makefile.in (abs_top_srcdir): Remove.
5357 (update-subdirs): Use relative path to update-subdirs.
5359 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5361 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5362 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5363 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5364 Call unmsys--file-name before expand-file-name, not after it.
5366 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5368 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5369 (ert-test-skipped): New error.
5370 (ert-skip, ert-stats-skipped): New defuns.
5371 (ert--skip-unless): New macro.
5372 (ert-test-skipped): New struct.
5373 (ert--run-test-debugger, ert-test-result-type-p)
5374 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5375 (ert--stats-set-test-and-result, ert-char-for-test-result)
5376 (ert-string-for-test-result, ert-run-tests-batch)
5377 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5378 Handle skipped tests. (Bug#9803)
5380 2013-10-24 Glenn Morris <rgm@gnu.org>
5382 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5384 * Makefile.in (abs_top_srcdir): New, set by configure.
5385 (update-subdirs): Correct build-aux location.
5387 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5389 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5390 value, whether we could auto-deduce `backend', or not.
5392 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5393 with parameters" example. Simplify the "is it block or is it
5394 hash" check, but also make it more thorough.
5396 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5398 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5400 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5402 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5405 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5408 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5410 * progmodes/compile.el (compilation-directory-matcher)
5411 (compilation-page-delimiter):
5412 Support GNU Make-4.0 directory quoting. (Bug#15678)
5414 2013-10-23 Leo Liu <sdl.web@gmail.com>
5416 * ido.el (ido-tidy): Handle read-only text.
5418 2013-10-23 Glenn Morris <rgm@gnu.org>
5420 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5421 (emacs, compile, compile-always):
5422 Quote entities that might contain whitespace.
5423 (custom-deps, finder-data, autoloads): Use abs_lisp.
5424 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5425 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5426 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5428 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5430 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5431 Use `following-char'.
5433 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5436 * progmodes/ruby-mode.el (ruby-smie-rules):
5437 Remove corresponding workaround. Fix indentation rule of ";" so it
5438 also applies when ";" is the parent.
5440 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5442 * frame.el (display-screens, display-pixel-height)
5443 (display-pixel-width, display-mm-width, display-backing-store)
5444 (display-save-under, display-planes, display-color-cells)
5445 (display-visual-class, display-monitor-attributes-list):
5446 Mention the optional ‘display’ argument in doc strings.
5448 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5450 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5451 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5453 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5455 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5456 TODO. Add "." after " @ ".
5457 (ruby-smie--at-dot-call): New function. Checks if point at method
5458 call with explicit target.
5459 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5460 to the method name tokens when it precedes them.
5461 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5462 (ruby-smie-rules): Add rule for indentation before and after "."
5465 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5467 * textmodes/remember.el (remember-diary-extract-entries):
5470 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5473 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5475 * progmodes/ruby-mode.el (ruby-smie-grammar):
5476 Add (almost) all infix operators.
5477 (ruby-smie--implicit-semi-p): Add new operator chars.
5479 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5481 (ruby-smie--args-separator-p): Check that there's no newline
5482 between method call and its arguments.
5484 2013-10-20 Alan Mackenzie <acm@muc.de>
5486 Allow comma separated lists after Java "implements".
5488 * progmodes/cc-engine.el (c-backward-over-enum-header):
5490 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5491 from a "disallowed" list in enum fontification.
5493 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5495 * startup.el (default-frame-background-mode): Remove unused defvar.
5497 * progmodes/verilog-mode.el (verilog-mode): Don't set
5498 comment-indent-function globally.
5500 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5502 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5503 Move Info menu item creation to ns-win.el.
5505 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5508 * menu-bar.el: Move GNUstep specific menus...
5510 * term/ns-win.el (ns-initialize-window-system): ... to here.
5512 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * simple.el (newline): Only run post-self-insert-hook when
5515 called interactively.
5517 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5519 * icomplete.el (icomplete-with-completion-tables): Add :version.
5521 2013-10-19 Alan Mackenzie <acm@muc.de>
5523 Fix fontification bugs with constructors and const.
5525 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5526 CASE 2) Remove the check for the absence of a suffix construct
5527 after a function declaration with only types (no identifiers) in
5528 the parentheses. Also, accept a function declaration with just a
5529 type inside the parentheses, if this type can be positively
5530 recognised as such, or if a prefix keyword like "explicit" nails
5531 down the construct as a declaration.
5533 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5535 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5536 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5537 the problem whereby selecting a menu item that leads to a
5538 minibuffer prompt moves the cursor out of the minibuffer window,
5539 making it hard to type at the prompt. Suggested by Stefan Monnier
5540 <monnier@iro.umontreal.ca>.
5542 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5544 * menu-bar.el: Don't make Services menu.
5546 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5548 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5549 (ffap-alist): Use ffap-c++-mode for c++-mode.
5550 (ffap-c++-path): New variable.
5551 (ffap-c++-mode): New function.
5553 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5555 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5557 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5559 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5560 introduced on 2013-09-08, which results in an infinite loop
5561 requesting a password.
5563 2013-10-18 Glenn Morris <rgm@gnu.org>
5565 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5567 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5569 Sync with upstream verilog-mode revision 1a6ecec7.
5570 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5571 (verilog-mode-release-date): Remove.
5572 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5573 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5574 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5575 (verilog-auto-tieoff-ignore-regexp)
5576 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5577 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5578 (verilog-signals-with, verilog-dir-cache-preserving)
5579 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5581 (verilog-case-fold): New option, to control case folding in
5582 regexp searches, bug597.
5583 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5584 (verilog-string-match-fold, verilog-in-paren-count)
5585 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5586 (verilog-at-close-struct-p): New functions.
5587 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5588 (verilog-forward-sexp, verilog-set-auto-endcomments)
5589 (verilog-leap-to-case-head): Handle "unique0" case.
5590 (verilog-in-constraint-re): New constant.
5591 (verilog-keywords, verilog-type-font-keywords):
5592 Add some SystemVerilog 1800-2012 keywords.
5593 (verilog-label-be): Remove unimplemented argument, bug669.
5594 (verilog-batch-execute-func): When batch expanding clear
5595 create-lockfiles to prevent spurious user locks when a file ends
5597 (verilog-calculate-indent, verilog-calc-1)
5598 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5599 (verilog-do-indent): Fix indentation of nested constraints
5601 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5602 (verilog-auto-inst-param): Use verilog-string-match-fold.
5603 (verilog-read-inst-module-matcher):
5604 Fix AUTOINST on gate primitives with #1.
5605 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5606 Reads all user-defined typed variables.
5607 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5608 (verilog-signals-matching-regexp)
5609 (verilog-signals-not-matching-regexp, verilog-auto):
5610 Respect verilog-case-fold.
5611 (verilog-diff-report): Fix line count.
5612 (verilog-auto-assign-modport): Remove unused local `modi'.
5613 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5614 better handle multidimensional arrays.
5615 Fix packed array ports misadding bit index in AUTOINST, bug637.
5616 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5617 to not double-declare existing outputs and inputs, respectively.
5618 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5619 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5620 (verilog-sk-uvm-component): New skeleton.
5621 (verilog-submit-bug-report): Add verilog-case-fold,
5622 remove verilog-mode-release-date.
5624 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5626 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5629 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5631 * textmodes/remember.el (remember): Set buffer-offer-save in
5632 remember buffers (bug#13566).
5634 2013-10-18 Daniel Colascione <dancol@dancol.org>
5636 When evaluating forms in ielm, direct standard output to ielm
5637 buffer. Add new ielm-return-for-effect command. Remove trailing
5638 whitespace throughout.
5640 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5641 (ielm-return-for-effect): New command.
5642 (ielm-send-input): Accept optional `for-effect' parameter.
5643 (ielm-eval-input): Accept optional `for-effect' parameter.
5644 Bind `standard-output' to stream we create using
5645 `ielm-standard-output-impl'. Suppress printing result when
5647 (ielm-standard-output-impl): New function.
5648 (inferior-emacs-lisp-mode): Explain new features in documentation.
5650 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5654 * net/tramp.el (tramp-debug-message): Do not check for connection
5656 (tramp-message): Use "vector" connection property.
5658 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5659 (tramp-equal-remote, tramp-eshell-directory-change)
5660 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5661 (tramp-adb-handle-rename-file)
5662 * net/tramp-cmds.el (tramp-list-remote-buffers)
5663 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5664 * net/tramp-compat.el (tramp-compat-process-running-p)
5665 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5666 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5667 (tramp-gvfs-handle-rename-file)
5668 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5669 (tramp-set-file-uid-gid)
5670 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5671 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5674 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5675 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5676 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5677 (tramp-gw-open-network-stream): Suppress unrelated traces.
5679 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5680 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5681 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5682 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5683 connection property.
5685 * net/tramp-cache.el (top): Suppress traces when reading
5688 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5689 Refactor common code. Improve debug message.
5690 (tramp-maybe-open-connection)
5691 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5692 connection buffer too early.
5694 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5695 from `tramp-smb-actions-with-acl'.
5696 (tramp-smb-actions-set-acl): New defconst.
5697 (tramp-smb-handle-copy-directory)
5698 (tramp-smb-action-get-acl): New defun, renamed from
5699 `tramp-smb-action-with-acl'.
5700 (tramp-smb-action-set-acl): New defun.
5701 (tramp-smb-handle-set-file-acl): Rewrite.
5703 2013-10-17 Glenn Morris <rgm@gnu.org>
5705 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5707 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5709 * skeleton.el (skeleton-newline): Remove.
5710 (skeleton-internal-1): Use (insert "\n") instead.
5712 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5715 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5716 forward-sexp-function while we redo its job (bug#15613).
5718 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5720 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5721 represented by lists.
5723 2013-10-16 Glenn Morris <rgm@gnu.org>
5725 * tmm.el (tmm--history): New dynamic variable.
5726 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5728 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5730 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5731 (tramp-smb-errors): Add error messages.
5732 (tramp-smb-actions-with-acl): New defconst.
5733 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5734 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5735 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5736 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5737 (tramp-smb-get-stat-capability): Fix tests.
5739 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5741 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5744 2013-10-16 Glenn Morris <rgm@gnu.org>
5746 * ansi-color.el (ansi-color-drop-regexp):
5747 Add 1J, 1K, 2K. (Bug#15617)
5749 * files.el (hack-local-variables--warned-lexical): New.
5750 (hack-local-variables):
5751 Warn about misplaced lexical-binding. (Bug#15616)
5753 * net/eww.el (eww-render): Always set eww-current-url,
5754 and update header line. (Bug#15622)
5755 (eww-display-html): ... Rather than just doing it here.
5757 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5759 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5760 menu navigations commands.
5762 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5764 * progmodes/subword.el (subword-capitalize): Be careful when
5765 the search for [[:alpha:]] fails (bug#15580).
5767 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5769 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5770 to commands that scroll the menu.
5772 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5774 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5775 Handle methods ending with `?' and `!'.
5777 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5779 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5780 `japanese-cp932' to `cp932' to fix the problem where saving a
5781 source file written in Shift_JIS twice would end up having
5782 `coding: japanese-cp932' which Ruby could not recognize.
5783 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5784 in `ruby-encoding-map'.
5785 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5786 doesn't need to be explicitly declared in magic comment.
5787 (ruby-encoding-map): Add type declaration for better customize UI.
5789 2013-10-13 Glenn Morris <rgm@gnu.org>
5791 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5792 Occur buffers are read-only. http://bugs.debian.org/720775
5794 * emacs-lisp/authors.el (authors-fixed-entries):
5795 Comment out old alpha stuff.
5797 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5799 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5800 to `after-save-hook' instead of `before-save-hook'.
5801 (ruby-mode-set-encoding): Use the value of coding system used to
5802 write the file. Call `basic-save-buffer-1' after modifying the
5805 2013-10-13 Alan Mackenzie <acm@muc.de>
5807 Fix indentation/fontification of Java enum with
5808 "implements"/generic.
5810 * progmodes/cc-engine.el (c-backward-over-enum-header):
5811 Extracted from the three other places and enhanced to handle generics.
5812 (c-inside-bracelist-p): Uses new function above.
5813 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5815 (c-font-lock-enum-tail): Uses new function above.
5817 2013-10-13 Kenichi Handa <handa@gnu.org>
5819 * international/mule-cmds.el (select-safe-coding-system): Remove a
5820 superfluous condition in chekcing whether a coding system is safe
5823 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5825 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5827 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5829 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5831 2013-10-13 Glenn Morris <rgm@gnu.org>
5833 * menu-bar.el (menu-bar-update-buffers):
5834 Unify Buffers menu prompt string. (Bug#15576)
5836 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5838 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5840 (authors-fixed-entries): Use accented form of name.
5842 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5844 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5845 method calls (bug#15594).
5846 (ruby-smie--args-separator-p): New function.
5847 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5848 recognize paren-free method calls.
5850 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5851 internals of universal-argument.
5853 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5855 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5856 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5857 dropped menu on second mouse click on the menu bar.
5859 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5862 (explicit-shell-file-name): Declare.
5863 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5864 (sh-completion-at-point-function): New function.
5866 (sh-smie--keyword-p): Remove unused argument.
5867 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5869 (sh-set-shell): Always setup SMIE, even if we use the
5870 old indentation code.
5872 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5874 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5876 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5877 predicate would return nil are almost non-existent.
5878 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5880 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5881 cache also after commands that modify the buffer but don't move
5884 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5886 * env.el (substitute-env-in-file-name): New function.
5887 (substitute-env-vars): Extend the meaning of the optional arg.
5889 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5891 * term/w32-win.el (dynamic-library-alist): Define separate lists
5892 of GIF DLLs for versions before and after 5.0.0 of giflib.
5895 2013-10-10 João Távora <joaotavora@gmail.com>
5897 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5898 not locked, use last revision and current source as
5899 defaults. (Bug#15569)
5901 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5903 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5906 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5908 * window.el (pop-to-buffer-same-window): Fix doc-string.
5911 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5915 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5917 * calendar/icalendar.el (icalendar-import-file):
5918 Fix interactive spec. (Bug#15482)
5920 2013-10-10 Glenn Morris <rgm@gnu.org>
5922 * desktop.el (desktop-save): Default to saving in .emacs.d,
5923 since PWD is no longer in desktop-path by default. (Bug#15319)
5925 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5926 now that text mode has a menu with the same entry.
5927 (menu-bar-text-mode-auto-fill): Remove now unused func.
5928 * textmodes/text-mode.el (text-mode-map):
5929 Use auto-fill help text from menu-bar.el.
5931 2013-10-10 John Anthony <john@jo.hnanthony.com>
5933 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5935 2013-10-09 Juri Linkov <juri@jurta.org>
5937 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5938 instead of this-command-keys. Add universal-argument-more and
5939 universal-argument-minus to the list of prefix commands. (Bug#15568)
5941 2013-10-09 Glenn Morris <rgm@gnu.org>
5943 * vc/vc-svn.el (vc-svn-create-repo):
5944 Expand paths in file://... url. (Bug#15446)
5946 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5948 (authors): Remove unused local variables.
5950 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5952 * profiler.el: Create a more coherent calltree from partial backtraces.
5953 (profiler-format): Hide the tail with `invisible' so that C-s can still
5954 find the hidden elements.
5955 (profiler-calltree-depth): Don't recurse so enthusiastically.
5956 (profiler-function-equal): New hash-table-test.
5957 (profiler-calltree-build-unified): New function.
5958 (profiler-calltree-build): Use it.
5959 (profiler-report-make-name-part): Indent the calltree less.
5960 (profiler-report-mode): Add visibility specs for profiler-format.
5961 (profiler-report-expand-entry, profiler-report-toggle-entry):
5962 Expand the whole subtree when provided with a prefix arg.
5964 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5966 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5968 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5969 hanging iuwu-mod token.
5970 (ruby-smie--forward-token): Do not include a dot after a token in
5972 (ruby-smie--backward-token): Likewise.
5974 2013-10-08 Juri Linkov <juri@jurta.org>
5976 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5977 to isearch-other-control-char.
5978 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5979 and isearch-post-command-hook to post-command-hook.
5980 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5981 and isearch-post-command-hook from post-command-hook.
5982 (isearch-unread-key-sequence)
5983 (isearch-reread-key-sequence-naturally)
5984 (isearch-lookup-scroll-key, isearch-other-control-char)
5985 (isearch-other-meta-char): Remove functions.
5986 (isearch-pre-command-hook, isearch-post-command-hook):
5987 New functions based on isearch-other-meta-char rewritten
5988 relying on the new behavior of overriding-terminal-local-map
5989 that does not replace the local keymaps any more. (Bug#15200)
5991 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5993 Support menus on text-mode terminals.
5994 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5997 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5999 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6000 Move here from mouse.el.
6001 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6003 (tty-menu-navigation-map): New map for TTY menu navigation.
6005 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6007 * frame.el (display-mouse-p): Report text-mode mouse as available
6009 (display-popup-menus-p): Report availability if mouse is
6010 available; don't condition on window-system.
6012 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6013 (tty-menu-selected-face): New faces.
6015 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6018 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6019 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6020 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6022 (lisp-mode-variables): New `elisp' argument.
6023 (emacs-lisp-mode): Use it.
6024 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6025 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6027 * indent.el: Use lexical-binding.
6028 (indent-region): Add progress reporter.
6029 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6031 (indent--next-tab-stop): New function to implement this behavior.
6032 (tab-to-tab-stop, move-to-tab-stop): Use it.
6034 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6036 * indent.el (indent-rigidly--current-indentation): New function.
6037 (indent-rigidly-map): New var.
6038 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6040 2013-10-08 Bastien Guerry <bzg@gnu.org>
6042 * register.el (insert-register): Fix 2013-10-07 change.
6044 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6046 * progmodes/perl-mode.el: Use lexical-binding.
6047 Remove redundant :group args.
6048 (perl-nochange): Change default to be closer to other major modes's
6050 (perl-indent-line): Don't consider text on current line as a
6051 valid beginning of function from which to indent.
6053 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6054 with more than one argument (bug#15538).
6056 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6058 * vc/pcvs.el: Use lexical-binding.
6059 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6060 environment of `eval'.
6061 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6062 than a list of expressions. Adjust callers.
6063 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6065 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6067 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6068 case of the dot in a chained method call being on the following line.
6070 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6072 * electric.el (electric-indent-inhibit): New var.
6073 (electric-indent-post-self-insert-function): Use it.
6074 * progmodes/python.el (python-mode): Set it.
6076 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6079 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6081 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6082 (css-mode): Use electric-indent-chars.
6084 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6085 (font-lock-beg, font-lock-end): Move before first use.
6086 (nxml-mode): Use syntax-propertize-function.
6087 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6088 (nxml-extend-after-change-region): Remove.
6089 * nxml/xmltok.el: Use lexical-binding.
6090 (xmltok-save): Use `declare'.
6091 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6092 * nxml/nxml-util.el: Use lexical-binding.
6093 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6095 * nxml/nxml-ns.el: Use lexical-binding.
6096 (nxml-ns-save): Use `declare'.
6097 (nxml-ns-prefixes-for): Avoid add-to-list.
6098 * nxml/rng-match.el: Use lexical-binding.
6099 (rng--ipattern): Use cl-defstruct.
6100 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6101 (rng-cons-group-after, rng-subst-group-after)
6102 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6103 Use closures instead of `(lambda...).
6105 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6107 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6110 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6111 Use `tramp-handle-insert-file-contents'.
6112 (tramp-gvfs-handle-insert-file-contents): Remove function.
6114 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6115 Use `save-restriction' in order to keep markers.
6117 * net/trampver.el: Update release number.
6119 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6121 * progmodes/compile.el (compilation-parse-errors):
6122 Use compilation--put-prop.
6123 (compilation--ensure-parse): Check compilation-multiline.
6125 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6127 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6130 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6132 * progmodes/ruby-mode.el: Fix recently added tests.
6133 (ruby-smie-grammar): Add - and +.
6134 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6135 (ruby-smie--backward-id): New functions.
6136 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6137 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6140 2013-10-07 Leo Liu <sdl.web@gmail.com>
6142 * register.el (register-preview-delay)
6143 (register-preview-functions): New variables.
6144 (register-read-with-preview, register-preview)
6145 (register-describe-oneline): New functions.
6146 (point-to-register, window-configuration-to-register)
6147 (frame-configuration-to-register, jump-to-register)
6148 (number-to-register, view-register, insert-register)
6149 (copy-to-register, append-to-register, prepend-to-register)
6150 (copy-rectangle-to-register): Use register-read-with-preview to
6151 read register. (Bug#15525)
6153 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6155 * net/network-stream.el (network-stream-open-starttls): Don't add
6156 --insecure if it's already present, because that gnutls-cli
6157 rejects getting that parameter twice.
6159 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6161 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6164 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6166 * newcomment.el (comment-use-global-state): Change default value
6167 to t, mark obsolete (Bug#15251).
6168 (comment-beginning): In addition to `comment-to-syntax', check the
6169 value of `comment-use-global-state'.
6171 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6174 (ruby-comment-column): Follow the global default, by default.
6175 (ruby-smie-grammar): Add assignment syntax.
6176 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6177 open-paren, a comma, or a \.
6178 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6179 and line continuations.
6180 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6181 followed by implicit semi-colons. Add rule for string concatenation
6182 and for indentation at BOB.
6183 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6185 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6186 calling next-sexp, since next-token may have skipped chars which
6187 next-sexp doesn't know should be skipped!
6189 2013-10-05 Leo Liu <sdl.web@gmail.com>
6191 * progmodes/octave.el (octave-send-region):
6192 Call compilation-forget-errors.
6194 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6196 * vc/vc-svn.el (vc-svn-find-admin-dir):
6197 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6198 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6199 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6200 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6202 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6206 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6208 * subr.el (read-passwd): Hide chars even when called within a context
6209 where after-change-functions is disabled (bug#15501).
6210 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6211 until we removed ourself from overriding-terminal-local-map.
6213 2013-10-04 Leo Liu <sdl.web@gmail.com>
6215 * progmodes/octave.el (inferior-octave-mode):
6216 Call compilation-forget-errors.
6218 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6220 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6222 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6224 * net/secrets.el (secrets-create-collection): Add optional
6225 argument ALIAS. Use proper Label keyword. Append ALIAS as
6226 dbus-call-method argument. (Bug#15516)
6228 2013-10-04 Leo Liu <sdl.web@gmail.com>
6230 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6231 (inferior-octave-compilation-font-lock-keywords): New variables.
6232 (compilation-error-regexp-alist)
6233 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6234 (inferior-octave-mode): Use compilation-shell-minor-mode.
6236 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6238 * minibuffer.el (completion--replace): Be careful that `end' might be
6241 2013-10-03 Daiki Ueno <ueno@gnu.org>
6243 Add support for package signature checking.
6244 * emacs-lisp/package.el (url-http-file-exists-p)
6245 (epg-make-context, epg-context-set-home-directory)
6246 (epg-verify-string, epg-context-result-for)
6247 (epg-signature-status, epg-signature-to-string)
6248 (epg-check-configuration, epg-configuration)
6249 (epg-import-keys-from-file): Declare.
6250 (package-check-signature): New user option.
6251 (package-unsigned-archives): New user option.
6252 (package-desc): Add `signed' field.
6253 (package-load-descriptor): Set `signed' field if .signed file exists.
6254 (package--archive-file-exists-p): New function.
6255 (package--check-signature): New function.
6256 (package-install-from-archive): Check package signature.
6257 (package--download-one-archive): Check archive signature.
6258 (package-delete): Remove .signed file.
6259 (package-import-keyring): New command.
6260 (package-refresh-contents): Import default keyring.
6261 (package-desc-status): Add "unsigned" status.
6262 (describe-package-1, package-menu--print-info)
6263 (package-menu-mark-delete, package-menu--find-upgrades)
6264 (package-menu--status-predicate): Support "unsigned" status.
6266 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6269 the new compilation scheme using the new byte-codes.
6271 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6272 (byte-pophandler): New byte codes.
6273 (byte-goto-ops): Adjust accordingly.
6274 (byte-compile--use-old-handlers): New var.
6275 (byte-compile-catch): Use new byte codes depending on
6276 byte-compile--use-old-handlers.
6277 (byte-compile-condition-case--old): Rename from
6278 byte-compile-condition-case.
6279 (byte-compile-condition-case--new): New function.
6280 (byte-compile-condition-case): New function that dispatches depending
6281 on byte-compile--use-old-handlers.
6282 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6285 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6286 Optimize under `condition-case' and `catch' if
6287 byte-compile--use-old-handlers is nil.
6288 (disassemble-offset): Handle new bytecodes.
6290 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6292 * subr.el (error): Use `declare'.
6293 (decode-char, encode-char): Use advertised-calling-convention instead
6294 of the docstring to discourage use of the `restriction' arg.
6296 2013-10-03 Daiki Ueno <ueno@gnu.org>
6298 * epg.el (epg-verify-file): Add a comment saying that it does not
6299 notify verification error as a return value nor a signal.
6300 (epg-verify-string): Ditto.
6302 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6304 * progmodes/compile.el (compilation-start): Try globbing the arg to
6307 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6309 Sync with Tramp 2.2.8.
6311 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6312 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6313 * net/trampver.el: Update release number.
6315 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6317 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6318 and default-process-coding-system for darwin only.
6320 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6324 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6326 * vc/vc-git.el (vc-git-grep): Disable pager.
6328 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6330 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6331 Use :url instead of :homepage, as per
6332 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6334 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6335 non-nil, use `syntax-ppss' (Bug#15251).
6337 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6339 * progmodes/octave.el (inferior-octave-startup-file):
6340 Prefer ~/.emacs.d/init_octave.m.
6342 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6344 * emacs-lisp/package.el (package-desc-from-define):
6345 Accept additional arguments as plist, convert them to an alist and store
6346 them in the `extras' slot.
6347 (package-generate-description-file): Convert extras alist back to
6348 plist and append to the `define-package' form arguments.
6349 (package--alist-to-plist): New function.
6350 (package--ac-desc): Add `extras' slot.
6351 (package--add-to-archive-contents): Check if the archive-contents
6352 vector is long enough, and if it is, pass its `extras' slot value
6353 to `package-desc-create'.
6354 (package-buffer-info): Call `lm-homepage', pass the returned value
6355 to `package-desc-from-define'.
6356 (describe-package-1): Render the homepage button (Bug#13291).
6358 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6359 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6361 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6363 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6364 and default-process-coding-system to utf-8-unix (Bug#15402).
6366 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6368 * subr.el (looking-back): Do not recommend using looking-back.
6370 2013-09-28 Alan Mackenzie <acm@muc.de>
6372 Fix indentation/fontification of Java enum with "implements".
6374 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6375 regexp which matches "implements", etc., in Java.
6376 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6377 specifier clauses coming after "enum".
6378 * progmodes/cc-fonts.el (c-font-lock-declarations)
6379 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6382 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6384 * faces.el (region): Change ns_selection_color to
6385 ns_selection_fg_color, add ns_selection_bg_color.
6387 2013-09-28 Leo Liu <sdl.web@gmail.com>
6389 * progmodes/octave.el (inferior-octave-completion-table)
6390 (inferior-octave-completion-at-point): Minor tweaks.
6392 * textmodes/ispell.el (ispell-lookup-words): Rename from
6393 lookup-words. (Bug#15460)
6394 (lookup-words): Obsolete.
6395 (ispell-complete-word, ispell-command-loop): All uses changed.
6397 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6399 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6400 (octave-mode-menu): Add octave-send-buffer.
6401 (octave-send-buffer): New function.
6403 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6405 * progmodes/octave.el (octave-mode-map): Add key binding for
6407 (octave-mode-menu): Add octave-lookfor.
6408 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6410 (octave-lookfor): New function.
6412 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6414 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6415 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6417 (cl--loop-set-iterator-function): New function.
6418 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6419 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6420 Bind `it' with `let' instead of substituting it with `cl-subst'.
6421 (cl--unused-var-p): New function.
6422 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6423 Eliminate some unused variable warnings (bug#15326).
6425 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6427 * doc-view.el (doc-view-scale-reset): Rename from
6428 `doc-view-reset-zoom-level'.
6429 (doc-view-scale-adjust): New command.
6430 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6431 `doc-view-scale-adjust'.
6433 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6435 * doc-view.el (doc-view-reset-zoom-level): New command.
6436 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6437 zoom commands (bug#15466).
6439 2013-09-26 Kenichi Handa <handa@gnu.org>
6441 * international/quail.el (quail-help): Make it not a command.
6443 2013-09-26 Leo Liu <sdl.web@gmail.com>
6445 * minibuffer.el (completion-all-sorted-completions): Make args
6446 optional as they are.
6448 2013-09-25 Daniel Colascione <dancol@dancol.org>
6450 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6451 specs are and that they're not evaluated.
6453 2013-09-24 Sam Steingold <sds@gnu.org>
6455 * midnight.el (clean-buffer-list-kill-regexps)
6456 (clean-buffer-list-kill-buffer-names): Update for the new Man
6457 buffer naming which includes the object name.
6459 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6461 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6462 (eshell-parse-command, eshell-parse-pipeline): Use it since
6463 eshell-separate-commands requires a dynamic scoped var.
6464 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6466 2013-09-23 Leo Liu <sdl.web@gmail.com>
6468 * autoinsert.el (auto-insert-alist): Make the value of
6469 lexical-binding match its file setting.
6471 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6473 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6475 * autoarg.el (autoarg-kp-digit-argument):
6476 * electric.el (Electric-command-loop):
6477 * kmacro.el (kmacro-step-edit-insert):
6478 Do not set universal-argument-num-events.
6480 2013-09-22 Leo Liu <sdl.web@gmail.com>
6482 * files.el (interpreter-mode-alist): Add octave.
6484 2013-09-21 Alan Mackenzie <acm@muc.de>
6486 C++: fontify identifier in declaration following "public:" correctly.
6487 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6488 to match "public", etc.
6489 (c-decl-prefix-re): Add ":" into the C++ value.
6490 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6491 bit. Add a check for a ":" preceded by "public", etc.
6493 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6495 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6496 recognized by GDB 7.5 and later.
6498 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6500 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6502 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6504 * subr.el (internal--call-interactively): New const.
6505 (called-interactively-p): Use it (bug#3984).
6507 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6509 * vc/pcvs.el (cvs-mode-ignore):
6510 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6511 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6513 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6515 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6516 (eshell-ls-orig-insert-directory): Remove.
6517 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6518 (eshell-ls-use-in-dired): Use advice-add/remove.
6519 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6520 Add `orig-fun' arg for use in :around advice.
6521 Make it check (redundantly) eshell-ls-use-in-dired.
6523 2013-09-19 Glenn Morris <rgm@gnu.org>
6525 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6527 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6529 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6531 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6533 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6534 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6535 (tramp-get-remote-python): New defuns.
6536 (tramp-get-remote-uid-with-perl)
6537 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6538 contributed by yary <not.com@gmail.com> (tiny change).
6539 (tramp-get-remote-uid-with-python)
6540 (tramp-get-remote-gid-with-python): New defuns. Python code
6541 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6542 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6544 2013-09-19 Glenn Morris <rgm@gnu.org>
6546 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6548 * eshell/em-unix.el (eshell-remove-entries):
6549 Rename argument to avoid name-clash with global `top-level'.
6551 * eshell/esh-proc.el (eshell-kill-process-function):
6552 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6553 (eshell-reset-after-proc): Remove unused arg `proc'.
6555 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6556 (directory-files-and-attributes): Mark unused arg.
6558 * eshell/em-unix.el (eshell-remove-entries):
6559 Remove unused arg `path'. Update callers.
6561 * eshell/em-hist.el (eshell-hist-parse-arguments):
6562 Remove unused arg `silent'. Update callers.
6564 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6565 Fix (f)boundp mix-up.
6567 * eshell/em-smart.el (eshell-smart-scroll-window)
6568 (eshell-disable-after-change):
6569 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6571 2013-09-18 Alan Mackenzie <acm@muc.de>
6573 Fix fontification of type when followed by "const".
6574 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6575 "known" types from fontification.
6577 2013-09-18 Glenn Morris <rgm@gnu.org>
6579 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6580 (chart-face-list): Drop Emacsen without display-color-p.
6582 * net/eww.el (libxml-parse-html-region): Declare.
6583 (eww-display-html): Explicit error if no libxml2 support.
6585 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6587 * image.el (image-type-from-buffer, image-multi-frame-p):
6588 Remove --without-x warning/error.
6590 * mouse.el (mouse-yank-primary):
6591 * term.el (term-mouse-paste):
6592 Reorder to silence --without-x compilation.
6594 * mpc.el (doc-view-mode): Silence --without-x compilation.
6596 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6597 Silence --without-x compilation.
6599 * progmodes/gud.el (gud-find-file, gud-mode):
6600 Silence --without-x compilation.
6601 (tooltip-mode): Declare.
6603 * wdired.el (dired-backup-overwrite): Remove declaration.
6604 (wdired-mode-map): Add doc string.
6606 * custom.el (x-get-resource): Declare.
6608 * eshell/em-glob.el (ange-cache):
6609 * eshell/em-unix.el (ange-cache): Declare.
6611 * faces.el (x-display-list, x-open-connection, x-get-resource):
6614 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6615 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6618 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6620 * net/gnutls.el (gnutls-log-level): Declare.
6622 * net/shr.el (image-size, image-animate): Declare.
6624 * simple.el (font-info): Declare.
6626 * subr.el (x-popup-dialog): Declare.
6628 * term/common-win.el (x-select-enable-primary)
6629 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6632 * term/ns-win.el (x-handle-args): Declare.
6634 * term/x-win.el (x-select-enable-clipboard): Declare.
6636 * term/w32-win.el (create-default-fontset): Declare.
6638 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6641 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6642 (fit-frame-to-buffer): Explicit error if --without-x.
6643 (mouse-autoselect-window-select): Silence compiler.
6645 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6647 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6648 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6649 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6650 * eshell/esh-util.el (eshell-sublist):
6651 Remove unused local variables.
6653 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6655 * textmodes/two-column.el: Make 2C-split work for --without-x.
6656 (scroll-bar-columns): Autoload.
6657 (top-level): Require fringe when compiling.
6659 2013-09-18 Leo Liu <sdl.web@gmail.com>
6661 * subr.el (add-hook): Robustify to handle closure as well.
6663 2013-09-17 Glenn Morris <rgm@gnu.org>
6665 * simple.el (messages-buffer-mode-map): Unbind "g".
6667 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6669 * help-mode.el (help-mode-finish): Use derived-mode-p.
6670 Remove obsolete highlighting.
6672 * play/life.el (life-mode): Use define-derived-mode. Derive from
6674 (life): Let-bind inhibit-read-only.
6675 (life-setup): Avoid `setq'. Use `life-mode'.
6677 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6678 which should not be needed any more.
6679 (package-menu-refresh, package-menu-describe-package): Use user-error.
6681 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6682 (eshell-post-rewrite-command-hook): Make obsolete.
6683 (eshell-parse-command): Simplify.
6684 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6685 (eshell--cmd): Declare.
6686 (eshell-parse-pipeline): Remove unused var `final-p'.
6687 Pass a dynvar to eshell-post-rewrite-command-hook.
6688 Implement the new eshell-post-rewrite-command-function.
6689 (eshell-invoke-directly): Remove unused arg `input'.
6690 * eshell/esh-io.el (eshell-io-initialize):
6691 Use eshell-post-rewrite-command-function (bug#15399).
6692 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6693 adjust to new calling convention.
6694 (eshell-create-handles): Rename args to avoid clashing with dynvar
6697 2013-09-17 Glenn Morris <rgm@gnu.org>
6699 * simple.el (messages-buffer-mode): New major mode.
6700 (messages-buffer): New function.
6701 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6702 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6703 (ert-run-test): Use `messages-buffer' function.
6704 (ert--force-message-log-buffer-truncation): Ignore read-only.
6705 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6706 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6708 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6710 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6712 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6714 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * icomplete.el (icomplete-in-buffer): New var.
6717 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6718 vars and replace them with functions.
6719 (icomplete-minibuffer-setup): Adjust accordingly.
6720 (icomplete--completion-table, icomplete--completion-predicate)
6721 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6723 (icomplete-forward-completions, icomplete-backward-completions)
6724 (icomplete-simple-completing-p, icomplete-exhibit)
6725 (icomplete-completions): Use them.
6726 (icomplete--in-region-buffer): New var.
6727 (icomplete--in-region-setup): New function.
6728 (icomplete-mode): Use it.
6730 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6732 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6733 return args and options.
6734 (eshell-eval-using-options): Use the new return value of
6735 eshell--do-opts to set the options's vars in their scope.
6736 (eshell--set-option): Rename from eshell-set-option.
6738 (eshell--process-option): Rename from eshell-process-option.
6740 (eshell--process-args): Use an `opt-vals' alist to store the options's
6741 values during their processing and return them additionally to the
6744 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6746 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6747 continuation character an operator, as far as indentation is
6748 concerned (Bug#15369).
6750 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6752 * window.el (window--state-put-2): Don't process buffer state
6753 when buffer doesn't exist any more (Bug#15382).
6755 2013-09-15 Glenn Morris <rgm@gnu.org>
6757 * eshell/em-unix.el (eshell/rm):
6758 Make -f ignore missing files. (Bug#15373)
6760 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6761 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6762 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6764 2013-09-14 Glenn Morris <rgm@gnu.org>
6766 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6768 2013-09-13 Glenn Morris <rgm@gnu.org>
6770 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6771 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6773 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6775 * frame.el (x-focus-frame): Mark as declared in frame.c.
6777 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6779 * ls-lisp.el: Use advice-add.
6780 (original-insert-directory): Remove.
6781 (ls-lisp--insert-directory): Rename from insert-directory; add
6782 `orig-fun' argument.
6783 (insert-directory): Advise.
6785 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6787 * term.el (term-emulate-terminal): Decode the command string
6788 before passing it to term-command-hook. (Bug#15337)
6790 2013-09-13 Glenn Morris <rgm@gnu.org>
6792 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6794 * eshell/esh-ext.el (eshell-search-path): Declare.
6796 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6797 Otherwise an error occurs if eshell-dirs module not loaded.
6799 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6801 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6803 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6804 `tramp-check-proper-host'. Check for a valid method name.
6806 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6807 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6808 * net/tramp-sh.el (tramp-maybe-open-connection):
6809 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6811 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6812 also for hash values.
6814 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6816 * term/ns-win.el (parameters): Don't declare as dynamic.
6817 (before-make-frame-hook): Don't add ineffective function.
6819 * eshell/*.el: Use lexical-binding (bug#15231).
6821 2013-09-12 Kenichi Handa <handa@gnu.org>
6823 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6825 2013-09-12 Glenn Morris <rgm@gnu.org>
6827 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6828 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6830 * subr.el (do-after-load-evaluation): Also give compiler warnings
6831 when obsolete files are used (except by obsolete files).
6833 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6834 in the status output, assume `filename' is the first. (Bug#15322)
6836 * vc/vc.el (vc-deduce-fileset): Doc fix.
6838 * calc/calc-help.el (Info-goto-node):
6839 * progmodes/cperl-mode.el (Info-find-node):
6840 * vc/ediff.el (Info-goto-node): Update declarations.
6842 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6844 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6845 (vc-bzr-pull): Require vc-dispatcher.
6846 * vc/vc-git.el (vc-compilation-mode): Declare.
6847 (vc-git-pull): Require vc-dispatcher.
6849 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6851 * progmodes/octave.el (help-button-action): Declare.
6853 * shell.el (shell-directory-tracker): Output error as a message
6854 rather than just returning it as a string.
6855 (shell-process-pushd): Remove useless use of message.
6857 * dframe.el (dframe-timer-fn):
6858 * files.el (dir-locals-read-from-file):
6859 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6861 * reveal.el (reveal-post-command):
6862 * saveplace.el (load-save-place-alist-from-file):
6863 * shell.el (shell-resync-dirs):
6864 * w32-common-fns.el (x-get-selection-value):
6865 * emacs-lisp/copyright.el (copyright-find-copyright):
6866 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6867 * emulation/tpu-edt.el (tpu-copy-keyfile):
6868 * play/bubbles.el (bubbles--mark-neighbourhood):
6869 * progmodes/executable.el
6870 (executable-make-buffer-file-executable-if-script-p):
6871 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6873 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6875 Cleanup Eshell to rely less on dynamic scoping.
6876 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6877 last-value, and ext-command here. Bind `args' closer to `body'.
6878 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6879 (eshell--args): Declare new dynamic var.
6880 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6881 last-value, and ext-command. Pass `args' to `body'.
6882 (eshell-process-args): Bind eshell--args.
6883 (eshell-set-option): Use eshell--args.
6884 * eshell/eshell.el (eshell): Use derived-mode-p.
6885 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6886 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6887 (eshell-glob-function): Declare.
6888 * eshell/esh-util.el: Require cl-lib.
6889 (eshell-read-hosts-file): Avoid add-to-list.
6890 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6892 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6894 (eshell/diff): Remove unused var `err'.
6895 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6897 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6898 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6900 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6901 Move declaration before first use.
6902 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6903 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6906 2013-09-12 Glenn Morris <rgm@gnu.org>
6908 * term/ns-win.el (global-map): Remove binding for ispell-next,
6909 deleted 1999-05-29. (Bug#15357)
6911 2013-09-11 Glenn Morris <rgm@gnu.org>
6913 * echistory.el (electric-command-history): Remove call to deleted func.
6915 * play/landmark.el (landmark-mode): Fix typos.
6917 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6918 Check cvs-sort-ignore-file is bound.
6920 * savehist.el: No need for cl when compiling on Emacs.
6922 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6926 (eshell-self-insert-command, eshell-send-invisible):
6927 Remove unused argument.
6928 (eshell-handle-control-codes): Remove unused var `orig'.
6929 Avoid delete-backward-char.
6931 * files.el (set-auto-mode): Simplify a bit further.
6933 2013-09-11 Glenn Morris <rgm@gnu.org>
6935 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6936 (set-auto-mode): Don't regexp-quote elements.
6937 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6938 * progmodes/cc-mode.el (interpreter-mode-alist):
6939 * progmodes/ruby-mode.el (interpreter-mode-alist):
6940 Revert previous change.
6942 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6944 * play/snake.el (snake-mode):
6945 * play/mpuz.el (mpuz-mode):
6946 * play/landmark.el (lm-mode):
6947 * play/blackbox.el (blackbox-mode):
6948 * play/5x5.el (5x5-mode):
6949 * obsolete/options.el (Edit-options-mode):
6950 * net/quickurl.el (quickurl-list-mode):
6951 * net/newst-treeview.el (newsticker-treeview-mode):
6952 * mail/rmailsum.el (rmail-summary-mode):
6953 * mail/mspools.el (mspools-mode):
6954 * locate.el (locate-mode):
6955 * ibuffer.el (ibuffer-mode):
6956 * emulation/ws-mode.el (wordstar-mode):
6957 * emacs-lisp/debug.el (debugger-mode):
6958 * array.el (array-mode):
6959 * net/eudc.el (eudc-mode): Use define-derived-mode.
6960 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6961 Move initialization into declaration.
6962 (mairix-searches-mode): Use define-derived-mode.
6963 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6964 (eudc-edit-hotlist): Use dolist.
6965 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6966 (Man-mode): Use define-derived-mode.
6967 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6968 (Info-edit-mode): Use define-derived-mode.
6969 (Info-cease-edit): Use Info-mode.
6970 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6972 (eshell-mode): Use define-derived-mode.
6973 * chistory.el (command-history-mode-map): Rename from
6974 command-history-map.
6975 (command-history-mode): Use define-derived-mode.
6976 (Command-history-setup): Remove function.
6977 * calc/calc.el (calc-trail-mode-map): New var.
6978 (calc-trail-mode): Use define-derived-mode.
6979 (calc-trail-buffer): Set calc-main-buffer manually.
6980 * bookmark.el (bookmark-insert-annotation): New function.
6981 (bookmark-edit-annotation): Use it.
6982 (bookmark-edit-annotation-mode): Make it a proper major mode.
6983 (bookmark-send-edited-annotation): Use derived-mode-p.
6984 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6985 closer to its ideal place. Use \' to match EOS.
6987 * profiler.el (profiler-calltree-find): Use function-equal.
6989 2013-09-10 Glenn Morris <rgm@gnu.org>
6991 * files.el (interpreter-mode-alist): Convert to regexps.
6992 (set-auto-mode): Adapt for this. (Bug#15306)
6993 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6994 Comment out unused variable.
6995 * progmodes/cc-mode.el (interpreter-mode-alist):
6996 * progmodes/python.el (interpreter-mode-alist):
6997 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6998 * progmodes/sh-script.el (sh-set-shell):
6999 No longer use interpreter-mode-alist to get list of shells.
7001 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7003 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7005 * simple.el: Use set-temporary-overlay-map for universal-argument.
7006 (universal-argument-map): Don't use default-bindings (bug#15317).
7007 Bind switch-frame explicitly. Replace universal-argument-minus with
7008 a conditional binding.
7009 (universal-argument-num-events, saved-overriding-map): Remove.
7010 (restore-overriding-map): Remove.
7011 (universal-argument--mode): Rename from save&set-overriding-map,
7013 (universal-argument, universal-argument-more, negative-argument)
7014 (digit-argument): Adjust accordingly.
7015 (universal-argument-minus): Remove.
7016 (universal-argument-other-key): Remove.
7018 * subr.el (with-demoted-errors): Add `format' argument.
7020 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7022 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7023 `tramp-cleanup-connection'.
7025 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7026 parameters KEEP-DEBUG and KEEP-PASSWORD.
7028 * net/tramp.el (tramp-file-name-handler):
7029 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7030 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7031 (tramp-maybe-open-connection):
7032 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7033 Use `tramp-cleanup-connection'.
7035 * net/tramp-sh.el (tramp-maybe-open-connection):
7036 Catch 'uname-changed inside the progress reporter.
7038 2013-09-10 Glenn Morris <rgm@gnu.org>
7040 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7042 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7043 returns "alternate access method" in mode (eg "-rw-r--r--.").
7045 2013-09-08 Glenn Morris <rgm@gnu.org>
7047 * saveplace.el (load-save-place-alist-from-file):
7048 Demote errors. (Bug#15305)
7050 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7052 Improve compatibility with older Emacsen, and XEmacs.
7054 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7055 only if it is bound. It isn't for XEmacs.
7056 (with-tramp-progress-reporter): Do not let-bind `result'.
7057 This yields to scoping errors in XEmacs.
7058 (tramp-handle-make-auto-save-file-name): New function, moved from
7061 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7062 for `make-auto-save-file-name'.
7063 (tramp-adb--gnu-switches-to-ash):
7064 Use `tramp-compat-replace-regexp-in-string'.
7066 * net/tramp-cache.el (tramp-cache-print): Call
7067 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7069 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7070 bound. It isn't for XEmacs.
7072 * net/tramp-compat.el (tramp-compat-copy-file):
7073 Catch `wrong-number-of-arguments' error.
7074 (tramp-compat-replace-regexp-in-string): New defun.
7076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7077 for `make-auto-save-file-name'.
7078 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7080 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7081 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7082 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7084 * net/tramp-gw.el (tramp-gw-open-network-stream):
7085 Use `tramp-compat-replace-regexp-in-string'.
7087 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7088 Call `tramp-handle-make-auto-save-file-name'.
7089 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7090 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7091 (tramp-sh-file-inotifywait-process-filter):
7092 Use `tramp-compat-replace-regexp-in-string'.
7093 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7095 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7096 for `make-auto-save-file-name'.
7097 (tramp-smb-handle-copy-directory):
7098 Call `tramp-compat-replace-regexp-in-string'.
7099 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7100 (tramp-smb-handle-copy-file): Improve error message.
7101 (tramp-smb-handle-rename-file): Rename directly only in case
7102 `newname' does not exist yet. This is a restriction of smbclient.
7103 (tramp-smb-maybe-open-connection): Rerun the function only when
7104 `auth-sources' is non-nil.
7106 2013-09-08 Kenichi Handa <handa@gnu.org>
7108 * international/characters.el: Set category "^" (Combining) for
7111 2013-09-07 Alan Mackenzie <acm@muc.de>
7113 Correctly fontify Java class constructors.
7114 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7116 (c-recognize-typeless-decls): Set the Java value to t.
7117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7118 While handling a "(", add a check for, effectively, Java, and handle a
7119 "typeless" declaration there.
7121 2013-09-07 Roland Winkler <winkler@gnu.org>
7123 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7124 field subtitle for entry type book.
7126 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7128 * minibuffer.el: Make minibuffer-complete call completion-in-region
7129 rather than other way around.
7130 (completion--some, completion-pcm--find-all-completions):
7131 Don't delay signals when debugging.
7132 (minibuffer-completion-contents): Beware fields within the
7133 minibuffer contents.
7134 (completion-all-sorted-completions): Use defvar-local.
7135 (completion--do-completion, completion--cache-all-sorted-completions)
7136 (completion-all-sorted-completions, minibuffer-force-complete):
7137 Add args `beg' and `end'.
7138 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7139 (minibuffer-complete): Use completion-in-region.
7140 (completion-complete-and-exit): New fun, extracted from
7141 minibuffer-complete-and-exit.
7142 (minibuffer-complete-and-exit): Use it.
7143 (completion--complete-and-exit): Rename from
7144 minibuffer--complete-and-exit.
7145 (completion-in-region--single-word): New function, extracted from
7146 minibuffer-complete-word.
7147 (minibuffer-complete-word): Use it.
7148 (display-completion-list): Make `common-substring' argument obsolete.
7149 (completion--in-region): Call completion--in-region-1 instead of
7150 minibuffer-complete.
7151 (completion-help-at-point): Pass boundaries to
7152 minibuffer-completion-help as args rather than via an overlay.
7153 (completion-pcm--string->pattern): Use `any-delim'.
7154 (completion-pcm--optimize-pattern): New function.
7155 (completion-pcm--pattern->regex): Handle `any-delim'.
7156 * icomplete.el (icomplete-forward-completions)
7157 (icomplete-backward-completions, icomplete-completions):
7158 Adjust calls to completion-all-sorted-completions and
7159 completion--cache-all-sorted-completions.
7160 (icomplete-with-completion-tables): Default to t.
7161 * emacs-lisp/crm.el (crm--current-element): Rename from
7162 crm--select-current-element. Don't put an overlay but return the
7164 (crm--completion-command): Take two new args to bind to the boundaries.
7165 (crm-completion-help): Adjust accordingly.
7166 (crm-complete): Use completion-in-region.
7167 (crm-complete-word): Use completion-in-region--single-word.
7168 (crm-complete-and-exit): Use completion-complete-and-exit.
7170 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7172 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7175 2013-09-06 Juri Linkov <juri@jurta.org>
7177 * info.el (Info-display-images-node): When image file doesn't exist
7178 display text version of the image if it's provided in the Info file.
7179 Otherwise, display the location of missing image from SRC attribute.
7180 Add help-echo text property from ALT attribute. (Bug#15279)
7182 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7185 (edit-abbrevs-mode): Use define-derived-mode.
7187 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7188 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7190 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7191 Use define-derived-mode.
7193 * epg.el (epg-start-encrypt): Minor CSE simplification.
7195 2013-09-06 William Xu <william.xwl@gmail.com>
7197 * arc-mode.el: Add support for 7za (bug#15264).
7198 (archive-7z-program): New var.
7199 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7200 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7201 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7203 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7207 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7208 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7209 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7210 (tramp-postfix-host-format, tramp-file-name-regexp)
7211 (tramp-completion-file-name-regexp)
7212 (tramp-completion-dissect-file-name)
7213 (tramp-handle-substitute-in-file-name): Remove 'url case.
7214 (tramp-file-name-regexp-url)
7215 (tramp-completion-file-name-regexp-url): Remove constants.
7217 2013-09-06 Glenn Morris <rgm@gnu.org>
7219 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7221 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7223 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7224 keywords" below "here-doc beginnings" (Bug#15270).
7226 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * subr.el (pop): Use `car-safe'.
7229 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7230 to detect unused `pop' return value.
7232 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7234 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7235 (python-fill-string): Remove unused var `marker'.
7236 (python-skeleton-add-menu-items): Remove unused var `items'.
7238 * international/mule-cmds.el: Require CL.
7239 (find-coding-systems-for-charsets): Avoid add-to-list.
7240 (sanitize-coding-system-list): New function, extracted from
7241 select-safe-coding-system-interactively.
7242 (select-safe-coding-system-interactively): Use it.
7243 (read-input-method-name): Accept symbols for `default'.
7245 * emacs-lisp/advice.el (defadvice): Add indent rule.
7247 2013-09-05 Daniel Hackney <dan@haxney.org>
7251 * net/browse-url.el:
7254 * net/eudcb-ldap.el:
7267 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7268 byte compiler. Remove some unused let-bound variables.
7270 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7272 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7273 a "ref-cell", since it gets better optimized (bug#14883).
7275 2013-09-05 Glenn Morris <rgm@gnu.org>
7277 * progmodes/cc-awk.el (c-forward-sws): Declare.
7279 2013-09-04 Glenn Morris <rgm@gnu.org>
7281 * generic-x.el [rul-generic-mode]: Require cc-mode.
7282 (c++-mode-syntax-table): Declare.
7283 (rul-generic-mode-syntax-table): Init in the defvar.
7285 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7287 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7288 (vc-do-command, vc-set-async-update):
7289 * vc/vc-mtn.el (vc-mtn-dir-status):
7290 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7291 (vc-hg-pull, vc-hg-merge-branch):
7292 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7293 (vc-git-merge-branch):
7294 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7295 (vc-cvs-dir-status-files):
7296 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7297 (vc-bzr-dir-status-files):
7298 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7299 * vc/vc-annotate.el: Use lexical-binding.
7300 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7301 (vc-sentinel-movepoint): Declare.
7302 (vc-annotate): Don't use `goto-line'.
7303 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7304 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7305 (vc-sentinel-movepoint): Declare.
7306 * vc/vc-svn.el: Use lexical-binding.
7307 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7309 * vc/vc-rcs.el: Use lexical-binding.
7311 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7312 `deleted'. Don't drop errors silently.
7314 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7316 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7318 * vc/vc.el (vc-ignore): Rewrite.
7319 (vc-default-ignore): New function.
7320 (vc-default-ignore-completion-table): Use find-ignore-file.
7322 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7323 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7324 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7325 Remove. Most code moved to vc.el.
7327 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7329 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7330 * net/tramp-smb.el (tramp-smb-get-file-entries):
7331 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7332 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7334 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7336 (eww-change-select): Remove unused var `properties'.
7337 (eww-make-unique-file-name): Remove unused var `base'.
7339 * finder.el (finder-compile-keywords): Don't mess with windows.
7341 * calculator.el (calculator-funcall): Fix typo in last change.
7343 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7345 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7346 <pkg>-autoloads.el file stop us.
7348 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7349 warnings, and factor out common code.
7351 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7353 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7354 two-character operators and whether the character preceding them
7355 changes their meaning (Bug#15208).
7357 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7359 Format code sent to Python shell for robustness.
7360 * progmodes/python.el (python-shell-buffer-substring):
7362 (python-shell-send-region, python-shell-send-buffer): Use it.
7364 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7366 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7367 * net/tramp.el (tramp-user-error): ... here.
7368 (tramp-find-method, tramp-check-proper-host)
7369 (tramp-dissect-file-name, tramp-debug-message)
7370 (tramp-handle-shell-command):
7371 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7372 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7374 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7376 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7378 * avoid.el (mouse-avoidance-point-position)
7379 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7382 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7384 * progmodes/python.el (python-shell-completion-get-completions):
7385 Drop use of deleted `comint-last-prompt-overlay'.
7386 (python-nav-if-name-main): New command.
7388 2013-09-01 Glenn Morris <rgm@gnu.org>
7390 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7391 Avoid leading space in $wins. Otherwise the sed command used by
7392 eg compile-main ends up containing "/*.el". (Bug#15170)
7394 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7396 2013-08-30 Glenn Morris <rgm@gnu.org>
7398 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7399 Fix is-this-a-directory logic. (Bug#15220)
7401 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * textmodes/css-mode.el: Use SMIE.
7404 (css-smie-grammar): New var.
7405 (css-smie--forward-token, css-smie--backward-token)
7406 (css-smie-rules): New functions.
7407 (css-mode): Use them.
7408 (css-navigation-syntax-table): Remove var.
7409 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7410 (css-indent-calculate, css-indent-line): Remove functions.
7412 Misc changes to reduce use of `(lambda...); and other cleanups.
7413 * cus-edit.el: Use lexical-binding.
7414 (customize-push-and-save, customize-apropos)
7415 (custom-buffer-create-internal): Use closures.
7416 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7417 * progmodes/ada-xref.el: Use setq.
7418 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7419 * dframe.el: Use lexical-binding.
7420 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7421 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7422 * descr-text.el: Use lexical-binding.
7423 (describe-text-widget, describe-text-sexp, describe-property-list):
7425 * comint.el (comint-history-isearch-push-state): Use a closure.
7426 * calculator.el: Use lexical-binding.
7427 (calculator-number-to-string): Make it work with lexical-binding.
7428 (calculator-funcall): Same and use cl-letf.
7430 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7431 (lisp--company-doc-string, lisp--company-location): New functions.
7432 (lisp-completion-at-point): Use them to improve Company support.
7434 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7435 params of lambda expressions.
7436 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7437 (ruby-smie--opening-pipe-p): New function.
7438 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7439 symbols and matched |...| for formal params.
7440 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7441 from being treated as hanging. Handle "rescue".
7443 2013-08-29 Glenn Morris <rgm@gnu.org>
7445 * progmodes/cc-engine.el (c-pull-open-brace):
7446 Move definition before use.
7448 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7450 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7451 are immutable. Don't use `unsafe' any more.
7452 (cl--defsubst-expand): Don't substitute at the same time as keeping
7453 a residual unused let-binding. Don't use `unsafe' any more.
7455 2013-08-29 Glenn Morris <rgm@gnu.org>
7457 * calendar/cal-china.el (calendar-chinese-year-cache):
7460 * nxml/nxml-util.el (nxml-debug-clear-inside):
7461 Use cl-loop rather than loop.
7463 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7465 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7467 2013-08-28 Glenn Morris <rgm@gnu.org>
7469 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7471 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7473 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7475 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * simple.el (repeat-complex-command--called-interactively-skip):
7479 (repeat-complex-command): Use it (bug#14136).
7481 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7482 (c-define-abbrev-table): Add `doc' argument.
7483 (c-mode-abbrev-table, c++-mode-abbrev-table)
7484 (objc-mode-abbrev-table, java-mode-abbrev-table)
7485 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7486 (awk-mode-abbrev-table): Use it.
7487 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7488 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7489 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7490 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7491 Move initialization into the declaration; and remove any
7494 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7495 and dynamic let binding.
7497 * vc/smerge-mode.el: Remove redundant :group args.
7499 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7502 2013-08-28 Juri Linkov <juri@jurta.org>
7504 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7505 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7506 (isearch-other-meta-char): Handle an undefined shifted printing
7507 character by downshifting it. (Bug#15200)
7509 2013-08-28 Juri Linkov <juri@jurta.org>
7511 * isearch.el (isearch-search): Change regexp error message for
7512 non-regexp searches. (Bug#15166)
7514 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7516 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7517 for portability to hosts where /bin/sh has problems.
7519 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7523 2013-08-27 Juri Linkov <juri@jurta.org>
7525 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7526 in the keyboard macro. (Bug#15126)
7528 2013-08-27 Juri Linkov <juri@jurta.org>
7530 * isearch.el (isearch-quote-char): Comment out converting unibyte
7531 to multibyte, thus syncing with its `quoted-insert' counterpart.
7534 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7536 * window.el (display-buffer-use-some-window): Add missing
7537 argument in call of get-largest-window (Bug#15185).
7538 Reported by Stephen Leake.
7540 2013-08-27 Glenn Morris <rgm@gnu.org>
7542 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7544 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7546 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7547 from a matcher-function unless there's no more matches (bug#15161).
7549 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7551 * minibuffer.el: Revert change from 2013-08-20.
7553 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7554 with text property `tramp-default', if appropriate.
7555 (tramp-check-proper-host): New defun.
7556 (tramp-dissect-file-name): Do not check hostname. Revert change
7558 (tramp-backtrace): Make VEC-OR-PROC optional.
7560 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7561 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7562 * net/tramp-sh.el (tramp-maybe-open-connection):
7563 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7564 Apply `tramp-check-proper-host'.
7566 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7568 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7569 lambda expression in order to have `describe-variable' display it.
7571 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7573 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7574 BUF can be optional. (Bug#15186)
7576 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7578 * progmodes/flymake.el (flymake-get-real-file-name-function):
7579 Fix broken customization. (Bug#15184)
7581 2013-08-25 Alan Mackenzie <acm@muc.de>
7583 Improve indentation of bracelists defined by macros (without "=").
7585 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7586 expansion begins with "{", regard it as bracelist when it doesn't
7589 Parse C++ inher-intro when there's a template split over 2 lines.
7591 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7592 rigorously the search for "class" etc. followed by ":".
7594 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7595 random languages a regexp which never matches rather than nil.
7597 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7599 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7600 (c-awk-regexp-one-line-possibly-open-char-list-re)
7601 (c-awk-one-line-possibly-open-regexp-re)
7602 (c-awk-one-line-non-syn-ws*-re): Remove.
7603 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7604 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7605 (c-awk-space*-unclosed-regexp-/-re): New constants.
7606 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7607 aren't regexp delimiters.
7609 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7610 handling for a rare situation in AWK Mode involving unterminated
7613 2013-08-23 Glenn Morris <rgm@gnu.org>
7615 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7617 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7619 * files.el (create-file-buffer): If the result would begin with
7620 spaces, prepend a "|" instead of removing them. (Bug#15162)
7622 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7624 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7625 text-properties (bug#15155).
7627 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7629 (calc-keypad-redraw): Remove unused var `pad'.
7630 (calc-keypad-press): Remove unused var `menu'.
7632 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7634 * window.el (display-buffer-pop-up-frame):
7635 Call pop-up-frame-function with BUFFER current so `make-frame' will
7636 use it as the new frame's buffer (Bug#15133).
7638 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7640 * calendar/timeclock.el: Minor cleanups.
7641 (timeclock-ask-before-exiting, timeclock-use-display-time):
7643 (timeclock-modeline-display): Define as alias before the
7645 (timeclock-mode-line-display): Use define-minor-mode.
7646 (timeclock-day-list-template): Make it a function, add an argument.
7647 (timeclock-day-list-required, timeclock-day-list-length)
7648 (timeclock-day-list-debt, timeclock-day-list-span)
7649 (timeclock-day-list-break): Adjust calls accordingly.
7651 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7654 Use read--expression so that completion works again.
7656 2013-08-21 Sam Steingold <sds@gnu.org>
7658 Add rudimentary inferior shell interaction
7659 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7660 (sh-set-shell): Reset it.
7661 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7662 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7664 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * align.el: Use lexical-binding.
7667 (align-region): Simplify accordingly.
7669 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7671 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7673 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7676 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7680 * net/tramp-cmds.el:
7682 * net/tramp-gvfs.el:
7684 * net/tramp-sh.el: Don't wrap external variable declarations by
7685 `eval-when-compile'.
7687 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7689 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7690 now that Emacs supports ImageMagick animations.
7692 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7694 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7695 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7697 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7699 * window.el (mouse-autoselect-window-select): Do autoselect when
7700 mouse pointer is on margin.
7702 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7704 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7706 2013-08-16 Glenn Morris <rgm@gnu.org>
7708 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7709 Handle "Remote Directory" response of some clients. (Bug#15058)
7711 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7712 Tweak warning. (Bug#14926)
7714 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7715 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7717 * image-mode.el (image-mode-map): Add menu items to reverse,
7718 increase, decrease, reset animation speed.
7719 (image--set-speed, image-increase-speed, image-decrease-speed)
7720 (image-reverse-speed, image-reset-speed): New functions.
7721 (image-mode-map): Add bindings for speed commands.
7723 * image.el (image-animate-get-speed, image-animate-set-speed):
7725 (image-animate-timeout): Respect image :speed property.
7727 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7729 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7730 previous line (bug#15101).
7731 (debugger-eval-expression, debugger-record-expression):
7732 Use read--expression (bug#15102).
7734 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7736 Remove byte compiler warnings, visible when compiling with
7737 `byte-compile-force-lexical-warnings' set to t.
7739 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7740 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7741 (tramp-handle-unhandled-file-name-directory)
7742 (tramp-handle-file-notify-add-watch, tramp-action-login)
7743 (tramp-action-succeed, tramp-action-permission-denied)
7744 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7747 * net/tramp-adb.el (tramp-adb-parse-device-names)
7748 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7749 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7750 (tramp-adb-handle-file-truename): Remove unused arguments.
7752 * net/tramp-cache.el (tramp-flush-directory-property)
7753 (tramp-flush-connection-property, tramp-list-connections)
7754 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7756 * net/tramp-compat.el (tramp-compat-make-temp-file):
7757 Rename FILENAME to F.
7759 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7760 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7761 (tramp-zeroconf-parse-workstation-device-names)
7762 (tramp-zeroconf-parse-webdav-device-names)
7763 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7765 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7766 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7768 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7770 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7771 (tramp-sh-handle-insert-file-contents-literally)
7772 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7774 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7775 Remove unused variables.
7777 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7778 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7779 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7781 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7782 Make them a defconst.
7783 (tramp-uuencode-region): Remove unused variable.
7785 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7787 * frameset.el (frameset--prop-setter): New function.
7788 (frameset-prop): Add gv-setter declaration.
7789 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7790 parameter was already set in FILTERED. Doc fix.
7791 (frameset--record-minibuffer-relationships): Allow saving a
7792 minibufferless frame without its corresponding minibuffer frame.
7793 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7794 frame, if the frame id matches.
7795 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7796 frames before orphaned ones.
7797 (frameset-restore): Warn about orphaned windows, instead of error out.
7799 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7801 * window.el (window-make-atom): Don't overwrite parameter
7803 (display-buffer-in-atom-window): Handle special case where we
7804 split an already atomic window.
7805 (window--major-non-side-window, display-buffer-in-side-window)
7806 (window--side-check): Ignore minibuffer window when walking
7808 (window-deletable-p): Return 'frame only if no other frame uses
7809 our minibuffer window.
7810 (record-window-buffer): Run buffer-list-update-hook.
7811 (split-window): Make sure window--check-frame won't destroy an
7812 existing atomic window in case the new window gets nested
7814 (display-buffer-at-bottom): Ignore minibuffer window when
7815 walking window tree. Don't split a side window.
7816 (pop-to-buffer): Don't set-buffer here, the select-window call
7818 (mouse-autoselect-window-select): Autoselect only if we are in the
7819 text portion of the window.
7821 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7823 * net/shr.el (shr-parse-image-data): New function to grab both the
7824 data itself and the Content-Type.
7825 (shr-put-image): Use it.
7827 * net/eww.el (eww-display-image): Ditto.
7829 * image.el (image-content-type-suffixes): New variable.
7831 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7833 * progmodes/python.el (python-imenu--build-tree)
7834 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7836 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7838 * simple.el (backward-word): Mention the optional argument.
7840 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7842 * frameset.el (frameset--make): Rename constructor from make-frameset.
7843 (frameset-p, frameset-valid-p): Don't autoload.
7844 (frameset-valid-p): Use normal accessors.
7846 2013-08-13 Glenn Morris <rgm@gnu.org>
7848 * progmodes/compile.el (compile-command): Tweak example in doc.
7849 * obsolete/scribe.el (scribe-mode):
7850 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7852 * mail/feedmail.el (feedmail-confirm-outgoing)
7853 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7855 * cus-start.el (truncate-partial-width-windows): Fix type.
7857 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7859 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7861 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7863 * emacs-lisp/timer.el (timer--time-setter): New function.
7864 (timer--time): Use it as gv-setter.
7866 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7867 setter is not a symbol.
7869 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7871 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7872 if sending fails. This makes debugging easier.
7874 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7876 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7877 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7878 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7880 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7882 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7884 2013-08-12 Glenn Morris <rgm@gnu.org>
7886 * format.el (format-annotate-function):
7887 Handle read-only text properties in the source. (Bug#14887)
7889 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7891 * net/eww.el (eww-display-html): Ignore coding system errors.
7892 One web site uses "utf-8lias" as the coding system.
7894 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7896 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7898 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7900 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7901 (tutorial--detailed-help): Remove unused local variables.
7902 (tutorial--save-tutorial-to): Use ignore-errors.
7903 (help-with-tutorial): Use looking-at-p.
7905 * view.el (view-buffer-other-window, view-buffer-other-frame):
7906 Mark unused arguments.
7908 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7909 (woman-select-symbol-fonts, woman, woman-find-file)
7910 (woman-insert-file-contents, woman-non-underline-faces):
7912 (woman1-unquote): Move declaration.
7914 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7915 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7916 argument. Remove unused local variable.
7917 (xml-parse-elem-type): Use string-match-p.
7918 (xml-substitute-numeric-entities): Use ignore-errors.
7920 * calculator.el (calculator): Mark unused argument.
7921 (calculator-paste, calculator-quit, calculator-integer-p):
7923 (calculator-string-to-number, calculator-decimal, calculator-exp)
7924 (calculator-op-or-exp): Use string-match-p.
7926 * dired.el (dired-buffer-more-recently-used-p): Declare.
7927 (dired-insert-set-properties, dired-insert-old-subdirs):
7930 * dired-aux.el (dired-compress): Use ignore-errors.
7931 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7932 (dired-do-async-shell-command, dired-do-shell-command)
7933 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7934 (dired-insert-subdir-validate): Use string-match-p.
7935 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7936 (dired-add-entry): Use string-match-p, looking-at-p.
7937 (dired-insert-subdir-newpos): Remove unused local variable.
7939 * filenotify.el (file-notify-callback): Remove unused local variable.
7941 * filesets.el (filesets-error): Mark unused argument.
7942 (filesets-which-command-p, filesets-filter-dir-names)
7943 (filesets-directory-files, filesets-get-external-viewer)
7944 (filesets-ingroup-get-data): Use string-match-p.
7946 * find-file.el (ff-other-file-name, ff-other-file-name)
7947 (ff-find-the-other-file, ff-cc-hh-converter):
7948 Remove unused local variables.
7949 (ff-get-file-name): Use string-match-p.
7950 (ff-all-dirs-under): Use ignore-errors.
7952 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7953 (follow-select-if-visible): Remove unused local variable.
7955 * forms.el (read-file-filter): Move declaration.
7956 (forms--make-format, forms--make-parser, forms-insert-record):
7957 Quote function with #'.
7958 (forms--update): Use string-match-p. Quote function with #'.
7960 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7961 (help-make-xrefs): Use looking-at-p.
7962 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7964 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7965 (ibuffer-confirm-operation-on): Use string-match-p.
7967 * msb.el (msb-item-handler, msb-dired-item-handler):
7968 Mark unused arguments.
7970 * ses.el (ses-decode-cell-symbol)
7971 (ses-kill-override): Remove unused local variable.
7972 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7973 (ses-load): Use ignore-errors, looking-at-p.
7974 (ses-jump-safe): Use ignore-errors.
7975 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7977 * tabify.el (untabify, tabify): Mark unused arguments.
7979 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7980 Mark unused argument.
7981 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7982 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7984 * emacs-lisp/timer.el (timer--time): Define setter with
7985 gv-define-setter to avoid deprecation warning.
7987 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7988 (*record-cmpl-statistics-p*): Remove (was commented out).
7989 (cmpl-statistics-block): Remove (body was commented out).
7990 All callers changed.
7991 (add-completions-from-buffer, load-completions-from-file):
7992 Remove unused variables.
7994 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7996 * filecache.el (file-cache-delete-file-list):
7997 Print message only when told so.
7998 (file-cache-files-matching): Use #' in mapconcat argument.
8000 * ffap.el (ffap-url-at-point): Fix reference to variable
8001 thing-at-point-default-mail-uri-scheme.
8003 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8005 * subr.el (define-error): New function.
8006 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8007 error-file-not-found and define with define-error.
8008 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8009 and define with define-error.
8010 * userlock.el (file-locked, file-supersession):
8011 * simple.el (mark-inactive):
8012 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8013 * progmodes/ada-mode.el (ada-mode-errors):
8014 * play/life.el (life-extinct):
8015 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8016 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8017 * nxml/rng-util.el (rng-error):
8018 * nxml/rng-uri.el (rng-uri-error):
8019 * nxml/rng-match.el (rng-compile-error):
8020 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8021 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8022 * nxml/nxml-rap.el (nxml-scan-error):
8023 * nxml/nxml-outln.el (nxml-outline-error):
8024 * net/soap-client.el (soap-error):
8025 * net/gnutls.el (gnutls-error):
8026 * net/ange-ftp.el (ftp-error):
8027 * mpc.el (mpc-proc-error):
8028 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8029 (json-number-format, json-string-escape, json-string-format)
8030 (json-key-format, json-object-format):
8031 * jka-compr.el (compression-error):
8032 * international/quail.el (quail-error):
8033 * international/kkc.el (kkc-error):
8034 * emacs-lisp/ert.el (ert-test-failed):
8035 * calc/calc.el (calc-error, inexact-result, math-overflow)
8037 * bookmark.el (bookmark-error-no-filename):
8038 * epg.el (epg-error): Define with define-error.
8040 * time.el (display-time-event-handler)
8041 (display-time-next-load-average): Don't call sit-for since it seems
8042 unnecessary (bug#15045).
8044 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8045 Use #' instead of ' to quote functions.
8046 (checkdoc-output-mode): Use setq-local.
8047 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8048 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8049 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8050 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8051 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8052 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8053 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8054 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8056 * ido.el (ido-completion-help): Fix up compiler warning.
8058 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8060 * frameset.el (frameset-p): Add autoload cookie.
8061 (frameset--jump-to-register): New function, based on code moved from
8063 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8065 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8066 (frameset-restore, frameset-save, frameset-session-filter-alist):
8067 Remove declarations.
8068 (register-alist): Doc fix.
8069 (frameset-to-register): Move to frameset.el.
8070 (jump-to-register, describe-register-1): Remove frameset-specific code.
8072 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8074 * allout-widgets.el (allout-widgets-pre-command-business)
8075 (allout-widgets-post-command-business)
8076 (allout-widgets-after-change-handler)
8077 (allout-decorate-item-and-context, allout-set-boundary-marker)
8078 (allout-body-modification-handler)
8079 (allout-graphics-modification-handler): Mark ignored arguments.
8080 (allout-widgets-post-command-business)
8081 (allout-widgets-exposure-change-processor)
8082 (allout-widgets-exposure-undo-processor)
8083 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8084 (allout-parse-item-at-point, allout-decorate-item-guides)
8085 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8086 * allout.el (epa-passphrase-callback-function): Declare.
8087 (allout-overlay-insert-in-front-handler)
8088 (allout-overlay-interior-modification-handler)
8089 (allout-isearch-end-handler, allout-chart-siblings)
8090 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8091 (allout-yank-processing, allout-process-exposed)
8092 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8093 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8094 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8095 (lisp-indent-defform): Mark ignored arguments.
8096 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8097 (calculate-lisp-indent): Remove unused variables.
8098 * international/characters.el (indian-2-column, arabic-2-column)
8099 (tibetan): Mark ignored arguments.
8100 (use-cjk-char-width-table): Mark ignored arguments.
8101 Remove unused variables.
8102 * international/fontset.el (build-default-fontset-data)
8103 (x-compose-font-name, create-fontset-from-fontset-spec):
8104 Mark ignored arguments.
8105 (fontset-plain-name): Remove unused variables.
8106 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8107 (keyboard-coding-system): Mark ignored arguments.
8108 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8109 * help.el (resize-temp-buffer-window):
8110 * window.el (display-buffer-in-major-side-window)
8111 (display-buffer-in-side-window, display-buffer-in-previous-window):
8112 Remove unused variables.
8113 * isearch.el (isearch-forward-symbol):
8114 * version.el (emacs-bzr-version-bzr):
8115 * international/mule-cmds.el (current-language-environment):
8116 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8118 * term/pc-win.el (x-list-fonts, x-display-planes)
8119 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8120 (x-server-version, x-display-screens, x-display-mm-height)
8121 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8122 (x-selection-owner-p, x-own-selection-internal)
8123 (x-disown-selection-internal, x-get-selection-internal)
8124 (msdos-initialize-window-system):
8125 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8126 * term/x-win.el (x-handle-no-bitmap-icon):
8127 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8128 (vc-default-find-file-hook, vc-default-extra-menu):
8129 Mark ignored arguments.
8131 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8133 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8134 break-condition in the context of the debugged code (bug#12685).
8136 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8139 Do not use an overlay to highlight the last prompt. (Bug#14744)
8140 (comint-mode): Make comint-last-prompt buffer local.
8141 (comint-last-prompt): New variable.
8142 (comint-last-prompt-overlay): Remove. Superseded by
8144 (comint-snapshot-last-prompt, comint-output-filter):
8145 Use comint-last-prompt.
8147 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8149 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8150 (frameset-save): Check validity of the resulting frameset.
8152 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8154 * ido.el (ido-record-command): Add doc string.
8156 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8158 * frameset.el (frameset): Do not disable creation of the default
8159 frameset-p predicate. Doc fix.
8160 (frameset-valid-p): New function, copied from the old predicate-p.
8161 Add additional checks.
8162 (frameset-restore): Check with frameset-valid-p.
8163 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8164 (frameset-name, frameset-description, frameset-properties)
8165 (frameset-states): Add docstring.
8166 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8167 (frameset-filter-alist): Doc fixes.
8169 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8171 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8173 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8176 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8177 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8178 (byte-compile-normal-call): Remove obsolescence check.
8180 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8182 * frameset.el (frameset-restore): Doc fix.
8184 * register.el (frameset-frame-id, frameset-frame-with-id)
8185 (frameset-p, frameset-restore, frameset-save): Declare.
8186 (register-alist): Document framesets.
8187 (frameset-session-filter-alist): Declare.
8188 (frameset-to-register): New function.
8189 (jump-to-register): Implement jumping to framesets. Doc fix.
8190 (describe-register-1): Describe framesets.
8192 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8194 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8196 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8197 Use lexical-binding.
8199 * frameset.el (frameset): Use type vector, not list (incompatible
8200 change). Do not declare a new constructor, use the default one.
8201 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8202 `name' and `description', respectively, and add read-only slot
8203 `timestamp'. Doc fixes.
8204 (frameset-copy, frameset-persistent-filter-alist)
8205 (frameset-filter-alist, frameset-switch-to-gui-p)
8206 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8207 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8208 (frameset-filter-iconified, frameset-keep-original-display-p):
8210 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8211 Rename from frameset-filter-(save|restore)-param. All callers changed.
8213 (frameset-p): Adapt to change to vector and be more thorough.
8214 Change arg name to OBJECT. Doc fix.
8215 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8216 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8217 All callers changed.
8218 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8219 All callers changed.
8220 (frameset--record-minibuffer-relationships): Rename from
8221 frameset--process-minibuffer-frames. All callers changed.
8222 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8223 Use new default constructor (again). Doc fix.
8224 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8225 All callers changed.
8226 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8227 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8229 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8230 PARAMETERS and WINDOW-STATE, respectively.
8231 (frameset-restore): Add new keyword argument PREDICATE.
8232 Reset frameset--target-display to nil. Doc fix.
8234 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8238 (bat-mode-syntax-table): Mark \n as end-of-comment.
8239 (bat-font-lock-keywords): Remove comment rule.
8241 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8242 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8244 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8245 (byte-compile-callargs-warn): Use `push'.
8246 (byte-compile-arglist-warn): Ignore higher-order "calls".
8247 (byte-compile-file-form-autoload): Use `pcase'.
8248 (byte-compile-function-form): If quoting a symbol, check that it exists.
8250 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8252 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8253 and add a few popular commands found in batch files.
8254 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8255 (dos-mode): Doc fixes.
8257 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8259 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8260 (dos-mode): Use setq-local. Add space after "rem".
8261 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8262 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8264 2013-08-07 Arni Magnusson <arnima@hafro.is>
8266 * progmodes/dos.el: New file.
8267 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8270 2013-08-06 Glenn Morris <rgm@gnu.org>
8272 * calendar/calendar.el: Add new faces, and day-header-array.
8273 (calendar-weekday-header, calendar-weekend-header)
8274 (calendar-month-header): New faces.
8275 (calendar-day-header-construct): New function.
8276 (calendar-day-header-width): Also :set calendar-day-header-array.
8277 (calendar-american-month-header, calendar-european-month-header)
8278 (calendar-iso-month-header): Use calendar- faces.
8279 (calendar-generate-month):
8280 Use calendar-day-header-array for day headers; apply faces to them.
8281 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8282 (calendar-abbrev-construct): Add optional maxlen argument.
8283 (calendar-day-name-array): Doc fix.
8284 (calendar-day-name-array, calendar-abbrev-length)
8285 (calendar-day-abbrev-array):
8286 Also :set calendar-day-header-array, and maybe redraw.
8287 (calendar-day-header-array): New option. (Bug#15007)
8288 (calendar-font-lock-keywords): Set to nil and make obsolete.
8289 (calendar-day-name): Add option to use header array.
8291 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8293 * net/shr.el (shr-render-td): Remove debugging.
8294 (shr-render-td): Make width computation consistent by defaulting
8295 all zero-width columns to 10 characters. This may not be optimal,
8296 but it's at least consistent.
8297 (shr-make-table-1): Redo last change to fix the real problem in
8300 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8302 * files.el (cache-long-line-scans):
8303 Make obsolete alias to `cache-long-scans'.
8305 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8307 * frameset.el (frameset, frameset-filter-alist)
8308 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8309 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8310 (frameset-compute-pos): Rename from frameset--compute-pos,
8312 (frameset-move-onscreen): Use frameset-compute-pos.
8313 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8315 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8316 Fix typos in docstrings.
8318 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8320 * frame.el (get-other-frame): Tiny cleanup.
8322 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8324 * vc/vc.el (vc-default-ignore-completion-table):
8325 Silence byte-compiler warning.
8327 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8328 slot, which can indeed be nil.
8329 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8330 Move entry for `left' from persistent to live filter alist.
8331 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8333 (frameset-filter-params): When restoring a frame, copy items added to
8334 `filtered', to avoid unwittingly modifying the original parameters.
8335 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8336 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8338 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8339 to use looking-at-p instead of looking-at. (Bug#15028)
8341 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8343 Revert introduction of isearch-filter-predicates (bug#14714).
8344 Rely on add-function instead.
8345 * isearch.el (isearch-filter-predicates): Rename it back to
8346 isearch-filter-predicate.
8347 (isearch-message-prefix): Use advice-function-mapc and advice
8348 properties to get the isearch-message-prefix.
8349 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8350 instead of run-hook-with-args-until-failure.
8351 (isearch-filter-visible): Not obsolete any more.
8352 * loadup.el: Preload nadvice.
8353 * replace.el (perform-replace): Revert to funcall
8354 instead of run-hook-with-args-until-failure.
8355 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8356 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8357 dired-isearch-filenames-toggle; make it into a proper minor mode.
8358 Use add/remove-function.
8359 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8360 Call the minor-mode rather than add/remove-hook.
8361 (dired-isearch-filter-filenames):
8362 Remove isearch-message-prefix property.
8363 * info.el (Info--search-loop): New function, extracted from Info-search.
8364 Funcall isearch-filter-predicate instead of
8365 run-hook-with-args-until-failure isearch-filter-predicates.
8366 (Info-search): Use it.
8367 (Info-mode): Use isearch-filter-predicate instead of
8368 isearch-filter-predicates.
8370 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8372 Do not call to `selected-window' where it is assumed by default.
8373 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8374 `window-hscroll', `window-width', `window-height', `window-buffer',
8375 `window-frame', `window-start', `window-point', `next-window'
8376 and `window-display-table'.
8377 * abbrev.el (abbrev--default-expand):
8378 * bs.el (bs--show-with-configuration):
8379 * buff-menu.el (Buffer-menu-mouse-select):
8380 * calc/calc.el (calc):
8381 * calendar/calendar.el (calendar-generate-window):
8382 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8384 * comint.el (send-invisible, comint-dynamic-complete-filename)
8385 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8386 * completion.el (complete):
8387 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8388 * disp-table.el (describe-current-display-table):
8389 * doc-view.el (doc-view-insert-image):
8390 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8391 * ehelp.el (with-electric-help):
8392 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8393 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8394 * emacs-lisp/helper.el (Helper-help-scroller):
8395 * emulation/cua-base.el (cua--post-command-handler-1):
8396 * eshell/esh-mode.el (eshell-output-filter):
8397 * ffap.el (ffap-gnus-wrapper):
8398 * help-macro.el (make-help-screen):
8399 * hilit-chg.el (highlight-compare-buffers):
8400 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8401 * hl-line.el (global-hl-line-highlight):
8402 * icomplete.el (icomplete-simple-completing-p):
8403 * isearch.el (isearch-done):
8404 * jit-lock.el (jit-lock-stealth-fontify):
8405 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8406 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8407 * mpc.el (mpc-tagbrowser, mpc):
8408 * net/rcirc.el (rcirc-any-buffer):
8409 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8410 * play/landmark.el (landmark-max-width, landmark-max-height):
8411 * play/zone.el (zone):
8412 * progmodes/compile.el (compilation-goto-locus):
8413 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8414 * progmodes/etags.el (find-tag-other-window):
8415 * progmodes/fortran.el (fortran-column-ruler):
8416 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8417 * progmodes/verilog-mode.el (verilog-point-text):
8418 * reposition.el (reposition-window):
8419 * rot13.el (toggle-rot13-mode):
8420 * server.el (server-switch-buffer):
8421 * shell.el (shell-dynamic-complete-command)
8422 (shell-dynamic-complete-environment-variable):
8423 * simple.el (insert-buffer, set-selective-display)
8424 (delete-completion-window):
8425 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8426 (speedbar-recenter):
8427 * startup.el (fancy-splash-head):
8428 * textmodes/ispell.el (ispell-command-loop):
8429 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8430 * tutorial.el (help-with-tutorial):
8431 * vc/add-log.el (add-change-log-entry):
8432 * vc/compare-w.el (compare-windows):
8433 * vc/ediff-help.el (ediff-indent-help-message):
8434 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8435 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8436 (ediff-setup-control-frame):
8437 * vc/emerge.el (emerge-position-region):
8438 * vc/pcvs-util.el (cvs-bury-buffer):
8439 * window.el (walk-windows, mouse-autoselect-window-select):
8440 * winner.el (winner-set-conf, winner-undo): Related users changed.
8442 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8444 * frameset.el (frameset--set-id): Doc fix.
8445 (frameset-frame-id, frameset-frame-id-equal-p)
8446 (frameset-locate-frame-id): New functions.
8447 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8448 (frameset-restore): Use them.
8450 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8452 Do not call to `selected-frame' where it is assumed by default.
8453 Affected functions are `raise-frame', `redraw-frame',
8454 `frame-first-window', `frame-terminal' and `delete-frame'.
8455 * calendar/appt.el (appt-disp-window):
8456 * epg.el (epg-wait-for-completion):
8457 * follow.el (follow-delete-other-windows-and-split)
8458 (follow-avoid-tail-recenter):
8459 * international/mule.el (set-terminal-coding-system):
8460 * mail/rmail.el (rmail-mail-return):
8461 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8462 * progmodes/f90.el (f90-add-imenu-menu):
8463 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8464 * server.el (server-switch-buffer):
8465 * simple.el (delete-completion-window):
8467 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8468 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8469 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8470 * vc/ediff.el (ediff-documentation): Related users changed.
8471 * frame.el (selected-terminal): Remove the leftover.
8473 2013-08-05 Glenn Morris <rgm@gnu.org>
8475 * calendar/calendar.el (calendar-generate-month):
8476 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8477 (calendar-generate-month, calendar-font-lock-keywords):
8478 Fix for calendar-day-header-width > length of any day name.
8480 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8482 * desktop.el (desktop-clear): Use new name of sort predicate.
8484 * frameset.el (frameset): Add docstring. Move :version property to its
8486 (frameset-copy): Rename from copy-frameset.
8487 (frameset-p): Check more thoroughly.
8488 (frameset-prop): Do not check for :version, which is no longer a prop.
8489 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8490 Use new :never value instead of t.
8491 (frameset-filter-alist): Expand and clarify docstring.
8492 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8493 (frameset-filter-minibuffer, frameset-filter-save-param)
8494 (frameset-filter-restore-param, frameset-filter-iconified):
8495 Add pointer to docstring of frameset-filter-alist.
8496 (frameset-filter-params): Rename filter values to be more meaningful:
8497 :never instead of t, and reverse the meanings of :save and :restore.
8498 (frameset--process-minibuffer-frames): Clarify error message.
8499 (frameset-save): Avoid unnecessary and confusing call to framep.
8500 Use new BOA constructor for framesets.
8501 (frameset--reuse-list): Doc fix.
8502 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8503 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8504 (frameset-minibufferless-first-p): Doc fix.
8505 Rename from frameset-sort-frames-for-deletion.
8506 (frameset-restore): Doc fixes. Use new function names.
8507 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8509 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8511 * desktop.el (desktop-restore-forces-onscreen)
8512 (desktop-restore-reuses-frames): Document :keyword constant values.
8513 (desktop-filter-parameters-alist): Remove, now identical to
8514 frameset-filter-alist.
8515 (desktop--filter-tty*): Remove, moved to frameset.el.
8516 (desktop-save-frameset, desktop-restore-frameset):
8517 Do not pass :filters argument.
8519 * frameset.el (frameset-live-filter-alist)
8520 (frameset-persistent-filter-alist): New variables.
8521 (frameset-filter-alist): Use them. Add autoload cookie.
8522 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8523 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8524 `frameset--id' (it's supposed to be internal to frameset.el).
8525 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8526 (frameset--initial-params): New function.
8527 (frameset--get-frame): Use it. Doc fix.
8528 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8529 Accept :all, not 'all.
8530 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8531 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8532 with fbound symbols. Fix frame id matching, and remove matching ids if
8533 the frame being restored is deleted. Obey :delete.
8535 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8537 * subr.el (macrop): New function.
8538 (text-clone--maintaining): New var.
8539 (text-clone--maintain): Rename from text-clone-maintain. Use it
8540 instead of inhibit-modification-hooks.
8542 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8543 a proxy, so as handle autoloads and redefinitions of the target.
8544 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8546 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8547 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8548 (pcase--mutually-exclusive-p): New function.
8549 (pcase--split-consp): Use it.
8550 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8551 mutually exclusive with the current predicate.
8553 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8554 (edebug-macrop): Remove. Use `macrop' instead.
8555 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8557 * eshell/esh-cmd.el (eshell-macrop):
8558 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8560 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8562 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8563 (advice-mapc): New function, using it.
8564 (advice-function-member-p): New function.
8565 (advice--normalize): Store the cdr in advice--saved-rewrite since
8566 that's the part that will be changed.
8567 (advice--symbol-function): New function.
8568 (advice-remove): Handle removal before the function is defined.
8569 Adjust to new advice--saved-rewrite.
8570 (advice-member-p): Use advice-function-member-p and
8571 advice--symbol-function.
8573 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8575 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8576 (frameset-filter-minibuffer): Doc fix.
8577 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8578 (frameset--set-id, frameset--process-minibuffer-frames)
8579 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8580 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8582 * desktop.el (desktop-clear): Only delete frames when called
8583 interactively and desktop-restore-frames is non-nil. Doc fix.
8584 (desktop-read): Set desktop-saved-frameset to nil.
8586 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8588 * vc/vc.el (vc-ignore): Rewrite.
8589 (vc-default-ignore-completion-table, vc--read-lines)
8590 (vc--add-line, vc--remove-regexp): New functions.
8592 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8593 (vc-svn-ignore-completion-table): New function.
8595 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8596 (vc-hg-ignore-completion-table)
8597 (vc-hg-find-ignore-file): New functions.
8599 * vc/vc-git.el (vc-git-ignore): Rewrite.
8600 (vc-git-ignore-completion-table)
8601 (vc-git-find-ignore-file): New functions.
8603 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8605 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8606 (vc-bzr-ignore-completion-table)
8607 (vc-bzr-find-ignore-file): New functions.
8609 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8611 * frameset.el (frameset-prop): New function and setter.
8612 (frameset-save): Do not modify frame list passed by the caller.
8614 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8616 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8618 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8621 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8623 * custom.el (custom-initialize-default, custom-initialize-set)
8624 (custom-initialize-reset, custom-initialize-changed): Affect the
8625 toplevel-default-value (bug#6275, bug#14586).
8626 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8629 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8631 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8632 Add cl-def* expressions.
8634 * frameset.el (frameset-filter-params): Fix order of arguments.
8636 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8638 Move code related to saving frames to frameset.el.
8639 * desktop.el: Require frameset.
8640 (desktop-restore-frames): Doc fix.
8641 (desktop-restore-reuses-frames): Rename from
8642 desktop-restoring-reuses-frames.
8643 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8644 (desktop-clear): Clear frames too.
8645 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8646 (desktop--filter-tty*, desktop-save, desktop-read):
8647 Use frameset functions.
8648 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8649 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8650 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8651 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8652 (desktop--process-minibuffer-frames, desktop-save-frames)
8653 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8654 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8655 (desktop--sort-states, desktop-restoring-frames-p)
8656 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8657 (desktop-restoring-frameset-p, desktop-restore-frameset)
8658 (desktop--check-dont-save, desktop-save-frameset): New functions.
8659 (desktop--app-id): New constant.
8660 (desktop-first-buffer, desktop-buffer-ok-count)
8661 (desktop-buffer-fail-count): Move before first use.
8662 * frameset.el: New file.
8664 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8666 * files.el: Use lexical-binding.
8667 (dir-locals-read-from-file): Remove unused `err' variable.
8668 (hack-dir-local-variables--warned-coding): New var.
8669 (hack-dir-local-variables): Use it to avoid repeated warnings.
8670 (make-backup-file-name--default-function): New function.
8671 (make-backup-file-name-function): Use it as default.
8672 (buffer-stale--default-function): New function.
8673 (buffer-stale-function): Use it as default.
8674 (revert-buffer-insert-file-contents--default-function): New function.
8675 (revert-buffer-insert-file-contents-function): Use it as default.
8676 (insert-directory): Avoid add-to-list.
8678 * autorevert.el (auto-revert-handler): Simplify.
8679 Use buffer-stale--default-function.
8681 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8683 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8685 * whitespace.el (whitespace-ensure-local-variables): New function.
8686 (whitespace-cleanup-region): Call it.
8687 (whitespace-turn-on): Call it.
8689 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8691 Complete file name handlers.
8693 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8694 (tramp-handle-verify-visited-file-modtime)
8695 (tramp-handle-file-notify-rm-watch): New functions.
8696 (tramp-call-process): Do not bind `default-directory'.
8698 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8699 Order alphabetically.
8700 <access-file, add-name-to-file, dired-call-process>:
8701 <dired-compress-file, file-acl, file-notify-rm-watch>:
8702 <file-ownership-preserved-p, file-selinux-context>:
8703 <make-directory-internal, make-symbolic-link, set-file-acl>:
8704 <set-file-selinux-context, set-visited-file-modtime>:
8705 <verify-visited-file-modtime>: Add handler.
8706 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8708 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8709 <file-notify-add-watch, file-notify-rm-watch>:
8710 <set-file-times, set-visited-file-modtime>:
8711 <verify-visited-file-modtime>: Add handler.
8712 (with-tramp-gvfs-error-message)
8713 (tramp-gvfs-handle-set-visited-file-modtime)
8714 (tramp-gvfs-fuse-file-name): Remove.
8715 (tramp-gvfs-handle-file-notify-add-watch)
8716 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8717 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8720 Order alphabetically.
8721 <file-notify-rm-watch>: Use default Tramp handler.
8722 <executable-find>: Remove private handler.
8723 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8724 `default-directory'.
8725 (tramp-sh-handle-executable-find)
8726 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8727 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8728 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8729 Do not use `format' in `tramp-message'.
8731 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8732 <file-notify-rm-watch, set-visited-file-modtime>:
8733 <verify-visited-file-modtime>: Add handler.
8734 (tramp-smb-call-winexe): Do not bind `default-directory'.
8736 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8738 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8740 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8742 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8744 (log-view-diff-changeset): Same.
8745 (log-view-diff-common): Call backend command `previous-revision'
8746 to find out the previous revision, in both cases. Swap the
8747 variables `to' and `fr', so that `fr' usually refers to the
8748 earlier revision (Bug#14989).
8750 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8752 * ibuf-ext.el (ibuffer-filter-by-filename):
8753 Make it work with dired buffers too.
8755 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8757 * emacs-lisp/re-builder.el (reb-color-display-p):
8758 * files.el (save-buffers-kill-terminal):
8759 * net/browse-url.el (browse-url):
8760 * server.el (server-save-buffers-kill-terminal):
8761 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8762 Prefer nil to selected-frame for the first arg of frame-parameter.
8764 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8766 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8768 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8770 * minibuffer.el (completion--twq-all): Try and preserve each
8771 completion's case choice (bug#14907).
8773 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8775 * net/network-stream.el (open-network-stream): Mention the new
8776 :nogreeting parameter.
8777 (network-stream-open-starttls): Use the :nogreeting parameter
8780 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8782 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8783 more natural than popping.
8785 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8786 (shr-urlify): Highlight under mouse.
8788 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8790 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8792 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8794 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8797 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8798 point-min==1. Fix search string. Fix parentheses missing.
8800 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8801 assume point-min==1. Fix search string. Fix parentheses missing.
8803 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8805 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8808 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8810 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8811 initial frame is minibuffer-less. (Bug#14841)
8813 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8815 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8819 (tramp-maybe-open-connection): Use it.
8821 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8823 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8824 minimal set of parameters passed when creating a frame, because
8825 the minibuffer status of a frame cannot be changed later.
8827 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8829 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8830 replace-regexp-in-string and inadvertent omissions in previous change.
8831 (todo-filter-items): Ensure only file names are comma-separated in
8832 name of filtered items buffer.
8834 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8836 * desktop.el: Optionally force offscreen frames back onscreen.
8837 (desktop-restoring-reuses-frames): New option.
8838 (desktop--compute-pos, desktop--move-onscreen): New functions.
8839 (desktop--make-frame): Use desktop--move-onscreen.
8841 2013-07-27 Alan Mackenzie <acm@muc.de>
8843 Fontify a Java generic method as a function.
8844 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8847 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8849 * calendar/todo-mode.el: Add command to rename todo files.
8850 (todo-rename-file): New command.
8851 (todo-key-bindings-t): Add key binding for it. Change the
8852 bindings of todo-filter-regexp-items(-multifile) to use `x'
8853 instead of `r', since the latter is better suited to the new
8856 2013-07-27 Alan Mackenzie <acm@muc.de>
8858 Make Java try-with-resources statement parse properly.
8859 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8860 (c-block-stmt-1-2-key): New language constants/variables.
8861 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8862 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8863 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8864 with c-block-stmt-1-2-key.
8866 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8868 * desktop.el (desktop--make-frame): Apply most frame parameters after
8869 creating the frame to force (partially or totally) offscreen frames to
8870 be restored as such.
8872 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8874 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8877 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8879 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8880 `base' arg of backtrace-frame.
8882 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8884 * simple.el (list-processes): Doc fix.
8886 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8888 * desktop.el (desktop--select-frame):
8889 Try harder to reuse existing frames.
8891 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8893 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8894 (edebug-eval): Use backtrace-eval.
8895 (edebug--display, edebug--recursive-edit): Don't let-bind the
8896 edebug-outer-* vars that keep track of variables we locally let-bind.
8897 (edebug-outside-excursion): Don't restore outside values of locally
8899 (edebug--display): Use user-error.
8900 (cl-lexical-debug, cl-debug-env): Remove.
8902 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8904 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8905 are restored to be sure that they are visible before deleting any
8908 2013-07-26 Matthias Meulien <orontee@gmail.com>
8910 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8911 vc-print-root-log. (Bug#14948)
8913 2013-07-26 Richard Stallman <rms@gnu.org>
8915 Add aliases for encrypting mail.
8916 * epa.el (epa-mail-aliases): New option.
8917 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8918 Bind inhibit-read-only so read-only text doesn't ruin everything.
8919 (epa-mail-default-recipients): New subroutine broken out.
8920 Handle epa-mail-aliases.
8922 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8924 Add support for lexical variables to the debugger's `e' command.
8925 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8926 vars, except for debugger-outer-match-data.
8927 (debugger-frame-number): Move check for "on a function call" from
8928 callers into it. Add `skip-base' argument.
8929 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8930 (debugger-env-macro): Only reset the state stored in non-variables,
8931 i.e. current-buffer and match-data.
8932 (debugger-eval-expression): Rewrite using backtrace-eval.
8933 * subr.el (internal--called-interactively-p--get-frame): Remove.
8934 (called-interactively-p):
8935 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8936 `base' arg of backtrace-frame instead.
8938 2013-07-26 Glenn Morris <rgm@gnu.org>
8940 * align.el (align-regexp): Doc fix. (Bug#14857)
8941 (align-region): Explicit error if subexpression missing/does not match.
8943 * simple.el (global-visual-line-mode):
8944 Do not duplicate the mode lighter. (Bug#14858)
8946 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8948 * window.el (display-buffer): In display-buffer bind
8949 split-window-keep-point to t, bug#14829.
8951 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8953 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8954 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8955 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8956 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8958 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8959 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8961 2013-07-25 Glenn Morris <rgm@gnu.org>
8963 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8965 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8967 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8968 parameter to modify-frame-parameters if the value has not changed;
8969 this is a workaround for bug#14949.
8970 (desktop--make-frame): On cl-delete-if call, check parameter name,
8973 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8975 * vc/vc.el (vc-ignore): New function.
8977 * vc/vc-svn.el (vc-svn-ignore): New function.
8979 * vc/vc-hg.el (vc-hg-ignore): New function.
8981 * vc/vc-git.el (vc-git-ignore): New function.
8983 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8984 (vc-dir-ignore): New function.
8986 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8987 (cvs-append-to-ignore): Move here from pcvs.el.
8989 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8991 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8993 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8995 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8996 (desktop-restore-frames): Warn when deleting an existing frame failed.
8998 2013-07-24 Glenn Morris <rgm@gnu.org>
9000 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9002 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9004 * filenotify.el (file-notify-supported-p):
9005 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9008 * autorevert.el (auto-revert-use-notify)
9009 (auto-revert-notify-add-watch):
9010 * net/tramp.el (tramp-file-name-for-operation):
9011 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9012 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9013 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9015 Remove `file-notify-supported-p' entry.
9017 2013-07-24 Glenn Morris <rgm@gnu.org>
9019 * printing.el: Replace all uses of deleted ps-windows-system,
9020 ps-lp-system, ps-flatten-list with lpr- versions.
9022 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9024 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9025 checked with memq (bug#14935).
9027 * files.el (revert-buffer-function): Use a non-nil default.
9028 (revert-buffer-preserve-modes): Declare var to
9029 provide access to the `preserve-modes' argument.
9030 (revert-buffer): Let-bind it.
9031 (revert-buffer--default): New function, extracted from revert-buffer.
9033 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9035 * lpr.el: Signal print errors more prominently.
9036 (print-region-function): Don't default to nil.
9037 (lpr-print-region): New function, extracted from print-region-1.
9038 Check lpr's return value and signal an error in case of problem.
9039 (print-region-1): Use it.
9040 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9042 (ps-printer-name): Default to nil.
9043 (ps-printer-name-option): Default to lpr-printer-switch.
9044 (ps-print-region-function): Don't default to nil.
9045 (ps-postscript-code-directory): Simplify default.
9046 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9047 (ps-string-list, ps-eval-switch, ps-flatten-list)
9048 (ps-flatten-list-1): Remove.
9049 (ps-multibyte-buffer): Avoid setq.
9050 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9051 (print-region-function, ps-print-region-function): Don't set them here.
9053 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9055 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9056 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9057 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9058 (ido-decorations): Doc fix.
9060 * ansi-color.el: Fix old URL.
9062 2013-07-23 Michael R. Mauger <michael@mauger.com>
9064 * progmodes/sql.el: Version 3.3
9065 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9066 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9067 (sql-interactive-remove-continuation-prompt): Rewrite, use
9068 functions above. Fix continuation prompt and complete output line
9070 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9071 redirected output buffer.
9072 (sql-mode): Restore deleted code (Bug#13591).
9074 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9076 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9078 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9080 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9082 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9083 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9084 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9086 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9088 * desktop.el (desktop-clear): Simplify; remove useless checks
9089 against invalid buffer names.
9090 (desktop-list*): Use cl-list*.
9091 (desktop-buffer-info, desktop-create-buffer): Simplify.
9093 2013-07-23 Leo Liu <sdl.web@gmail.com>
9095 * bookmark.el (bookmark-make-record): Restore NAME as a default
9098 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9100 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9101 extracted from autoload--insert-text.
9102 (autoload--insert-text): Remove.
9103 (autoload--print-cookie-text): New function, extracted from
9104 autoload--insert-cookie-text.
9105 (autoload--insert-cookie-text): Remove.
9106 (autoload-generate-file-autoloads): Adjust calls accordingly.
9108 * winner.el (winner-hook-installed-p): Remove.
9109 (winner-mode): Simplify accordingly.
9111 * subr.el (add-to-list): Fix compiler-macro when `append' is
9112 not constant. Don't use `cl-member' for the base case.
9114 * progmodes/subword.el: Fix boundary case (bug#13758).
9115 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9117 (subword-backward-regexp): Make it a constant.
9118 (subword-forward-internal): Don't treat a trailing capital as the
9119 beginning of a word.
9121 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9123 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9124 global value of tabulated-list-revert-hook (bug#14930).
9126 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9128 * desktop.el: Require 'cl-lib.
9129 (desktop-before-saving-frames-functions): New hook.
9130 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9131 for frames being saved. Rename from desktop--save-minibuffer-frames.
9132 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9133 Do not save frames with non-nil `desktop-dont-save' parameter.
9134 Filter out deleted frames.
9135 (desktop--find-frame): Use cl-find-if.
9136 (desktop--select-frame): Use cl-(first|second|third) to access values
9138 (desktop--make-frame): Use cl-delete-if.
9139 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9140 (desktop-restore-frames): Use cl-(first|second|third) to access values
9141 of desktop-mini. Look for visible frame at the end, not while
9144 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9145 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9146 Use string-match-p, looking-at-p (bug#14927).
9148 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9150 * desktop.el (desktop-saved-frame-states):
9151 Rename from desktop--saved-states; all users changed.
9152 (desktop-save-frames): Rename from desktop--save-frames.
9153 Do not save state to desktop file.
9154 (desktop-save): Save desktop-saved-frame-states to desktop file
9156 (desktop-restoring-frames-p): New function.
9157 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9158 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9159 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9161 * desktop.el: Correctly restore iconified frames.
9162 (desktop--filter-iconified-position): New function.
9163 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9165 2013-07-20 Glenn Morris <rgm@gnu.org>
9167 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9168 Let `message' do the formatting.
9169 (def-gdb-preempt-display-buffer): Add explicit format.
9171 * image-dired.el (image-dired-track-original-file):
9172 Use with-current-buffer.
9173 (image-dired-track-thumbnail): Use with-current-buffer.
9174 Avoid changing point of wrong window.
9176 * image-dired.el (image-dired-track-original-file):
9177 Avoid changing point of wrong window. (Bug#14909)
9179 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9181 * progmodes/gdb-mi.el (gdb-done-or-error):
9182 Guard against "%" in gdb output. (Bug#14127)
9184 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9186 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9189 * international/mule.el (coding-system-iso-2022-flags): Fix last
9192 2013-07-20 Kenichi Handa <handa@gnu.org>
9194 * international/mule.el (coding-system-iso-2022-flags):
9195 Add `8-bit-level-4'. (Bug#8522)
9197 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9199 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9202 * net/eww.el (eww-process-text-input): Allow inputting when the
9203 point is at the start of the line, as the properties aren't
9206 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9209 2013-07-19 Richard Stallman <rms@gnu.org>
9211 * epa.el (epa-popup-info-window): Doc fix.
9213 * subr.el (split-string): New arg TRIM.
9215 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9217 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9218 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9220 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9222 * filenotify.el (file-notify--library): Rename from
9223 `file-notify-support'. Do not autoload. Adapt all uses.
9224 (file-notify-supported-p): New defun.
9226 * autorevert.el (auto-revert-use-notify):
9227 Use `file-notify-supported-p' instead of `file-notify-support'.
9229 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9231 * net/tramp.el (tramp-file-name-for-operation):
9232 Add `file-notify-supported-p'.
9234 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9236 (tramp-sh-file-name-handler-alist): Add it as handler for
9237 `file-notify-supported-p '.
9239 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9240 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9241 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9242 Add `ignore' as handler for `file-notify-*' functions.
9244 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9246 * simple.el (line-move-partial, line-move): Don't start vscroll or
9247 scroll-up if the current line is not taller than the window.
9250 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9252 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9253 highlight question marks in the method names as strings.
9254 (ruby-block-beg-keywords): Inline.
9255 (ruby-font-lock-keyword-beg-re): Extract from
9256 `ruby-font-lock-keywords'.
9258 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9260 * frame.el (blink-cursor-blinks): New defcustom.
9261 (blink-cursor-blinks-done): New defvar.
9262 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9263 (blink-cursor-timer-function): Check if number of blinks has been
9265 (blink-cursor-suspend, blink-cursor-check): New defuns.
9267 2013-07-15 Glenn Morris <rgm@gnu.org>
9269 * edmacro.el (edmacro-format-keys): Fix previous change.
9271 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9273 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9274 The hack didn't work outside English locales anyway.
9276 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9278 * simple.el (define-alternatives): Rename from alternatives-define,
9279 per RMS' suggestion.
9281 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9283 * desktop.el (desktop-restore-frames): Change default to t.
9284 (desktop-restore-in-current-display): Now offer more options.
9285 (desktop-restoring-reuses-frames): New customization option.
9286 (desktop--saved-states): Doc fix.
9287 (desktop-filter-parameters-alist): New variable, renamed and expanded
9288 from desktop--excluded-frame-parameters.
9289 (desktop--target-display): New variable.
9290 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9291 (desktop--filter-tty*, desktop--filter-*-color)
9292 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9293 (desktop--filter-save-desktop-parm)
9294 (desktop-restore-in-original-display-p): New functions.
9295 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9296 (desktop--save-minibuffer-frames): New function, inspired by a similar
9297 function from Martin Rudalics.
9298 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9299 (desktop--restore-in-this-display-p): Remove.
9300 (desktop--find-frame): Rename from desktop--find-frame-in-display
9301 and add predicate argument.
9302 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9303 (desktop--reuse-list): New variable.
9304 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9306 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9308 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9310 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9312 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9314 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9315 Highlight conversion methods on Kernel.
9317 2013-07-13 Alan Mackenzie <acm@muc.de>
9319 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9320 and comment it out. This out-commenting enables certain C++
9321 declarations to be parsed correctly.
9323 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9325 * international/mule.el (define-coding-system): Doc fix.
9327 * simple.el (default-font-height): Don't call font-info if the
9328 frame's default font didn't change since the frame was created.
9331 2013-07-13 Leo Liu <sdl.web@gmail.com>
9333 * ido.el (ido-read-file-name): Guard against non-symbol value.
9335 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9337 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9340 2013-07-13 Leo Liu <sdl.web@gmail.com>
9342 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9343 ido-set-matches call. (Bug#6852)
9345 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9347 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9348 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9350 (ruby-font-lock-keywords): Distinguish calls to functions with
9351 module-like names from module references. Highlight character
9354 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9356 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9357 (gdb-send): Handle continued commands. (Bug#14847)
9359 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9361 * desktop.el (desktop--v2s): Remove unused local variable.
9362 (desktop-save-buffer): Make defvar-local; adjust docstring.
9363 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9364 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9366 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9368 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9370 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9372 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9375 2013-07-12 Glenn Morris <rgm@gnu.org>
9377 * doc-view.el: Require cl-lib at runtime too.
9378 (doc-view-remove-if): Remove.
9379 (doc-view-search-next-match, doc-view-search-previous-match):
9382 * edmacro.el: Require cl-lib at runtime too.
9383 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9384 (edmacro-mismatch, edmacro-subseq): Remove.
9386 * shadowfile.el: Require cl-lib.
9387 (shadow-remove-if): Remove.
9388 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9391 * wid-edit.el: Require cl-lib.
9392 (widget-choose): Use cl-remove-if.
9393 (widget-remove-if): Remove.
9395 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9396 (ebrowse-delete-if-not): Remove.
9397 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9398 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9399 Use cl-delete-if-not.
9401 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9403 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9404 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9406 2013-07-12 Leo Liu <sdl.web@gmail.com>
9408 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9410 2013-07-11 Glenn Morris <rgm@gnu.org>
9412 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9413 (edebug-gensym-index, edebug-gensym):
9414 Remove reimplementation of cl-gensym.
9415 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9417 * thumbs.el: Require cl-lib at run-time too.
9418 (thumbs-gensym-counter, thumbs-gensym):
9419 Remove reimplementation of cl-gensym.
9420 (thumbs-temp-file): Use cl-gensym.
9422 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9423 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9424 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9425 (ert--union, ert--gensym-counter, ert--gensym-counter)
9426 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9427 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9428 (ert-make-test-unbound, ert--expand-should-1)
9429 (ert--expand-should, ert--should-error-handle-error)
9430 (should-error, ert--explain-equal-rec)
9431 (ert--plist-difference-explanation, ert-select-tests)
9432 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9433 Use cl-lib functions rather than reimplementations.
9435 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9437 * net/tramp.el (tramp-methods): Extend docstring.
9438 (tramp-connection-timeout): New defcustom.
9439 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9440 (with-tramp-progress-reporter): Simplify.
9441 (tramp-process-actions): Improve messages.
9443 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9444 * net/tramp-sh.el (tramp-maybe-open-connection):
9445 Use `tramp-connection-timeout'.
9446 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9449 2013-07-11 Leo Liu <sdl.web@gmail.com>
9451 * ido.el (ido-read-file-name): Conform to the requirements of
9452 read-file-name. (Bug#11861)
9453 (ido-read-directory-name): Conform to the requirements of
9454 read-directory-name.
9456 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9458 * subr.el (delay-warning): New function.
9460 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9462 * simple.el (default-line-height): New function.
9463 (line-move-partial, line-move): Use it instead of computing the
9465 (line-move-partial): Always compute ROWH. If the last line is
9466 partially-visible, but its text is completely visible, allow
9467 cursor to enter such a partially-visible line.
9469 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9471 Improve error messages. (Bug#14808)
9473 * net/tramp.el (tramp-current-connection): New defvar, moved from
9475 (tramp-message-show-progress-reporter-message): Remove, not
9477 (tramp-error-with-buffer): Show message in minibuffer.
9478 Discard input before waiting. Reset connection timestamp.
9479 (with-tramp-progress-reporter): Improve messages.
9480 (tramp-process-actions): Use progress reporter. Delete process in
9481 case of error. Improve messages.
9483 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9484 Call `tramp-error-with-buffer' with vector and buffer.
9485 (tramp-current-connection): Remove.
9486 (tramp-maybe-open-connection): The car of
9487 `tramp-current-connection' are the first 3 slots of the vector.
9489 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9491 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9492 inside continued strings.
9494 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9496 Timestamp fixes for undo (Bug#14824).
9497 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9499 2013-07-10 Leo Liu <sdl.web@gmail.com>
9501 * files.el (require-final-newline): Allow safe local value.
9504 2013-07-09 Leo Liu <sdl.web@gmail.com>
9506 * ido.el (ido-read-directory-name): Handle fallback.
9507 (ido-read-file-name): Update DIR to ido-current-directory.
9509 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9511 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9513 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9514 "autoload". Remove "warn lower camel case" section, previously
9515 commented out. Highlight negation char. Do not highlight the
9516 target in singleton method definitions.
9518 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9520 * faces.el (tty-setup-hook): Declare the hook.
9522 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9523 and detect when a guard/pred depends on local vars (bug#14773).
9524 (pcase--u1): Adjust caller.
9526 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9528 * simple.el (line-move-partial, line-move): Account for
9530 (line-move-partial): Avoid setting vscroll when the last
9531 partially-visible line in window is of default height.
9533 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9535 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9538 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9540 * subr.el (read-quoted-char): Remove unused local variable `char'.
9542 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9544 * ediff.el (ediff-version): Version update.
9545 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9546 (ediff-merge-with-ancestor-command, ediff-directories-command)
9547 (ediff-directories3-command, ediff-merge-directories-command)
9548 (ediff-merge-directories-with-ancestor-command): New functions.
9549 All are command-line interfaces to ediff: to facilitate calling
9550 Emacs with the appropriate ediff functions invoked.
9552 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9553 (viper-save-kill-buffer): Check if buffer is modified.
9555 * viper.el (viper-version): Version update.
9556 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9558 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9560 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9561 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9562 (viper-intercept-ESC-key): Simplify.
9563 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9564 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9565 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9566 (viper-setup-ESC-to-escape): New functions.
9567 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9568 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9570 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9572 * simple.el (default-font-height, window-screen-lines):
9574 (line-move, line-move-partial): Use them instead of
9575 frame-char-height and window-text-height. This makes scrolling
9576 text smoother when the buffer's default face uses a font that is
9577 different from the frame's default font.
9579 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9581 * files.el (write-file): Do not display confirm dialog for NS,
9582 it does its own dialog, which can't be canceled (Bug#14578).
9584 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9586 * simple.el (line-move-partial): Adjust the row returned by
9587 posn-at-point for the current window-vscroll. (Bug#14567)
9589 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9591 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9592 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9595 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9597 * window.el (window-state-put-stale-windows): New variable.
9598 (window--state-put-2): Save list of windows without matching buffer.
9599 (window-state-put): Remove "bufferless" windows if possible.
9601 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9603 * simple.el (alternatives-define): Remove leftover :group keyword.
9606 2013-07-06 Leo Liu <sdl.web@gmail.com>
9608 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9609 (ido-enable-virtual-buffers): New variable.
9610 (ido-buffer-internal, ido-toggle-virtual-buffers)
9611 (ido-make-buffer-list): Use it.
9612 (ido-exhibit): Support turning on and off virtual buffers
9615 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9617 * simple.el (alternatives-define): New macro.
9619 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * subr.el (read-quoted-char): Use read-key.
9622 (sit-for): Let read-event decode tty input (bug#14782).
9624 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9626 * calendar/todo-mode.el: Add handling of file deletion, both by
9627 mode command and externally. Fix various related bugs.
9628 Clarify Commentary and improve some documentation strings and code.
9629 (todo-delete-file): New command.
9630 (todo-check-file): New function.
9631 (todo-show): Handle external deletion of the file we're trying to
9632 show (bug#14688). Replace called-interactively-p by an optional
9633 prefix argument to avoid problematic interaction with catch form
9634 when byte compiled (bug#14702).
9635 (todo-quit): Handle external deletion of the archive's todo file.
9636 Make sure the buffer that was visiting the archive file is still
9637 live before trying to bury it.
9638 (todo-category-completions): Handle external deletion of any
9639 category completion files.
9640 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9641 of todo files, in case of external deletion.
9642 (todo-add-file): Replace unnecessary setq by let-binding.
9643 (todo-find-archive): Check whether there are any archives.
9644 Replace unnecessary setq by let-binding.
9645 (todo-archive-done-item): Use find-file-noselect to get the
9646 archive buffer whether or not the archive already exists.
9647 Remove superfluous code. Use file size instead of buffer-file-name to
9648 check if the archive is new; if it is, update list of archives.
9649 (todo-default-todo-file): Allow nil to be a valid value for when
9650 there are no todo files.
9651 (todo-reevaluate-default-file-defcustom): Use corrected definition
9652 of todo-default-todo-file.
9653 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9654 (todo-delete-category, todo-show-categories-table)
9655 (todo-category-number): Clarify comment.
9656 (todo-filter-items): Clarify documentation string.
9657 (todo-show-current-file, todo-display-as-todo-file)
9658 (todo-reset-and-enable-done-separator): Tweak documentation string.
9659 (todo-done-separator): Make separator length window-width, since
9660 bug#2749 is now fixed.
9662 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9664 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9665 Support both "gvfs-monitor-dir" and "inotifywait".
9666 (tramp-sh-file-inotifywait-process-filter): Rename from
9667 `tramp-sh-file-notify-process-filter'.
9668 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9669 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9671 2013-07-05 Leo Liu <sdl.web@gmail.com>
9673 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9675 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9677 * frame.el (display-pixel-height, display-pixel-width)
9678 (display-mm-height, display-mm-width): Mention behavior on
9679 multi-monitor setups in docstrings.
9680 (w32-display-monitor-attributes-list): Declare function.
9681 (display-monitor-attributes-list): Use it.
9683 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9685 * filenotify.el: New package.
9687 * autorevert.el (top): Require filenotify.el.
9688 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9690 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9691 (auto-revert-notify-handler): Use `file-notify-*' functions.
9693 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9695 * net/tramp.el (tramp-file-name-for-operation):
9696 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9698 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9699 for `file-notify-add-watch' and `file-notify-rm-watch'.
9700 (tramp-process-sentinel): Improve trace.
9701 (tramp-sh-handle-file-notify-add-watch)
9702 (tramp-sh-file-notify-process-filter)
9703 (tramp-sh-handle-file-notify-rm-watch)
9704 (tramp-get-remote-inotifywait): New defuns.
9706 2013-07-03 Juri Linkov <juri@jurta.org>
9708 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9709 call of `occur-read-primary-args' to interactive spec.
9711 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9712 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9714 2013-07-03 Matthias Meulien <orontee@gmail.com>
9716 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9717 `Buffer-menu-multi-occur'. Add it to the menu.
9718 (Buffer-menu-mode): Document it in docstring.
9719 (Buffer-menu-multi-occur): New command. (Bug#14673)
9721 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9723 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9724 keywords and built-ins.
9726 2013-07-03 Glenn Morris <rgm@gnu.org>
9728 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9730 Make info-xref checks case-sensitive by default
9731 * info.el (Info-find-node, Info-find-in-tag-table)
9732 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9733 Add option for exact case matching of nodes.
9734 * info-xref.el (info-xref): New custom group.
9735 (info-xref-case-fold): New option.
9736 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9738 2013-07-03 Leo Liu <sdl.web@gmail.com>
9740 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9742 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9744 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9745 middle of block statement initially, lower the depth. Remove
9746 FIXME comment, not longer valid. Remove middle of block statement
9747 detection, no need to do that anymore since we've been using
9748 `ruby-parse-region' here.
9750 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9752 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9754 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9756 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9758 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9760 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9761 (desktop-restore-in-current-display): New customization option.
9762 (desktop--excluded-frame-parameters): Add `font'.
9763 (desktop--save-frames): Rename from desktop--save-windows.
9764 (desktop--restore-in-this-display-p): New function.
9765 (desktop--make-full-frame): Remove unwanted width/height from
9766 full(width|height) frames.
9767 (desktop--restore-frames): Rename from desktop--restore-windows.
9768 Obey desktop-restore-current-display. Do not delete old frames or
9769 select a new frame unless we were able to restore at least one frame.
9771 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9773 * files.el (find-file-noselect): Simplify conditional expression.
9775 * textmodes/remember.el (remember-append-to-file):
9776 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9778 Add `remember-notes' function to store random notes across Emacs
9780 * textmodes/remember.el (remember-data-file): Add :set callback to
9781 affect notes buffer (if any).
9782 (remember-notes): New command.
9783 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9784 New defcustoms for the `remember-notes' function.
9785 (remember-notes-save-and-bury-buffer): New command.
9786 (remember-notes-mode-map): New variable.
9787 (remember-mode): New minor mode.
9788 (remember-notes--kill-buffer-query): New function.
9789 * startup.el (initial-buffer-choice): Add notes to custom type.
9791 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9793 * bindings.el (right-char, left-char): Don't call sit-for, this is
9794 no longer needed. Use arithmetic comparison only for numerical
9797 * international/mule-cmds.el (select-safe-coding-system):
9798 Handle the case of FROM being a string correctly. (Bug#14755)
9800 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9802 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9803 progression on degenerate tables.
9804 (shr-rescale-image): ImageMagick animated images currently don't work.
9806 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9808 Some fixes and improvements for desktop frame restoration.
9809 It is still experimental and disabled by default.
9810 * desktop.el (desktop--save-windows): Put the selected frame at
9811 the head of the list.
9812 (desktop--make-full-frame): New function.
9813 (desktop--restore-windows): Try to re-select the frame that was
9814 selected upon saving. Do not abort if some frames fail to restore,
9815 just show an error message and continue. Set up maximized frames
9816 so they have default non-maximized dimensions.
9818 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9820 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9821 Don't start heredoc inside a string or comment.
9823 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9825 * bindings.el (visual-order-cursor-movement): New defcustom.
9826 (right-char, left-char): Provide visual-order cursor motion by
9827 calling move-point-visually. Update the doc strings.
9829 2013-06-28 Kenichi Handa <handa@gnu.org>
9831 * international/mule.el (define-coding-system): New coding system
9832 properties :inhibit-null-byte-detection,
9833 :inhibit-iso-escape-detection, and :prefer-utf-8.
9834 (set-buffer-file-coding-system): If :charset-list property of
9835 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9836 appropriate for setting.
9838 * international/mule-cmds.el (select-safe-coding-system):
9839 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9840 multibyte characters, return utf-8 (or one of its siblings).
9842 * international/mule-conf.el (prefer-utf-8): New coding system.
9843 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9846 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9848 * net/shr.el (shr-render-region): New function.
9850 * net/eww.el: Autoload `eww-browse-url'.
9852 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9854 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9855 Adapt to `package-desc-version' being a list.
9856 Use `package--ac-desc-version' to retrieve version from a package
9859 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9861 New experimental feature to save&restore window and frame setup.
9862 * desktop.el (desktop-save-windows): New defcustom.
9863 (desktop--saved-states): New var.
9864 (desktop--excluded-frame-parameters): New defconst.
9865 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9866 (desktop--restore-windows, desktop--save-windows): New functions.
9867 (desktop-save): Call `desktop--save-windows'.
9868 (desktop-read): Call `desktop--restore-windows'.
9870 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9872 * net/shr.el (add-face-text-property): Remove compat definition.
9874 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9876 * info.el (Info-try-follow-nearest-node): Move search for footnote
9877 above search for node name to prevent missing a footnote (bug#14717).
9879 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9881 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9883 2013-06-27 Leo Liu <sdl.web@gmail.com>
9885 * net/eww.el (eww-read-bookmarks): Check file size.
9887 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9889 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9890 advice--pending if newdef is nil or an autoload (bug#13820).
9891 (advice-mapc): New function.
9893 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9895 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9897 (eww-mode-map): Add a menu bar.
9898 (eww-add-bookmark): New command.
9899 (eww-bookmark-mode): New mode and commands.
9900 (eww-add-bookmark): Remove newlines from the title.
9901 (eww-bookmark-browse): Don't bug out if it's the only window.
9903 2013-06-26 Glenn Morris <rgm@gnu.org>
9905 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9906 (hfy-size): Handle ttys. (Bug#14668)
9908 * info-xref.el: Update for Texinfo 5 change in *note format.
9909 (info-xref-node-re, info-xref-note-re): New constants.
9910 (info-xref-check-buffer): Use info-xref-note-re.
9912 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9916 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9917 nil terminate the loop (bug#14718).
9919 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9921 * net/eww.el: Rework history traversal. When going forward/back,
9922 put these actions into the history, too, so that they can be
9924 (eww-render): Move the history reset to the correct buffer.
9926 2013-06-25 Juri Linkov <juri@jurta.org>
9928 * files-x.el (modify-dir-local-variable): Change the header comment
9929 in the file with directory local variables. (Bug#14692)
9931 * files-x.el (read-file-local-variable-value): Add `default'.
9934 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9936 * net/eww.el (eww-make-unique-file-name): Create a unique file
9937 name before saving to entering `y' accidentally asynchronously.
9939 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9941 * net/eww.el (eww-download): New command and keystroke.
9943 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9945 * net/eww.el (eww-copy-page-url): Change name of command.
9947 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9948 be more consistent with Info and dired.
9950 * net/eww.el (eww-mode-map): Ditto.
9952 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9954 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9955 packages from archives.
9956 (package-archive-contents): Change format; include obsolete packages.
9957 (package-desc): Use `dir' to mark builtin packages.
9958 (package--from-builtin): Set the `dir' field to `builtin'.
9959 (generated-autoload-file, version-control): Declare.
9960 (package-compute-transaction): Change first arg and return value to be
9961 lists of package-descs. Adjust to new package-archive-contents format.
9962 (package--add-to-archive-contents): Adjust to new
9963 package-archive-contents format.
9964 (package-download-transaction): Arg is now a list of package-descs.
9965 (package-install): If `pkg' is a package name, pass it as
9966 a requirement, so it is subject to the usual (e.g. disabled) checks.
9967 (describe-package): Accept package-desc as well.
9968 (describe-package-1): Describe a specific package-desc. Add links to
9969 other package-descs for the same package name.
9970 (package-menu-describe-package): Pass the actual package-desc.
9971 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9973 (package-desc-status): New function.
9974 (package-menu--refresh): New function, extracted
9975 from package-menu--generate.
9976 (package-menu--generate): Use it.
9977 (package-delete): Update package-alist.
9978 (package-menu-execute): Don't call package-initialize.
9980 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9981 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9982 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9983 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9984 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9985 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9987 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9989 * window.el (window--state-get-1): Workaround for bug#14527.
9990 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9992 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9994 * net/eww.el (eww-back-url): Implement the history by stashing all
9995 the data into a list.
9996 (eww-forward-url): Allow going forward in the history, too.
9998 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10000 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10001 for values and use read--expression for expressions (bug#14710).
10002 (read-file-local-variable): Avoid setq.
10003 (read-file-local-variable-mode): Use minor-mode-list.
10005 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10007 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10010 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10012 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10013 Update imenu-support when dialect changes.
10015 2013-06-25 Leo Liu <sdl.web@gmail.com>
10017 * ido.el (ido-read-internal): Allow forward slash on windows.
10019 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10021 * net/eww.el (eww): Start of strings is \\`, not ^.
10023 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10025 * net/shr.el (shr-browse-url): Fix interactive spec.
10027 * net/eww.el (eww): Add a trailing slash to domain names.
10029 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10031 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10033 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10035 * net/shr.el (shr-browse-url): Use an external browser if given a
10038 * net/eww.el (eww-external-browser): Move to shr.
10040 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10042 * net/eww.el (eww): Work more correctly for file: URLs.
10043 (eww-detect-charset): Allow quoted charsets.
10044 (eww-yank-page-url): New command and keystroke.
10046 2013-06-24 Daiki Ueno <ueno@gnu.org>
10048 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10049 file name of gpg executable.
10050 (epg-context-program): New function.
10051 (epg-context-home-directory): New function.
10052 (epg-context-set-program): New function.
10053 (epg-context-set-home-directory): New function.
10054 (epg--start): Use `epg-context-program' instead of
10056 (epg--list-keys-1): Likewise.
10058 2013-06-24 Leo Liu <sdl.web@gmail.com>
10060 * ido.el (ido-read-internal): Fix bug#14620.
10062 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10064 * faces.el (face-documentation): Simplify.
10065 (read-face-attribute, tty-find-type, x-resolve-font-name):
10066 Use `string-match-p'.
10067 (list-faces-display): Use `string-match-p'. Simplify.
10068 (face-spec-recalc): Check face to avoid face alias loops.
10069 (read-color): Use `string-match-p' and non-capturing parenthesis.
10071 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10073 * net/shr.el (shr-rescale-image): Use the new
10074 :max-width/:max-height functionality.
10076 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10078 * net/eww.el (eww-search-prefix): New variable.
10080 (eww-external-browser): New variable.
10081 (eww-mode-map): New keystroke.
10082 (eww-browse-with-external-browser): New command.
10084 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10086 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10088 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10089 Don't skip aligning the next header field when padding is 0;
10090 otherwise, field width is not respected unless the title is as
10093 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * emacs-lisp/package.el (package-el-version): Remove.
10096 (package-process-define-package): Fix inf-loop.
10097 (package-install): Allow symbols as arguments again.
10099 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10101 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10102 add some more keyword-like methods.
10103 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10105 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10107 * bs.el (bs-buffer-show-mark): Make defvar-local.
10108 (bs-mode): Use setq-local.
10110 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10111 (emacs-lock--try-unlocking): Make defvar-local.
10113 2013-06-22 Glenn Morris <rgm@gnu.org>
10115 * play/cookie1.el (cookie-apropos): Minor simplification.
10117 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10119 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10121 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10122 `regexp-opt', it breaks the build during dumping.
10124 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10126 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10127 Highlight keyword-like methods on Kernel and Module with
10128 font-lock-builtin-face.
10129 (auto-mode-alist): Consolidate different entries into one regexp
10130 and add more *file-s.
10132 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10134 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10136 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10137 (diary-entry): Use it in the action of this button type instead of
10140 * calendar/todo-mode.el: New version.
10141 (todo-add-category): Append new category to end of file and give
10142 it the highest number, instead of putting it at the beginning and
10143 giving it 0. Incorporate noninteractive functionality.
10144 (todo-forward-category): Adapt to 1-based category numbering.
10145 Allow skipping over archived categories.
10146 (todo-backward-category): Derive from todo-forward-category.
10147 (todo-backward-item, todo-forward-item): Make noninteractive and
10148 delegate interactive part to new commands. Make sensitive to done items.
10149 (todo-categories): Make value an alist of category names and
10150 vectors of item counts.
10151 (todo-category-beg): Make a defconst.
10152 (todo-category-number): Use 1 instead of 0 as initial value.
10153 (todo-category-select): Make sensitive to overlays, optional item
10154 highlighting and done items.
10155 (todo-delete-item): Make sensitive to overlays and marked and done items.
10156 (todo-edit-item): Make sensitive to overlays and editing of
10157 date/time header optional. Add format checks.
10158 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10159 no-op if point is not on an item. Advertise using todo-edit-quit.
10160 (todo-edit-mode): Make sensitive to new format, font-locking, and
10161 multiple todo files.
10162 (todo-insert-item, todo-insert-item-here): Derive from
10163 todo-basic-insert-item and extend functionality.
10164 (todo-item-end, todo-item-start): Make sensitive to done items.
10165 (todo-item-string): Don't return text properties. Restore point.
10166 (todo-jump-to-category): Make sensitive to multiple todo files and
10167 todo archives. Use extended category completion.
10168 (todo-lower-item, todo-raise-item): Rename to *-priority and
10169 derive from todo-set-item-priority.
10170 (todo-mode): Derive from special-mode. Make sensitive to new
10171 format, font-locking and multiple todo files. Make read-only.
10172 (todo-mode-map): Don't suppress digit keys, so they can supply
10173 prefix arguments. Add many new key bindings.
10174 (todo-prefix): Insert as an overlay instead of file text.
10175 Change semantics from diary date expression to purely visual mark.
10176 (todo-print): Rename to todo-print-buffer. Make buffer display
10177 features printable. Remove option to restrict number of items
10178 printed. Add option to print to file.
10179 (todo-print-function): Rename to todo-print-buffer-function.
10180 (todo-quit): Extend to handle exiting new todo modes.
10181 (todo-remove-item): Make sensitive to overlays.
10182 (todo-save): Extend to buffers of filtered items.
10183 (todo-show): Make sensitive to done items, multiple todo files and
10184 new todo modes. Offer to convert legacy todo file before creating
10185 first new todo file.
10186 (todo-show-priorities): Rename to todo-top-priorities.
10187 Change semantics of value 0.
10188 (todo-top-priorities): Rename to todo-filter-top-priorities,
10189 derive from todo-filter-items and extend functionality.
10190 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10191 and extend functionality to other types of filtered items.
10192 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10193 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10194 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10195 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10196 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10197 (todo-edit-mode-hook, todo-entry-prefix-function)
10198 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10199 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10200 (todo-initials, todo-insert-threshold, todo-item-string-start)
10201 (todo-line-string, todo-menu, todo-mode-hook)
10202 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10203 (todo-print-priorities, todo-remove-separator)
10204 (todo-save-top-priorities-too, todo-string-count-lines)
10205 (todo-string-multiline-p, todo-time-string-format)
10206 (todo-tmp-buffer-name): Remove.
10207 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10208 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10209 (todo-edit-category-diary-inclusion)
10210 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10211 (todo-edit-file, todo-edit-item-date-day)
10212 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10213 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10214 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10215 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10216 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10217 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10218 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10219 (todo-filter-top-priorities-multifile, todo-find-archive)
10220 (todo-find-filtered-items-file, todo-go-to-source-item)
10221 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10222 (todo-jump-to-archive-category, todo-lower-category)
10223 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10224 (todo-move-category, todo-move-item, todo-next-button)
10225 (todo-next-item, todo-padded-string, todo-powerset)
10226 (todo-previous-button, todo-previous-item)
10227 (todo-print-buffer-to-file, todo-raise-category)
10228 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10229 (todo-set-category-number, todo-set-item-priority)
10230 (todo-set-top-priorities-in-category)
10231 (todo-set-top-priorities-in-file, todo-show-categories-table)
10232 (todo-sort-categories-alphabetically-or-numerically)
10233 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10234 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10235 (todo-toggle-item-header, todo-toggle-item-highlighting)
10236 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10237 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10238 (todo-unarchive-items, todo-unmark-category): New commands.
10239 (todo-absolute-file-name, todo-add-to-buffer-list)
10240 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10241 (todo-basic-insert-item, todo-category-completions)
10242 (todo-category-number, todo-category-string-matcher-1)
10243 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10244 (todo-check-format, todo-clear-matches)
10245 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10246 (todo-current-category, todo-date-string-matcher)
10247 (todo-define-insertion-command, todo-diary-expired-matcher)
10248 (todo-diary-goto-entry, todo-diary-item-p)
10249 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10250 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10251 (todo-done-item-section-p, todo-done-separator)
10252 (todo-done-string-matcher, todo-files, todo-filter-items)
10253 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10254 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10255 (todo-insert-category-line, todo-insert-item-from-calendar)
10256 (todo-insert-sort-button, todo-insert-with-overlays)
10257 (todo-insertion-command-name, todo-insertion-key-bindings)
10258 (todo-label-to-key, todo-longest-category-name-length)
10259 (todo-make-categories-list, todo-mode-external-set)
10260 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10261 (todo-modes-set-3, todo-multiple-filter-files)
10262 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10263 (todo-read-category, todo-read-date, todo-read-dayname)
10264 (todo-read-file-name, todo-read-time)
10265 (todo-reevaluate-category-completions-files-defcustom)
10266 (todo-reevaluate-default-file-defcustom)
10267 (todo-reevaluate-filelist-defcustoms)
10268 (todo-reevaluate-filter-files-defcustom)
10269 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10270 (todo-reset-done-separator, todo-reset-done-separator-string)
10271 (todo-reset-done-string, todo-reset-global-current-todo-file)
10272 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10273 (todo-reset-prefix, todo-set-categories)
10274 (todo-set-date-from-calendar, todo-set-show-current-file)
10275 (todo-set-top-priorities, todo-short-file-name)
10276 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10277 (todo-total-item-counts, todo-update-buffer-list)
10278 (todo-update-categories-display, todo-update-categories-sexp)
10279 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10281 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10283 (todo-categories, todo-display, todo-edit, todo-faces)
10284 (todo-filtered): New defgroups.
10285 (todo-archived-only, todo-button, todo-category-string, todo-date)
10286 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10287 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10288 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10289 (todo-add-item-if-new-category, todo-always-add-time-string)
10290 (todo-categories-align, todo-categories-archived-label)
10291 (todo-categories-category-label, todo-categories-diary-label)
10292 (todo-categories-done-label, todo-categories-number-separator)
10293 (todo-categories-todo-label, todo-categories-totals-label)
10294 (todo-category-completions-files, todo-completion-ignore-case)
10295 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10296 (todo-done-separator-string, todo-done-string)
10297 (todo-files-function, todo-filter-done-items, todo-filter-files)
10298 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10299 (todo-initial-category, todo-initial-file, todo-item-mark)
10300 (todo-legacy-date-time-regexp, todo-mode-line-function)
10301 (todo-nondiary-marker, todo-number-prefix)
10302 (todo-print-buffer-function, todo-show-current-file)
10303 (todo-show-done-only, todo-show-first, todo-show-with-done)
10304 (todo-skip-archived-categories, todo-top-priorities-overrides)
10305 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10306 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10308 (todo-category-done, todo-date-pattern, todo-date-string-start)
10309 (todo-diary-items-buffer, todo-done-string-start)
10310 (todo-filtered-items-buffer, todo-item-start)
10311 (todo-month-abbrev-array, todo-month-name-array)
10312 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10313 (todo-top-priorities-buffer): New defconsts.
10314 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10315 (todo-categories-with-marks, todo-category-string-face)
10316 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10317 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10318 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10319 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10320 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10321 (todo-font-lock-keywords, todo-global-current-todo-file)
10322 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10323 (todo-insertion-commands-args)
10324 (todo-insertion-commands-args-genlist)
10325 (todo-insertion-commands-names, todo-insertion-map)
10326 (todo-key-bindings-t, todo-key-bindings-t+a)
10327 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10328 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10329 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10330 (todo-visited): New variables.
10332 2013-06-21 Glenn Morris <rgm@gnu.org>
10334 * play/cookie1.el (cookie-apropos): Add optional display argument.
10335 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10336 (psychoanalyze-pinhead): Use cookie-doctor.
10338 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10340 * emacs-lisp/package.el (tar-get-file-descriptor)
10341 (tar--extract): Declare.
10343 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10345 Extend flymake's warning predicate to be a function (bug#14217).
10346 * progmodes/flymake.el (flymake-warning-predicate): New.
10347 (flymake-parse-line): Use it.
10348 (flymake-warning-re): Make obsolete alias to
10349 `flymake-warning-predicate'.
10351 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10353 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10354 (package-obsolete-list): Remove.
10355 (package-activate): Remove min-version argument. Add `force' argument.
10356 Adjust to new package-alist format.
10357 (package-mark-obsolete): Remove.
10358 (package-unpack): Force reload of the package's autoloads.
10359 (package-installed-p): Check builtins if the installed package is not
10361 (package-initialize): Don't reset package-obsolete-list.
10362 Don't specify which package version to activate.
10363 (package-process-define-package, describe-package-1)
10364 (package-menu--generate): Adjust to new package-alist format.
10366 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10368 * allout-widgets.el (allout-widgets-mode-off)
10369 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10370 (allout-widgets-post-command-business)
10371 (allout-widgets-after-copy-or-kill-function)
10372 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10373 (allout-decorate-item-and-context)
10374 (allout-graphics-modification-handler): Fix typos in docstrings.
10375 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10377 * cmuscheme.el (scheme-start-file): Doc fix.
10378 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10379 (scheme-input-filter): Use `string-match-p'.
10381 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10383 * dired-x.el: Use Dired consistently in docstrings.
10385 * dired.el: Use Dired consistently in docstrings.
10386 (dired-readin, dired-mode): Use `setq-local'.
10387 (dired-switches-alist): Make defvar-local.
10388 (dired-buffers-for-dir): Use `zerop'.
10389 (dired-safe-switches-p, dired-switches-escape-p)
10390 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10391 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10392 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10393 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10394 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10395 (dired-toggle-marks, dired-mark-files-containing-regexp)
10396 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10397 (dired-flag-auto-save-files, dired-flag-backup-files):
10398 Use `looking-at-p'.
10399 (dired-mark-files-regexp, dired-build-subdir-alist):
10400 Use `string-match-p', `looking-at-p'.
10402 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10403 (direct-print-region-helper): Use `string-match-p'.
10405 2013-06-21 Leo Liu <sdl.web@gmail.com>
10407 * comint.el (comint-redirect-results-list-from-process):
10410 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10412 * net/eww.el (eww-update-header-line-format): Quote % characters.
10414 2013-06-21 Glenn Morris <rgm@gnu.org>
10416 * play/cookie1.el (cookie): New custom group.
10417 (cookie-file): New option.
10418 (cookie-check-file): New function.
10419 (cookie): Make it interactive. Make start and end messages optional.
10420 Interactively, display the result. Default to cookie-file.
10421 (cookie-insert): Default to cookie-file.
10422 (cookie-snarf): Make start and end messages optional.
10423 Default to cookie-file. Use with-temp-buffer.
10424 (cookie-read): Rename from read-cookie.
10425 Make start and end messages optional. Default to cookie-file.
10426 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10427 Do not autoload it.
10428 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10429 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10431 2013-06-21 Leo Liu <sdl.web@gmail.com>
10433 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10435 2013-06-21 Glenn Morris <rgm@gnu.org>
10437 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10439 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10440 Daniel Hackney <dan@haxney.org>
10442 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10443 Consolidate the single-file vs tarball code.
10444 (package-desc-suffix): New function.
10445 (package-desc-full-name): Don't bother inlining it.
10446 (package-load-descriptor): Return the new package-desc.
10447 (package-mark-obsolete): Remove unused arg `package'.
10448 (package-unpack): Make it work for single files as well.
10449 Make it update package-alist.
10450 (package--make-autoloads-and-stuff): Rename from
10451 package--make-autoloads-and-compile. Don't compile any more.
10452 (package--compile): New function.
10453 (package-generate-description-file): New function, extracted from
10454 package-unpack-single.
10455 (package-unpack-single): Remove.
10456 (package--with-work-buffer): Add indentation and debugging info.
10457 (package-download-single): Remove.
10458 (package-install-from-archive): Rename from package-download-tar, make
10459 it take a pkg-desc, and make it work for single files as well.
10460 (package-download-transaction): Simplify.
10461 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10462 external tar program.
10463 (package-install-from-buffer): Remove `pkg-desc' argument.
10464 Use package-tar-file-info for tar-mode buffers.
10465 (package-install-file): Simplify accordingly.
10466 (package-archive-base): Change to take a pkg-desc.
10467 * tar-mode.el (tar--check-descriptor): New function, extracted from
10468 tar-get-descriptor.
10469 (tar-get-descriptor): Use it.
10470 (tar-get-file-descriptor): New function.
10471 (tar--extract): New function, extracted from tar-extract.
10472 (tar--extract): Use it.
10473 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10474 case the summary uses non-ascii. Adjust to new calling convention of
10475 package-tar-file-info.
10477 2013-06-21 Leo Liu <sdl.web@gmail.com>
10479 * comint.el (comint-redirect-results-list-from-process):
10480 Fix random delay. (Bug#14681)
10482 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10484 * profiler.el (profiler-format-number): Use log, not log10.
10486 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10488 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10490 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10492 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10493 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10495 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10496 (AUTOGENEL): ... here.
10497 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10498 (cl--defsubst-expand): Use it.
10500 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10502 * subr.el (log10): Move here from C code, and declare as obsolete.
10503 All uses of (log10 X) replaced with (log X 10).
10505 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10507 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10508 Declare with `defvar-local'.
10509 (tabulated-list-use-header-line, tabulated-list-entries)
10510 (tabulated-list-padding, tabulated-list-printer)
10511 (tabulated-list-sort-key): Declare with `defvar-local'.
10512 (tabulated-list-init-header, tabulated-list-print-fake-header):
10515 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10517 * arc-mode.el (archive-mode): Add `archive-write-file' to
10518 `write-contents-functions' also for remote files. (Bug#14652)
10520 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10522 * cus-edit.el (custom-commands): Fix typos.
10523 (custom-display): Fix tooltip text.
10524 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10525 Fix typos in docstrings.
10526 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10527 (custom-unlispify-menu-entry, custom-magic-value-create)
10528 (custom-add-see-also, custom-group-value-create): Use ?\s.
10529 (custom-guess-type, customize-apropos, editable-field)
10530 (custom-face-value-create): Use `string-match-p'.
10531 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10533 * custom.el (custom-load-symbol): Use `string-match-p'.
10535 * ansi-color.el: Convert to lexical binding.
10536 (ansi-colors): Fix URL.
10537 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10538 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10539 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10541 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10543 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10545 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10547 2013-06-19 Tom Tromey <tromey@redhat.com>
10549 * net/eww.el (eww-top-url): Remove.
10550 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10551 (eww-render): Set new variables. Don't set eww-top-url.
10552 (eww-handle-link): Handle "prev", "home", and "contents".
10553 Downcase the rel text.
10554 (eww-top-url): Choose best top URL.
10556 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10558 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10559 relying in widget.el. Using widget.el leads to too many
10560 user interface inconsistencies.
10561 (eww-self-insert): Implement entering commands in text fields.
10562 (eww-process-text-input): New function to make text input field editing
10564 (eww-submit): Rewrite to use the new-style form methods.
10565 (eww-select-display): Display the correct selected item.
10566 (eww-change-select): Implement changing the select value.
10567 (eww-toggle-checkbox): Implement radio/checkboxes.
10568 (eww-update-field): Fix compilation error.
10569 (eww-tag-textarea): Implement <textarea>.
10571 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10572 we don't shadow mode-specific bindings.
10574 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10577 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10579 2013-06-19 Glenn Morris <rgm@gnu.org>
10581 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10583 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10585 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10588 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10590 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10592 * net/browse-url.el (browse-url-browser-function):
10593 `eww-browse-url' has the right calling signature, `eww' does not.
10595 2013-06-19 Glenn Morris <rgm@gnu.org>
10597 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10598 Only eval autoloaded macros.
10599 (byte-compile-autoload): Only give the macro warning for macros.
10601 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10602 (ps-underlined-faces): Declare.
10604 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10605 (speedbar-add-supported-extension): Declare.
10607 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10608 Don't include a date stamp in the header of the generated file;
10609 it leads to needless differences between output files.
10611 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10613 * net/secrets.el (secrets-struct-secret-content-type):
10614 Replace check of introspection data by a test call of "CreateItem".
10615 Some servers do not offer introspection.
10617 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10619 * electric.el (electric-pair-mode): Improve interaction with
10620 electric-layout-mode.
10621 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10622 (electric-pair-syntax): Use text-mode-syntax-table in comments
10624 (electric-pair--insert): New function.
10625 (electric-pair-post-self-insert-function): Use it and
10626 electric--after-char-pos.
10628 2013-06-19 Leo Liu <sdl.web@gmail.com>
10630 * progmodes/octave.el (octave-help): Fix regexp.
10632 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10634 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10635 (shr-table-horizontal-line): Allow nil as a value, and change the
10637 (shr-insert-table-ruler): Respect the nil value.
10639 2013-06-18 Tom Tromey <tromey@barimba>
10641 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10643 (eww-open-file): New defun.
10644 (eww-render): Initialize new variables.
10645 (eww-display-html): Handle "link" and "a".
10646 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10647 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10648 (eww-back-url): Rename from eww-previous-url.
10649 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10652 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10654 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10655 Distinguish ternary operator tokens from slash symbol and slash
10658 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10660 Convert symbol prettification into minor mode and global minor mode.
10662 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10663 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10664 (prettify-symbols--keywords): Rename from
10665 `prog-prettify-symbols-alist' and make a local defvar.
10666 (prettify-symbols--compose-symbol): Rename from
10667 `prog--prettify-font-lock-compose-symbol'.
10668 (prettify-symbols--make-keywords): Rename from
10669 `prog-prettify-font-lock-symbols-keywords' and simplify.
10670 (prog-prettify-install): Remove.
10671 (prettify-symbols-mode): New minor mode, based on
10672 `prog-prettify-install'.
10673 (turn-on-prettify-symbols-mode): New function.
10674 (global-prettify-symbols-mode): New globalized minor mode.
10676 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10677 * progmodes/cfengine.el (cfengine3-mode):
10678 * progmodes/perl-mode.el (perl-mode): Don't call
10679 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10681 2013-06-18 Juri Linkov <juri@jurta.org>
10683 * files-x.el (modify-file-local-variable-message): New function.
10684 (modify-file-local-variable)
10685 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10686 and call `modify-file-local-variable-message' when it's non-nil.
10687 (add-file-local-variable, delete-file-local-variable)
10688 (add-file-local-variable-prop-line)
10689 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10690 and use it. (Bug#9820)
10692 2013-06-18 Juri Linkov <juri@jurta.org>
10694 * emulation/vi.el (vi-shell-op):
10695 * emulation/vip.el (vip-execute-com, ex-command):
10696 * emulation/viper-cmd.el (viper-exec-bang):
10697 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10698 the call of `shell-command-on-region'. (Bug#14637)
10700 * simple.el (shell-command-on-region): Doc fix.
10702 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10707 2013-06-18 Glenn Morris <rgm@gnu.org>
10709 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10711 * newcomment.el (comment-search-forward, comment-search-backward):
10712 Doc fix. (Bug#14376)
10714 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10716 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10717 (buffer-face-mode-invoke): Doc fix.
10719 2013-06-18 Matthias Meulien <orontee@gmail.com>
10721 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10722 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10724 2013-06-18 Glenn Morris <rgm@gnu.org>
10726 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10727 Replace obsolete function generic-make-keywords with its expansion.
10729 * progmodes/python.el (ffap-alist): Declare.
10731 * textmodes/reftex.el (bibtex-mode-map): Declare.
10733 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10735 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10736 (package-unpack, package-unpack-single): Return the pkg-dir.
10737 (package-download-transaction): Use it to update package-alist.
10739 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10741 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10744 2013-06-17 Juri Linkov <juri@jurta.org>
10746 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10748 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10750 * emacs-lisp/package.el (package-load-descriptor):
10751 Remove `with-syntax-table' call, `read' doesn't need it.
10752 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10754 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10756 * startup.el (command-line): Expand package name returned by
10757 `package--description-file' (bug#14639).
10759 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10761 * emacs-lisp/package.el (package-load-descriptor): Do not call
10762 `emacs-lisp-mode', just use its syntax table.
10764 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10766 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10767 `font-lock-extra-managed-props' if any prettifying keyword is added.
10768 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10769 (prog-mode): Use `setq-local'.
10771 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10773 * international/characters.el (standard-case-table): Set syntax of ?»
10774 and ?« to punctuation.
10776 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10778 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10779 Save relevant match data before calling `syntax-ppss' (bug#14595).
10781 2013-06-15 Juri Linkov <juri@jurta.org>
10783 * files-x.el (modify-file-local-variable-prop-line): Add local
10784 variables to the end of the existing comment on the first line.
10785 Use `file-auto-mode-skip' to skip interpreter magic line,
10786 and also skip XML declaration.
10788 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10790 * startup.el (package--builtin-versions): New var.
10791 (package-subdirectory-regexp): Remove.
10792 (package--description-file): Hard code its value instead.
10794 * emacs-lisp/package.el: Don't activate packages older than builtin.
10795 (package-obsolete-list): Rename from package-obsolete-alist, and make
10796 it into a simple list of package-desc.
10797 (package-strip-version): Remove.
10798 (package-built-in-p): Use package--builtin-versions.
10799 (package-mark-obsolete): Simplify.
10800 (package-process-define-package): Mark it obsolete if older than the
10802 (package-handle-response): Use line-end-position.
10803 (package-read-archive-contents, package--download-one-archive):
10805 (package--add-to-archive-contents): Skip if older than the builtin or
10807 (package-menu-describe-package): Fix last change.
10808 (package-list-unversioned): New var.
10809 (package-menu--generate): Use it.
10811 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10812 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10813 (autoload-builtin-package-versions): New variable.
10814 (autoload-generate-file-autoloads): Use them.
10815 Remove the list of autoloaded functions/macros from the
10816 (autoload...) comments.
10818 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10820 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10822 * simple.el (line-move-partial): Don't jump to the next screen
10823 line as soon as it becomes visible. Instead, continue enlarging
10824 the vscroll until the portion of a tall screen line that's left on
10825 display is about the height of the frame's default font.
10828 2013-06-15 Glenn Morris <rgm@gnu.org>
10830 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10831 compilation-error-regexp-alist void, or local while let-bound.
10833 * progmodes/make-mode.el (makefile-mode-syntax-table):
10834 Treat "=" as punctuation. (Bug#14614)
10836 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10838 * help-fns.el (describe-variable):
10839 Add extra line for permanent-local variables.
10841 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10843 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10844 Add export, import, library. (Bug#9164)
10845 (library): Set indent function.
10847 2013-06-14 Glenn Morris <rgm@gnu.org>
10849 * term/xterm.el (xterm--query):
10850 Stop after first matching handler. (Bug#14615)
10852 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10854 Add support for dired in saveplace.
10855 * dired.el (dired-initial-position-hook): New variable.
10856 (dired-initial-position): Call hook to place cursor position.
10857 * saveplace.el (save-place-to-alist): Add dired position.
10858 (save-place-dired-hook): New function.
10860 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10862 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10863 through a symbol rather than letrec.
10865 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10866 (package-desc): Add `dir' field.
10867 (package-desc-full-name): New function.
10868 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10869 (package-maybe-load-descriptor): Remove.
10870 (package-load-all-descriptors): Just call package-load-descriptor.
10871 (package--disabled-p): New function.
10872 (package-desc-vers, package-desc-doc): Remove aliases.
10873 (package--dir): Remove function.
10874 (package-activate): Check if a package is disabled.
10875 (package-process-define-package): New function, extracted from
10877 (define-package): Turn into a place holder.
10878 (package-unpack-single, package-tar-file-info):
10879 Use package--description-file.
10880 (package-compute-transaction): Use package--disabled-p.
10881 (package-download-transaction): Don't call
10882 package-maybe-load-descriptor since they're all loaded anyway.
10883 (package-install): Change argument to be a pkg-desc.
10884 (package-delete): Use a single pkg-desc argument.
10885 (describe-package-1): Use package-desc-dir instead of package--dir.
10886 Use package-desc property instead of package-symbol.
10887 (package-install-button-action): Adjust accordingly.
10888 (package--push): Rewrite.
10889 (package-menu--print-info): Adjust accordingly. Change the ID format
10891 (package-menu-describe-package, package-menu-get-status)
10892 (package-menu--find-upgrades, package-menu-mark-upgrades)
10893 (package-menu-execute, package-menu--name-predicate):
10894 Adjust accordingly.
10895 * startup.el (package--description-file): New function.
10896 (command-line): Use it.
10897 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10898 Use package-desc-version.
10900 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10901 (byte-compile-preprocess): Use it.
10902 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10903 can't quite recognize.
10904 (byte-compile-add-to-list): Remove.
10905 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10906 (cconv-closure-convert): Add assertion.
10908 * emacs-lisp/map-ynp.el: Use lexical-binding.
10909 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10910 Factor out some repeated code.
10912 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10914 * subr.el (with-eval-after-load): New macro.
10915 (eval-after-load): Allow form to be a function.
10916 take advantage of lexical-binding.
10917 (do-after-load-evaluation): Use dolist and adjust to new format.
10918 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10920 2013-06-13 Juri Linkov <juri@jurta.org>
10922 * replace.el (perform-replace): Display "symbol " and other search
10923 modes from `isearch-message-prefix' in the *Help* buffer.
10925 * isearch.el (isearch-query-replace): Add " symbol" and other
10926 possible search modes from `isearch-message-prefix' to the prompt.
10927 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10928 when reading a regexp to collect.
10930 2013-06-13 Juri Linkov <juri@jurta.org>
10932 * isearch.el (word-search-regexp): Match whitespace if the search
10933 string begins or ends in whitespace. The LAX arg is applied to
10934 both ends of the search string. Use `regexp-quote' and explicit
10935 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10936 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10937 boundaries are replaced with symbol boundaries, and characters
10938 between symbols match non-word non-symbol syntax. (Bug#14602)
10940 2013-06-13 Juri Linkov <juri@jurta.org>
10942 * isearch.el (isearch-del-char): Don't exceed the length of
10943 `isearch-string' by the prefix arg. (Bug#14563)
10945 2013-06-13 Juri Linkov <juri@jurta.org>
10947 * isearch.el (isearch-yank-word, isearch-yank-line)
10948 (isearch-char-by-name, isearch-quote-char)
10949 (isearch-printing-char, isearch-process-search-char):
10950 Add optional count prefix arg. (Bug#14563)
10952 * international/isearch-x.el
10953 (isearch-process-search-multibyte-characters):
10954 Add optional count prefix arg.
10956 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10958 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10959 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10962 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10964 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10966 2013-06-13 Glenn Morris <rgm@gnu.org>
10968 * startup.el (tty-handle-args):
10969 Don't just discard "--" and anything after. (Bug#14608)
10971 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10973 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10975 Implement changes in Secret Service API. Make it backward compatible.
10976 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10977 (secrets-create-item): Use it. Prefix properties with interface.
10979 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10981 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10982 (term-emulate-terminal): Respect term-suppress-hard-newline.
10984 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10986 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10987 Only remove a `thumb-file' overlay. (Bug#14548)
10989 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10991 * mail/reporter.el (reporter-submit-bug-report):
10992 Handle missing package-name. (Bug#14600)
10994 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10996 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10997 (reftex-citation-prompt, reftex-default-bibliography)
10998 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10999 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11000 (reftex-bib-sort-author, reftex-bib-sort-year)
11001 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11002 (reftex-extract-bib-entries-from-thebibliography)
11003 (reftex-get-bibkey-default, reftex-get-bib-names)
11004 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11005 (reftex-format-bib-entry, reftex-parse-bibitem)
11006 (reftex-format-bibitem, reftex-do-citation)
11007 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11008 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11009 (reftex-insert-bib-matches, reftex-format-citation)
11010 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11011 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11012 existing comments into docstrings.
11014 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11016 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11018 2013-06-12 Andreas Schwab <schwab@suse.de>
11020 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11021 for auto-save files.
11023 2013-06-12 Glenn Morris <rgm@gnu.org>
11025 * ido.el (ido-delete-ignored-files): Remove.
11026 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11027 Go back to calling ido-ignore-item-p directly.
11029 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11031 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11033 * ido.el (ido-delete-ignored-files): New function,
11034 split from ido-make-file-list-1.
11035 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11036 (ido-make-file-list-1): Use ido-delete-ignored-files.
11038 2013-06-12 Leo Liu <sdl.web@gmail.com>
11040 * progmodes/octave.el (inferior-octave-startup)
11041 (inferior-octave-completion-table)
11042 (inferior-octave-track-window-width-change)
11043 (octave-eldoc-function-signatures, octave-help)
11044 (octave-find-definition): Use single quoted strings.
11045 (inferior-octave-startup-args): Change default value.
11046 (inferior-octave-startup): Do not hard code "-i" and
11047 "--no-line-editing".
11048 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11049 (inferior-octave-directory-tracker): Use it.
11050 (octave-goto-function-definition): Robustify.
11051 (octave-help): Support highlighting operators in 'See also'.
11052 (octave-find-definition): Find subfunctions only in Octave mode.
11054 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11056 * help-fns.el (help-fns--compiler-macro): If the handler function is
11057 named, then put a link to it.
11058 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11059 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11060 (cl-typep): Use it.
11061 (cl-eval-when): Simplify debug spec.
11062 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11063 compiler-macro function instead of setting `compiler-macro-file'.
11065 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11067 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11068 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11070 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11071 Daniel Hackney <dan@haxney.org>
11073 First part of Daniel Hackney's patch to package.el.
11074 * emacs-lisp/package.el: Use defstruct.
11075 (package-desc): New, main struct.
11076 (package--bi-desc, package--ac-desc): New structs, used to describe the
11077 format in external files.
11078 (package-desc-vers): Replace with package-desc-version accessor.
11079 (package-desc-doc): Replace with package-desc-summary accessor.
11080 (package-activate-1): Remove `package' arg since the pkg-vec now
11082 (define-package): Use package-desc-from-define.
11083 (package-unpack-single): Change file-name arg to be a symbol.
11084 (package--add-to-archive-contents): Use package-desc-create and new
11085 accessor functions to package--ac-desc.
11086 (package-buffer-info, package-tar-file-info): Return a package-desc.
11087 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11088 arg to be a package-desc.
11089 (package-install-file): Adjust accordingly. Use \' to match EOS.
11090 (package--from-builtin): New function.
11091 (describe-package-1, package-menu--generate): Use it.
11092 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11093 (package-generate-autoloads): Idem and return the name of the file.
11094 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11095 Change pkg-info arg to be a package-desc.
11096 Use package-make-ac-desc.
11097 (package-upload-file): Use \' to match EOS.
11098 * finder.el (finder-compile-keywords): Use package-make-builtin.
11100 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11102 * vc/vc.el (vc-deduce-fileset): Change error message.
11103 (vc-read-backend): New function.
11104 (vc-next-action): Use it.
11106 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11108 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11109 (prolog-font-lock-keywords): Use regexp-opt instead.
11110 Don't manually highlight strings.
11111 (prolog-mode-variables): Simplify comment-start-skip.
11112 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11114 * emacs-lisp/generic.el (generic--normalise-comments)
11115 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11116 (generic-mode-set-comments): Use them.
11117 (generic-bracket-support): Use setq-local.
11118 (generic-make-keywords-list): Declare obsolete.
11120 2013-06-11 Glenn Morris <rgm@gnu.org>
11122 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11123 Prettify after setting font-lock-defaults. (Bug#14574)
11125 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11127 * replace.el (query-replace, occur-read-regexp-defaults-function)
11129 * subr.el (declare-function, number-sequence, local-set-key)
11130 (substitute-key-definition, locate-user-emacs-file)
11131 (with-silent-modifications, split-string, eval-after-load):
11132 Fix typos, remove unneeded backslashes and reflow some docstrings.
11134 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11136 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11137 default for Elisp files.
11139 2013-06-11 Glenn Morris <rgm@gnu.org>
11141 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11142 although define-derived-mode was doing this anyway. (Bug#14583)
11144 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11146 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11147 Fix make-variable-buffer-local call to refer to the correct variable.
11149 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11151 * eshell/em-term.el (eshell-visual-commands)
11152 (eshell-visual-subcommands, eshell-visual-options):
11153 Add summary line to docstrings. Add cross-references.
11155 2013-06-10 Glenn Morris <rgm@gnu.org>
11157 * epa.el (epa-read-file-name): New function. (Bug#14510)
11158 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11160 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11162 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11163 output redirection to be ignored with visual commands.
11165 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11167 * eshell/em-term.el (eshell-visual-command-p): New function.
11168 (eshell-term-initialize): Move long lambda to separate function
11169 eshell-visual-command-p.
11170 * eshell/em-dirs.el (eshell-dirs-initialize):
11171 * eshell/em-script.el (eshell-script-initialize):
11172 Add missing #' to lambda.
11174 2013-06-08 Leo Liu <sdl.web@gmail.com>
11176 * progmodes/octave.el (octave-add-log-current-defun): New function.
11177 (octave-mode): Set add-log-current-defun-function.
11178 (octave-goto-function-definition): Do not move point if not found.
11179 (octave-find-definition): Enhance to try subfunctions first.
11181 2013-06-08 Glenn Morris <rgm@gnu.org>
11183 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11184 (byte-compile-backward-char, byte-compile-backward-word):
11185 Improve previous change, to handle non-explicit nil.
11187 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11189 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11190 (smie--opener/closer-at-point): New function.
11191 (smie--matching-block-data): Use it. Don't match from right after an
11192 opener or right before a closer. Obey smie-blink-matching-inners.
11193 Don't signal a mismatch for repeated inners like "switch..case..case".
11195 2013-06-07 Leo Liu <sdl.web@gmail.com>
11197 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11199 (octave-function-header-regexp): Fix. (Bug#14570)
11200 (octave-help-mode-finish-hook, octave-help-mode-finish):
11201 Remove. Just use temp-buffer-show-hook.
11203 * newcomment.el (comment-search-backward): Revert last change.
11206 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11208 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11210 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11211 through xargs, to avoid failure due to MS-Windows limitations on
11212 command-line length.
11214 2013-06-06 Glenn Morris <rgm@gnu.org>
11216 * font-lock.el (lisp-font-lock-keywords-2):
11217 Treat user-error like error.
11219 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11220 (byte-compile-backward-char, byte-compile-backward-word):
11221 Handle explicit nil arguments. (Bug#14565)
11223 2013-06-05 Alan Mackenzie <acm@muc.de>
11225 * isearch.el (isearch-allow-prefix): New user option.
11226 (isearch-other-meta-char): Don't exit isearch when a prefix
11227 argument is typed whilst `isearch-allow-prefix' is non-nil.
11230 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11232 * autorevert.el (auto-revert-notify-handler): Use memq.
11233 Hide assertion failure.
11235 * skeleton.el: Use cl-lib.
11236 (skeleton-further-elements): Use defvar-local.
11237 (skeleton-insert): Use cl-progv.
11239 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11241 * progmodes/prog-mode.el (prog-prettify-symbols)
11242 (prog-prettify-install): Update docstrings.
11244 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11246 * simple.el: Move all the prog-mode code to prog-mode.el.
11247 * progmodes/prog-mode.el: New file.
11248 * loadup.el: Add prog-mode.el.
11250 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11252 * simple.el (prog-prettify-symbols): Add version.
11253 (prog-prettify-install): Add convenience function to prettify symbols.
11255 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11256 (perl--augmented-font-lock-keywords-1)
11257 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11258 variables and use it.
11260 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11261 (cfengine3-mode): Remove unneeded variable and use it.
11263 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11264 (lisp--augmented-font-lock-keywords-1)
11265 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11266 Remove unneeded variables and use it.
11268 2013-06-05 João Távora <joaotavora@gmail.com>
11270 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11271 to point when opening the connection. (Bug#14380)
11273 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11275 * subr.el (load-history-regexp, load-history-filename-element)
11276 (eval-after-load, after-load-functions, do-after-load-evaluation)
11277 (eval-next-after-load, display-delayed-warnings)
11278 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11279 definition of save-match-data.
11280 (overriding-local-map): Remove accidental obsolescence declaration.
11282 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11284 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11286 Generalize symbol prettify support to prog-mode and implement it
11287 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11288 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11289 (prog--prettify-font-lock-compose-symbol)
11290 (prog-prettify-font-lock-symbols-keywords): New variables and
11291 functions to support symbol prettification.
11292 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11293 (lisp--augmented-font-lock-keywords-1)
11294 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11295 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11296 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11297 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11298 Implement prettify of -> => :: strings.
11299 * progmodes/perl-mode.el (perl-prettify-symbols)
11300 (perl--font-lock-compose-symbol)
11301 (perl--font-lock-symbols-keywords): Move to prog-mode.
11302 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11303 (perl-font-lock-keywords-1)
11304 (perl-font-lock-keywords-2): Remove explicit prettify support.
11305 (perl--augmented-font-lock-keywords)
11306 (perl--augmented-font-lock-keywords-1)
11307 (perl--augmented-font-lock-keywords-2, perl-mode):
11308 Implement prettify support.
11310 2013-06-05 Leo Liu <sdl.web@gmail.com>
11312 Re-implement SMIE matching block highlight using
11313 show-paren-data-function. (Bug#14395)
11314 * emacs-lisp/smie.el (smie-matching-block-highlight)
11315 (smie--highlight-matching-block-overlay)
11316 (smie--highlight-matching-block-lastpos)
11317 (smie-highlight-matching-block)
11318 (smie-highlight-matching-block-mode): Remove.
11319 (smie--matching-block-data-cache): New variable.
11320 (smie--matching-block-data): New function.
11321 (smie-setup): Use smie--matching-block-data for
11322 show-paren-data-function.
11324 * progmodes/octave.el (octave-mode-menu): Fix.
11325 (octave-find-definition): Skip garbage lines.
11327 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11329 Fix compilation error with simultaneous dynamic+lexical scoping.
11330 Add warning when a defvar appears after the first let-binding.
11331 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11332 (byte-compile-close-variables): Initialize it.
11333 (byte-compile--declare-var): New function.
11334 (byte-compile-file-form-defvar)
11335 (byte-compile-file-form-define-abbrev-table)
11336 (byte-compile-file-form-custom-declare-variable): Use it.
11337 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11338 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11339 (byte-compile-bind): Handle dynamic bindings that shadow
11341 (byte-compile-unbind): Make arg non-optional.
11342 (byte-compile-let): Simplify.
11343 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11344 (cconv--analyse-function, cconv-analyse-form): Populate it.
11345 Protect byte-compile-bound-variables to limit the scope of defvars.
11346 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11347 Remove unneeded rule for `declare'.
11349 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11350 so as to avoid depending on cl-adjoin at run-time.
11351 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11353 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11354 (macroexp--warn-and-return): Use it.
11356 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * subr.el: Convert to lexical binding.
11359 (overriding-local-map): Make obsolete.
11360 (add-to-list): Doc fix. Add compiler macro.
11361 (read-key): Swap values of local maps.
11363 2013-06-05 Leo Liu <sdl.web@gmail.com>
11365 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11367 2013-06-04 Leo Liu <sdl.web@gmail.com>
11369 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11370 (compilation-auto-jump): Suppress the "Mark set" message to give
11371 way to exit message.
11373 2013-06-04 Alan Mackenzie <acm@muc.de>
11375 Remove faulty optimisation from indentation calculation.
11376 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11377 search limit based on 2000 characters back from indent-point.
11379 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11381 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11383 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11385 * emacs-lisp/lisp.el: Use lexical-binding.
11386 (lisp--local-variables-1, lisp--local-variables): New functions.
11387 (lisp--local-variables-completion-table): New var.
11388 (lisp-completion-at-point): Use it complete let-bound vars.
11390 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11391 eagerly (bug#14422).
11393 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11395 * autorevert.el (auto-revert-notify-enabled)
11396 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11397 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11398 (auto-revert-notify-handler): Handle also gfilenotify.
11400 * subr.el (file-notify-handle-event): New defun. Replacing ...
11401 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11404 2013-06-03 Juri Linkov <juri@jurta.org>
11406 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11407 `M-s h .'. (Bug#14427)
11409 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11410 command `hi-lock-face-symbol-at-point'.
11411 (hi-lock-face-symbol-at-point): New command.
11412 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11413 (hi-lock-menu): Add `highlight-symbol-at-point'.
11414 (hi-lock-mode): Doc fix.
11416 * isearch.el (isearch-forward-symbol-at-point): New command.
11417 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11418 (isearch-highlight-regexp): Add a regexp which matches
11419 words/symbols for word/symbol mode.
11421 * subr.el (find-tag-default-bounds): New function with the body
11422 mostly moved from `find-tag-default'.
11423 (find-tag-default): Move most code to `find-tag-default-bounds',
11424 call it and apply `buffer-substring-no-properties' afterwards.
11426 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11428 * eshell/em-term.el (eshell-term-initialize):
11429 Use `cl-intersection' rather than `intersection'.
11431 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11433 * vc/log-view.el: Doc fix.
11434 (log-view-mode-map): Copy keymap from `special-mode-map'.
11436 2013-06-02 Eric Ludlam <zappo@gnu.org>
11438 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11439 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11440 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11441 (eieio-unbound, eieio-default-superclass)
11442 (eieio--define-field-accessors, method-static, method-before)
11443 (method-primary, method-after, method-num-lists)
11444 (method-generic-before, method-generic-primary)
11445 (method-generic-after, method-num-slots)
11446 (eieio-specialized-key-to-generic-key)
11447 (eieio--check-type, class-v, class-p)
11448 (eieio-class-name, define-obsolete-function-alias)
11449 (eieio-class-parents-fast, eieio-class-children-fast)
11450 (same-class-fast-p, class-constructor, generic-p)
11451 (generic-primary-only-p, generic-primary-only-one-p)
11452 (class-option-assoc, class-option, eieio-object-p)
11453 (class-abstract-p, class-method-invocation-order)
11454 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11455 (eieio-class-un-autoload, eieio-defclass)
11456 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11457 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11458 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11459 (eieio-defgeneric-reset-generic-form)
11460 (eieio-defgeneric-form-primary-only)
11461 (eieio-defgeneric-reset-generic-form-primary-only)
11462 (eieio-defgeneric-form-primary-only-one)
11463 (eieio-defgeneric-reset-generic-form-primary-only-one)
11464 (eieio-unbind-method-implementations)
11465 (eieio--defmethod, eieio--typep)
11466 (eieio-perform-slot-validation, eieio-validate-slot-value)
11467 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11468 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11469 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11470 (eieio-slot-name-index, eieio-class-slot-name-index)
11471 (eieio-set-defaults, eieio-initarg-to-attribute)
11472 (eieio-attribute-to-initarg, eieio-c3-candidate)
11473 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11474 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11475 (eieio-class-precedence-list, eieio-generic-call-methodname)
11476 (eieio-generic-call-arglst, eieio-generic-call-key)
11477 (eieio-generic-call-next-method-list)
11478 (eieio-pre-method-execution-functions, eieio-generic-call)
11479 (eieio-generic-call-primary-only, eieiomt-method-list)
11480 (eieiomt-optimizing-obarray, eieiomt-install)
11481 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11482 (eieio-generic-form, eieio-defmethod, make-obsolete)
11483 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11484 (defclass): Remove `eval-and-compile' from macro.
11485 (call-next-method, shared-initialize): Instead of using
11486 `scoped-class' variable, use new eieio--scoped-class, and
11487 eieio--with-scoped-class.
11488 (initialize-instance): Rename local variable 'scoped-class' to
11489 'this-class' to remove ambiguitity from old global.
11491 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11493 (eieio--scoped-class-stack): New variable.
11494 (eieio--scoped-class): New fcn.
11495 (eieio--with-scoped-class): New scoping macro.
11496 (eieio-defclass): Use pushnew instead of add-to-list.
11497 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11498 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11499 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11500 `scoped-class' variable, use new eieio--scoped-class, and
11501 eieio--with-scoped-class.
11503 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11505 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11507 * eshell/esh-ext.el (eshell-external-command): Pass args to
11508 `eshell-find-interpreter'.
11509 (eshell-find-interpreter): Add new second parameter ARGS.
11511 * eshell/em-script.el (eshell-script-initialize): Add second arg
11512 to the function added as MATCH to `eshell-interpreter-alist'.
11514 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11515 the function added as MATCH to `eshell-interpreter-alist'.
11517 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11518 (eshell-visual-options): New defcustom.
11519 (eshell-escape-control-x): Adapt docstring.
11520 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11521 `eshell-visual-options' in addition to `eshell-visual-commands'.
11522 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11524 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11526 * progmodes/python.el (python-indent-block-enders): Add break,
11527 continue and raise keywords.
11529 2013-06-01 Glenn Morris <rgm@gnu.org>
11531 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11533 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11534 * progmodes/cc-cmds.el (delete-forward-p):
11535 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11536 * progmodes/cc-engine.el (buffer-syntactic-context):
11537 * progmodes/cc-fonts.el (face-property-instance):
11538 * progmodes/cc-mode.el (set-keymap-parents):
11539 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11540 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11541 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11542 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11543 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11545 * progmodes/cc-vars.el (other): Emacs has this widget since
11546 at least 21.1, so don't (re)define it.
11548 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11549 Replace the obsolete alias pcomplete-arg-quote-list.
11551 2013-06-01 Leo Liu <sdl.web@gmail.com>
11553 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11554 punctuation syntax.
11555 (inferior-octave-minimal-columns)
11556 (inferior-octave-last-column-width): New variables.
11557 (inferior-octave-track-window-width-change): New function.
11558 (inferior-octave-mode): Adjust column width so that Octave output,
11559 for example from 'ls', can fit into the window nicely.
11561 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11563 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11564 Highlight expansions inside regexp literals.
11566 2013-05-31 Glenn Morris <rgm@gnu.org>
11568 * obsolete/sym-comp.el (symbol-complete):
11569 Replace obsolete completion-annotate-function.
11571 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11573 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11575 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11576 New function, checks if point is inside a literal that allows
11577 expression expansion.
11578 (ruby-syntax-propertize-expansion): Use it.
11579 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11582 2013-05-30 Juri Linkov <juri@jurta.org>
11584 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11586 (isearch-invisible): New variable.
11587 (isearch-forward): Doc fix.
11588 (isearch-mode): Set `isearch-invisible'
11589 to the value of `search-invisible'.
11590 (isearch-toggle-case-fold): Doc fix.
11591 (isearch-toggle-invisible): New command.
11592 (isearch-query-replace): Let-bind `search-invisible'
11593 to the value of `isearch-invisible'.
11594 (isearch-search): Use `isearch-invisible' instead of
11595 `search-invisible'. Let-bind `search-invisible'
11596 to the value of `isearch-invisible'. (Bug#11378)
11598 2013-05-30 Juri Linkov <juri@jurta.org>
11600 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11601 call when `query-flag' is nil and `search-invisible' is non-nil.
11604 2013-05-30 Glenn Morris <rgm@gnu.org>
11606 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11608 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11609 (cc-require): Suppress spurious "noruntime" warnings.
11610 (cc-require-when-compile): Use fboundp, for sake of compiler.
11612 * progmodes/cc-mode.el: Move load of cc-vars before that of
11613 cc-langs (which in turn loads cc-vars), to quieten compiler.
11615 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11617 * paren.el: Simplify the code.
11618 (show-paren-mode): Always start the timer.
11619 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11620 (show-paren--overlay, show-paren--overlay-1): Rename from
11621 show-paren-overlay and show-paren-overlay-1, and initialize to an
11622 overlay rather than to nil.
11623 (show-paren-function): Misc cleanup and simplifications.
11625 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11627 * paren.el (show-paren-data-function): New hook.
11628 (show-paren--default): New function, extracted from show-paren-function.
11629 (show-paren-function): Use show-paren-data-function.
11631 2013-05-30 Glenn Morris <rgm@gnu.org>
11633 * ielm.el (ielm-map, ielm-complete-symbol):
11634 Use completion-at-point rather than obsolete functions.
11635 (inferior-emacs-lisp-mode): Doc fix.
11636 Set completion-at-point-functions, rather than
11637 comint-dynamic-complete-functions.
11639 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11640 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11641 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11643 * image.el (image-animated-p): Tweak definition.
11645 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11646 (rlogin-process-connection-type): Tweak default. Add set-after.
11647 (rlogin-host): Doc fix.
11648 (rlogin): Tweak prompt.
11649 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11651 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11652 * progmodes/tcl.el (inferior-tcl-mode-map):
11653 Use completion-at-point rather than obsolete alias.
11655 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11657 * minibuffer.el (read-file-name-completion-ignore-case):
11658 Move before completion--in-region, for eager macro expansion.
11660 2013-05-29 Juri Linkov <juri@jurta.org>
11662 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11663 for total count of matching lines. Add `global-matches' for total
11664 count of matches. Rename `matches' to `lines' for count of
11665 matching lines. Add `matches' for count of matches.
11666 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11667 to `prev-line' for line number of prev match endpt.
11668 Increment `matches' for every match. Print the number of
11669 matching lines in the header.
11670 (occur-context-lines): Rename `lines' to `curr-line'.
11671 Rename `prev-lines' to `prev-line'. (Bug#14017)
11673 2013-05-29 Juri Linkov <juri@jurta.org>
11675 * replace.el (perform-replace): Add `skip-read-only-count',
11676 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11677 Increment them for corresponding conditions and report the number
11678 of skipped occurrences in the final message. (Bug#11746)
11679 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11680 (replace-string, replace-regexp): Doc fix.
11682 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11684 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11686 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11687 prog-mode-map (bug#14504).
11689 2013-05-29 Leo Liu <sdl.web@gmail.com>
11691 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11692 (octave-help): Small simplification.
11694 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11695 off the highlight first.
11697 2013-05-29 Glenn Morris <rgm@gnu.org>
11699 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11700 Handle idlwave-last-system-routine-info-cons-cell being nil.
11702 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11703 (idlwave-write-paths): Simplify via with-temp-buffer.
11705 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11706 * emulation/cua-rect.el: Also load cua-base at run time.
11708 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11709 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11710 (cperl-imenu-on-info): Require imenu.
11712 2013-05-28 Alan Mackenzie <acm@muc.de>
11714 Handle "capitalised keywords" correctly.
11715 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11717 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11719 * eshell/em-unix.el: Add -r option to cp.
11721 2013-05-28 Glenn Morris <rgm@gnu.org>
11723 * vc/vc-arch.el (vc-exec-after): Declare.
11724 (vc-switches): Autoload.
11725 * vc/vc-bzr.el: No need to require vc when compiling.
11726 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11727 (vc-resynch-buffer, vc-dir-refresh): Declare.
11728 (vc-setup-buffer, vc-switches): Autoload.
11729 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11730 (vc-resynch-buffer): Declare.
11731 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11732 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11733 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11734 (grep-read-regexp, grep-read-files, grep-expand-template)
11735 (vc-dir-refresh): Declare.
11736 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11737 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11738 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11739 * vc/vc-mtn.el (vc-exec-after): Declare.
11740 (vc-switches): Autoload.
11741 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11742 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11743 (vc-file-tree-walk): Declare.
11744 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11745 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11746 (vc-tag-precondition, vc-rename-master): Autoload.
11747 * vc/vc-svn.el (vc-exec-after): Declare.
11748 (vc-switches, vc-setup-buffer): Autoload.
11749 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11751 (vc-resynch-buffer): Declare.
11753 * obsolete/fast-lock.el (byte-compile-warnings):
11754 Don't warn about obsolete features in this obsolete file.
11756 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11757 Move definition before use.
11759 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11760 (dun-unix-verbs): Remove dun-zippy.
11761 (dun-zippy): Remove function.
11763 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11765 2013-05-27 Juri Linkov <juri@jurta.org>
11767 * replace.el (replace-search): New function with code moved out
11768 from `perform-replace'.
11769 (replace-highlight, replace-dehighlight): Move function definitions
11770 up closer to `replace-search'. (Bug#11746)
11772 2013-05-27 Juri Linkov <juri@jurta.org>
11774 * replace.el (perform-replace): Ignore invisible matches.
11775 In addition to checking `query-replace-skip-read-only', also
11776 filter out matches by calling `run-hook-with-args-until-failure'
11777 on `isearch-filter-predicates', and also check `search-invisible'
11778 for t or call `isearch-range-invisible'.
11779 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11781 2013-05-27 Juri Linkov <juri@jurta.org>
11783 * isearch.el (isearch-filter-predicates): Rename from
11784 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11785 (isearch-message-prefix): Display text from the property
11786 `isearch-message-prefix' of the currently active filters.
11787 (isearch-search): Don't compare `isearch-filter-predicate' with
11788 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11789 on `isearch-filter-predicates'. Also check `search-invisible' for t
11790 or call `isearch-range-invisible'.
11791 (isearch-filter-visible): Make obsolete.
11792 (isearch-lazy-highlight-search):
11793 Call `run-hook-with-args-until-failure' on
11794 `isearch-filter-predicates' and use `isearch-range-invisible'.
11796 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11797 `isearch-filter-predicates' instead of `funcall'ing
11798 `isearch-filter-predicate'.
11799 (Info-mode): Set `Info-isearch-filter' to
11800 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11802 * dired-aux.el (dired-isearch-filter-predicate-orig):
11804 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11805 (dired-isearch-filenames-end): Add and remove
11806 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11807 instead of changing the value of `isearch-filter-predicate'.
11808 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11809 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11810 Put property `isearch-message-prefix' to "filename " on
11811 `dired-isearch-filter-filenames'.
11813 * wdired.el (wdired-change-to-wdired-mode):
11814 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11815 locally instead of changing `isearch-filter-predicate'.
11816 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11818 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11820 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11821 return the commit hash (Bug#14459). Also set the
11822 `vc-git-detached' property.
11823 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11824 (vc-git-mode-line-string): Use the same help-echo format whether
11825 in detached mode or not, because we know the actual revision now.
11826 When in detached mode, shorten the revision to 7 chars.
11828 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11830 * emacs-lisp/easy-mmode.el (define-minor-mode):
11831 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11832 mode hook and provide a docstring.
11834 2013-05-27 Alan Mackenzie <acm@muc.de>
11836 Remove spurious syntax-table text properties inserted by C-y.
11837 * progmodes/cc-mode.el (c-after-change): Also clear hard
11838 syntax-table property with value nil.
11840 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11842 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11843 when reading the events; the buffer layout shall not be changed.
11845 2013-05-27 Leo Liu <sdl.web@gmail.com>
11847 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11849 (inferior-octave-directory-tracker): Automatically re-sync
11851 (octave-help): Improve handling of 'See also'.
11853 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11855 * doc-view.el: Minor naming convention tweaks.
11856 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11858 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11859 even if there's no `display' property yet (bug#14435).
11861 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11863 * subr.el (unmsys--file-name): Rename from reveal-filename.
11865 * Makefile.in (custom-deps, finder-data, autoloads)
11866 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11867 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11868 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11870 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11872 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11873 error-completion on the first 2 args of condition-case (bug#14446).
11876 2013-05-25 Leo Liu <sdl.web@gmail.com>
11878 * comint.el (comint-previous-matching-input): Do not flood the
11879 *Messages* buffer with trivial messages.
11881 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11883 * progmodes/flymake.el (flymake-nop): Don't return a string.
11884 (flymake-set-at): Fix typo.
11886 * simple.el (read--expression): New function, extracted from
11887 eval-expression. Set completion-at-point-functions (bug#14465).
11888 (eval-expression, eval-minibuffer): Use it.
11890 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11892 * progmodes/flymake.el (flymake-save-buffer-in-file)
11893 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11894 (flymake-selected-frame, flymake-log, flymake-ins-after)
11895 (flymake-set-at, flymake-get-buildfile-from-cache)
11896 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11897 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11898 Refine the doc string.
11899 (flymake-get-file-name-mode-and-masks): Reformat.
11900 (flymake-get-real-file-name-function): Fix a minor bug.
11902 2013-05-24 Juri Linkov <juri@jurta.org>
11904 * progmodes/grep.el (grep-mode-font-lock-keywords):
11905 Support =linenumber= format used by git-grep for lines with
11906 function names. (Bug#13549)
11908 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11910 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11911 0 after a semi-colon; it works better for smie-auto-fill.
11912 (octave--indent-new-comment-line): New function.
11913 (octave-indent-new-comment-line): Use it (indirectly).
11914 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11915 modify comment-line-break-function.
11917 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11918 (smie-setup): Use add-function to set it.
11920 2013-05-24 Sam Steingold <sds@gnu.org>
11922 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11923 argument (before the `interactive' argument).
11925 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11927 * image-mode.el (image-mode-winprops): Add winprops to
11928 image-mode-winprops-alist before running
11929 image-mode-new-window-functions.
11930 * doc-view.el (doc-view-new-window-function): Don't delay
11931 doc-view-goto-page via timers (bug#14435).
11933 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11935 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11936 (doc-view-desktop-save-buffer): New function.
11937 (doc-view-restore-desktop-buffer): New function.
11938 (desktop-buffer-mode-handlers):
11939 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11941 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11942 `desktop-save-buffer' function.
11944 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11946 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11947 (tramp-gvfs-file-name-handler): Raise a user error when
11948 `tramp-gvfs-enabled' is nil.
11949 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11950 Do not raise a user error when loading package. (Bug#14447)
11952 * net/xesam.el: Move to obsolete/.
11954 2013-05-24 Glenn Morris <rgm@gnu.org>
11956 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11958 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11960 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11961 (Info-find-node, Man-getpage-in-background): Declare.
11963 * mail/unrmail.el (unrmail):
11964 Replace obsolete detect-coding-with-priority.
11966 * net/socks.el (socks-split-string): Use this rather than split-string.
11967 (socks-nslookup-host): Update for above change.
11968 (dynamic-choice, s5-dynamic-choice-match)
11969 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11970 Comment out unused code.
11972 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11973 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11974 (gud-tooltip-echo-area): Make obsolete.
11975 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11977 * progmodes/js.el (js--optimize-arglist): Declare.
11979 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11981 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11982 (ediff-window-C): Declare.
11984 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11985 Tweak requires to silence compiler.
11987 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11988 (he-search-string, he-tried-table, he-expand-list)
11989 (he-init-string, he-string-member, he-substitute-string)
11990 (he-reset-string): Declare.
11992 * obsolete/options.el (list-options): Use custom-variable-p,
11993 rather than obsolete alias.
11995 2013-05-23 Sam Steingold <sds@gnu.org>
11997 * simple.el (shell-command-on-region): Pass the `replace' argument
11998 down to `call-process-region' to comply with the doc as reported on
11999 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12001 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12003 * emacs-lisp/smie.el (smie-indent-forward-token)
12004 (smie-indent-backward-token): Handle string tokens (bug#14381).
12006 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12008 * ielm.el (ielm-menu): New menu.
12009 (inferior-emacs-lisp-mode): Set comment-start.
12011 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12013 * textmodes/reftex.el (reftex-ref-style-toggle):
12014 Fix deactivate action.
12016 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12017 Add cleveref macros.
12019 * textmodes/reftex-parse.el
12020 (reftex-locate-bibliography-files): Accept options for
12021 bibliography commands.
12022 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12023 Add addbibresource. Basic Biblatex support.
12025 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12027 * net/tramp-gvfs.el (top):
12028 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12029 when loading package. (Bug#14447)
12031 2013-05-23 Glenn Morris <rgm@gnu.org>
12033 * progmodes/js.el: No need to load comint when compiling.
12034 (ring-insert, comint-send-string, comint-send-input)
12035 (comint-last-input-end, ido-chop): Declare.
12037 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12038 * vc/ediff-mult.el: Adjust requires.
12039 (ediff-directories-internal, ediff-directory-revisions-internal)
12040 (ediff-patch-file-internal): Declare.
12041 * vc/ediff-ptch.el: Adjust requires.
12042 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12043 (ediff-find-file): Autoload.
12044 * vc/ediff-util.el: No need to load ediff when compiling.
12045 (ediff-regions-internal): Declare.
12046 * vc/ediff-wind.el: Adjust requires.
12047 (ediff-compute-toolbar-width): Define when compiling.
12048 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12049 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12050 (dired-get-filename, dired-get-marked-files)
12051 (ediff-last-dir-patch, ediff-patch-default-directory)
12052 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12053 (ediff-patch-buffer-internal): Declare.
12055 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12056 (ispell-process, ispell-buffer-local-words, lm-summary)
12057 (lm-section-start, lm-section-end): Declare.
12058 (checkdoc-ispell-init): Simplify.
12060 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12061 (he-string-member, he-reset-string, he-substitute-string): Declare.
12063 * eshell/em-ls.el: Adjust requires.
12064 (eshell-glob-regexp): Declare.
12065 * eshell/em-tramp.el: Adjust requires.
12066 (eshell-parse-command): Autoload.
12067 * eshell/em-xtra.el: Adjust requires.
12068 (eshell-parse-command): Autoload.
12069 * eshell/esh-ext.el: Adjust requires.
12070 (eshell-parse-command, eshell-close-handles): Autoload.
12071 * eshell/esh-io.el: Adjust requires.
12072 (eshell-output-filter): Autoload.
12073 * eshell/esh-util.el: No need to load tramp when compiling.
12074 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12076 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12077 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12078 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12079 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12080 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12081 * eshell/esh-opt.el, eshell/esh-proc.el:
12082 * eshell/esh-var.el: Adjust requires.
12083 * eshell/eshell.el: Do not require esh-util twice.
12084 (eshell-add-input-to-history): Declare.
12085 (eshell-command): Check history module is active before using it.
12087 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12089 2013-05-22 Leo Liu <sdl.web@gmail.com>
12091 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12093 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12095 * autorevert.el (auto-revert-notify-add-watch)
12096 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12097 it indicates changes in file modification time.
12099 2013-05-22 Glenn Morris <rgm@gnu.org>
12101 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12102 Always delete the autoloaded function from the noruntime and
12103 unresolved functions lists.
12105 * allout.el: No need to load epa, epg, overlay when compiling.
12106 (epg-context-set-passphrase-callback, epg-list-keys)
12107 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12108 (epg-key-user-id-list): Declare.
12110 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12111 (viper-set-parsing-style-toggling-macro)
12112 (viper-set-emacs-state-searchstyle-macros):
12113 Use called-interactively-p on Emacs.
12114 (viper-looking-back): Make it an obsolete alias. Update callers.
12115 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12116 Use looking-back rather than viper-looking-back.
12117 (viper-tmp-insert-at-eob, viper-enlarge-region)
12118 (viper-read-string-with-history, viper-register-to-point)
12119 (viper-append-to-register, viper-change-state-to-vi)
12120 (viper-backward-char-carefully, viper-forward-char-carefully)
12121 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12122 (viper-change-state-to-emacs): Declare.
12123 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12124 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12125 * emulation/viper-mous.el: Do not load viper-cmd.
12126 (viper-backward-char-carefully, viper-forward-char-carefully)
12127 (viper-forward-word, viper-adjust-window): Declare.
12129 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12131 * progmodes/idlw-help.el (idlwave-help-fontify):
12132 Use called-interactively-p.
12134 * term/w32console.el (w32-get-console-codepage)
12135 (w32-get-console-output-codepage): Declare.
12137 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12138 Remove unnecessary declarations.
12139 (dframe-message): Doc fix.
12141 * info.el (dframe-select-attached-frame, dframe-current-frame):
12144 * speedbar.el (speedbar-message): Make it an obsolete alias.
12145 Update all callers.
12146 (speedbar-with-attached-buffer)
12147 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12148 (speedbar-with-writable): Use backquote.
12149 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12150 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12151 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12152 rather than speedbar- aliases.
12153 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12154 (speedbar-make-specialized-keymap, speedbar-insert-button)
12155 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12156 (speedbar-do-function-pointer): Declare.
12157 (rmail-speedbar-button, rmail-speedbar-find-file)
12158 (rmail-speedbar-move-message):
12159 Use dframe-with-attached-buffer rather than speedbar- alias.
12160 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12161 (dframe-message, speedbar-make-specialized-keymap)
12162 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12163 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12164 (speedbar-insert-button, dframe-select-attached-frame)
12165 (dframe-maybee-jump-to-attached-frame)
12166 (speedbar-change-initial-expansion-list)
12167 (speedbar-previously-used-expansion-list-name): Declare.
12168 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12169 Use dframe-message, dframe-with-attached-buffer rather than
12171 (gud-sentinel): Silence compiler.
12172 * progmodes/vhdl-mode.el (speedbar-refresh)
12173 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12174 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12175 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12176 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12177 (speedbar-file-lists, speedbar-make-tag-line)
12178 (speedbar-line-directory, speedbar-goto-this-file)
12179 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12180 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12181 (speedbar-make-button, speedbar-reset-scanners)
12182 (speedbar-files-item-info, speedbar-line-text)
12183 (speedbar-find-file-in-frame, speedbar-set-timer)
12184 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12185 (speedbar-with-writable): Do not (re)define it.
12186 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12187 rather than speedbar- alias.
12189 2013-05-21 Leo Liu <sdl.web@gmail.com>
12191 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12193 (octave-mode): Tweak fill-nobreak-predicate.
12194 (inferior-octave-startup): Check process to avoid infinite loop.
12195 (inferior-octave): Pop to buffer first to show abornmal process
12198 2013-05-21 Glenn Morris <rgm@gnu.org>
12200 * printing.el (pr-menu-bar): Define when compiling.
12202 2013-05-21 Leo Liu <sdl.web@gmail.com>
12204 * progmodes/octave.el (octave-auto-fill): Remove.
12205 (octave-indent-new-comment-line): Improve.
12206 (octave-mode): Use auto fill mode through
12207 comment-line-break-function and fill-nobreak-predicate.
12208 (octave-goto-function-definition): Support DEFUN_DLD.
12209 (octave-beginning-of-defun): Small tweak.
12210 (octave-help): Show parent directory.
12212 2013-05-21 Glenn Morris <rgm@gnu.org>
12214 * files.el (dired-unmark):
12215 * progmodes/gud.el (gdb-input): Update declarations.
12217 * calculator.el (electric, ehelp): No need to load when compiling.
12218 (Electric-command-loop, electric-describe-mode): Declare.
12220 * doc-view.el (doc-view-current-converter-processes): Move before use.
12222 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12223 Move MODE-set-explicitly definition before use.
12225 * international/mule-diag.el (mule-diag):
12226 Don't use obsolete window-system-version.
12228 * mail/feedmail.el (smtpmail): No need to load when compiling.
12229 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12231 * mail/mail-utils.el (rfc822): No need to load when compiling.
12232 (rfc822-addresses): Autoload it.
12233 (mail-strip-quoted-names): Trivial simplification.
12235 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12236 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12238 * net/snmp-mode.el (tempo): Don't duplicate requires.
12240 * progmodes/prolog.el (info): No need to load when compiling.
12241 (comint): Require before shell requires it.
12242 (Info-goto-node): Autoload it.
12243 (Info-follow-nearest-node): Declare.
12244 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12246 * textmodes/artist.el (picture-mode-exit): Declare.
12248 * textmodes/reftex-parse.el (reftex-parse-from-file):
12249 Trivial rewrite so the compiler can parse it better.
12251 2013-05-20 Leo Liu <sdl.web@gmail.com>
12253 * progmodes/octave.el (octave-help-mode-map)
12254 (octave-help-mode-finish-hook): New variables.
12255 (octave-help-mode, octave-help-mode-finish): New functions.
12256 (octave-help): Use octave-help-mode.
12258 2013-05-20 Glenn Morris <rgm@gnu.org>
12260 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12262 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12264 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12265 start at point, so that expansion starting right after opening
12266 slash in a regexp is recognized.
12267 (ruby-syntax-before-regexp-re): New defvar, extracted from
12268 ruby-syntax-propertize-function. Since the value of this regexp
12269 is looked up at runtime now, we should be able to turn
12270 `ruby-syntax-methods-before-regexp' into a defcustom later.
12271 (ruby-syntax-propertize-function): Split regexp matching into two
12272 parts, for opening and closing slashes. That allows us to skip
12273 over string interpolations and support multiline regexps.
12274 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12275 for them, which calls `ruby-syntax-propertize-expansion'.
12276 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12277 call to `ruby-syntax-propertize-function'.
12278 (ruby-syntax-propertize-expansion): Extracted from
12279 `ruby-syntax-propertize-expansions'. Handles one expansion.
12280 (ruby-syntax-propertize-percent-literal): Leave point right after
12281 the percent symbol, so that the expression expansion rule can
12282 propertize the contents.
12283 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12285 (ruby-syntax-propertize-expansions): Remove.
12287 2013-05-18 Juri Linkov <juri@jurta.org>
12289 * man.el (Man-default-man-entry): Remove `-' from the end
12290 of the default value. (Bug#14400)
12292 2013-05-18 Glenn Morris <rgm@gnu.org>
12294 * comint.el (comint-password-prompt-regexp):
12295 Allow "password for XXX" where XXX contains colons (eg https://...).
12297 2013-05-18 Leo Liu <sdl.web@gmail.com>
12299 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12300 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12301 (octave-source-directories): Don't check process.
12302 (octave-source-directories, octave-find-definition): Doc fix.
12304 2013-05-18 Glenn Morris <rgm@gnu.org>
12306 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12307 Remove backspace/delete bindings. (Bug#14392)
12309 * cus-dep.el (custom-make-dependencies): Sort the output.
12310 (custom-versions-load-alist): Convert comment to doc.
12312 2013-05-17 Leo Liu <sdl.web@gmail.com>
12314 * newcomment.el (comment-search-backward): Stricter in finding
12315 comment start. (Bug#14303)
12317 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12318 (octave-comment-start-skip): Properly anchored.
12320 2013-05-17 Leo Liu <sdl.web@gmail.com>
12322 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12323 Clean up when turned off. (Bug#14395)
12324 (smie--highlight-matching-block-overlay): No longer buffer-local.
12325 (smie-highlight-matching-block): Adjust.
12327 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12329 Doc string fix for "nanoseconds" (Bug#14406).
12330 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12331 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12333 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12335 * calc/calc-units.el (math-extract-units): Preserve powers
12338 2013-05-17 Leo Liu <sdl.web@gmail.com>
12340 * subr.el (delete-consecutive-dups): New function.
12341 * ido.el (ido-set-matches-1): Use it.
12342 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12343 * ido.el (ido-remove-consecutive-dups): Remove.
12345 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12347 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12348 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12349 regexp-opt's `words'.
12351 2013-05-16 Leo Liu <sdl.web@gmail.com>
12353 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12354 (smie--highlight-matching-block-overlay)
12355 (smie--highlight-matching-block-lastpos)
12356 (smie--highlight-matching-block-timer): New variables.
12357 (smie-highlight-matching-block): New function.
12358 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12359 (smie-setup): Conditionally enable smie-blink-matching-open.
12361 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12363 Sync with upstream verilog-mode r840.
12364 * progmodes/verilog-mode.el (verilog-mode-version)
12365 (verilog-mode-release-date): Update.
12366 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12367 (verilog-sig-tieoff): Fix string error on
12368 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12369 (verilog-read-decls): Fix parameters confusing
12370 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12372 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12374 * subr.el (reveal-filename): New function.
12376 * loadup.el: Compute Emacs executable versions on MS-Windows,
12377 where executables have the .exe extension. Add a hard link
12378 emacs-XX.YY.ZZ.exe on MS-Windows.
12380 * Makefile.in (XARGS_LIMIT): New variable.
12381 (custom-deps, finder-data, autoloads)
12382 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12383 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12384 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12385 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12387 2013-05-16 Leo Liu <sdl.web@gmail.com>
12389 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12390 (octave-mode-menu, octave-mode-map): Remove its uses.
12392 2013-05-16 Reto Zimmermann <reto@gnu.org>
12394 Sync with upstream vhdl mode v3.34.2.
12395 * progmodes/vhdl-mode.el: Use `push' throughout.
12396 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12397 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12398 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12399 (vhdl-actual-generic-name): New option to derive actual generic name.
12400 (vhdl-port-paste-signals): Replace formal by actual generics.
12401 (vhdl-beautify): New name for old group vhdl-align. Update users.
12402 (vhdl-beautify-options): New option.
12403 (vhdl-last-input-event): New compat alias. Use throughout.
12404 (vhdl-goto-line): Replace user level function `goto-line'.
12405 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12406 vhdl-fix-statement-buffer.
12407 (vhdl-create-mode-menu): Add some entries.
12408 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12409 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12410 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12411 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12412 to force statements on one line.
12413 (vhdl-remove-trailing-spaces-region):
12414 New, split from vhdl-remove-trailing-spaces.
12415 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12416 Respect vhdl-beautify-options.
12417 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12418 (vhdl-update-sensitivity-list): Not add with index if exists without.
12419 Not include array index with signal. Ignore keywords in comments.
12420 (vhdl-get-visible-signals): Regexp tweaks.
12421 (vhdl-template-component-inst): Handle empty library.
12422 (vhdl-template-type): Add template for 'enum' type.
12423 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12424 Use vhdl-replace-string.
12425 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12426 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12427 (vhdl-speedbar-initialize): Update for above name change.
12428 (vhdl-compose-wire-components): Fix in handling of constants.
12429 (vhdl-error-regexp-emacs-alist): New variable.
12430 (vhdl-error-regexp-add-emacs): New function;
12431 adds support for new compile.el (Emacs 22+)
12432 (vhdl-generate-makefile-1): Change target order for single lib. units.
12433 Allow use of absolute file names.
12435 2013-05-16 Leo Liu <sdl.web@gmail.com>
12437 * simple.el (prog-indent-sexp): Indent enclosing defun.
12439 2013-05-15 Glenn Morris <rgm@gnu.org>
12441 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12442 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12443 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12444 (whitespace-highlight): Move to whitespace group.
12446 * comint.el (comint-source):
12447 * pcmpl-linux.el (pcmpl-linux):
12448 * shell.el (shell-faces):
12449 * eshell/esh-opt.el (eshell-opt):
12450 * international/ccl.el (ccl): Remove empty custom groups.
12452 * completion.el (dynamic-completion-mode):
12453 * jit-lock.el (jit-lock-debug-mode):
12454 * minibuffer.el (completion-in-region-mode):
12455 * type-break.el (type-break-mode-line-message-mode)
12456 (type-break-query-mode):
12457 * emulation/tpu-edt.el (tpu-edt-mode):
12458 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12459 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12460 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12462 * term/xterm.el (xterm): Change parent group to terminals.
12464 * master.el (master): Remove empty custom group.
12465 (master-mode): Remove unused :group argument.
12466 * textmodes/refill.el (refill): Remove empty custom group.
12467 (refill-mode): Remove unused :group argument.
12469 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12471 * cus-dep.el: Provide a feature.
12472 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12473 Don't mistakenly ignore files whose basenames match a basename
12474 from preloaded-file-list (eg cedet/ede/simple.el).
12475 Add a fallback method for getting :group.
12477 2013-05-15 Juri Linkov <juri@jurta.org>
12479 * isearch.el (isearch-char-by-name): Rename from
12480 `isearch-insert-char-by-name'. Doc fix.
12481 (isearch-forward): Mention `isearch-char-by-name' in
12482 the docstring. (Bug#13348)
12484 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12485 `exit-minibuffer' instead of
12486 `isearch-nonincremental-exit-minibuffer'.
12487 (isearch-edit-string): Remove mention of
12488 `isearch-nonincremental-exit-minibuffer' from docstring.
12489 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12490 (isearch-forward-exit-minibuffer)
12491 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12493 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12495 * loadup.el: Just use unversioned DOC.
12497 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12498 literals as extending to EOB.
12499 (nxml-last-fontify-end): Remove unused variable.
12500 (nxml-after-change1): Use with-silent-modifications.
12501 (nxml-extend-after-change-region): Simplify.
12502 (nxml-extend-after-change-region1): Remove function.
12503 (nxml-after-change1): Don't adjust for dependent regions.
12504 (nxml-fontify-matcher): Simplify.
12505 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12506 (xmltok-add-dependent): Remove function.
12507 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12508 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12509 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12510 unclosed <[[, <?, comment, and other literals as extending to EOB.
12511 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12512 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12514 (rng-do-some-validation-1): Don't mark dependent regions.
12515 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12516 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12517 (nxml-clear-dependent-regions): Remove functions.
12518 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12519 (nxml-ensure-scan-up-to-date):
12520 Don't clear&mark dependent regions.
12522 2013-05-15 Leo Liu <sdl.web@gmail.com>
12524 * progmodes/octave.el (octave-goto-function-definition):
12525 Improve and fix callers.
12527 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12530 the setter (bug#14387).
12532 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12533 surrounding group (bug#14402).
12535 2013-05-14 Juri Linkov <juri@jurta.org>
12537 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12540 2013-05-14 Glenn Morris <rgm@gnu.org>
12542 * progmodes/f90.el (f90-imenu-generic-expression):
12543 Fix typo in 2013-05-08 change. (Bug#14402)
12545 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12547 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12548 Remove signals for which replies are never received.
12550 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12552 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12553 (gdb-handler-alist, gdb-handler-number): Remove variables.
12554 (gdb-handler-list): New variable.
12555 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12556 (gdb-pending-handler-p, gdb-handle-reply)
12557 (gdb-remove-all-pending-triggers): New functions.
12558 (gdb-discard-unordered-replies): New defcustom.
12559 (gdb-handler): New defstruct.
12560 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12561 instead of gdb-pending-triggers. Update docstring.
12562 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12563 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12564 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12565 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12566 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12567 (gdb-frame-handler): Pending triggers are now automatically managed.
12568 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12570 (gdb-input): Automatically handles pending triggers. Update docstring.
12571 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12572 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12574 (gdb-done-or-error): Now use gdb-handle-reply.
12576 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12578 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12581 2013-05-14 Glenn Morris <rgm@gnu.org>
12583 * subr.el (user-emacs-directory-warning): New option.
12584 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12586 2013-05-14 Leo Liu <sdl.web@gmail.com>
12588 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12590 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12591 (octave-font-lock-texinfo-comment): Fix invalid search bound
12592 error: wrong side of point.
12594 2013-05-14 Glenn Morris <rgm@gnu.org>
12596 * progmodes/flymake.el (flymake-xml-program): New option.
12597 (flymake-xml-init): Use it.
12599 * term/xterm.el: Provide a feature.
12601 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12603 2013-05-13 Glenn Morris <rgm@gnu.org>
12605 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12606 Add compat aliases as a hack workaround. (Bug#14384)
12608 2013-05-13 Leo Liu <sdl.web@gmail.com>
12610 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12612 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12614 (octave-comment-start-skip): Include %!.
12615 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12617 2013-05-12 Leo Liu <sdl.web@gmail.com>
12619 * progmodes/octave.el (inferior-octave-startup): Store the value
12620 of __octave_srcdir__ for octave-source-directories.
12621 (inferior-octave-check-process): New function refactored out of
12622 inferior-octave-send-list-and-digest.
12623 (octave-source-directories)
12624 (octave-find-definition-filename-function): New variables.
12625 (octave-source-directories)
12626 (octave-find-definition-default-filename): New functions.
12627 (octave-find-definition): Improve to find functions implemented in C++.
12629 2013-05-12 Glenn Morris <rgm@gnu.org>
12631 * calendar/diary-lib.el (diary-outlook-format-1):
12632 Don't include dayname in the output. (Bug#14349)
12634 2013-05-11 Glenn Morris <rgm@gnu.org>
12636 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12638 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12639 Treat cc-provide like provide.
12641 2013-05-11 Kevin Ryde <user42@zip.com.au>
12643 * cus-dep.el (custom-make-dependencies):
12644 Use generated-autoload-load-name for the sake of files such
12645 such cedet/semantic/bovine/c.el, where the base file name
12646 is not in load-path. (Bug#5277)
12648 2013-05-11 Glenn Morris <rgm@gnu.org>
12650 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12653 2013-05-11 Leo Liu <sdl.web@gmail.com>
12655 * progmodes/octave.el (octave-indent-comment): Improve.
12656 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12657 (octave-eldoc-function-signatures, octave-eldoc-function):
12659 (octave-mode, inferior-octave-mode): Add eldoc support.
12661 2013-05-11 Richard Stallman <rms@gnu.org>
12663 * epa.el (epa-decrypt-file): Take output file name as argument
12664 and read it using `interactive'.
12666 2013-05-11 Leo Liu <sdl.web@gmail.com>
12668 * progmodes/octave.el (octave-beginning-of-line)
12669 (octave-end-of-line): Check before using up-list because it jumps
12670 out of more syntactic contructs since moving to smie.
12671 (octave-indent-comment): New function.
12672 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12673 (octave-begin-keywords, octave-end-keywords)
12674 (octave-reserved-words, octave-smie-bnf-table)
12675 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12677 2013-05-11 Glenn Morris <rgm@gnu.org>
12679 * faces.el (internal-face-x-get-resource):
12680 * frame.el (ns-display-monitor-attributes-list):
12681 * calc/calc-aent.el (math-to-radians-2):
12682 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12685 * calc/calc-menu.el: Make it loadable in isolation.
12687 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12688 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12689 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12690 (eudc-bbdb-query-internal): Require 'bbdb.
12692 * lpr.el (lpr-headers-switches):
12693 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12695 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12697 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12699 * term.el (term-set-escape-char): Make it idempotent.
12701 2013-05-10 Leo Liu <sdl.web@gmail.com>
12703 * progmodes/octave.el (inferior-octave-completion-table):
12704 No longer a function and all uses changed. Use cache to speed up
12705 completion due to bug#11906.
12706 (octave-beginning-of-defun): Re-write to be more general.
12708 2013-05-10 Glenn Morris <rgm@gnu.org>
12710 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12712 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12714 * comint.el (comint-redirect-send-command-to-process): Use :around
12715 rather than :override for comint-redirect-filter.
12716 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12717 Call it instead of comint-redirect-original-filter-function (which
12718 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12720 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12722 * frame.el (display-monitor-attributes-list): Add NS case.
12723 (ns-display-monitor-attributes-list): Declare.
12725 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12727 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12729 2013-05-09 Glenn Morris <rgm@gnu.org>
12731 * international/fontset.el (vertical-centering-font-regexp):
12732 Set standard-value.
12734 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12736 * bookmark.el (bookmark-search-delay):
12737 * cus-start.el (vertical-centering-font-regexp):
12738 * ps-mule.el (ps-mule-font-info-database-default):
12739 * ps-print.el (ps-default-fg, ps-default-bg):
12740 * type-break.el (type-break-good-break-interval):
12741 * whitespace.el (whitespace-indentation-regexp)
12742 (whitespace-space-after-tab-regexp):
12743 * emacs-lisp/testcover.el (testcover-1value-functions)
12744 (testcover-noreturn-functions, testcover-progn-functions)
12745 (testcover-prog1-functions):
12746 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12747 * eshell/em-glob.el (eshell-glob-translate-alist):
12748 * play/tetris.el (tetris-tty-colors):
12749 * progmodes/cpp.el (cpp-face-default-list):
12750 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12751 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12752 (idlwave-help-browser-generic-args):
12753 * progmodes/make-mode.el (makefile-special-targets-list):
12754 * progmodes/python.el (python-shell-virtualenv-path):
12755 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12756 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12757 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12758 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12759 * textmodes/reftex-vars.el (reftex-format-label-function):
12760 * textmodes/remember.el (remember-diary-file): Fix custom types.
12762 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12765 2013-05-09 Leo Liu <sdl.web@gmail.com>
12767 * progmodes/octave.el (inferior-octave-completion-at-point):
12768 Restore file completion. (Bug#14300)
12769 (inferior-octave-startup): Fix incorrect highlighting for the
12772 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12774 * progmodes/ruby-mode.el: First cut at SMIE support.
12775 (ruby-use-smie): New var.
12776 (ruby-smie-grammar): New constant.
12777 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12778 (ruby-smie--forward-token, ruby-smie--backward-token)
12779 (ruby-smie-rules): New functions.
12780 (ruby-mode-variables): Setup SMIE if applicable.
12782 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12784 * simple.el (line-move-visual): Signal beginning/end of buffer
12785 only if vertical-motion moved less than it was requested. Avoids
12786 silly incorrect error messages when there are display strings with
12787 multiple newlines at EOL.
12789 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12791 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12792 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12793 (prolog-char-quote-workaround):
12794 * progmodes/cperl-mode.el (cperl-under-as-char):
12795 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12797 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12799 (vhdl-mode-syntax-table-init): Remove.
12801 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12804 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12806 (ld-script-font-lock-keywords):
12807 Change regexps to use things like \_< and \_>.
12809 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12810 Change all regexps to use things like \_< and \_>.
12812 * progmodes/autoconf.el (autoconf-definition-regexp)
12813 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12814 Handle a _ with symbol syntax.
12815 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12817 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12818 Consolidate declaration.
12819 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12821 (ada-create-syntax-table): Remove.
12822 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12823 already has the right syntax nowadays.
12824 (ada-goto-next-word): Don't change the syntax of "_".
12826 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12829 2013-05-08 Sam Steingold <sds@gnu.org>
12831 * thingatpt.el (thing-at-point): Accept optional second argument
12832 NO-PROPERTIES to strip the text properties from the return value.
12833 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12834 to `thing-at-point' instead of stripping the properties ourselves.
12835 Also, when `thing-at-point' fails to find a url, prepend "http://"
12836 to the filename at point on the assumption that the user is
12837 pointing at something like gnu.org/gnu.
12839 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12841 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12842 * faces.el (crm-separator):
12843 Silence byte-compiler.
12845 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12846 (tool-bar-map): Remove unneeded defvars.
12848 2013-05-08 Leo Liu <sdl.web@gmail.com>
12850 Re-work a fix for bug#10994 based on Le Wang's patch.
12851 * ido.el (ido-remove-consecutive-dups): New helper.
12852 (ido-completing-read): Use it.
12853 (ido-chop): Revert fix for bug#10994.
12855 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12857 * cus-edit.el (custom-save-variables):
12858 Pretty-print long values. (Bug#14187)
12860 2013-05-08 Glenn Morris <rgm@gnu.org>
12862 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12863 (m4-mode-syntax-table): Init in the defvar.
12864 (m4-mode-abbrev-table): Let define-derived-mode define it.
12866 2013-05-08 Tom Tromey <tromey@redhat.com>
12868 * progmodes/m4-mode.el (m4-mode-syntax-table):
12869 Do not treat "_" as word constituent. (Bug#14167)
12871 2013-05-07 Glenn Morris <rgm@gnu.org>
12873 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12874 Remove explicit eshell-isearch-cancel-map.
12876 * progmodes/f90.el (f90-smart-end-names): New option.
12877 (f90-smart-end): Doc fix.
12878 (f90-end-block-optional-name): New constant.
12879 (f90-block-match): Respect f90-smart-end-names.
12881 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12883 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12884 about implicit semi-colons (bug#14218).
12886 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12888 * frame.el (display-monitor-attributes-list)
12889 (frame-monitor-attributes): New functions.
12891 2013-05-06 Leo Liu <sdl.web@gmail.com>
12893 * progmodes/octave.el (octave-syntax-propertize-function): Change
12894 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12895 (octave-font-lock-keywords): Use octave-operator-regexp.
12896 (octave-completion-at-point): Rename from
12897 octave-completion-at-point-function.
12898 (inferior-octave-directory-tracker): Robustify.
12899 (octave-text-functions): Remove and fix its uses. No such things
12902 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12904 * emacs-lisp/trace.el (trace--display-buffer): New function.
12905 (trace-make-advice): Use it.
12907 2013-05-06 Juri Linkov <juri@jurta.org>
12909 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12910 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12912 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12913 in the help string. (Bug#12985)
12915 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12917 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12919 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12921 * progmodes/perl-mode.el: Add support for here documents.
12922 (perl-syntax-propertize-function): Match here-doc markers.
12923 (perl-syntax-propertize-special-constructs): Find their end.
12924 (perl-imenu-generic-expression): Use [:alnum:].
12926 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12927 (advice--add-function): Refresh the advice if already present
12930 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12932 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12934 2013-05-06 Glenn Morris <rgm@gnu.org>
12936 * w32-fns.el (w32-charset-info-alist): Declare.
12938 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12939 of its defcustom properties.
12940 (eshell-cmpl-initialize): No need to load pcomplete.
12942 * generic-x.el: No need to require comint when compiling.
12944 * net/eudc-export.el: Make it loadable without bbdb.
12945 (top-level): Use require rather than load-library.
12946 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12947 (eudc-batch-export-records-to-bbdb)
12948 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12951 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12953 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12954 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12955 some tweaks, instead.
12957 2013-05-05 Leo Liu <sdl.web@gmail.com>
12959 * progmodes/octave.el (octave-font-lock-keywords)
12960 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12961 (inferior-octave-send-list-and-digest): Improve error message.
12962 (octave-mode, inferior-octave-mode): Use setq-local.
12963 (octave-help): Set info-lookup-mode.
12965 2013-05-05 Richard Stallman <rms@gnu.org>
12967 * vc/compare-w.el (compare-windows-whitespace):
12968 Treat no-break space as whitespace.
12970 * mail/rmailsum.el (rmail-summary-rmail-update):
12971 Detect empty summary and don't change selected message.
12972 (rmail-summary-goto-msg): Likewise.
12974 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12975 Doc fixes, rename args.
12977 2013-05-05 Alan Mackenzie <acm@muc.de>
12979 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12981 2013-05-05 Juri Linkov <juri@jurta.org>
12983 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12984 to not add the length of the summary segment to the return value.
12987 2013-05-05 Leo Liu <sdl.web@gmail.com>
12989 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12990 (inferior-octave-output-filter): Remove.
12991 (octave-send-region, inferior-octave-startup): Fix callers.
12992 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12993 (octave-binary-file-extensions): New user variable.
12994 (octave-find-definition): Confirm if opening binary files.
12995 (octave-help-file): Use octave-find-definition to get the binary
12997 (octave-help): Adjust for octave-help-file change.
12999 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13002 Merge the two entries that handle function definitions.
13003 (pascal--syntax-propertize): New const.
13004 (pascal-mode): Use it. Use setq-local.
13006 2013-05-04 Glenn Morris <rgm@gnu.org>
13008 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13009 (diary-from-outlook): Respect diary-from-outlook-function.
13011 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13013 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13014 Move the declaration from C.
13015 (read-minibuffer, eval-minibuffer): Move from C.
13016 (completion-setup-function): Avoid minibuffer-completion-contents.
13018 2013-05-03 Leo Liu <sdl.web@gmail.com>
13020 * progmodes/octave.el (octave-font-lock-keywords): Do not
13021 dehighlight 'end' in comments or strings.
13022 (octave-completing-read, octave-goto-function-definition):
13024 (octave-help-buffer): New user variable.
13025 (octave-help-file, octave-help-function): New button types.
13026 (octave-help): New command and bind it to C-h ;.
13027 (octave-find-definition): New command and bind it to M-.
13028 (user-error): Alias to error if not defined.
13030 2013-05-02 Leo Liu <sdl.web@gmail.com>
13032 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13034 (octave-font-lock-keywords): Include [ and {.
13036 2013-05-02 Leo Liu <sdl.web@gmail.com>
13038 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13039 (inferior-octave): Remove calling comint-mode and return the buffer.
13040 (inferior-octave-startup): Cosmetic changes.
13042 2013-05-02 Leo Liu <sdl.web@gmail.com>
13044 * progmodes/octave.el (octave-syntax-propertize-function):
13045 Include the case when ' is at line beginning. (Bug#14336)
13047 2013-05-02 Glenn Morris <rgm@gnu.org>
13049 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13050 * desktop.el (vc-dir-mode): Just autoload it here.
13052 2013-05-02 Alan Mackenzie <acm@muc.de>
13054 Eliminate variable c-standard-font-lock-fontify-region-function.
13055 * progmodes/cc-mode.el
13056 (c-standard-font-lock-fontify-region-function): Remove.
13057 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13059 2013-05-01 Leo Liu <sdl.web@gmail.com>
13061 * progmodes/octave.el: Compatible with older emacs-24 releases.
13062 (inferior-octave-has-built-in-variables): Remove. Built-in
13063 variables were removed from Octave in 2007.
13064 (inferior-octave-startup): Fix uses.
13065 (comint-line-beginning-position): Remove compatibility code for
13068 2013-05-01 Juri Linkov <juri@jurta.org>
13070 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13072 2013-05-01 Juri Linkov <juri@jurta.org>
13074 * comint.el (comint-previous-matching-input): Don't print message
13075 "History item: %d" when `isearch-mode' is active.
13076 (comint-history-isearch-message): Print message "History item: %d"
13077 when `comint-input-ring-index' is not empty and this function is
13078 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13080 2013-05-01 Leo Liu <sdl.web@gmail.com>
13082 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13083 definitions. Use completion-at-point to insert keywords.
13084 (octave-abbrev-start): Remove.
13085 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13087 2013-04-30 Leo Liu <sdl.web@gmail.com>
13089 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13092 2013-04-30 Alan Mackenzie <acm@muc.de>
13094 Handle arbitrarily long C++ member initialisation lists.
13095 * progmodes/cc-engine.el (c-back-over-member-initializers):
13097 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13098 (most) member init lists.
13100 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13102 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13105 2013-04-30 Leo Liu <sdl.web@gmail.com>
13107 * progmodes/octave.el (octave-variables): Remove. No builtin
13108 variables any more. All converted to functions.
13109 (octave-font-lock-keywords, octave-completion-at-point-function):
13111 (octave-font-lock-texinfo-comment): New user variable.
13112 (octave-texinfo-font-lock-keywords): New variable for texinfo
13114 (octave-function-comment-block): New face.
13115 (octave-font-lock-texinfo-comment): New function.
13116 (octave-mode): Font lock texinfo comment block.
13118 2013-04-29 Leo Liu <sdl.web@gmail.com>
13120 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13121 indexing expression.
13122 (octave-continuation-string): Do not use \.
13123 (inferior-octave-complete-impossible): Remove.
13124 (inferior-octave-completion-table)
13125 (inferior-octave-completion-at-point): Remove its uses.
13126 (inferior-octave-startup): completion_matches was introduced to
13127 Octave in 1996 so safe to assume it.
13128 (octave-function-file-comment): Improve to follow how Octave does it.
13129 (octave-update-function-file-comment): Tweak.
13131 2013-04-29 Leo Liu <sdl.web@gmail.com>
13133 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13134 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13135 (octave-function-file-comment): Fix typo.
13136 (octave-sync-function-file-names): Use read-char-choice.
13138 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13140 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13141 to t for the less important warnings.
13143 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13145 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13147 2013-04-27 Glenn Morris <rgm@gnu.org>
13149 * vc/log-view.el (log-view-current-entry):
13150 Treat "---" separator lines as part of the following rev. (Bug#14169)
13152 2013-04-27 Juri Linkov <juri@jurta.org>
13154 * subr.el (read-number): Doc fix about using it by interactive
13155 code letter `n'. (Bug#14254)
13157 2013-04-27 Juri Linkov <juri@jurta.org>
13159 * desktop.el (desktop-auto-save-timeout): New option.
13160 (desktop-file-checksum): New variable.
13161 (desktop-save): Add optional arg `auto-save' and don't auto-save
13162 if nothing changed.
13163 (desktop-auto-save-timer): New variable.
13164 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13165 (after-init-hook): Call `desktop-auto-save-set-timer'.
13166 Suggested by Reuben Thomas <rrt@sc3d.org> in
13167 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13169 2013-04-27 Leo Liu <sdl.web@gmail.com>
13171 * progmodes/octave.el (octave-function-file-p)
13172 (octave-skip-comment-forward, octave-function-file-comment)
13173 (octave-update-function-file-comment): New functions.
13174 (octave-mode-map): Bind C-c ; to
13175 octave-update-function-file-comment.
13176 (octave-mode-menu): Add octave-update-function-file-comment.
13177 (octave-mode, inferior-octave-mode): Fix doc-string.
13178 (octave-insert-defun): Conform to Octave's coding convention.
13181 * files.el (basic-save-buffer): Don't let errors in
13182 before-save-hook prevent saving buffer.
13184 2013-04-20 Roland Winkler <winkler@gnu.org>
13186 * faces.el (read-face-name): Use completing-read if arg multiple
13189 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13191 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13192 displayed, move point to after the totals line.
13193 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13196 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13198 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13199 Add current dir to the load-path.
13200 (package-generate-autoloads): Don't rely on
13201 autoload-ensure-default-file.
13203 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13205 * textmodes/remember.el (remember-store-in-files): Document that
13206 the file name format is passed to `format-time-string'.
13208 2013-04-26 Leo Liu <sdl.web@gmail.com>
13210 * progmodes/octave.el (octave-sync-function-file-names): New function.
13211 (octave-mode): Use it in before-save-hook.
13213 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13215 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13218 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13219 \n and comment, even if it's not an implicit ; (bug#14218).
13221 2013-04-26 Glenn Morris <rgm@gnu.org>
13223 * subr.el (read-number): Once more use `read' rather than
13224 `string-to-number', to trap non-numeric input. (Bug#14254)
13226 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13228 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13229 Use `syntax-multiline' text property consistently instead of
13230 `font-lock-multiline'. (Bug#14237)
13232 2013-04-26 Glenn Morris <rgm@gnu.org>
13234 * emacs-lisp/shadow.el (list-load-path-shadows):
13235 No longer necessary to check for duplicate simple.el, since
13236 2012-07-07 change to init_lread to not include installation lisp
13237 directories in load-path when running uninstalled. (Bug#14270)
13239 2013-04-26 Leo Liu <sdl.web@gmail.com>
13241 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13242 (octave-mode, inferior-octave-mode): Use setq-local.
13243 (octave-not-in-string-or-comment-p): Rename to
13244 octave-in-string-or-comment-p.
13245 (octave-in-comment-p, octave-in-string-p)
13246 (octave-in-string-or-comment-p): Replace defsubst with defun.
13248 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13250 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13252 2013-04-25 Bastien Guerry <bzg@gnu.org>
13254 * textmodes/remember.el (remember-data-directory)
13255 (remember-directory-file-name-format): Fix custom types.
13257 2013-04-25 Leo Liu <sdl.web@gmail.com>
13259 * progmodes/octave.el (octave-completion-at-point-function):
13260 Make use of inferior octave process.
13261 (octave-initialize-completions): Remove.
13262 (inferior-octave-completion-table): New function.
13263 (inferior-octave-completion-at-point): Use it.
13264 (octave-completion-alist): Remove.
13266 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13268 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13269 (opascal-mode-syntax-table): New var.
13270 (opascal-literal-kind, opascal-is-literal-end)
13271 (opascal-literal-token-at): Rewrite.
13272 (opascal--literal-start-re, opascal-font-lock-keywords)
13273 (opascal--syntax-propertize): New constants.
13274 (opascal-font-lock-defaults): Adjust.
13275 (opascal-mode): Use them. Set comment-<foo> variables as well.
13276 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13277 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13278 (delphi-other-face, opascal-other-face): Remove face variables.
13279 (opascal-save-state): Remove macro.
13280 (opascal-fontifying-progress-step): Remove constant.
13281 (opascal--ignore-changes): Remove var.
13282 (opascal-set-token-property, opascal-parse-next-literal)
13283 (opascal-is-stable-literal, opascal-complete-literal)
13284 (opascal-is-literal-start, opascal-face-of)
13285 (opascal-parse-region, opascal-parse-region-until-stable)
13286 (opascal-fontify-region, opascal-after-change)
13287 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13288 (opascal-debug-parse-region, opascal-debug-parse-window)
13289 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13290 (opascal-debug-fontify-buffer): Remove.
13291 (opascal-debug-mode-map): Adjust accordingly.
13293 2013-04-25 Leo Liu <sdl.web@gmail.com>
13295 Merge octave-mod.el and octave-inf.el into octave.el with some
13297 * progmodes/octave.el: New file renamed from octave-mod.el.
13298 * progmodes/octave-inf.el: Merged into octave.el.
13299 * progmodes/octave-mod.el: Renamed to octave.el.
13301 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13303 * textmodes/reftex-vars.el
13304 (reftex-label-ignored-macros-and-environments): New defcustom.
13306 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13308 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13310 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13311 (smie-indent-keyword): Improve the check to ensure that the next
13312 comment is really on the same line.
13313 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13315 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13316 semi-colons if the line is not otherwise empty (bug#14218).
13318 2013-04-25 Glenn Morris <rgm@gnu.org>
13320 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13322 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13324 * progmodes/opascal.el (opascal-set-token-property): Rename from
13325 opascal-set-text-properties and only set `token' (bug#14134).
13326 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13327 (opascal-literal-text-properties): Remove.
13328 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13331 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13333 * textmodes/remember.el (remember-handler-functions): Add an
13334 option for a new handler `remember-store-in-files'.
13335 (remember-data-directory, remember-directory-file-name-format):
13337 (remember-store-in-files): New function to store remember notes
13338 as separate files within a directory.
13340 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13342 * progmodes/compile.el (compilation-next-error-function):
13343 Pass "formats" to compilation-find-file (bug#11777).
13345 2013-04-24 Glenn Morris <rgm@gnu.org>
13347 * vc/vc-bzr.el (vc-bzr-print-log):
13348 * vc/vc-hg.el (vc-hg-print-log):
13349 * vc/vc-svn.el (vc-svn-print-log):
13350 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13352 * vc/vc-bzr.el (vc-bzr-print-log):
13353 * vc/vc-cvs.el (vc-cvs-print-log):
13354 * vc/vc-git.el (vc-git-print-log):
13355 * vc/vc-hg.el (vc-hg-print-log):
13356 * vc/vc-mtn.el (vc-mtn-print-log):
13357 * vc/vc-rcs.el (vc-rcs-print-log):
13358 * vc/vc-sccs.el (vc-sccs-print-log):
13359 * vc/vc-svn.el (vc-svn-print-log):
13360 * vc/vc.el (vc-print-log-internal): Doc fixes.
13362 2013-04-23 Glenn Morris <rgm@gnu.org>
13364 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13365 Remove venerable code attempting to avoid substitute-command-keys.
13367 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13369 * textmodes/reftex-vars.el (reftex-label-regexps):
13370 Call `reftex-compile-variables' after changes to this variable.
13372 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13374 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13375 Use lexical-binding.
13376 (jit-lock-force-redisplay): Use markers, check buffer's continued
13377 existence and beware narrowed buffers.
13378 (jit-lock-fontify-now): Adjust call accordingly.
13380 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13382 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13383 to avoid misleading the user.
13385 2013-04-22 Leo Liu <sdl.web@gmail.com>
13387 * info-look.el: Prefer latex2e.info. (Bug#14240)
13389 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13391 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13393 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13394 * net/tramp.el (tramp-call-process): ... here.
13395 (tramp-set-completion-function, tramp-parse-putty):
13396 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13397 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13398 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13399 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13400 (tramp-call-local-coding-command): Use `tramp-call-process'
13401 instead of `tramp-compat-call-process'.
13403 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13404 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13405 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13406 (tramp-find-inline-compress): Improve traces.
13407 (tramp-maybe-send-script): Check for Perl binary.
13408 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13410 2013-04-22 Daiki Ueno <ueno@gnu.org>
13412 * epg.el (epg-context-pinentry-mode): New function.
13413 (epg-context-set-pinentry-mode): New function.
13414 (epg--start): Pass --pinentry-mode option to gpg command.
13416 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13418 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13419 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13420 `completion-at-point'. (Bug#13774)
13422 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13423 default key binding for `describe-distribution' has been moved to
13424 `C-h C-o'. (Bug#13970)
13426 2013-04-21 Glenn Morris <rgm@gnu.org>
13428 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13430 (vc-print-log): Clarify interactive prompt.
13432 2013-04-20 Glenn Morris <rgm@gnu.org>
13434 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13435 No longer include timestamp etc information.
13437 2013-04-20 Roland Winkler <winkler@gnu.org>
13439 * faces.el (read-face-name): Bug fix, return just one face if arg
13440 multiple is nil. (Bug#14209)
13442 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13444 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13445 (remove-function): Autoload.
13447 * comint.el (comint-redirect-original-filter-function): Remove.
13448 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13449 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13450 (vc-cvs-annotate-command):
13451 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13452 * progmodes/prolog.el (prolog-consult-compile):
13453 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13454 Use add/remove-function instead.
13455 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13456 (gud-tooltip-process-output, gud-tooltip-tips):
13457 Use add/remove-function instead.
13458 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13459 (scheme-interaction-mode, exit-scheme-interaction-mode):
13460 Use add/remove-function instead.
13462 * vc/vc-dispatcher.el: Use lexical-binding.
13463 (vc--process-sentinel): Rename from vc-process-sentinel.
13464 Change last arg to be the code to run. Don't use vc-previous-sentinel
13465 and vc-sentinel-commands any more.
13466 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13467 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13469 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13471 * progmodes/sh-script.el (sh-imenu-generic-expression):
13472 Handle function names with a single character. (Bug#14111)
13474 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13476 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13477 for subroutines defined in an eval (bug#14182).
13479 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13481 * bookmark.el (bookmark-completing-read): Improve handling of empty
13482 string (bug#14176).
13484 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13486 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13488 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13490 New faster Imenu implementation (bug#14058).
13491 * progmodes/python.el:
13492 (python-imenu-prev-index-position):
13493 (python-imenu-format-item-label-function)
13494 (python-imenu-format-parent-item-label-function)
13495 (python-imenu-format-parent-item-jump-label-function):
13497 (python-imenu-format-item-label)
13498 (python-imenu-format-parent-item-label)
13499 (python-imenu-format-parent-item-jump-label)
13500 (python-imenu--put-parent, python-imenu--build-tree)
13501 (python-imenu-create-index, python-imenu-create-flat-index)
13502 (python-util-popn): New functions.
13503 (python-mode): Set imenu-create-index-function to
13504 python-imenu-create-index.
13506 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13508 * winner.el (winner-active-region): Use region-active-p, activate-mark
13509 and deactivate-mark (bug#14225).
13511 * simple.el (deactivate-mark): Don't inline it.
13513 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13515 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13517 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13519 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13520 file extensions from the archive-mode entry in order to prefer
13521 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13523 2013-04-18 Leo Liu <sdl.web@gmail.com>
13525 * bindings.el (help-event-list): Add ?\?.
13527 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13529 * subr.el (with-wrapper-hook): Declare obsolete.
13530 * simple.el (filter-buffer-substring-function): New hook.
13531 (filter-buffer-substring): Use it.
13532 (filter-buffer-substring-functions): Mark obsolete.
13533 * minibuffer.el (completion-in-region-function): New hook.
13534 (completion-in-region): Use it.
13535 (completion-in-region-functions): Mark obsolete.
13536 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13537 * abbrev.el (abbrev-expand-function): New hook.
13538 (expand-abbrev): Use it.
13539 (abbrev-expand-functions): Mark obsolete.
13540 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13541 and :filter-return.
13543 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13545 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13546 and do not care about match data.
13548 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13550 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13551 completion tables when completing error conditions and
13552 `declare' arguments.
13553 (lisp-complete-symbol, field-complete): Mark as obsolete.
13554 (check-parens): Unmatched parens are user errors.
13555 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13557 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13559 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13560 command changed buffer (ie. `flyspell-pre-buffer' is not current
13561 buffer), which prevents making decisions based on invalid value of
13562 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13563 cause an error when `flyspell-pre-point' was nil after switching
13565 (flyspell-post-command-hook): No longer needs to change buffers when
13566 checking pre-word. While at it remove unnecessary progn.
13568 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13570 * textmodes/ispell.el (ispell-add-per-file-word-list):
13571 Fix `flyspell-correct-word-before-point' error when accepting
13572 words and `coment-padding' is an integer by using
13573 `comment-normalize-vars' (Bug #14214).
13575 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13577 New defun movement commands.
13578 * progmodes/python.el (python-nav--syntactically)
13579 (python-nav--forward-defun, python-nav-backward-defun)
13580 (python-nav-forward-defun): New functions.
13582 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13584 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13585 (python-syntax-context): Use named compiler-macro for backwards
13586 compatibility with Emacs 24.x.
13588 2013-04-17 Leo Liu <sdl.web@gmail.com>
13590 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13591 octave-hide-process-buffer.
13593 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13595 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13598 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13600 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13601 Fix adjustment of offset when receiving incomplete responses from GDB
13604 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13606 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13607 python-mode-abbrev-table.
13608 (python-skeleton-define): Adjust accordingly.
13609 (python-mode-abbrev-table): New table that inherits from it so that
13610 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13612 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13613 (abbrev-symbol): Use it.
13614 (abbrev--before-point): Use it since we already handle inheritance.
13616 2013-04-16 Leo Liu <sdl.web@gmail.com>
13618 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13619 binding to info-lookup-symbol.
13621 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13623 * minibuffer.el (completion--twq-all):
13624 * term/ns-win.el (ns-initialize-window-system):
13625 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13627 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13629 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13632 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13634 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13636 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13637 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13639 (ruby-end-of-defun): Remove the unused arg, change the docstring
13640 to reflect that this function is only used as the value of
13641 `end-of-defun-function'.
13642 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13643 to reflect an earlier change that beginning/end-of-defun functions
13644 jump between methods in a class definition, as well as top-level
13647 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13649 * minibuffer.el (minibuffer-complete): Don't just scroll
13650 a *Completions* that's been iconified.
13651 (minibuffer-force-complete): Make sure repetitions do cycle when going
13652 through completion-in-region -> minibuffer-complete.
13654 2013-04-15 Alan Mackenzie <acm@muc.de>
13656 Correct the placement of c-cpp-delimiters when there're #s not at
13659 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13660 place a submatch around the #.
13661 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13662 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13665 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13667 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13668 (advice--member-p): New arg `name'.
13669 (advice--add-function, advice-member-p): Use it (bug#14202).
13671 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13673 Reformulate java imenu-generic-expression.
13674 The old expression contained ill formed regexps.
13676 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13677 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13678 (cc-imenu-java-method-arg-regexp): New defconsts.
13679 (cc-imenu-java-build-type-args-regex): New defun.
13680 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13681 handling of spaces in the regexp.
13683 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13685 * textmodes/ispell.el (ispell-command-loop): Remove
13686 flyspell highlight of a word when ispell accepts it (bug #14178).
13688 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13690 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13691 uses code from the previous `ange-ftp-run-real-handler'.
13692 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13693 only in case that function exist. This is needed for proper
13694 unloading of Tramp.
13696 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13698 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13700 * textmodes/reftex.el (reftex-compile-variables): Use it.
13702 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13704 * files.el (normal-mode): Only use default major-mode if no other mode
13707 * emacs-lisp/trace.el (trace-values): New function.
13709 * files.el: Allow : in local variables (bug#14089).
13710 (hack-local-variable-regexp): New var.
13711 (hack-local-variables-prop-line, hack-local-variables): Use it.
13713 2013-04-13 Roland Winkler <winkler@gnu.org>
13715 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13716 data before it gets modified by bibtex-beginning-of-entry.
13718 2013-04-13 Roland Winkler <winkler@gnu.org>
13720 * textmodes/bibtex.el (bibtex-url): Doc fix.
13722 2013-04-13 Roland Winkler <winkler@gnu.org>
13724 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13725 does not visit a BibTeX file, exclude it from the list of buffers
13726 returned by bibtex-initialize.
13728 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13730 * window.el (split-window): Remove interactive form, since as a
13731 command this function is a special case of split-window-below.
13732 Correct doc string.
13734 2013-04-12 Roland Winkler <winkler@gnu.org>
13736 * faces.el (read-face-name): Do not override value of arg default.
13737 Allow single faces and strings as default values. Remove those
13738 elements from return value that are not faces.
13739 (describe-face): Simplify.
13740 (face-at-point): New optional args thing and multiple so that this
13741 function can provide the same functionality previously provided by
13743 (make-face-bold, make-face-unbold, make-face-italic)
13744 (make-face-unitalic, make-face-bold-italic, invert-face)
13745 (modify-face, read-face-and-attribute): Use face-at-point.
13747 * cus-edit.el (customize-face, customize-face-other-window)
13748 * cus-theme.el (custom-theme-add-face)
13749 * face-remap.el (buffer-face-set)
13750 * facemenu.el (facemenu-set-face): Use face-at-point.
13752 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13754 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13756 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13758 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13759 off leading { and trailing } from field values.
13761 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13763 * emacs-lisp/timer.el (timer--check): New function.
13764 (timer--time, timer-set-function, timer-event-handler): Use it.
13765 (timer-set-idle-time): Simplify.
13766 (timer--activate): CSE.
13767 (timer-event-handler): Give more info in error message.
13768 (internal-timer-start-idle): New function, moved from C.
13770 * mpc.el (mpc-proc): Add `restart' argument.
13771 (mpc-proc-cmd): Use it.
13772 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13773 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13776 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13778 * progmodes/sh-script.el: Implement `sh-mode' own
13779 `add-log-current-defun-function' (bug#14112).
13780 (sh-current-defun-name): New function.
13781 (sh-mode): Use the function.
13783 2013-04-09 Bastien Guerry <bzg@gnu.org>
13785 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13787 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13789 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13791 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13794 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13796 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13799 2013-04-07 Leo Liu <sdl.web@gmail.com>
13801 * pcmpl-x.el: New file.
13803 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13805 Do not set x-display-name until X connection is established.
13806 This is needed to prevent from weird situation described at
13807 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13808 * frame.el (make-frame): Set x-display-name after call to
13809 window system initialization function, not before.
13810 * term/x-win.el (x-initialize-window-system): Add optional
13811 display argument and use it.
13812 * term/w32-win.el (w32-initialize-window-system):
13813 * term/ns-win.el (ns-initialize-window-system):
13814 * term/pc-win.el (msdos-initialize-window-system):
13815 Add compatible optional display argument.
13817 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13819 * files.el (normal-backup-enable-predicate): On MS-Windows and
13820 MS-DOS compare truenames of temporary-file-directory and of the
13821 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13822 don't fail comparison by compare-strings. Also, compare file
13823 names case-insensitively on MS-Windows and MS-DOS.
13825 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13827 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13828 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13830 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13832 * whitespace.el (whitespace-color-on, whitespace-color-off):
13833 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13835 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13837 * ispell.el (ispell-set-spellchecker-params):
13838 Really set `ispell-args' for all equivs.
13840 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13842 * ido.el (ido-completions): Use extra elements of ido-decorations
13844 (ido-decorations): Update docstring.
13846 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13848 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13849 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13850 nil during initialization, in order not to miss changes since the
13851 file was opened. (Bug#14140)
13853 2013-04-05 Leo Liu <sdl.web@gmail.com>
13855 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13857 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13859 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13861 2013-04-04 Glenn Morris <rgm@gnu.org>
13863 * electric.el (electric-pair-inhibit-predicate): Add :version.
13865 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13868 when a package is required several times (bug#14082).
13870 2013-04-04 Roland Winkler <winkler@gnu.org>
13872 * faces.el (read-face-name): Behave as promised by the docstring.
13873 Assume that arg default is a list of faces.
13874 (describe-face): Call read-face-name with list of default faces.
13876 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13878 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13879 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13880 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13882 (bookmark-exit-hook-internal): Save even if list is empty.
13884 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13886 * emacs-lisp/package.el (package-pinned-packages): New var.
13887 (package--add-to-archive-contents): Obey it (bug#14118).
13889 2013-04-03 Alan Mackenzie <acm@muc.de>
13891 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13892 Also adapt to the new values of element 7 of a parse state.
13894 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13895 parameter `not-in-delimiter'. Handle being inside comment opener.
13896 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13897 character in case we're typing a '*' after a '/'.
13898 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13899 instead by passing the parameter to c-state-pp-to-literal.
13901 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13902 for elt. 7 of a parse state.
13904 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13906 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13907 * international/latin1-disp.el, international/mule-util.el:
13908 * language/cyril-util.el, language/european.el, language/ind-util.el:
13909 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13910 * language/tibetan.el, language/viet-util.el:
13911 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13913 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13915 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13916 (electric-pair-post-self-insert-function): Use it.
13917 (electric-pair-default-inhibit): New function, extracted from
13918 electric-pair-post-self-insert-function.
13920 2013-03-31 Roland Winkler <winkler@gnu.org>
13922 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13924 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13928 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13930 Un-indent after "pass" and "return" statements (Bug#13888)
13931 * progmodes/python.el (python-indent-block-enders): New var.
13932 (python-indent-calculate-indentation): Use it.
13934 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13936 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13937 defun. Defining it as defalias could introduce too eager
13938 byte-compiler optimization. (Bug#14030)
13940 2013-03-30 Chong Yidong <cyd@gnu.org>
13942 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13944 2013-03-30 Leo Liu <sdl.web@gmail.com>
13946 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13947 (kmacro-execute-from-register): Pass the keyboard macro to
13948 kmacro-call-macro or repeating won't work correctly.
13950 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13952 * progmodes/subword.el: Back to using `forward-symbol'.
13954 * subr.el (forward-whitespace, forward-symbol)
13955 (forward-same-syntax): Move from thingatpt.el.
13957 2013-03-29 Leo Liu <sdl.web@gmail.com>
13959 * kmacro.el (kmacro-to-register): New command.
13960 (kmacro-execute-from-register): New function.
13961 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13963 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13965 * mpc.el: Use defvar-local and setq-local.
13966 (mpc--proc-connect): Connection failures are not bugs.
13967 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13968 (mpc-volume-map): Bind to the up-events.
13970 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13972 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13973 instead of `forward-symbol'.
13975 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13977 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13978 (edebug--recursive-edit): Use it.
13979 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13980 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13982 2013-03-28 Leo Liu <sdl.web@gmail.com>
13984 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13986 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13988 * facemenu.el (list-colors-callback): New defvar.
13989 (list-colors-redisplay): New function.
13990 (list-colors-display): Install list-colors-redisplay as the
13991 revert-buffer-function. (Bug#14063)
13993 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13995 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13996 and suffixes don't overlap (bug#14061).
13998 * case-table.el: Use lexical-binding.
13999 (case-table-get-table): New function.
14000 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14002 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14004 * progmodes/subword.el: Add `superword-mode' to do word motion
14005 over symbol_words (parallels and leverages `subword-mode' which
14006 does word motion inside MixedCaseWords).
14008 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14010 * eshell/em-unix.el: Move su and sudo to...
14011 * eshell/em-tramp.el: ...Eshell tramp module.
14013 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14015 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14016 Change return value to be a sexp. Delay `get-buffer' to after
14017 restoring the desktop (bug#13951).
14019 2013-03-26 Leo Liu <sdl.web@gmail.com>
14021 * register.el: Move semantic tag handling back to
14022 cedet/semantic/senator.el. (Bug#14052)
14024 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14026 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14027 into the prompt either (bug#13963).
14029 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14031 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14032 part of "(error-foo)".
14034 2013-03-24 Juri Linkov <juri@jurta.org>
14036 * replace.el (list-matching-lines-prefix-face): New defcustom.
14037 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14038 `occur-engine' if `face-differs-from-default-p' returns t.
14039 (occur-engine): Add `,' inside backquote construct to evaluate
14040 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14041 Pass `prefix-face' to the functions `occur-context-lines' and
14042 `occur-engine-add-prefix'.
14043 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14044 `prefix-face' and propertize the prefix with `prefix-face'.
14047 2013-03-24 Leo Liu <sdl.web@gmail.com>
14049 * nxml/rng-valid.el (rng-validate-while-idle)
14050 (rng-validate-quick-while-idle): Guard against deleted buffer.
14053 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14054 is the last entry in kill-buffer-hook.
14056 * files.el (kill-buffer-hook): Doc fix.
14058 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14060 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14061 Make it safe-local.
14063 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14065 2013-03-23 Leo Liu <sdl.web@gmail.com>
14067 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14070 * nxml/rng-valid.el (rng-validate-mode)
14071 (rng-after-change-function, rng-do-some-validation):
14072 * nxml/rng-maint.el (rng-validate-buffer):
14073 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14074 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14075 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14076 (nxml-extend-after-change-region): Use with-silent-modifications.
14078 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14081 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14082 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14083 timer-idle-list. (Bug#13999)
14085 2013-03-23 Juri Linkov <juri@jurta.org>
14087 * info.el (info-index-match): New face.
14088 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14089 main pattern and add text properties with the new face to matches
14090 in index entries relative to the beginning of the index entry.
14093 2013-03-21 Eric Ludlam <zappo@gnu.org>
14095 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14096 Inhibit read only while inserting objects.
14098 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14100 * progmodes/cfengine.el: Update docs to mention
14101 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14102 symbol motion. Remove "_" from the word syntax.
14104 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14106 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14107 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14109 2013-03-20 Juri Linkov <juri@jurta.org>
14111 * info.el (Info-next-reference-or-link)
14112 (Info-prev-reference-or-link): New functions.
14113 (Info-next-reference, Info-prev-reference): Use them.
14114 (Info-try-follow-nearest-node): Handle footnote navigation.
14115 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14117 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14120 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14122 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14124 Suppress unnecessary non-ASCII chatter during build process.
14125 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14126 (batch-skkdic-convert): Suppress most of the chatter.
14127 It's not needed so much now that machines are faster,
14128 and its non-ASCII component was confusing; see Dmitry Gutov in
14129 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14131 2013-03-20 Leo Liu <sdl.web@gmail.com>
14133 * ido.el (ido-chop): Fix bug#10994.
14135 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14137 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14139 (whitespace-color-on, whitespace-color-off):
14140 Use `font-lock-fontify-buffer' (Bug#13817).
14142 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14144 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14145 remapping in mode-line.
14146 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14148 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14150 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14151 value for `whitespace-line' face (Bug#13875).
14152 (whitespace-font-lock-keywords): Change description.
14153 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14154 the constructed keywords instead.
14155 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14157 2013-03-19 Leo Liu <sdl.web@gmail.com>
14159 * progmodes/compile.el (compilation-display-error): New command.
14160 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14163 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14165 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14167 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14169 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14171 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14173 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14175 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14176 * net/tramp-gvfs.el (top):
14177 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14178 (tramp-handle-shell-command): Use it.
14179 (tramp-dissect-file-name): Raise an error when hostname is a
14180 method name, and neither method nor user is specified.
14182 * net/trampver.el: Update release number.
14184 2013-03-18 Leo Liu <sdl.web@gmail.com>
14186 Make sure eldoc can be turned off properly.
14187 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14189 (eldoc-display-message-p): Revert last change.
14190 (eldoc-display-message-no-interference-p)
14191 (eldoc-print-current-symbol-info): Tweak.
14193 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14195 * doc-view.el (doc-view-new-window-function): Check the new window
14196 overlay's display property instead the char property of the
14197 buffer's first char. Use `with-selected-window' instead of
14198 `save-window-excursion' with `select-window'.
14199 (doc-view-document->bitmap): Check the current doc-view overlay's
14200 display property instead the char property of the buffer's first char.
14202 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14204 Automate the build of ja-dic.el (Bug#13984).
14205 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14206 from the input, rather than assume that it's been done for us by the
14207 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14208 the current date into a ja-dic.el comment, as that complicates
14209 regression testing.
14211 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14213 * whitespace.el: Fix double evaluation.
14214 (whitespace-space, whitespace-hspace, whitespace-tab)
14215 (whitespace-newline, whitespace-trailing, whitespace-line)
14216 (whitespace-space-before-tab, whitespace-indentation)
14217 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14219 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14220 (whitespace-color-on): Use a single font-lock-add-keywords call.
14221 Fix double-evaluation of face variables.
14223 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14225 * net/tramp-adb.el (tramp-adb-parse-device-names):
14226 Use `start-process' instead of `call-process'. Otherwise, the
14227 function might be blocked under MS Windows. (Bug#13299)
14229 2013-03-17 Leo Liu <sdl.web@gmail.com>
14231 Extend eldoc to display info in the mode-line. (Bug#13978)
14232 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14233 (eldoc-mode-line-string): New variable.
14234 (eldoc-minibuffer-message): New function.
14235 (eldoc-message-function): New variable.
14236 (eldoc-message): Use it.
14237 (eldoc-display-message-p)
14238 (eldoc-display-message-no-interference-p):
14239 Support eldoc-post-insert-mode.
14241 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14242 (eval-expression): Run it.
14244 2013-03-17 Roland Winkler <winkler@gnu.org>
14246 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14247 strings in the list of return values.
14249 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14251 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14252 radix before checking for HMS forms.
14254 2013-03-16 Leo Liu <sdl.web@gmail.com>
14256 * progmodes/scheme.el: Add indentation and font-locking for λ.
14259 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14261 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14262 token before point (bug#13942).
14264 2013-03-16 Leo Liu <sdl.web@gmail.com>
14266 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14268 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14270 * startup.el (command-line-normalize-file-name): Fix handling of
14271 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14272 <xfq.free@gmail.com> in
14273 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14275 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14277 Sync with Tramp 2.2.7.
14279 * net/trampver.el: Update release number.
14281 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14283 * doc-view.el: Fix bug#13887.
14284 (doc-view-insert-image): Don't modify overlay associated to
14285 non-live windows, and implement horizontal centering of image in
14286 case it's smaller than the window.
14287 (doc-view-new-window-function): Force redisplay of new windows on
14290 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14292 * saveplace.el (save-place-alist-to-file): Don't sort
14293 `save-place-alist', just pretty-print it (bug#13882).
14295 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14297 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14298 Check whether `default-file-name-coding-system' is bound.
14299 It isn't in XEmacs.
14301 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14303 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14304 backquotes for `obsolete' (bug#13929).
14306 * international/mule.el (find-auto-coding): Include file name in
14307 obsolescence warning (bug#13922).
14309 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14311 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14312 for CFEngine 3-specific indentation.
14313 (cfengine3-indent-line): Use it. Fix up category regex.
14314 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14316 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14318 * type-break.el (type-break-file-name):
14319 * textmodes/remember.el (remember-data-file):
14320 * strokes.el (strokes-file):
14321 * shadowfile.el (shadow-initialize):
14322 * saveplace.el (save-place-file):
14323 * ps-bdf.el (bdf-cache-file):
14324 * progmodes/idlwave.el (idlwave-config-directory):
14325 * net/quickurl.el (quickurl-url-file):
14326 * international/kkc.el (kkc-init-file-name):
14327 * ido.el (ido-save-directory-list-file):
14328 * emulation/viper.el (viper-custom-file-name):
14329 * emulation/vip.el (vip-startup-file):
14330 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14331 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14333 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14335 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14336 * language/thai-word.el: Switch to UTF-8.
14338 See ChangeLog.16 for earlier changes.
14340 ;; Local Variables:
14344 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14346 This file is part of GNU Emacs.
14348 GNU Emacs is free software: you can redistribute it and/or modify
14349 it under the terms of the GNU General Public License as published by
14350 the Free Software Foundation, either version 3 of the License, or
14351 (at your option) any later version.
14353 GNU Emacs is distributed in the hope that it will be useful,
14354 but WITHOUT ANY WARRANTY; without even the implied warranty of
14355 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14356 GNU General Public License for more details.
14358 You should have received a copy of the GNU General Public License
14359 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.