1 2013-11-29 Andreas Politz <politza@fh-trier.de>
2 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3 allow non-lambda lists as functions.
4 (imenu--in-alist): Don't recurse into non-subalists.
5 (imenu): Don't pass function itself as an argument (Bug#14029).
7 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9 * progmodes/python.el (python-mode-map): Remove binding for ":".
10 (python-indent-electric-colon): Remove command.
11 (python-indent-post-self-insert-function): Integrate the previous code
12 of python-indent-electric-colon. Make it conditional on
14 (python-mode): Add ?: to electric-indent-chars.
15 Move python-indent-post-self-insert-function to the end of
16 post-self-insert-hook.
18 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
20 * doc-view.el (doc-view-goto-page): Update mode-line.
22 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
24 2013-11-27 Glenn Morris <rgm@gnu.org>
26 * international/charprop.el, international/uni-bidi.el:
27 * international/uni-category.el, international/uni-combining.el:
28 * international/uni-comment.el, international/uni-decimal.el:
29 * international/uni-decomposition.el, international/uni-digit.el:
30 * international/uni-lowercase.el, international/uni-mirrored.el:
31 * international/uni-name.el, international/uni-numeric.el:
32 * international/uni-old-name.el, international/uni-titlecase.el:
33 * international/uni-uppercase.el:
34 Remove generated files from VCS repository.
36 2013-11-27 Eli Zaretskii <eliz@gnu.org>
38 * filenotify.el (file-notify-add-watch): Don't special-case
39 w32notify when computing the directory to watch.
41 2013-11-27 Glenn Morris <rgm@gnu.org>
43 Make bootstrap without generated uni-*.el files possible again.
44 * loadup.el: Update command-line-args checking for unidata-gen.
45 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
46 * composite.el, international/characters.el:
47 Handle unicode tables being undefined.
49 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
50 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
51 (compile-main): Depend on leim rule.
53 * loadup.el: Move leim-list.el to leim/ subdirectory.
54 * startup.el (normal-top-level): No more leim directory.
55 * international/ja-dic-cnv.el (skkdic-convert):
56 Disable version-control and autoloads in output files.
57 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
58 Disable version-control and autoloads in output files.
59 * leim/quail: Move here from ../leim.
60 * leim/quail/hangul.el (hangul-input-method-activate):
62 (generated-autoload-load-name): Set file-local value.
63 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
64 (generated-autoload-load-name): Set file-local value.
66 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
68 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
69 (eww-add-bookmark): ask confirmation when add to bookmarks
70 (eww-quit): ask confirmation before quitting eww
72 2013-11-26 Eli Zaretskii <eliz@gnu.org>
74 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
75 reading output from Diff on MS-Windows and MS-DOS.
77 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
79 * emacs-lisp/helpers.el (string-reverse): New function.
81 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
83 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
84 names on MS Windows, like "/[::1]:".
86 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
89 2013-11-26 Glenn Morris <rgm@gnu.org>
91 * progmodes/python.el (python-indent-guess-indent-offset):
92 Avoid corner-case error. (Bug#15975)
94 Preload leim-list.el. (Bug#4789)
95 * loadup.el: Load leim-list.el when found.
96 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
98 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
100 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
102 * emacs-lisp/helpers.el (string-join): New function.
104 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
106 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
107 Mark as obsolete and replace it with a symbol property.
108 (byte-compile-form): Use new 'interactive-only property.
109 * comint.el, files.el, replace.el, simple.el:
110 Apply new 'interactive-only properly.
112 2013-11-25 Martin Rudalics <rudalics@gmx.at>
114 * window.el (display-buffer-at-bottom): Make sure that
115 split-window-sensibly creates the new window on bottom
118 2013-11-23 David Kastrup <dak@gnu.org>
120 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
121 on the conflict markers when available.
122 (smerge--get-marker): New function.
123 (smerge-end-re, smerge-base-re): Add subgroup.
125 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
127 * frame.el (handle-focus-in, handle-focus-out): Add missing
130 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
132 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
133 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
135 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
137 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
138 (gomoku--last-pos): New var.
139 (gomoku--intangible-chars): New const.
140 (gomoku--intangible): New function.
141 (gomoku-mode): Use it. Derive from special-mode.
142 (gomoku-move-up): Adjust line count.
143 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
144 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
145 Simplify accordingly.
147 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
148 Remove blink-cursor code.
149 (blink-cursor-timer-function, blink-cursor-suspend):
150 Don't special-case GUIs.
151 (blink-cursor-mode): Use focus-in/out-hook.
153 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
155 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
156 work when annotation is invisible (Bug#13886).
158 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
160 * json.el (json-alist-p): Only return non-nil if the alist has
161 simple keys (Bug#13518).
163 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
165 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
166 when control-statement is the first statement in a buffer (Bug#15956).
168 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
170 * imenu.el (imenu-generic-skip-comments-and-strings):
171 New option (Bug#15560).
172 (imenu--generic-function): Use it.
174 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
176 * minibuffer.el (completion--in-region-1): Scroll the correct
179 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
181 * emacs-lisp/helpers.el: Add some string helpers.
182 (string-trim-left): Removes leading whitespace.
183 (string-trim-right): Removes trailing whitespace.
184 (string-trim): Removes leading and trailing whitespace.
186 * subr.el (string-suffix-p): New function.
188 2013-11-23 Glenn Morris <rgm@gnu.org>
190 * progmodes/python.el (python-shell-send-file):
191 Add option to delete file when done. (Bug#15647)
192 (python-shell-send-string, python-shell-send-region): Use it.
194 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
196 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
197 to set buffer-read-only to t, never to nil. (Bug#15938)
199 * textmodes/tex-mode.el (latex-noindent-environments):
200 Add safe-local-variable property. (Bug#15936)
202 2013-11-23 Glenn Morris <rgm@gnu.org>
204 * textmodes/enriched.el (enriched-mode): Doc fix.
205 * emacs-lisp/authors.el (authors-renamed-files-alist):
206 Add enriched.doc -> enriched.txt.
208 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
210 2013-11-22 Leo Liu <sdl.web@gmail.com>
212 * progmodes/octave.el (inferior-octave-startup): Spit out error
215 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
217 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
220 (ruby-encoding-magic-comment-style): Add :version.
222 2013-11-22 Leo Liu <sdl.web@gmail.com>
224 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
226 (octave-help-mode): Adapt to change to help-mode-finish to use
227 derived-mode-p on 2013-09-17.
228 (inferior-octave-prompt): Also match octave-gui.
229 (octave-kill-process): Don't ask twice. (Bug#10564)
231 2013-11-22 Leo Liu <sdl.web@gmail.com>
233 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
234 (inferior-octave-startup, inferior-octave-check-process)
235 (inferior-octave-track-window-width-change)
236 (octave-completion-at-point, octave-eldoc-function): Use it.
237 (octave-kill-process): Provide confirmation. (Bug#10564)
239 2013-11-21 Leo Liu <sdl.web@gmail.com>
241 * progmodes/octave.el (octave-mode, inferior-octave-mode):
242 Fix obsolete variable comment-use-global-state.
244 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
246 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
247 Add `octave-source-file'.
248 (octave-source-file): New function. (Bug#15935)
250 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
252 * net/eww.el (eww-local-regex): New variable.
253 (eww): Use it to detect localhost and similar.
255 2013-11-21 Leo Liu <sdl.web@gmail.com>
257 Add completion for command `ag'.
258 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
259 (pcomplete/ag): New function.
260 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
262 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
264 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
266 (make-obsolete): Remove interactive spec.
268 2013-11-21 Glenn Morris <rgm@gnu.org>
270 * startup.el (command-line-1): Use path-separator with -L.
272 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
274 * emacs-lisp/package.el (describe-package-1): Add package archive
277 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
279 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
280 Change default to "# encoding: %s" to differentiate it from the
281 default Ruby encoding comment template.
283 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
285 * ses.el (ses-mode): Doc fix. (Bug#14748)
287 2013-11-20 Leo Liu <sdl.web@gmail.com>
289 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
291 2013-11-19 Dan Nicolaescu <dann@gnu.org>
293 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
294 when rebase or bisect are in progress.
296 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
298 * filenotify.el (file-notify-add-watch): Doc fix.
300 2013-11-19 Leo Liu <sdl.web@gmail.com>
302 * obsolete/rcompile.el: Mark obsolete.
304 * progmodes/compile.el (compilation-start)
305 (compilation-goto-locus, compilation-find-file):
306 Pass no-display-ok and handle nil value from display-buffer.
309 * window.el (display-buffer-alist, display-buffer): Document the
310 new parameter no-display-ok.
312 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
314 * electric.el (electric-indent-mode-map): Remove.
315 (electric-indent-mode): Change the global-map instead (bug#15915).
317 * textmodes/text-mode.el (paragraph-indent-minor-mode):
320 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
322 * emacs-lisp/nadvice.el (remove-function): Align with
323 add-function's behavior.
325 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
326 (gdb--string-regexp): New constant.
327 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
328 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
329 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
331 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
332 Adjust use accordingly.
333 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
335 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
337 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
338 interpolation curlies (Bug#15914).
340 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
342 * calc/calc.el (calc-context-sensitive-enter): New variable.
343 (calc-enter): Use `calc-context-sensitive-enter'.
345 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
347 * progmodes/cfengine.el: Version bump.
348 (cfengine-cf-promises): New defcustom to locate cf-promises.
349 (cfengine3-vartypes): Add new "data" type.
350 (cfengine3--current-word): New function to get current name-like
352 (cfengine3--current-function): New function to look up a CFEngine
353 function's definition.
354 (cfengine3-format-function-docstring): New function.
355 (cfengine3-make-syntax-cache): New function.
356 (cfengine3-documentation-function): New function: ElDoc glue.
357 (cfengine3-completion-function): New function: completion glue.
358 (cfengine3-mode): Set `compile-command',
359 `eldoc-documentation-function', and add to
360 `completion-at-point-functions'.
362 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
364 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
365 `tramp-current-connection'.
367 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
369 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
370 nil/self/true/false with "end of symbol".
372 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
374 * subr.el (version-regexp-alist): Fix a typo.
376 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
378 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
379 "en_US.utf8" and "LC_CTYPE" to "".
380 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
381 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
383 2013-11-15 Leo Liu <sdl.web@gmail.com>
385 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
387 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
389 * progmodes/gud.el (ctl-x-map):
390 Remove C-x SPC binding. (Bug#12342)
391 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
393 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
395 * subr.el (version-regexp-alist):
396 Recognize hg, svn and darcs versions as snapshot versions.
398 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
399 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
400 (ruby--encoding-comment-required-p): Extract from
401 `ruby-mode-set-encoding'.
402 (ruby-mode-set-encoding): Add the ability to always insert an
403 utf-8 encoding comment. Fix and simplify coding comment update
406 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
408 * net/tramp-gvfs.el (top): Run init code only when
409 `tramp-gvfs-enabled' is not nil.
410 (tramp-gvfs-enabled): Check also :system bus.
412 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
414 Sync with upstream verilog-mode revision 78e66ba.
415 * progmodes/verilog-mode.el (verilog-end-of-defun)
416 (verilog-type-completion, verilog-get-list): Remove unused funcs.
417 (verilog-get-end-of-defun): Remove unused argument.
418 (verilog-comment-depth): Remove unused local `e'.
419 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
420 Don't pass arg to verilog-get-end-of-defun.
422 2013-11-14 Glenn Morris <rgm@gnu.org>
424 * obsolete/assoc.el (aget): Prefix dynamic variable.
426 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
428 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
430 * widget.el, hfy-cmap.el: Remove bogus package version number.
432 2013-11-13 Glenn Morris <rgm@gnu.org>
434 * replace.el (replace-eval-replacement):
435 Try to give more helpful error message. (Bug#15836)
437 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
438 (archive-7z-update): Avoid custom type mismatches.
440 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
442 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
444 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
445 address can be empty.
447 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
449 (tramp-gvfs-handle-write-region): Implement APPEND.
451 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
453 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
454 binary "|" operator and closing block args delimiter.
455 Remove FIXME comment referring to Ruby 1.8-only syntax.
456 (ruby-smie--implicit-semi-p): Not after "|" operator.
457 (ruby-smie--closing-pipe-p): New function.
458 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
459 (ruby-smie-rules): Indent after "|".
461 2013-11-12 Glenn Morris <rgm@gnu.org>
463 * ps-print.el (ps-face-attribute-list):
464 Handle anonymous faces. (Bug#15827)
466 2013-11-12 Martin Rudalics <rudalics@gmx.at>
468 * window.el (display-buffer-other-frame): Fix doc-string.
471 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
473 * subr.el (force-mode-line-update): Delete, move to buffer.c.
475 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
477 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
478 (tramp-sh-handle-file-local-copy): Don't write a message when
479 saving temporary files.
481 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
482 both directories are remote.
483 (tramp-smb-handle-directory-files): Do not return double entries.
484 Do not expand full file names.
485 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
486 (tramp-smb-handle-write-region): Implement APPEND.
487 (tramp-smb-get-stat-capability): Fix a stupid bug.
489 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
491 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
493 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
495 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
496 throwing error over malformed let/let* (bug#15814).
498 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
500 * iswitchb.el (iswitchb-mode): Mark obsolete.
502 2013-11-11 Glenn Morris <rgm@gnu.org>
504 * international/uni-bidi.el, international/uni-category.el:
505 * international/uni-name.el, international/uni-numeric.el:
506 Regenerate for Unicode 6.3.0.
508 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
510 * net/tramp.el (tramp-methods):
511 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
512 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
514 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
516 * progmodes/sh-script.el (sh-font-lock-keywords-var):
517 Force highlighting text after Summary keyword in doc face for rpm.
519 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
521 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
522 available and the word has no wildcards, append one to the grep pattern.
523 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
524 (ispell-complete-word): Call `ispell-lookup-words' with the value
525 independent of `ispell-look-p'.
527 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
529 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
531 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
534 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
536 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
537 (ruby-font-lock-keywords): Use backquote.
539 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
541 * progmodes/ruby-mode.el (ruby-smie--forward-token)
542 (ruby-smie--backward-token): Only consider full-string matches.
544 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
546 * faces.el (describe-face): Add distant-foreground.
548 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
550 * progmodes/ruby-mode.el: Improve encoding comment handling.
551 (ruby-encoding-magic-comment-style): New option.
552 (ruby-custom-encoding-magic-comment-template): New option.
553 (ruby--insert-coding-comment, ruby--detect-encoding):
554 New functions extracted from `ruby-mode-set-encoding'.
555 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
556 to control the style of the auto-inserted encoding comment.
558 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
560 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
561 Use `smie-backward-sexp' with token argument.
563 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
565 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
566 Remove instrumentation code.
568 2013-11-08 Glenn Morris <rgm@gnu.org>
570 * progmodes/autoconf.el (autoconf-mode):
571 Tweak comment-start-skip. (Bug#15822)
573 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
575 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
577 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
579 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
581 * man.el (Man-start-calling): New macro, extracted from
582 Man-getpage-in-background.
583 (Man-getpage-in-background): Use it.
584 (Man-update-manpage): New command.
585 (Man-mode-map): Bind it.
587 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
589 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
590 of "and", "or", "&&" and "||".
591 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
592 argument. Prohibit opening curly brace because it could only be a
593 block opener in that position.
594 (ruby-smie--forward-token, ruby-smie--backward-token):
595 Separate "|" from "&" or "*" going after it. That can happen in block
597 (ruby-smie--indent-to-stmt): New function, seeks the end of
598 previous statement or beginning of buffer.
599 (ruby-smie-rules): Use it.
600 (ruby-smie-rules): Check if there's a ":" before a curly block
601 opener candidate; if there is, it's a hash.
603 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
605 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
606 (cl--block-wrapper): Fix last accidental change.
608 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
610 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
611 Instrument, in order to hunt failure on hydra.
613 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
615 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
616 malformed bindings form (bug#15814).
618 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
620 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
621 "." compared to " @ ". This incidentally fixes some indentation
623 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
624 (ruby-smie-grammar): New tokens: "and" and "or".
625 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
626 Exclude "and" and "or". Remove "do" in order to work around token
628 (ruby-smie-rules): Add all infix tokens. Handle the case of
631 2013-11-06 Glenn Morris <rgm@gnu.org>
633 * Makefile.in (setwins_almost, setwins_for_subdirs):
634 Avoid accidental matches.
636 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
638 * menu-bar.el (popup-menu): Use key-binding.
640 2013-11-06 Eli Zaretskii <eliz@gnu.org>
642 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
643 menus, support also the menus produced by minor modes.
646 2013-11-06 Leo Liu <sdl.web@gmail.com>
648 * thingatpt.el (thing-at-point-looking-at): Add optional arg
649 DISTANCE to bound the search. All uses changed. (Bug#15808)
651 2013-11-06 Glenn Morris <rgm@gnu.org>
653 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
654 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
655 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
657 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
659 * electric.el (electric-indent-just-newline): New command.
660 (electric-indent-mode-map): New keymap.
661 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
662 Re-add :group which weren't redundant.
664 * electric.el (electric-indent-local-mode): New minor mode.
665 (electric-indent-functions-without-reindent): New var.
666 (electric-indent-post-self-insert-function): Use it.
667 * emacs-lisp/gv.el (buffer-local-value): Add setter.
669 2013-11-05 Eli Zaretskii <eliz@gnu.org>
671 * international/quail.el (quail-help): Be more explicit about the
672 meaning of the labels shown on the keys. (Bug#15800)
674 * startup.el (normal-top-level): Load the subdirs.el files before
675 setting the locale environment. (Bug#15805)
677 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
679 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
680 via arguments so as to get the right ones (bug#15418).
682 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
684 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
686 Fix problems found while writing a test suite.
688 * net/tramp-compat.el (tramp-compat-load): New defun.
689 * net/tramp.el (tramp-handle-load): Use it.
691 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
692 "(numberp ok-if-already-exists)" correctly.
694 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
696 * international/characters.el (glyphless-char-display-control):
699 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
701 * progmodes/python.el (python-mode):
702 * progmodes/scheme.el (scheme-mode):
703 * progmodes/prolog.el (prolog-mode):
704 * progmodes/ruby-mode.el (ruby-mode):
705 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
706 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
708 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
710 * rect.el (rectangle--highlight-for-redisplay):
711 * emacs-lisp/smie.el (smie--next-indent-change):
712 Use buffer-chars-modified-tick.
714 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
716 * electric.el (electric-indent-post-self-insert-function):
717 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
719 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
721 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
723 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
725 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
728 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
730 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
732 * progmodes/python.el: Fix up last change.
733 (python-shell--save-temp-file): New function.
734 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
735 `string' comes from the current buffer.
736 (python-shell-send-string-no-output): Remove `msg' arg.
737 (python--use-fake-loc): New var.
738 (python-shell-buffer-substring): Obey it. Try to compensate for the
739 extra coding line added by python-shell--save-temp-file.
740 (python-shell-send-region): Use python-shell--save-temp-file and
741 python-shell-send-file directly. Add `nomain' argument.
742 (python-shell-send-buffer): Use python-shell-send-region.
743 (python-electric-pair-string-delimiter): New function.
744 (python-mode): Use it.
746 2013-11-04 Eli Zaretskii <eliz@gnu.org>
748 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
749 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
750 environment and decoding all of the default-directory's to here
752 (command-line): Decode also argv[0].
754 * loadup.el: Error out if default-directory is a multibyte string
757 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
759 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
761 * emacs-lisp/package.el (package-menu-mode)
762 (package-menu--print-info, package-menu--archive-predicate):
763 Add Archive column to package list.
765 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
767 Fix problems found while writing a test suite.
769 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
770 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
771 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
772 to nil when running original file name handler. Otherwise,
773 there are problems with constructs like "$$FOO".
775 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
778 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
780 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
782 * subr.el (version<, version<=, version=):
783 Update docstrings with information for snapshot versions.
785 * helpers.el: New library for misc helper functions.
786 (hash-table-keys): New function returning a list of hash keys.
787 (hash-table-values): New function returning a list of hash values.
789 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
791 * progmodes/ruby-mode.el (ruby-smie--forward-token)
792 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
794 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
796 * textmodes/fill.el (fill-single-char-nobreak-p): New function
797 checking whether point is after a 1-letter word.
799 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
801 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
802 Don't infloop when expanding region over `multiline' syntax-type that
803 begins a line (bug#15778).
805 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
807 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
808 Make it into a proper minor mode.
809 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
810 (rectangle-mark-mode-map): New keymap.
811 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
813 2013-11-04 Glenn Morris <rgm@gnu.org>
815 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
817 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
819 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
820 (ruby-smie-rules): Use smie-rule-parent instead.
822 * emacs-lisp/smie.el (smie-rule-parent): Always call
823 smie-indent-virtual rather than only for hanging tokens.
824 (smie--next-indent-change): New helper command.
826 2013-11-03 Glenn Morris <rgm@gnu.org>
828 * Makefile.in (abs_srcdir): Remove.
829 (emacs): Unset EMACSLOADPATH.
831 2013-11-02 Glenn Morris <rgm@gnu.org>
833 * Makefile.in (EMACS): Use a relative filename.
834 (abs_top_builddir): Remove.
835 (custom-deps, finder-data, autoloads): Use --chdir.
837 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
839 Use relative filenames in TAGS files.
840 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
841 (lisptagsfiles4, TAGS): Use relative file names.
843 (maintainer-clean): No more TAGS-LISP file.
845 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
846 (lisptagsfiles4): Use absolute filenames again.
847 (TAGS, TAGS-LISP): Not everything needs to run in one line.
848 Remove all *loaddefs files, not just the first. Remove esh-groups.
849 (maintainer-clean): Delete TAGS, TAGS-LISP.
851 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
853 * emacs-lisp/package.el (package-version-join):
854 Recognize snapshot versions.
856 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
858 * subr.el (version-regexp-alist): Add support for snapshot versions.
860 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
862 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
863 New function, replacement for `smie-rule-parent' for when we want to
864 skip over our direct parent if it's an assignment token..
865 (ruby-smie-rules): Use it.
867 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
869 * progmodes/ruby-mode.el Use `syntax-propertize-function'
870 unconditionally. Remove now unnecessary forward declarations.
871 Remove XEmacs-specific setup.
872 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
873 (ruby-font-lock-syntactic-keywords)
874 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
875 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
876 (ruby-here-doc-end-syntax): Remove.
877 (ruby-mode): Don't check whether `syntax-propertize-rules' is
880 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
882 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
884 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
886 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
887 table and abbrev table, `define-derived-mode' does that for us
890 2013-11-01 Glenn Morris <rgm@gnu.org>
892 * Makefile.in: Remove manual mh-e dependencies (writing .elc
893 files is atomic for some time, so no parallel compilation issues).
895 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
897 * faces.el (face-x-resources): Add :distant-foreground.
898 (region): Use :distant-foreground for gtk and ns.
900 2013-11-01 Tassilo Horn <tsdh@gnu.org>
902 Allow multiple bibliographies when BibLaTeX is used rather than
904 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
905 (reftex-locate-bibliography-files): Us it.
907 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
909 * image.el (image-type-header-regexps): Fix the 'pbm' part to
910 allow comments in pbm files.
912 * term/w32-win.el (dynamic-library-alist): Support newer versions
913 of libjpeg starting with v7: look only for the DLL from the
914 version against which Emacs was built.
915 Support versions of libpng beyond 1.4.x.
916 Support libtiff v4.x.
918 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
920 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
921 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
923 (ruby-deep-arglist): Add property :type.
925 2013-10-31 Glenn Morris <rgm@gnu.org>
927 * Makefile.in (custom-deps, finder-data): No need to setq the target
928 variables, we are in the right directory and the defaults work fine.
930 2013-10-30 Glenn Morris <rgm@gnu.org>
932 * Makefile.in (autoloads): Do not use abs_lisp.
934 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
935 `newline' does not respect `standard-output', so use `princ'.
937 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
939 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
940 * buff-menu.el (Buffer-menu--unmark): New function.
941 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
943 2013-10-30 Glenn Morris <rgm@gnu.org>
945 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
947 * emacs-lisp/package.el (lm-homepage): Declare.
949 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
952 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
954 * Makefile.in (finder-data, autoloads, update-subdirs)
955 (compile-main, compile-clean, compile-always, bootstrap-clean):
956 Check return value of cd.
957 (compile-calc): Remove.
959 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
961 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
963 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
964 (byte-compile-and-folded): New function.
965 (=, <, >, <=, >=): Use it.
967 * dos-w32.el (minibuffer-history-case-insensitive-variables)
968 (path-separator, null-device, buffer-file-coding-system)
969 (lpr-headers-switches): Check system-type before modifying them.
970 (find-buffer-file-type-coding-system): Mark obsolete.
971 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
972 find-file-not-found-set-buffer-file-coding-system.
973 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
974 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
975 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
976 (w32-direct-print-region-helper, w32-direct-print-region-function)
977 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
978 * startup.el (normal-top-level-add-subdirs-to-load-path):
979 * ps-print.el (ps-print-region-function):
980 * lpr.el (print-region-function): Use new name.
982 * subr.el (custom-declare-variable-early): Remove function.
983 (custom-declare-variable-list): Remove var.
984 (error, user-error): Remove `while' loop.
985 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
986 (user-emacs-directory-warning, locate-user-emacs-file):
988 * simple.el (read-quoted-char-radix, read-quoted-char):
989 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
991 * custom.el (custom-declare-variable-list): Don't process
992 custom-declare-variable-list.
994 * progmodes/python.el (python-shell-get-buffer): New function.
995 (python-shell-get-process): Use it.
996 (python-shell-send-string): Always use utf-8 and add a cookie to tell
997 Python which encoding was used. Don't split-string since we only care
998 about the first line. Return the temp-file, if applicable.
999 (python-shell-send-region): Tell compile.el how to turn locations in
1000 the temp-file into locations in the source buffer.
1002 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * subr.el (undefined): Add missing behavior from the C code for
1007 * rect.el: Use lexical-binding. Add new rectangular region support.
1008 (rectangle-mark): New command.
1009 (rectangle--region): New var.
1010 (deactivate-mark-hook): Reset rectangle--region.
1011 (rectangle--extract-region, rectangle--insert-for-yank)
1012 (rectangle--highlight-for-redisplay)
1013 (rectangle--unhighlight-for-redisplay): New functions.
1014 (region-extract-function, redisplay-unhighlight-region-function)
1015 (redisplay-highlight-region-function): Use them to handle
1017 * simple.el (region-extract-function): New var.
1018 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1019 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1020 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1021 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1022 (redisplay-unhighlight-region-function)
1023 (redisplay-highlight-region-function): New vars.
1024 (redisplay--update-region-highlight): New function.
1025 (pre-redisplay-function): Use it.
1026 (exchange-point-and-mark): Don't deactivate the mark before
1027 reactivate-it anyway.
1028 * comint.el (comint-kill-region): Remove yank-handler argument.
1029 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1030 (delete-char): Remove property, since it's now part of their
1032 (self-insert-iso): Remove property since this command doesn't exist.
1034 * emacs-lisp/package.el (package--download-one-archive)
1035 (describe-package-1): Don't query the user about final newline.
1037 2013-10-29 Daniel Colascione <dancol@dancol.org>
1039 * net/tramp.el (tramp-methods): Document new functionality.
1040 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1041 tramp-hostname-checker if method provides one instead of scanning
1042 argument list for "%h" to decide hostname acceptability.
1044 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1046 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1047 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1048 Handle COPY-CONTENTS. (Bug#15737)
1050 2013-10-28 Daiki Ueno <ueno@gnu.org>
1053 (epa-file-cache-passphrase-for-symmetric-encryption):
1054 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1056 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1058 * image.el (defimage):
1059 (image-load-path): Doc fixes.
1061 2013-10-27 Alan Mackenzie <acm@muc.de>
1063 Indent statements in macros following "##" correctly.
1064 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1065 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1067 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1069 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1071 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1073 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1074 after `=' is probably a new expression.
1076 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1078 * man.el (man-imenu-title): New option.
1079 (Man-mode-map): Add menu. (Bug#15722)
1080 (Man-mode): Add imenu to menu.
1082 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1084 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1085 specific in what the first arg can be: a non-keyword word,
1086 string/regexp/percent literal opener, opening paren, or unary
1087 operator followed directly by word.
1089 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1092 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1093 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1094 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1095 Remove vars, they do not apply any more.
1096 (prolog-mode-abbrev-table): Remove redundant declaration.
1097 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1098 (prolog-use-smie): Remove.
1099 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1100 supported by prolog-electric-if-then-else-flag.
1101 (prolog-mode-variables, prolog-menu): Use setq-local.
1102 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1103 Remove binding to `Backspace' since this key doesn't exist anyway.
1104 Remove bindings for electric self-inserting keys.
1105 (prog-mode): Assume it's defined.
1106 (prolog-post-self-insert): New function.
1107 (prolog-mode): Use it.
1108 (prolog-indent-line, prolog-indent-level)
1109 (prolog-find-indent-of-matching-paren)
1110 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1111 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1112 (prolog-goto-next-paren, prolog-in-string-or-comment)
1113 (prolog-tokenize, prolog-inside-mline-comment)
1114 (prolog-find-start-of-mline-comment): Remove functions.
1115 (prolog-find-unmatched-paren, prolog-clause-end)
1116 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1117 (prolog-electric--if-then-else): Rename from
1118 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1119 (prolog-tokenize-searchkey): Remove const.
1120 (prolog-clause-info): Use forward-sexp.
1121 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1122 (prolog-electric-if-then-else): Remove commands.
1123 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1124 for use in post-self-insert-hook.
1125 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1126 for use in post-self-insert-hook.
1127 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1128 for use in post-self-insert-hook.
1129 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1130 adapt it for use in post-self-insert-hook.
1132 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1134 * emacs-lisp/ert.el (ert-run-tests-interactively):
1135 Use `completing-read'. (Bug#9756)
1137 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1139 * simple.el (line-move): Call line-move-1 instead of
1140 line-move-visual when the current window hscroll is zero, but
1141 temporary-goal-column indicates we will need to hscroll as result
1142 of the movement. (Bug#15712)
1144 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1146 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1147 capitalization. Use :visible instead of :active.
1148 Fix `ruby-indent-exp' reference. Add menu items for the generic
1149 commands that are used with SMIE.
1150 (ruby-do-end-to-brace): Insert space after `{'.
1152 2013-10-25 John Anthony <john@jo.hnanthony.com>
1154 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1156 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1158 2013-10-25 Glenn Morris <rgm@gnu.org>
1160 * vc/vc.el (vc-print-log): Don't use a working revision unless
1161 one was explicitly specified. (Bug#15322)
1163 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * subr.el (add-to-list): Preserve return value in compiler-macro
1168 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1170 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1171 result. Ask user to retry using '-all' flag. (Bug#15701)
1173 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * emacs-lisp/smie.el: New smie-config system.
1176 (smie-config): New defcustom.
1177 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1178 (smie-config-guess, smie-config-save): New commands.
1179 (smie-config--mode-local, smie-config--buffer-local)
1180 (smie-config--trace, smie-config--modefuns): New vars.
1181 (smie-config--advice, smie-config--mode-hook)
1182 (smie-config--setter, smie-config-local, smie-config--get-trace)
1183 (smie-config--guess-value, smie-config--guess): New functions.
1184 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1185 text properties. Treat "string fence" syntax like string syntax.
1187 * progmodes/sh-script.el (sh-use-smie): Change default.
1188 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1189 (sh-var-value): Simplify by CSE.
1190 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1191 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1193 (sh-guess-basic-offset): Use cl-incf.
1194 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1196 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1198 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1201 2013-10-24 Glenn Morris <rgm@gnu.org>
1203 * Makefile.in (abs_top_srcdir): Remove.
1204 (update-subdirs): Use relative path to update-subdirs.
1206 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1208 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1209 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1210 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1211 Call unmsys--file-name before expand-file-name, not after it.
1213 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1215 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1216 (ert-test-skipped): New error.
1217 (ert-skip, ert-stats-skipped): New defuns.
1218 (ert--skip-unless): New macro.
1219 (ert-test-skipped): New struct.
1220 (ert--run-test-debugger, ert-test-result-type-p)
1221 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1222 (ert--stats-set-test-and-result, ert-char-for-test-result)
1223 (ert-string-for-test-result, ert-run-tests-batch)
1224 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1225 Handle skipped tests. (Bug#9803)
1227 2013-10-24 Glenn Morris <rgm@gnu.org>
1229 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1231 * Makefile.in (abs_top_srcdir): New, set by configure.
1232 (update-subdirs): Correct build-aux location.
1234 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1236 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1237 value, whether we could auto-deduce `backend', or not.
1239 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1240 with parameters" example. Simplify the "is it block or is it
1241 hash" check, but also make it more thorough.
1243 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1245 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1247 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1249 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1252 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1255 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1257 * progmodes/compile.el (compilation-directory-matcher)
1258 (compilation-page-delimiter):
1259 Support GNU Make-4.0 directory quoting. (Bug#15678)
1261 2013-10-23 Leo Liu <sdl.web@gmail.com>
1263 * ido.el (ido-tidy): Handle read-only text.
1265 2013-10-23 Glenn Morris <rgm@gnu.org>
1267 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1268 (emacs, compile, compile-always):
1269 Quote entities that might contain whitespace.
1270 (custom-deps, finder-data, autoloads): Use abs_lisp.
1271 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1272 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1273 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1275 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1277 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1278 Use `following-char'.
1280 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1282 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1283 * progmodes/ruby-mode.el (ruby-smie-rules):
1284 Remove corresponding workaround. Fix indentation rule of ";" so it
1285 also applies when ";" is the parent.
1287 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1289 * frame.el (display-screens, display-pixel-height)
1290 (display-pixel-width, display-mm-width, display-backing-store)
1291 (display-save-under, display-planes, display-color-cells)
1292 (display-visual-class, display-monitor-attributes-list):
1293 Mention the optional ‘display’ argument in doc strings.
1295 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1297 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1298 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1300 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1302 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1303 TODO. Add "." after " @ ".
1304 (ruby-smie--at-dot-call): New function. Checks if point at method
1305 call with explicit target.
1306 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1307 to the method name tokens when it precedes them.
1308 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1309 (ruby-smie-rules): Add rule for indentation before and after "."
1312 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * textmodes/remember.el (remember-diary-extract-entries):
1317 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1320 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1322 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1323 (ruby-smie--implicit-semi-p): Add new operator chars.
1325 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1327 (ruby-smie--args-separator-p): Check that there's no newline
1328 between method call and its arguments.
1330 2013-10-20 Alan Mackenzie <acm@muc.de>
1332 Allow comma separated lists after Java "implements".
1334 * progmodes/cc-engine.el (c-backward-over-enum-header):
1336 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1337 from a "disallowed" list in enum fontification.
1339 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1341 * startup.el (default-frame-background-mode): Remove unused defvar.
1343 * progmodes/verilog-mode.el (verilog-mode): Don't set
1344 comment-indent-function globally.
1346 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1348 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1349 Move Info menu item creation to ns-win.el.
1351 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1354 * menu-bar.el: Move GNUStep specific menus...
1356 * term/ns-win.el (ns-initialize-window-system): ... to here.
1358 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1360 * simple.el (newline): Only run post-self-insert-hook when
1361 called interactively.
1363 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1365 * icomplete.el (icomplete-with-completion-tables): Add :version.
1367 2013-10-19 Alan Mackenzie <acm@muc.de>
1369 Fix fontification bugs with constructors and const.
1371 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1372 CASE 2) Remove the check for the absence of a suffix construct
1373 after a function declaration with only types (no identifiers) in
1374 the parentheses. Also, accept a function declaration with just a
1375 type inside the parentheses, if this type can be positively
1376 recognised as such, or if a prefix keyword like "explicit" nails
1377 down the construct as a declaration.
1379 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1381 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1382 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1383 the problem whereby selecting a menu item that leads to a
1384 minibuffer prompt moves the cursor out of the minibuffer window,
1385 making it hard to type at the prompt. Suggested by Stefan Monnier
1386 <monnier@iro.umontreal.ca>.
1388 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1390 * menu-bar.el: Don't make Services menu.
1392 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1394 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1395 (ffap-alist): Use ffap-c++-mode for c++-mode.
1396 (ffap-c++-path): New variable.
1397 (ffap-c++-mode): New function.
1399 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1401 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1403 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1405 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1406 introduced on 2013-09-08, which results in an infinite loop
1407 requesting a password.
1409 2013-10-18 Glenn Morris <rgm@gnu.org>
1411 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1413 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1415 Sync with upstream verilog-mode revision 1a6ecec7.
1416 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1417 (verilog-mode-release-date): Remove.
1418 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1419 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1420 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1421 (verilog-auto-tieoff-ignore-regexp)
1422 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1423 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1424 (verilog-signals-with, verilog-dir-cache-preserving)
1425 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1427 (verilog-case-fold): New option, to control case folding in
1428 regexp searches, bug597.
1429 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1430 (verilog-string-match-fold, verilog-in-paren-count)
1431 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1432 (verilog-at-close-struct-p): New functions.
1433 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1434 (verilog-forward-sexp, verilog-set-auto-endcomments):
1435 (verilog-leap-to-case-head): Handle "unique0" case.
1436 (verilog-in-constraint-re): New constant.
1437 (verilog-keywords, verilog-type-font-keywords):
1438 Add some SystemVerilog 1800-2012 keywords.
1439 (verilog-label-be): Remove unimplemented argument, bug669.
1440 (verilog-batch-execute-func): When batch expanding clear
1441 create-lockfiles to prevent spurious user locks when a file ends
1443 (verilog-calculate-indent, verilog-calc-1)
1444 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1445 (verilog-do-indent): Fix indentation of nested constraints
1447 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1448 (verilog-auto-inst-param): Use verilog-string-match-fold.
1449 (verilog-read-inst-module-matcher):
1450 Fix AUTOINST on gate primitives with #1.
1451 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1452 Reads all user-defined typed variables.
1453 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1454 (verilog-signals-matching-regexp)
1455 (verilog-signals-not-matching-regexp, verilog-auto):
1456 Respect verilog-case-fold.
1457 (verilog-diff-report): Fix line count.
1458 (verilog-auto-assign-modport): Remove unused local `modi'.
1459 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1460 better handle multidimensional arrays.
1461 Fix packed array ports misadding bit index in AUTOINST, bug637.
1462 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1463 to not double-declare existing outputs and inputs, respectively.
1464 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1465 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1466 (verilog-sk-uvm-component): New skeleton.
1467 (verilog-submit-bug-report): Add verilog-case-fold,
1468 remove verilog-mode-release-date.
1470 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1472 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1475 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1477 * textmodes/remember.el (remember): set buffer-offer-save in
1478 remember buffers (bug#13566).
1480 2013-10-18 Daniel Colascione <dancol@dancol.org>
1482 When evaluating forms in ielm, direct standard output to ielm
1483 buffer. Add new ielm-return-for-effect command. Remove trailing
1484 whitespace throughout.
1486 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1487 (ielm-return-for-effect): New command.
1488 (ielm-send-input): Accept optional `for-effect' parameter.
1489 (ielm-eval-input): Accept optional `for-effect' parameter.
1490 Bind `standard-output' to stream we create using
1491 `ielm-standard-output-impl'. Suppress printing result when
1493 (ielm-standard-output-impl): New function.
1494 (inferior-emacs-lisp-mode): Explain new features in documentation.
1496 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1500 * net/tramp.el (tramp-debug-message): Do not check for connection
1502 (tramp-message): Use "vector" connection property.
1504 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1505 (tramp-equal-remote, tramp-eshell-directory-change)
1506 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1507 (tramp-adb-handle-rename-file)
1508 * net/tramp-cmds.el (tramp-list-remote-buffers)
1509 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1510 * net/tramp-compat.el (tramp-compat-process-running-p)
1511 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1512 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1513 (tramp-gvfs-handle-rename-file)
1514 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1515 (tramp-set-file-uid-gid)
1516 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1517 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1520 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1521 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1522 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1523 (tramp-gw-open-network-stream): Suppress unrelated traces.
1525 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1526 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1527 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1528 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1529 connection property.
1531 * net/tramp-cache.el (top): Suppress traces when reading
1534 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1535 Refactor common code. Improve debug message.
1536 (tramp-maybe-open-connection)
1537 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1538 connection buffer too early.
1540 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1541 from `tramp-smb-actions-with-acl'.
1542 (tramp-smb-actions-set-acl): New defconst.
1543 (tramp-smb-handle-copy-directory)
1544 (tramp-smb-action-get-acl): New defun, renamed from
1545 `tramp-smb-action-with-acl'.
1546 (tramp-smb-action-set-acl): New defun.
1547 (tramp-smb-handle-set-file-acl): Rewrite.
1549 2013-10-17 Glenn Morris <rgm@gnu.org>
1551 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1553 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * skeleton.el (skeleton-newline): Remove.
1556 (skeleton-internal-1): Use (insert "\n") instead.
1558 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1561 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1562 forward-sexp-function while we redo its job (bug#15613).
1564 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1566 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1567 represented by lists.
1569 2013-10-16 Glenn Morris <rgm@gnu.org>
1571 * tmm.el (tmm--history): New dynamic variable.
1572 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1574 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1576 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1577 (tramp-smb-errors): Add error messages.
1578 (tramp-smb-actions-with-acl): New defconst.
1579 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1580 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1581 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1582 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1583 (tramp-smb-get-stat-capability): Fix tests.
1585 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1587 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1590 2013-10-16 Glenn Morris <rgm@gnu.org>
1592 * ansi-color.el (ansi-color-drop-regexp):
1593 Add 1J, 1K, 2K. (Bug#15617)
1595 * files.el (hack-local-variables--warned-lexical): New.
1596 (hack-local-variables):
1597 Warn about misplaced lexical-binding. (Bug#15616)
1599 * net/eww.el (eww-render): Always set eww-current-url,
1600 and update header line. (Bug#15622)
1601 (eww-display-html): ... Rather than just doing it here.
1603 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1605 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1606 menu navigations commands.
1608 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1610 * progmodes/subword.el (subword-capitalize): Be careful when
1611 the search for [[:alpha:]] fails (bug#15580).
1613 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1615 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1616 to commands that scroll the menu.
1618 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1620 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1621 Handle methods ending with `?' and `!'.
1623 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1625 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1626 `japanese-cp932' to `cp932' to fix the problem where saving a
1627 source file written in Shift_JIS twice would end up having
1628 `coding: japanese-cp932' which Ruby could not recognize.
1629 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1630 in `ruby-encoding-map'.
1631 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1632 doesn't need to be explicitly declared in magic comment.
1633 (ruby-encoding-map): Add type declaration for better customize UI.
1635 2013-10-13 Glenn Morris <rgm@gnu.org>
1637 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1638 Occur buffers are read-only. http://bugs.debian.org/720775
1640 * emacs-lisp/authors.el (authors-fixed-entries):
1641 Comment out old alpha stuff.
1643 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1645 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1646 to `after-save-hook' instead of `before-save-hook'.
1647 (ruby-mode-set-encoding): Use the value of coding system used to
1648 write the file. Call `basic-save-buffer-1' after modifying the
1651 2013-10-13 Alan Mackenzie <acm@muc.de>
1653 Fix indentation/fontification of Java enum with
1654 "implements"/generic.
1656 * progmodes/cc-engine.el (c-backward-over-enum-header):
1657 Extracted from the three other places and enhanced to handle generics.
1658 (c-inside-bracelist-p): Uses new function above.
1659 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1661 (c-font-lock-enum-tail): Uses new function above.
1663 2013-10-13 Kenichi Handa <handa@gnu.org>
1665 * international/mule-cmds.el (select-safe-coding-system): Remove a
1666 superfluous condition in chekcing whether a coding system is safe
1669 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1671 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1673 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1675 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1677 2013-10-13 Glenn Morris <rgm@gnu.org>
1679 * menu-bar.el (menu-bar-update-buffers):
1680 Unify Buffers menu prompt string. (Bug#15576)
1682 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1684 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1686 (authors-fixed-entries): Use accented form of name.
1688 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1691 method calls (bug#15594).
1692 (ruby-smie--args-separator-p): New function.
1693 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1694 recognize paren-free method calls.
1696 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1697 internals of universal-argument.
1699 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1701 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1702 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1703 dropped menu on second mouse click on the menu bar.
1705 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1707 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1708 (explicit-shell-file-name): Declare.
1709 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1710 (sh-completion-at-point-function): New function.
1712 (sh-smie--keyword-p): Remove unused argument.
1713 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1715 (sh-set-shell): Always setup SMIE, even if we use the
1716 old indentation code.
1718 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1720 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1722 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1723 predicate would return nil are almost non-existent.
1724 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1726 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1727 cache also after commands that modify the buffer but don't move
1730 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * env.el (substitute-env-in-file-name): New function.
1733 (substitute-env-vars): Extend the meaning of the optional arg.
1735 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1737 * term/w32-win.el (dynamic-library-alist): Define separate lists
1738 of GIF DLLs for versions before and after 5.0.0 of giflib.
1741 2013-10-10 João Távora <joaotavora@gmail.com>
1743 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1744 not locked, use last revision and current source as
1745 defaults. (Bug#15569)
1747 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1749 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1752 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1754 * window.el (pop-to-buffer-same-window): Fix doc-string.
1757 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1761 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1763 * calendar/icalendar.el (icalendar-import-file):
1764 Fix interactive spec. (Bug#15482)
1766 2013-10-10 Glenn Morris <rgm@gnu.org>
1768 * desktop.el (desktop-save): Default to saving in .emacs.d,
1769 since PWD is no longer in desktop-path by default. (Bug#15319)
1771 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1772 now that text mode has a menu with the same entry.
1773 (menu-bar-text-mode-auto-fill): Remove now unused func.
1774 * textmodes/text-mode.el (text-mode-map):
1775 Use auto-fill help text from menu-bar.el.
1777 2013-10-10 John Anthony <john@jo.hnanthony.com>
1779 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1781 2013-10-09 Juri Linkov <juri@jurta.org>
1783 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1784 instead of this-command-keys. Add universal-argument-more and
1785 universal-argument-minus to the list of prefix commands. (Bug#15568)
1787 2013-10-09 Glenn Morris <rgm@gnu.org>
1789 * vc/vc-svn.el (vc-svn-create-repo):
1790 Expand paths in file://... url. (Bug#15446)
1792 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1794 (authors): Remove unused local variables.
1796 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * profiler.el: Create a more coherent calltree from partial backtraces.
1799 (profiler-format): Hide the tail with `invisible' so that C-s can still
1800 find the hidden elements.
1801 (profiler-calltree-depth): Don't recurse so enthusiastically.
1802 (profiler-function-equal): New hash-table-test.
1803 (profiler-calltree-build-unified): New function.
1804 (profiler-calltree-build): Use it.
1805 (profiler-report-make-name-part): Indent the calltree less.
1806 (profiler-report-mode): Add visibility specs for profiler-format.
1807 (profiler-report-expand-entry, profiler-report-toggle-entry):
1808 Expand the whole subtree when provided with a prefix arg.
1810 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1812 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1814 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1815 hanging iuwu-mod token.
1816 (ruby-smie--forward-token): Do not include a dot after a token in
1818 (ruby-smie--backward-token): Likewise.
1820 2013-10-08 Juri Linkov <juri@jurta.org>
1822 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1823 to isearch-other-control-char.
1824 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1825 and isearch-post-command-hook to post-command-hook.
1826 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1827 and isearch-post-command-hook from post-command-hook.
1828 (isearch-unread-key-sequence)
1829 (isearch-reread-key-sequence-naturally)
1830 (isearch-lookup-scroll-key, isearch-other-control-char)
1831 (isearch-other-meta-char): Remove functions.
1832 (isearch-pre-command-hook, isearch-post-command-hook):
1833 New functions based on isearch-other-meta-char rewritten
1834 relying on the new behavior of overriding-terminal-local-map
1835 that does not replace the local keymaps any more. (Bug#15200)
1837 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1839 Support menus on text-mode terminals.
1840 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1843 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1845 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1846 Move here from mouse.el.
1847 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1849 (tty-menu-navigation-map): New map for TTY menu navigation.
1851 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1853 * frame.el (display-mouse-p): Report text-mode mouse as available
1855 (display-popup-menus-p): Report availability if mouse is
1856 available; don't condition on window-system.
1858 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1859 (tty-menu-selected-face): New faces.
1861 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1864 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1865 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1866 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1868 (lisp-mode-variables): New `elisp' argument.
1869 (emacs-lisp-mode): Use it.
1870 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1871 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1873 * indent.el: Use lexical-binding.
1874 (indent-region): Add progress reporter.
1875 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1877 (indent--next-tab-stop): New function to implement this behavior.
1878 (tab-to-tab-stop, move-to-tab-stop): Use it.
1880 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1882 * indent.el (indent-rigidly--current-indentation): New function.
1883 (indent-rigidly-map): New var.
1884 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1886 2013-10-08 Bastien Guerry <bzg@gnu.org>
1888 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1890 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * progmodes/perl-mode.el: Use lexical-binding.
1893 Remove redundant :group args.
1894 (perl-nochange): Change default to be closer to other major modes's
1896 (perl-indent-line): Don't consider text on current line as a
1897 valid beginning of function from which to indent.
1899 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1900 with more than one argument (bug#15538).
1902 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1904 * vc/pcvs.el: Use lexical-binding.
1905 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1906 environment of `eval'.
1907 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1908 than a list of expressions. Adjust callers.
1909 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1911 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1913 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1914 case of the dot in a chained method call being on the following line.
1916 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * electric.el (electric-indent-inhibit): New var.
1919 (electric-indent-post-self-insert-function): Use it.
1920 * progmodes/python.el (python-mode): Set it.
1922 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1925 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1927 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1928 (css-mode): Use electric-indent-chars.
1930 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1931 (font-lock-beg, font-lock-end): Move before first use.
1932 (nxml-mode): Use syntax-propertize-function.
1933 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1934 (nxml-extend-after-change-region): Remove.
1935 * nxml/xmltok.el: Use lexical-binding.
1936 (xmltok-save): Use `declare'.
1937 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1938 * nxml/nxml-util.el: Use lexical-binding.
1939 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1941 * nxml/nxml-ns.el: Use lexical-binding.
1942 (nxml-ns-save): Use `declare'.
1943 (nxml-ns-prefixes-for): Avoid add-to-list.
1944 * nxml/rng-match.el: Use lexical-binding.
1945 (rng--ipattern): Use cl-defstruct.
1946 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1947 (rng-cons-group-after, rng-subst-group-after)
1948 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1949 Use closures instead of `(lambda...).
1951 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1953 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1956 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1957 Use `tramp-handle-insert-file-contents'.
1958 (tramp-gvfs-handle-insert-file-contents): Remove function.
1960 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1961 Use `save-restriction' in order to keep markers.
1963 * net/trampver.el: Update release number.
1965 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1967 * progmodes/compile.el (compilation-parse-errors):
1968 Use compilation--put-prop.
1969 (compilation--ensure-parse): Check compilation-multiline.
1971 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1973 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1976 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1978 * progmodes/ruby-mode.el: Fix recently added tests.
1979 (ruby-smie-grammar): Add - and +.
1980 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1981 (ruby-smie--backward-id): New functions.
1982 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1983 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1986 2013-10-07 Leo Liu <sdl.web@gmail.com>
1988 * register.el (register-preview-delay)
1989 (register-preview-functions): New variables.
1990 (register-read-with-preview, register-preview)
1991 (register-describe-oneline): New functions.
1992 (point-to-register, window-configuration-to-register)
1993 (frame-configuration-to-register, jump-to-register)
1994 (number-to-register, view-register, insert-register)
1995 (copy-to-register, append-to-register, prepend-to-register)
1996 (copy-rectangle-to-register): Use register-read-with-preview to
1997 read register. (Bug#15525)
1999 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2001 * net/network-stream.el (network-stream-open-starttls): Don't add
2002 --insecure if it's already present, because that gnutls-cli
2003 rejects getting that parameter twice.
2005 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2007 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2010 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2012 * newcomment.el (comment-use-global-state): Change default value
2013 to t, mark obsolete (Bug#15251).
2014 (comment-beginning): In addition to `comment-to-syntax', check the
2015 value of `comment-use-global-state'.
2017 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2019 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2020 (ruby-comment-column): Follow the global default, by default.
2021 (ruby-smie-grammar): Add assignment syntax.
2022 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2023 open-paren, a comma, or a \.
2024 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2025 and line continuations.
2026 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2027 followed by implicit semi-colons. Add rule for string concatenation
2028 and for indentation at BOB.
2029 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2031 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2032 calling next-sexp, since next-token may have skipped chars which
2033 next-sexp doesn't know should be skipped!
2035 2013-10-05 Leo Liu <sdl.web@gmail.com>
2037 * progmodes/octave.el (octave-send-region):
2038 Call compilation-forget-errors.
2040 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2042 * vc/vc-svn.el (vc-svn-find-admin-dir):
2043 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2044 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2045 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2046 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2048 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2052 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * subr.el (read-passwd): Hide chars even when called within a context
2055 where after-change-functions is disabled (bug#15501).
2056 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2057 until we removed ourself from overriding-terminal-local-map.
2059 2013-10-04 Leo Liu <sdl.web@gmail.com>
2061 * progmodes/octave.el (inferior-octave-mode):
2062 Call compilation-forget-errors.
2064 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2066 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2068 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2070 * net/secrets.el (secrets-create-collection): Add optional
2071 argument ALIAS. Use proper Label keyword. Append ALIAS as
2072 dbus-call-method argument. (Bug#15516)
2074 2013-10-04 Leo Liu <sdl.web@gmail.com>
2076 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2077 (inferior-octave-compilation-font-lock-keywords): New variables.
2078 (compilation-error-regexp-alist)
2079 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2080 (inferior-octave-mode): Use compilation-shell-minor-mode.
2082 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2084 * minibuffer.el (completion--replace): Be careful that `end' might be
2087 2013-10-03 Daiki Ueno <ueno@gnu.org>
2089 Add support for package signature checking.
2090 * emacs-lisp/package.el (url-http-file-exists-p)
2091 (epg-make-context, epg-context-set-home-directory)
2092 (epg-verify-string, epg-context-result-for)
2093 (epg-signature-status, epg-signature-to-string)
2094 (epg-check-configuration, epg-configuration)
2095 (epg-import-keys-from-file): Declare.
2096 (package-check-signature): New user option.
2097 (package-unsigned-archives): New user option.
2098 (package-desc): Add `signed' field.
2099 (package-load-descriptor): Set `signed' field if .signed file exists.
2100 (package--archive-file-exists-p): New function.
2101 (package--check-signature): New function.
2102 (package-install-from-archive): Check package signature.
2103 (package--download-one-archive): Check archive signature.
2104 (package-delete): Remove .signed file.
2105 (package-import-keyring): New command.
2106 (package-refresh-contents): Import default keyring.
2107 (package-desc-status): Add "unsigned" status.
2108 (describe-package-1, package-menu--print-info)
2109 (package-menu-mark-delete, package-menu--find-upgrades)
2110 (package-menu--status-predicate): Support "unsigned" status.
2112 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2114 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2115 the new compilation scheme using the new byte-codes.
2117 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2118 (byte-pophandler): New byte codes.
2119 (byte-goto-ops): Adjust accordingly.
2120 (byte-compile--use-old-handlers): New var.
2121 (byte-compile-catch): Use new byte codes depending on
2122 byte-compile--use-old-handlers.
2123 (byte-compile-condition-case--old): Rename from
2124 byte-compile-condition-case.
2125 (byte-compile-condition-case--new): New function.
2126 (byte-compile-condition-case): New function that dispatches depending
2127 on byte-compile--use-old-handlers.
2128 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2131 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2132 Optimize under `condition-case' and `catch' if
2133 byte-compile--use-old-handlers is nil.
2134 (disassemble-offset): Handle new bytecodes.
2136 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2138 * subr.el (error): Use `declare'.
2139 (decode-char, encode-char): Use advertised-calling-convention instead
2140 of the docstring to discourage use of the `restriction' arg.
2142 2013-10-03 Daiki Ueno <ueno@gnu.org>
2144 * epg.el (epg-verify-file): Add a comment saying that it does not
2145 notify verification error as a return value nor a signal.
2146 (epg-verify-string): Ditto.
2148 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2150 * progmodes/compile.el (compilation-start): Try globbing the arg to
2153 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2155 Sync with Tramp 2.2.8.
2157 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2158 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2159 * net/trampver.el: Update release number.
2161 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2163 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2164 and default-process-coding-system for darwin only.
2166 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2168 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2170 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2172 * vc/vc-git.el (vc-git-grep): Disable pager.
2174 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2176 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2177 Use :url instead of :homepage, as per
2178 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2180 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2181 non-nil, use `syntax-ppss' (Bug#15251).
2183 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2185 * progmodes/octave.el (inferior-octave-startup-file):
2186 Prefer ~/.emacs.d/init_octave.m.
2188 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2190 * emacs-lisp/package.el (package-desc-from-define):
2191 Accept additional arguments as plist, convert them to an alist and store
2192 them in the `extras' slot.
2193 (package-generate-description-file): Convert extras alist back to
2194 plist and append to the `define-package' form arguments.
2195 (package--alist-to-plist): New function.
2196 (package--ac-desc): Add `extras' slot.
2197 (package--add-to-archive-contents): Check if the archive-contents
2198 vector is long enough, and if it is, pass its `extras' slot value
2199 to `package-desc-create'.
2200 (package-buffer-info): Call `lm-homepage', pass the returned value
2201 to `package-desc-from-define'.
2202 (describe-package-1): Render the homepage button (Bug#13291).
2204 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2205 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2207 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2209 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2210 and default-process-coding-system to utf-8-unix (Bug#15402).
2212 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2214 * subr.el (looking-back): Do not recommend using looking-back.
2216 2013-09-28 Alan Mackenzie <acm@muc.de>
2218 Fix indentation/fontification of Java enum with "implements".
2220 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2221 regexp which matches "implements", etc., in Java.
2222 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2223 specifier clauses coming after "enum".
2224 * progmodes/cc-fonts.el (c-font-lock-declarations)
2225 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2228 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2230 * faces.el (region): Change ns_selection_color to
2231 ns_selection_fg_color, add ns_selection_bg_color.
2233 2013-09-28 Leo Liu <sdl.web@gmail.com>
2235 * progmodes/octave.el (inferior-octave-completion-table)
2236 (inferior-octave-completion-at-point): Minor tweaks.
2238 * textmodes/ispell.el (ispell-lookup-words): Rename from
2239 lookup-words. (Bug#15460)
2240 (lookup-words): Obsolete.
2241 (ispell-complete-word, ispell-command-loop): All uses changed.
2243 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2245 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2246 (octave-mode-menu): Add octave-send-buffer.
2247 (octave-send-buffer): New function.
2249 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2251 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2253 (octave-mode-menu): Add octave-lookfor.
2254 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2256 (octave-lookfor): New function.
2258 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * emacs-lisp/cl-macs.el:
2261 (cl--loop-destr-temps): Remove.
2262 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2264 (cl--loop-set-iterator-function): New function.
2265 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2266 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2267 Bind `it' with `let' instead of substituting it with `cl-subst'.
2268 (cl--unused-var-p): New function.
2269 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2270 Eliminate some unused variable warnings (bug#15326).
2272 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2274 * doc-view.el (doc-view-scale-reset): Rename from
2275 `doc-view-reset-zoom-level'.
2276 (doc-view-scale-adjust): New command.
2277 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2278 `doc-view-scale-adjust'.
2280 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2282 * doc-view.el (doc-view-reset-zoom-level): New command.
2283 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2284 zoom commands (bug#15466).
2286 2013-09-26 Kenichi Handa <handa@gnu.org>
2288 * international/quail.el (quail-help): Make it not a command.
2290 2013-09-26 Leo Liu <sdl.web@gmail.com>
2292 * minibuffer.el (completion-all-sorted-completions): Make args
2293 optional as they are.
2295 2013-09-25 Daniel Colascione <dancol@dancol.org>
2297 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2298 specs are and that they're not evaluated.
2300 2013-09-24 Sam Steingold <sds@gnu.org>
2302 * midnight.el (clean-buffer-list-kill-regexps)
2303 (clean-buffer-list-kill-buffer-names): Update for the new Man
2304 buffer naming which includes the object name.
2306 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2309 (eshell-parse-command, eshell-parse-pipeline): Use it since
2310 eshell-separate-commands requires a dynamic scoped var.
2311 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2313 2013-09-23 Leo Liu <sdl.web@gmail.com>
2315 * autoinsert.el (auto-insert-alist): Make the value of
2316 lexical-binding match its file setting.
2318 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2320 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2322 * autoarg.el (autoarg-kp-digit-argument):
2323 * electric.el (Electric-command-loop):
2324 * kmacro.el (kmacro-step-edit-insert):
2325 Do not set universal-argument-num-events.
2327 2013-09-22 Leo Liu <sdl.web@gmail.com>
2329 * files.el (interpreter-mode-alist): Add octave.
2331 2013-09-21 Alan Mackenzie <acm@muc.de>
2333 C++: fontify identifier in declaration following "public:" correctly.
2334 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2335 to match "public", etc.
2336 (c-decl-prefix-re): Add ":" into the C++ value.
2337 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2338 bit. Add a check for a ":" preceded by "public", etc.
2340 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2342 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2343 recognized by GDB 7.5 and later.
2345 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2347 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2349 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * subr.el (internal--call-interactively): New const.
2352 (called-interactively-p): Use it (bug#3984).
2354 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2356 * vc/pcvs.el (cvs-mode-ignore):
2357 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2358 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2360 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2362 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2363 (eshell-ls-orig-insert-directory): Remove.
2364 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2365 (eshell-ls-use-in-dired): Use advice-add/remove.
2366 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2367 Add `orig-fun' arg for use in :around advice.
2368 Make it check (redundantly) eshell-ls-use-in-dired.
2370 2013-09-19 Glenn Morris <rgm@gnu.org>
2372 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2374 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2376 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2378 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2380 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2381 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2382 (tramp-get-remote-python): New defuns.
2383 (tramp-get-remote-uid-with-perl)
2384 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2385 contributed by yary <not.com@gmail.com> (tiny change).
2386 (tramp-get-remote-uid-with-python)
2387 (tramp-get-remote-gid-with-python): New defuns. Python code
2388 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2389 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2391 2013-09-19 Glenn Morris <rgm@gnu.org>
2393 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2395 * eshell/em-unix.el (eshell-remove-entries):
2396 Rename argument to avoid name-clash with global `top-level'.
2398 * eshell/esh-proc.el (eshell-kill-process-function):
2399 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2400 (eshell-reset-after-proc): Remove unused arg `proc'.
2402 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2403 (directory-files-and-attributes): Mark unused arg.
2405 * eshell/em-unix.el (eshell-remove-entries):
2406 Remove unused arg `path'. Update callers.
2408 * eshell/em-hist.el (eshell-hist-parse-arguments):
2409 Remove unused arg `silent'. Update callers.
2411 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2412 Fix (f)boundp mix-up.
2414 * eshell/em-smart.el (eshell-smart-scroll-window)
2415 (eshell-disable-after-change):
2416 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2418 2013-09-18 Alan Mackenzie <acm@muc.de>
2420 Fix fontification of type when followed by "const".
2421 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2422 "known" types from fontification.
2424 2013-09-18 Glenn Morris <rgm@gnu.org>
2426 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2427 (chart-face-list): Drop Emacsen without display-color-p.
2429 * net/eww.el (libxml-parse-html-region): Declare.
2430 (eww-display-html): Explicit error if no libxml2 support.
2432 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2434 * image.el (image-type-from-buffer, image-multi-frame-p):
2435 Remove --without-x warning/error.
2437 * mouse.el (mouse-yank-primary):
2438 * term.el (term-mouse-paste):
2439 Reorder to silence --without-x compilation.
2441 * mpc.el (doc-view-mode): Silence --without-x compilation.
2443 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2444 Silence --without-x compilation.
2446 * progmodes/gud.el (gud-find-file, gud-mode):
2447 Silence --without-x compilation.
2448 (tooltip-mode): Declare.
2450 * wdired.el (dired-backup-overwrite): Remove declaration.
2451 (wdired-mode-map): Add doc string.
2453 * custom.el (x-get-resource): Declare.
2455 * eshell/em-glob.el (ange-cache):
2456 * eshell/em-unix.el (ange-cache): Declare.
2458 * faces.el (x-display-list, x-open-connection, x-get-resource):
2461 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2462 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2465 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2467 * net/gnutls.el (gnutls-log-level): Declare.
2469 * net/shr.el (image-size, image-animate): Declare.
2471 * simple.el (font-info): Declare.
2473 * subr.el (x-popup-dialog): Declare.
2475 * term/common-win.el (x-select-enable-primary)
2476 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2479 * term/ns-win.el (x-handle-args): Declare.
2481 * term/x-win.el (x-select-enable-clipboard): Declare.
2483 * term/w32-win.el (create-default-fontset): Declare.
2485 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2488 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2489 (fit-frame-to-buffer): Explicit error if --without-x.
2490 (mouse-autoselect-window-select): Silence compiler.
2492 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2494 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2495 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2496 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2497 * eshell/esh-util.el (eshell-sublist):
2498 Remove unused local variables.
2500 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2502 * textmodes/two-column.el: Make 2C-split work for --without-x.
2503 (scroll-bar-columns): Autoload.
2504 (top-level): Require fringe when compiling.
2506 2013-09-18 Leo Liu <sdl.web@gmail.com>
2508 * subr.el (add-hook): Robustify to handle closure as well.
2510 2013-09-17 Glenn Morris <rgm@gnu.org>
2512 * simple.el (messages-buffer-mode-map): Unbind "g".
2514 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * help-mode.el (help-mode-finish): Use derived-mode-p.
2517 Remove obsolete highlighting.
2519 * play/life.el (life-mode): Use define-derived-mode. Derive from
2521 (life): Let-bind inhibit-read-only.
2522 (life-setup): Avoid `setq'. Use `life-mode'.
2524 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2525 which should not be needed any more.
2526 (package-menu-refresh, package-menu-describe-package): Use user-error.
2528 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2529 (eshell-post-rewrite-command-hook): Make obsolete.
2530 (eshell-parse-command): Simplify.
2531 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2532 (eshell--cmd): Declare.
2533 (eshell-parse-pipeline): Remove unused var `final-p'.
2534 Pass a dynvar to eshell-post-rewrite-command-hook.
2535 Implement the new eshell-post-rewrite-command-function.
2536 (eshell-invoke-directly): Remove unused arg `input'.
2537 * eshell/esh-io.el (eshell-io-initialize):
2538 Use eshell-post-rewrite-command-function (bug#15399).
2539 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2540 adjust to new calling convention.
2541 (eshell-create-handles): Rename args to avoid clashing with dynvar
2544 2013-09-17 Glenn Morris <rgm@gnu.org>
2546 * simple.el (messages-buffer-mode): New major mode.
2547 (messages-buffer): New function.
2548 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2549 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2550 (ert-run-test): Use `messages-buffer' function.
2551 (ert--force-message-log-buffer-truncation): Ignore read-only.
2552 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2553 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2555 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2557 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2559 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2561 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * icomplete.el (icomplete-in-buffer): New var.
2564 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2565 vars and replace them with functions.
2566 (icomplete-minibuffer-setup): Adjust accordingly.
2567 (icomplete--completion-table, icomplete--completion-predicate)
2568 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2570 (icomplete-forward-completions, icomplete-backward-completions)
2571 (icomplete-simple-completing-p, icomplete-exhibit)
2572 (icomplete-completions): Use them.
2573 (icomplete--in-region-buffer): New var.
2574 (icomplete--in-region-setup): New function.
2575 (icomplete-mode): Use it.
2577 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2579 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2580 return args and options.
2581 (eshell-eval-using-options): Use the new return value of
2582 eshell--do-opts to set the options's vars in their scope.
2583 (eshell--set-option): Rename from eshell-set-option.
2585 (eshell--process-option): Rename from eshell-process-option.
2587 (eshell--process-args): Use an `opt-vals' alist to store the options's
2588 values during their processing and return them additionally to the
2591 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2593 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2594 continuation character an operator, as far as indentation is
2595 concerned (Bug#15369).
2597 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2599 * window.el (window--state-put-2): Don't process buffer state
2600 when buffer doesn't exist any more (Bug#15382).
2602 2013-09-15 Glenn Morris <rgm@gnu.org>
2604 * eshell/em-unix.el (eshell/rm):
2605 Make -f ignore missing files. (Bug#15373)
2607 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2608 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2609 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2611 2013-09-14 Glenn Morris <rgm@gnu.org>
2613 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2615 2013-09-13 Glenn Morris <rgm@gnu.org>
2617 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2618 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2620 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2622 * frame.el (x-focus-frame): Mark as declared in frame.c.
2624 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2626 * ls-lisp.el: Use advice-add.
2627 (original-insert-directory): Remove.
2628 (ls-lisp--insert-directory): Rename from insert-directory; add
2629 `orig-fun' argument.
2630 (insert-directory): Advise.
2632 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2634 * term.el (term-emulate-terminal): Decode the command string
2635 before passing it to term-command-hook. (Bug#15337)
2637 2013-09-13 Glenn Morris <rgm@gnu.org>
2639 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2641 * eshell/esh-ext.el (eshell-search-path): Declare.
2643 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2644 Otherwise an error occurs if eshell-dirs module not loaded.
2646 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2648 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2650 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2651 `tramp-check-proper-host'. Check for a valid method name.
2653 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2654 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2655 * net/tramp-sh.el (tramp-maybe-open-connection):
2656 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2658 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2659 also for hash values.
2661 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2663 * term/ns-win.el (parameters): Don't declare as dynamic.
2664 (before-make-frame-hook): Don't add ineffective function.
2666 * eshell/*.el: Use lexical-binding (bug#15231).
2668 2013-09-12 Kenichi Handa <handa@gnu.org>
2670 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2672 2013-09-12 Glenn Morris <rgm@gnu.org>
2674 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2675 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2677 * subr.el (do-after-load-evaluation): Also give compiler warnings
2678 when obsolete files are used (except by obsolete files).
2680 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2681 in the status output, assume `filename' is the first. (Bug#15322)
2683 * vc/vc.el (vc-deduce-fileset): Doc fix.
2685 * calc/calc-help.el (Info-goto-node):
2686 * progmodes/cperl-mode.el (Info-find-node):
2687 * vc/ediff.el (Info-goto-node): Update declarations.
2689 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2691 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2692 (vc-bzr-pull): Require vc-dispatcher.
2693 * vc/vc-git.el (vc-compilation-mode): Declare.
2694 (vc-git-pull): Require vc-dispatcher.
2696 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2698 * progmodes/octave.el (help-button-action): Declare.
2700 * shell.el (shell-directory-tracker): Output error as a message
2701 rather than just returning it as a string.
2702 (shell-process-pushd): Remove useless use of message.
2704 * dframe.el (dframe-timer-fn):
2705 * files.el (dir-locals-read-from-file):
2706 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2708 * reveal.el (reveal-post-command):
2709 * saveplace.el (load-save-place-alist-from-file):
2710 * shell.el (shell-resync-dirs):
2711 * w32-common-fns.el (x-get-selection-value):
2712 * emacs-lisp/copyright.el (copyright-find-copyright):
2713 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2714 * emulation/tpu-edt.el (tpu-copy-keyfile):
2715 * play/bubbles.el (bubbles--mark-neighbourhood):
2716 * progmodes/executable.el
2717 (executable-make-buffer-file-executable-if-script-p):
2718 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2720 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2722 Cleanup Eshell to rely less on dynamic scoping.
2723 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2724 last-value, and ext-command here. Bind `args' closer to `body'.
2725 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2726 (eshell--args): Declare new dynamic var.
2727 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2728 last-value, and ext-command. Pass `args' to `body'.
2729 (eshell-process-args): Bind eshell--args.
2730 (eshell-set-option): Use eshell--args.
2731 * eshell/eshell.el (eshell): Use derived-mode-p.
2732 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2733 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2734 (eshell-glob-function): Declare.
2735 * eshell/esh-util.el: Require cl-lib.
2736 (eshell-read-hosts-file): Avoid add-to-list.
2737 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2739 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2741 (eshell/diff): Remove unused var `err'.
2742 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2744 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2745 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2747 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2748 Move declaration before first use.
2749 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2750 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2753 2013-09-12 Glenn Morris <rgm@gnu.org>
2755 * term/ns-win.el (global-map): Remove binding for ispell-next,
2756 deleted 1999-05-29. (Bug#15357)
2758 2013-09-11 Glenn Morris <rgm@gnu.org>
2760 * echistory.el (electric-command-history): Remove call to deleted func.
2762 * play/landmark.el (landmark-mode): Fix typos.
2764 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2765 Check cvs-sort-ignore-file is bound.
2767 * savehist.el: No need for cl when compiling on Emacs.
2769 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2771 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2773 (eshell-self-insert-command, eshell-send-invisible):
2774 Remove unused argument.
2775 (eshell-handle-control-codes): Remove unused var `orig'.
2776 Avoid delete-backward-char.
2778 * files.el (set-auto-mode): Simplify a bit further.
2780 2013-09-11 Glenn Morris <rgm@gnu.org>
2782 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2783 (set-auto-mode): Don't regexp-quote elements.
2784 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2785 * progmodes/cc-mode.el (interpreter-mode-alist):
2786 * progmodes/ruby-mode.el (interpreter-mode-alist):
2787 Revert previous change.
2789 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2791 * play/snake.el (snake-mode):
2792 * play/mpuz.el (mpuz-mode):
2793 * play/landmark.el (lm-mode):
2794 * play/blackbox.el (blackbox-mode):
2795 * play/5x5.el (5x5-mode):
2796 * obsolete/options.el (Edit-options-mode):
2797 * net/quickurl.el (quickurl-list-mode):
2798 * net/newst-treeview.el (newsticker-treeview-mode):
2799 * mail/rmailsum.el (rmail-summary-mode):
2800 * mail/mspools.el (mspools-mode):
2801 * locate.el (locate-mode):
2802 * ibuffer.el (ibuffer-mode):
2803 * emulation/ws-mode.el (wordstar-mode):
2804 * emacs-lisp/debug.el (debugger-mode):
2805 * array.el (array-mode):
2806 * net/eudc.el (eudc-mode): Use define-derived-mode.
2807 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2808 Move initialization into declaration.
2809 (mairix-searches-mode): Use define-derived-mode.
2810 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2811 (eudc-edit-hotlist): Use dolist.
2812 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2813 (Man-mode): Use define-derived-mode.
2814 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2815 (Info-edit-mode): Use define-derived-mode.
2816 (Info-cease-edit): Use Info-mode.
2817 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2819 (eshell-mode): Use define-derived-mode.
2820 * chistory.el (command-history-mode-map): Rename from
2821 command-history-map.
2822 (command-history-mode): Use define-derived-mode.
2823 (Command-history-setup): Remove function.
2824 * calc/calc.el (calc-trail-mode-map): New var.
2825 (calc-trail-mode): Use define-derived-mode.
2826 (calc-trail-buffer): Set calc-main-buffer manually.
2827 * bookmark.el (bookmark-insert-annotation): New function.
2828 (bookmark-edit-annotation): Use it.
2829 (bookmark-edit-annotation-mode): Make it a proper major mode.
2830 (bookmark-send-edited-annotation): Use derived-mode-p.
2831 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2832 closer to its ideal place. Use \' to match EOS.
2834 * profiler.el (profiler-calltree-find): Use function-equal.
2836 2013-09-10 Glenn Morris <rgm@gnu.org>
2838 * files.el (interpreter-mode-alist): Convert to regexps.
2839 (set-auto-mode): Adapt for this. (Bug#15306)
2840 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2841 Comment out unused variable.
2842 * progmodes/cc-mode.el (interpreter-mode-alist):
2843 * progmodes/python.el (interpreter-mode-alist):
2844 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2845 * progmodes/sh-script.el (sh-set-shell):
2846 No longer use interpreter-mode-alist to get list of shells.
2848 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2850 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2852 * simple.el: Use set-temporary-overlay-map for universal-argument.
2853 (universal-argument-map): Don't use default-bindings (bug#15317).
2854 Bind switch-frame explicitly. Replace universal-argument-minus with
2855 a conditional binding.
2856 (universal-argument-num-events, saved-overriding-map): Remove.
2857 (restore-overriding-map): Remove.
2858 (universal-argument--mode): Rename from save&set-overriding-map,
2860 (universal-argument, universal-argument-more, negative-argument)
2861 (digit-argument): Adjust accordingly.
2862 (universal-argument-minus): Remove.
2863 (universal-argument-other-key): Remove.
2865 * subr.el (with-demoted-errors): Add `format' argument.
2867 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2869 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2870 `tramp-cleanup-connection'.
2872 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2873 parameters KEEP-DEBUG and KEEP-PASSWORD.
2875 * net/tramp.el (tramp-file-name-handler):
2876 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2877 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2878 (tramp-maybe-open-connection):
2879 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2880 Use `tramp-cleanup-connection'.
2882 * net/tramp-sh.el (tramp-maybe-open-connection):
2883 Catch 'uname-changed inside the progress reporter.
2885 2013-09-10 Glenn Morris <rgm@gnu.org>
2887 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2889 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2890 returns "alternate access method" in mode (eg "-rw-r--r--.").
2892 2013-09-08 Glenn Morris <rgm@gnu.org>
2894 * saveplace.el (load-save-place-alist-from-file):
2895 Demote errors. (Bug#15305)
2897 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2899 Improve compatibility with older Emacsen, and XEmacs.
2901 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2902 only if it is bound. It isn't for XEmacs.
2903 (with-tramp-progress-reporter): Do not let-bind `result'.
2904 This yields to scoping errors in XEmacs.
2905 (tramp-handle-make-auto-save-file-name): New function, moved from
2908 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2909 for `make-auto-save-file-name'.
2910 (tramp-adb--gnu-switches-to-ash):
2911 Use `tramp-compat-replace-regexp-in-string'.
2913 * net/tramp-cache.el (tramp-cache-print): Call
2914 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2916 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2917 bound. It isn't for XEmacs.
2919 * net/tramp-compat.el (tramp-compat-copy-file):
2920 Catch `wrong-number-of-arguments' error.
2921 (tramp-compat-replace-regexp-in-string): New defun.
2923 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2924 for `make-auto-save-file-name'.
2925 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2927 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2928 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2929 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2931 * net/tramp-gw.el (tramp-gw-open-network-stream):
2932 Use `tramp-compat-replace-regexp-in-string'.
2934 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2935 Call `tramp-handle-make-auto-save-file-name'.
2936 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2937 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2938 (tramp-sh-file-inotifywait-process-filter):
2939 Use `tramp-compat-replace-regexp-in-string'.
2940 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2942 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2943 for `make-auto-save-file-name'.
2944 (tramp-smb-handle-copy-directory):
2945 Call `tramp-compat-replace-regexp-in-string'.
2946 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2947 (tramp-smb-handle-copy-file): Improve error message.
2948 (tramp-smb-handle-rename-file): Rename directly only in case
2949 `newname' does not exist yet. This is a restriction of smbclient.
2950 (tramp-smb-maybe-open-connection): Rerun the function only when
2951 `auth-sources' is non-nil.
2953 2013-09-08 Kenichi Handa <handa@gnu.org>
2955 * international/characters.el: Set category "^" (Combining) for
2958 2013-09-07 Alan Mackenzie <acm@muc.de>
2960 Correctly fontify Java class constructors.
2961 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2963 (c-recognize-typeless-decls): Set the Java value to t.
2964 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2965 While handling a "(", add a check for, effectively, Java, and handle a
2966 "typeless" declaration there.
2968 2013-09-07 Roland Winkler <winkler@gnu.org>
2970 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2971 field subtitle for entry type book.
2973 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2975 * minibuffer.el: Make minibuffer-complete call completion-in-region
2976 rather than other way around.
2977 (completion--some, completion-pcm--find-all-completions):
2978 Don't delay signals when debugging.
2979 (minibuffer-completion-contents): Beware fields within the
2980 minibuffer contents.
2981 (completion-all-sorted-completions): Use defvar-local.
2982 (completion--do-completion, completion--cache-all-sorted-completions)
2983 (completion-all-sorted-completions, minibuffer-force-complete):
2984 Add args `beg' and `end'.
2985 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2986 (minibuffer-complete): Use completion-in-region.
2987 (completion-complete-and-exit): New fun, extracted from
2988 minibuffer-complete-and-exit.
2989 (minibuffer-complete-and-exit): Use it.
2990 (completion--complete-and-exit): Rename from
2991 minibuffer--complete-and-exit.
2992 (completion-in-region--single-word): New function, extracted from
2993 minibuffer-complete-word.
2994 (minibuffer-complete-word): Use it.
2995 (display-completion-list): Make `common-substring' argument obsolete.
2996 (completion--in-region): Call completion--in-region-1 instead of
2997 minibuffer-complete.
2998 (completion-help-at-point): Pass boundaries to
2999 minibuffer-completion-help as args rather than via an overlay.
3000 (completion-pcm--string->pattern): Use `any-delim'.
3001 (completion-pcm--optimize-pattern): New function.
3002 (completion-pcm--pattern->regex): Handle `any-delim'.
3003 * icomplete.el (icomplete-forward-completions)
3004 (icomplete-backward-completions, icomplete-completions):
3005 Adjust calls to completion-all-sorted-completions and
3006 completion--cache-all-sorted-completions.
3007 (icomplete-with-completion-tables): Default to t.
3008 * emacs-lisp/crm.el (crm--current-element): Rename from
3009 crm--select-current-element. Don't put an overlay but return the
3011 (crm--completion-command): Take two new args to bind to the boundaries.
3012 (crm-completion-help): Adjust accordingly.
3013 (crm-complete): Use completion-in-region.
3014 (crm-complete-word): Use completion-in-region--single-word.
3015 (crm-complete-and-exit): Use completion-complete-and-exit.
3017 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3019 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3022 2013-09-06 Juri Linkov <juri@jurta.org>
3024 * info.el (Info-display-images-node): When image file doesn't exist
3025 display text version of the image if it's provided in the Info file.
3026 Otherwise, display the location of missing image from SRC attribute.
3027 Add help-echo text property from ALT attribute. (Bug#15279)
3029 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3031 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3032 (edit-abbrevs-mode): Use define-derived-mode.
3034 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3035 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3037 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3038 Use define-derived-mode.
3040 * epg.el (epg-start-encrypt): Minor CSE simplification.
3042 2013-09-06 William Xu <william.xwl@gmail.com>
3044 * arc-mode.el: Add support for 7za (bug#15264).
3045 (archive-7z-program): New var.
3046 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3047 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3048 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3050 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3054 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3055 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3056 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3057 (tramp-postfix-host-format, tramp-file-name-regexp)
3058 (tramp-completion-file-name-regexp)
3059 (tramp-completion-dissect-file-name)
3060 (tramp-handle-substitute-in-file-name): Remove 'url case.
3061 (tramp-file-name-regexp-url)
3062 (tramp-completion-file-name-regexp-url): Remove constants.
3064 2013-09-06 Glenn Morris <rgm@gnu.org>
3066 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3068 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3070 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3071 keywords" below "here-doc beginnings" (Bug#15270).
3073 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3075 * subr.el (pop): Use `car-safe'.
3076 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3077 to detect unused `pop' return value.
3079 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3081 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3082 (python-fill-string): Remove unused var `marker'.
3083 (python-skeleton-add-menu-items): Remove unused var `items'.
3085 * international/mule-cmds.el: Require CL.
3086 (find-coding-systems-for-charsets): Avoid add-to-list.
3087 (sanitize-coding-system-list): New function, extracted from
3088 select-safe-coding-system-interactively.
3089 (select-safe-coding-system-interactively): Use it.
3090 (read-input-method-name): Accept symbols for `default'.
3092 * emacs-lisp/advice.el (defadvice): Add indent rule.
3094 2013-09-05 Daniel Hackney <dan@haxney.org>
3098 * net/browse-url.el:
3101 * net/eudcb-ldap.el:
3114 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3115 byte compiler. Remove some unused let-bound variables.
3117 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3119 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3120 a "ref-cell", since it gets better optimized (bug#14883).
3122 2013-09-05 Glenn Morris <rgm@gnu.org>
3124 * progmodes/cc-awk.el (c-forward-sws): Declare.
3126 2013-09-04 Glenn Morris <rgm@gnu.org>
3128 * generic-x.el [rul-generic-mode]: Require cc-mode.
3129 (c++-mode-syntax-table): Declare.
3130 (rul-generic-mode-syntax-table): Init in the defvar.
3132 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3135 (vc-do-command, vc-set-async-update):
3136 * vc/vc-mtn.el (vc-mtn-dir-status):
3137 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3138 (vc-hg-pull, vc-hg-merge-branch):
3139 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3140 (vc-git-merge-branch):
3141 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3142 (vc-cvs-dir-status-files):
3143 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3144 (vc-bzr-dir-status-files):
3145 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3146 * vc/vc-annotate.el: Use lexical-binding.
3147 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3148 (vc-sentinel-movepoint): Declare.
3149 (vc-annotate): Don't use `goto-line'.
3150 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3151 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3152 (vc-sentinel-movepoint): Declare.
3153 * vc/vc-svn.el: Use lexical-binding.
3154 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3156 * vc/vc-rcs.el: Use lexical-binding.
3158 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3159 `deleted'. Don't drop errors silently.
3161 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3163 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3165 * vc/vc.el (vc-ignore): Rewrite.
3166 (vc-default-ignore): New function.
3167 (vc-default-ignore-completion-table): Use find-ignore-file.
3169 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3170 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3171 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3172 Remove. Most code moved to vc.el.
3174 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3177 * net/tramp-smb.el (tramp-smb-get-file-entries):
3178 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3179 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3181 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3183 (eww-change-select): Remove unused var `properties'.
3184 (eww-make-unique-file-name): Remove unused var `base'.
3186 * finder.el (finder-compile-keywords): Don't mess with windows.
3188 * calculator.el (calculator-funcall): Fix typo in last change.
3190 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3192 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3193 <pkg>-autoloads.el file stop us.
3195 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3196 warnings, and factor out common code.
3198 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3200 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3201 two-character operators and whether the character preceding them
3202 changes their meaning (Bug#15208).
3204 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3206 Format code sent to Python shell for robustness.
3207 * progmodes/python.el (python-shell-buffer-substring):
3209 (python-shell-send-region, python-shell-send-buffer): Use it.
3211 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3213 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3214 * net/tramp.el (tramp-user-error): ... here.
3215 (tramp-find-method, tramp-check-proper-host)
3216 (tramp-dissect-file-name, tramp-debug-message)
3217 (tramp-handle-shell-command):
3218 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3219 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3221 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3223 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3225 * avoid.el (mouse-avoidance-point-position)
3226 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3229 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3231 * progmodes/python.el (python-shell-completion-get-completions):
3232 Drop use of deleted `comint-last-prompt-overlay'.
3233 (python-nav-if-name-main): New command.
3235 2013-09-01 Glenn Morris <rgm@gnu.org>
3237 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3238 Avoid leading space in $wins. Otherwise the sed command used by
3239 eg compile-main ends up containing "/*.el". (Bug#15170)
3241 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3243 2013-08-30 Glenn Morris <rgm@gnu.org>
3245 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3246 Fix is-this-a-directory logic. (Bug#15220)
3248 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * textmodes/css-mode.el: Use SMIE.
3251 (css-smie-grammar): New var.
3252 (css-smie--forward-token, css-smie--backward-token)
3253 (css-smie-rules): New functions.
3254 (css-mode): Use them.
3255 (css-navigation-syntax-table): Remove var.
3256 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3257 (css-indent-calculate, css-indent-line): Remove functions.
3259 Misc changes to reduce use of `(lambda...); and other cleanups.
3260 * cus-edit.el: Use lexical-binding.
3261 (customize-push-and-save, customize-apropos)
3262 (custom-buffer-create-internal): Use closures.
3263 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3264 * progmodes/ada-xref.el: Use setq.
3265 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3266 * dframe.el: Use lexical-binding.
3267 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3268 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3269 * descr-text.el: Use lexical-binding.
3270 (describe-text-widget, describe-text-sexp, describe-property-list):
3272 * comint.el (comint-history-isearch-push-state): Use a closure.
3273 * calculator.el: Use lexical-binding.
3274 (calculator-number-to-string): Make it work with lexical-binding.
3275 (calculator-funcall): Same and use cl-letf.
3277 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3278 (lisp--company-doc-string, lisp--company-location): New functions.
3279 (lisp-completion-at-point): Use them to improve Company support.
3281 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3282 params of lambda expressions.
3283 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3284 (ruby-smie--opening-pipe-p): New function.
3285 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3286 symbols and matched |...| for formal params.
3287 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3288 from being treated as hanging. Handle "rescue".
3290 2013-08-29 Glenn Morris <rgm@gnu.org>
3292 * progmodes/cc-engine.el (c-pull-open-brace):
3293 Move definition before use.
3295 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3297 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3298 are immutable. Don't use `unsafe' any more.
3299 (cl--defsubst-expand): Don't substitute at the same time as keeping
3300 a residual unused let-binding. Don't use `unsafe' any more.
3302 2013-08-29 Glenn Morris <rgm@gnu.org>
3304 * calendar/cal-china.el (calendar-chinese-year-cache):
3307 * nxml/nxml-util.el (nxml-debug-clear-inside):
3308 Use cl-loop rather than loop.
3310 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3312 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3314 2013-08-28 Glenn Morris <rgm@gnu.org>
3316 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3318 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3320 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3322 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * simple.el (repeat-complex-command--called-interactively-skip):
3326 (repeat-complex-command): Use it (bug#14136).
3328 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3329 (c-define-abbrev-table): Add `doc' argument.
3330 (c-mode-abbrev-table, c++-mode-abbrev-table)
3331 (objc-mode-abbrev-table, java-mode-abbrev-table)
3332 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3333 (awk-mode-abbrev-table): Use it.
3334 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3335 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3336 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3337 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3338 Move initialization into the declaration; and remove any
3341 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3342 and dynamic let binding.
3344 * vc/smerge-mode.el: Remove redundant :group args.
3346 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3349 2013-08-28 Juri Linkov <juri@jurta.org>
3351 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3352 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3353 (isearch-other-meta-char): Handle an undefined shifted printing
3354 character by downshifting it. (Bug#15200)
3356 2013-08-28 Juri Linkov <juri@jurta.org>
3358 * isearch.el (isearch-search): Change regexp error message for
3359 non-regexp searches. (Bug#15166)
3361 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3363 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3364 for portability to hosts where /bin/sh has problems.
3366 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3370 2013-08-27 Juri Linkov <juri@jurta.org>
3372 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3373 in the keyboard macro. (Bug#15126)
3375 2013-08-27 Juri Linkov <juri@jurta.org>
3377 * isearch.el (isearch-quote-char): Comment out converting unibyte
3378 to multibyte, thus syncing with its `quoted-insert' counterpart.
3381 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3383 * window.el (display-buffer-use-some-window): Add missing
3384 argument in call of get-largest-window (Bug#15185).
3385 Reported by Stephen Leake.
3387 2013-08-27 Glenn Morris <rgm@gnu.org>
3389 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3391 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3393 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3394 from a matcher-function unless there's no more matches (bug#15161).
3396 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3398 * minibuffer.el: Revert change from 2013-08-20.
3400 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3401 with text property `tramp-default', if appropriate.
3402 (tramp-check-proper-host): New defun.
3403 (tramp-dissect-file-name): Do not check hostname. Revert change
3405 (tramp-backtrace): Make VEC-OR-PROC optional.
3407 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3408 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3409 * net/tramp-sh.el (tramp-maybe-open-connection):
3410 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3411 Apply `tramp-check-proper-host'.
3413 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3415 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3416 lambda expression in order to have `describe-variable' display it.
3418 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3420 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3421 BUF can be optional. (Bug#15186)
3423 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3425 * progmodes/flymake.el (flymake-get-real-file-name-function):
3426 Fix broken customization. (Bug#15184)
3428 2013-08-25 Alan Mackenzie <acm@muc.de>
3430 Improve indentation of bracelists defined by macros (without "=").
3432 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3433 expansion begins with "{", regard it as bracelist when it doesn't
3436 Parse C++ inher-intro when there's a template split over 2 lines.
3438 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3439 rigorously the search for "class" etc. followed by ":".
3441 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3442 random languages a regexp which never matches rather than nil.
3444 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3446 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3447 (c-awk-regexp-one-line-possibly-open-char-list-re)
3448 (c-awk-one-line-possibly-open-regexp-re)
3449 (c-awk-one-line-non-syn-ws*-re): Remove.
3450 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3451 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3452 (c-awk-space*-unclosed-regexp-/-re): New constants.
3453 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3454 aren't regexp delimiters.
3456 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3457 handling for a rare situation in AWK Mode involving unterminated
3460 2013-08-23 Glenn Morris <rgm@gnu.org>
3462 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3464 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3466 * files.el (create-file-buffer): If the result would begin with
3467 spaces, prepend a "|" instead of removing them. (Bug#15162)
3469 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3472 text-properties (bug#15155).
3474 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3476 (calc-keypad-redraw): Remove unused var `pad'.
3477 (calc-keypad-press): Remove unused var `menu'.
3479 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3481 * window.el (display-buffer-pop-up-frame):
3482 Call pop-up-frame-function with BUFFER current so `make-frame' will
3483 use it as the new frame's buffer (Bug#15133).
3485 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3487 * calendar/timeclock.el: Minor cleanups.
3488 (timeclock-ask-before-exiting, timeclock-use-display-time):
3490 (timeclock-modeline-display): Define as alias before the
3492 (timeclock-mode-line-display): Use define-minor-mode.
3493 (timeclock-day-list-template): Make it a function, add an argument.
3494 (timeclock-day-list-required, timeclock-day-list-length)
3495 (timeclock-day-list-debt, timeclock-day-list-span)
3496 (timeclock-day-list-break): Adjust calls accordingly.
3498 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3500 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3501 Use read--expression so that completion works again.
3503 2013-08-21 Sam Steingold <sds@gnu.org>
3505 Add rudimentary inferior shell interaction
3506 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3507 (sh-set-shell): Reset it.
3508 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3509 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3511 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3513 * align.el: Use lexical-binding.
3514 (align-region): Simplify accordingly.
3516 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3518 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3520 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3523 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3527 * net/tramp-cmds.el:
3529 * net/tramp-gvfs.el:
3531 * net/tramp-sh.el: Don't wrap external variable declarations by
3532 `eval-when-compile'.
3534 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3536 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3537 now that Emacs supports ImageMagick animations.
3539 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3541 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3542 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3544 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3546 * window.el (mouse-autoselect-window-select): Do autoselect when
3547 mouse pointer is on margin.
3549 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3551 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3553 2013-08-16 Glenn Morris <rgm@gnu.org>
3555 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3556 Handle "Remote Directory" response of some clients. (Bug#15058)
3558 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3559 Tweak warning. (Bug#14926)
3561 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3562 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3564 * image-mode.el (image-mode-map): Add menu items to reverse,
3565 increase, decrease, reset animation speed.
3566 (image--set-speed, image-increase-speed, image-decrease-speed)
3567 (image-reverse-speed, image-reset-speed): New functions.
3568 (image-mode-map): Add bindings for speed commands.
3570 * image.el (image-animate-get-speed, image-animate-set-speed):
3572 (image-animate-timeout): Respect image :speed property.
3574 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3576 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3577 previous line (bug#15101).
3578 (debugger-eval-expression, debugger-record-expression):
3579 Use read--expression (bug#15102).
3581 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3583 Remove byte compiler warnings, visible when compiling with
3584 `byte-compile-force-lexical-warnings' set to t.
3586 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3587 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3588 (tramp-handle-unhandled-file-name-directory)
3589 (tramp-handle-file-notify-add-watch, tramp-action-login)
3590 (tramp-action-succeed, tramp-action-permission-denied)
3591 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3594 * net/tramp-adb.el (tramp-adb-parse-device-names)
3595 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3596 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3597 (tramp-adb-handle-file-truename): Remove unused arguments.
3599 * net/tramp-cache.el (tramp-flush-directory-property)
3600 (tramp-flush-connection-property, tramp-list-connections)
3601 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3603 * net/tramp-compat.el (tramp-compat-make-temp-file):
3604 Rename FILENAME to F.
3606 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3607 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3608 (tramp-zeroconf-parse-workstation-device-names)
3609 (tramp-zeroconf-parse-webdav-device-names)
3610 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3612 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3613 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3615 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3617 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3618 (tramp-sh-handle-insert-file-contents-literally)
3619 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3621 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3622 Remove unused variables.
3624 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3625 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3626 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3628 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3629 Make them a defconst.
3630 (tramp-uuencode-region): Remove unused variable.
3632 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3634 * frameset.el (frameset--prop-setter): New function.
3635 (frameset-prop): Add gv-setter declaration.
3636 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3637 parameter was already set in FILTERED. Doc fix.
3638 (frameset--record-minibuffer-relationships): Allow saving a
3639 minibufferless frame without its corresponding minibuffer frame.
3640 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3641 frame, if the frame id matches.
3642 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3643 frames before orphaned ones.
3644 (frameset-restore): Warn about orphaned windows, instead of error out.
3646 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3648 * window.el (window-make-atom): Don't overwrite parameter
3650 (display-buffer-in-atom-window): Handle special case where we
3651 split an already atomic window.
3652 (window--major-non-side-window, display-buffer-in-side-window)
3653 (window--side-check): Ignore minibuffer window when walking
3655 (window-deletable-p): Return 'frame only if no other frame uses
3656 our minibuffer window.
3657 (record-window-buffer): Run buffer-list-update-hook.
3658 (split-window): Make sure window--check-frame won't destroy an
3659 existing atomic window in case the new window gets nested
3661 (display-buffer-at-bottom): Ignore minibuffer window when
3662 walking window tree. Don't split a side window.
3663 (pop-to-buffer): Don't set-buffer here, the select-window call
3665 (mouse-autoselect-window-select): Autoselect only if we are in the
3666 text portion of the window.
3668 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3670 * net/shr.el (shr-parse-image-data): New function to grab both the
3671 data itself and the Content-Type.
3672 (shr-put-image): Use it.
3674 * net/eww.el (eww-display-image): Ditto.
3676 * image.el (image-content-type-suffixes): New variable.
3678 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3680 * progmodes/python.el (python-imenu--build-tree)
3681 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3683 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3685 * simple.el (backward-word): Mention the optional argument.
3687 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3689 * frameset.el (frameset--make): Rename constructor from make-frameset.
3690 (frameset-p, frameset-valid-p): Don't autoload.
3691 (frameset-valid-p): Use normal accessors.
3693 2013-08-13 Glenn Morris <rgm@gnu.org>
3695 * progmodes/compile.el (compile-command): Tweak example in doc.
3696 * obsolete/scribe.el (scribe-mode):
3697 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3699 * mail/feedmail.el (feedmail-confirm-outgoing)
3700 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3702 * cus-start.el (truncate-partial-width-windows): Fix type.
3704 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3706 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3708 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * emacs-lisp/timer.el (timer--time-setter): New function.
3711 (timer--time): Use it as gv-setter.
3713 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3714 setter is not a symbol.
3716 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3718 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3719 if sending fails. This makes debugging easier.
3721 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3723 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3724 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3725 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3727 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3729 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3731 2013-08-12 Glenn Morris <rgm@gnu.org>
3733 * format.el (format-annotate-function):
3734 Handle read-only text properties in the source. (Bug#14887)
3736 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3738 * net/eww.el (eww-display-html): Ignore coding system errors.
3739 One web site uses "utf-8lias" as the coding system.
3741 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3743 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3745 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3747 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3748 (tutorial--detailed-help): Remove unused local variables.
3749 (tutorial--save-tutorial-to): Use ignore-errors.
3750 (help-with-tutorial): Use looking-at-p.
3752 * view.el (view-buffer-other-window, view-buffer-other-frame):
3753 Mark unused arguments.
3755 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3756 (woman-select-symbol-fonts, woman, woman-find-file)
3757 (woman-insert-file-contents, woman-non-underline-faces):
3759 (woman1-unquote): Move declaration.
3761 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3762 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3763 argument. Remove unused local variable.
3764 (xml-parse-elem-type): Use string-match-p.
3765 (xml-substitute-numeric-entities): Use ignore-errors.
3767 * calculator.el (calculator): Mark unused argument.
3768 (calculator-paste, calculator-quit, calculator-integer-p):
3770 (calculator-string-to-number, calculator-decimal, calculator-exp)
3771 (calculator-op-or-exp): Use string-match-p.
3773 * dired.el (dired-buffer-more-recently-used-p): Declare.
3774 (dired-insert-set-properties, dired-insert-old-subdirs):
3777 * dired-aux.el (dired-compress): Use ignore-errors.
3778 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3779 (dired-do-async-shell-command, dired-do-shell-command)
3780 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3781 (dired-insert-subdir-validate): Use string-match-p.
3782 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3783 (dired-add-entry): Use string-match-p, looking-at-p.
3784 (dired-insert-subdir-newpos): Remove unused local variable.
3786 * filenotify.el (file-notify-callback): Remove unused local variable.
3788 * filesets.el (filesets-error): Mark unused argument.
3789 (filesets-which-command-p, filesets-filter-dir-names)
3790 (filesets-directory-files, filesets-get-external-viewer)
3791 (filesets-ingroup-get-data): Use string-match-p.
3793 * find-file.el (ff-other-file-name, ff-other-file-name)
3794 (ff-find-the-other-file, ff-cc-hh-converter):
3795 Remove unused local variables.
3796 (ff-get-file-name): Use string-match-p.
3797 (ff-all-dirs-under): Use ignore-errors.
3799 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3800 (follow-select-if-visible): Remove unused local variable.
3802 * forms.el (read-file-filter): Move declaration.
3803 (forms--make-format, forms--make-parser, forms-insert-record):
3804 Quote function with #'.
3805 (forms--update): Use string-match-p. Quote function with #'.
3807 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3808 (help-make-xrefs): Use looking-at-p.
3809 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3811 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3812 (ibuffer-confirm-operation-on): Use string-match-p.
3814 * msb.el (msb-item-handler, msb-dired-item-handler):
3815 Mark unused arguments.
3817 * ses.el (ses-decode-cell-symbol)
3818 (ses-kill-override): Remove unused local variable.
3819 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3820 (ses-load): Use ignore-errors, looking-at-p.
3821 (ses-jump-safe): Use ignore-errors.
3822 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3824 * tabify.el (untabify, tabify): Mark unused arguments.
3826 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3827 Mark unused argument.
3828 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3829 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3831 * emacs-lisp/timer.el (timer--time): Define setter with
3832 gv-define-setter to avoid deprecation warning.
3834 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3835 (*record-cmpl-statistics-p*): Remove (was commented out).
3836 (cmpl-statistics-block): Remove (body was commented out).
3837 All callers changed.
3838 (add-completions-from-buffer, load-completions-from-file):
3839 Remove unused variables.
3841 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3843 * filecache.el (file-cache-delete-file-list):
3844 Print message only when told so.
3845 (file-cache-files-matching): Use #' in mapconcat argument.
3847 * ffap.el (ffap-url-at-point): Fix reference to variable
3848 thing-at-point-default-mail-uri-scheme.
3850 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * subr.el (define-error): New function.
3853 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3854 error-file-not-found and define with define-error.
3855 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3856 and define with define-error.
3857 * userlock.el (file-locked, file-supersession):
3858 * simple.el (mark-inactive):
3859 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3860 * progmodes/ada-mode.el (ada-mode-errors):
3861 * play/life.el (life-extinct):
3862 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3863 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3864 * nxml/rng-util.el (rng-error):
3865 * nxml/rng-uri.el (rng-uri-error):
3866 * nxml/rng-match.el (rng-compile-error):
3867 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3868 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3869 * nxml/nxml-rap.el (nxml-scan-error):
3870 * nxml/nxml-outln.el (nxml-outline-error):
3871 * net/soap-client.el (soap-error):
3872 * net/gnutls.el (gnutls-error):
3873 * net/ange-ftp.el (ftp-error):
3874 * mpc.el (mpc-proc-error):
3875 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3876 (json-number-format, json-string-escape, json-string-format)
3877 (json-key-format, json-object-format):
3878 * jka-compr.el (compression-error):
3879 * international/quail.el (quail-error):
3880 * international/kkc.el (kkc-error):
3881 * emacs-lisp/ert.el (ert-test-failed):
3882 * calc/calc.el (calc-error, inexact-result, math-overflow)
3884 * bookmark.el (bookmark-error-no-filename):
3885 * epg.el (epg-error): Define with define-error.
3887 * time.el (display-time-event-handler)
3888 (display-time-next-load-average): Don't call sit-for since it seems
3889 unnecessary (bug#15045).
3891 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3892 Use #' instead of ' to quote functions.
3893 (checkdoc-output-mode): Use setq-local.
3894 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3895 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3896 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3897 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3898 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3899 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3900 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3901 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3903 * ido.el (ido-completion-help): Fix up compiler warning.
3905 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3907 * frameset.el (frameset-p): Add autoload cookie.
3908 (frameset--jump-to-register): New function, based on code moved from
3910 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3912 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3913 (frameset-restore, frameset-save, frameset-session-filter-alist):
3914 Remove declarations.
3915 (register-alist): Doc fix.
3916 (frameset-to-register): Move to frameset.el.
3917 (jump-to-register, describe-register-1): Remove frameset-specific code.
3919 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3921 * allout-widgets.el (allout-widgets-pre-command-business)
3922 (allout-widgets-post-command-business)
3923 (allout-widgets-after-change-handler)
3924 (allout-decorate-item-and-context, allout-set-boundary-marker)
3925 (allout-body-modification-handler)
3926 (allout-graphics-modification-handler): Mark ignored arguments.
3927 (allout-widgets-post-command-business)
3928 (allout-widgets-exposure-change-processor)
3929 (allout-widgets-exposure-undo-processor)
3930 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3931 (allout-parse-item-at-point, allout-decorate-item-guides)
3932 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3933 * allout.el (epa-passphrase-callback-function): Declare.
3934 (allout-overlay-insert-in-front-handler)
3935 (allout-overlay-interior-modification-handler)
3936 (allout-isearch-end-handler, allout-chart-siblings)
3937 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3938 (allout-yank-processing, allout-process-exposed)
3939 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3940 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3941 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3942 (lisp-indent-defform): Mark ignored arguments.
3943 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3944 (calculate-lisp-indent): Remove unused variables.
3945 * international/characters.el (indian-2-column, arabic-2-column)
3946 (tibetan): Mark ignored arguments.
3947 (use-cjk-char-width-table): Mark ignored arguments.
3948 Remove unused variables.
3949 * international/fontset.el (build-default-fontset-data)
3950 (x-compose-font-name, create-fontset-from-fontset-spec):
3951 Mark ignored arguments.
3952 (fontset-plain-name): Remove unused variables.
3953 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3954 (keyboard-coding-system): Mark ignored arguments.
3955 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3956 * help.el (resize-temp-buffer-window):
3957 * window.el (display-buffer-in-major-side-window)
3958 (display-buffer-in-side-window, display-buffer-in-previous-window):
3959 Remove unused variables.
3960 * isearch.el (isearch-forward-symbol):
3961 * version.el (emacs-bzr-version-bzr):
3962 * international/mule-cmds.el (current-language-environment):
3963 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3965 * term/pc-win.el (x-list-fonts, x-display-planes)
3966 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3967 (x-server-version, x-display-screens, x-display-mm-height)
3968 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3969 (x-selection-owner-p, x-own-selection-internal)
3970 (x-disown-selection-internal, x-get-selection-internal)
3971 (msdos-initialize-window-system):
3972 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3973 * term/x-win.el (x-handle-no-bitmap-icon):
3974 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3975 (vc-default-find-file-hook, vc-default-extra-menu):
3976 Mark ignored arguments.
3978 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3980 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3981 break-condition in the context of the debugged code (bug#12685).
3983 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3986 Do not use an overlay to highlight the last prompt. (Bug#14744)
3987 (comint-mode): Make comint-last-prompt buffer local.
3988 (comint-last-prompt): New variable.
3989 (comint-last-prompt-overlay): Remove. Superseded by
3991 (comint-snapshot-last-prompt, comint-output-filter):
3992 Use comint-last-prompt.
3994 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3996 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3997 (frameset-save): Check validity of the resulting frameset.
3999 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4001 * ido.el (ido-record-command): Add doc string.
4003 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4005 * frameset.el (frameset): Do not disable creation of the default
4006 frameset-p predicate. Doc fix.
4007 (frameset-valid-p): New function, copied from the old predicate-p.
4008 Add additional checks.
4009 (frameset-restore): Check with frameset-valid-p.
4010 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4011 (frameset-name, frameset-description, frameset-properties)
4012 (frameset-states): Add docstring.
4013 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4014 (frameset-filter-alist): Doc fixes.
4016 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4018 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4020 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4022 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4023 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4024 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4025 (byte-compile-normal-call): Remove obsolescence check.
4027 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4029 * frameset.el (frameset-restore): Doc fix.
4031 * register.el (frameset-frame-id, frameset-frame-with-id)
4032 (frameset-p, frameset-restore, frameset-save): Declare.
4033 (register-alist): Document framesets.
4034 (frameset-session-filter-alist): Declare.
4035 (frameset-to-register): New function.
4036 (jump-to-register): Implement jumping to framesets. Doc fix.
4037 (describe-register-1): Describe framesets.
4039 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4041 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4043 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4044 Use lexical-binding.
4046 * frameset.el (frameset): Use type vector, not list (incompatible
4047 change). Do not declare a new constructor, use the default one.
4048 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4049 `name' and `description', respectively, and add read-only slot
4050 `timestamp'. Doc fixes.
4051 (frameset-copy, frameset-persistent-filter-alist)
4052 (frameset-filter-alist, frameset-switch-to-gui-p)
4053 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4054 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4055 (frameset-filter-iconified, frameset-keep-original-display-p):
4057 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4058 Rename from frameset-filter-(save|restore)-param. All callers changed.
4060 (frameset-p): Adapt to change to vector and be more thorough.
4061 Change arg name to OBJECT. Doc fix.
4062 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4063 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4064 All callers changed.
4065 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4066 All callers changed.
4067 (frameset--record-minibuffer-relationships): Rename from
4068 frameset--process-minibuffer-frames. All callers changed.
4069 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4070 Use new default constructor (again). Doc fix.
4071 (frameset--find-frame-if): Rename from `frameset--find-frame.
4072 All callers changed.
4073 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4074 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4076 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4077 PARAMETERS and WINDOW-STATE, respectively.
4078 (frameset-restore): Add new keyword argument PREDICATE.
4079 Reset frameset--target-display to nil. Doc fix.
4081 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4083 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4085 (bat-mode-syntax-table): Mark \n as end-of-comment.
4086 (bat-font-lock-keywords): Remove comment rule.
4088 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4089 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4091 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4092 (byte-compile-callargs-warn): Use `push'.
4093 (byte-compile-arglist-warn): Ignore higher-order "calls".
4094 (byte-compile-file-form-autoload): Use `pcase'.
4095 (byte-compile-function-form): If quoting a symbol, check that it exists.
4097 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4099 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4100 and add a few popular commands found in batch files.
4101 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4102 (dos-mode): Doc fixes.
4104 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4106 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4107 (dos-mode): Use setq-local. Add space after "rem".
4108 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4109 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4111 2013-08-07 Arni Magnusson <arnima@hafro.is>
4113 * progmodes/dos.el: New file.
4114 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4117 2013-08-06 Glenn Morris <rgm@gnu.org>
4119 * calendar/calendar.el: Add new faces, and day-header-array.
4120 (calendar-weekday-header, calendar-weekend-header)
4121 (calendar-month-header): New faces.
4122 (calendar-day-header-construct): New function.
4123 (calendar-day-header-width): Also :set calendar-day-header-array.
4124 (calendar-american-month-header, calendar-european-month-header)
4125 (calendar-iso-month-header): Use calendar- faces.
4126 (calendar-generate-month):
4127 Use calendar-day-header-array for day headers; apply faces to them.
4128 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4129 (calendar-abbrev-construct): Add optional maxlen argument.
4130 (calendar-day-name-array): Doc fix.
4131 (calendar-day-name-array, calendar-abbrev-length)
4132 (calendar-day-abbrev-array):
4133 Also :set calendar-day-header-array, and maybe redraw.
4134 (calendar-day-header-array): New option. (Bug#15007)
4135 (calendar-font-lock-keywords): Set to nil and make obsolete.
4136 (calendar-day-name): Add option to use header array.
4138 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4140 * net/shr.el (shr-render-td): Remove debugging.
4141 (shr-render-td): Make width computation consistent by defaulting
4142 all zero-width columns to 10 characters. This may not be optimal,
4143 but it's at least consistent.
4144 (shr-make-table-1): Redo last change to fix the real problem in
4147 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4149 * files.el (cache-long-line-scans):
4150 Make obsolete alias to `cache-long-scans'.
4152 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4154 * frameset.el (frameset, frameset-filter-alist)
4155 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4156 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4157 (frameset-compute-pos): Rename from frameset--compute-pos,
4159 (frameset-move-onscreen): Use frameset-compute-pos.
4160 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4162 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4163 Fix typos in docstrings.
4165 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4167 * frame.el (get-other-frame): Tiny cleanup.
4169 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4171 * vc/vc.el (vc-default-ignore-completion-table):
4172 Silence byte-compiler warning.
4174 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4175 slot , which can indeed be nil.
4176 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4177 Move entry for `left' from persistent to live filter alist.
4178 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4180 (frameset-filter-params): When restoring a frame, copy items added to
4181 `filtered', to avoid unwittingly modifying the original parameters.
4182 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4183 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4185 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4186 to use looking-at-p instead of looking-at. (Bug#15028)
4188 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4190 Revert introduction of isearch-filter-predicates (bug#14714).
4191 Rely on add-function instead.
4192 * isearch.el (isearch-filter-predicates): Rename it back to
4193 isearch-filter-predicate.
4194 (isearch-message-prefix): Use advice-function-mapc and advice
4195 properties to get the isearch-message-prefix.
4196 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4197 instead of run-hook-with-args-until-failure.
4198 (isearch-filter-visible): Not obsolete any more.
4199 * loadup.el: Preload nadvice.
4200 * replace.el (perform-replace): Revert to funcall
4201 instead of run-hook-with-args-until-failure.
4202 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4203 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4204 dired-isearch-filenames-toggle; make it into a proper minor mode.
4205 Use add/remove-function.
4206 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4207 Call the minor-mode rather than add/remove-hook.
4208 (dired-isearch-filter-filenames):
4209 Remove isearch-message-prefix property.
4210 * info.el (Info--search-loop): New function, extracted from Info-search.
4211 Funcall isearch-filter-predicate instead of
4212 run-hook-with-args-until-failure isearch-filter-predicates.
4213 (Info-search): Use it.
4214 (Info-mode): Use isearch-filter-predicate instead of
4215 isearch-filter-predicates.
4217 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4219 Do not call to `selected-window' where it is assumed by default.
4220 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4221 `window-hscroll', `window-width', `window-height', `window-buffer',
4222 `window-frame', `window-start', `window-point', `next-window'
4223 and `window-display-table'.
4224 * abbrev.el (abbrev--default-expand):
4225 * bs.el (bs--show-with-configuration):
4226 * buff-menu.el (Buffer-menu-mouse-select):
4227 * calc/calc.el (calc):
4228 * calendar/calendar.el (calendar-generate-window):
4229 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4231 * comint.el (send-invisible, comint-dynamic-complete-filename)
4232 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4233 * completion.el (complete):
4234 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4235 * disp-table.el (describe-current-display-table):
4236 * doc-view.el (doc-view-insert-image):
4237 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4238 * ehelp.el (with-electric-help):
4239 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4240 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4241 * emacs-lisp/helper.el (Helper-help-scroller):
4242 * emulation/cua-base.el (cua--post-command-handler-1):
4243 * eshell/esh-mode.el (eshell-output-filter):
4244 * ffap.el (ffap-gnus-wrapper):
4245 * help-macro.el (make-help-screen):
4246 * hilit-chg.el (highlight-compare-buffers):
4247 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4248 * hl-line.el (global-hl-line-highlight):
4249 * icomplete.el (icomplete-simple-completing-p):
4250 * isearch.el (isearch-done):
4251 * jit-lock.el (jit-lock-stealth-fontify):
4252 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4253 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4254 * mpc.el (mpc-tagbrowser, mpc):
4255 * net/rcirc.el (rcirc-any-buffer):
4256 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4257 * play/landmark.el (landmark-max-width, landmark-max-height):
4258 * play/zone.el (zone):
4259 * progmodes/compile.el (compilation-goto-locus):
4260 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4261 * progmodes/etags.el (find-tag-other-window):
4262 * progmodes/fortran.el (fortran-column-ruler):
4263 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4264 * progmodes/verilog-mode.el (verilog-point-text):
4265 * reposition.el (reposition-window):
4266 * rot13.el (toggle-rot13-mode):
4267 * server.el (server-switch-buffer):
4268 * shell.el (shell-dynamic-complete-command)
4269 (shell-dynamic-complete-environment-variable):
4270 * simple.el (insert-buffer, set-selective-display)
4271 (delete-completion-window):
4272 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4273 (speedbar-recenter):
4274 * startup.el (fancy-splash-head):
4275 * textmodes/ispell.el (ispell-command-loop):
4276 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4277 * tutorial.el (help-with-tutorial):
4278 * vc/add-log.el (add-change-log-entry):
4279 * vc/compare-w.el (compare-windows):
4280 * vc/ediff-help.el (ediff-indent-help-message):
4281 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4282 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4283 (ediff-setup-control-frame):
4284 * vc/emerge.el (emerge-position-region):
4285 * vc/pcvs-util.el (cvs-bury-buffer):
4286 * window.el (walk-windows, mouse-autoselect-window-select):
4287 * winner.el (winner-set-conf, winner-undo): Related users changed.
4289 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4291 * frameset.el (frameset--set-id): Doc fix.
4292 (frameset-frame-id, frameset-frame-id-equal-p)
4293 (frameset-locate-frame-id): New functions.
4294 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4295 (frameset-restore): Use them.
4297 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4299 Do not call to `selected-frame' where it is assumed by default.
4300 Affected functions are `raise-frame', `redraw-frame',
4301 `frame-first-window', `frame-terminal' and `delete-frame'.
4302 * calendar/appt.el (appt-disp-window):
4303 * epg.el (epg-wait-for-completion):
4304 * follow.el (follow-delete-other-windows-and-split)
4305 (follow-avoid-tail-recenter):
4306 * international/mule.el (set-terminal-coding-system):
4307 * mail/rmail.el (rmail-mail-return):
4308 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4309 * progmodes/f90.el (f90-add-imenu-menu):
4310 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4311 * server.el (server-switch-buffer):
4312 * simple.el (delete-completion-window):
4314 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4315 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4316 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4317 * vc/ediff.el (ediff-documentation): Related users changed.
4318 * frame.el (selected-terminal): Remove the leftover.
4320 2013-08-05 Glenn Morris <rgm@gnu.org>
4322 * calendar/calendar.el (calendar-generate-month):
4323 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4324 (calendar-generate-month, calendar-font-lock-keywords):
4325 Fix for calendar-day-header-width > length of any day name.
4327 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4329 * desktop.el (desktop-clear): Use new name of sort predicate.
4331 * frameset.el (frameset): Add docstring. Move :version property to its
4333 (frameset-copy): Rename from copy-frameset.
4334 (frameset-p): Check more thoroughly.
4335 (frameset-prop): Do not check for :version, which is no longer a prop.
4336 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4337 Use new :never value instead of t.
4338 (frameset-filter-alist): Expand and clarify docstring.
4339 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4340 (frameset-filter-minibuffer, frameset-filter-save-param)
4341 (frameset-filter-restore-param, frameset-filter-iconified):
4342 Add pointer to docstring of frameset-filter-alist.
4343 (frameset-filter-params): Rename filter values to be more meaningful:
4344 :never instead of t, and reverse the meanings of :save and :restore.
4345 (frameset--process-minibuffer-frames): Clarify error message.
4346 (frameset-save): Avoid unnecessary and confusing call to framep.
4347 Use new BOA constructor for framesets.
4348 (frameset--reuse-list): Doc fix.
4349 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4350 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4351 (frameset-minibufferless-first-p): Doc fix.
4352 Rename from frameset-sort-frames-for-deletion.
4353 (frameset-restore): Doc fixes. Use new function names.
4354 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4356 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4358 * desktop.el (desktop-restore-forces-onscreen)
4359 (desktop-restore-reuses-frames): Document :keyword constant values.
4360 (desktop-filter-parameters-alist): Remove, now identical to
4361 frameset-filter-alist.
4362 (desktop--filter-tty*): Remove, moved to frameset.el.
4363 (desktop-save-frameset, desktop-restore-frameset):
4364 Do not pass :filters argument.
4366 * frameset.el (frameset-live-filter-alist)
4367 (frameset-persistent-filter-alist): New variables.
4368 (frameset-filter-alist): Use them. Add autoload cookie.
4369 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4370 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4371 `frameset--id' (it's supposed to be internal to frameset.el).
4372 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4373 (frameset--initial-params): New function.
4374 (frameset--get-frame): Use it. Doc fix.
4375 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4376 Accept :all, not 'all.
4377 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4378 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4379 with fbound symbols. Fix frame id matching, and remove matching ids if
4380 the frame being restored is deleted. Obey :delete.
4382 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4384 * subr.el (macrop): New function.
4385 (text-clone--maintaining): New var.
4386 (text-clone--maintain): Rename from text-clone-maintain. Use it
4387 instead of inhibit-modification-hooks.
4389 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4390 a proxy, so as handle autoloads and redefinitions of the target.
4391 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4393 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4394 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4395 (pcase--mutually-exclusive-p): New function.
4396 (pcase--split-consp): Use it.
4397 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4398 mutually exclusive with the current predicate.
4400 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4401 (edebug-macrop): Remove. Use `macrop' instead.
4402 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4404 * eshell/esh-cmd.el (eshell-macrop):
4405 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4407 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4410 (advice-mapc): New function, using it.
4411 (advice-function-member-p): New function.
4412 (advice--normalize): Store the cdr in advice--saved-rewrite since
4413 that's the part that will be changed.
4414 (advice--symbol-function): New function.
4415 (advice-remove): Handle removal before the function is defined.
4416 Adjust to new advice--saved-rewrite.
4417 (advice-member-p): Use advice-function-member-p and
4418 advice--symbol-function.
4420 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4422 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4423 (frameset-filter-minibuffer): Doc fix.
4424 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4425 (frameset--set-id, frameset--process-minibuffer-frames)
4426 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4427 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4429 * desktop.el (desktop-clear): Only delete frames when called
4430 interactively and desktop-restore-frames is non-nil. Doc fix.
4431 (desktop-read): Set desktop-saved-frameset to nil.
4433 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4435 * vc/vc.el (vc-ignore): Rewrite.
4436 (vc-default-ignore-completion-table):
4438 (vc--add-line, vc--remove-regexp): New functions.
4440 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4441 (vc-svn-ignore-completion-table): New function.
4443 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4444 (vc-hg-ignore-completion-table):
4445 (vc-hg-find-ignore-file): New functions.
4447 * vc/vc-git.el (vc-git-ignore): Rewrite.
4448 (vc-git-ignore-completion-table):
4449 (vc-git-find-ignore-file): New functions.
4451 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4453 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4454 (vc-bzr-ignore-completion-table):
4455 (vc-bzr-find-ignore-file): New functions.
4457 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4459 * frameset.el (frameset-prop): New function and setter.
4460 (frameset-save): Do not modify frame list passed by the caller.
4462 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4464 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4466 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4469 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4471 * custom.el (custom-initialize-default, custom-initialize-set)
4472 (custom-initialize-reset, custom-initialize-changed): Affect the
4473 toplevel-default-value (bug#6275, bug#14586).
4474 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4477 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4479 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4480 Add cl-def* expressions.
4482 * frameset.el (frameset-filter-params): Fix order of arguments.
4484 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4486 Move code related to saving frames to frameset.el.
4487 * desktop.el: Require frameset.
4488 (desktop-restore-frames): Doc fix.
4489 (desktop-restore-reuses-frames): Rename from
4490 desktop-restoring-reuses-frames.
4491 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4492 (desktop-clear): Clear frames too.
4493 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4494 (desktop--filter-tty*, desktop-save, desktop-read):
4495 Use frameset functions.
4496 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4497 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4498 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4499 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4500 (desktop--process-minibuffer-frames, desktop-save-frames)
4501 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4502 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4503 (desktop--sort-states, desktop-restoring-frames-p)
4504 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4505 (desktop-restoring-frameset-p, desktop-restore-frameset)
4506 (desktop--check-dont-save, desktop-save-frameset): New functions.
4507 (desktop--app-id): New constant.
4508 (desktop-first-buffer, desktop-buffer-ok-count)
4509 (desktop-buffer-fail-count): Move before first use.
4510 * frameset.el: New file.
4512 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4514 * files.el: Use lexical-binding.
4515 (dir-locals-read-from-file): Remove unused `err' variable.
4516 (hack-dir-local-variables--warned-coding): New var.
4517 (hack-dir-local-variables): Use it to avoid repeated warnings.
4518 (make-backup-file-name--default-function): New function.
4519 (make-backup-file-name-function): Use it as default.
4520 (buffer-stale--default-function): New function.
4521 (buffer-stale-function): Use it as default.
4522 (revert-buffer-insert-file-contents--default-function): New function.
4523 (revert-buffer-insert-file-contents-function): Use it as default.
4524 (insert-directory): Avoid add-to-list.
4526 * autorevert.el (auto-revert-handler): Simplify.
4527 Use buffer-stale--default-function.
4529 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4531 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4533 * whitespace.el (whitespace-ensure-local-variables): New function.
4534 (whitespace-cleanup-region): Call it.
4535 (whitespace-turn-on): Call it.
4537 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4539 Complete file name handlers.
4541 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4542 (tramp-handle-verify-visited-file-modtime)
4543 (tramp-handle-file-notify-rm-watch): New functions.
4544 (tramp-call-process): Do not bind `default-directory'.
4546 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4547 Order alphabetically.
4548 [access-file, add-name-to-file, dired-call-process]:
4549 [dired-compress-file, file-acl, file-notify-rm-watch]:
4550 [file-ownership-preserved-p, file-selinux-context]:
4551 [make-directory-internal, make-symbolic-link, set-file-acl]:
4552 [set-file-selinux-context, set-visited-file-modtime]:
4553 [verify-visited-file-modtime]: Add handler.
4554 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4556 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4557 [file-notify-add-watch, file-notify-rm-watch]:
4558 [set-file-times, set-visited-file-modtime]:
4559 [verify-visited-file-modtime]: Add handler.
4560 (with-tramp-gvfs-error-message)
4561 (tramp-gvfs-handle-set-visited-file-modtime)
4562 (tramp-gvfs-fuse-file-name): Remove.
4563 (tramp-gvfs-handle-file-notify-add-watch)
4564 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4565 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4567 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4568 Order alphabetically.
4569 [file-notify-rm-watch ]: Use default Tramp handler.
4570 [executable-find]: Remove private handler.
4571 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4572 `default-directory'.
4573 (tramp-sh-handle-executable-find)
4574 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4575 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4576 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4577 Do not use `format' in `tramp-message'.
4579 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4580 [file-notify-rm-watch, set-visited-file-modtime]:
4581 [verify-visited-file-modtime]: Add handler.
4582 (tramp-smb-call-winexe): Do not bind `default-directory'.
4584 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4586 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4588 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4590 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4592 (log-view-diff-changeset): Same.
4593 (log-view-diff-common): Call backend command `previous-revision'
4594 to find out the previous revision, in both cases. Swap the
4595 variables `to' and `fr', so that `fr' usually refers to the
4596 earlier revision (Bug#14989).
4598 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4600 * ibuf-ext.el (ibuffer-filter-by-filename):
4601 Make it work with dired buffers too.
4603 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4605 * emacs-lisp/re-builder.el (reb-color-display-p):
4606 * files.el (save-buffers-kill-terminal):
4607 * net/browse-url.el (browse-url):
4608 * server.el (server-save-buffers-kill-terminal):
4609 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4610 Prefer nil to selected-frame for the first arg of frame-parameter.
4612 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4614 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4616 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4618 * minibuffer.el (completion--twq-all): Try and preserve each
4619 completion's case choice (bug#14907).
4621 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4623 * net/network-stream.el (open-network-stream): Mention the new
4624 :nogreeting parameter.
4625 (network-stream-open-starttls): Use the :nogreeting parameter
4628 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4630 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4631 more natural than popping.
4633 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4634 (shr-urlify): Highlight under mouse.
4636 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4638 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4640 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4642 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4645 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4646 point-min==1. Fix search string. Fix parentheses missing.
4648 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4649 assume point-min==1. Fix search string. Fix parentheses missing.
4651 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4653 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4656 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4658 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4659 initial frame is minibuffer-less. (Bug#14841)
4661 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4663 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4666 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4667 (tramp-maybe-open-connection): Use it.
4669 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4671 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4672 minimal set of parameters passed when creating a frame, because
4673 the minibuffer status of a frame cannot be changed later.
4675 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4677 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4678 replace-regexp-in-string and inadvertent omissions in previous change.
4679 (todo-filter-items): Ensure only file names are comma-separated in
4680 name of filtered items buffer.
4682 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4684 * desktop.el: Optionally force offscreen frames back onscreen.
4685 (desktop-restoring-reuses-frames): New option.
4686 (desktop--compute-pos, desktop--move-onscreen): New functions.
4687 (desktop--make-frame): Use desktop--move-onscreen.
4689 2013-07-27 Alan Mackenzie <acm@muc.de>
4691 Fontify a Java generic method as a function.
4692 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4695 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4697 * calendar/todo-mode.el: Add command to rename todo files.
4698 (todo-rename-file): New command.
4699 (todo-key-bindings-t): Add key binding for it. Change the
4700 bindings of todo-filter-regexp-items(-multifile) to use `x'
4701 instead of `r', since the latter is better suited to the new
4704 2013-07-27 Alan Mackenzie <acm@muc.de>
4706 Make Java try-with-resources statement parse properly.
4707 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4708 (c-block-stmt-1-2-key): New language constants/variables.
4709 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4710 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4711 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4712 with c-block-stmt-1-2-key.
4714 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4716 * desktop.el (desktop--make-frame): Apply most frame parameters after
4717 creating the frame to force (partially or totally) offscreen frames to
4718 be restored as such.
4720 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4722 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4725 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4727 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4728 `base' arg of backtrace-frame.
4730 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4732 * simple.el (list-processes): Doc fix.
4734 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4736 * desktop.el (desktop--select-frame):
4737 Try harder to reuse existing frames.
4739 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4741 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4742 (edebug-eval): Use backtrace-eval.
4743 (edebug--display, edebug--recursive-edit): Don't let-bind the
4744 edebug-outer-* vars that keep track of variables we locally let-bind.
4745 (edebug-outside-excursion): Don't restore outside values of locally
4747 (edebug--display): Use user-error.
4748 (cl-lexical-debug, cl-debug-env): Remove.
4750 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4752 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4753 are restored to be sure that they are visible before deleting any
4756 2013-07-26 Matthias Meulien <orontee@gmail.com>
4758 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4759 vc-print-root-log. (Bug#14948)
4761 2013-07-26 Richard Stallman <rms@gnu.org>
4763 Add aliases for encrypting mail.
4764 * epa.el (epa-mail-aliases): New option.
4765 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4766 Bind inhibit-read-only so read-only text doesn't ruin everything.
4767 (epa-mail-default-recipients): New subroutine broken out.
4768 Handle epa-mail-aliases.
4770 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4772 Add support for lexical variables to the debugger's `e' command.
4773 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4774 vars, except for debugger-outer-match-data.
4775 (debugger-frame-number): Move check for "on a function call" from
4776 callers into it. Add `skip-base' argument.
4777 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4778 (debugger-env-macro): Only reset the state stored in non-variables,
4779 i.e. current-buffer and match-data.
4780 (debugger-eval-expression): Rewrite using backtrace-eval.
4781 * subr.el (internal--called-interactively-p--get-frame): Remove.
4782 (called-interactively-p):
4783 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4784 `base' arg of backtrace-frame instead.
4786 2013-07-26 Glenn Morris <rgm@gnu.org>
4788 * align.el (align-regexp): Doc fix. (Bug#14857)
4789 (align-region): Explicit error if subexpression missing/does not match.
4791 * simple.el (global-visual-line-mode):
4792 Do not duplicate the mode lighter. (Bug#14858)
4794 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4796 * window.el (display-buffer): In display-buffer bind
4797 split-window-keep-point to t, bug#14829.
4799 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4801 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4802 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4803 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4804 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4806 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4807 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4809 2013-07-25 Glenn Morris <rgm@gnu.org>
4811 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4813 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4815 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4816 parameter to modify-frame-parameters if the value has not changed;
4817 this is a workaround for bug#14949.
4818 (desktop--make-frame): On cl-delete-if call, check parameter name,
4821 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4823 * vc/vc.el (vc-ignore): New function.
4825 * vc/vc-svn.el (vc-svn-ignore): New function.
4827 * vc/vc-hg.el (vc-hg-ignore): New function.
4829 * vc/vc-git.el (vc-git-ignore): New function.
4831 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4832 (vc-dir-ignore): New function.
4834 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4835 (cvs-append-to-ignore): Move here from pcvs.el.
4837 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4839 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4841 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4843 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4844 (desktop-restore-frames): Warn when deleting an existing frame failed.
4846 2013-07-24 Glenn Morris <rgm@gnu.org>
4848 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4850 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4852 * filenotify.el (file-notify-supported-p):
4853 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4856 * autorevert.el (auto-revert-use-notify):
4857 (auto-revert-notify-add-watch):
4858 * net/tramp.el (tramp-file-name-for-operation):
4859 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4860 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4861 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4862 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4863 Remove `file-notify-supported-p' entry.
4865 2013-07-24 Glenn Morris <rgm@gnu.org>
4867 * printing.el: Replace all uses of deleted ps-windows-system,
4868 ps-lp-system, ps-flatten-list with lpr- versions.
4870 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4872 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4873 checked with memq (bug#14935).
4875 * files.el (revert-buffer-function): Use a non-nil default.
4876 (revert-buffer-preserve-modes): Declare var to
4877 provide access to the `preserve-modes' argument.
4878 (revert-buffer): Let-bind it.
4879 (revert-buffer--default): New function, extracted from revert-buffer.
4881 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4883 * lpr.el: Signal print errors more prominently.
4884 (print-region-function): Don't default to nil.
4885 (lpr-print-region): New function, extracted from print-region-1.
4886 Check lpr's return value and signal an error in case of problem.
4887 (print-region-1): Use it.
4888 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4890 (ps-printer-name): Default to nil.
4891 (ps-printer-name-option): Default to lpr-printer-switch.
4892 (ps-print-region-function): Don't default to nil.
4893 (ps-postscript-code-directory): Simplify default.
4894 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4895 (ps-string-list, ps-eval-switch, ps-flatten-list)
4896 (ps-flatten-list-1): Remove.
4897 (ps-multibyte-buffer): Avoid setq.
4898 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4899 (print-region-function, ps-print-region-function): Don't set them here.
4901 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4903 * ido.el (ido-fractionp):
4904 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4905 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4906 (ido-max-directory-size, ido-max-dir-file-cache)
4907 (ido-decorations): Doc fix.
4909 * ansi-color.el: Fix old URL.
4911 2013-07-23 Michael R. Mauger <michael@mauger.com>
4913 * progmodes/sql.el: Version 3.3
4914 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4915 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4916 (sql-interactive-remove-continuation-prompt): Rewrite, use
4917 functions above. Fix continuation prompt and complete output line
4919 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4920 redirected output buffer.
4921 (sql-mode): Restore deleted code (Bug#13591).
4923 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4925 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4927 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4929 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4931 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4932 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4935 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4937 * desktop.el (desktop-clear): Simplify; remove useless checks
4938 against invalid buffer names.
4939 (desktop-list*): Use cl-list*.
4940 (desktop-buffer-info, desktop-create-buffer): Simplify.
4942 2013-07-23 Leo Liu <sdl.web@gmail.com>
4944 * bookmark.el (bookmark-make-record): Restore NAME as a default
4947 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4949 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4950 extracted from autoload--insert-text.
4951 (autoload--insert-text): Remove.
4952 (autoload--print-cookie-text): New function, extracted from
4953 autoload--insert-cookie-text.
4954 (autoload--insert-cookie-text): Remove.
4955 (autoload-generate-file-autoloads): Adjust calls accordingly.
4957 * winner.el (winner-hook-installed-p): Remove.
4958 (winner-mode): Simplify accordingly.
4960 * subr.el (add-to-list): Fix compiler-macro when `append' is
4961 not constant. Don't use `cl-member' for the base case.
4963 * progmodes/subword.el: Fix boundary case (bug#13758).
4964 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4966 (subword-backward-regexp): Make it a constant.
4967 (subword-forward-internal): Don't treat a trailing capital as the
4968 beginning of a word.
4970 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4972 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4973 global value of tabulated-list-revert-hook (bug#14930).
4975 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4977 * desktop.el: Require 'cl-lib.
4978 (desktop-before-saving-frames-functions): New hook.
4979 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4980 for frames being saved. Rename from desktop--save-minibuffer-frames.
4981 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4982 Do not save frames with non-nil `desktop-dont-save' parameter.
4983 Filter out deleted frames.
4984 (desktop--find-frame): Use cl-find-if.
4985 (desktop--select-frame): Use cl-(first|second|third) to access values
4987 (desktop--make-frame): Use cl-delete-if.
4988 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4989 (desktop-restore-frames): Use cl-(first|second|third) to access values
4990 of desktop-mini. Look for visible frame at the end, not while
4993 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4994 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4995 Use string-match-p, looking-at-p (bug#14927).
4997 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4999 * desktop.el (desktop-saved-frame-states):
5000 Rename from desktop--saved-states; all users changed.
5001 (desktop-save-frames): Rename from desktop--save-frames.
5002 Do not save state to desktop file.
5003 (desktop-save): Save desktop-saved-frame-states to desktop file
5005 (desktop-restoring-frames-p): New function.
5006 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5007 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5008 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5010 * desktop.el: Correctly restore iconified frames.
5011 (desktop--filter-iconified-position): New function.
5012 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5014 2013-07-20 Glenn Morris <rgm@gnu.org>
5016 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5017 Let `message' do the formatting.
5018 (def-gdb-preempt-display-buffer): Add explicit format.
5020 * image-dired.el (image-dired-track-original-file):
5021 Use with-current-buffer.
5022 (image-dired-track-thumbnail): Use with-current-buffer.
5023 Avoid changing point of wrong window.
5025 * image-dired.el (image-dired-track-original-file):
5026 Avoid changing point of wrong window. (Bug#14909)
5028 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5030 * progmodes/gdb-mi.el (gdb-done-or-error):
5031 Guard against "%" in gdb output. (Bug#14127)
5033 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5035 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5038 * international/mule.el (coding-system-iso-2022-flags): Fix last
5041 2013-07-20 Kenichi Handa <handa@gnu.org>
5043 * international/mule.el (coding-system-iso-2022-flags):
5044 Add `8-bit-level-4'. (Bug#8522)
5046 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5048 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5051 * net/eww.el (eww-process-text-input): Allow inputting when the
5052 point is at the start of the line, as the properties aren't
5055 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5058 2013-07-19 Richard Stallman <rms@gnu.org>
5060 * epa.el (epa-popup-info-window): Doc fix.
5062 * subr.el (split-string): New arg TRIM.
5064 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5066 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5067 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5069 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5071 * filenotify.el (file-notify--library): Rename from
5072 `file-notify-support'. Do not autoload. Adapt all uses.
5073 (file-notify-supported-p): New defun.
5075 * autorevert.el (auto-revert-use-notify):
5076 Use `file-notify-supported-p' instead of `file-notify-support'.
5078 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5080 * net/tramp.el (tramp-file-name-for-operation):
5081 Add `file-notify-supported-p'.
5083 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5085 (tramp-sh-file-name-handler-alist): Add it as handler for
5086 `file-notify-supported-p '.
5088 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5089 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5090 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5091 Add `ignore' as handler for `file-notify-*' functions.
5093 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5095 * simple.el (line-move-partial, line-move): Don't start vscroll or
5096 scroll-up if the current line is not taller than the window.
5099 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5101 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5102 highlight question marks in the method names as strings.
5103 (ruby-block-beg-keywords): Inline.
5104 (ruby-font-lock-keyword-beg-re): Extract from
5105 `ruby-font-lock-keywords'.
5107 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5109 * frame.el (blink-cursor-blinks): New defcustom.
5110 (blink-cursor-blinks-done): New defvar.
5111 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5112 (blink-cursor-timer-function): Check if number of blinks has been
5114 (blink-cursor-suspend, blink-cursor-check): New defuns.
5116 2013-07-15 Glenn Morris <rgm@gnu.org>
5118 * edmacro.el (edmacro-format-keys): Fix previous change.
5120 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5122 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5123 The hack didn't work outside English locales anyway.
5125 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5127 * simple.el (define-alternatives): Rename from alternatives-define,
5128 per RMS' suggestion.
5130 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5132 * desktop.el (desktop-restore-frames): Change default to t.
5133 (desktop-restore-in-current-display): Now offer more options.
5134 (desktop-restoring-reuses-frames): New customization option.
5135 (desktop--saved-states): Doc fix.
5136 (desktop-filter-parameters-alist): New variable, renamed and expanded
5137 from desktop--excluded-frame-parameters.
5138 (desktop--target-display): New variable.
5139 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5140 (desktop--filter-tty*, desktop--filter-*-color)
5141 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5142 (desktop--filter-save-desktop-parm)
5143 (desktop-restore-in-original-display-p): New functions.
5144 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5145 (desktop--save-minibuffer-frames): New function, inspired by a similar
5146 function from Martin Rudalics.
5147 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5148 (desktop--restore-in-this-display-p): Remove.
5149 (desktop--find-frame): Rename from desktop--find-frame-in-display
5150 and add predicate argument.
5151 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5152 (desktop--reuse-list): New variable.
5153 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5155 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5157 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5159 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5161 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5163 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5164 Highlight conversion methods on Kernel.
5166 2013-07-13 Alan Mackenzie <acm@muc.de>
5168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5169 and comment it out. This out-commenting enables certain C++
5170 declarations to be parsed correctly.
5172 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5174 * international/mule.el (define-coding-system): Doc fix.
5176 * simple.el (default-font-height): Don't call font-info if the
5177 frame's default font didn't change since the frame was created.
5180 2013-07-13 Leo Liu <sdl.web@gmail.com>
5182 * ido.el (ido-read-file-name): Guard against non-symbol value.
5184 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5186 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5189 2013-07-13 Leo Liu <sdl.web@gmail.com>
5191 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5192 ido-set-matches call. (Bug#6852)
5194 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5196 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5197 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5199 (ruby-font-lock-keywords): Distinguish calls to functions with
5200 module-like names from module references. Highlight character
5203 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5205 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5206 (gdb-send): Handle continued commands. (Bug#14847)
5208 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5210 * desktop.el (desktop--v2s): Remove unused local variable.
5211 (desktop-save-buffer): Make defvar-local; adjust docstring.
5212 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5213 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5215 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5217 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5219 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5221 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5224 2013-07-12 Glenn Morris <rgm@gnu.org>
5226 * doc-view.el: Require cl-lib at runtime too.
5227 (doc-view-remove-if): Remove.
5228 (doc-view-search-next-match, doc-view-search-previous-match):
5231 * edmacro.el: Require cl-lib at runtime too.
5232 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5233 (edmacro-mismatch, edmacro-subseq): Remove.
5235 * shadowfile.el: Require cl-lib.
5236 (shadow-remove-if): Remove.
5237 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5240 * wid-edit.el: Require cl-lib.
5241 (widget-choose): Use cl-remove-if.
5242 (widget-remove-if): Remove.
5244 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5245 (ebrowse-delete-if-not): Remove.
5246 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5247 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5248 Use cl-delete-if-not.
5250 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5252 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5253 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5255 2013-07-12 Leo Liu <sdl.web@gmail.com>
5257 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5259 2013-07-11 Glenn Morris <rgm@gnu.org>
5261 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5262 (edebug-gensym-index, edebug-gensym):
5263 Remove reimplementation of cl-gensym.
5264 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5266 * thumbs.el: Require cl-lib at run-time too.
5267 (thumbs-gensym-counter, thumbs-gensym):
5268 Remove reimplementation of cl-gensym.
5269 (thumbs-temp-file): Use cl-gensym.
5271 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5272 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5273 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5274 (ert--union, ert--gensym-counter, ert--gensym-counter)
5275 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5276 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5277 (ert-make-test-unbound, ert--expand-should-1)
5278 (ert--expand-should, ert--should-error-handle-error)
5279 (should-error, ert--explain-equal-rec)
5280 (ert--plist-difference-explanation, ert-select-tests)
5281 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5282 Use cl-lib functions rather than reimplementations.
5284 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5286 * net/tramp.el (tramp-methods): Extend docstring.
5287 (tramp-connection-timeout): New defcustom.
5288 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5289 (with-tramp-progress-reporter): Simplify.
5290 (tramp-process-actions): Improve messages.
5292 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5293 * net/tramp-sh.el (tramp-maybe-open-connection):
5294 Use `tramp-connection-timeout'.
5295 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5298 2013-07-11 Leo Liu <sdl.web@gmail.com>
5300 * ido.el (ido-read-file-name): Conform to the requirements of
5301 read-file-name. (Bug#11861)
5302 (ido-read-directory-name): Conform to the requirements of
5303 read-directory-name.
5305 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5307 * subr.el (delay-warning): New function.
5309 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5311 * simple.el (default-line-height): New function.
5312 (line-move-partial, line-move): Use it instead of computing the
5314 (line-move-partial): Always compute ROWH. If the last line is
5315 partially-visible, but its text is completely visible, allow
5316 cursor to enter such a partially-visible line.
5318 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5320 Improve error messages. (Bug#14808)
5322 * net/tramp.el (tramp-current-connection): New defvar, moved from
5324 (tramp-message-show-progress-reporter-message): Remove, not
5326 (tramp-error-with-buffer): Show message in minibuffer.
5327 Discard input before waiting. Reset connection timestamp.
5328 (with-tramp-progress-reporter): Improve messages.
5329 (tramp-process-actions): Use progress reporter. Delete process in
5330 case of error. Improve messages.
5332 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5333 Call `tramp-error-with-buffer' with vector and buffer.
5334 (tramp-current-connection): Remove.
5335 (tramp-maybe-open-connection): The car of
5336 `tramp-current-connection' are the first 3 slots of the vector.
5338 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5340 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5341 inside continued strings.
5343 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5345 Timestamp fixes for undo (Bug#14824).
5346 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5348 2013-07-10 Leo Liu <sdl.web@gmail.com>
5350 * files.el (require-final-newline): Allow safe local value.
5353 2013-07-09 Leo Liu <sdl.web@gmail.com>
5355 * ido.el (ido-read-directory-name): Handle fallback.
5356 (ido-read-file-name): Update DIR to ido-current-directory.
5358 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5360 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5363 "autoload". Remove "warn lower camel case" section, previously
5364 commented out. Highlight negation char. Do not highlight the
5365 target in singleton method definitions.
5367 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * faces.el (tty-setup-hook): Declare the hook.
5371 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5372 and detect when a guard/pred depends on local vars (bug#14773).
5373 (pcase--u1): Adjust caller.
5375 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5377 * simple.el (line-move-partial, line-move): Account for
5379 (line-move-partial): Avoid setting vscroll when the last
5380 partially-visible line in window is of default height.
5382 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5384 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5387 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5389 * subr.el (read-quoted-char): Remove unused local variable `char'.
5391 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5393 * ediff.el (ediff-version): Version update.
5394 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5395 (ediff-merge-with-ancestor-command, ediff-directories-command)
5396 (ediff-directories3-command, ediff-merge-directories-command)
5397 (ediff-merge-directories-with-ancestor-command): New functions.
5398 All are command-line interfaces to ediff: to facilitate calling
5399 Emacs with the appropriate ediff functions invoked.
5401 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5402 (viper-save-kill-buffer): Check if buffer is modified.
5404 * viper.el (viper-version): Version update.
5405 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5407 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5409 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5410 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5411 (viper-intercept-ESC-key): Simplify.
5412 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5413 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5414 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5415 (viper-setup-ESC-to-escape): New functions.
5416 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5417 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5419 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5421 * simple.el (default-font-height, window-screen-lines):
5423 (line-move, line-move-partial): Use them instead of
5424 frame-char-height and window-text-height. This makes scrolling
5425 text smoother when the buffer's default face uses a font that is
5426 different from the frame's default font.
5428 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5430 * files.el (write-file): Do not display confirm dialog for NS,
5431 it does its own dialog, which can't be cancelled (Bug#14578).
5433 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5435 * simple.el (line-move-partial): Adjust the row returned by
5436 posn-at-point for the current window-vscroll. (Bug#14567)
5438 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5440 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5441 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5444 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5446 * window.el (window-state-put-stale-windows): New variable.
5447 (window--state-put-2): Save list of windows without matching buffer.
5448 (window-state-put): Remove "bufferless" windows if possible.
5450 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5452 * simple.el (alternatives-define): Remove leftover :group keyword.
5455 2013-07-06 Leo Liu <sdl.web@gmail.com>
5457 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5458 (ido-enable-virtual-buffers): New variable.
5459 (ido-buffer-internal, ido-toggle-virtual-buffers)
5460 (ido-make-buffer-list): Use it.
5461 (ido-exhibit): Support turning on and off virtual buffers
5464 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5466 * simple.el (alternatives-define): New macro.
5468 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5470 * subr.el (read-quoted-char): Use read-key.
5471 (sit-for): Let read-event decode tty input (bug#14782).
5473 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5475 * calendar/todo-mode.el: Add handling of file deletion, both by
5476 mode command and externally. Fix various related bugs.
5477 Clarify Commentary and improve some documentation strings and code.
5478 (todo-delete-file): New command.
5479 (todo-check-file): New function.
5480 (todo-show): Handle external deletion of the file we're trying to
5481 show (bug#14688). Replace called-interactively-p by an optional
5482 prefix argument to avoid problematic interaction with catch form
5483 when byte compiled (bug#14702).
5484 (todo-quit): Handle external deletion of the archive's todo file.
5485 Make sure the buffer that was visiting the archive file is still
5486 live before trying to bury it.
5487 (todo-category-completions): Handle external deletion of any
5488 category completion files.
5489 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5490 of todo files, in case of external deletion.
5491 (todo-add-file): Replace unnecessary setq by let-binding.
5492 (todo-find-archive): Check whether there are any archives.
5493 Replace unnecessary setq by let-binding.
5494 (todo-archive-done-item): Use find-file-noselect to get the
5495 archive buffer whether or not the archive already exists.
5496 Remove superfluous code. Use file size instead of buffer-file-name to
5497 check if the archive is new; if it is, update list of archives.
5498 (todo-default-todo-file): Allow nil to be a valid value for when
5499 there are no todo files.
5500 (todo-reevaluate-default-file-defcustom): Use corrected definition
5501 of todo-default-todo-file.
5502 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5503 (todo-delete-category, todo-show-categories-table)
5504 (todo-category-number): Clarify comment.
5505 (todo-filter-items): Clarify documentation string.
5506 (todo-show-current-file, todo-display-as-todo-file)
5507 (todo-reset-and-enable-done-separator): Tweak documentation string.
5508 (todo-done-separator): Make separator length window-width, since
5509 bug#2749 is now fixed.
5511 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5513 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5514 Support both "gvfs-monitor-dir" and "inotifywait".
5515 (tramp-sh-file-inotifywait-process-filter): Rename from
5516 `tramp-sh-file-notify-process-filter'.
5517 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5518 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5520 2013-07-05 Leo Liu <sdl.web@gmail.com>
5522 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5524 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5526 * frame.el (display-pixel-height, display-pixel-width)
5527 (display-mm-height, display-mm-width): Mention behavior on
5528 multi-monitor setups in docstrings.
5529 (w32-display-monitor-attributes-list): Declare function.
5530 (display-monitor-attributes-list): Use it.
5532 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5534 * filenotify.el: New package.
5536 * autorevert.el (top): Require filenotify.el.
5537 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5539 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5540 (auto-revert-notify-handler): Use `file-notify-*' functions.
5542 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5544 * net/tramp.el (tramp-file-name-for-operation):
5545 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5547 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5548 for `file-notify-add-watch' and `file-notify-rm-watch'.
5549 (tramp-process-sentinel): Improve trace.
5550 (tramp-sh-handle-file-notify-add-watch)
5551 (tramp-sh-file-notify-process-filter)
5552 (tramp-sh-handle-file-notify-rm-watch)
5553 (tramp-get-remote-inotifywait): New defuns.
5555 2013-07-03 Juri Linkov <juri@jurta.org>
5557 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5558 call of `occur-read-primary-args' to interactive spec.
5560 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5561 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5563 2013-07-03 Matthias Meulien <orontee@gmail.com>
5565 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5566 `Buffer-menu-multi-occur'. Add it to the menu.
5567 (Buffer-menu-mode): Document it in docstring.
5568 (Buffer-menu-multi-occur): New command. (Bug#14673)
5570 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5572 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5573 keywords and built-ins.
5575 2013-07-03 Glenn Morris <rgm@gnu.org>
5577 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5579 Make info-xref checks case-sensitive by default
5580 * info.el (Info-find-node, Info-find-in-tag-table)
5581 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5582 Add option for exact case matching of nodes.
5583 * info-xref.el (info-xref): New custom group.
5584 (info-xref-case-fold): New option.
5585 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5587 2013-07-03 Leo Liu <sdl.web@gmail.com>
5589 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5591 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5593 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5594 middle of block statement initially, lower the depth. Remove
5595 FIXME comment, not longer valid. Remove middle of block statement
5596 detection, no need to do that anymore since we've been using
5597 `ruby-parse-region' here.
5599 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5601 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5603 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5605 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5607 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5609 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5610 (desktop-restore-in-current-display): New customization option.
5611 (desktop--excluded-frame-parameters): Add `font'.
5612 (desktop--save-frames): Rename from desktop--save-windows.
5613 (desktop--restore-in-this-display-p): New function.
5614 (desktop--make-full-frame): Remove unwanted width/height from
5615 full(width|height) frames.
5616 (desktop--restore-frames): Rename from desktop--restore-windows.
5617 Obey desktop-restore-current-display. Do not delete old frames or
5618 select a new frame unless we were able to restore at least one frame.
5620 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5622 * files.el (find-file-noselect): Simplify conditional expression.
5624 * remember.el (remember-append-to-file):
5625 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5627 Add `remember-notes' function to store random notes across Emacs
5629 * remember.el (remember-data-file): Add :set callback to affect
5630 notes buffer (if any).
5631 (remember-notes): New command.
5632 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5633 New defcustoms for the `remember-notes' function.
5634 (remember-notes-save-and-bury-buffer): New command.
5635 (remember-notes-mode-map): New variable.
5636 (remember-mode): New minor mode.
5637 (remember-notes--kill-buffer-query): New function.
5638 * startup.el (initial-buffer-choice): Add notes to custom type.
5640 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5642 * bindings.el (right-char, left-char): Don't call sit-for, this is
5643 no longer needed. Use arithmetic comparison only for numerical
5646 * international/mule-cmds.el (select-safe-coding-system):
5647 Handle the case of FROM being a string correctly. (Bug#14755)
5649 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5651 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5652 progression on degenerate tables.
5653 (shr-rescale-image): ImageMagick animated images currently don't work.
5655 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5657 Some fixes and improvements for desktop frame restoration.
5658 It is still experimental and disabled by default.
5659 * desktop.el (desktop--save-windows): Put the selected frame at
5660 the head of the list.
5661 (desktop--make-full-frame): New function.
5662 (desktop--restore-windows): Try to re-select the frame that was
5663 selected upon saving. Do not abort if some frames fail to restore,
5664 just show an error message and continue. Set up maximized frames
5665 so they have default non-maximized dimensions.
5667 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5669 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5670 Don't start heredoc inside a string or comment.
5672 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5674 * bindings.el (visual-order-cursor-movement): New defcustom.
5675 (right-char, left-char): Provide visual-order cursor motion by
5676 calling move-point-visually. Update the doc strings.
5678 2013-06-28 Kenichi Handa <handa@gnu.org>
5680 * international/mule.el (define-coding-system): New coding system
5681 properties :inhibit-null-byte-detection,
5682 :inhibit-iso-escape-detection, and :prefer-utf-8.
5683 (set-buffer-file-coding-system): If :charset-list property of
5684 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5685 appropriate for setting.
5687 * international/mule-cmds.el (select-safe-coding-system):
5688 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5689 multibyte characters, return utf-8 (or one of its siblings).
5691 * international/mule-conf.el (prefer-utf-8): New coding system.
5692 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5695 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5697 * net/shr.el (shr-render-region): New function.
5699 * net/eww.el: Autoload `eww-browse-url'.
5701 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5703 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5704 Adapt to `package-desc-version' being a list.
5705 Use `package--ac-desc-version' to retrieve version from a package
5708 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5710 New experimental feature to save&restore window and frame setup.
5711 * desktop.el (desktop-save-windows): New defcustom.
5712 (desktop--saved-states): New var.
5713 (desktop--excluded-frame-parameters): New defconst.
5714 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5715 (desktop--restore-windows, desktop--save-windows): New functions.
5716 (desktop-save): Call `desktop--save-windows'.
5717 (desktop-read): Call `desktop--restore-windows'.
5719 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5721 * net/shr.el (add-face-text-property): Remove compat definition.
5723 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5725 * info.el (Info-try-follow-nearest-node): Move search for footnote
5726 above search for node name to prevent missing a footnote (bug#14717).
5728 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5730 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5732 2013-06-27 Leo Liu <sdl.web@gmail.com>
5734 * net/eww.el (eww-read-bookmarks): Check file size.
5736 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5738 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5739 advice--pending if newdef is nil or an autoload (bug#13820).
5740 (advice-mapc): New function.
5742 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5744 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5746 (eww-mode-map): Add a menu bar.
5747 (eww-add-bookmark): New command.
5748 (eww-bookmark-mode): New mode and commands.
5749 (eww-add-bookmark): Remove newlines from the title.
5750 (eww-bookmark-browse): Don't bug out if it's the only window.
5752 2013-06-26 Glenn Morris <rgm@gnu.org>
5754 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5755 (hfy-size): Handle ttys. (Bug#14668)
5757 * info-xref.el: Update for Texinfo 5 change in *note format.
5758 (info-xref-node-re, info-xref-note-re): New constants.
5759 (info-xref-check-buffer): Use info-xref-note-re.
5761 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5763 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5765 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5766 nil terminate the loop (bug#14718).
5768 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5770 * net/eww.el: Rework history traversal. When going forward/back,
5771 put these actions into the history, too, so that they can be
5773 (eww-render): Move the history reset to the correct buffer.
5775 2013-06-25 Juri Linkov <juri@jurta.org>
5777 * files-x.el (modify-dir-local-variable): Change the header comment
5778 in the file with directory local variables. (Bug#14692)
5780 * files-x.el (read-file-local-variable-value): Add `default'.
5783 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5785 * net/eww.el (eww-make-unique-file-name): Create a unique file
5786 name before saving to entering `y' accidentally asynchronously.
5788 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5790 * net/eww.el (eww-download): New command and keystroke.
5792 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5794 * net/eww.el (eww-copy-page-url): Change name of command.
5796 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5797 be more consistent with Info and dired.
5799 * net/eww.el (eww-mode-map): Ditto.
5801 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5803 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5804 packages from archives.
5805 (package-archive-contents): Change format; include obsolete packages.
5806 (package-desc): Use `dir' to mark builtin packages.
5807 (package--from-builtin): Set the `dir' field to `builtin'.
5808 (generated-autoload-file, version-control): Declare.
5809 (package-compute-transaction): Change first arg and return value to be
5810 lists of package-descs. Adjust to new package-archive-contents format.
5811 (package--add-to-archive-contents): Adjust to new
5812 package-archive-contents format.
5813 (package-download-transaction): Arg is now a list of package-descs.
5814 (package-install): If `pkg' is a package name, pass it as
5815 a requirement, so it is subject to the usual (e.g. disabled) checks.
5816 (describe-package): Accept package-desc as well.
5817 (describe-package-1): Describe a specific package-desc. Add links to
5818 other package-descs for the same package name.
5819 (package-menu-describe-package): Pass the actual package-desc.
5820 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5822 (package-desc-status): New function.
5823 (package-menu--refresh): New function, extracted
5824 from package-menu--generate.
5825 (package-menu--generate): Use it.
5826 (package-delete): Update package-alist.
5827 (package-menu-execute): Don't call package-initialize.
5829 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5830 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5831 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5832 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5833 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5834 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5836 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5838 * window.el (window--state-get-1): Workaround for bug#14527.
5839 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5841 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5843 * net/eww.el (eww-back-url): Implement the history by stashing all
5844 the data into a list.
5845 (eww-forward-url): Allow going forward in the history, too.
5847 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5849 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5850 for values and use read--expression for expressions (bug#14710).
5851 (read-file-local-variable): Avoid setq.
5852 (read-file-local-variable-mode): Use minor-mode-list.
5854 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5856 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5859 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5861 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5862 Update imenu-support when dialect changes.
5864 2013-06-25 Leo Liu <sdl.web@gmail.com>
5866 * ido.el (ido-read-internal): Allow forward slash on windows.
5868 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5870 * net/eww.el (eww): Start of strings is \\`, not ^.
5872 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5874 * net/shr.el (shr-browse-url): Fix interactive spec.
5876 * net/eww.el (eww): Add a trailing slash to domain names.
5878 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5880 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5882 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5884 * net/shr.el (shr-browse-url): Use an external browser if given a
5887 * net/eww.el (eww-external-browser): Move to shr.
5889 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5891 * net/eww.el (eww): Work more correctly for file: URLs.
5892 (eww-detect-charset): Allow quoted charsets.
5893 (eww-yank-page-url): New command and keystroke.
5895 2013-06-24 Daiki Ueno <ueno@gnu.org>
5897 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5898 file name of gpg executable.
5899 (epg-context-program): New function.
5900 (epg-context-home-directory): New function.
5901 (epg-context-set-program): New function.
5902 (epg-context-set-home-directory): New function.
5903 (epg--start): Use `epg-context-program' instead of
5905 (epg--list-keys-1): Likewise.
5907 2013-06-24 Leo Liu <sdl.web@gmail.com>
5909 * ido.el (ido-read-internal): Fix bug#14620.
5911 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5913 * faces.el (face-documentation): Simplify.
5914 (read-face-attribute, tty-find-type, x-resolve-font-name):
5915 Use `string-match-p'.
5916 (list-faces-display): Use `string-match-p'. Simplify.
5917 (face-spec-recalc): Check face to avoid face alias loops.
5918 (read-color): Use `string-match-p' and non-capturing parenthesis.
5920 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5922 * net/shr.el (shr-rescale-image): Use the new
5923 :max-width/:max-height functionality.
5925 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5927 * net/eww.el (eww-search-prefix): New variable.
5929 (eww-external-browser): New variable.
5930 (eww-mode-map): New keystroke.
5931 (eww-browse-with-external-browser): New command.
5933 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5935 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5937 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5938 Don't skip aligning the next header field when padding is 0;
5939 otherwise, field width is not respected unless the title is as
5942 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5944 * emacs-lisp/package.el (package-el-version): Remove.
5945 (package-process-define-package): Fix inf-loop.
5946 (package-install): Allow symbols as arguments again.
5948 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5950 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5951 add some more keyword-like methods.
5952 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5954 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5956 * bs.el (bs-buffer-show-mark): Make defvar-local.
5957 (bs-mode): Use setq-local.
5959 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5960 (emacs-lock--try-unlocking): Make defvar-local.
5962 2013-06-22 Glenn Morris <rgm@gnu.org>
5964 * play/cookie1.el (cookie-apropos): Minor simplification.
5966 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5968 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5970 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5971 `regexp-opt', it breaks the build during dumping.
5973 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5975 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5976 Highlight keyword-like methods on Kernel and Module with
5977 font-lock-builtin-face.
5978 (auto-mode-alist): Consolidate different entries into one regexp
5979 and add more *file-s.
5981 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5983 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5985 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5986 (diary-entry): Use it in the action of this button type instead of
5989 * calendar/todo-mode.el: New version.
5990 (todo-add-category): Append new category to end of file and give
5991 it the highest number, instead of putting it at the beginning and
5992 giving it 0. Incorporate noninteractive functionality.
5993 (todo-forward-category): Adapt to 1-based category numbering.
5994 Allow skipping over archived categories.
5995 (todo-backward-category): Derive from todo-forward-category.
5996 (todo-backward-item, todo-forward-item): Make noninteractive and
5997 delegate interactive part to new commands. Make sensitive to done items.
5998 (todo-categories): Make value an alist of category names and
5999 vectors of item counts.
6000 (todo-category-beg): Make a defconst.
6001 (todo-category-number): Use 1 instead of 0 as initial value.
6002 (todo-category-select): Make sensitive to overlays, optional item
6003 highlighting and done items.
6004 (todo-delete-item): Make sensitive to overlays and marked and done items.
6005 (todo-edit-item): Make sensitive to overlays and editing of
6006 date/time header optional. Add format checks.
6007 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6008 no-op if point is not on an item. Advertise using todo-edit-quit.
6009 (todo-edit-mode): Make sensitive to new format, font-locking, and
6010 multiple todo files.
6011 (todo-insert-item, todo-insert-item-here): Derive from
6012 todo-basic-insert-item and extend functionality.
6013 (todo-item-end, todo-item-start): Make sensitive to done items.
6014 (todo-item-string): Don't return text properties. Restore point.
6015 (todo-jump-to-category): Make sensitive to multiple todo files and
6016 todo archives. Use extended category completion.
6017 (todo-lower-item, todo-raise-item): Rename to *-priority and
6018 derive from todo-set-item-priority.
6019 (todo-mode): Derive from special-mode. Make sensitive to new
6020 format, font-locking and multiple todo files. Make read-only.
6021 (todo-mode-map): Don't suppress digit keys, so they can supply
6022 prefix arguments. Add many new key bindings.
6023 (todo-prefix): Insert as an overlay instead of file text.
6024 Change semantics from diary date expression to purely visual mark.
6025 (todo-print): Rename to todo-print-buffer. Make buffer display
6026 features printable. Remove option to restrict number of items
6027 printed. Add option to print to file.
6028 (todo-print-function): Rename to todo-print-buffer-function.
6029 (todo-quit): Extend to handle exiting new todo modes.
6030 (todo-remove-item): Make sensitive to overlays.
6031 (todo-save): Extend to buffers of filtered items.
6032 (todo-show): Make sensitive to done items, multiple todo files and
6033 new todo modes. Offer to convert legacy todo file before creating
6034 first new todo file.
6035 (todo-show-priorities): Rename to todo-top-priorities.
6036 Change semantics of value 0.
6037 (todo-top-priorities): Rename to todo-filter-top-priorities,
6038 derive from todo-filter-items and extend functionality.
6039 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6040 and extend functionality to other types of filtered items.
6041 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6042 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6043 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6044 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6045 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6046 (todo-edit-mode-hook, todo-entry-prefix-function)
6047 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6048 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6049 (todo-initials, todo-insert-threshold, todo-item-string-start)
6050 (todo-line-string, todo-menu, todo-mode-hook)
6051 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6052 (todo-print-priorities, todo-remove-separator)
6053 (todo-save-top-priorities-too, todo-string-count-lines)
6054 (todo-string-multiline-p, todo-time-string-format)
6055 (todo-tmp-buffer-name): Remove.
6056 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6057 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6058 (todo-edit-category-diary-inclusion)
6059 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6060 (todo-edit-file, todo-edit-item-date-day)
6061 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6062 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6063 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6064 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6065 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6066 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6067 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6068 (todo-filter-top-priorities-multifile, todo-find-archive)
6069 (todo-find-filtered-items-file, todo-go-to-source-item)
6070 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6071 (todo-jump-to-archive-category, todo-lower-category)
6072 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6073 (todo-move-category, todo-move-item, todo-next-button)
6074 (todo-next-item, todo-padded-string, todo-powerset)
6075 (todo-previous-button, todo-previous-item)
6076 (todo-print-buffer-to-file, todo-raise-category)
6077 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6078 (todo-set-category-number, todo-set-item-priority)
6079 (todo-set-top-priorities-in-category)
6080 (todo-set-top-priorities-in-file, todo-show-categories-table)
6081 (todo-sort-categories-alphabetically-or-numerically)
6082 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6083 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6084 (todo-toggle-item-header, todo-toggle-item-highlighting)
6085 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6086 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6087 (todo-unarchive-items, todo-unmark-category): New commands.
6088 (todo-absolute-file-name, todo-add-to-buffer-list)
6089 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6090 (todo-basic-insert-item, todo-category-completions)
6091 (todo-category-number, todo-category-string-matcher-1)
6092 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6093 (todo-check-format, todo-clear-matches)
6094 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6095 (todo-current-category, todo-date-string-matcher)
6096 (todo-define-insertion-command, todo-diary-expired-matcher)
6097 (todo-diary-goto-entry, todo-diary-item-p)
6098 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6099 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6100 (todo-done-item-section-p, todo-done-separator)
6101 (todo-done-string-matcher, todo-files, todo-filter-items)
6102 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6103 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6104 (todo-insert-category-line, todo-insert-item-from-calendar)
6105 (todo-insert-sort-button, todo-insert-with-overlays)
6106 (todo-insertion-command-name, todo-insertion-key-bindings)
6107 (todo-label-to-key, todo-longest-category-name-length)
6108 (todo-make-categories-list, todo-mode-external-set)
6109 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6110 (todo-modes-set-3, todo-multiple-filter-files)
6111 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6112 (todo-read-category, todo-read-date, todo-read-dayname)
6113 (todo-read-file-name, todo-read-time)
6114 (todo-reevaluate-category-completions-files-defcustom)
6115 (todo-reevaluate-default-file-defcustom)
6116 (todo-reevaluate-filelist-defcustoms)
6117 (todo-reevaluate-filter-files-defcustom)
6118 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6119 (todo-reset-done-separator, todo-reset-done-separator-string)
6120 (todo-reset-done-string, todo-reset-global-current-todo-file)
6121 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6122 (todo-reset-prefix, todo-set-categories)
6123 (todo-set-date-from-calendar, todo-set-show-current-file)
6124 (todo-set-top-priorities, todo-short-file-name)
6125 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6126 (todo-total-item-counts, todo-update-buffer-list)
6127 (todo-update-categories-display, todo-update-categories-sexp)
6128 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6130 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6132 (todo-categories, todo-display, todo-edit, todo-faces)
6133 (todo-filtered): New defgroups.
6134 (todo-archived-only, todo-button, todo-category-string, todo-date)
6135 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6136 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6137 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6138 (todo-add-item-if-new-category, todo-always-add-time-string)
6139 (todo-categories-align, todo-categories-archived-label)
6140 (todo-categories-category-label, todo-categories-diary-label)
6141 (todo-categories-done-label, todo-categories-number-separator)
6142 (todo-categories-todo-label, todo-categories-totals-label)
6143 (todo-category-completions-files, todo-completion-ignore-case)
6144 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6145 (todo-done-separator-string, todo-done-string)
6146 (todo-files-function, todo-filter-done-items, todo-filter-files)
6147 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6148 (todo-initial-category, todo-initial-file, todo-item-mark)
6149 (todo-legacy-date-time-regexp, todo-mode-line-function)
6150 (todo-nondiary-marker, todo-number-prefix)
6151 (todo-print-buffer-function, todo-show-current-file)
6152 (todo-show-done-only, todo-show-first, todo-show-with-done)
6153 (todo-skip-archived-categories, todo-top-priorities-overrides)
6154 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6155 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6157 (todo-category-done, todo-date-pattern, todo-date-string-start)
6158 (todo-diary-items-buffer, todo-done-string-start)
6159 (todo-filtered-items-buffer, todo-item-start)
6160 (todo-month-abbrev-array, todo-month-name-array)
6161 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6162 (todo-top-priorities-buffer): New defconsts.
6163 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6164 (todo-categories-with-marks, todo-category-string-face)
6165 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6166 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6167 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6168 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6169 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6170 (todo-font-lock-keywords, todo-global-current-todo-file)
6171 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6172 (todo-insertion-commands-args)
6173 (todo-insertion-commands-args-genlist)
6174 (todo-insertion-commands-names, todo-insertion-map)
6175 (todo-key-bindings-t, todo-key-bindings-t+a)
6176 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6177 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6178 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6179 (todo-visited): New variables.
6181 2013-06-21 Glenn Morris <rgm@gnu.org>
6183 * play/cookie1.el (cookie-apropos): Add optional display argument.
6184 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6185 (psychoanalyze-pinhead): Use cookie-doctor.
6187 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6189 * emacs-lisp/package.el (tar-get-file-descriptor)
6190 (tar--extract): Declare.
6192 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6194 Extend flymake's warning predicate to be a function (bug#14217).
6195 * progmodes/flymake.el (flymake-warning-predicate): New.
6196 (flymake-parse-line): Use it.
6197 (flymake-warning-re): Make obsolete alias to
6198 `flymake-warning-predicate'.
6200 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6202 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6203 (package-obsolete-list): Remove.
6204 (package-activate): Remove min-version argument. Add `force' argument.
6205 Adjust to new package-alist format.
6206 (package-mark-obsolete): Remove.
6207 (package-unpack): Force reload of the package's autoloads.
6208 (package-installed-p): Check builtins if the installed package is not
6210 (package-initialize): Don't reset package-obsolete-list.
6211 Don't specify which package version to activate.
6212 (package-process-define-package, describe-package-1)
6213 (package-menu--generate): Adjust to new package-alist format.
6215 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6217 * allout-widgets.el (allout-widgets-mode-off)
6218 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6219 (allout-widgets-post-command-business)
6220 (allout-widgets-after-copy-or-kill-function)
6221 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6222 (allout-decorate-item-and-context)
6223 (allout-graphics-modification-handler): Fix typos in docstrings.
6224 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6226 * cmuscheme.el (scheme-start-file): Doc fix.
6227 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6228 (scheme-input-filter): Use `string-match-p'.
6230 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6232 * dired-x.el: Use Dired consistently in docstrings.
6234 * dired.el: Use Dired consistently in docstrings.
6235 (dired-readin, dired-mode): Use `setq-local'.
6236 (dired-switches-alist): Make defvar-local.
6237 (dired-buffers-for-dir): Use `zerop'.
6238 (dired-safe-switches-p, dired-switches-escape-p)
6239 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6240 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6241 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6242 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6243 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6244 (dired-toggle-marks, dired-mark-files-containing-regexp)
6245 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6246 (dired-flag-auto-save-files, dired-flag-backup-files):
6248 (dired-mark-files-regexp, dired-build-subdir-alist):
6249 Use `string-match-p', `looking-at-p'.
6251 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6252 (direct-print-region-helper): Use `string-match-p'.
6254 2013-06-21 Leo Liu <sdl.web@gmail.com>
6256 * comint.el (comint-redirect-results-list-from-process):
6259 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6261 * net/eww.el (eww-update-header-line-format): Quote % characters.
6263 2013-06-21 Glenn Morris <rgm@gnu.org>
6265 * play/cookie1.el (cookie): New custom group.
6266 (cookie-file): New option.
6267 (cookie-check-file): New function.
6268 (cookie): Make it interactive. Make start and end messages optional.
6269 Interactively, display the result. Default to cookie-file.
6270 (cookie-insert): Default to cookie-file.
6271 (cookie-snarf): Make start and end messages optional.
6272 Default to cookie-file. Use with-temp-buffer.
6273 (cookie-read): Rename from read-cookie.
6274 Make start and end messages optional. Default to cookie-file.
6275 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6277 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6278 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6280 2013-06-21 Leo Liu <sdl.web@gmail.com>
6282 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6284 2013-06-21 Glenn Morris <rgm@gnu.org>
6286 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6288 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6289 Daniel Hackney <dan@haxney.org>
6291 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6292 Consolidate the single-file vs tarball code.
6293 (package-desc-suffix): New function.
6294 (package-desc-full-name): Don't bother inlining it.
6295 (package-load-descriptor): Return the new package-desc.
6296 (package-mark-obsolete): Remove unused arg `package'.
6297 (package-unpack): Make it work for single files as well.
6298 Make it update package-alist.
6299 (package--make-autoloads-and-stuff): Rename from
6300 package--make-autoloads-and-compile. Don't compile any more.
6301 (package--compile): New function.
6302 (package-generate-description-file): New function, extracted from
6303 package-unpack-single.
6304 (package-unpack-single): Remove.
6305 (package--with-work-buffer): Add indentation and debugging info.
6306 (package-download-single): Remove.
6307 (package-install-from-archive): Rename from package-download-tar, make
6308 it take a pkg-desc, and make it work for single files as well.
6309 (package-download-transaction): Simplify.
6310 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6311 external tar program.
6312 (package-install-from-buffer): Remove `pkg-desc' argument.
6313 Use package-tar-file-info for tar-mode buffers.
6314 (package-install-file): Simplify accordingly.
6315 (package-archive-base): Change to take a pkg-desc.
6316 * tar-mode.el (tar--check-descriptor): New function, extracted from
6318 (tar-get-descriptor): Use it.
6319 (tar-get-file-descriptor): New function.
6320 (tar--extract): New function, extracted from tar-extract.
6321 (tar--extract): Use it.
6322 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6323 case the summary uses non-ascii. Adjust to new calling convention of
6324 package-tar-file-info.
6326 2013-06-21 Leo Liu <sdl.web@gmail.com>
6328 * comint.el (comint-redirect-results-list-from-process):
6329 Fix random delay. (Bug#14681)
6331 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6333 * profiler.el (profiler-format-number): Use log, not log10.
6335 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6337 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6339 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6342 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6344 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6345 (AUTOGENEL): ... here.
6346 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6347 (cl--defsubst-expand): Use it.
6349 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6351 * subr.el (log10): Move here from C code, and declare as obsolete.
6352 All uses of (log10 X) replaced with (log X 10).
6354 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6356 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6357 Declare with `defvar-local'.
6358 (tabulated-list-use-header-line, tabulated-list-entries)
6359 (tabulated-list-padding, tabulated-list-printer)
6360 (tabulated-list-sort-key): Declare with `defvar-local'.
6361 (tabulated-list-init-header, tabulated-list-print-fake-header):
6364 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6366 * arc-mode.el (archive-mode): Add `archive-write-file' to
6367 `write-contents-functions' also for remote files. (Bug#14652)
6369 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6371 * cus-edit.el (custom-commands): Fix typos.
6372 (custom-display): Fix tooltip text.
6373 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6374 Fix typos in docstrings.
6375 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6376 (custom-unlispify-menu-entry, custom-magic-value-create)
6377 (custom-add-see-also, custom-group-value-create): Use ?\s.
6378 (custom-guess-type, customize-apropos, editable-field)
6379 (custom-face-value-create): Use `string-match-p'.
6380 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6382 * custom.el (custom-load-symbol): Use `string-match-p'.
6384 * ansi-color.el: Convert to lexical binding.
6385 (ansi-colors): Fix URL.
6386 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6387 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6388 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6390 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6392 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6394 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6396 2013-06-19 Tom Tromey <tromey@redhat.com>
6398 * net/eww.el (eww-top-url): Remove.
6399 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6400 (eww-render): Set new variables. Don't set eww-top-url.
6401 (eww-handle-link): Handle "prev", "home", and "contents".
6402 Downcase the rel text.
6403 (eww-top-url): Choose best top URL.
6405 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6407 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6408 relying in widget.el. Using widget.el leads to too many
6409 user interface inconsistencies.
6410 (eww-self-insert): Implement entering commands in text fields.
6411 (eww-process-text-input): New function to make text input field editing
6413 (eww-submit): Rewrite to use the new-style form methods.
6414 (eww-select-display): Display the correct selected item.
6415 (eww-change-select): Implement changing the select value.
6416 (eww-toggle-checkbox): Implement radio/checkboxes.
6417 (eww-update-field): Fix compilation error.
6418 (eww-tag-textarea): Implement <textarea>.
6420 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6421 we don't shadow mode-specific bindings.
6423 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6426 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6428 2013-06-19 Glenn Morris <rgm@gnu.org>
6430 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6432 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6434 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6437 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6439 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6441 * net/browse-url.el (browse-url-browser-function):
6442 `eww-browse-url' has the right calling signature, `eww' does not.
6444 2013-06-19 Glenn Morris <rgm@gnu.org>
6446 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6447 Only eval autoloaded macros.
6448 (byte-compile-autoload): Only give the macro warning for macros.
6450 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6451 (ps-underlined-faces): Declare.
6453 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6454 (speedbar-add-supported-extension): Declare.
6456 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6457 Don't include a date stamp in the header of the generated file;
6458 it leads to needless differences between output files.
6460 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6462 * net/secrets.el (secrets-struct-secret-content-type):
6463 Replace check of introspection data by a test call of "CreateItem".
6464 Some servers do not offer introspection.
6466 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * electric.el (electric-pair-mode): Improve interaction with
6469 electric-layout-mode.
6470 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6471 (electric-pair-syntax): Use text-mode-syntax-table in comments
6473 (electric-pair--insert): New function.
6474 (electric-pair-post-self-insert-function): Use it and
6475 electric--after-char-pos.
6477 2013-06-19 Leo Liu <sdl.web@gmail.com>
6479 * progmodes/octave.el (octave-help): Fix regexp.
6481 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6483 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6484 (shr-table-horizontal-line): Allow nil as a value, and change the
6486 (shr-insert-table-ruler): Respect the nil value.
6488 2013-06-18 Tom Tromey <tromey@barimba>
6490 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6492 (eww-open-file): New defun.
6493 (eww-render): Initialize new variables.
6494 (eww-display-html): Handle "link" and "a".
6495 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6496 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6497 (eww-back-url): Rename from eww-previous-url.
6498 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6501 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6503 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6504 Distinguish ternary operator tokens from slash symbol and slash
6507 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6509 Convert symbol prettification into minor mode and global minor mode.
6511 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6512 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6513 (prettify-symbols--keywords): Rename from
6514 `prog-prettify-symbols-alist' and make a local defvar.
6515 (prettify-symbols--compose-symbol): Rename from
6516 `prog--prettify-font-lock-compose-symbol'.
6517 (prettify-symbols--make-keywords): Rename from
6518 `prog-prettify-font-lock-symbols-keywords' and simplify.
6519 (prog-prettify-install): Remove.
6520 (prettify-symbols-mode): New minor mode, based on
6521 `prog-prettify-install'.
6522 (turn-on-prettify-symbols-mode): New function.
6523 (global-prettify-symbols-mode): New globalized minor mode.
6525 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6526 * progmodes/cfengine.el (cfengine3-mode):
6527 * progmodes/perl-mode.el (perl-mode): Don't call
6528 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6530 2013-06-18 Juri Linkov <juri@jurta.org>
6532 * files-x.el (modify-file-local-variable-message): New function.
6533 (modify-file-local-variable)
6534 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6535 and call `modify-file-local-variable-message' when it's non-nil.
6536 (add-file-local-variable, delete-file-local-variable)
6537 (add-file-local-variable-prop-line)
6538 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6539 and use it. (Bug#9820)
6541 2013-06-18 Juri Linkov <juri@jurta.org>
6543 * emulation/vi.el (vi-shell-op):
6544 * emulation/vip.el (vip-execute-com, ex-command):
6545 * emulation/viper-cmd.el (viper-exec-bang):
6546 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6547 the call of `shell-command-on-region'. (Bug#14637)
6549 * simple.el (shell-command-on-region): Doc fix.
6551 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6556 2013-06-18 Glenn Morris <rgm@gnu.org>
6558 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6560 * newcomment.el (comment-search-forward, comment-search-backward):
6561 Doc fix. (Bug#14376)
6563 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6565 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6566 (buffer-face-mode-invoke): Doc fix.
6568 2013-06-18 Matthias Meulien <orontee@gmail.com>
6570 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6571 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6573 2013-06-18 Glenn Morris <rgm@gnu.org>
6575 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6576 Replace obsolete function generic-make-keywords with its expansion.
6578 * progmodes/python.el (ffap-alist): Declare.
6580 * textmodes/reftex.el (bibtex-mode-map): Declare.
6582 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6585 (package-unpack, package-unpack-single): Return the pkg-dir.
6586 (package-download-transaction): Use it to update package-alist.
6588 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6590 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6593 2013-06-17 Juri Linkov <juri@jurta.org>
6595 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6597 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6599 * emacs-lisp/package.el (package-load-descriptor):
6600 Remove `with-syntax-table' call, `read' doesn't need it.
6601 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6603 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6605 * startup.el (command-line): Expand package name returned by
6606 `package--description-file' (bug#14639).
6608 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6610 * emacs-lisp/package.el (package-load-descriptor): Do not call
6611 `emacs-lisp-mode', just use its syntax table.
6613 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6615 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6616 `font-lock-extra-managed-props' if any prettifying keyword is added.
6617 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6618 (prog-mode): Use `setq-local'.
6620 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6622 * international/characters.el (standard-case-table): Set syntax of ?»
6623 and ?« to punctuation.
6625 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6627 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6628 Save relevant match data before calling `syntax-ppss' (bug#14595).
6630 2013-06-15 Juri Linkov <juri@jurta.org>
6632 * files-x.el (modify-file-local-variable-prop-line): Add local
6633 variables to the end of the existing comment on the first line.
6634 Use `file-auto-mode-skip' to skip interpreter magic line,
6635 and also skip XML declaration.
6637 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * startup.el (package--builtin-versions): New var.
6640 (package-subdirectory-regexp): Remove.
6641 (package--description-file): Hard code its value instead.
6643 * emacs-lisp/package.el: Don't activate packages older than builtin.
6644 (package-obsolete-list): Rename from package-obsolete-alist, and make
6645 it into a simple list of package-desc.
6646 (package-strip-version): Remove.
6647 (package-built-in-p): Use package--builtin-versions.
6648 (package-mark-obsolete): Simplify.
6649 (package-process-define-package): Mark it obsolete if older than the
6651 (package-handle-response): Use line-end-position.
6652 (package-read-archive-contents, package--download-one-archive):
6654 (package--add-to-archive-contents): Skip if older than the builtin or
6656 (package-menu-describe-package): Fix last change.
6657 (package-list-unversioned): New var.
6658 (package-menu--generate): Use it.
6660 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6661 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6662 (autoload-builtin-package-versions): New variable.
6663 (autoload-generate-file-autoloads): Use them.
6664 Remove the list of autoloaded functions/macros from the
6665 (autoload...) comments.
6667 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6669 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6671 * simple.el (line-move-partial): Don't jump to the next screen
6672 line as soon as it becomes visible. Instead, continue enlarging
6673 the vscroll until the portion of a tall screen line that's left on
6674 display is about the height of the frame's default font.
6677 2013-06-15 Glenn Morris <rgm@gnu.org>
6679 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6680 compilation-error-regexp-alist void, or local while let-bound.
6682 * progmodes/make-mode.el (makefile-mode-syntax-table):
6683 Treat "=" as punctuation. (Bug#14614)
6685 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6687 * help-fns.el (describe-variable):
6688 Add extra line for permanent-local variables.
6690 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6692 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6693 Add export, import, library. (Bug#9164)
6694 (library): Set indent function.
6696 2013-06-14 Glenn Morris <rgm@gnu.org>
6698 * term/xterm.el (xterm--query):
6699 Stop after first matching handler. (Bug#14615)
6701 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6703 Add support for dired in saveplace.
6704 * dired.el (dired-initial-position-hook): New variable.
6705 (dired-initial-position): Call hook to place cursor position.
6706 * saveplace.el (save-place-to-alist): Add dired position.
6707 (save-place-dired-hook): New function.
6709 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6711 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6712 through a symbol rather than letrec.
6714 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6715 (package-desc): Add `dir' field.
6716 (package-desc-full-name): New function.
6717 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6718 (package-maybe-load-descriptor): Remove.
6719 (package-load-all-descriptors): Just call package-load-descriptor.
6720 (package--disabled-p): New function.
6721 (package-desc-vers, package-desc-doc): Remove aliases.
6722 (package--dir): Remove function.
6723 (package-activate): Check if a package is disabled.
6724 (package-process-define-package): New function, extracted from
6726 (define-package): Turn into a place holder.
6727 (package-unpack-single, package-tar-file-info):
6728 Use package--description-file.
6729 (package-compute-transaction): Use package--disabled-p.
6730 (package-download-transaction): Don't call
6731 package-maybe-load-descriptor since they're all loaded anyway.
6732 (package-install): Change argument to be a pkg-desc.
6733 (package-delete): Use a single pkg-desc argument.
6734 (describe-package-1): Use package-desc-dir instead of package--dir.
6735 Use package-desc property instead of package-symbol.
6736 (package-install-button-action): Adjust accordingly.
6737 (package--push): Rewrite.
6738 (package-menu--print-info): Adjust accordingly. Change the ID format
6740 (package-menu-describe-package, package-menu-get-status)
6741 (package-menu--find-upgrades, package-menu-mark-upgrades)
6742 (package-menu-execute, package-menu--name-predicate):
6744 * startup.el (package--description-file): New function.
6745 (command-line): Use it.
6746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6747 Use package-desc-version.
6749 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6750 (byte-compile-preprocess): Use it.
6751 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6752 can't quite recognize.
6753 (byte-compile-add-to-list): Remove.
6754 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6755 (cconv-closure-convert): Add assertion.
6757 * emacs-lisp/map-ynp.el: Use lexical-binding.
6758 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6759 Factor out some repeated code.
6761 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * subr.el (with-eval-after-load): New macro.
6764 (eval-after-load): Allow form to be a function.
6765 take advantage of lexical-binding.
6766 (do-after-load-evaluation): Use dolist and adjust to new format.
6767 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6769 2013-06-13 Juri Linkov <juri@jurta.org>
6771 * replace.el (perform-replace): Display "symbol " and other search
6772 modes from `isearch-message-prefix' in the *Help* buffer.
6774 * isearch.el (isearch-query-replace): Add " symbol" and other
6775 possible search modes from `isearch-message-prefix' to the prompt.
6776 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6777 when reading a regexp to collect.
6779 2013-06-13 Juri Linkov <juri@jurta.org>
6781 * isearch.el (word-search-regexp): Match whitespace if the search
6782 string begins or ends in whitespace. The LAX arg is applied to
6783 both ends of the search string. Use `regexp-quote' and explicit
6784 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6785 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6786 boundaries are replaced with symbol boundaries, and characters
6787 between symbols match non-word non-symbol syntax. (Bug#14602)
6789 2013-06-13 Juri Linkov <juri@jurta.org>
6791 * isearch.el (isearch-del-char): Don't exceed the length of
6792 `isearch-string' by the prefix arg. (Bug#14563)
6794 2013-06-13 Juri Linkov <juri@jurta.org>
6796 * isearch.el (isearch-yank-word, isearch-yank-line)
6797 (isearch-char-by-name, isearch-quote-char)
6798 (isearch-printing-char, isearch-process-search-char):
6799 Add optional count prefix arg. (Bug#14563)
6801 * international/isearch-x.el
6802 (isearch-process-search-multibyte-characters):
6803 Add optional count prefix arg.
6805 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6807 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6808 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6811 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6813 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6815 2013-06-13 Glenn Morris <rgm@gnu.org>
6817 * startup.el (tty-handle-args):
6818 Don't just discard "--" and anything after. (Bug#14608)
6820 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6822 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6824 Implement changes in Secret Service API. Make it backward compatible.
6825 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6826 (secrets-create-item): Use it. Prefix properties with interface.
6828 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6830 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6831 (term-emulate-terminal): Respect term-suppress-hard-newline.
6833 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6835 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6836 Only remove a `thumb-file' overlay. (Bug#14548)
6838 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6840 * mail/reporter.el (reporter-submit-bug-report):
6841 Handle missing package-name. (Bug#14600)
6843 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6845 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6846 (reftex-citation-prompt, reftex-default-bibliography)
6847 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6848 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6849 (reftex-bib-sort-author, reftex-bib-sort-year)
6850 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6851 (reftex-extract-bib-entries-from-thebibliography)
6852 (reftex-get-bibkey-default, reftex-get-bib-names)
6853 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6854 (reftex-format-bib-entry, reftex-parse-bibitem)
6855 (reftex-format-bibitem, reftex-do-citation)
6856 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6857 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6858 (reftex-insert-bib-matches, reftex-format-citation)
6859 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6860 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6861 existing comments into docstrings.
6863 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6865 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6867 2013-06-12 Andreas Schwab <schwab@suse.de>
6869 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6870 for auto-save files.
6872 2013-06-12 Glenn Morris <rgm@gnu.org>
6874 * ido.el (ido-delete-ignored-files): Remove.
6875 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6876 Go back to calling ido-ignore-item-p directly.
6878 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6880 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6882 * ido.el (ido-delete-ignored-files): New function,
6883 split from ido-make-file-list-1.
6884 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6885 (ido-make-file-list-1): Use ido-delete-ignored-files.
6887 2013-06-12 Leo Liu <sdl.web@gmail.com>
6889 * progmodes/octave.el (inferior-octave-startup)
6890 (inferior-octave-completion-table)
6891 (inferior-octave-track-window-width-change)
6892 (octave-eldoc-function-signatures, octave-help)
6893 (octave-find-definition): Use single quoted strings.
6894 (inferior-octave-startup-args): Change default value.
6895 (inferior-octave-startup): Do not hard code "-i" and
6896 "--no-line-editing".
6897 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6898 (inferior-octave-directory-tracker): Use it.
6899 (octave-goto-function-definition): Robustify.
6900 (octave-help): Support highlighting operators in 'See also'.
6901 (octave-find-definition): Find subfunctions only in Octave mode.
6903 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6905 * help-fns.el (help-fns--compiler-macro): If the handler function is
6906 named, then put a link to it.
6907 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6908 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6910 (cl-eval-when): Simplify debug spec.
6911 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6912 compiler-macro function instead of setting `compiler-macro-file'.
6914 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6916 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6917 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6919 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6920 Daniel Hackney <dan@haxney.org>
6922 First part of Daniel Hackney's patch to package.el.
6923 * emacs-lisp/package.el: Use defstruct.
6924 (package-desc): New, main struct.
6925 (package--bi-desc, package--ac-desc): New structs, used to describe the
6926 format in external files.
6927 (package-desc-vers): Replace with package-desc-version accessor.
6928 (package-desc-doc): Replace with package-desc-summary accessor.
6929 (package-activate-1): Remove `package' arg since the pkg-vec now
6931 (define-package): Use package-desc-from-define.
6932 (package-unpack-single): Change file-name arg to be a symbol.
6933 (package--add-to-archive-contents): Use package-desc-create and new
6934 accessor functions to package--ac-desc.
6935 (package-buffer-info, package-tar-file-info): Return a package-desc.
6936 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6937 arg to be a package-desc.
6938 (package-install-file): Adjust accordingly. Use \' to match EOS.
6939 (package--from-builtin): New function.
6940 (describe-package-1, package-menu--generate): Use it.
6941 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6942 (package-generate-autoloads): Idem and return the name of the file.
6943 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6944 Change pkg-info arg to be a package-desc.
6945 Use package-make-ac-desc.
6946 (package-upload-file): Use \' to match EOS.
6947 * finder.el (finder-compile-keywords): Use package-make-builtin.
6949 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6951 * vc/vc.el (vc-deduce-fileset): Change error message.
6952 (vc-read-backend): New function.
6953 (vc-next-action): Use it.
6955 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6957 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6958 (prolog-font-lock-keywords): Use regexp-opt instead.
6959 Don't manually highlight strings.
6960 (prolog-mode-variables): Simplify comment-start-skip.
6961 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6963 * emacs-lisp/generic.el (generic--normalise-comments)
6964 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6965 (generic-mode-set-comments): Use them.
6966 (generic-bracket-support): Use setq-local.
6967 (generic-make-keywords-list): Declare obsolete.
6969 2013-06-11 Glenn Morris <rgm@gnu.org>
6971 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6972 Prettify after setting font-lock-defaults. (Bug#14574)
6974 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6976 * replace.el (query-replace, occur-read-regexp-defaults-function)
6978 * subr.el (declare-function, number-sequence, local-set-key)
6979 (substitute-key-definition, locate-user-emacs-file)
6980 (with-silent-modifications, split-string, eval-after-load):
6981 Fix typos, remove unneeded backslashes and reflow some docstrings.
6983 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6985 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6986 default for Elisp files.
6988 2013-06-11 Glenn Morris <rgm@gnu.org>
6990 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6991 although define-derived-mode was doing this anyway. (Bug#14583)
6993 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6995 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6996 Fix make-variable-buffer-local call to refer to the correct variable.
6998 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7000 * eshell/em-term.el (eshell-visual-commands)
7001 (eshell-visual-subcommands, eshell-visual-options):
7002 Add summary line to docstrings. Add cross-references.
7004 2013-06-10 Glenn Morris <rgm@gnu.org>
7006 * epa.el (epa-read-file-name): New function. (Bug#14510)
7007 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7009 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7011 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7012 output redirection to be ignored with visual commands.
7014 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7016 * eshell/em-term.el (eshell-visual-command-p): New function.
7017 (eshell-term-initialize): Move long lambda to separate function
7018 eshell-visual-command-p.
7019 * eshell/em-dirs.el (eshell-dirs-initialise):
7020 * eshell/em-script.el (eshell-script-initialize):
7021 Add missing #' to lambda.
7023 2013-06-08 Leo Liu <sdl.web@gmail.com>
7025 * progmodes/octave.el (octave-add-log-current-defun): New function.
7026 (octave-mode): Set add-log-current-defun-function.
7027 (octave-goto-function-definition): Do not move point if not found.
7028 (octave-find-definition): Enhance to try subfunctions first.
7030 2013-06-08 Glenn Morris <rgm@gnu.org>
7032 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7033 (byte-compile-backward-char, byte-compile-backward-word):
7034 Improve previous change, to handle non-explicit nil.
7036 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7038 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7039 (smie--opener/closer-at-point): New function.
7040 (smie--matching-block-data): Use it. Don't match from right after an
7041 opener or right before a closer. Obey smie-blink-matching-inners.
7042 Don't signal a mismatch for repeated inners like "switch..case..case".
7044 2013-06-07 Leo Liu <sdl.web@gmail.com>
7046 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7048 (octave-function-header-regexp): Fix. (Bug#14570)
7049 (octave-help-mode-finish-hook, octave-help-mode-finish):
7050 Remove. Just use temp-buffer-show-hook.
7052 * newcomment.el (comment-search-backward): Revert last change.
7055 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7057 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7059 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7060 through xargs, to avoid failure due to MS-Windows limitations on
7061 command-line length.
7063 2013-06-06 Glenn Morris <rgm@gnu.org>
7065 * font-lock.el (lisp-font-lock-keywords-2):
7066 Treat user-error like error.
7068 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7069 (byte-compile-backward-char, byte-compile-backward-word):
7070 Handle explicit nil arguments. (Bug#14565)
7072 2013-06-05 Alan Mackenzie <acm@muc.de>
7074 * isearch.el (isearch-allow-prefix): New user option.
7075 (isearch-other-meta-char): Don't exit isearch when a prefix
7076 argument is typed whilst `isearch-allow-prefix' is non-nil.
7079 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7081 * autorevert.el (auto-revert-notify-handler): Use memq.
7082 Hide assertion failure.
7084 * skeleton.el: Use cl-lib.
7085 (skeleton-further-elements): Use defvar-local.
7086 (skeleton-insert): Use cl-progv.
7088 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7090 * progmodes/prog-mode.el (prog-prettify-symbols)
7091 (prog-prettify-install): Update docstrings.
7093 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7095 * simple.el: Move all the prog-mode code to prog-mode.el.
7096 * progmodes/prog-mode.el: New file.
7097 * loadup.el: Add prog-mode.el.
7099 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7101 * simple.el (prog-prettify-symbols): Add version.
7102 (prog-prettify-install): Add convenience function to prettify symbols.
7104 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7105 (perl--augmented-font-lock-keywords-1)
7106 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7107 variables and use it.
7109 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7110 (cfengine3-mode): Remove unneeded variable and use it.
7112 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7113 (lisp--augmented-font-lock-keywords-1)
7114 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7115 Remove unneeded variables and use it.
7117 2013-06-05 João Távora <joaotavora@gmail.com>
7119 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7120 to point when opening the connection. (Bug#14380)
7122 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7124 * subr.el (load-history-regexp, load-history-filename-element)
7125 (eval-after-load, after-load-functions, do-after-load-evaluation)
7126 (eval-next-after-load, display-delayed-warnings)
7127 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7128 definition of save-match-data.
7129 (overriding-local-map): Remove accidental obsolescence declaration.
7131 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7133 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7135 Generalize symbol prettify support to prog-mode and implement it
7136 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7137 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7138 (prog--prettify-font-lock-compose-symbol)
7139 (prog-prettify-font-lock-symbols-keywords): New variables and
7140 functions to support symbol prettification.
7141 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7142 (lisp--augmented-font-lock-keywords-1)
7143 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7144 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7145 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7146 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7147 Implement prettify of -> => :: strings.
7148 * progmodes/perl-mode.el (perl-prettify-symbols)
7149 (perl--font-lock-compose-symbol)
7150 (perl--font-lock-symbols-keywords): Move to prog-mode.
7151 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7152 (perl-font-lock-keywords-1)
7153 (perl-font-lock-keywords-2): Remove explicit prettify support.
7154 (perl--augmented-font-lock-keywords)
7155 (perl--augmented-font-lock-keywords-1)
7156 (perl--augmented-font-lock-keywords-2, perl-mode):
7157 Implement prettify support.
7159 2013-06-05 Leo Liu <sdl.web@gmail.com>
7161 Re-implement smie matching block highlight using
7162 show-paren-data-function. (Bug#14395)
7163 * emacs-lisp/smie.el (smie-matching-block-highlight)
7164 (smie--highlight-matching-block-overlay)
7165 (smie--highlight-matching-block-lastpos)
7166 (smie-highlight-matching-block)
7167 (smie-highlight-matching-block-mode): Remove.
7168 (smie--matching-block-data-cache): New variable.
7169 (smie--matching-block-data): New function.
7170 (smie-setup): Use smie--matching-block-data for
7171 show-paren-data-function.
7173 * progmodes/octave.el (octave-mode-menu): Fix.
7174 (octave-find-definition): Skip garbage lines.
7176 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7178 Fix compilation error with simultaneous dynamic+lexical scoping.
7179 Add warning when a defvar appears after the first let-binding.
7180 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7181 (byte-compile-close-variables): Initialize it.
7182 (byte-compile--declare-var): New function.
7183 (byte-compile-file-form-defvar)
7184 (byte-compile-file-form-define-abbrev-table)
7185 (byte-compile-file-form-custom-declare-variable): Use it.
7186 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7187 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7188 (byte-compile-bind): Handle dynamic bindings that shadow
7190 (byte-compile-unbind): Make arg non-optional.
7191 (byte-compile-let): Simplify.
7192 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7193 (cconv--analyse-function, cconv-analyse-form): Populate it.
7194 Protect byte-compile-bound-variables to limit the scope of defvars.
7195 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7196 Remove unneeded rule for `declare'.
7198 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7199 so as to avoid depending on cl-adjoin at run-time.
7200 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7202 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7203 (macroexp--warn-and-return): Use it.
7205 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * lisp/subr.el: Convert to lexical binding.
7208 (overriding-local-map): Make obsolete.
7209 (add-to-list): Doc fix. Add compiler macro.
7210 (read-key): Swap values of local maps.
7212 2013-06-05 Leo Liu <sdl.web@gmail.com>
7214 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7216 2013-06-04 Leo Liu <sdl.web@gmail.com>
7218 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7219 (compilation-auto-jump): Suppress the "Mark set" message to give
7220 way to exit message.
7222 2013-06-04 Alan Mackenzie <acm@muc.de>
7224 Remove faulty optimisation from indentation calculation.
7225 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7226 search limit based on 2000 characters back from indent-point.
7228 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7230 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7232 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * emacs-lisp/lisp.el: Use lexical-binding.
7235 (lisp--local-variables-1, lisp--local-variables): New functions.
7236 (lisp--local-variables-completion-table): New var.
7237 (lisp-completion-at-point): Use it complete let-bound vars.
7239 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7240 eagerly (bug#14422).
7242 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7244 * autorevert.el (auto-revert-notify-enabled)
7245 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7246 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7247 (auto-revert-notify-handler): Handle also gfilenotify.
7249 * subr.el (file-notify-handle-event): New defun. Replacing ...
7250 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7253 2013-06-03 Juri Linkov <juri@jurta.org>
7255 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7256 `M-s h .'. (Bug#14427)
7258 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7259 command `hi-lock-face-symbol-at-point'.
7260 (hi-lock-face-symbol-at-point): New command.
7261 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7262 (hi-lock-menu): Add `highlight-symbol-at-point'.
7263 (hi-lock-mode): Doc fix.
7265 * isearch.el (isearch-forward-symbol-at-point): New command.
7266 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7267 (isearch-highlight-regexp): Add a regexp which matches
7268 words/symbols for word/symbol mode.
7270 * subr.el (find-tag-default-bounds): New function with the body
7271 mostly moved from `find-tag-default'.
7272 (find-tag-default): Move most code to `find-tag-default-bounds',
7273 call it and apply `buffer-substring-no-properties' afterwards.
7275 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7277 * eshell/em-term.el (eshell-term-initialize):
7278 Use `cl-intersection' rather than `intersection'.
7280 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7282 * vc/log-view.el: Doc fix.
7283 (log-view-mode-map): Copy keymap from `special-mode-map'.
7285 2013-06-02 Eric Ludlam <zappo@gnu.org>
7287 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7288 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7289 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7290 (eieio-unbound, eieio-default-superclass)
7291 (eieio--define-field-accessors, method-static, method-before)
7292 (method-primary, method-after, method-num-lists)
7293 (method-generic-before, method-generic-primary)
7294 (method-generic-after, method-num-slots)
7295 (eieio-specialized-key-to-generic-key)
7296 (eieio--check-type, class-v, class-p)
7297 (eieio-class-name, define-obsolete-function-alias)
7298 (eieio-class-parents-fast, eieio-class-children-fast)
7299 (same-class-fast-p, class-constructor, generic-p)
7300 (generic-primary-only-p, generic-primary-only-one-p)
7301 (class-option-assoc, class-option, eieio-object-p)
7302 (class-abstract-p, class-method-invocation-order)
7303 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7304 (eieio-class-un-autoload, eieio-defclass)
7305 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7306 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7307 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7308 (eieio-defgeneric-reset-generic-form)
7309 (eieio-defgeneric-form-primary-only)
7310 (eieio-defgeneric-reset-generic-form-primary-only)
7311 (eieio-defgeneric-form-primary-only-one)
7312 (eieio-defgeneric-reset-generic-form-primary-only-one)
7313 (eieio-unbind-method-implementations)
7314 (eieio--defmethod, eieio--typep)
7315 (eieio-perform-slot-validation, eieio-validate-slot-value)
7316 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7317 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7318 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7319 (eieio-slot-name-index, eieio-class-slot-name-index)
7320 (eieio-set-defaults, eieio-initarg-to-attribute)
7321 (eieio-attribute-to-initarg, eieio-c3-candidate)
7322 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7323 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7324 (eieio-class-precedence-list, eieio-generic-call-methodname)
7325 (eieio-generic-call-arglst, eieio-generic-call-key)
7326 (eieio-generic-call-next-method-list)
7327 (eieio-pre-method-execution-functions, eieio-generic-call)
7328 (eieio-generic-call-primary-only, eieiomt-method-list)
7329 (eieiomt-optimizing-obarray, eieiomt-install)
7330 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7331 (eieio-generic-form, eieio-defmethod, make-obsolete)
7332 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7333 (defclass): Remove `eval-and-compile' from macro.
7334 (call-next-method, shared-initialize): Instead of using
7335 `scoped-class' variable, use new eieio--scoped-class, and
7336 eieio--with-scoped-class.
7337 (initialize-instance): Rename local variable 'scoped-class' to
7338 'this-class' to remove ambiguitity from old global.
7340 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7342 (eieio--scoped-class-stack): New variable.
7343 (eieio--scoped-class): New fcn.
7344 (eieio--with-scoped-class): New scoping macro.
7345 (eieio-defclass): Use pushnew instead of add-to-list.
7346 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7347 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7348 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7349 `scoped-class' variable, use new eieio--scoped-class, and
7350 eieio--with-scoped-class.
7352 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7354 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7356 * eshell/esh-ext.el (eshell-external-command): Pass args to
7357 `eshell-find-interpreter'.
7358 (eshell-find-interpreter): Add new second parameter ARGS.
7360 * eshell/em-script.el (eshell-script-initialize): Add second arg
7361 to the function added as MATCH to `eshell-interpreter-alist'.
7363 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7364 the function added as MATCH to `eshell-interpreter-alist'.
7366 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7367 (eshell-visual-options): New defcustom.
7368 (eshell-escape-control-x): Adapt docstring.
7369 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7370 `eshell-visual-options' in addition to `eshell-visual-commands'.
7371 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7373 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7375 * progmodes/python.el (python-indent-block-enders): Add break,
7376 continue and raise keywords.
7378 2013-06-01 Glenn Morris <rgm@gnu.org>
7380 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7382 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7383 * progmodes/cc-cmds.el (delete-forward-p):
7384 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7385 * progmodes/cc-engine.el (buffer-syntactic-context):
7386 * progmodes/cc-fonts.el (face-property-instance):
7387 * progmodes/cc-mode.el (set-keymap-parents):
7388 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7389 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7390 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7391 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7392 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7394 * progmodes/cc-vars.el (other): Emacs has this widget since
7395 at least 21.1, so don't (re)define it.
7397 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7398 Replace the obsolete alias pcomplete-arg-quote-list.
7400 2013-06-01 Leo Liu <sdl.web@gmail.com>
7402 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7404 (inferior-octave-minimal-columns)
7405 (inferior-octave-last-column-width): New variables.
7406 (inferior-octave-track-window-width-change): New function.
7407 (inferior-octave-mode): Adjust column width so that Octave output,
7408 for example from 'ls', can fit into the window nicely.
7410 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7412 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7413 Highlight expansions inside regexp literals.
7415 2013-05-31 Glenn Morris <rgm@gnu.org>
7417 * obsolete/sym-comp.el (symbol-complete):
7418 Replace obsolete completion-annotate-function.
7420 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7422 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7424 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7425 New function, checks if point is inside a literal that allows
7426 expression expansion.
7427 (ruby-syntax-propertize-expansion): Use it.
7428 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7431 2013-05-30 Juri Linkov <juri@jurta.org>
7433 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7435 (isearch-invisible): New variable.
7436 (isearch-forward): Doc fix.
7437 (isearch-mode): Set `isearch-invisible'
7438 to the value of `search-invisible'.
7439 (isearch-toggle-case-fold): Doc fix.
7440 (isearch-toggle-invisible): New command.
7441 (isearch-query-replace): Let-bind `search-invisible'
7442 to the value of `isearch-invisible'.
7443 (isearch-search): Use `isearch-invisible' instead of
7444 `search-invisible'. Let-bind `search-invisible'
7445 to the value of `isearch-invisible'. (Bug#11378)
7447 2013-05-30 Juri Linkov <juri@jurta.org>
7449 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7450 call when `query-flag' is nil and `search-invisible' is non-nil.
7453 2013-05-30 Glenn Morris <rgm@gnu.org>
7455 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7457 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7458 (cc-require): Suppress spurious "noruntime" warnings.
7459 (cc-require-when-compile): Use fboundp, for sake of compiler.
7461 * progmodes/cc-mode.el: Move load of cc-vars before that of
7462 cc-langs (which in turn loads cc-vars), to quieten compiler.
7464 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7466 * paren.el: Simplify the code.
7467 (show-paren-mode): Always start the timer.
7468 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7469 (show-paren--overlay, show-paren--overlay-1): Rename from
7470 show-paren-overlay and show-paren-overlay-1, and initialize to an
7471 overlay rather than to nil.
7472 (show-paren-function): Misc cleanup and simplifications.
7474 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * paren.el (show-paren-data-function): New hook.
7477 (show-paren--default): New function, extracted from show-paren-function.
7478 (show-paren-function): Use show-paren-data-function.
7480 2013-05-30 Glenn Morris <rgm@gnu.org>
7482 * ielm.el (ielm-map, ielm-complete-symbol):
7483 Use completion-at-point rather than obsolete functions.
7484 (inferior-emacs-lisp-mode): Doc fix.
7485 Set completion-at-point-functions, rather than
7486 comint-dynamic-complete-functions.
7488 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7489 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7490 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7492 * image.el (image-animated-p): Tweak definition.
7494 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7495 (rlogin-process-connection-type): Tweak default. Add set-after.
7496 (rlogin-host): Doc fix.
7497 (rlogin): Tweak prompt.
7498 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7500 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7501 * progmodes/tcl.el (inferior-tcl-mode-map):
7502 Use completion-at-point rather than obsolete alias.
7504 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7506 * minibuffer.el (read-file-name-completion-ignore-case):
7507 Move before completion--in-region, for eager macro expansion.
7509 2013-05-29 Juri Linkov <juri@jurta.org>
7511 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7512 for total count of matching lines. Add `global-matches' for total
7513 count of matches. Rename `matches' to `lines' for count of
7514 matching lines. Add `matches' for count of matches.
7515 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7516 to `prev-line' for line number of prev match endpt.
7517 Increment `matches' for every match. Print the number of
7518 matching lines in the header.
7519 (occur-context-lines): Rename `lines' to `curr-line'.
7520 Rename `prev-lines' to `prev-line'. (Bug#14017)
7522 2013-05-29 Juri Linkov <juri@jurta.org>
7524 * replace.el (perform-replace): Add `skip-read-only-count',
7525 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7526 Increment them for corresponding conditions and report the number
7527 of skipped occurrences in the final message. (Bug#11746)
7528 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7529 (replace-string, replace-regexp): Doc fix.
7531 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7535 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7536 prog-mode-map (bug#14504).
7538 2013-05-29 Leo Liu <sdl.web@gmail.com>
7540 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7541 (octave-help): Small simplification.
7543 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7544 off the highlight first.
7546 2013-05-29 Glenn Morris <rgm@gnu.org>
7548 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7549 Handle idlwave-last-system-routine-info-cons-cell being nil.
7551 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7552 (idlwave-write-paths): Simplify via with-temp-buffer.
7554 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7555 * emulation/cua-rect.el: Also load cua-base at run time.
7557 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7558 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7559 (cperl-imenu-on-info): Require imenu.
7561 2013-05-28 Alan Mackenzie <acm@muc.de>
7563 Handle "capitalised keywords" correctly.
7564 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7566 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7568 * eshell/em-unix.el: Add -r option to cp.
7570 2013-05-28 Glenn Morris <rgm@gnu.org>
7572 * vc/vc-arch.el (vc-exec-after): Declare.
7573 (vc-switches): Autoload.
7574 * vc/vc-bzr.el: No need to require vc when compiling.
7575 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7576 (vc-resynch-buffer, vc-dir-refresh): Declare.
7577 (vc-setup-buffer, vc-switches): Autoload.
7578 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7579 (vc-resynch-buffer): Declare.
7580 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7581 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7582 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7583 (grep-read-regexp, grep-read-files, grep-expand-template)
7584 (vc-dir-refresh): Declare.
7585 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7586 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7587 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7588 * vc/vc-mtn.el (vc-exec-after): Declare.
7589 (vc-switches): Autoload.
7590 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7591 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7592 (vc-file-tree-walk): Declare.
7593 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7594 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7595 (vc-tag-precondition, vc-rename-master): Autoload.
7596 * vc/vc-svn.el (vc-exec-after): Declare.
7597 (vc-switches, vc-setup-buffer): Autoload.
7598 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7600 (vc-resynch-buffer): Declare.
7602 * obsolete/fast-lock.el (byte-compile-warnings):
7603 Don't warn about obsolete features in this obsolete file.
7605 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7606 Move definition before use.
7608 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7609 (dun-unix-verbs): Remove dun-zippy.
7610 (dun-zippy): Remove function.
7612 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7614 2013-05-27 Juri Linkov <juri@jurta.org>
7616 * replace.el (replace-search): New function with code moved out
7617 from `perform-replace'.
7618 (replace-highlight, replace-dehighlight): Move function definitions
7619 up closer to `replace-search'. (Bug#11746)
7621 2013-05-27 Juri Linkov <juri@jurta.org>
7623 * replace.el (perform-replace): Ignore invisible matches.
7624 In addition to checking `query-replace-skip-read-only', also
7625 filter out matches by calling `run-hook-with-args-until-failure'
7626 on `isearch-filter-predicates', and also check `search-invisible'
7627 for t or call `isearch-range-invisible'.
7628 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7630 2013-05-27 Juri Linkov <juri@jurta.org>
7632 * isearch.el (isearch-filter-predicates): Rename from
7633 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7634 (isearch-message-prefix): Display text from the property
7635 `isearch-message-prefix' of the currently active filters.
7636 (isearch-search): Don't compare `isearch-filter-predicate' with
7637 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7638 on `isearch-filter-predicates'. Also check `search-invisible' for t
7639 or call `isearch-range-invisible'.
7640 (isearch-filter-visible): Make obsolete.
7641 (isearch-lazy-highlight-search):
7642 Call `run-hook-with-args-until-failure' on
7643 `isearch-filter-predicates' and use `isearch-range-invisible'.
7645 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7646 `isearch-filter-predicates' instead of `funcall'ing
7647 `isearch-filter-predicate'.
7648 (Info-mode): Set `Info-isearch-filter' to
7649 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7651 * dired-aux.el (dired-isearch-filter-predicate-orig):
7653 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7654 (dired-isearch-filenames-end): Add and remove
7655 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7656 instead of changing the value of `isearch-filter-predicate'.
7657 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7658 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7659 Put property `isearch-message-prefix' to "filename " on
7660 `dired-isearch-filter-filenames'.
7662 * wdired.el (wdired-change-to-wdired-mode):
7663 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7664 locally instead of changing `isearch-filter-predicate'.
7665 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7667 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7669 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7670 return the commit hash (Bug#14459). Also set the
7671 `vc-git-detached' property.
7672 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7673 (vc-git-mode-line-string): Use the same help-echo format whether
7674 in detached mode or not, because we know the actual revision now.
7675 When in detached mode, shorten the revision to 7 chars.
7677 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7679 * emacs-lisp/easy-mmode.el (define-minor-mode):
7680 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7681 mode hook and provide a docstring.
7683 2013-05-27 Alan Mackenzie <acm@muc.de>
7685 Remove spurious syntax-table text properties inserted by C-y.
7686 * progmodes/cc-mode.el (c-after-change): Also clear hard
7687 syntax-table property with value nil.
7689 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7691 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7692 when reading the events; the buffer layout shall not be changed.
7694 2013-05-27 Leo Liu <sdl.web@gmail.com>
7696 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7698 (inferior-octave-directory-tracker): Automatically re-sync
7700 (octave-help): Improve handling of 'See also'.
7702 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7704 * doc-view.el: Minor naming convention tweaks.
7705 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7707 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7708 even if there's no `display' property yet (bug#14435).
7710 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7712 * subr.el (unmsys--file-name): Rename from reveal-filename.
7714 * Makefile.in (custom-deps, finder-data, autoloads)
7715 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7716 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7717 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7719 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7721 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7722 error-completion on the first 2 args of condition-case (bug#14446).
7725 2013-05-25 Leo Liu <sdl.web@gmail.com>
7727 * comint.el (comint-previous-matching-input): Do not flood the
7728 *Messages* buffer with trivial messages.
7730 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7732 * progmodes/flymake.el (flymake-nop): Don't return a string.
7733 (flymake-set-at): Fix typo.
7735 * simple.el (read--expression): New function, extracted from
7736 eval-expression. Set completion-at-point-functions (bug#14465).
7737 (eval-expression, eval-minibuffer): Use it.
7739 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7741 * progmodes/flymake.el (flymake-save-buffer-in-file)
7742 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7743 (flymake-selected-frame, flymake-log, flymake-ins-after)
7744 (flymake-set-at, flymake-get-buildfile-from-cache)
7745 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7746 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7747 Refine the doc string.
7748 (flymake-get-file-name-mode-and-masks): Reformat.
7749 (flymake-get-real-file-name-function): Fix a minor bug.
7751 2013-05-24 Juri Linkov <juri@jurta.org>
7753 * progmodes/grep.el (grep-mode-font-lock-keywords):
7754 Support =linenumber= format used by git-grep for lines with
7755 function names. (Bug#13549)
7757 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7759 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7760 0 after a semi-colon; it works better for smie-auto-fill.
7761 (octave--indent-new-comment-line): New function.
7762 (octave-indent-new-comment-line): Use it (indirectly).
7763 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7764 modify comment-line-break-function.
7766 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7767 (smie-setup): Use add-function to set it.
7769 2013-05-24 Sam Steingold <sds@gnu.org>
7771 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7772 argument (before the `interactive' argument).
7774 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7776 * image-mode.el (image-mode-winprops): Add winprops to
7777 image-mode-winprops-alist before running
7778 image-mode-new-window-functions.
7779 * doc-view.el (doc-view-new-window-function): Don't delay
7780 doc-view-goto-page via timers (bug#14435).
7782 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7784 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7785 (doc-view-desktop-save-buffer): New function.
7786 (doc-view-restore-desktop-buffer): New function.
7787 (desktop-buffer-mode-handlers):
7788 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7790 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7791 `desktop-save-buffer' function.
7793 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7795 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7796 (tramp-gvfs-file-name-handler): Raise a user error when
7797 `tramp-gvfs-enabled' is nil.
7798 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7799 Do not raise a user error when loading package. (Bug#14447)
7801 * net/xesam.el: Move to obsolete/.
7803 2013-05-24 Glenn Morris <rgm@gnu.org>
7805 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7807 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7809 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7810 (Info-find-node, Man-getpage-in-background): Declare.
7812 * mail/unrmail.el (unrmail):
7813 Replace obsolete detect-coding-with-priority.
7815 * net/socks.el (socks-split-string): Use this rather than split-string.
7816 (socks-nslookup-host): Update for above change.
7817 (dynamic-choice, s5-dynamic-choice-match)
7818 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7819 Comment out unused code.
7821 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7822 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7823 (gud-tooltip-echo-area): Make obsolete.
7824 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7826 * progmodes/js.el (js--optimize-arglist): Declare.
7828 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7830 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7831 (ediff-window-C): Declare.
7833 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7834 Tweak requires to silence compiler.
7836 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7837 (he-search-string, he-tried-table, he-expand-list)
7838 (he-init-string, he-string-member, he-substitute-string)
7839 (he-reset-string): Declare.
7841 * obsolete/options.el (list-options): Use custom-variable-p,
7842 rather than obsolete alias.
7844 2013-05-23 Sam Steingold <sds@gnu.org>
7846 * simple.el (shell-command-on-region): Pass the `replace' argument
7847 down to `call-process-region' to comply with the doc as reported on
7848 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7850 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7852 * emacs-lisp/smie.el (smie-indent-forward-token)
7853 (smie-indent-backward-token): Handle string tokens (bug#14381).
7855 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7857 * ielm.el (ielm-menu): New menu.
7858 (inferior-emacs-lisp-mode): Set comment-start.
7860 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7862 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7863 Fix deactivate action.
7865 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7866 Add cleveref macros.
7868 * lisp/textmodes/reftex-parse.el
7869 (reftex-locate-bibliography-files): Accept options for
7870 bibliography commands.
7871 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7872 Add addbibresource. Basic Biblatex support.
7874 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7876 * net/tramp-gvfs.el (top):
7877 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7878 when loading package. (Bug#14447)
7880 2013-05-23 Glenn Morris <rgm@gnu.org>
7882 * progmodes/js.el: No need to load comint when compiling.
7883 (ring-insert, comint-send-string, comint-send-input)
7884 (comint-last-input-end, ido-chop): Declare.
7886 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7887 * vc/ediff-mult.el: Adjust requires.
7888 (ediff-directories-internal, ediff-directory-revisions-internal)
7889 (ediff-patch-file-internal): Declare.
7890 * vc/ediff-ptch.el: Adjust requires.
7891 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7892 (ediff-find-file): Autoload.
7893 * vc/ediff-util.el: No need to load ediff when compiling.
7894 (ediff-regions-internal): Declare.
7895 * vc/ediff-wind.el: Adjust requires.
7896 (ediff-compute-toolbar-width): Define when compiling.
7897 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7898 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7899 (dired-get-filename, dired-get-marked-files)
7900 (ediff-last-dir-patch, ediff-patch-default-directory)
7901 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7902 (ediff-patch-buffer-internal): Declare.
7904 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7905 (ispell-process, ispell-buffer-local-words, lm-summary)
7906 (lm-section-start, lm-section-end): Declare.
7907 (checkdoc-ispell-init): Simplify.
7909 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7910 (he-string-member, he-reset-string, he-substitute-string): Declare.
7912 * eshell/em-ls.el: Adjust requires.
7913 (eshell-glob-regexp): Declare.
7914 * eshell/em-tramp.el: Adjust requires.
7915 (eshell-parse-command): Autoload.
7916 * eshell/em-xtra.el: Adjust requires.
7917 (eshell-parse-command): Autoload.
7918 * eshell/esh-ext.el: Adjust requires.
7919 (eshell-parse-command, eshell-close-handles): Autoload.
7920 * eshell/esh-io.el: Adjust requires.
7921 (eshell-output-filter): Autoload.
7922 * eshell/esh-util.el: No need to load tramp when compiling.
7923 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7925 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7926 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7927 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7928 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7929 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7930 * eshell/esh-opt.el, eshell/esh-proc.el:
7931 * eshell/esh-var.el: Adjust requires.
7932 * eshell/eshell.el: Do not require esh-util twice.
7933 (eshell-add-input-to-history): Declare.
7934 (eshell-command): Check history module is active before using it.
7936 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7938 2013-05-22 Leo Liu <sdl.web@gmail.com>
7940 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7942 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7944 * autorevert.el (auto-revert-notify-add-watch)
7945 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7946 it indicates changes in file modification time.
7948 2013-05-22 Glenn Morris <rgm@gnu.org>
7950 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7951 Always delete the autoloaded function from the noruntime and
7952 unresolved functions lists.
7954 * allout.el: No need to load epa, epg, overlay when compiling.
7955 (epg-context-set-passphrase-callback, epg-list-keys)
7956 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7957 (epg-key-user-id-list): Declare.
7959 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7960 (viper-set-parsing-style-toggling-macro)
7961 (viper-set-emacs-state-searchstyle-macros):
7962 Use called-interactively-p on Emacs.
7963 (viper-looking-back): Make it an obsolete alias. Update callers.
7964 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7965 Use looking-back rather than viper-looking-back.
7966 (viper-tmp-insert-at-eob, viper-enlarge-region)
7967 (viper-read-string-with-history, viper-register-to-point)
7968 (viper-append-to-register, viper-change-state-to-vi)
7969 (viper-backward-char-carefully, viper-forward-char-carefully)
7970 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7971 (viper-change-state-to-emacs): Declare.
7972 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7973 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7974 * emulation/viper-mous.el: Do not load viper-cmd.
7975 (viper-backward-char-carefully, viper-forward-char-carefully)
7976 (viper-forward-word, viper-adjust-window): Declare.
7978 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7980 * progmodes/idlw-help.el (idlwave-help-fontify):
7981 Use called-interactively-p.
7983 * term/w32console.el (w32-get-console-codepage)
7984 (w32-get-console-output-codepage): Declare.
7986 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7987 Remove unnecessary declarations.
7988 (dframe-message): Doc fix.
7990 * info.el (dframe-select-attached-frame, dframe-current-frame):
7993 * speedbar.el (speedbar-message): Make it an obsolete alias.
7995 (speedbar-with-attached-buffer)
7996 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7997 (speedbar-with-writable): Use backquote.
7998 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7999 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8000 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8001 rather than speedbar- aliases.
8002 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8003 (speedbar-make-specialized-keymap, speedbar-insert-button)
8004 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8005 (speedbar-do-function-pointer): Declare.
8006 (rmail-speedbar-button, rmail-speedbar-find-file)
8007 (rmail-speedbar-move-message):
8008 Use dframe-with-attached-buffer rather than speedbar- alias.
8009 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8010 (dframe-message, speedbar-make-specialized-keymap)
8011 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8012 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8013 (speedbar-insert-button, dframe-select-attached-frame)
8014 (dframe-maybee-jump-to-attached-frame)
8015 (speedbar-change-initial-expansion-list)
8016 (speedbar-previously-used-expansion-list-name): Declare.
8017 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8018 Use dframe-message, dframe-with-attached-buffer rather than
8020 (gud-sentinel): Silence compiler.
8021 * progmodes/vhdl-mode.el (speedbar-refresh)
8022 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8023 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8024 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8025 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8026 (speedbar-file-lists, speedbar-make-tag-line)
8027 (speedbar-line-directory, speedbar-goto-this-file)
8028 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8029 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8030 (speedbar-make-button, speedbar-reset-scanners)
8031 (speedbar-files-item-info, speedbar-line-text)
8032 (speedbar-find-file-in-frame, speedbar-set-timer)
8033 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8034 (speedbar-with-writable): Do not (re)define it.
8035 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8036 rather than speedbar- alias.
8038 2013-05-21 Leo Liu <sdl.web@gmail.com>
8040 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8042 (octave-mode): Tweak fill-nobreak-predicate.
8043 (inferior-octave-startup): Check process to avoid infinite loop.
8044 (inferior-octave): Pop to buffer first to show abornmal process
8047 2013-05-21 Glenn Morris <rgm@gnu.org>
8049 * printing.el (pr-menu-bar): Define when compiling.
8051 2013-05-21 Leo Liu <sdl.web@gmail.com>
8053 * progmodes/octave.el (octave-auto-fill): Remove.
8054 (octave-indent-new-comment-line): Improve.
8055 (octave-mode): Use auto fill mode through
8056 comment-line-break-function and fill-nobreak-predicate.
8057 (octave-goto-function-definition): Support DEFUN_DLD.
8058 (octave-beginning-of-defun): Small tweak.
8059 (octave-help): Show parent directory.
8061 2013-05-21 Glenn Morris <rgm@gnu.org>
8063 * files.el (dired-unmark):
8064 * progmodes/gud.el (gdb-input): Update declarations.
8066 * calculator.el (electric, ehelp): No need to load when compiling.
8067 (Electric-command-loop, electric-describe-mode): Declare.
8069 * doc-view.el (doc-view-current-converter-processes): Move before use.
8071 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8072 Move MODE-set-explicitly definition before use.
8074 * international/mule-diag.el (mule-diag):
8075 Don't use obsolete window-system-version.
8077 * mail/feedmail.el (smtpmail): No need to load when compiling.
8078 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8080 * mail/mail-utils.el (rfc822): No need to load when compiling.
8081 (rfc822-addresses): Autoload it.
8082 (mail-strip-quoted-names): Trivial simplification.
8084 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8085 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8087 * net/snmp-mode.el (tempo): Don't duplicate requires.
8089 * progmodes/prolog.el (info): No need to load when compiling.
8090 (comint): Require before shell requires it.
8091 (Info-goto-node): Autoload it.
8092 (Info-follow-nearest-node): Declare.
8093 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8095 * textmodes/artist.el (picture-mode-exit): Declare.
8097 * textmodes/reftex-parse.el (reftex-parse-from-file):
8098 Trivial rewrite so the compiler can parse it better.
8100 2013-05-20 Leo Liu <sdl.web@gmail.com>
8102 * progmodes/octave.el (octave-help-mode-map)
8103 (octave-help-mode-finish-hook): New variables.
8104 (octave-help-mode, octave-help-mode-finish): New functions.
8105 (octave-help): Use octave-help-mode.
8107 2013-05-20 Glenn Morris <rgm@gnu.org>
8109 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8111 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8113 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8114 start at point, so that expansion starting right after opening
8115 slash in a regexp is recognized.
8116 (ruby-syntax-before-regexp-re): New defvar, extracted from
8117 ruby-syntax-propertize-function. Since the value of this regexp
8118 is looked up at runtime now, we should be able to turn
8119 `ruby-syntax-methods-before-regexp' into a defcustom later.
8120 (ruby-syntax-propertize-function): Split regexp matching into two
8121 parts, for opening and closing slashes. That allows us to skip
8122 over string interpolations and support multiline regexps.
8123 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8124 for them, which calls `ruby-syntax-propertize-expansion'.
8125 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8126 call to `ruby-syntax-propertize-function'.
8127 (ruby-syntax-propertize-expansion): Extracted from
8128 `ruby-syntax-propertize-expansions'. Handles one expansion.
8129 (ruby-syntax-propertize-percent-literal): Leave point right after
8130 the percent symbol, so that the expression expansion rule can
8131 propertize the contents.
8132 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8134 (ruby-syntax-propertize-expansions): Remove.
8136 2013-05-18 Juri Linkov <juri@jurta.org>
8138 * man.el (Man-default-man-entry): Remove `-' from the end
8139 of the default value. (Bug#14400)
8141 2013-05-18 Glenn Morris <rgm@gnu.org>
8143 * comint.el (comint-password-prompt-regexp):
8144 Allow "password for XXX" where XXX contains colons (eg https://...).
8146 2013-05-18 Leo Liu <sdl.web@gmail.com>
8148 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8149 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8150 (octave-source-directories): Don't check process.
8151 (octave-source-directories, octave-find-definition): Doc fix.
8153 2013-05-18 Glenn Morris <rgm@gnu.org>
8155 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8156 Remove backspace/delete bindings. (Bug#14392)
8158 * cus-dep.el (custom-make-dependencies): Sort the output.
8159 (custom-versions-load-alist): Convert comment to doc.
8161 2013-05-17 Leo Liu <sdl.web@gmail.com>
8163 * newcomment.el (comment-search-backward): Stricter in finding
8164 comment start. (Bug#14303)
8166 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8167 (octave-comment-start-skip): Properly anchored.
8169 2013-05-17 Leo Liu <sdl.web@gmail.com>
8171 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8172 Clean up when turned off. (Bug#14395)
8173 (smie--highlight-matching-block-overlay): No longer buffer-local.
8174 (smie-highlight-matching-block): Adjust.
8176 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8178 Doc string fix for "nanoseconds" (Bug#14406).
8179 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8180 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8182 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8184 * calc/calc-units.el (math-extract-units): Preserve powers
8187 2013-05-17 Leo Liu <sdl.web@gmail.com>
8189 * subr.el (delete-consecutive-dups): New function.
8190 * ido.el (ido-set-matches-1): Use it.
8191 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8192 * ido.el (ido-remove-consecutive-dups): Remove.
8194 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8196 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8197 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8198 regexp-opt's `words'.
8200 2013-05-16 Leo Liu <sdl.web@gmail.com>
8202 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8203 (smie--highlight-matching-block-overlay)
8204 (smie--highlight-matching-block-lastpos)
8205 (smie--highlight-matching-block-timer): New variables.
8206 (smie-highlight-matching-block): New function.
8207 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8208 (smie-setup): Conditionally enable smie-blink-matching-open.
8210 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8212 Sync with upstream verilog-mode r840.
8213 * progmodes/verilog-mode.el (verilog-mode-version)
8214 (verilog-mode-release-date): Update.
8215 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8216 (verilog-sig-tieoff): Fix string error on
8217 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8218 (verilog-read-decls): Fix parameters confusing
8219 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8221 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8223 * subr.el (reveal-filename): New function.
8225 * loadup.el: Compute Emacs executable versions on MS-Windows,
8226 where executables have the .exe extension. Add a hard link
8227 emacs-XX.YY.ZZ.exe on MS-Windows.
8229 * Makefile.in (XARGS_LIMIT): New variable.
8230 (custom-deps, finder-data, autoloads)
8231 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8232 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8233 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8234 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8236 2013-05-16 Leo Liu <sdl.web@gmail.com>
8238 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8239 (octave-mode-menu, octave-mode-map): Remove its uses.
8241 2013-05-16 Reto Zimmermann <reto@gnu.org>
8243 Sync with upstream vhdl mode v3.34.2.
8244 * progmodes/vhdl-mode.el: Use `push' throughout.
8245 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8246 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8247 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8248 (vhdl-actual-generic-name): New option to derive actual generic name.
8249 (vhdl-port-paste-signals): Replace formal by actual generics.
8250 (vhdl-beautify): New name for old group vhdl-align. Update users.
8251 (vhdl-beautify-options): New option.
8252 (vhdl-last-input-event): New compat alias. Use throughout.
8253 (vhdl-goto-line): Replace user level function `goto-line'.
8254 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8255 vhdl-fix-statement-buffer.
8256 (vhdl-create-mode-menu): Add some entries.
8257 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8258 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8259 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8260 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8261 to force statements on one line.
8262 (vhdl-remove-trailing-spaces-region):
8263 New, split from vhdl-remove-trailing-spaces.
8264 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8265 Respect vhdl-beautify-options.
8266 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8267 (vhdl-update-sensitivity-list): Not add with index if exists without.
8268 Not include array index with signal. Ignore keywords in comments.
8269 (vhdl-get-visible-signals): Regexp tweaks.
8270 (vhdl-template-component-inst): Handle empty library.
8271 (vhdl-template-type): Add template for 'enum' type.
8272 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8273 Use vhdl-replace-string.
8274 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8275 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8276 (vhdl-speedbar-initialize): Update for above name change.
8277 (vhdl-compose-wire-components): Fix in handling of constants.
8278 (vhdl-error-regexp-emacs-alist): New variable.
8279 (vhdl-error-regexp-add-emacs): New function;
8280 adds support for new compile.el (Emacs 22+)
8281 (vhdl-generate-makefile-1): Change target order for single lib. units.
8282 Allow use of absolute file names.
8284 2013-05-16 Leo Liu <sdl.web@gmail.com>
8286 * simple.el (prog-indent-sexp): Indent enclosing defun.
8288 2013-05-15 Glenn Morris <rgm@gnu.org>
8290 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8291 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8292 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8293 (whitespace-highlight): Move to whitespace group.
8295 * comint.el (comint-source):
8296 * pcmpl-linux.el (pcmpl-linux):
8297 * shell.el (shell-faces):
8298 * eshell/esh-opt.el (eshell-opt):
8299 * international/ccl.el (ccl): Remove empty custom groups.
8301 * completion.el (dynamic-completion-mode):
8302 * jit-lock.el (jit-lock-debug-mode):
8303 * minibuffer.el (completion-in-region-mode):
8304 * type-break.el (type-break-mode-line-message-mode)
8305 (type-break-query-mode):
8306 * emulation/tpu-edt.el (tpu-edt-mode):
8307 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8308 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8309 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8311 * term/xterm.el (xterm): Change parent group to terminals.
8313 * master.el (master): Remove empty custom group.
8314 (master-mode): Remove unused :group argument.
8315 * textmodes/refill.el (refill): Remove empty custom group.
8316 (refill-mode): Remove unused :group argument.
8318 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8320 * cus-dep.el: Provide a feature.
8321 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8322 Don't mistakenly ignore files whose basenames match a basename
8323 from preloaded-file-list (eg cedet/ede/simple.el).
8324 Add a fallback method for getting :group.
8326 2013-05-15 Juri Linkov <juri@jurta.org>
8328 * isearch.el (isearch-char-by-name): Rename from
8329 `isearch-insert-char-by-name'. Doc fix.
8330 (isearch-forward): Mention `isearch-char-by-name' in
8331 the docstring. (Bug#13348)
8333 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8334 `exit-minibuffer' instead of
8335 `isearch-nonincremental-exit-minibuffer'.
8336 (isearch-edit-string): Remove mention of
8337 `isearch-nonincremental-exit-minibuffer' from docstring.
8338 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8339 (isearch-forward-exit-minibuffer)
8340 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8342 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * loadup.el: Just use unversioned DOC.
8346 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8347 literals as extending to EOB.
8348 (nxml-last-fontify-end): Remove unused variable.
8349 (nxml-after-change1): Use with-silent-modifications.
8350 (nxml-extend-after-change-region): Simplify.
8351 (nxml-extend-after-change-region1): Remove function.
8352 (nxml-after-change1): Don't adjust for dependent regions.
8353 (nxml-fontify-matcher): Simplify.
8354 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8355 (xmltok-add-dependent): Remove function.
8356 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8357 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8358 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8359 unclosed <[[, <?, comment, and other literals as extending to EOB.
8360 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8361 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8363 (rng-do-some-validation-1): Don't mark dependent regions.
8364 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8365 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8366 (nxml-clear-dependent-regions): Remove functions.
8367 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8368 (nxml-ensure-scan-up-to-date):
8369 Don't clear&mark dependent regions.
8371 2013-05-15 Leo Liu <sdl.web@gmail.com>
8373 * progmodes/octave.el (octave-goto-function-definition):
8374 Improve and fix callers.
8376 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8379 the setter (bug#14387).
8381 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8382 surrounding group (bug#14402).
8384 2013-05-14 Juri Linkov <juri@jurta.org>
8386 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8389 2013-05-14 Glenn Morris <rgm@gnu.org>
8391 * progmodes/f90.el (f90-imenu-generic-expression):
8392 Fix typo in 2013-05-08 change. (Bug#14402)
8394 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8396 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8397 Remove signals for which replies are never received.
8399 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8401 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8402 (gdb-handler-alist, gdb-handler-number): Remove variables.
8403 (gdb-handler-list): New variable.
8404 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8405 (gdb-pending-handler-p, gdb-handle-reply)
8406 (gdb-remove-all-pending-triggers): New functions.
8407 (gdb-discard-unordered-replies): New defcustom.
8408 (gdb-handler): New defstruct.
8409 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8410 instead of gdb-pending-triggers. Update docstring.
8411 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8412 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8413 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8414 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8415 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8416 (gdb-frame-handler): Pending triggers are now automatically managed.
8417 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8419 (gdb-input): Automatically handles pending triggers. Update docstring.
8420 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8421 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8423 (gdb-done-or-error): Now use gdb-handle-reply.
8425 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8427 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8430 2013-05-14 Glenn Morris <rgm@gnu.org>
8432 * subr.el (user-emacs-directory-warning): New option.
8433 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8435 2013-05-14 Leo Liu <sdl.web@gmail.com>
8437 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8439 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8440 (octave-font-lock-texinfo-comment): Fix invalid search bound
8441 error: wrong side of point.
8443 2013-05-14 Glenn Morris <rgm@gnu.org>
8445 * progmodes/flymake.el (flymake-xml-program): New option.
8446 (flymake-xml-init): Use it.
8448 * term/xterm.el: Provide a feature.
8450 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8452 2013-05-13 Glenn Morris <rgm@gnu.org>
8454 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8455 Add compat aliases as a hack workaround. (Bug#14384)
8457 2013-05-13 Leo Liu <sdl.web@gmail.com>
8459 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8461 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8463 (octave-comment-start-skip): Include %!.
8464 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8466 2013-05-12 Leo Liu <sdl.web@gmail.com>
8468 * progmodes/octave.el (inferior-octave-startup): Store the value
8469 of __octave_srcdir__ for octave-source-directories.
8470 (inferior-octave-check-process): New function refactored out of
8471 inferior-octave-send-list-and-digest.
8472 (octave-source-directories)
8473 (octave-find-definition-filename-function): New variables.
8474 (octave-source-directories)
8475 (octave-find-definition-default-filename): New functions.
8476 (octave-find-definition): Improve to find functions implemented in C++.
8478 2013-05-12 Glenn Morris <rgm@gnu.org>
8480 * calendar/diary-lib.el (diary-outlook-format-1):
8481 Don't include dayname in the output. (Bug#14349)
8483 2013-05-11 Glenn Morris <rgm@gnu.org>
8485 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8487 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8488 Treat cc-provide like provide.
8490 2013-05-11 Kevin Ryde <user42@zip.com.au>
8492 * cus-dep.el (custom-make-dependencies):
8493 Use generated-autoload-load-name for the sake of files such
8494 such cedet/semantic/bovine/c.el, where the base file name
8495 is not in load-path. (Bug#5277)
8497 2013-05-11 Glenn Morris <rgm@gnu.org>
8499 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8502 2013-05-11 Leo Liu <sdl.web@gmail.com>
8504 * progmodes/octave.el (octave-indent-comment): Improve.
8505 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8506 (octave-eldoc-function-signatures, octave-eldoc-function):
8508 (octave-mode, inferior-octave-mode): Add eldoc support.
8510 2013-05-11 Richard Stallman <rms@gnu.org>
8512 * epa.el (epa-decrypt-file): Take output file name as argument
8513 and read it using `interactive'.
8515 2013-05-11 Leo Liu <sdl.web@gmail.com>
8517 * progmodes/octave.el (octave-beginning-of-line)
8518 (octave-end-of-line): Check before using up-list because it jumps
8519 out of more syntactic contructs since moving to smie.
8520 (octave-indent-comment): New function.
8521 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8522 (octave-begin-keywords, octave-end-keywords)
8523 (octave-reserved-words, octave-smie-bnf-table)
8524 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8526 2013-05-11 Glenn Morris <rgm@gnu.org>
8528 * faces.el (internal-face-x-get-resource):
8529 * frame.el (ns-display-monitor-attributes-list):
8530 * calc/calc-aent.el (math-to-radians-2):
8531 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8534 * calc/calc-menu.el: Make it loadable in isolation.
8536 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8537 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8538 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8539 (eudc-bbdb-query-internal): Require 'bbdb.
8541 * lpr.el (lpr-headers-switches):
8542 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8544 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8546 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8548 * term.el (term-set-escape-char): Make it idempotent.
8550 2013-05-10 Leo Liu <sdl.web@gmail.com>
8552 * progmodes/octave.el (inferior-octave-completion-table):
8553 No longer a function and all uses changed. Use cache to speed up
8554 completion due to bug#11906.
8555 (octave-beginning-of-defun): Re-write to be more general.
8557 2013-05-10 Glenn Morris <rgm@gnu.org>
8559 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8561 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8563 * comint.el (comint-redirect-send-command-to-process): Use :around
8564 rather than :override for comint-redirect-filter.
8565 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8566 Call it instead of comint-redirect-original-filter-function (which
8567 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8569 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8571 * frame.el (display-monitor-attributes-list): Add NS case.
8572 (ns-display-monitor-attributes-list): Declare.
8574 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8576 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8578 2013-05-09 Glenn Morris <rgm@gnu.org>
8580 * international/fontset.el (vertical-centering-font-regexp):
8583 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8585 * bookmark.el (bookmark-search-delay):
8586 * cus-start.el (vertical-centering-font-regexp):
8587 * ps-mule.el (ps-mule-font-info-database-default):
8588 * ps-print.el (ps-default-fg, ps-default-bg):
8589 * type-break.el (type-break-good-break-interval):
8590 * whitespace.el (whitespace-indentation-regexp)
8591 (whitespace-space-after-tab-regexp):
8592 * emacs-lisp/testcover.el (testcover-1value-functions)
8593 (testcover-noreturn-functions, testcover-progn-functions)
8594 (testcover-prog1-functions):
8595 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8596 * eshell/em-glob.el (eshell-glob-translate-alist):
8597 * play/tetris.el (tetris-tty-colors):
8598 * progmodes/cpp.el (cpp-face-default-list):
8599 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8600 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8601 (idlwave-help-browser-generic-args):
8602 * progmodes/make-mode.el (makefile-special-targets-list):
8603 * progmodes/python.el (python-shell-virtualenv-path):
8604 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8605 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8606 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8607 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8608 * textmodes/reftex-vars.el (reftex-format-label-function):
8609 * textmodes/remember.el (remember-diary-file): Fix custom types.
8611 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8614 2013-05-09 Leo Liu <sdl.web@gmail.com>
8616 * progmodes/octave.el (inferior-octave-completion-at-point):
8617 Restore file completion. (Bug#14300)
8618 (inferior-octave-startup): Fix incorrect highlighting for the
8621 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * progmodes/ruby-mode.el: First cut at SMIE support.
8624 (ruby-use-smie): New var.
8625 (ruby-smie-grammar): New constant.
8626 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8627 (ruby-smie--forward-token, ruby-smie--backward-token)
8628 (ruby-smie-rules): New functions.
8629 (ruby-mode-variables): Setup SMIE if applicable.
8631 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8633 * simple.el (line-move-visual): Signal beginning/end of buffer
8634 only if vertical-motion moved less than it was requested. Avoids
8635 silly incorrect error messages when there are display strings with
8636 multiple newlines at EOL.
8638 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8641 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8642 (prolog-char-quote-workaround):
8643 * progmodes/cperl-mode.el (cperl-under-as-char):
8644 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8646 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8648 (vhdl-mode-syntax-table-init): Remove.
8650 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8653 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8655 (ld-script-font-lock-keywords):
8656 Change regexps to use things like \_< and \_>.
8658 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8659 Change all regexps to use things like \_< and \_>.
8661 * progmodes/autoconf.el (autoconf-definition-regexp)
8662 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8663 Handle a _ with symbol syntax.
8664 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8666 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8667 Consolidate declaration.
8668 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8670 (ada-create-syntax-table): Remove.
8671 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8672 already has the right syntax nowadays.
8673 (ada-goto-next-word): Don't change the syntax of "_".
8675 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8678 2013-05-08 Sam Steingold <sds@gnu.org>
8680 * thingatpt.el (thing-at-point): Accept optional second argument
8681 NO-PROPERTIES to strip the text properties from the return value.
8682 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8683 to `thing-at-point' instead of stripping the properties ourselves.
8684 Also, when `thing-at-point' fails to find a url, prepend "http://"
8685 to the filename at point on the assumption that the user is
8686 pointing at something like gnu.org/gnu.
8688 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8690 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8691 * faces.el (crm-separator):
8692 Silence byte-compiler.
8694 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8695 (tool-bar-map): Remove unneeded defvars.
8697 2013-05-08 Leo Liu <sdl.web@gmail.com>
8699 Re-work a fix for bug#10994 based on Le Wang's patch.
8700 * ido.el (ido-remove-consecutive-dups): New helper.
8701 (ido-completing-read): Use it.
8702 (ido-chop): Revert fix for bug#10994.
8704 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8706 * cus-edit.el (custom-save-variables):
8707 Pretty-print long values. (Bug#14187)
8709 2013-05-08 Glenn Morris <rgm@gnu.org>
8711 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8712 (m4-mode-syntax-table): Init in the defvar.
8713 (m4-mode-abbrev-table): Let define-derived-mode define it.
8715 2013-05-08 Tom Tromey <tromey@redhat.com>
8717 * progmodes/m4-mode.el (m4-mode-syntax-table):
8718 Do not treat "_" as word constituent. (Bug#14167)
8720 2013-05-07 Glenn Morris <rgm@gnu.org>
8722 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8723 Remove explicit eshell-isearch-cancel-map.
8725 * progmodes/f90.el (f90-smart-end-names): New option.
8726 (f90-smart-end): Doc fix.
8727 (f90-end-block-optional-name): New constant.
8728 (f90-block-match): Respect f90-smart-end-names.
8730 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8733 about implicit semi-colons (bug#14218).
8735 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8737 * frame.el (display-monitor-attributes-list)
8738 (frame-monitor-attributes): New functions.
8740 2013-05-06 Leo Liu <sdl.web@gmail.com>
8742 * progmodes/octave.el (octave-syntax-propertize-function): Change
8743 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8744 (octave-font-lock-keywords): Use octave-operator-regexp.
8745 (octave-completion-at-point): Rename from
8746 octave-completion-at-point-function.
8747 (inferior-octave-directory-tracker): Robustify.
8748 (octave-text-functions): Remove and fix its uses. No such things
8751 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * emacs-lisp/trace.el (trace--display-buffer): New function.
8754 (trace-make-advice): Use it.
8756 2013-05-06 Juri Linkov <juri@jurta.org>
8758 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8759 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8761 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8762 in the help string. (Bug#12985)
8764 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8766 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8768 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8770 * progmodes/perl-mode.el: Add support for here documents.
8771 (perl-syntax-propertize-function): Match here-doc markers.
8772 (perl-syntax-propertize-special-constructs): Find their end.
8773 (perl-imenu-generic-expression): Use [:alnum:].
8775 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8776 (advice--add-function): Refresh the advice if already present
8779 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8781 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8783 2013-05-06 Glenn Morris <rgm@gnu.org>
8785 * w32-fns.el (w32-charset-info-alist): Declare.
8787 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8788 of its defcustom properties.
8789 (eshell-cmpl-initialize): No need to load pcomplete.
8791 * generic-x.el: No need to require comint when compiling.
8793 * net/eudc-export.el: Make it loadable without bbdb.
8794 (top-level): Use require rather than load-library.
8795 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8796 (eudc-batch-export-records-to-bbdb)
8797 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8800 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8802 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8803 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8804 some tweaks, instead.
8806 2013-05-05 Leo Liu <sdl.web@gmail.com>
8808 * progmodes/octave.el (octave-font-lock-keywords)
8809 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8810 (inferior-octave-send-list-and-digest): Improve error message.
8811 (octave-mode, inferior-octave-mode): Use setq-local.
8812 (octave-help): Set info-lookup-mode.
8814 2013-05-05 Richard Stallman <rms@gnu.org>
8816 * vc/compare-w.el (compare-windows-whitespace):
8817 Treat no-break space as whitespace.
8819 * mail/rmailsum.el (rmail-summary-rmail-update):
8820 Detect empty summary and don't change selected message.
8821 (rmail-summary-goto-msg): Likewise.
8823 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8824 Doc fixes, rename args.
8826 2013-05-05 Alan Mackenzie <acm@muc.de>
8828 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8830 2013-05-05 Juri Linkov <juri@jurta.org>
8832 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8833 to not add the length of the summary segment to the return value.
8836 2013-05-05 Leo Liu <sdl.web@gmail.com>
8838 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8839 (inferior-octave-output-filter): Remove.
8840 (octave-send-region, inferior-octave-startup): Fix callers.
8841 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8842 (octave-binary-file-extensions): New user variable.
8843 (octave-find-definition): Confirm if opening binary files.
8844 (octave-help-file): Use octave-find-definition to get the binary
8846 (octave-help): Adjust for octave-help-file change.
8848 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8851 Merge the two entries that handle function definitions.
8852 (pascal--syntax-propertize): New const.
8853 (pascal-mode): Use it. Use setq-local.
8855 2013-05-04 Glenn Morris <rgm@gnu.org>
8857 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8858 (diary-from-outlook): Respect diary-from-outlook-function.
8860 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8862 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8863 Move the declaration from C.
8864 (read-minibuffer, eval-minibuffer): Move from C.
8865 (completion-setup-function): Avoid minibuffer-completion-contents.
8867 2013-05-03 Leo Liu <sdl.web@gmail.com>
8869 * progmodes/octave.el (octave-font-lock-keywords): Do not
8870 dehighlight 'end' in comments or strings.
8871 (octave-completing-read, octave-goto-function-definition):
8873 (octave-help-buffer): New user variable.
8874 (octave-help-file, octave-help-function): New button types.
8875 (octave-help): New command and bind it to C-h ;.
8876 (octave-find-definition): New command and bind it to M-.
8877 (user-error): Alias to error if not defined.
8879 2013-05-02 Leo Liu <sdl.web@gmail.com>
8881 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8883 (octave-font-lock-keywords): Include [ and {.
8885 2013-05-02 Leo Liu <sdl.web@gmail.com>
8887 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8888 (inferior-octave): Remove calling comint-mode and return the buffer.
8889 (inferior-octave-startup): Cosmetic changes.
8891 2013-05-02 Leo Liu <sdl.web@gmail.com>
8893 * progmodes/octave.el (octave-syntax-propertize-function):
8894 Include the case when ' is at line beginning. (Bug#14336)
8896 2013-05-02 Glenn Morris <rgm@gnu.org>
8898 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8899 * desktop.el (vc-dir-mode): Just autoload it here.
8901 2013-05-02 Alan Mackenzie <acm@muc.de>
8903 Eliminate variable c-standard-font-lock-fontify-region-function.
8904 * progmodes/cc-mode.el
8905 (c-standard-font-lock-fontify-region-function): Remove.
8906 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8908 2013-05-01 Leo Liu <sdl.web@gmail.com>
8910 * progmodes/octave.el: Compatible with older emacs-24 releases.
8911 (inferior-octave-has-built-in-variables): Remove. Built-in
8912 variables were removed from Octave in 2007.
8913 (inferior-octave-startup): Fix uses.
8914 (comint-line-beginning-position): Remove compatibility code for
8917 2013-05-01 Juri Linkov <juri@jurta.org>
8919 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8921 2013-05-01 Juri Linkov <juri@jurta.org>
8923 * comint.el (comint-previous-matching-input): Don't print message
8924 "History item: %d" when `isearch-mode' is active.
8925 (comint-history-isearch-message): Print message "History item: %d"
8926 when `comint-input-ring-index' is not empty and this function is
8927 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8929 2013-05-01 Leo Liu <sdl.web@gmail.com>
8931 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8932 definitions. Use completion-at-point to insert keywords.
8933 (octave-abbrev-start): Remove.
8934 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8936 2013-04-30 Leo Liu <sdl.web@gmail.com>
8938 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8941 2013-04-30 Alan Mackenzie <acm@muc.de>
8943 Handle arbitrarily long C++ member initialisation lists.
8944 * progmodes/cc-engine.el (c-back-over-member-initializers):
8946 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8947 (most) member init lists.
8949 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8951 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8954 2013-04-30 Leo Liu <sdl.web@gmail.com>
8956 * progmodes/octave.el (octave-variables): Remove. No builtin
8957 variables any more. All converted to functions.
8958 (octave-font-lock-keywords, octave-completion-at-point-function):
8960 (octave-font-lock-texinfo-comment): New user variable.
8961 (octave-texinfo-font-lock-keywords): New variable for texinfo
8963 (octave-function-comment-block): New face.
8964 (octave-font-lock-texinfo-comment): New function.
8965 (octave-mode): Font lock texinfo comment block.
8967 2013-04-29 Leo Liu <sdl.web@gmail.com>
8969 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8970 indexing expression.
8971 (octave-continuation-string): Do not use \.
8972 (inferior-octave-complete-impossible): Remove.
8973 (inferior-octave-completion-table)
8974 (inferior-octave-completion-at-point): Remove its uses.
8975 (inferior-octave-startup): completion_matches was introduced to
8976 Octave in 1996 so safe to assume it.
8977 (octave-function-file-comment): Improve to follow how Octave does it.
8978 (octave-update-function-file-comment): Tweak.
8980 2013-04-29 Leo Liu <sdl.web@gmail.com>
8982 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8983 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8984 (octave-function-file-comment): Fix typo.
8985 (octave-sync-function-file-names): Use read-char-choice.
8987 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8989 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8990 to t for the less important warnings.
8992 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8994 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8996 2013-04-27 Glenn Morris <rgm@gnu.org>
8998 * vc/log-view.el (log-view-current-entry):
8999 Treat "---" separator lines as part of the following rev. (Bug#14169)
9001 2013-04-27 Juri Linkov <juri@jurta.org>
9003 * subr.el (read-number): Doc fix about using it by interactive
9004 code letter `n'. (Bug#14254)
9006 2013-04-27 Juri Linkov <juri@jurta.org>
9008 * desktop.el (desktop-auto-save-timeout): New option.
9009 (desktop-file-checksum): New variable.
9010 (desktop-save): Add optional arg `auto-save' and don't auto-save
9012 (desktop-auto-save-timer): New variable.
9013 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9014 (after-init-hook): Call `desktop-auto-save-set-timer'.
9015 Suggested by Reuben Thomas <rrt@sc3d.org> in
9016 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9018 2013-04-27 Leo Liu <sdl.web@gmail.com>
9020 * progmodes/octave.el (octave-function-file-p)
9021 (octave-skip-comment-forward, octave-function-file-comment)
9022 (octave-update-function-file-comment): New functions.
9023 (octave-mode-map): Bind C-c ; to
9024 octave-update-function-file-comment.
9025 (octave-mode-menu): Add octave-update-function-file-comment.
9026 (octave-mode, inferior-octave-mode): Fix doc-string.
9027 (octave-insert-defun): Conform to Octave's coding convention.
9030 * files.el (basic-save-buffer): Don't let errors in
9031 before-save-hook prevent saving buffer.
9033 2013-04-20 Roland Winkler <winkler@gnu.org>
9035 * faces.el (read-face-name): Use completing-read if arg multiple
9038 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9040 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9041 displayed, move point to after the totals line.
9042 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9045 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9047 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9048 Add current dir to the load-path.
9049 (package-generate-autoloads): Don't rely on
9050 autoload-ensure-default-file.
9052 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9054 * textmodes/remember.el (remember-store-in-files): Document that
9055 the file name format is passed to `format-time-string'.
9057 2013-04-26 Leo Liu <sdl.web@gmail.com>
9059 * progmodes/octave.el (octave-sync-function-file-names): New function.
9060 (octave-mode): Use it in before-save-hook.
9062 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9064 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9067 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9068 \n and comment, even if it's not an implicit ; (bug#14218).
9070 2013-04-26 Glenn Morris <rgm@gnu.org>
9072 * subr.el (read-number): Once more use `read' rather than
9073 `string-to-number', to trap non-numeric input. (Bug#14254)
9075 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9077 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9078 Use `syntax-multiline' text property consistently instead of
9079 `font-lock-multiline'. (Bug#14237)
9081 2013-04-26 Glenn Morris <rgm@gnu.org>
9083 * emacs-lisp/shadow.el (list-load-path-shadows):
9084 No longer necessary to check for duplicate simple.el, since
9085 2012-07-07 change to init_lread to not include installation lisp
9086 directories in load-path when running uninstalled. (Bug#14270)
9088 2013-04-26 Leo Liu <sdl.web@gmail.com>
9090 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9091 (octave-mode, inferior-octave-mode): Use setq-local.
9092 (octave-not-in-string-or-comment-p): Rename to
9093 octave-in-string-or-comment-p.
9094 (octave-in-comment-p, octave-in-string-p)
9095 (octave-in-string-or-comment-p): Replace defsubst with defun.
9097 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9099 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9101 2013-04-25 Bastien Guerry <bzg@gnu.org>
9103 * textmodes/remember.el (remember-data-directory)
9104 (remember-directory-file-name-format): Fix custom types.
9106 2013-04-25 Leo Liu <sdl.web@gmail.com>
9108 * progmodes/octave.el (octave-completion-at-point-function):
9109 Make use of inferior octave process.
9110 (octave-initialize-completions): Remove.
9111 (inferior-octave-completion-table): New function.
9112 (inferior-octave-completion-at-point): Use it.
9113 (octave-completion-alist): Remove.
9115 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9117 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9118 (opascal-mode-syntax-table): New var.
9119 (opascal-literal-kind, opascal-is-literal-end)
9120 (opascal-literal-token-at): Rewrite.
9121 (opascal--literal-start-re, opascal-font-lock-keywords)
9122 (opascal--syntax-propertize): New constants.
9123 (opascal-font-lock-defaults): Adjust.
9124 (opascal-mode): Use them. Set comment-<foo> variables as well.
9125 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9126 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9127 (delphi-other-face, opascal-other-face): Remove face variables.
9128 (opascal-save-state): Remove macro.
9129 (opascal-fontifying-progress-step): Remove constant.
9130 (opascal--ignore-changes): Remove var.
9131 (opascal-set-token-property, opascal-parse-next-literal)
9132 (opascal-is-stable-literal, opascal-complete-literal)
9133 (opascal-is-literal-start, opascal-face-of)
9134 (opascal-parse-region, opascal-parse-region-until-stable)
9135 (opascal-fontify-region, opascal-after-change)
9136 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9137 (opascal-debug-parse-region, opascal-debug-parse-window)
9138 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9139 (opascal-debug-fontify-buffer): Remove.
9140 (opascal-debug-mode-map): Adjust accordingly.
9142 2013-04-25 Leo Liu <sdl.web@gmail.com>
9144 Merge octave-mod.el and octave-inf.el into octave.el with some
9146 * progmodes/octave.el: New file renamed from octave-mod.el.
9147 * progmodes/octave-inf.el: Merged into octave.el.
9148 * progmodes/octave-mod.el: Renamed to octave.el.
9150 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9152 * textmodes/reftex-vars.el
9153 (reftex-label-ignored-macros-and-environments): New defcustom.
9155 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9157 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9160 (smie-indent-keyword): Improve the check to ensure that the next
9161 comment is really on the same line.
9162 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9164 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9165 semi-colons if the line is not otherwise empty (bug#14218).
9167 2013-04-25 Glenn Morris <rgm@gnu.org>
9169 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9171 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9173 * progmodes/opascal.el (opascal-set-token-property): Rename from
9174 opascal-set-text-properties and only set `token' (bug#14134).
9175 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9176 (opascal-literal-text-properties): Remove.
9177 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9180 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9182 * textmodes/remember.el (remember-handler-functions): Add an
9183 option for a new handler `remember-store-in-files'.
9184 (remember-data-directory, remember-directory-file-name-format):
9186 (remember-store-in-files): New function to store remember notes
9187 as separate files within a directory.
9189 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9191 * progmodes/compile.el (compilation-next-error-function):
9192 Pass "formats" to compilation-find-file (bug#11777).
9194 2013-04-24 Glenn Morris <rgm@gnu.org>
9196 * vc/vc-bzr.el (vc-bzr-print-log):
9197 * vc/vc-hg.el (vc-hg-print-log):
9198 * vc/vc-svn.el (vc-svn-print-log):
9199 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9201 * vc/vc-bzr.el (vc-bzr-print-log):
9202 * vc/vc-cvs.el (vc-cvs-print-log):
9203 * vc/vc-git.el (vc-git-print-log):
9204 * vc/vc-hg.el (vc-hg-print-log):
9205 * vc/vc-mtn.el (vc-mtn-print-log):
9206 * vc/vc-rcs.el (vc-rcs-print-log):
9207 * vc/vc-sccs.el (vc-sccs-print-log):
9208 * vc/vc-svn.el (vc-svn-print-log):
9209 * vc/vc.el (vc-print-log-internal): Doc fixes.
9211 2013-04-23 Glenn Morris <rgm@gnu.org>
9213 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9214 Remove venerable code attempting to avoid substitute-command-keys.
9216 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9218 * textmodes/reftex-vars.el (reftex-label-regexps):
9219 Call `reftex-compile-variables' after changes to this variable.
9221 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9223 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9224 Use lexical-binding.
9225 (jit-lock-force-redisplay): Use markers, check buffer's continued
9226 existence and beware narrowed buffers.
9227 (jit-lock-fontify-now): Adjust call accordingly.
9229 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9232 to avoid misleading the user.
9234 2013-04-22 Leo Liu <sdl.web@gmail.com>
9236 * info-look.el: Prefer latex2e.info. (Bug#14240)
9238 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9240 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9242 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9243 * net/tramp.el (tramp-call-process): ... here.
9244 (tramp-set-completion-function, tramp-parse-putty):
9245 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9246 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9247 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9248 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9249 (tramp-call-local-coding-command): Use `tramp-call-process'
9250 instead of `tramp-compat-call-process'.
9252 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9253 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9254 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9255 (tramp-find-inline-compress): Improve traces.
9256 (tramp-maybe-send-script): Check for Perl binary.
9257 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9259 2013-04-22 Daiki Ueno <ueno@gnu.org>
9261 * epg.el (epg-context-pinentry-mode): New function.
9262 (epg-context-set-pinentry-mode): New function.
9263 (epg--start): Pass --pinentry-mode option to gpg command.
9265 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9267 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9268 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9269 `completion-at-point'. (Bug#13774)
9271 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9272 default key binding for `describe-distribution' has been moved to
9273 `C-h C-o'. (Bug#13970)
9275 2013-04-21 Glenn Morris <rgm@gnu.org>
9277 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9279 (vc-print-log): Clarify interactive prompt.
9281 2013-04-20 Glenn Morris <rgm@gnu.org>
9283 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9284 No longer include timestamp etc information.
9286 2013-04-20 Roland Winkler <winkler@gnu.org>
9288 * faces.el (read-face-name): Bug fix, return just one face if arg
9289 multiple is nil. (Bug#14209)
9291 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9293 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9294 (remove-function): Autoload.
9296 * comint.el (comint-redirect-original-filter-function): Remove.
9297 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9298 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9299 (vc-cvs-annotate-command):
9300 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9301 * progmodes/prolog.el (prolog-consult-compile):
9302 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9303 Use add/remove-function instead.
9304 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9305 (gud-tooltip-process-output, gud-tooltip-tips):
9306 Use add/remove-function instead.
9307 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9308 (scheme-interaction-mode, exit-scheme-interaction-mode):
9309 Use add/remove-function instead.
9311 * vc/vc-dispatcher.el: Use lexical-binding.
9312 (vc--process-sentinel): Rename from vc-process-sentinel.
9313 Change last arg to be the code to run. Don't use vc-previous-sentinel
9314 and vc-sentinel-commands any more.
9315 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9316 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9318 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9320 * progmodes/sh-script.el (sh-imenu-generic-expression):
9321 Handle function names with a single character. (Bug#14111)
9323 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9325 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9326 for subroutines defined in an eval (bug#14182).
9328 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9330 * bookmark.el (bookmark-completing-read): Improve handling of empty
9333 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9335 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9337 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9339 New faster Imenu implementation (bug#14058).
9340 * progmodes/python.el:
9341 (python-imenu-prev-index-position):
9342 (python-imenu-format-item-label-function)
9343 (python-imenu-format-parent-item-label-function)
9344 (python-imenu-format-parent-item-jump-label-function):
9346 (python-imenu-format-item-label)
9347 (python-imenu-format-parent-item-label)
9348 (python-imenu-format-parent-item-jump-label)
9349 (python-imenu--put-parent, python-imenu--build-tree)
9350 (python-imenu-create-index, python-imenu-create-flat-index)
9351 (python-util-popn): New functions.
9352 (python-mode): Set imenu-create-index-function to
9353 python-imenu-create-index.
9355 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9357 * winner.el (winner-active-region): Use region-active-p, activate-mark
9358 and deactivate-mark (bug#14225).
9360 * simple.el (deactivate-mark): Don't inline it.
9362 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9364 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9366 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9368 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9369 file extensions from the archive-mode entry in order to prefer
9370 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9372 2013-04-18 Leo Liu <sdl.web@gmail.com>
9374 * bindings.el (help-event-list): Add ?\?.
9376 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9378 * subr.el (with-wrapper-hook): Declare obsolete.
9379 * simple.el (filter-buffer-substring-function): New hook.
9380 (filter-buffer-substring): Use it.
9381 (filter-buffer-substring-functions): Mark obsolete.
9382 * minibuffer.el (completion-in-region-function): New hook.
9383 (completion-in-region): Use it.
9384 (completion-in-region-functions): Mark obsolete.
9385 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9386 * abbrev.el (abbrev-expand-function): New hook.
9387 (expand-abbrev): Use it.
9388 (abbrev-expand-functions): Mark obsolete.
9389 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9392 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9394 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9395 and do not care about match data.
9397 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9399 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9400 completion tables when completing error conditions and
9401 `declare' arguments.
9402 (lisp-complete-symbol, field-complete): Mark as obsolete.
9403 (check-parens): Unmatched parens are user errors.
9404 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9406 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9408 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9409 command changed buffer (ie. `flyspell-pre-buffer' is not current
9410 buffer), which prevents making decisions based on invalid value of
9411 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9412 cause an error when `flyspell-pre-point' was nil after switching
9414 (flyspell-post-command-hook): No longer needs to change buffers when
9415 checking pre-word. While at it remove unnecessary progn.
9417 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9419 * textmodes/ispell.el (ispell-add-per-file-word-list):
9420 Fix `flyspell-correct-word-before-point' error when accepting
9421 words and `coment-padding' is an integer by using
9422 `comment-normalize-vars' (Bug #14214).
9424 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9426 New defun movement commands.
9427 * progmodes/python.el (python-nav--syntactically)
9428 (python-nav--forward-defun, python-nav-backward-defun)
9429 (python-nav-forward-defun): New functions.
9431 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9433 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9434 (python-syntax-context): Use named compiler-macro for backwards
9435 compatibility with Emacs 24.x.
9437 2013-04-17 Leo Liu <sdl.web@gmail.com>
9439 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9440 octave-hide-process-buffer.
9442 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9444 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9447 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9449 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9450 Fix adjustment of offset when receiving incomplete responses from GDB
9453 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9455 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9456 python-mode-abbrev-table.
9457 (python-skeleton-define): Adjust accordingly.
9458 (python-mode-abbrev-table): New table that inherits from it so that
9459 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9461 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9462 (abbrev-symbol): Use it.
9463 (abbrev--before-point): Use it since we already handle inheritance.
9465 2013-04-16 Leo Liu <sdl.web@gmail.com>
9467 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9468 binding to info-lookup-symbol.
9470 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9472 * minibuffer.el (completion--twq-all):
9473 * term/ns-win.el (ns-initialize-window-system):
9474 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9476 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9478 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9481 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9483 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9485 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9486 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9488 (ruby-end-of-defun): Remove the unused arg, change the docstring
9489 to reflect that this function is only used as the value of
9490 `end-of-defun-function'.
9491 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9492 to reflect an earlier change that beginning/end-of-defun functions
9493 jump between methods in a class definition, as well as top-level
9496 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9498 * minibuffer.el (minibuffer-complete): Don't just scroll
9499 a *Completions* that's been iconified.
9500 (minibuffer-force-complete): Make sure repetitions do cycle when going
9501 through completion-in-region -> minibuffer-complete.
9503 2013-04-15 Alan Mackenzie <acm@muc.de>
9505 Correct the placement of c-cpp-delimiters when there're #s not at
9508 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9509 place a submatch around the #.
9510 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9511 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9514 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9516 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9517 (advice--member-p): New arg `name'.
9518 (advice--add-function, advice-member-p): Use it (bug#14202).
9520 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9522 Reformulate java imenu-generic-expression.
9523 The old expression contained ill formed regexps.
9525 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9526 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9527 (cc-imenu-java-method-arg-regexp): New defconsts.
9528 (cc-imenu-java-build-type-args-regex): New defun.
9529 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9530 handling of spaces in the regexp.
9532 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9534 * textmodes/ispell.el (ispell-command-loop): Remove
9535 flyspell highlight of a word when ispell accepts it (bug #14178).
9537 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9539 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9540 uses code from the previous `ange-ftp-run-real-handler'.
9541 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9542 only in case that function exist. This is needed for proper
9545 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9547 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9549 * textmodes/reftex.el (reftex-compile-variables): Use it.
9551 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9553 * files.el (normal-mode): Only use default major-mode if no other mode
9556 * emacs-lisp/trace.el (trace-values): New function.
9558 * files.el: Allow : in local variables (bug#14089).
9559 (hack-local-variable-regexp): New var.
9560 (hack-local-variables-prop-line, hack-local-variables): Use it.
9562 2013-04-13 Roland Winkler <winkler@gnu.org>
9564 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9565 data before it gets modified by bibtex-beginning-of-entry.
9567 2013-04-13 Roland Winkler <winkler@gnu.org>
9569 * textmodes/bibtex.el (bibtex-url): Doc fix.
9571 2013-04-13 Roland Winkler <winkler@gnu.org>
9573 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9574 does not visit a BibTeX file, exclude it from the list of buffers
9575 returned by bibtex-initialize.
9577 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9579 * window.el (split-window): Remove interactive form, since as a
9580 command this function is a special case of split-window-below.
9583 2013-04-12 Roland Winkler <winkler@gnu.org>
9585 * faces.el (read-face-name): Do not override value of arg default.
9586 Allow single faces and strings as default values. Remove those
9587 elements from return value that are not faces.
9588 (describe-face): Simplify.
9589 (face-at-point): New optional args thing and multiple so that this
9590 function can provide the same functionality previously provided by
9592 (make-face-bold, make-face-unbold, make-face-italic)
9593 (make-face-unitalic, make-face-bold-italic, invert-face)
9594 (modify-face, read-face-and-attribute): Use face-at-point.
9596 * cus-edit.el (customize-face, customize-face-other-window)
9597 * cus-theme.el (custom-theme-add-face)
9598 * face-remap.el (buffer-face-set)
9599 * facemenu.el (facemenu-set-face): Use face-at-point.
9601 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9603 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9605 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9607 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9608 off leading { and trailing } from field values.
9610 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9612 * emacs-lisp/timer.el (timer--check): New function.
9613 (timer--time, timer-set-function, timer-event-handler): Use it.
9614 (timer-set-idle-time): Simplify.
9615 (timer--activate): CSE.
9616 (timer-event-handler): Give more info in error message.
9617 (internal-timer-start-idle): New function, moved from C.
9619 * mpc.el (mpc-proc): Add `restart' argument.
9620 (mpc-proc-cmd): Use it.
9621 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9622 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9625 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9627 * progmodes/sh-script.el: Implement `sh-mode' own
9628 `add-log-current-defun-function' (bug#14112).
9629 (sh-current-defun-name): New function.
9630 (sh-mode): Use the function.
9632 2013-04-09 Bastien Guerry <bzg@gnu.org>
9634 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9636 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9638 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9640 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9643 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9645 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9648 2013-04-07 Leo Liu <sdl.web@gmail.com>
9650 * pcmpl-x.el: New file.
9652 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9654 Do not set x-display-name until X connection is established.
9655 This is needed to prevent from weird situation described at
9656 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9657 * frame.el (make-frame): Set x-display-name after call to
9658 window system initialization function, not before.
9659 * term/x-win.el (x-initialize-window-system): Add optional
9660 display argument and use it.
9661 * term/w32-win.el (w32-initialize-window-system):
9662 * term/ns-win.el (ns-initialize-window-system):
9663 * term/pc-win.el (msdos-initialize-window-system):
9664 Add compatible optional display argument.
9666 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9668 * files.el (normal-backup-enable-predicate): On MS-Windows and
9669 MS-DOS compare truenames of temporary-file-directory and of the
9670 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9671 don't fail comparison by compare-strings. Also, compare file
9672 names case-insensitively on MS-Windows and MS-DOS.
9674 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9677 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9679 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9681 * whitespace.el (whitespace-color-on, whitespace-color-off):
9682 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9684 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9686 * ispell.el (ispell-set-spellchecker-params):
9687 Really set `ispell-args' for all equivs.
9689 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9691 * ido.el (ido-completions): Use extra elements of ido-decorations
9693 (ido-decorations): Update docstring.
9695 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9697 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9698 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9699 nil during initialization, in order not to miss changes since the
9700 file was opened. (Bug#14140)
9702 2013-04-05 Leo Liu <sdl.web@gmail.com>
9704 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9706 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9708 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9710 2013-04-04 Glenn Morris <rgm@gnu.org>
9712 * electric.el (electric-pair-inhibit-predicate): Add :version.
9714 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9717 when a package is required several times (bug#14082).
9719 2013-04-04 Roland Winkler <winkler@gnu.org>
9721 * faces.el (read-face-name): Behave as promised by the docstring.
9722 Assume that arg default is a list of faces.
9723 (describe-face): Call read-face-name with list of default faces.
9725 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9727 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9728 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9729 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9731 (bookmark-exit-hook-internal): Save even if list is empty.
9733 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9735 * emacs-lisp/package.el (package-pinned-packages): New var.
9736 (package--add-to-archive-contents): Obey it (bug#14118).
9738 2013-04-03 Alan Mackenzie <acm@muc.de>
9740 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9741 Also adapt to the new values of element 7 of a parse state.
9743 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9744 parameter `not-in-delimiter'. Handle being inside comment opener.
9745 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9746 character in case we're typing a '*' after a '/'.
9747 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9748 instead by passing the parameter to c-state-pp-to-literal.
9750 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9751 for elt. 7 of a parse state.
9753 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9755 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9756 * international/latin1-disp.el, international/mule-util.el:
9757 * language/cyril-util.el, language/european.el, language/ind-util.el:
9758 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9759 * language/tibetan.el, language/viet-util.el:
9760 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9762 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9765 (electric-pair-post-self-insert-function): Use it.
9766 (electric-pair-default-inhibit): New function, extracted from
9767 electric-pair-post-self-insert-function.
9769 2013-03-31 Roland Winkler <winkler@gnu.org>
9771 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9773 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9777 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9779 Un-indent after "pass" and "return" statements (Bug#13888)
9780 * progmodes/python.el (python-indent-block-enders): New var.
9781 (python-indent-calculate-indentation): Use it.
9783 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9785 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9786 defun. Defining it as defalias could introduce too eager
9787 byte-compiler optimization. (Bug#14030)
9789 2013-03-30 Chong Yidong <cyd@gnu.org>
9791 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9793 2013-03-30 Leo Liu <sdl.web@gmail.com>
9795 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9796 (kmacro-execute-from-register): Pass the keyboard macro to
9797 kmacro-call-macro or repeating won't work correctly.
9799 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9801 * progmodes/subword.el: Back to using `forward-symbol'.
9803 * subr.el (forward-whitespace, forward-symbol)
9804 (forward-same-syntax): Move from thingatpt.el.
9806 2013-03-29 Leo Liu <sdl.web@gmail.com>
9808 * kmacro.el (kmacro-to-register): New command.
9809 (kmacro-execute-from-register): New function.
9810 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9812 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9814 * mpc.el: Use defvar-local and setq-local.
9815 (mpc--proc-connect): Connection failures are not bugs.
9816 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9817 (mpc-volume-map): Bind to the up-events.
9819 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9821 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9822 instead of `forward-symbol'.
9824 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9827 (edebug--recursive-edit): Use it.
9828 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9829 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9831 2013-03-28 Leo Liu <sdl.web@gmail.com>
9833 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9835 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9837 * facemenu.el (list-colors-callback): New defvar.
9838 (list-colors-redisplay): New function.
9839 (list-colors-display): Install list-colors-redisplay as the
9840 revert-buffer-function. (Bug#14063)
9842 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9844 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9845 and suffixes don't overlap (bug#14061).
9847 * case-table.el: Use lexical-binding.
9848 (case-table-get-table): New function.
9849 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9851 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9853 * progmodes/subword.el: Add `superword-mode' to do word motion
9854 over symbol_words (parallels and leverages `subword-mode' which
9855 does word motion inside MixedCaseWords).
9857 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9859 * eshell/em-unix.el: Move su and sudo to...
9860 * eshell/em-tramp.el: ...Eshell tramp module.
9862 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9864 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9865 Change return value to be a sexp. Delay `get-buffer' to after
9866 restoring the desktop (bug#13951).
9868 2013-03-26 Leo Liu <sdl.web@gmail.com>
9870 * register.el: Move semantic tag handling back to
9871 cedet/semantic/senator.el. (Bug#14052)
9873 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9875 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9876 into the prompt either (bug#13963).
9878 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9880 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9881 part of "(error-foo)".
9883 2013-03-24 Juri Linkov <juri@jurta.org>
9885 * replace.el (list-matching-lines-prefix-face): New defcustom.
9886 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9887 `occur-engine' if `face-differs-from-default-p' returns t.
9888 (occur-engine): Add `,' inside backquote construct to evaluate
9889 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9890 Pass `prefix-face' to the functions `occur-context-lines' and
9891 `occur-engine-add-prefix'.
9892 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9893 `prefix-face' and propertize the prefix with `prefix-face'.
9896 2013-03-24 Leo Liu <sdl.web@gmail.com>
9898 * nxml/rng-valid.el (rng-validate-while-idle)
9899 (rng-validate-quick-while-idle): Guard against deleted buffer.
9902 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9903 is the last entry in kill-buffer-hook.
9905 * files.el (kill-buffer-hook): Doc fix.
9907 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9909 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9912 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9914 2013-03-23 Leo Liu <sdl.web@gmail.com>
9916 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9919 * nxml/rng-valid.el (rng-validate-mode)
9920 (rng-after-change-function, rng-do-some-validation):
9921 * nxml/rng-maint.el (rng-validate-buffer):
9922 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9923 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9924 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9925 (nxml-extend-after-change-region): Use with-silent-modifications.
9927 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9930 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9931 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9932 timer-idle-list. (Bug#13999)
9934 2013-03-23 Juri Linkov <juri@jurta.org>
9936 * info.el (info-index-match): New face.
9937 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9938 main pattern and add text properties with the new face to matches
9939 in index entries relative to the beginning of the index entry.
9942 2013-03-21 Eric Ludlam <zappo@gnu.org>
9944 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9945 Inhibit read only while inserting objects.
9947 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9949 * progmodes/cfengine.el: Update docs to mention
9950 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9951 symbol motion. Remove "_" from the word syntax.
9953 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9955 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9956 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9958 2013-03-20 Juri Linkov <juri@jurta.org>
9960 * info.el (Info-next-reference-or-link)
9961 (Info-prev-reference-or-link): New functions.
9962 (Info-next-reference, Info-prev-reference): Use them.
9963 (Info-try-follow-nearest-node): Handle footnote navigation.
9964 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9966 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9969 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9971 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9973 Suppress unnecessary non-ASCII chatter during build process.
9974 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9975 (batch-skkdic-convert): Suppress most of the chatter.
9976 It's not needed so much now that machines are faster,
9977 and its non-ASCII component was confusing; see Dmitry Gutov in
9978 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9980 2013-03-20 Leo Liu <sdl.web@gmail.com>
9982 * ido.el (ido-chop): Fix bug#10994.
9984 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9986 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9988 (whitespace-color-on, whitespace-color-off):
9989 Use `font-lock-fontify-buffer' (Bug#13817).
9991 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9993 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9994 remapping in mode-line.
9995 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9997 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9999 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10000 value for `whitespace-line' face (Bug#13875).
10001 (whitespace-font-lock-keywords): Change description.
10002 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10003 the constructed keywords instead.
10004 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10006 2013-03-19 Leo Liu <sdl.web@gmail.com>
10008 * progmodes/compile.el (compilation-display-error): New command.
10009 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10012 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10014 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10016 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10018 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10020 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10022 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10024 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10025 * net/tramp-gvfs.el (top):
10026 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10027 (tramp-handle-shell-command): Use it.
10028 (tramp-dissect-file-name): Raise an error when hostname is a
10029 method name, and neither method nor user is specified.
10031 * net/trampver.el: Update release number.
10033 2013-03-18 Leo Liu <sdl.web@gmail.com>
10035 Make sure eldoc can be turned off properly.
10036 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10038 (eldoc-display-message-p): Revert last change.
10039 (eldoc-display-message-no-interference-p)
10040 (eldoc-print-current-symbol-info): Tweak.
10042 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10044 * doc-view.el (doc-view-new-window-function): Check the new window
10045 overlay's display property instead the char property of the
10046 buffer's first char. Use `with-selected-window' instead of
10047 `save-window-excursion' with `select-window'.
10048 (doc-view-document->bitmap): Check the current doc-view overlay's
10049 display property instead the char property of the buffer's first char.
10051 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10053 Automate the build of ja-dic.el (Bug#13984).
10054 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10055 from the input, rather than assume that it's been done for us by the
10056 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10057 the current date into a ja-dic.el comment, as that complicates
10058 regression testing.
10060 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10062 * whitespace.el: Fix double evaluation.
10063 (whitespace-space, whitespace-hspace, whitespace-tab)
10064 (whitespace-newline, whitespace-trailing, whitespace-line)
10065 (whitespace-space-before-tab, whitespace-indentation)
10066 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10068 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10069 (whitespace-color-on): Use a single font-lock-add-keywords call.
10070 Fix double-evaluation of face variables.
10072 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10074 * net/tramp-adb.el (tramp-adb-parse-device-names):
10075 Use `start-process' instead of `call-process'. Otherwise, the
10076 function might be blocked under MS Windows. (Bug#13299)
10078 2013-03-17 Leo Liu <sdl.web@gmail.com>
10080 Extend eldoc to display info in the mode-line. (Bug#13978)
10081 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10082 (eldoc-mode-line-string): New variable.
10083 (eldoc-minibuffer-message): New function.
10084 (eldoc-message-function): New variable.
10085 (eldoc-message): Use it.
10086 (eldoc-display-message-p)
10087 (eldoc-display-message-no-interference-p):
10088 Support eldoc-post-insert-mode.
10090 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10091 (eval-expression): Run it.
10093 2013-03-17 Roland Winkler <winkler@gnu.org>
10095 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10096 strings in the list of return values.
10098 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10100 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10101 radix before checking for HMS forms.
10103 2013-03-16 Leo Liu <sdl.web@gmail.com>
10105 * progmodes/scheme.el: Add indentation and font-locking for λ.
10108 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10110 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10111 token before point (bug#13942).
10113 2013-03-16 Leo Liu <sdl.web@gmail.com>
10115 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10117 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10119 * startup.el (command-line-normalize-file-name): Fix handling of
10120 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10121 <xfq.free@gmail.com> in
10122 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10124 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10126 Sync with Tramp 2.2.7.
10128 * net/trampver.el: Update release number.
10130 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10132 * doc-view.el: Fix bug#13887.
10133 (doc-view-insert-image): Don't modify overlay associated to
10134 non-live windows, and implement horizontal centering of image in
10135 case it's smaller than the window.
10136 (doc-view-new-window-function): Force redisplay of new windows on
10139 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10141 * saveplace.el (save-place-alist-to-file): Don't sort
10142 `save-place-alist', just pretty-print it (bug#13882).
10144 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10146 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10147 Check whether `default-file-name-coding-system' is bound.
10148 It isn't in XEmacs.
10150 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10152 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10153 backquotes for `obsolete' (bug#13929).
10155 * international/mule.el (find-auto-coding): Include file name in
10156 obsolescence warning (bug#13922).
10158 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10160 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10161 for CFEngine 3-specific indentation.
10162 (cfengine3-indent-line): Use it. Fix up category regex.
10163 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10165 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10167 * type-break.el (type-break-file-name):
10168 * textmodes/remember.el (remember-data-file):
10169 * strokes.el (strokes-file):
10170 * shadowfile.el (shadow-initialize):
10171 * saveplace.el (save-place-file):
10172 * ps-bdf.el (bdf-cache-file):
10173 * progmodes/idlwave.el (idlwave-config-directory):
10174 * net/quickurl.el (quickurl-url-file):
10175 * international/kkc.el (kkc-init-file-name):
10176 * ido.el (ido-save-directory-list-file):
10177 * emulation/viper.el (viper-custom-file-name):
10178 * emulation/vip.el (vip-startup-file):
10179 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10180 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10182 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10184 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10185 * language/thai-word.el: Switch to UTF-8.
10187 See ChangeLog.16 for earlier changes.
10189 ;; Local Variables:
10193 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10195 This file is part of GNU Emacs.
10197 GNU Emacs is free software: you can redistribute it and/or modify
10198 it under the terms of the GNU General Public License as published by
10199 the Free Software Foundation, either version 3 of the License, or
10200 (at your option) any later version.
10202 GNU Emacs is distributed in the hope that it will be useful,
10203 but WITHOUT ANY WARRANTY; without even the implied warranty of
10204 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10205 GNU General Public License for more details.
10207 You should have received a copy of the GNU General Public License
10208 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.